]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch strchr for PowerPC32
[glibc.git] / ChangeLog
CommitLineData
ba964147
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5 file.
6 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8 file: multiarch strchr for PPC32.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10 multiarch objects.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12 (__libc_ifunc_impl_list): Likewise.
13
31c81aaa
AZ
142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17 name.
18 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19 file.
20 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21 file.
22 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23 multiarch strchrnul for PPC32.
24 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25 multiarch objects.
26 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27 (__libc_ifunc_impl_list): Likewise.
28
0d0607d9
AZ
292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32 file.
33 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34 multiarch strncasecmp for PPC32.
35 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36 file.
37 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38 multiarch strncasecmp_l for PPC32.
39 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40 strncasecmp multiarch objects.
41 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42 (__libc_ifunc_impl_list): Likewise.
43
4dfd5c86
AZ
442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47 file.
48 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49 multiarch strncasecmp for PPC32.
50 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51 New file.
52 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53 multiarch strcasecmp_l for PPC32.
54 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55 multiarch objects.
56 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57 (__libc_ifunc_impl_list): Likewise.
58
a19e01a3
AZ
592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60
61 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
62 file.
63 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
64 file.
65 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
66 multiarch strncmp for PPC32.
67 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
68 multiarch objects.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
70 (__libc_ifunc_impl_list): Likewise.
71
ae9cf7a2
AZ
722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
75 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
76 file.
77 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
78 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
79 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
80 multiarch objects.
81 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
82 (__libc_ifunc_impl_list): Likewise.
83
3148bb7d
AZ
842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
87 file.
88 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
89 file.
90 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
91 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
92 multiarch objects.
93 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
94 (__libc_ifunc_impl_list): Likewise.
95
7af8b946
AZ
962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
99 file.
100 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
101 file.
102 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
103 multiarch rawmemchr for PPC32.
104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
105 multiarch objects.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
107 (__libc_ifunc_impl_list): Likewise.
108
03a6aa6a
AZ
1092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
112 file.
113 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
114 file.
115 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
116 file: memrchr multiarch for PPC32.
117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
118 multiarch objects.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
120 (__libc_ifunc_impl_list): Likewise.
121
1c62e6d9
AZ
1222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123
124 * string/memchr.c (__memchr): Using macro to redefine symbol name.
125 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
126 file.
127 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
128 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
129 multiarch memchr for PPC32.
130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
131 multiarch objects.
132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
133 (__libc_ifunc_impl_list): Likewise.
134
87da8bdb
AZ
1352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136
137 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
138 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
139 file.
140 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
141 file.
142 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
143 file: multiarch mempcpy for PPC32.
144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
145 multiarch objects.
146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
147 (__libc_ifunc_impl_list): Likewise.
148
20ed4714
AZ
1492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150
151 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
152 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
155 multiarch bzero for PPC32.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
157 file.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
159 file.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
161 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
162 file: multiarch memset for PPC32.
163 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
165 memset multiarch objects.
166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
167 (__libc_ifunc_impl_list): Likewise.
168
ab3e3a46
AZ
1692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
172 file.
173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
175 memcmp for PPC32.
176 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
178 multiarch objects.
179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
180 (__libc_ifunc_impl_list): Likewise.
181
930de6f0
AZ
1822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183
184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
187 file.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
189 file.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
191 file.
192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
193 multiarch memcpy for PPC32.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
195 multiarch objects.
196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
197 (__libc_ifunc_impl_list): Likewise.
198
4c628e00
AZ
1992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200
201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
202 support multiarch for POWER/PPC32.
203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
204 Likewise.
205 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
207 Implies file to make multiarch folder appers before the fpu and
208 default folder for power4 configuration.
209
f4479220
SP
2102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
211
212 * scripts/bench.pl: Append volatile keyword to type.
213
8517800f
KK
2142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
215
216 * sysdeps/sh/sotruss-lib.c: New file.
217 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
218
180138f1
AZ
2192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
220
221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
222
bbf37bdc
JM
2232013-12-05 Joseph Myers <joseph@codesourcery.com>
224
e47cc4e0
JM
225 [BZ #6810]
226 * math/w_tgamma.c: Include <errno.h>.
227 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
228 * math/w_tgammaf.c: Include <errno.h>.
229 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
230 * math/w_tgammal.c: Include <errno.h>.
231 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
232 * math/auto-libm-test-in: Do not allow missing errno on tgamma
233 underflow. Add more tgamma tests.
234 * math/auto-libm-test-out: Regenerated.
235 * sysdeps/i386/fpu/libm-test-ulps: Update.
236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237
bbf37bdc
JM
238 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
239 sin, sinh, tan, tanh, tgamma, y0 and y1.
240 * math/auto-libm-test-out: Regenerated.
241 * math/libm-test.inc (TEST_COND_x86_64): New macro.
242 (TEST_COND_x86): Likewise.
243 (M_E2l): Remove macro.
244 (M_E3l): Likewise.
245 (M_2_SQRT_PIl): Likewise.
246 (M_SQRT_PIl): Likewise.
247 (M_1_DIV_El): Likewise.
248 (log_test_data): Use AUTO_TESTS_f_f.
249 (log10_test_data): Likewise.
250 (log1p_test_data): Likewise.
251 (log2_test_data): Likewise.
252 (sin_test_data): Likewise.
253 (sin_tonearest_test_data): Likewise.
254 (sin_towardzero_test_data): Likewise.
255 (sin_downward_test_data): Likewise.
256 (sin_upward_test_data): Likewise.
257 (sinh_test_data): Likewise.
258 (sinh_tonearest_test_data): Likewise.
259 (sinh_towardzero_test_data): Likewise.
260 (sinh_downward_test_data): Likewise.
261 (sinh_upward_test_data): Likewise.
262 (tan_test_data): Likewise.
263 (tan_tonearest_test_data): Likewise.
264 (tan_towardzero_test_data): Likewise.
265 (tan_downward_test_data): Likewise.
266 (tan_upward_test_data): Likewise.
267 (tanh_test_data): Likewise.
268 (tgamma_test_data): Likewise.
269 (y0_test_data): Likewise.
270 (y1_test_data): Likewise.
271 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
272 (special_real_inputs): Add pi/4.
273 * sysdeps/i386/fpu/libm-test-ulps: Update.
274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
275
eb5ad6b9
AZ
2762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
279 "longjmp_target" static probes.
280 (__longjmp): Rename to __longjmp_symbol.
281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
282 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
283 on which longjmp to generate.
284 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
286 probe.
287 (__sigsetjmp): Rename to __sigsetjmp_symbol.
288 (__sigjmp_save): Rename to __sigjmp_save_symbol.
289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
290 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
291 and __sigjmp_save_symbol based on which sigsetjmp to generated.
292 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
294 __longjmp_symbol based on which __longjmp to generate.
295 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
296 probe.
297 (setjmp): Rename to setjmp_symbol.
298 (__sigsetjmp): Rename to __sigsetjmp_symbol.
299 (_setjmp): Rename to _setjmp_symbol.
300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
301 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
302 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
303 which setjmp to generate.
304 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
305 "longjmp_target" static probes.
306
d136c6dc
SP
3072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
308
9298ecba
SP
309 * benchtests/README: Add note about output arguments.
310 * benchtests/bench-sincos.c: Remove file.
311 * benchtests/sincos-inputs: New file.
312 * scripts/bench.pl: Identify output arguments and define
313 static variables for them.
314
232983e9
SP
315 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
316
d136c6dc
SP
317 [BZ #15941]
318 * Makefile (INSTALL): Add install-plain.texi as the primary
319 dependency.
320 * manual/install-plain.texi: New file.
321 * manual/install.texi: Include node directive only for
322 non-plaintext output.
323
699ff837
JM
3242013-12-04 Joseph Myers <joseph@codesourcery.com>
325
ab07cea8
JM
326 * stdlib/longlong.h: Update from GCC.
327
699ff837
JM
328 [BZ #6807]
329 [BZ #15901]
330 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
331 * math/w_j0f.c (y0f): Likewise.
332 * math/w_j0l.c (__y0l): Likewise.
333 * math/w_j1.c (y1): Likewise.
334 * math/w_j1f.c (y1f): Likewise.
335 * math/w_j1l.c (__y1l): Likewise
336 * math/w_jn.c (yn): Likewise.
337 * math/w_jnf.c (ynf): Likewise.
338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
339 Bessel function pole errors in _POSIX_ mode. Use NAN as return
340 value for Bessel function domain errors outside _SVID_ mode.
341 Adjust sign of return value for yn (negative integer, 0).
342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
343 by zero in return for negative x and set sign appropriately for
344 negative n.
345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
347 * math/libm-test.inc (y0_test_data): Add more tests and adjust
348 expectations in error cases.
349 (y1_test_data): Likewise.
350 (yn_test_data): Likewise.
351 * sysdeps/i386/fpu/libm-test-ulps: Update.
352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
353
5b118558
UW
3542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
355
356 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
357 "64" to "64-v1". Add "64-v2".
358 (abi-64-options): Rename to ...
359 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
360 (abi-64-condition): Rename to ...
361 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
362 (abi-64-ld-soname): Rename to ...
363 (abi-64-v1-ld-soname): ... this.
364 (abi-64-v2-options): Define.
365 (abi-64-v2-condition): Likewise.
366 (abi-64-v2-ld-soname): Likewise.
367 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
368 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
372
61cd8fe4
UW
3732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
374 Alan Modra <amodra@gmail.com>
375
376 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
377 New versions for use with the ELFv2 ABI.
378 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
379 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
380 declaration.
381 (struct La_ppc64v2_retval): Likewise.
382 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
383 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
384 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
385 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
386 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
388 Do not save or restore CR.
389 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
390 (_dl_profile_resolve): Do no save or restore CR. Support extended
391 return values for ELFv2 ABI. Fix location of FPR return registers.
392 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
393 updated values for _CALL_ELF == 2.
394 (La_regs, La_retval, int_retval): Likewise.
395
8b8a692c
UW
3962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
397
398 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
399 (FRAME_MIN_SIZE_PARM): Likewise.
400 (FRAME_BACKCHAIN): Likewise.
401 (FRAME_CR_SAVE): Likewise.
402 (FRAME_LR_SAVE): Likewise.
403 (FRAME_TOC_SAVE): Likewise.
404 (FRAME_PARM_SAVE): Likewise.
405 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
406 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
407 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
408 (call_mcount_parm_offset): New macro.
409 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
410 (PROF): Use symbolic stack frame offsets.
411 (TAIL_CALL_SYSCALL_ERROR): Likewise.
412 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
413 Redefine in terms of FRAME_MIN_SIZE.
414 (_dl_runtime_resolve): Use symbolic stack frame offsets.
415 (_dl_profile_resolve): Likewise. Update comment.
416 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
417 symbols stack frame offsets.
418 (__sigsetjmp): Likewise.
419 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
420 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
421 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
422 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
423
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
425 (FRAME_BACKCHAIN): Remove.
426 (FRAME_CR_SAVE): Likewise.
427 (FRAME_LR_SAVE): Likewise.
428 (FRAME_COMPILER_DW): Likewise.
429 (FRAME_LINKER_DW): Likewise.
430 (FRAME_TOC_SAVE): Likewise.
431 (FRAME_PARM_SAVE): Likewise.
432 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
433 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
434 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
436 (CHECK_SP): Use symbolic stack frame offsets.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
438 zone" instead of caller's parameter save area for temp storage.
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
440 Likewise. Also, use symbolic stack frame offsets.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
442 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
443 our own stack frame instead of the caller's.
444 (__socket): Use symbolic stack frame offsets.
445
122b66de
UW
4462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
447 Alan Modra <amodra@gmail.com>
448
449 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
450 Define.
451 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
452 PPC64_LOCAL_ENTRY_OFFSET): Define.
453 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
454 New function.
455 (elf_machine_fixup_plt): Call it.
456 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
457 reloc arguments.
458 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
460 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
461 r2 before calling target.
462
696caf1d
UW
4632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
464 Alan Modra <amodra@gmail.com>
465
466 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
467 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
468 versions of macros to support ELFv2 ABI.
469 (LOCALENTRY): New macro.
470 (ENTRY, EALIGN): Use it.
471 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
472 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
473 fall through into ENTRY entry point.
474 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
475 Only define if _CALL_ELF != 2.
476
477 (elf_machine_matches_host): Verify ABI version matches.
478 (RTLD_START): Use LOCALENTRY.
479 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
480 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
481 (PLT_ENTRY_WORDS): New macro.
482 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
483 (elf_machine_runtime_setup): Support ELFv2 ABI.
484 (elf_machine_fixup_plt): Likewise.
485 (elf_machine_plt_conflict): Likewise.
486 (resolve_ifunc): Likewise.
487 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
489 Likewise.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
491 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
493 (makecontext): Support ELFv2 ABI.
494 * elf/elf.h (EF_PPC64_ABI): Define.
495
d31beafa
UW
4962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
497
498 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
499 New assembler macro.
500 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
501 [ASSEMBLER] (ENTRY): ... but instead here ...
502 [ASSEMBLER] (EALIGN): ... and here.
503 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
504 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
505 [!ASSEMBLER] (ENTRY_2): Use it.
506 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
507 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
509 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
510 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
512 Use PPC64_LOAD_FUNCPTR.
513
b525166b
UW
5142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
515
516 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
517
7ec07d9a
AM
5182013-12-04 Alan Modra <amodra@gmail.com>
519
520 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
521 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
522 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
523 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
524
525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
526 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
527 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
528 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
529 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
530 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
531
5162e7dd
UW
5322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
533
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
535 (__makecontext): Fix incorrect CFI when backtracing out of
536 context created via makecontext.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
538 (__setcontext): Fix incorrect CFI during switch to new context.
539 (__novec_setcontext): Likewise.
540
19e3372b
OB
5412013-12-04 Ondřej Bílka <neleai@seznam.cz>
542
543 [BZ #4772]
544 * time/strptime_l.c (__strptime_internal): Allow modifiers
545 in strptime.
546 * time/tst-strptime.c (day_tests): Add testcase.
547
548
ecaf142d
SP
5492013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
550
551 * scripts/bench.pl: Skip over blank lines.
552
fbf964ae
PE
5532013-12-04 Paul Eggert <eggert@cs.ucla.edu>
554
555 [BZ #926]
556 * manual/time.texi (Calendar Time): Clarify what timezone functions
557 use.
558
fa60a674
AZ
5592013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560
561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
562
d674f0ef
OB
5632013-12-04 Ondřej Bílka <neleai@seznam.cz>
564
565 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
566 implementation.
567 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
568 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
569 * debug/memset_chk.c (__memset_chk): Likewise.
570 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
571 * debug/strncpy_chk.c: Likewise.
572
17dea188
JM
5732013-12-03 Joseph Myers <joseph@codesourcery.com>
574
749008ff
JM
575 [BZ #15268]
576 [BZ #15425]
577 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
578 (__ieee754_exp): For possibly underflowing results, check size of
579 result and force underflow exception if required.
580 * math/auto-libm-test-in: Add more tests of exp.
581 * math/auto-libm-test-out: Regenerated.
582 * sysdeps/i386/fpu/libm-test-ulps: Update.
583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
584
17dea188
JM
585 [BZ #16283]
586 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
587 * math/w_exp2f.c (__exp2f): Likewise.
588 * math/w_exp2l.c (__exp2l): Likewise.
589 * math/auto-libm-test-in: Do not allow missing errno on exp2
590 underflow.
591 * math/auto-libm-test-out: Regenerated.
592
b20de2c3
OB
5932013-12-03 Ondřej Bílka <neleai@seznam.cz>
594
595 [BZ #16274]
596 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
597 handle filename validation.
598 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
599 (do_open): Delete.
600
d8e2dbe3
JM
6012013-12-03 Joseph Myers <joseph@codesourcery.com>
602
34e16df5
JM
603 [BZ #6786]
604 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
605 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
606 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
607 <float.h>.
608 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
609 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
610 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
612 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
614 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
615 * math/auto-libm-test-in: Don't allow missing errno from erfc.
616 Add more erfc tests.
617 * math/auto-libm-test-out: Regenerated.
618 * sysdeps/i386/fpu/libm-test-ulps: Update.
619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
620
d8e2dbe3
JM
621 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
622 exp2, expm1, j0 and j1.
623 * math/auto-libm-test-out: Regenerated.
624 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
625 (erfc_test_data): Likewise.
626 (exp_test_data): Likewise.
627 (exp_tonearest_test_data): Likewise.
628 (exp_towardzero_test_data): Likewise.
629 (exp_downward_test_data): Likewise.
630 (exp_upward_test_data): Likewise.
631 (exp10_test_data): Likewise.
632 (exp2_test_data): Likewise.
633 (expm1_test_data): Likewise.
634 (j0_test_data): Likewise.
635 (j1_test_data): Likewise.
636 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
637 (input_flag_type): Add flag_xfail_rounding.
638 (input_flags): Add xfail-rounding.
639 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
640 (output_for_one_input_case): Handle flag_xfail_rounding.
641 * sysdeps/i386/fpu/libm-test-ulps: Update.
642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
643
18d14251
AJ
6442013-12-03 Aurelien Jarno <aurelien@aurel32.net>
645
3d2e6075 646 [BZ #16289]
18d14251
AJ
647 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
648 division by 0.
649
520d437b
SP
6502013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
651
652 [BZ #16195]
653 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
654 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
655 (STAP_PROBE0): New macro.
656 (STAP_PROBE1): Likewise.
657 (STAP_PROBE2): Likewise.
658 (STAP_PROBE3): Likewise.
659 (STAP_PROBE4): Likewise.
660
416e0145
OB
6612013-12-02 Ondřej Bílka <neleai@seznam.cz>
662
663 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
664
9d17796a
SE
6652013-12-02 Steve Ellcey <sellcey@mips.com>
666
667 * benchtests/Makefile (bench): Add sqrt.
668 (LDLIBS-bench-sqrt): New.
669 * benchtests/sqrt-input: New.
670
f524d6a8
PS
6712013-12-02 Pavel Simerda <psimerda@redhat.com>
672
639a0ef8
PS
673 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
674 (GAIH_EAI): Likewise.
675 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
676 (gaih_inet): Likewise.
677 (getaddrinfo): Don't use GAIH_EAI.
678
f524d6a8
PS
679 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
680 (struct gaih): Remove definition.
681
df3aedaf
SP
6822013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
683
684 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
685 Use HERRNOP directly.
686
1ab19dec
AZ
6872013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
b42ad38d 689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 690
176b0c79
JM
6912013-11-30 Joseph Myers <joseph@codesourcery.com>
692
693 * math/gen-auto-libm-tests.c (test_functions): Add more
694 single-argument functions.
695 (special_fill_pi_2): New function.
696 (special_fill_minus_pi_2): Likewise.
697 (special_fill_pi_6): Likewise.
698 (special_fill_minus_pi_6): Likewise.
699 (special_fill_pi_3): Likewise.
700 (special_fill_2pi_3): Likewise.
701 (special_fill_e): Likewise.
702 (special_fill_1_e): Likewise.
703 (special_fill_e_minus_1): Likewise.
704 (special_real_inputs): Add more special inputs.
705 (output_for_one_input_case): Do not require ERANGE on underflow to
706 zero if round-to-nearest result does not underflow to zero, unless
707 exact results required.
708 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
709 atan, atanh, cbrt, cos and cosh.
710 * math/auto-libm-test-out: Regenerated.
711 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
712 (acos_tonearest_test_data): Likewise.
713 (acos_towardzero_test_data): Likewise.
714 (acos_downward_test_data): Likewise.
715 (acos_upward_test_data): Likewise.
716 (acosh_test_data): Likewise.
717 (asin_test_data): Likewise.
718 (asin_tonearest_test_data): Likewise.
719 (asin_towardzero_test_data): Likewise.
720 (asin_upward_test_data): Likewise.
721 (asinh_test_data): Likewise.
722 (atan_test_data): Likewise.
723 (atanh_test_data): Likewise.
724 (cbrt_test_data): Likewise.
725 (cos_test_data): Likewise.
726 (cos_tonearest_test_data): Likewise.
727 (cos_towardzero_test_data): Likewise.
728 (cos_downward_test_data): Likewise.
729 (cos_upward_test_data): Likewise.
730 (cosh_test_data): Likewise.
731 (cosh_tonearest_test_data): Likewise.
732 (cosh_towardzero_test_data): Likewise.
733 (cosh_downward_test_data): Likewise.
734 (cosh_upward_test_data): Likewise.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737
ffb536d0
JM
7382013-11-29 Joseph Myers <joseph@codesourcery.com>
739
2a77a467
JM
740 [BZ #6787]
741 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
742 * math/w_exp10f.c (__exp10f): Likewise.
743 * math/w_exp10l.c (__exp10l): Likewise.
744 * math/libm-test.inc (exp10_test_data): Add more tests and expect
745 errno settings in existing tests.
746
ea3bc4e8
JM
747 [BZ #14032]
748 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
749 precision control set to double precision.
750 * sysdeps/i386/fpu/w_sqrt.c: New file.
751 * math/auto-libm-test-in: Add more tests.
752 * math/auto-libm-test-out: Update.
753
0712c9d8
JM
754 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
755 (sqrt_test_tonearest): New function.
756 (sqrt_towardzero_test_data): New variable.
757 (sqrt_test_towardzero): New function.
758 (sqrt_downward_test_data): New variable.
759 (sqrt_test_downward): New function.
760 (sqrt_upward_test_data): New variable.
761 (sqrt_test_upward): New function.
762 (main): Call the new functions.
763
ffb536d0
JM
764 * math/gen-auto-libm-tests.c: New file.
765 * math/auto-libm-test-in: Likewise.
766 * math/auto-libm-test-out: New generated file.
767 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
768 variables.
769 (%beautify): Add generated representations of zero.
770 (top level): Set $auto_input and call parse_auto_input.
771 (beautify): Remove trailing "f" from hex float constants.
772 (parse_args): Handle XFAIL_TEST.
773 (convert_condition): New function.
774 (or_value): Likewise.
775 (or_cond_value): Likewise.
776 (generate_testfile): Handle AUTO_TESTS_* lines.
777 (parse_auto_input): New function.
778 * math/libm-test.inc (XFAIL_TEST): New macro.
779 (ERRNO_UNCHANGED): Update value.
780 (ERRNO_EDOM): Likewise.
781 (ERRNO_ERANGE): Likewise.
782 (IGNORE_RESULT): Likewise.
783 (TEST_COND_flt_32): New macro.
784 (TEST_COND_dbl_64): Likewise.
785 (TEST_COND_ldbl_96_intel): Likewise.
786 (TEST_COND_ldbl_96_m68k): Likewise.
787 (TEST_COND_ldbl_128): Likewise.
788 (TEST_COND_ldbl_128ibm): Likewise.
789 (TEST_COND_long32): Likewise.
790 (TEST_COND_long64): Likewise.
791 (TEST_COND_before_rounding): Likewise.
792 (TEST_COND_after_rounding): Likewise.
793 (enable_test): Handle XFAIL_TEST flag.
794 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
795 with finite results.
796 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
797 auto-libm-test-out.
798
acd98a8e
AK
7992013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
801
802 [BZ #16214]
803 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
804 __tls_get_addr_internal instead of __tls_get_offset in order to
805 avoid GOT pointer dependency. Make rtld export
806 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
807 __tls_get_addr since we are a __tls_get_offset platform.
808 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
809 GOT pointer being set up before.
810 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
811
3c1c46a6
JM
8122013-11-28 Joseph Myers <joseph@codesourcery.com>
813
7475aef5
JM
814 * manual/math.texi (Errors in Math Functions): Document accuracy
815 goals.
816
8bca7cd8
JM
817 [BZ #15004]
818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
819 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
820 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
822 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
823 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
824 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
825 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
826 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
827 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
829 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
830 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
831 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
833 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
834
91a1f3fe
JM
835 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
836 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
837 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
838 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
839 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
840 Likewise.
841 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
842 Likewise.
843 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
844 Likewise.
845 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
846 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
847 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
848 atomic-feupdateenv and flt-rounds.
849 * sysdeps/powerpc/nofpu/Versions (libc): Add
850 __atomic_feholdexcept, __atomic_feclearexcept,
851 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
852 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
853 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
854 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
855 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
856 here.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
858 Update.
859
c5df7609
JM
860 * manual/arith.texi (FP Exceptions): Document that exceptions may
861 not be raised when matherr is used.
862 (Math Error Reporting): Document overflow in directed rounding
863 modes. Document that errno may not be set when finite values are
864 returned on overflow. Document intent to set errno on underflow
865 only for underflow to zero.
866
3c1c46a6
JM
867 [BZ #16271]
868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
869 round-to-nearest then adjust result for other rounding modes.
870 * include/fenv.h (fegetround): Use libm_hidden_proto.
871 * math/fegetround.c (fegetround): Use libm_hidden_def.
872 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
873 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
874 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
876 Likewise.
877 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
878 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
879 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
880 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
881
5a4c6d53
SP
8822013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
883
884 [BZ #16077]
885 * nss/Versions (libnss_files): Add
886 _nss_files_gethostbyname3_r.
887 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
888 New function.
889 (HOST_DB_LOOKUP): Remove macro.
890 (_nss_files_gethostbyname_r): Implement function without the
891 HOST_DB_LOOKUP macro.
892 (_nss_files_gethostbyname2_r): Likewise.
893
897b98ba
OB
8942013-11-28 Ondřej Bílka <neleai@seznam.cz>
895
896 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
897
6f476861
UB
8982013-11-26 Uros Bizjak <ubizjak@gmail.com>
899
900 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
901 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
902 warning.
903
bd12ab55
AZ
9042013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905
906 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
907 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
908 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
909 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
910 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
911 __fe_nomask_env_priv and attribute_hidden.
912 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
913 (libc_feupdateenv_test_ppc): Likewise.
914 (libc_feresetround_ppc): Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
916 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
917 compat_symbol macro.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
919 (__fe_nomask_env): Likewise.
920 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
921
52bb6543
OB
9222013-11-26 Ondřej Bílka <neleai@seznam.cz>
923
924 * string/Makefile: Remove ifunc tests.
925 * string/test-string.h: Define TEST_IFUNC.
926 * string/test-bcopy-ifunc.c: Remove.
927 * string/test-bzero-ifunc.c: Likewise.
928 * string/test-memccpy-ifunc.c: Likewise.
929 * string/test-memchr-ifunc.c: Likewise.
930 * string/test-memcmp-ifunc.c: Likewise.
931 * string/test-memcpy-ifunc.c: Likewise.
932 * string/test-memmem-ifunc.c: Likewise.
933 * string/test-memmove-ifunc.c: Likewise.
934 * string/test-mempcpy-ifunc.c: Likewise.
935 * string/test-memrchr-ifunc.c: Likewise.
936 * string/test-memset-ifunc.c: Likewise.
937 * string/test-rawmemchr-ifunc.c: Likewise.
938 * string/test-stpcpy-ifunc.c: Likewise.
939 * string/test-stpncpy-ifunc.c: Likewise.
940 * string/test-strcasecmp-ifunc.c: Likewise.
941 * string/test-strcasestr-ifunc.c: Likewise.
942 * string/test-strcat-ifunc.c: Likewise.
943 * string/test-strchr-ifunc.c: Likewise.
944 * string/test-strchrnul-ifunc.c: Likewise.
945 * string/test-strcmp-ifunc.c: Likewise.
946 * string/test-strcpy-ifunc.c: Likewise.
947 * string/test-strcspn-ifunc.c: Likewise.
948 * string/test-strlen-ifunc.c: Likewise.
949 * string/test-strncasecmp-ifunc.c: Likewise.
950 * string/test-strncat-ifunc.c: Likewise.
951 * string/test-strncmp-ifunc.c: Likewise.
952 * string/test-strncpy-ifunc.c: Likewise.
953 * string/test-strnlen-ifunc.c: Likewise.
954 * string/test-strpbrk-ifunc.c: Likewise.
955 * string/test-strrchr-ifunc.c: Likewise.
956 * string/test-strspn-ifunc.c: Likewise.
957 * string/test-strstr-ifunc.c: Likewise.
958
ab260039 9592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
960
961 * benchtests/Makefile: Remove ifunc tests.
962 * benchtests/bench-string.h: Define TEST_IFUNC.
963 * benchtests/bench-bcopy-ifunc.c: Remove.
964 * benchtests/bench-bzero-ifunc.c: Likewise.
965 * benchtests/bench-memccpy-ifunc.c: Likewise.
966 * benchtests/bench-memchr-ifunc.c: Likewise.
967 * benchtests/bench-memcmp-ifunc.c: Likewise.
968 * benchtests/bench-memcpy-ifunc.c: Likewise.
969 * benchtests/bench-memmem-ifunc.c: Likewise.
970 * benchtests/bench-memmove-ifunc.c: Likewise.
971 * benchtests/bench-mempcpy-ifunc.c: Likewise.
972 * benchtests/bench-memrchr-ifunc.c: Likewise.
973 * benchtests/bench-memset-ifunc.c: Likewise.
974 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
975 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
976 * benchtests/bench-stpcpy-ifunc.c: Likewise.
977 * benchtests/bench-stpncpy-ifunc.c: Likewise.
978 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
979 * benchtests/bench-strcasestr-ifunc.c: Likewise.
980 * benchtests/bench-strcat-ifunc.c: Likewise.
981 * benchtests/bench-strchr-ifunc.c: Likewise.
982 * benchtests/bench-strchrnul-ifunc.c: Likewise.
983 * benchtests/bench-strcmp-ifunc.c: Likewise.
984 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
985 * benchtests/bench-strcpy-ifunc.c: Likewise.
986 * benchtests/bench-strcspn-ifunc.c: Likewise.
987 * benchtests/bench-strlen-ifunc.c: Likewise.
988 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
989 * benchtests/bench-strncat-ifunc.c: Likewise.
990 * benchtests/bench-strncmp-ifunc.c: Likewise.
991 * benchtests/bench-strncpy-ifunc.c: Likewise.
992 * benchtests/bench-strnlen-ifunc.c: Likewise.
993 * benchtests/bench-strpbrk-ifunc.c: Likewise.
994 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 995 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
996 * benchtests/bench-strspn-ifunc.c: Likewise.
997 * benchtests/bench-strstr-ifunc.c: Likewise.
998
9992013-11-26 Ondřej Bílka <neleai@seznam.cz>
1000
ab260039
OB
1001 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1002
d1d9eaf4 10032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1004
d1d9eaf4
OB
1005 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1006 * rt/aio.h: Likewise.
1007 * sysdeps/gnu/bits/utmp.h: Likewise.
1008 * sysdeps/gnu/bits/utmpx.h: Likewise.
1009 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1010 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1011 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1012 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1013 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1014 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1015 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1016 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1026 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1027 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1028 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1029 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1030 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1031 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1032 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1033 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1035 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1037 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1044 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1045 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1046 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1047 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1048 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1049 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1050 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1051
a7624ed9
CD
10522013-11-25 Carlos O'Donell <carlos@redhat.com>
1053
1054 [BZ #16245]
1055 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1056 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1057
63cfe52b
JM
10582013-11-25 Joseph Myers <joseph@codesourcery.com>
1059
1060 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1061 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1062 Likewise.
1063
41e8926a
AZ
10642013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065
1066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1067 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1068 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1069 (__fesetround): Remove define.
1070 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1071 rounding and exceptions handling.
1072 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1073 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1074 (__fe_nomask_env): Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1076 __fegetround instead of fegetround.
1077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1079
6851bd4d
RM
10802013-11-21 Roland McGrath <roland@hack.frob.com>
1081
070906ff
RM
1082 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1083 it's there.
1084
6851bd4d
RM
1085 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1086
84ae135d
MI
10872013-11-21 Meador Inge <meadori@codesourcery.com>
1088
1089 [BZ #11157]
1090 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1091 (encrypt_r): Likewise.
1092 * malloc/obstack.h (obstack_free): Likewise.
1093 * posix/unistd.h (encrypt): Likewise.
1094
daf75146
GM
10952013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1096
1097 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1098 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1099 DL_CALL_DT_FINI() that call the functions directly.
1100 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1101 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1102 * elf/dl-fini.c: Likewise.
1103
10ad46bc
OB
11042013-11-20 Ondřej Bílka <neleai@seznam.cz>
1105
1106 * malloc/hooks.c (memalign_check): Add alignment rounding.
1107 * malloc/malloc.c (_mid_memalign): New function.
1108 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1109 Implement by calling _mid_memalign.
1110 * manual/probes.texi (Memory Allocation Probes): Remove
1111 memory_valloc_retry and memory_pvalloc_retry.
1112
f3fd2628
SP
11132013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1114
4712799f
SP
1115 * locale/programs/locarchive.c (open_archive): Add const
1116 qualifier to ARCHIVEFNAME and copy default fname to
1117 DEFAULT_FNAME.
1118
0417b20f
SP
1119 [BZ #15601]
1120 * libio/tst-widetext.input: Rename Oriya to Odia.
1121 * locale/iso-639.def: Likewise.
1122
f3fd2628
SP
1123 * manual/probes.texi (Mathematical Function Probes): Add
1124 documentation for sin, cos, asin and acos probes.
1125 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1126 (__sin32): Add slowasin probe.
1127 (__cos32): Add slowacos probe.
1128 (__mpsin): Add slowsin probe.
1129 (__mpcos): Add slowcos probe.
1130
73c1ce4f
JM
11312013-11-19 Joseph Myers <joseph@codesourcery.com>
1132
1133 [BZ #15483]
1134 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1135 thread-local __sim_exceptions_thread and global
1136 __sim_exceptions_global.
1137 (__sim_disabled_exceptions): Change to thread-local
1138 __sim_disabled_exceptions_thread and global
1139 __sim_disabled_exceptions_global.
1140 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1141 and global __sim_round_mode_global.
1142 (__simulate_exceptions): Use thread-local floating-point state and
1143 set global state from it as needed.
1144 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1145 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1146 __sim_round_mode_thread.
1147 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1148 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1149 and global __sim_exceptions_global.
1150 (__sim_disabled_exceptions): Change to thread-local
1151 __sim_disabled_exceptions_thread and global
1152 __sim_disabled_exceptions_global.
1153 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1154 and global __sim_round_mode_global.
1155 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1156 (SIM_SET_GLOBAL): Likewise.
1157 * sysdeps/powerpc/soft-fp/sfp-machine.h
1158 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1159 __sim_round_mode_thread.
1160 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1161 __sim_disabled_exceptions_thread.
1162 (__sim_exceptions): Change to __sim_exceptions_thread.
1163 (__sim_disabled_exceptions): Change to
1164 __sim_disabled_exceptions_thread.
1165 (__sim_round_mode): Change to __sim_round_mode_thread.
1166 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1167 thread-local floating-point state and set global state from it as
1168 needed.
1169 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1170 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1171 (__sim_disabled_exceptions): Remove extern declaration.
1172 (feenableexcept): Use thread-local floating-point state and set
1173 global state from it as needed.
1174 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1175 extern declaration.
1176 (__sim_disabled_exceptions): Likewise.
1177 (__sim_round_mode): Likewise.
1178 (__fegetenv): Use thread-local floating-point state.
1179 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1180 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1181 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1182 floating-point state and set global state from it as needed.
1183 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1184 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1185 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1186 Likewise.
1187 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1188 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1189 Likewise.
1190 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1191 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1192 Use __sim_round_mode_thread.
1193 * math/test-fenv-tls.c: New file.
1194 * math/Makefile (tests): Add test-fenv-tls.
1195 ($(objpfx)test-fenv-tls): Depend on
1196 $(common-objpfx)nptl/libpthread.so.
1197
b5449b12
AS
11982013-11-19 Andreas Schwab <schwab@suse.de>
1199
1200 * locale/programs/locale.c (show_info): Decode wordarray elements.
1201 * locale/categories.def (LC_MONETARY): Add element for
1202 _NL_MONETARY_CRNCYSTR.
1203 * locale/C-monetary.c (conversion_rate): New variable.
1204 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1205 element.
1206
e186536b
CM
12072013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1208
1209 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1210 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1211
5c349950
PP
12122013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1213
1214 * elf/Makefile (tst-auxv): New test.
1215 * elf/tst-auxv.c: New
1216 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1217
699df45b
JM
12182013-11-18 Joseph Myers <joseph@codesourcery.com>
1219
1220 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1221 (hidden_proto): Caller changed.
1222 (hidden_tls_proto): New macro.
1223 (libc_hidden_tls_proto): Likewise.
1224 (rtld_hidden_tls_proto): Likewise.
1225 (libm_hidden_tls_proto): Likewise.
1226 (libresolv_hidden_tls_proto): Likewise.
1227 (librt_hidden_tls_proto): Likewise.
1228 (libdl_hidden_tls_proto): Likewise.
1229 (libnss_files_hidden_tls_proto): Likewise.
1230 (libnsl_hidden_tls_proto): Likewise.
1231 (libnss_nisplus_hidden_tls_proto): Likewise.
1232 (libutil_hidden_tls_proto): Likewise.
1233
b7589107
OB
12342013-11-18 Ondřej Bílka <neleai@seznam.cz>
1235
1236 [BZ #10253]
1237 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1238 (decompose_rpath): Defer expansion to fillin_rpath.
1239 (_dl_init_paths): Pass linkmap to fillin_rpath.
1240
250c23bd
RS
12412013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1242
1243 * benchtests/Makefile: Add strsep.
1244 * benchtests/bench-strsep.c: New file: strsep benchtest.
1245 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1246
a7931fcf
AS
12472013-11-18 Andreas Schwab <schwab@suse.de>
1248
1249 * locale/programs/locale.c (show_info) [case byte]: Check for
1250 '\377' instead of '\177'.
1251 * locale/C-monetary.c (not_available): Always use "\377".
1252 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1253 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1254 detect unavailable sign_posn locale elements.
1255 * locale/localeconv.c (__localeconv): For grouping and
1256 mon_grouping handle "\177" and "\377" like no grouping.
1257 (INT_ELEM): New macro. Use it to set all numeric members.
1258 * locale/programs/ld-monetary.c (monetary_read)
1259 <tok_mon_grouping>: Normalize single -1 to the empty string.
1260 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1261 Likewise.
1262
728dab0e
OB
12632013-11-07 Ondřej Bílka <neleai@seznam.cz>
1264
1265 [BZ #16055]
1266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1267 when we match (nil).
1268 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1269
66294491
JM
12702013-11-16 Joseph Myers <joseph@codesourcery.com>
1271
ce665817
JM
1272 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1273 (NO_TEST_INLINE): Update value.
1274 (ERRNO_UNCHANGED): Likewise.
1275 (ERRNO_EDOM): Likewise.
1276 (ERRNO_ERANGE): Likewise.
1277 (IGNORE_RESULT): Likewise.
1278 (check_float_internal): Check signs of NaN results if
1279 TEST_NAN_SIGN used.
1280 (check_complex): Pass TEST_NAN_SIGN flag through to second
1281 check_float_internal call.
1282 (copysign_test_data): Add tests with quiet NaNs as second
1283 argument. Use TEST_NAN_SIGN.
1284 (fabs_test_data): Add test of negative quiet NaN argument. Use
1285 TEST_NAN_SIGN.
1286 (signbit_test_data): Add tests of quiet NaN argument.
1287 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1288
ee1466a9
JM
1289 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1290 $ignore_result.
1291 (parse_args): Handle function results specified as IGNORE.
1292 * math/libm-test.inc (IGNORE_RESULT): New macro.
1293 (check_float_internal): Do not check numerical result if flag
1294 IGNORE_RESULT set.
1295 (check_complex): Pass through IGNORE_RESULT to second
1296 check_float_internal call.
1297 (check_int): Do not check numerical result if flag IGNORE_RESULT
1298 set.
1299 (check_long): Likewise.
1300 (check_bool): Likewise.
1301 (check_longlong): Likewise.
1302 (lrint_test_data): Add tests of infinite and NaN arguments.
1303 (lrint_tonearest_test_data): Likewise.
1304 (lrint_towardzero_test_data): Likewise.
1305 (lrint_downward_test_data): Likewise.
1306 (lrint_upward_test_data): Likewise.
1307 (llrint_test_data): Likewise.
1308 (llrint_tonearest_test_data): Likewise.
1309 (llrint_towardzero_test_data): Likewise.
1310 (llrint_downward_test_data): Likewise.
1311 (llrint_upward_test_data): Likewise.
1312 (lround_test_data): Likewise.
1313 (llround_test_data): Likewise.
1314
14407b7e
JM
1315 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1316 (ERRNO_UNCHANGED): Update value.
1317 (ERRNO_EDOM): Likewise.
1318 (ERRNO_ERANGE): Likewise.
1319 (NO_TEST_INLINE_FLOAT): New macro.
1320 (NO_TEST_INLINE_DOUBLE): Likewise.
1321 (enable_test): New function.
1322 (RUN_TEST_f_f): Check enable_test before running test.
1323 (RUN_TEST_2_f): Likewise.
1324 (RUN_TEST_fff_f): Likewise.
1325 (RUN_TEST_c_f): Likewise.
1326 (RUN_TEST_f_f1): Likewise.
1327 (RUN_TEST_fF_f1): Likewise.
1328 (RUN_TEST_fI_f1): Likewise.
1329 (RUN_TEST_ffI_f1): Likewise.
1330 (RUN_TEST_c_c): Likewise.
1331 (RUN_TEST_cc_c): Likewise.
1332 (RUN_TEST_f_i): Likewise.
1333 (RUN_TEST_f_i_tg): Likewise.
1334 (RUN_TEST_ff_i_tg): Likewise.
1335 (RUN_TEST_f_b): Likewise.
1336 (RUN_TEST_f_b_tg): Likewise.
1337 (RUN_TEST_f_l): Likewise.
1338 (RUN_TEST_f_L): Likewise.
1339 (RUN_TEST_fFF_11): Likewise.
1340 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1341 conditionals.
1342 (cosh_test_data): Likewise.
1343 (exp_test_data): Likewise.
1344 (expm1_test_data): Likewise.
1345 (hypot_test_data): Likewise.
1346 (pow_test_data): Likewise.
1347 (sinh_test_data): Likewise.
1348 (tanh_test_data): Likewise.
1349 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1350 flags argument.
1351
ca07f197
JM
1352 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1353 tests with quiet NaN input and output.
1354 (acosh_test_data): Likewise.
1355 (asin_test_data): Likewise.
1356 (asinh_test_data): Likewise.
1357 (atan_test_data): Likewise.
1358 (atanh_test_data): Likewise.
1359 (atan2_test_data): Likewise.
1360 (cbrt_test_data): Likewise.
1361 (cos_test_data): Likewise.
1362 (cosh_test_data): Likewise.
1363 (erf_test_data): Likewise.
1364 (erfc_test_data): Likewise.
1365 (exp_test_data): Likewise.
1366 (exp10_test_data): Likewise.
1367 (exp2_test_data): Likewise.
1368 (expm1_test_data): Likewise.
1369 (hypot_test_data): Likewise.
1370 (j0_test_data): Likewise.
1371 (j1_test_data): Likewise.
1372 (jn_test_data): Likewise.
1373 (lgamma_test_data): Likewise.
1374 (log_test_data): Likewise.
1375 (log10_test_data): Likewise.
1376 (log1p_test_data): Likewise.
1377 (log2_test_data): Likewise.
1378 (pow_test_data): Likewise.
1379 (scalb_test_data): Likewise.
1380 (sin_test_data): Likewise.
1381 (sincos_test_data): Likewise.
1382 (sinh_test_data): Likewise.
1383 (tan_test_data): Likewise.
1384 (tanh_test_data): Likewise.
1385 (tgamma_test_data): Likewise.
1386 (y0_test_data): Likewise.
1387 (y1_test_data): Likewise.
1388 (yn_test_data): Likewise.
1389
66294491
JM
1390 [BZ #16167]
1391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1392 argument being NaN and avoid computations with second argument in
1393 that case.
1394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1396 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1397
1820b143
CL
13982013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1399
1400 * locale/iso-639.def: Add Chitwani Tharu (the).
1401
714bd261
AS
14022013-11-14 Andreas Schwab <schwab@suse.de>
1403
1404 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1405 word instead of empty string.
1406
7ab44563
AZ
14072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1410 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1412 (__fe_nomask_env): Likewise.
1413
e8470ea2
SE
14142013-11-13 Steve Ellcey <sellcey@mips.com>
1415
1416 * benchtests/bench-timing.h: Include time.h.
1417
17c1d9f0
L
14182013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 [BZ #15997]
1421 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1422 to 3.4.0 for x32.
1423 * sysdeps/unix/sysv/linux/configure: Regenerated.
1424
9310c284
JM
14252013-11-13 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #16151]
1428 * stdlib/strtod_l.c (round_and_return): Do not consider
1429 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1430 exponent one less than half the least subnormal exponent.
1431 * stdlib/test-strtod-round-data: Add more tests.
1432 * stdlib/tst-strtod-round.c (tests): Regenerated.
1433
7a2ad8cf
AZ
14342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 [BZ #14143]
1437 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1438 (__fe_mask_env): Likewise.
1439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1440 libm_hidden_proto and add function prototype.
1441 (__fe_mask_env): Add function prototype.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1443 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1445 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1447 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1448
50727aa7
MS
14492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1450
b2f386c1 1451 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1452 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1453
a615be46
MS
14542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1455
1456 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1457 of htab_find_slot().
1458
7ddace62
DM
14592013-11-11 David S. Miller <davem@davemloft.net>
1460
1461 [BZ #16150]
1462 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1463 symbol in the non-vis3 case in static builds.
1464 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1465 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1466 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1467 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1468
9182aa67
JK
14692013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1470
1471 [BZ #387]
1472 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1473 it is empty.
1474
450a2e2d
AZ
14752013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
b2f386c1
SP
1477 * benchtests/Makefile: Add bench-strtod.
1478 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1479
8ec3f656
AS
14802013-11-11 Andreas Schwab <schwab@suse.de>
1481
1482 [BZ #16153]
1483 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1484 terminating NUL in key length.
1485
76a9b998
AZ
14862013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1487
1488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1489 Add artificial ODP entry for vDSO symbol for PPC64.
1490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1491 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1492
e4368156
OB
14932013-11-07 Ondřej Bílka <neleai@seznam.cz>
1494
1495 [BZ #15374]
1496 * nss/getent.c (services_keys): Recognize services starting with digit.
1497
8d6bb57c
DM
14982013-11-06 David S. Miller <davem@davemloft.net>
1499
1500 [BZ #15985]
1501 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1502 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1503
e256c421
WN
15042013-11-06 Will Newton <will.newton@linaro.org>
1505
1506 * manual/memory.texi (Malloc Examples): Remove register
1507 keyword from examples.
1508
f6e12daa 15092013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1510
f6e12daa 1511 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1512
9d880655
AS
15132013-11-04 Joseph Myers <joseph@codesourcery.com>
1514
1515 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1516 depending on [__GCC_IEC_559 > 0].
1517 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1518 depending on [__GCC_IEC_559_COMPLEX > 0].
1519
ae129d3c
CL
15202013-11-03 Chris Leonard <cjl@sugarlabs.org>
1521
1522 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1523 to iso-639.def.
1524
4a15c2a4 15252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1526
1527 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1528
8b35e35d
OB
15292013-11-01 Ondřej Bílka <neleai@seznam.cz>
1530
1531 [BZ #16112]
1532 * malloc/malloc (malloc_info): Do not handle first bin as
1533 special case.
1534
1d70fd6c
CL
15352013-11-01 Chris Leonard <cjl@sugarlabs.org>
1536
1537 * locale/iso-639.def: Add Central Nahuatl (nhn).
1538
8c5c2600
BH
15392013-11-01 Bruno Haible <bruno@clisp.org>
1540
1541 [BZ #7003]
1542 * manual/math.texi (BSD Random): Specify range upper bound as
1543 in POSIX.
1544
da5579c2
CL
15452013-10-31 Chris Leonard <cjl@sugarlabs.org>
1546
1547 * locale/iso-639.def: Add Meadow Mari (mhr).
1548
5d30d853
OB
15492013-10-31 Ondřej Bílka <neleai@seznam.cz>
1550
1551 [BZ #14752], [BZ #15763]
1552 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1553 Validate name.
1554 * rt/tst_shm.c: Add test for escaping directory.
1555
a4966c61
AS
15562013-10-31 Andreas Schwab <schwab@suse.de>
1557
8a43e768 1558 [BZ #15917]
a4966c61
AS
1559 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1560 followed by 'x' as part of digit sequence.
1561 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1562
28d708c4
MAP
15632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1564
1565 [BZ #16037]
1566 * configure.ac: allow GNU Make 4.0 and greater.
1567 * configure: Regenerated.
1568
a56ee40b
WN
15692013-10-30 Will Newton <will.newton@linaro.org>
1570
1571 [BZ #16038]
1572 * malloc/hooks.c (memalign_check): Limit alignment to the
1573 maximum representable power of two.
1574 * malloc/malloc.c (__libc_memalign): Likewise.
1575 * malloc/tst-memalign.c (do_test): Add test for very
1576 large alignment values.
1577 * malloc/tst-posix_memalign.c (do_test): Likewise.
1578
c6e4925d
OB
15792013-10-30 Ondřej Bílka <neleai@seznam.cz>
1580
1581 [BZ #11087]
1582 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1583 (munmap_chunk): Likewise.
1584 (mremap_chunk): Likewise.
1585
15862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1587
8a43e768 1588 [BZ #15799]
bbea82f7
OB
1589 * stdlib/div.c (div): Remove obsolete code.
1590 * stdlib/ldiv.c (ldiv): Likewise.
1591 * stdlib/lldiv.c (lldiv): Likewise.
1592
977f4b31
SP
15932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1594
1595 [BZ #16071]
1596 * nss/nss_files/files-XXX.c (get_contents_ret): New
1597 enumerator.
1598 (get_contents): New function.
1599 (internal_getent): Use it. Expand size of LINEBUFLEN.
1600
cb8a6dbd
MF
16012013-10-30 Mike Frysinger <vapier@gentoo.org>
1602
1603 * configure.in: Moved to ...
1604 * configure.ac: ... here. Change reference to configure.in
1605 to configure.ac.
1606 * sysdeps/arm/preconfigure.ac: ... here.
1607 configure.in to configure.ac.
1608 * sysdeps/gnu/configure.in: Moved to ...
1609 * sysdeps/gnu/configure.ac: ... here.
1610 * sysdeps/i386/configure.in: Moved to ...
1611 * sysdeps/i386/configure.ac: ... here.
1612 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1613 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1614 * sysdeps/mach/configure.in: Moved to ...
1615 * sysdeps/mach/configure.ac: ... here.
1616 * sysdeps/mach/hurd/configure.in: Moved to ...
1617 * sysdeps/mach/hurd/configure.ac: ... here.
1618 * sysdeps/powerpc/configure.in: Moved to ...
1619 * sysdeps/powerpc/configure.ac: ... here.
1620 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1621 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1622 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1623 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1624 * sysdeps/s390/s390-32/configure.in: Moved to ...
1625 * sysdeps/s390/s390-32/configure.ac: ... here.
1626 * sysdeps/s390/s390-64/configure.in: Moved to ...
1627 * sysdeps/s390/s390-64/configure.ac: ... here.
1628 * sysdeps/sh/configure.in: Moved to ...
1629 * sysdeps/sh/configure.ac: ... here.
1630 * sysdeps/sparc/configure.in: Moved to ...
1631 * sysdeps/sparc/configure.ac: ... here.
1632 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1633 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1634 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1635 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1636 * sysdeps/x86_64/configure.in: Moved to ...
1637 * sysdeps/x86_64/configure.ac: ... here.
1638 * sysdeps/x86_64/preconfigure.in: Moved to ...
1639 * sysdeps/x86_64/preconfigure.ac: ... here.
1640 * aclocal.m4: Change reference to configure.in to configure.ac.
1641 * config.h.in: Likewise.
1642 * manual/install.texi: Likewise.
1643 * manual/maint.texi: Likewise.
1644 * Makefile: Likewise.
1645 * malloc/Makefile: Likewise.
1646 * nscd/Makefile: Likewise.
1647 * Makeconfig: Change reference to configure.in and
1648 preconfigure.in to configure.ac and preconfigure.ac
1649 respectively.
1650 * INSTALL: Regenerated.
1651 * configure: Likewise.
1652 * sysdeps/gnu/configure: Likewise.
1653 * sysdeps/i386/configure: Likewise.
1654 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1655 * sysdeps/mach/configure: Likewise.
1656 * sysdeps/mach/hurd/configure: Likewise.
1657 * sysdeps/powerpc/configure: Likewise.
1658 * sysdeps/powerpc/powerpc32/configure: Likewise.
1659 * sysdeps/powerpc/powerpc64/configure: Likewise.
1660 * sysdeps/s390/s390-32/configure: Likewise.
1661 * sysdeps/s390/s390-64/configure: Likewise.
1662 * sysdeps/sh/configure: Likewise.
1663 * sysdeps/sparc/configure: Likewise.
1664 * sysdeps/unix/sysv/linux/configure: Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1666 * sysdeps/x86_64/configure: Likewise.
1667 * sysdeps/x86_64/preconfigure: Likewise.
1668
36a4953a
AS
16692013-10-29 Andreas Schwab <schwab@suse.de>
1670
1671 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1672
c79a1204
SP
16732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1674
dfa1b402
SP
1675 * benchtests/pow-inputs: Add new inputs.
1676
54f73d9c
SP
1677 * benchtests/exp-inputs: Add new inputs.
1678
c79a1204
SP
1679 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1680 conditional check for return value.
1681 (__cos32): Likewise.
1682
67beb545 16832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1684
1685 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1686 to provide a boost for large inputs with word alignment.
1687 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1688 implementation based on optimized PPC64 strcpy.
1689 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1690 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1691 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1692 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1693
151659f6
OB
16942013-10-25 Ondřej Bílka <neleai@seznam.cz>
1695
482a077e 1696 [BZ #2801]
151659f6
OB
1697 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1698
10b0f26b
OB
16992013-10-25 Ondřej Bílka <neleai@seznam.cz>
1700
1701 [BZ #14876]
1702 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1703 * time/tst-strptime.c (day_tests): Add testcase.
1704
ca42d35e
OB
17052013-10-25 Ondřej Bílka <neleai@seznam.cz>
1706
482a077e 1707 [BZ #14029]
ca42d35e
OB
1708 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1709
52e6d801
FB
17102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1711
1712 [BZ #16074]
1713 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1714 MAP_FAILED on error.
1715
7cbcdb36
SP
17162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1717
1718 [BZ #16072]
1719 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1720 heap for large requests.
1721
894f3f10
AM
17222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1723
1724 [BZ #9954]
1725 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1726 result if the result has no associated interface.
1727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1728 interface for all 127.X.Y.Z addresses.
1729
b85545a6
CL
17302013-10-24 Chris Leonard <cjl@sugarlabs.org>
1731
1732 * locale/iso-639.def: Add Ligurian (lij)
1733
d1f23d46
OB
17342013-10-21 Ondřej Bílka <neleai@seznam.cz>
1735
1736 [BZ #15825]
1737 * sunrpc/rpc_main.c: Document rpcgen -5.
1738
4db5b08f
MS
17392013-10-19 Michael Stahl <mstahl@redhat.com>
1740
1741 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1742
a471e96a
OB
17432013-10-19 Ondřej Bílka <neleai@seznam.cz>
1744
d1f23d46 1745 [BZ #10278]
a471e96a
OB
1746 * posix/glob.c: Match only directories when trailing slash is present.
1747 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1748 (main): Add testcase.
1749
45c30c61
OB
17502013-10-19 Ondřej Bílka <neleai@seznam.cz>
1751
1752 [BZ #15670]
1753 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1754
484c12fb
CD
17552013-10-18 Carlos O'Donell <carlos@redhat.com>
1756
3d7dc513
CD
1757 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1758 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1759 AUTH_DES and cindex for FIPS 140-2.
1760 (DES Encryption): Add cindex FIPS 46-3.
1761
484c12fb
CD
1762 * locale/locarchive.h (struct locarhandle): Add fname.
1763 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1764 if an optional argument was specified to --list-archive,
1765 otherwise NULL.
1766 * locale/programs/locarchive.c (show_archive_content): Take new
1767 argument fname and pass it via ah.fname to open_archive.
1768 * locale/programs/localedef.h: Update decl.
1769 (open_archive): If AH->fname is non-null, open that file
1770 rather than the default file name, and don't ignore ENOENT.
1771 (create_archive): Set AH.fname to NULL.
1772 (delete_locales_from_archive): Likewise.
1773 (add_locales_to_archive): Likewise.
1774 * locale/programs/locfile.c (write_all_categories): Likewise.
1775
3c8325fb
JM
17762013-10-18 Joseph Myers <joseph@codesourcery.com>
1777 Aldy Hernandez <aldyh@redhat.com>
1778
1779 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1780 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1781 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1782 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1783 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1787 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1788 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1790 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1791 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1792 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1794 Likewise.
1795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1796 Likewise.
1797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1798 Likewise.
1799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1800 Likewise.
1801 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1803 Likewise.
1804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1805 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1806 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1807 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1808 Likewise.
1809 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1810 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1811 * sysdeps/powerpc/preconfigure: Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1813 Likewise.
1814 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1815 Replace contents of file by #include of <fenv_libc.h>.
1816 * sysdeps/powerpc/soft-fp/sfp-machine.h
1817 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1818 and <sys/prctl.h>.
1819 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1832 Allow copysignl PLT reference to be missing.
1833
5abe0682
RS
18342013-10-18 Richard Sandiford <richard@codesourcery.com>
1835 Joseph Myers <joseph@codesourcery.com
1836
1837 [BZ #15948]
1838 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1839 single character.
1840 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1841
c7738d08
SP
18422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1843
1844 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1845 * elf/tst-tls1.c: Likewise.
1846 * elf/tst-tls10.h: Likewise.
1847 * elf/tst-tls14.c: Likewise.
1848 * elf/tst-tls2.c: Likewise.
1849 * elf/tst-tls3.c: Likewise.
1850 * elf/tst-tls4.c: Likewise.
1851 * elf/tst-tls5.c: Likewise.
1852 * elf/tst-tls6.c: Likewise.
1853 * elf/tst-tls7.c: Likewise.
1854 * elf/tst-tls8.c: Likewise.
1855 * elf/tst-tls9.c: Likewise.
1856 * elf/tst-tlsmod1.c: Likewise.
1857 * elf/tst-tlsmod13.c: Likewise.
1858 * elf/tst-tlsmod13a.c: Likewise.
1859 * elf/tst-tlsmod14a.c: Likewise.
1860 * elf/tst-tlsmod16a.c: Likewise.
1861 * elf/tst-tlsmod16b.c: Likewise.
1862 * elf/tst-tlsmod2.c: Likewise.
1863 * elf/tst-tlsmod3.c: Likewise.
1864 * elf/tst-tlsmod4.c: Likewise.
1865 * elf/tst-tlsmod5.c: Likewise.
1866 * elf/tst-tlsmod6.c: Likewise.
1867
0bfcf2c7
OB
18682013-10-18 Ondřej Bílka <neleai@seznam.cz>
1869
1870 [BZ #12486]
1871 * malloc/malloc.c: remove checks for statistics.
1872
264aad1e
OB
18732013-10-17 Ondřej Bílka <neleai@seznam.cz>
1874
1875 [BZ #15277]
1876 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1877 * inet/tst-network.c: Add testcase.
1878
b957ced8
AS
18792013-10-17 Andreas Schwab <schwab@suse.de>
1880
1881 [BZ #15218]
1882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1883 to determine canonical name.
1884
c5d5d574
OB
18852013-10-17 Ondřej Bílka <neleai@seznam.cz>
1886
1887 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1888 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1911 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1945
e5c2c2d0
JM
19462013-10-17 Joseph Myers <joseph@codesourcery.com>
1947
1948 [BZ #16041]
1949 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1950 make result into a quiet NaN.
1951
51ca9e29
JM
19522013-10-16 Joseph Myers <joseph@codesourcery.com>
1953
1954 * soft-fp/adddf3.c: Fix horizontal whitespace.
1955 * soft-fp/addsf3.c: Likewise.
1956 * soft-fp/addtf3.c: Likewise.
1957 * soft-fp/divdf3.c: Likewise.
1958 * soft-fp/divsf3.c: Likewise.
1959 * soft-fp/divtf3.c: Likewise.
1960 * soft-fp/double.h: Likewise.
1961 * soft-fp/eqdf2.c: Likewise.
1962 * soft-fp/eqsf2.c: Likewise.
1963 * soft-fp/eqtf2.c: Likewise.
1964 * soft-fp/extenddftf2.c: Likewise.
1965 * soft-fp/extended.h: Likewise.
1966 * soft-fp/extendsfdf2.c: Likewise.
1967 * soft-fp/extendsftf2.c: Likewise.
1968 * soft-fp/extendxftf2.c: Likewise.
1969 * soft-fp/fixdfdi.c: Likewise.
1970 * soft-fp/fixdfsi.c: Likewise.
1971 * soft-fp/fixdfti.c: Likewise.
1972 * soft-fp/fixsfdi.c: Likewise.
1973 * soft-fp/fixsfsi.c: Likewise.
1974 * soft-fp/fixsfti.c: Likewise.
1975 * soft-fp/fixtfdi.c: Likewise.
1976 * soft-fp/fixtfsi.c: Likewise.
1977 * soft-fp/fixtfti.c: Likewise.
1978 * soft-fp/fixunsdfdi.c: Likewise.
1979 * soft-fp/fixunsdfsi.c: Likewise.
1980 * soft-fp/fixunsdfti.c: Likewise.
1981 * soft-fp/fixunssfdi.c: Likewise.
1982 * soft-fp/fixunssfsi.c: Likewise.
1983 * soft-fp/fixunssfti.c: Likewise.
1984 * soft-fp/fixunstfdi.c: Likewise.
1985 * soft-fp/fixunstfsi.c: Likewise.
1986 * soft-fp/fixunstfti.c: Likewise.
1987 * soft-fp/floatdidf.c: Likewise.
1988 * soft-fp/floatdisf.c: Likewise.
1989 * soft-fp/floatditf.c: Likewise.
1990 * soft-fp/floatsidf.c: Likewise.
1991 * soft-fp/floatsisf.c: Likewise.
1992 * soft-fp/floatsitf.c: Likewise.
1993 * soft-fp/floattidf.c: Likewise.
1994 * soft-fp/floattisf.c: Likewise.
1995 * soft-fp/floattitf.c: Likewise.
1996 * soft-fp/floatundidf.c: Likewise.
1997 * soft-fp/floatundisf.c: Likewise.
1998 * soft-fp/floatunditf.c: Likewise.
1999 * soft-fp/floatunsidf.c: Likewise.
2000 * soft-fp/floatunsisf.c: Likewise.
2001 * soft-fp/floatunsitf.c: Likewise.
2002 * soft-fp/floatuntidf.c: Likewise.
2003 * soft-fp/floatuntisf.c: Likewise.
2004 * soft-fp/floatuntitf.c: Likewise.
2005 * soft-fp/fmadf4.c: Likewise.
2006 * soft-fp/fmasf4.c: Likewise.
2007 * soft-fp/fmatf4.c: Likewise.
2008 * soft-fp/gedf2.c: Likewise.
2009 * soft-fp/gesf2.c: Likewise.
2010 * soft-fp/getf2.c: Likewise.
2011 * soft-fp/ledf2.c: Likewise.
2012 * soft-fp/lesf2.c: Likewise.
2013 * soft-fp/letf2.c: Likewise.
2014 * soft-fp/muldf3.c: Likewise.
2015 * soft-fp/mulsf3.c: Likewise.
2016 * soft-fp/multf3.c: Likewise.
2017 * soft-fp/negdf2.c: Likewise.
2018 * soft-fp/negsf2.c: Likewise.
2019 * soft-fp/negtf2.c: Likewise.
2020 * soft-fp/op-1.h: Likewise.
2021 * soft-fp/op-2.h: Likewise.
2022 * soft-fp/op-4.h: Likewise.
2023 * soft-fp/op-8.h: Likewise.
2024 * soft-fp/op-common.h: Likewise.
2025 * soft-fp/quad.h: Likewise.
2026 * soft-fp/single.h: Likewise.
2027 * soft-fp/soft-fp.h: Likewise.
2028 * soft-fp/sqrtdf2.c: Likewise.
2029 * soft-fp/sqrtsf2.c: Likewise.
2030 * soft-fp/sqrttf2.c: Likewise.
2031 * soft-fp/subdf3.c: Likewise.
2032 * soft-fp/subsf3.c: Likewise.
2033 * soft-fp/subtf3.c: Likewise.
2034 * soft-fp/truncdfsf2.c: Likewise.
2035 * soft-fp/trunctfdf2.c: Likewise.
2036 * soft-fp/trunctfsf2.c: Likewise.
2037 * soft-fp/trunctfxf2.c: Likewise.
2038 * soft-fp/unorddf2.c: Likewise.
2039 * soft-fp/unordsf2.c: Likewise.
2040 * soft-fp/unordtf2.c: Likewise.
2041
9ebb0332
JM
20422013-10-15 Joseph Myers <joseph@codesourcery.com>
2043
2044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2045 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2046
4b1a6d8b
OB
20472013-10-15 Ondřej Bílka <neleai@seznam.cz>
2048
2049 * elf/dl-libc.c: Clear initfini list after freeing.
2050
1e145589
JM
20512013-10-14 Joseph Myers <joseph@codesourcery.com>
2052
2053 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2054 * soft-fp/addsf3.c: Likewise.
2055 * soft-fp/addtf3.c: Likewise.
2056 * soft-fp/divdf3.c: Likewise.
2057 * soft-fp/divsf3.c: Likewise.
2058 * soft-fp/divtf3.c: Likewise.
2059 * soft-fp/double.h: Likewise.
2060 * soft-fp/eqdf2.c: Likewise.
2061 * soft-fp/eqsf2.c: Likewise.
2062 * soft-fp/eqtf2.c: Likewise.
2063 * soft-fp/extenddftf2.c: Likewise.
2064 * soft-fp/extended.h: Likewise.
2065 * soft-fp/extendsfdf2.c: Likewise.
2066 * soft-fp/extendsftf2.c: Likewise.
2067 * soft-fp/extendxftf2.c: Likewise.
2068 * soft-fp/fixdfdi.c: Likewise.
2069 * soft-fp/fixdfsi.c: Likewise.
2070 * soft-fp/fixdfti.c: Likewise.
2071 * soft-fp/fixsfdi.c: Likewise.
2072 * soft-fp/fixsfsi.c: Likewise.
2073 * soft-fp/fixsfti.c: Likewise.
2074 * soft-fp/fixtfdi.c: Likewise.
2075 * soft-fp/fixtfsi.c: Likewise.
2076 * soft-fp/fixtfti.c: Likewise.
2077 * soft-fp/fixunsdfdi.c: Likewise.
2078 * soft-fp/fixunsdfsi.c: Likewise.
2079 * soft-fp/fixunsdfti.c: Likewise.
2080 * soft-fp/fixunssfdi.c: Likewise.
2081 * soft-fp/fixunssfsi.c: Likewise.
2082 * soft-fp/fixunssfti.c: Likewise.
2083 * soft-fp/fixunstfdi.c: Likewise.
2084 * soft-fp/fixunstfsi.c: Likewise.
2085 * soft-fp/fixunstfti.c: Likewise.
2086 * soft-fp/floatdidf.c: Likewise.
2087 * soft-fp/floatdisf.c: Likewise.
2088 * soft-fp/floatditf.c: Likewise.
2089 * soft-fp/floatsidf.c: Likewise.
2090 * soft-fp/floatsisf.c: Likewise.
2091 * soft-fp/floatsitf.c: Likewise.
2092 * soft-fp/floattidf.c: Likewise.
2093 * soft-fp/floattisf.c: Likewise.
2094 * soft-fp/floattitf.c: Likewise.
2095 * soft-fp/floatundidf.c: Likewise.
2096 * soft-fp/floatundisf.c: Likewise.
2097 * soft-fp/floatunsidf.c: Likewise.
2098 * soft-fp/floatunsisf.c: Likewise.
2099 * soft-fp/floatuntidf.c: Likewise.
2100 * soft-fp/floatuntisf.c: Likewise.
2101 * soft-fp/floatuntitf.c: Likewise.
2102 * soft-fp/fmadf4.c: Likewise.
2103 * soft-fp/fmasf4.c: Likewise.
2104 * soft-fp/fmatf4.c: Likewise.
2105 * soft-fp/gedf2.c: Likewise.
2106 * soft-fp/gesf2.c: Likewise.
2107 * soft-fp/getf2.c: Likewise.
2108 * soft-fp/ledf2.c: Likewise.
2109 * soft-fp/lesf2.c: Likewise.
2110 * soft-fp/letf2.c: Likewise.
2111 * soft-fp/muldf3.c: Likewise.
2112 * soft-fp/mulsf3.c: Likewise.
2113 * soft-fp/multf3.c: Likewise.
2114 * soft-fp/negdf2.c: Likewise.
2115 * soft-fp/negsf2.c: Likewise.
2116 * soft-fp/negtf2.c: Likewise.
2117 * soft-fp/op-1.h: Likewise.
2118 * soft-fp/op-2.h: Likewise.
2119 * soft-fp/op-4.h: Likewise.
2120 * soft-fp/op-8.h: Likewise.
2121 * soft-fp/op-common.h: Likewise.
2122 * soft-fp/quad.h: Likewise.
2123 * soft-fp/single.h: Likewise.
2124 * soft-fp/soft-fp.h: Likewise.
2125 * soft-fp/sqrtdf2.c: Likewise.
2126 * soft-fp/sqrtsf2.c: Likewise.
2127 * soft-fp/sqrttf2.c: Likewise.
2128 * soft-fp/subdf3.c: Likewise.
2129 * soft-fp/subsf3.c: Likewise.
2130 * soft-fp/subtf3.c: Likewise.
2131 * soft-fp/truncdfsf2.c: Likewise.
2132 * soft-fp/trunctfdf2.c: Likewise.
2133 * soft-fp/trunctfsf2.c: Likewise.
2134 * soft-fp/trunctfxf2.c: Likewise.
2135 * soft-fp/unorddf2.c: Likewise.
2136 * soft-fp/unordsf2.c: Likewise.
2137 * soft-fp/unordtf2.c: Likewise.
2138
17c48a60
OB
21392013-10-14 Ondřej Bílka <neleai@seznam.cz>
2140
2141 [BZ #15672]
2142 * misc/error.c (error_tail): Fix possible buffer overflow.
2143
cabba934
OB
21442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2145
2146 [BZ #13028]
2147 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2148 address.
2149
94bf958a
PM
21502013-10-14 P. J. McDermott <pj@pehjota.net>
2151
2152 [BZ #832]
2153 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2154 testing pipefail option.
2155
71b4dea7
JM
21562013-10-12 Joseph Myers <joseph@codesourcery.com>
2157
2158 * soft-fp/double.h: Indent preprocessor directives inside #if.
2159 * soft-fp/extended.h: Likewise.
2160 * soft-fp/op-2.h: Likewise.
2161 * soft-fp/op-4.h: Likewise.
2162 * soft-fp/op-common.h: Likewise.
2163 * soft-fp/quad.h: Likewise.
2164 * soft-fp/single.h: Likewise.
2165 * soft-fp/soft-fp.h: Likewise.
2166
55602758
YC
21672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2168
2169 * iconv/iconv_prog.c: Fix typos.
2170 * stdio-common/psiginfo-data.h: Likewise.
2171
9cd83302
RT
21722013-10-12 Reuben Thomas <rrt@sc3d.org>
2173
2174 [BZ #15764]
2175 * locale/setlocale.c: Fix typo.
2176
99fd9f47
JM
21772013-10-12 Joseph Myers <joseph@codesourcery.com>
2178
b7ea74f0
JM
2179 [BZ #16036]
2180 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2181 signaling NaN arguments.
2182 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2183 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2184
8a509447
JM
2185 [BZ #14910]
2186 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2187 unordered operands.
2188 * soft-fp/gesf2.c (__gesf2): Likewise.
2189 * soft-fp/getf2.c (__getf2): Likewise.
2190 * soft-fp/ledf2.c (__ledf2): Likewise.
2191 * soft-fp/lesf2.c (__lesf2): Likewise.
2192 * soft-fp/letf2.c (__letf2): Likewise.
2193
98998e9f
JM
2194 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2195 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2196 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2197 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2198 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2199 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2200 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2201 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2202 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2203 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2204 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2205 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2206 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2207 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2208 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2209 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2210 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2211 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2212 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2213 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2214 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2215 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2216 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2217 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2218 * soft-fp/floattidf.c (__floattidf): Likewise.
2219 * soft-fp/floattisf.c (__floattisf): Likewise.
2220 * soft-fp/floattitf.c (__floattitf): Likewise.
2221 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2222 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2223 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2224 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2225 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2226 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2227 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2228 * soft-fp/gesf2.c (__gesf2): Likewise.
2229 * soft-fp/getf2.c (__getf2): Likewise.
2230 * soft-fp/ledf2.c (__ledf2): Likewise.
2231 * soft-fp/lesf2.c (__lesf2): Likewise.
2232 * soft-fp/letf2.c (__letf2): Likewise.
2233
8edc4a11
JM
2234 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2235 Undefine and redefine.
2236 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2237 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2238 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2239 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2240 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2241 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2242 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2243 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2244 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2245 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2246 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2247 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2248 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2249 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2250 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2251
8399acaf
JM
2252 [BZ #16032]
2253 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2254 without decrementing exponent if mantissa >= that for the
2255 denominator, not >.
2256 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2257 denominator, not >. Decrement exponent in < case instead of
2258 incrementing in >= case.
2259 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2260 without decrementing exponent if mantissa >= that for the
2261 denominator, not >.
2262
99fd9f47
JM
2263 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2264 computing saturated result for unsigned overflow.
2265
10e1cf6b
SP
22662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2267 Jeff Law <law@redhat.com>
2268
2269 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2270 (atan2Mp): Add systemtap probe marker.
2271 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2272 (__ieee754_log): Add systemtap probe marker.
2273 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2274 (atanMp): Add systemtap probe marker.
2275 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2276 (tanMp): Add systemtap probe marker.
2277 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2278 (__slowexp): Add systemtap probe marker.
2279 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2280 (__slowpow): Add systemtap probe marker.
2281 * manual/probes.texi: Document probes.
2282
3d110c7c
EB
22832013-10-11 Eric Biggers <ebiggers3@gmail.com>
2284
2285 [BZ #15362]
2286 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2287 written.
2288 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2289 written.
2290 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2291 written to buffer but not flushed.
2292 * libio/iofwrite_u.c: Likewise.
2293 * libio/iopadn.c: Return bytes returned even if EOF was
2294 encountered.
2295 * libio/iowpadn.c: Likewise.
2296 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2297 if _IO_padn does not write the whole buffer.
2298 [!COMPILE_WPRINTF] (PAD): Likewise.
2299
75b4202a
DM
23002013-10-10 David S. Miller <davem@davemloft.net>
2301
2302 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2303 directory block.
2304
6c6352e6
JM
23052013-10-10 Joseph Myers <joseph@codesourcery.com>
2306
33b853c3
JM
2307 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2308 instead of FSF address.
2309 * soft-fp/fixdfti.c: Likewise.
2310 * soft-fp/fixsfti.c: Likewise.
2311 * soft-fp/fixtfti.c: Likewise.
2312 * soft-fp/fixunsdfti.c: Likewise.
2313 * soft-fp/fixunssfti.c: Likewise.
2314 * soft-fp/fixunstfti.c: Likewise.
2315 * soft-fp/floattidf.c: Likewise.
2316 * soft-fp/floattisf.c: Likewise.
2317 * soft-fp/floattitf.c: Likewise.
2318 * soft-fp/floatuntidf.c: Likewise.
2319 * soft-fp/floatuntisf.c: Likewise.
2320 * soft-fp/floatuntitf.c: Likewise.
2321 * soft-fp/trunctfxf2.c: Likewise.
2322
6c6352e6
JM
2323 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2324 * soft-fp/fixdfti.c: Likewise.
2325 * soft-fp/fixsfti.c: Likewise.
2326 * soft-fp/fixtfti.c: Likewise.
2327 * soft-fp/fixunsdfti.c: Likewise.
2328 * soft-fp/fixunssfti.c: Likewise.
2329 * soft-fp/fixunstfti.c: Likewise.
2330 * soft-fp/floattidf.c: Likewise.
2331 * soft-fp/floattisf.c: Likewise.
2332 * soft-fp/floattitf.c: Likewise.
2333 * soft-fp/floatuntidf.c: Likewise.
2334 * soft-fp/floatuntisf.c: Likewise.
2335 * soft-fp/floatuntitf.c: Likewise.
2336 * soft-fp/trunctfxf2.c: Likewise.
2337
3bf78b71
DM
23382013-10-10 David S. Miller <davem@davemloft.net>
2339
2340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2341
6f10289e
JM
23422013-10-10 Joseph Myers <joseph@codsourcery.com>
2343
bd878fc0
JM
2344 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2345 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2346 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2347 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2348 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2349 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2350 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2351
6f10289e
JM
2352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2353 for NaNs before doing comparisons on argument.
2354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2355 Likewise.
2356
321e2684
WN
23572013-10-10 Will Newton <will.newton@linaro.org>
2358
2359 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2360 passed to _int_memalign does not overflow.
2361
40fefba1
TR
23622013-10-10 Torvald Riegel <triegel@redhat.com>
2363
2364 * scripts/bench.pl: Add include-sources directive.
2365 * benchtests/README: Update documentation.
2366
2ae21ed2
JM
23672013-10-10 Joseph Myers <joseph@codesourcery.com>
2368
dcc2dd3f
JM
2369 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2370 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2371 instead of FP_INIT_ROUNDMODE.
2372 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2373 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2374
2ae21ed2
JM
2375 [BZ #16034]
2376 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2377 copy class of input value.
2378 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2379 not handle exceptions.
2380 * soft-fp/negsf2.c (__negsf2): Likewise.
2381 * soft-fp/negtf2.c (__negtf2): Likewise.
2382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2383
cb8f9562
JM
23842013-10-09 Joseph Myers <joseph@codesourcery.com>
2385
2386 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2387 semicolon. From Linux kernel.
2388
5b60c59d
AB
23892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2390
2391 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2392
b86835ca
YC
23932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2394
2395 [BZ #156]
2396 * manual/socket.texi: Added statement about buffer
2397 for gethostbyname2_r.
2398
e7044ea7
OB
23992013-10-08 Ondřej Bílka <neleai@seznam.cz>
2400
2401 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2402 Use .p2align directive instead, throughout.
2403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2408 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2409 * sysdeps/x86_64/strchr.S: Likewise.
2410 * sysdeps/x86_64/strrchr.S: Likewise.
2411
09544cbc
SP
24122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2413
88576635
SP
2414 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2415
e7b2d1dd
SP
2416 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2417
09544cbc
SP
2418 * sysdeps/generic/math_private.h (__mpsin1): Remove
2419 declaration.
2420 (__mpcos1): Likewise.
2421 (__mpsin): New argument __range_reduce.
2422 (__mpcos): Likewise.
2423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2424 (slow): Use __mpsin and __mpcos.
2425 (slow1): Likewise.
2426 (slow2): Likewise.
2427 (sloww): Likewise.
2428 (sloww1): Likewise.
2429 (sloww2): Likewise.
2430 (bsloww): Likewise.
2431 (bsloww1): Likewise.
2432 (bsloww2): Likewise.
2433 (cslow2): Likewise.
2434 (csloww): Likewise.
2435 (csloww1): Likewise.
2436 (csloww2): Likewise.
2437 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2438 range_reduce. Merge in __mpsin1.
2439 (__mpcos): Likewise.
2440 (__mpsin1): Remove.
2441 (__mpcos1): Likewise.
2442
7602d070
JM
24432013-10-07 Joseph Myers <joseph@codesourcery.com>
2444
2445 * locale/loadlocale.c (_nl_intern_locale_data): Use
2446 LOCFILE_ALIGNED_P.
2447 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2448 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2449 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2450 obstack data is appropriately aligned.
2451 (obstack_int32_grow_fast): Likewise.
2452 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2453 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2454 (add_locale_uint32_array): Likewise.
2455
a357259b
SP
24562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2457
2458 * benchtests/Makefile: Remove ARGLIST and RET variables.
2459 ($(objpfx)bench-%.c): Pass only function name to the script.
2460 * benchtests/README: Update documentation.
2461 * benchtests/acos-inputs: Add new directives.
2462 * benchtests/acosh-inputs: Likewise.
2463 * benchtests/asin-inputs: Likewise.
2464 * benchtests/asinh-inputs: Likewise.
2465 * benchtests/atan-inputs: Likewise.
2466 * benchtests/atanh-inputs: Likewise.
2467 * benchtests/cos-inputs: Likewise.
2468 * benchtests/cosh-inputs: Likewise.
2469 * benchtests/exp-inputs: Likewise.
2470 * benchtests/log-inputs: Likewise.
2471 * benchtests/pow-inputs: Likewise.
2472 * benchtests/rint-inputs: Likewise.
2473 * benchtests/sin-inputs: Likewise.
2474 * benchtests/sinh-inputs: Likewise.
2475 * benchtests/tan-inputs: Likewise.
2476 * benchtests/tanh-inputs: Likewise.
2477 * scripts/bench.pl: Add support for new directives.
2478
9ec1b13d
AM
24792013-10-07 Alan Modra <amodra@gmail.com>
2480
2481 * README: Fix careless merge.
2482
8b7d57cd
AM
24832013-10-05 Alan Modra <amodra@gmail.com>
2484
2485 * NEWS: Mention powerpc64le support and bugs fixed.
2486 * README: Both big-endian and little-endian powerpc64 supported.
2487
7b7bab13
ST
24882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2489
2490 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2491 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2492 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2493 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2494
d39baad1
RA
24952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2496
2497 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2498 match prototype.
2499
cd78f7e7
JM
25002013-10-04 Joseph Myers <joseph@codesourcery.com>
2501
29d73d86
JM
2502 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2503 Move -mhard-float appending from
2504 ports/sysdeps/powerpc/powerpc32/Makefile.
2505 [$(with-fp) = yes] (ASFLAGS): Likewise.
2506 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2507 * sysdeps/powerpc/nofpu: Move directory from
2508 ports/sysdeps/powerpc/nofpu.
2509 * sysdeps/powerpc/soft-fp: Move directory from
2510 ports/sysdeps/powerpc/soft-fp.
2511 * sysdeps/powerpc/powerpc32/405: Move directory from
2512 ports/sysdeps/powerpc/powerpc32/405.
2513 * sysdeps/powerpc/powerpc32/440: Move directory from
2514 ports/sysdeps/powerpc/powerpc32/440.
2515 * sysdeps/powerpc/powerpc32/464: Move directory from
2516 ports/sysdeps/powerpc/powerpc32/464.
2517 * sysdeps/powerpc/powerpc32/476: Move directory from
2518 ports/sysdeps/powerpc/powerpc32/476.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2529 * README: Update for powerpc-*-linux-gnu software floating point
2530 support in libc.
2531
e246b347
JM
2532 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2533 case to powerpc/powerpc32*.
2534 * sysdeps/unix/sysv/linux/configure: Regenerated.
2535
89c2003e
JM
2536 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2537 (_FPU_MASK_OM): Define as 0x04.
2538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2540 0x00c10080.
2541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2542 0x0000003c.
2543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2544
cd78f7e7
JM
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2546 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2547 getcontext_e500.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2549 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2550 setcontext_e500.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2552 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2553 and setcontext_e500.
2554
c755294d
CL
25552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2556
2557 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2558
e16d221c
SP
25592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2560
2561 * manual/threads.texi (Default Thread Attributes): Fix typo.
2562
215c7d43
WN
25632013-10-04 Will Newton <will.newton@linaro.org>
2564
2565 * malloc/Makefile: Add tst-memalign.
2566 * malloc/tst-memalign.c: New file.
2567
27d0461b
WN
2568 * malloc/tst-posix_memalign.c: Add comments.
2569 (do_test): Add comments and call free on all potentially
2570 allocated pointers. Add space after cast.
2571
1bc92709
WN
2572 * malloc/tst-pvalloc.c: Add comments.
2573 (do_test): Add comments and call free on all potentially
2574 allocated pointers. Remove duplicate check for NULL pointer.
2575 Add space after cast.
2576
66a9be9d
WN
2577 * malloc/tst-valloc.c: Add comments.
2578 (do_test): Add comments and call free on all potentially
2579 allocated pointers. Remove duplicate check for NULL pointer.
2580 Add space after cast.
2581
4cb81307
AM
25822013-10-04 Alan Modra <amodra@gmail.com>
2583
2584 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2585 Use stdint types in rather than __attribute__((mode())).
2586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2587
f8e3e9f3
AM
25882013-10-04 Alan Modra <amodra@gmail.com>
2589
2590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2591 Correct handling of unaligned relocs for little-endian.
2592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2593
8f9ebb08
AM
25942013-10-04 Alan Modra <amodra@gmail.com>
2595
2596 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2597 * configure: Regenerate.
2598 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2599 * shlib-versions: Likewise.
2600
0edf96c2
AM
26012013-10-04 Alan Modra <amodra@gmail.com>
2602
2603 * string/tester.c (test_memrchr): Increment reported test cycle.
2604
e0f7a380
AM
26052013-10-04 Alan Modra <amodra@gmail.com>
2606
2607 * string/test-memcpy.c (do_one_test): When reporting errors, print
2608 string address and don't overrun end of string.
2609
466b0393
AM
26102013-10-04 Alan Modra <amodra@gmail.com>
2611
2612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2613 insrdi. Make better use of reg selection to speed exit slightly.
2614 Schedule entry path a little better. Remove useless "are we done"
2615 checks on entry to main loop. Handle wrapping around zero address.
2616 Correct main loop count. Handle single left-over word from main
2617 loop inline rather than by using loop_small. Remove extra word
2618 case in loop_small caused by wrong loop count. Add little-endian
2619 support.
2620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2622 cache hint.
2623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2625 support. Avoid rlwimi.
2626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2627
3be87c77
AM
26282013-10-04 Alan Modra <amodra@gmail.com>
2629
2630 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2631 insrdi. Formatting.
3be87c77
AM
2632 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2635 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2636 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2637 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2638
759cfef3
AM
26392013-10-04 Alan Modra <amodra@gmail.com>
2640
2641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2650 use of regs. Use power7 mtocrf. Tidy function tails.
2651
fe6e95d7
AM
26522013-10-04 Alan Modra <amodra@gmail.com>
2653
2654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2655 Formatting. Consistently use rXXX register defines or rN defines.
2656 Use early exit labels that avoid restoring unused non-volatile regs.
2657 Make cr field use more consistent with rWORDn compares. Rename
2658 regs used as shift registers for unaligned loop, using rN defines
2659 for short lifetime/multiple use regs.
2660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2661 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2662 addi 1,1,64 to pop stack frame. Simplify return value code.
2663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2664
664318c3
AM
26652013-10-04 Alan Modra <amodra@gmail.com>
2666
2667 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2668 support. Correct typos, formatting. Optimize tail. Use insrdi
2669 rather than rlwimi.
2670 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2672 little-endian support. Correct typos.
2673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2674 rather than rlwimi.
2675 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2676 in loop and entry code to keep "and." results.
2677 (strchr): Add little-endian support. Comment. Move cntlzd
2678 earlier in tail.
2679 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2680
43b84013
AM
26812013-10-04 Alan Modra <amodra@gmail.com>
2682
2683 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2684 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2685 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2686 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2687
8a7413f9
AM
26882013-10-04 Alan Modra <amodra@gmail.com>
2689
2690 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2691 (rTMP): Define as r11.
2692 (strcmp): Add little-endian support. Optimise tail.
2693 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2697 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2700
33ee81de
AM
27012013-10-04 Alan Modra <amodra@gmail.com>
2702
2703 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2704 little-endian support. Remove unnecessary "are we done" tests.
2705 Handle "s" wrapping around zero and extremely large "size".
2706 Correct main loop count. Handle single left-over word from main
2707 loop inline rather than by using small_loop. Correct comments.
2708 Delete "zero" tail, use "end_max" instead.
2709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2710
db9b4570
AM
27112013-10-04 Alan Modra <amodra@gmail.com>
2712
2713 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2714 support. Don't branch over align.
2715 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2717 support. Rearrange tmp reg use to suit. Comment.
2718 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2719
f7c399cf
AM
27202013-10-04 Alan Modra <amodra@gmail.com>
2721
2722 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2723
0b2c2ace
AM
27242013-10-04 Alan Modra <amodra@gmail.com>
2725
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2727 conditional form of branch and link when obtaining pc.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2729
02f04a6c
AM
27302013-10-04 Alan Modra <amodra@gmail.com>
2731
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2733 HIWORD/LOWORD.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2736
9b874b2f
AM
27372013-10-04 Alan Modra <amodra@gmail.com>
2738
2739 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2740 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2741 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2743 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2744 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2745 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2748 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2749
be1e5d31
AB
27502013-10-04 Anton Blanchard <anton@au1.ibm.com>
2751 Alistair Popple <alistair@ozlabs.au.ibm.com>
2752 Alan Modra <amodra@gmail.com>
2753
2754 [BZ #15723]
2755 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2756 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2757 _dl_hwcap access for little-endian.
2758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2759 destroy vmx regs when saving unaligned.
2760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2762 destroy vmx regs when saving unaligned.
2763
fef13a78
AM
27642013-10-04 Alan Modra <amodra@gmail.com>
2765
2766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2767 Don't use a union to pack hi/low value.
2768
76a66d51
AB
27692013-10-04 Anton Blanchard <anton@au1.ibm.com>
2770
2771 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2772 for little-endian.
2773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2776 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2778
6a31fe7f
AM
27792013-10-04 Alan Modra <amodra@gmail.com>
2780
2781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2782 constants to usual value for .cst8 section, and remove redundant
2783 high address load.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2785 constant for 0x1p52. Load little-endian words of double from
2786 correct stack offsets.
2787
7b88401f
AM
27882013-10-04 Alan Modra <amodra@gmail.com>
2789
2790 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2791 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2792 words of double from correct stack offsets.
2793 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2794 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2801 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2806 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2807 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2810
9c008155
AM
28112013-10-04 Alan Modra <amodra@gmail.com>
2812
2813 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2814 64-bit int/double union.
2815 (_FPU_SETCW): Likewise.
2816 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2817 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2818
da13146d
AM
28192013-10-04 Alan Modra <amodra@gmail.com>
2820
2821 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2822 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2823
603e8410
AM
28242013-10-04 Alan Modra <amodra@gmail.com>
2825
2826 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2827 use vector int constants.
2828 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2829
4a28b3ca
AB
28302013-10-04 Anton Blanchard <anton@au1.ibm.com>
2831
2832 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2833 array with long long.
2834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2835 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2836 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2837 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2838 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2839 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2840 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2843 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2844 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2845 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2847
2ca85d2b
AB
28482013-10-04 Anton Blanchard <anton@au1.ibm.com>
2849
2850 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2851 (__signbit): Likewise. Correct for little-endian.
2852 (__signbitl): Call __signbit.
2853 (lrint): Correct for little-endian.
2854 (lrintf): Call lrint.
2855
62a728ae
AM
28562013-10-04 Alan Modra <amodra@gmail.com>
2857
2858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2859 union 32-bit int array member with 64-bit int array.
2860 (t515, tm256): Double rather than long double.
2861 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2862
32c301df
AM
28632013-10-04 Alan Modra <amodra@gmail.com>
2864
2865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2866 Delete.
2867 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2869 version of math_ldbl.h.
2870
650ef4bd
AM
28712013-10-04 Alan Modra <amodra@gmail.com>
2872
2873 [BZ #15734], [BZ #15735]
2874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2875 all uses of ieee875 long double macros and unions. Simplify test
2876 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2877 ldbl_extract_mantissa value for ix,iy exponents. Properly
2878 normalize after ldbl_extract_mantissa, and don't add hidden bit
2879 already handled. Don't treat low word of ieee854 mantissa like
2880 low word of IBM long double and mask off bit when testing for
2881 zero.
2882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2883 all uses of ieee875 long double macros and unions. Simplify tests
2884 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2885 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2886 two1022, instead use their values. Recognise that tests for large
2887 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2888 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2889 Rewrite all uses of ieee875 long double macros and unions. Simplify
2890 test for 0.0L and nan. Correct negation.
2891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2892 ieee875 long double macros and unions. Correct output for large
2893 magnitude x. Correct absolute value calculation.
2894 (__erfcl): Likewise.
2895 * math/libm-test.inc: Add tests for errors discovered in IBM long
2896 double versions of fmodl, remainderl, erfl and erfcl.
2897
765714ca
AM
28982013-10-04 Alan Modra <amodra@gmail.com>
2899
2900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2901 all uses of ieee854 long double macros and unions. Simplify tests
2902 for long doubles that are fully specified by the high double.
2903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2904 Likewise.
2905 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2906 Remove dead code too.
2907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2908 (__ieee754_ynl): Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2912 Remove dead code too.
2913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2917 Simplify.
2918 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2919 Simplify.
2920 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2923 Comment on variable precision.
2924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2926 Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2932
4ebd120c
AM
29332013-10-04 Alan Modra <amodra@gmail.com>
2934
2935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2936 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2937 all uses of ieee854 long double macros and unions.
2938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2944 Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2951 Simplify sign and nan test too.
2952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2956 Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2959 Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2966
1b6adf88
AM
29672013-10-04 Alan Modra <amodra@gmail.com>
2968
2969 * stdio-common/printf_size.c (__printf_size): Don't use
2970 union ieee854_long_double in fpnum union.
2971 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2972 signbit macro to retrieve sign from long double.
2973 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2974 retrieve sign from long double.
2975 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2976 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2977 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2978 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2979 * math/test-misc.c (main): Don't use union ieee854_long_double.
2980
4cf69995
AM
29812013-10-04 Alan Modra <amodra@gmail.com>
2982
2983 [BZ #15680]
2984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2986 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2987 calculation. Remove unnecessary test for denormal exponent.
2988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2989 Correct handling of denormals. Avoid undefined shift behaviour.
2990 Correct normalisation of low mantissa when low double is denormal.
2991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2992 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2993 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2994 Correct normalisation of low mantissa. Test for overflow of high
2995 mantissa and normalise.
2996 (ldbl_nearbyint): Use more readable constant for two52.
2997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2998 (__mpn_construct_long_double): Fix test for overflow of high
2999 mantissa and correct normalisation. Avoid undefined shift.
3000
9605ca6c
AM
30012013-10-04 Alan Modra <amodra@gmail.com>
3002
3003 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3004 (union ibm_extended_long_double): Define as an array of ieee754_double.
3005 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3007 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3015 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3016
975569d0
JM
30172013-10-03 Joseph Myers <joseph@codesourcery.com>
3018
d3d23756
JM
3019 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3020 page size instead of calling getpagesize.
3021
975569d0
JM
3022 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3023 (LOCFILE_ALIGN_MASK): Likewise.
3024 (LOCFILE_ALIGN_UP): Likewise.
3025 (LOCFILE_ALIGNED_P): Likewise.
3026 * locale/programs/ld-collate.c (collate_output): Use the new
3027 macros instead of __alignof__ (int32_t).
3028 * locale/weight.h (findidx): Likewise.
3029
b1fe1f2b
OB
30302013-10-03 Ondřej Bílka <neleai@seznam.cz>
3031
3032 [BZ #431]
3033 * manual/string.texi: Fix strncat and wcsncat.
3034
5f855e35
BM
30352013-10-03 Brooks Moses <bmoses@google.com>
3036
3037 [BZ #15915]
3038 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3039 * Makerules: ...here, and adjust associated comments.
3040
3cef6009
WN
30412013-10-02 Will Newton <will.newton@linaro.org>
3042
3043 * malloc/Makefile: Add tst-pvalloc.
3044 * malloc/tst-pvalloc.c: New file.
3045
7815420b
WN
30462013-10-02 Will Newton <will.newton@linaro.org>
3047
3048 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3049 improve test coverage.
3050
4868b204
WN
30512013-10-02 Will Newton <will.newton@linaro.org>
3052
3053 * malloc/Makefile: Add tst-posix_memalign.
3054 * malloc/tst-posix_memalign.c: New file.
3055
29c793b3
EB
30562013-10-01 Eric Blake <eblake@redhat.com>
3057
3058 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3059 Use __THROWNL rather than __THROW on static functions.
3060
fd967522
PM
30612013-09-30 Petr Machata <pmachata@redhat.com>
3062
3063 * elf/elf.h (R_AARCH64_ABS16): New macro.
3064 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3065 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3066 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3067 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3068 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3069 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3070 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3071 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3072 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3073 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3074 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3075 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3076 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3077 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3078 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3079 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3080 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3081 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3082 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3083 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3084 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3085 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3086 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3087 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3088 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3089 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3090 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3091 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3092 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3093 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3094 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3095 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3096 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3097 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3098 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3099 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3101 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3103 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3105 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3107 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3109 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3111 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3113 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3114 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3115 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3116 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3117 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3118 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3119 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3120 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3121 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3122 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3123 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3124 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3126 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3128 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3130 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3132 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3134 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3135 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3136 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3137 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3138 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3139 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3140 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3141 (R_AARCH64_TLSDESC_LDR): Likewise.
3142 (R_AARCH64_TLSDESC_ADD): Likewise.
3143 (R_AARCH64_TLSDESC_CALL): Likewise.
3144
b2179107
AS
31452013-09-30 Andreas Schwab <schwab@suse.de>
3146
3147 [BZ #15048]
3148 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3149 the nss database lookup.
3150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3152
47f28d0a
MF
31532013-09-28 Mike Frysinger <vapier@gentoo.org>
3154
3155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3156
31572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3158
3159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3160 ${Bash-specific parameter/pattern/string} parameter expansion.
3161 * sysdeps/unix/make-syscalls.sh: Likewise.
3162
f4518a17
KK
31632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3164
3165 * sysdeps/sh/stackguard-macros.h: New file.
3166
dc1a95c7
OB
31672013-09-26 Ondřej Bílka <neleai@seznam.cz>
3168
3169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3171 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3174 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3175
5ebbff8f
AZ
31762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
3178 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3179 Fix thread ID register.
3180
4fd2cf9f
JM
31812013-09-25 Joseph Myers <joseph@codesourcery.com>
3182
3183 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3184 [POSIX || UNIX98]: Require rather than permitting all symbols from
3185 <time.h>.
3186 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3187 element of struct sched_param.
3188 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3189 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3190 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3191 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3192 constant.
3193
12c22bc4
OL
31942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3195
3196 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3197 argument calculation.
3198
a03d8ea7
JM
31992013-09-24 Joseph Myers <joseph@codesourcery.com>
3200
3201 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3202 Expect macro.
3203 [POSIX] (pthread_attr_t): Do not require type.
3204 [POSIX] (pthread_cond_t): Likewise.
3205 [POSIX] (pthread_condattr_t): Likewise.
3206 [POSIX] (pthread_key_t): Likewise.
3207 [POSIX] (pthread_mutex_t): Likewise.
3208 [POSIX] (pthread_mutexattr_t): Likewise.
3209 [POSIX] (pthread_once_t): Likewise.
3210 [POSIX] (pthread_t): Likewise.
3211 [POSIX-based standards] (pthread_atfork): Expect function.
3212
6055173a
JM
32132013-09-24 Joseph Myers <joseph@codesourcery.com>
3214 Richard Sandiford <richard@codesourcery.com>
3215
3216 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3217 (swap_endianness_p): New extern variable.
3218 (set_big_endian): New inline function.
3219 (maybe_swap_uint32): Likewise.
3220 (maybe_swap_uint32_array): Likewise.
3221 (maybe_swap_uint32_obstack): Likewise.
3222 * locale/programs/locfile.c: Include <stdbool.h>.
3223 (swap_endianness_p): New variable.
3224 (add_locale_uint32): Call maybe_swap_uint32.
3225 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3226 (write_locale_data): Call maybe_swap_uint32_array.
3227 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3228 maybe_swap_uint32.
3229 (obstack_int32_grow_fast): Likewise.
3230 (output_weightwc): Call maybe_swap_uint32_obstack.
3231 (collate_output): Likewise.
3232 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3233 (OPT_LITTLE_ENDIAN): Likewise.
3234 (options): Add --little-endian and --big-endian options.
3235 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3236 * locale/programs/locarchive.c: Include "locfile.h".
3237 (GET): New macro.
3238 (SET): Likewise.
3239 (INC): Likewise.
3240 (create_archive): Use the new macros to access fields of
3241 structures directly mapped from or written to locale archives.
3242 (oldlocrecentcmp): Likewise.
3243 (enlarge_archive): Likewise.
3244 (insert_name): Likewise.
3245 (add_alias): Likewise.
3246 (add_locale): Likewise.
3247 (delete_locales_from_archive): Likewise.
3248 (show_archive_content): Likewise.
3249 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3250 locale data.
3251
39bf0bb4
RM
32522013-09-24 Roland McGrath <roland@hack.frob.com>
3253
3254 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3255 http://www.gnu.org/doc/freemanuals.texi.
3256 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3257
f02eed10
WN
32582013-09-24 Will Newton <will.newton@linaro.org>
3259
3260 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3261 macro.
3262
a3a6c312
JM
32632013-09-23 Joseph Myers <joseph@codesourcery.com>
3264
3265 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3266 unsigned char.
3267
107375ac
MR
32682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3269
3270 * manual/threads.texi (POSIX Threads): Fix a typo.
3271
141f3a77
SP
32722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
303e567a
SP
3274 [BZ #14547]
3275 * string/tst-strcoll-overflow.c: New test case.
3276 * string/Makefile (xtests): Add tst-strcoll-overflow.
3277 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3278 cache if string sizes may cause integer overflow.
3279
141f3a77
SP
3280 [BZ #14547]
3281 * string/strcoll_l.c (coll_seq): New members rule, idx,
3282 save_idx and back_us.
3283 (get_next_seq_nocache): New function.
3284 (do_compare_nocache): New function.
3285 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3286 when malloc fails.
3287
c61b4d41
CD
32882013-09-23 Carlos O'Donell <carlos@redhat.com>
3289
0b1f8e35
CD
3290 [BZ #15754]
3291 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3292 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3293 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3294
c61b4d41
CD
3295 [BZ #15754]
3296 * elf/Makefile (tests): Add tst-ptrguard1.
3297 (tests-static): Add tst-ptrguard1-static.
3298 (tst-ptrguard1-ARGS): Define.
3299 (tst-ptrguard1-static-ARGS): Define.
3300 * elf/tst-ptrguard1.c: New file.
3301 * elf/tst-ptrguard1-static.c: New file.
3302 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3303 * sysdeps/i386/stackguard-macros.h: Likewise.
3304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3310
33112013-09-23 Hector Marco <hecmargi@upv.es>
3312 Ismael Ripoll <iripoll@disca.upv.es>
3313 Carlos O'Donell <carlos@redhat.com>
3314
3315 [BZ #15754]
3316 * sysdeps/generic/stackguard-macros.h: Define
3317 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3318 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3319 Define __pointer_chk_guard_local.
3320 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3321 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3322
f5f4e7b4
VV
33232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3324
3325 [BZ #15859]
3326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3327
5bb43a43
AS
33282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3329
3330 * include/string.h (__ffs): Declare as hidden.
3331 * string/ffs.c (__ffs): Define as hidden.
3332 * sysdeps/i386/ffs.c (__ffs): Likewise.
3333 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3334 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3335 * sysdeps/s390/ffs.c (__ffs): Likewise.
3336 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3337
3ea5be54
AO
33382013-09-20 Alexandre Oliva <aoliva@redhat.com>
3339
ffb89e53
AO
3340 * NEWS: Mention malloc probes.
3341
322dea08
AO
3342 * malloc/arena.c (new_heap): New memory_heap_new probe.
3343 (grow_heap): New memory_heap_more probe.
3344 (shrink_heap): New memory_heap_less probe.
3345 (heap_trim): New memory_heap_free probe.
3346 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3347 (systrim): New memory_sbrk_less probe.
3348 * manual/probes.texi: Document them.
3349
655673f3
AO
3350 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3351 * manual/probes.texi: Document it.
3352
35fed6f1
AO
3353 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3354 (__libc_realloc): Add memory_realloc_retry probe.
3355 (__libc_memalign): Add memory_memalign_retry probe.
3356 (__libc_valloc): Add memory_valloc_retry probe.
3357 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3358 (__libc_calloc): Add memory_calloc_retry probe.
3359 * manual/probes.texi: Document them.
3360
6999d38c
AO
3361 * malloc/arena.c (get_free_list): Add probe
3362 memory_arena_reuse_free_list.
3363 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3364 and memory_arena_reuse.
3365 (arena_get2) [!PER_THREAD]: Likewise.
3366 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3367 memory_arena_reuse_realloc.
3368 * manual/probes.texi: Document them.
3369
0653427f
AO
3370 * malloc/malloc.c (__libc_free): Add
3371 memory_mallopt_free_dyn_thresholds probe.
3372 (__libc_mallopt): Add multiple memory_mallopt probes.
3373 * manual/probes.texi: Document them.
3374
3ea5be54
AO
3375 * malloc/malloc.c: Include stap-probe.h.
3376 (__libc_mallopt): Add memory_mallopt probe.
3377 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3378 * manual/probes.texi: New.
3379 * manual/Makefile (chapters): Add probes.
3380 * manual/threads.texi: Set next node.
3381
e35696c3 33822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3383
e35696c3
CL
3384 [BZ #15963, #13985]
3385 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3386 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3387 Add `Chinese' to `nan' entry name.
3388
4aafb73c
SP
33892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
3391 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3392 (POLYNOMIAL): Likewise.
3393 (TAYLOR_SINCOS): Likewise.
3394 (TAYLOR_SLOW): Likewise.
3395 (__sin): Use TAYLOR_SINCOS.
3396 (__cos): Likewise.
3397 (slow): Use TAYLOR_SLOW.
3398 (sloww): Likewise.
3399 (bsloww): Likewise.
3400 (csloww): Likewise.
3401
d84f25c7
LD
34022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3403
3404 * stdlib/strtod_l.c: Fix buffer overrun.
3405
5eea0404
SP
34062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3407
7849ff93
SP
3408 * benchtests/Makefile (bench): Add sincos.
3409 * benchtests/bench-sincos.c: New file.
3410
cfa3c886
SP
3411 * math/libm-test.inc (cos_test_data): New test inputs.
3412 (sin_test_data): Likewise.
3413
b348e1e3
SP
3414 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3415 macro.
3416 (__sin): Use it.
3417 (__cos): Likewise.
3418 (slow1): Likewise.
3419 (slow2): Likewise.
3420 (sloww1): Likewise.
3421 (sloww2): Likewise.
3422 (bsloww1): Likewise.
3423 (bsloww2): Likewise.
3424 (cslow2): Likewise.
3425 (csloww1): Likewise.
3426 (csloww2): Likewise.
3427
6cce25f8
SP
3428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3429 function.
3430 (__sin): Use it.
3431 (__cos): Likewise.
3432
5eea0404
SP
3433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3434 gotos.
3435 (__cos): Likewise.
3436
9c21573c
MR
34372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3438
3439 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3440 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3441 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3442 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3443 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3444 * elf/cache.c (print_entry): Handle the new cache flags.
3445
24d22e65
JM
34462013-09-18 Joseph Myers <joseph@codesourcery.com>
3447 Aldy Hernandez <aldyh@redhat.com>
3448
3449 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3450 Change condition to [_SOFT_FLOAT].
3451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3463 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3466 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3467 declaration.
3468
d13ef066
JM
34692013-09-18 Joseph Myers <joseph@codesourcery.com>
3470
2e071de0
JM
3471 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3472 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3473 (__longjmp): Use LOAD_GP to load saved GPRs.
3474 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3475 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3476 (__sigsetjmp): Use SAVE_GP to save GPRs.
3477
d13ef066
JM
3478 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3479 Do not append -msoft-float.
3480 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3481
97a0650b
SP
34822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3483
3484 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3485
11ca09e9
JM
34862013-09-17 Joseph Myers <joseph@codesourcery.com>
3487
3488 [BZ #15966]
3489 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3490 (_FPU_GETCW): Use initial "__" on variable and field names but not
3491 on macro parameter name.
3492 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3493 parentheses around reference to macro parameter.
3494
08ffcf34
RS
34952013-09-13 Richard Sandiford <richard@codesourcery.com>
3496
3497 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3498 prototype.
3499 (ctype_startup): Use uint32_t in cast and sizeof for
3500 ctype->charnames.
3501
ae7080d3
JL
35022013-09-11 Jia Liu <proljc@gmail.com>
3503
3504 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3505 __daddr_t_defined.
3506 [__FreeBSD__]: Likewise.
3507
5905e7b3
OB
35082013-09-11 Ondřej Bílka <neleai@seznam.cz>
3509
3510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3511 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3512 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3513 (strchr): Remove __strchr_sse42 ifunc selection.
3514 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3515 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3516
b987c776
WN
35172013-09-11 Will Newton <will.newton@linaro.org>
3518
3519 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3520 parameter to RES. Remove hardcoded 1000 value.
3521 * benchtests/bench-skeleton.c (main): Pass RES parameter
3522 to TIMING_INIT and multiply result by 1000.
3523
ddf985af
AZ
35242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3527
ffdd3181
AS
35282013-09-11 Andreas Schwab <schwab@suse.de>
3529
3530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3531 if not defined.
3532 (O_TMPFILE) [__USE_GNU]: Define.
3533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3534 Define.
3535
b73ed247
WN
35362013-09-11 Will Newton <will.newton@linaro.org>
3537
3538 [BZ #15857]
3539 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3540 does not overflow.
3541
55e17aad
WN
35422013-09-11 Will Newton <will.newton@linaro.org>
3543
3544 [BZ #15856]
3545 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3546 does not overflow.
3547
1159a193
WN
35482013-09-11 Will Newton <will.newton@linaro.org>
3549
3550 [BZ #15855]
3551 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3552 does not overflow.
3553
5905e7b3 35542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3555
3556 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3561
cdfc721b
AM
35622013-09-10 Allan McRae <allan@archlinux.org>
3563
aa04af00
AM
3564 [BZ #15748]
3565 * manual/arith.texi (Parsing of Floats): Clarify
3566 cross-reference.
3567
cdfc721b
AM
3568 [BZ #15849]
3569 * manual/install.texi (Running make install): Mention
3570 --enable-pt-chown.
3571 * INSTALL: Regenerated.
3572
95e7cf29
MR
35732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3574
3575 * csu/init-first.c (_init): Remove the !SHARED condition around
3576 FPU control word initialization.
3577 * elf/dl-support.c (_dl_fpu_control): New variable.
3578 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3579 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3580 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3581 * math/test-fpucw-static.c: New file.
3582 * math/test-fpucw-ieee.c: New file.
3583 * math/test-fpucw-ieee-static.c: New file.
3584 * math/Makefile (tests): Add `test-fpucw-ieee' and
3585 `$(tests-static)'.
3586 (tests-static): New variable.
3587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3588 dependency to...
3589 [($(build-shared),yes)]
3590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3591 ... this.
3592 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3593 New dependency.
3594
83e43bf0
AM
35952013-09-09 Allan McRae <allan@archlinux.org>
3596
a9f5ce09
AM
3597 [BZ #15939]
3598 * manual/string.texi (Collation Functions): Fix typo in
3599 strcoll example.
3600 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3601
34829bc2
AM
3602 [BZ #15893]
3603 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3604
3932737d
AM
3605 [BZ #15892]
3606 * libio/memstream.c (open_memstream): Fix memory leak.
3607 * libio/wmemstream.c (open_wmemstream): Likewise.
3608
83e43bf0
AM
3609 [BZ #15895]
3610 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3611
0c66b8e9
WN
36122013-09-09 Will Newton <will.newton@linaro.org>
3613
3614 * malloc/Makefile: Add tst-realloc to tests.
3615 * malloc/tst-realloc.c: New file.
3616
f6b00fd1
AM
36172013-09-09 Allan McRae <allan@archlinux.org>
3618
3619 [BZ #15844]
3620 * COPYING: Update from GNU website to fix FSF address.
3621 * COPYING.LIB: Likewise.
3622
eec55e16
DM
36232013-09-06 David S. Miller <davem@davemloft.net>
3624
3625 * po/zh_TW.po: Update Chinese (traditional) translation from
3626 translation project.
3627
1ecbb381
RS
36282013-09-06 Richard Sandiford <richard@codesourcery.com>
3629 Joseph Myers <joseph@codesourcery.com>
3630
3631 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3632 "localeinfo.h".
3633 (obstack_chunk_alloc): New macro.
3634 (obstack_chunk_free): Likewise.
3635 (record_offset): New function.
3636 (init_locale_data): Likewise.
3637 (align_locale_data): Likewise.
3638 (add_locale_empty): Likewise.
3639 (add_locale_raw_data): Likewise.
3640 (add_locale_raw_obstack): Likewise.
3641 (add_locale_string): Likewise.
3642 (add_locale_wstring): Likewise.
3643 (add_locale_uint32): Likewise.
3644 (add_locale_uint32_array): Likewise.
3645 (add_locale_char): Likewise.
3646 (start_locale_structure): Likewise.
3647 (end_locale_structure): Likewise.
3648 (start_locale_prelude): Likewise.
3649 (end_locale_prelude): Likewise.
3650 (write_locale_data): Take locale_file structure rather than an
3651 iovec.
3652 * locale/programs/locfile.h: Include "obstack.h".
3653 (struct locale_file): Change to store locale file contents instead
3654 of header.
3655 (init_locale_data): New prototype.
3656 (align_locale_data): Likewise.
3657 (add_locale_empty): Likewise.
3658 (add_locale_raw_data): Likewise.
3659 (add_locale_raw_obstack): Likewise.
3660 (add_locale_string): Likewise.
3661 (add_locale_wstring): Likewise.
3662 (add_locale_uint32): Likewise.
3663 (add_locale_uint32_array): Likewise.
3664 (add_locale_char): Likewise.
3665 (start_locale_structure): Likewise.
3666 (end_locale_structure): Likewise.
3667 (start_locale_prelude): Likewise.
3668 (end_locale_prelude): Likewise.
3669 (write_locale_data): Update prototype.
3670 * locale/programs/3level.h (struct TABLE): Remove result field.
3671 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3672 Use new locale_file interface.
3673 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3674 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3675 * locale/programs/ld-address.c (address_output): Use new
3676 locale_file interface.
3677 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3678 NO_ADD_LOCALE.
3679 (collate_finish): Don't call collseq_table_finalize.
3680 (collate_output): Use new locale_file interface.
3681 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3682 in file.
3683 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3684 (TABLE): Move defines earlier in file.
3685 (ELEMENT): Likewise.
3686 (DEFAULT): Likewise.
3687 (wctrans_table_add): Move macro and inline function earlier in
3688 file.
3689 (struct wctype_table): Move type earlier in file.
3690 (add_locale_wctype_table): New static prototype.
3691 (struct locale_ctype_t): Use logical types instead of struct iovec
3692 pointers for members.
3693 (ctype_output): Use new locale_file interface.
3694 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3695 new locale_file interface.
3696 (allocate_arrays): Update for use of new locale_file interface.
3697 * locale/programs/ld-identification.c (identification_output): Use
3698 new locale_file interface.
3699 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3700 * locale/programs/ld-messages.c (messages_output): Likewise.
3701 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3702 * locale/programs/ld-name.c (name_output): Likewise.
3703 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3704 * locale/programs/ld-paper.c (paper_output): Likewise.
3705 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3706 * locale/programs/ld-time.c (time_output): Likewise.
3707
e029e2e5
AZ
37082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709
3710 * benchtests/Makefile: Add memrchr benchmark.
3711 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3712 benchmark as memrchr.
3713 * benchtests/bench-memrchr-ifunc.c: New file.
3714 * benchtests/bench-memrchr.c: New file.
3715
bbf6e8e4
WN
37162013-09-06 Will Newton <will.newton@linaro.org>
3717
3718 * benchtests/Makefile (string-bench): Add memcpy.
3719
6c82a2f8
CD
37202013-09-05 Carlos O'Donell <carlos@redhat.com>
3721 Cong Wang <amwang@redhat.com>
3722
3723 * sysdeps/unix/sysv/linux/bits/in.h
3724 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3725 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3726 before __USE_KERNEL_IPV6_DEFS uses.
3727 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3728 IPPROTO_BEETPH.
3729 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3730 sockaddr_in6, or ipv6_mreq.
3731
5430fc65
AZ
37322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3733
3734 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3735 memory access for final bytes in some large inputs.
3736 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3737
4660856c
AZ
37382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739
3740 * string/test-memrchr.c: New file.
3741 * string/test-memrchr-ifunc.c: New file.
3742 * string/Makefile: Add new memrchr testcase.
3743
bb8ea713
MF
37442013-09-05 Mike Frysinger <vapier@gentoo.org>
3745
3746 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3747 fanotify_init returns EPERM.
3748
b92a20b5
JM
37492013-09-04 Joseph Myers <joseph@codesourcery.com>
3750
3751 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3752 errors.
3753 (top level): Treat second token from macro or constant entries for
3754 allowed headers as allowed.
3755 * include/complex.h: Condition internal declarations on
3756 [!_ISOMAC].
3757 * include/fenv.h: Condition include of <stdbool.h> and internal
3758 declarations on [!_ISOMAC].
7447ccd9
CL
3759
37602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3761
3e181dda 3762 [BZ #15923]
7447ccd9
CL
3763 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3764
3f2e46a4
JM
37652013-09-04 Joseph Myers <joseph@codesourcery.com>
3766
3767 * configure.in (--enable-versioning): Remove configure option.
3768 (libc_cv_asm_symver_directive): Remove configure test.
3769 (libc_cv_ld_version_script_option): Likewise.
3770 (VERSIONING): Remove variable and AC_SUBST.
3771 (DO_VERSIONING): Remove AC_DEFINE.
3772 * configure: Regenerated.
3773 * config.h.in (DO_VERSIONING): Remove macro.
3774 * Makerules [$(versioning) = yes]: Change conditionals to
3775 [$(build-shared) = yes].
3776 * config.make.in (versioning): Remove variable.
3777 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3778 [$(build-shared) = yes].
3779 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3780 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3781 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3782 [$(build-shared) = yes].
3783 * extra-lib.mk [$(versioning) = yes]: Likewise.
3784 * hurd/Makefile [$(versioning) = yes]: Likewise.
3785 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3786 [SHARED].
3787 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3788 [SHARED].
3789 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3790 [SHARED && !NO_HIDDEN].
3791 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3792 [SHARED].
3793 [SHARED && DO_VERSIONING]: Likewise..
3794 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3795 [$(build-shared) = yes].
3796 * manual/install.texi (--disable-versioning): Remove
3797 documentation.
3798 * INSTALL: Regenerated.
3799 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3800 to [SHARED].
3801 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3802 [$(build-shared) = yes].
3803 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3804 * sysdeps/i386/i686/multiarch/strstr-c.c
3805 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3806 [SHARED && !NO_HIDDEN].
3807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3808 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3809 * sysdeps/powerpc/powerpc32/dl-machine.c
3810 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3811 * sysdeps/powerpc/powerpc32/sysdep.h
3812 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3813 to [SHARED && PIC && !NO_HIDDEN].
3814 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3815 conditional to [SHARED].
3816
44558701
WN
38172013-09-04 Will Newton <will.newton@linaro.org>
3818
3819 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3820 * benchtests/bench-string.h: Include bench-timing.h instead
3821 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3822 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3823 call to HP_TIMING_DIFF_INIT.
3824 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3825 instead of hp-timing.h macros.
3826 * benchtests/bench-memchr.c: Likewise.
3827 * benchtests/bench-memcmp.c: Likewise.
3828 * benchtests/bench-memcpy.c: Likewise.
3829 * benchtests/bench-memmem.c: Likewise.
3830 * benchtests/bench-memmove.c: Likewise.
3831 * benchtests/bench-memset.c: Likewise.
3832 * benchtests/bench-rawmemchr.c: Likewise.
3833 * benchtests/bench-strcasecmp.c: Likewise.
3834 * benchtests/bench-strcasestr.c: Likewise.
3835 * benchtests/bench-strcat.c: Likewise.
3836 * benchtests/bench-strchr.c: Likewise.
3837 * benchtests/bench-strcmp.c: Likewise.
3838 * benchtests/bench-strcpy.c: Likewise.
3839 * benchtests/bench-strcpy_chk.c: Likewise.
3840 * benchtests/bench-strlen.c: Likewise.
3841 * benchtests/bench-strncasecmp.c: Likewise.
3842 * benchtests/bench-strncat.c: Likewise.
3843 * benchtests/bench-strncmp.c: Likewise.
3844 * benchtests/bench-strncpy.c: Likewise.
3845 * benchtests/bench-strnlen.c: Likewise.
3846 * benchtests/bench-strpbrk.c: Likewise.
3847 * benchtests/bench-strrchr.c: Likewise.
3848 * benchtests/bench-strspn.c: Likewise.
3849 * benchtests/bench-strstr.c: Likewise.
3850
cae16d66
WN
38512013-09-04 Will Newton <will.newton@linaro.org>
3852
3853 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3854
ffa3cd7f
JM
38552013-09-03 Joseph Myers <joseph@codesourcery.com>
3856
3857 [BZ #15427]
3858 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3859 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3860 * math/libm-test.inc (lgamma_test_data): Add more tests.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863
8f02859f
OB
38642013-09-03 Ondřej Bílka <neleai@seznam.cz>
3865
3866 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3868 Add ifunc.
3869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3870 Add strcmp-sse2-unaligned
3871 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3872
18d43716
MF
38732013-09-02 Mike Frysinger <vapier@gentoo.org>
3874
3875 * Versions.def (libc): Add GLIBC_2.19.
3876
ac444012
MF
38772013-09-02 Mike Frysinger <vapier@gentoo.org>
3878
3879 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3880 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3881
b7835e32
JM
38822013-09-02 Joseph Myers <joseph@codesourcery.com>
3883
3884 [BZ #14155]
3885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3886 intermediate calculations in recurrence.
3887 (__ieee754_ynf): Likewise.
3888 * math/libm-test.inc (jn_test_data): Do not allow spurious
3889 underflow exception. Add more tests.
3890 (yn_test_data): Add more tests.
3891 * sysdeps/i386/fpu/libm-test-ulps: Update.
3892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3893
8220f4f0
OB
38942013-09-02 Ondřej Bílka <neleai@seznam.cz>
3895
3896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3897
f24a6d08
OB
38982013-08-30 Ondřej Bílka <neleai@seznam.cz>
3899
3900 * csu/init-first.c: Fix then/than typos.
3901 * locale/programs/ld-collate.c: Likewise.
3902 * locale/programs/linereader.h: Likewise.
3903 * manual/charset.texi: Likewise.
3904 * manual/filesys.texi: Likewise.
3905 * manual/stdio.texi: Likewise.
3906 * manual/string.texi: Likewise.
3907 * stdlib/fmtmsg.c: Likewise.
3908 * sysdeps/i386/stpncpy.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3913
382466e0
OB
39142013-08-30 Ondřej Bílka <neleai@seznam.cz>
3915
3916 * elf/dl-open.c: Fix typos.
3917 * iconvdata/gbbig5.c: Likewise.
3918 * iconvdata/iso-2022-jp.c: Likewise.
3919 * iconv/gconv_int.h: Likewise.
3920 * iconv/loop.c: Likewise.
3921 * nis/rpcsvc/nis.h: Likewise.
3922 * resolv/ns_name.c: Likewise.
3923 * stdio-common/vfscanf.c: Likewise.
3924 * streams/stropts.h: Likewise.
3925 * sunrpc/rpc_thread.c: Likewise.
3926 * sysdeps/i386/strpbrk.S: Likewise.
3927 * sysdeps/ieee754/k_standard.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3930 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3931 * sysdeps/mach/hurd/profil.c: Likewise.
3932 * sysdeps/s390/dl-procinfo.h: Likewise.
3933 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3935 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3936 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3938
0186c6e9
OB
39392013-08-30 Ondřej Bílka <neleai@seznam.cz>
3940
3941 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3943
d4e16af1
OB
39442013-08-29 Ondřej Bílka <neleai@seznam.cz>
3945
3946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3947 aix specific files.
3948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3955 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3956
88335980
TS
39572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3958 Roland McGrath <roland@hack.frob.com>
3959
3960 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3961 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3962
ed479b02
ST
39632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3964
3965 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3966 __executable_start symbol instead of _start.
3967
f1cc4c86
TS
39682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3969
d821f07c
TS
3970 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3971 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3972 Move macros to...
3973 * sysdeps/gnu/ldsodefs.h: ... this new file.
3974
c54290cf
TS
3975 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3976 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3977 instead of ELFOSABI_LINUX.
3978
0007fc9b 3979 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3980 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3981 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3982 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3983 Likewise.
3984 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3985 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3987 Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3989 (ibm_extended_long_double): Add ieee_nan member.
3990 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3991 (do_test): New function.
3992
f1cc4c86
TS
3993 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3994 TEST_TRUNC.
3995 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3996 functions, renamed from truncdfsf_test, trunctfsf_test,
3997 trunctfdf_test.
3998 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3999 functions.
4000 (do_test): Run all these.
4001
6f65e668
OB
40022013-08-29 Ondřej Bílka <neleai@seznam.cz>
4003
4004 * argp/argp-help.c: Fix typos.
4005 * argp/argp-parse.c: Likewise.
4006 * debug/backtracesyms.c: Likewise.
4007 * elf/elf.h: Likewise.
4008 * malloc/malloc.c: Likewise.
4009 * nis/nis_print.c: Likewise.
4010 * resolv/res_comp.c: Likewise.
4011 * stdlib/stdlib.h: Likewise.
4012 * sunrpc/clnt_tcp.c: Likewise.
4013 * sunrpc/clnt_udp.c: Likewise.
4014 * sunrpc/clnt_unix.c: Likewise.
4015 * sysdeps/unix/bsd/ptsname.c: Likewise.
4016 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4019 Likewise.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4021 Likewise.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4023 Likewise.
6f65e668
OB
4024 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4025
3a309239
SP
40262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
4028 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4030
3b813b29
MF
40312013-08-27 Mike Frysinger <vapier@gentoo.org>
4032
4033 [BZ #15897]
4034 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4035 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4036 ($(objpfx)bug-dl-leaf): New rule.
4037 ($(objpfx)bug-dl-leaf.so): Likewise.
4038 ($(objpfx)bug-dl-leaf.out): Likewise.
4039 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4040 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4041 * dlfcn/bug-dl-leaf.c: New test.
4042 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4043 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4044 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4045 (dlclose): Likewise.
4046 (dlmopen): Likewise.
4047
8cc3269f
RM
40482013-08-27 Roland McGrath <roland@hack.frob.com>
4049
7f9d0034
RM
4050 * include/netdb.h [!_ISOMAC]:
4051 Don't include <tls.h>.
4052 (h_errno, __libc_h_errno): Move declaration and macros out of
4053 [_LIBC_REENTRANT].
4054
fb431262
RM
4055 * include/resolv.h [_RESOLV_H_]:
4056 Don't include <tls.h>.
4057 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4058 * resolv/res_libc.c: Don't include <tls.h>.
4059 (_res): Use __attribute__ ((nocommon)) in place of
4060 __attribute__ ((section (".bss"))).
4061
bd81123a
RM
4062 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4063 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4064
c4e42566
RM
4065 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4066
f890a59b
RM
4067 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4068 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4069
4070 * resolv/res_mkquery.c: Include <sys/time.h>.
4071
5d1f0a09
RM
4072 * inet/ifreq.c: Moved to ...
4073 * sysdeps/unix/ifreq.c: ... here.
4074 * inet/ifreq.c: New file, true stub version.
4075
6fcf28b3
RM
4076 * socket/sa_len.c: New file.
4077 * socket/Makefile (aux): Add it.
4078 * sysdeps/unix/sysv/linux/Makefile
4079 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4080 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4081 and #include <socket/sa_len.c>.
4082 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4083 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4084
e041fb8b
RM
4085 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4086 * bits/socket.h: ... here.
4087
8cc3269f
RM
4088 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4089 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4090 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4091
5d228a43
AS
40922013-08-27 Andreas Schwab <schwab@suse.de>
4093
45b8accc
AS
4094 [BZ #15736]
4095 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4096 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4097 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4098 * string/test-strcasecmp.c (test_main): Run tests in several
4099 locales.
4100 * string/test-strncasecmp.c (test_main): Likewise.
4101
5d228a43
AS
4102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4103 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4104 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4106 (__strncasecmp_ssse3) [PIC]: Likewise.
4107
59d112a4
RM
41082013-08-26 Roland McGrath <roland@hack.frob.com>
4109
53234cc3
RM
4110 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4111
59d112a4
RM
4112 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4113 instead of explicitly declaring xdecrypt.
4114 * nis/nss_nis/nis-publickey.c: Likewise.
4115
595aba70
SP
41162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4117
4118 [BZ #15890]
4119 * nscd/aicache.c: Include res_hconf.h.
4120 (addhstaiX): Initialize res_hconf.
4121
ffabd393
AS
41222013-08-26 Andreas Schwab <schwab@suse.de>
4123
4124 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4125 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4126
e0a69f5c
SP
41272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4128
4129 * nscd/aicache.c (addhstaiX): Fix indentation.
4130
8c12f01d
MF
41312013-08-25 Mike Frysinger <vapier@gentoo.org>
4132
4133 * configure.ac: Quote $build_pt_chown test.
4134 * configure: Regenerated.
4135
8fe89494
JM
41362013-08-23 Joseph Myers <joseph@codesourcery.com>
4137
4138 [BZ #15532]
4139 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4140 * math/s_cexpf.c (__cexpf): Likewise.
4141 * math/s_cexpl.c (__cexpl): Likewise.
4142 * math/libm-test.inc (cexp_test_data): Correct expected return
4143 value for NaN + i0. Add another test.
4144
75b181d6
DM
41452013-08-22 David S. Miller <davem@davemloft.net>
4146
4147 * po/ca.po: Update Catalan translation from translation project.
936241e4 4148 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4149
acd06bb1
JM
41502013-08-21 Joseph Myers <joseph@codesourcery.com>
4151
4152 [BZ #15797]
4153 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4154 is infinite, not alongside NaN test.
4155 * math/s_fdimf.c (__fdimf): Likewise.
4156 * math/s_fdiml.c (__fdiml): Likewise.
4157 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4158 errno is unchanged.
4159
c0c3f78a
OB
41602013-08-21 Ondřej Bílka <neleai@seznam.cz>
4161
4162 * argp/argp-help.c: Fix typos.
4163 * crypt/speeds.c: Likewise.
4164 * csu/check_fds.c: Likewise.
4165 * elf/dl-load.c: Likewise.
4166 * elf/dl-open.c: Likewise.
4167 * elf/reldep3.c: Likewise.
4168 * elf/reldep.c: Likewise.
4169 * elf/sprof.c: Likewise.
4170 * iconv/iconv_charmap.c: Likewise.
4171 * iconv/skeleton.c: Likewise.
4172 * iconv/strtab.c: Likewise.
4173 * io/lockf64.c: Likewise.
4174 * libio/libioP.h: Likewise.
4175 * resolv/gai_notify.c: Likewise.
4176 * resolv/ns_name.c: Likewise.
4177 * resolv/ns_samedomain.c: Likewise.
4178 * resolv/res_send.c: Likewise.
4179 * stdlib/random.c: Likewise.
4180 * sunrpc/rpc/xdr.h: Likewise.
4181 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4189 * sysdeps/mach/hurd/check_fds.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4191 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4192 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4193 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4194 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4195 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4196 * sysdeps/pthread/aio_notify.c: Likewise.
4197 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4198 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4199 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4201 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4202
46ed1038
LD
42032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4204
4205 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4206 version if bit_Slow_SSE4_2 is set.
4207 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4209
d400dcac
AZ
42102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4211
4212 [BZ #15867]
4213 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4214 trampoline stack frame information.
4215 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4217 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4218 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4219 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4220 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4221 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4222 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4223 sa_flags value.
4224 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4225 interrupting a syscall and set with option SA_SIGINFO.
4226
42c8fdd8
JM
42272013-08-20 Joseph Myers <joseph@codesourcery.com>
4228
c980f2f4
JM
4229 [BZ #15531]
4230 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4231 argument is infinite.
4232 * math/s_cprojf.c (__cprojf): Likewise.
4233 * math/s_cprojl.c (__cprojl): Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4235 * math/libm-test.inc (cproj_test_data): Add more tests.
4236
0716c4fc
JM
4237 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4238
42c8fdd8
JM
4239 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4240 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4241 size. Use __ffs to determine corresponding shift.
4242
b31469d0
JM
42432013-08-20 Joseph Myers <joseph@codesourcery.com>
4244 Roland McGrath <roland@hack.frob.com>
4245
4246 * Makefile (INSTALL): Remove trailing blank lines from output of
4247 makeinfo.
4248
4e39af6e
AK
42492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4250
4251 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4252 Align 32 bit compat elf_greg to 8 bytes.
4253
f315524e
AA
42542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4255
4256 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4257
1326ba1a
SP
42582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4259
4260 * string/strcoll_l.c (coll_seq): New structure.
4261 (get_next_seq_cached): New function.
4262 (get_next_seq): New function.
4263 (do_compare): New function.
4264 (STRCOLL): Use GNU style definition. Simplify implementation
4265 by using get_next_seq, get_next_seq_cached and do_compare.
4266
91ce4085
FW
42672013-08-16 Florian Weimer <fweimer@redhat.com>
4268
4269 [BZ #14699]
4270 CVE-2013-4237
4271 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4272 member.
4273 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4274 member.
4275 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4276 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4277 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4278 conditional.
4279 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4280 GETDENTS_64BIT_ALIGNED.
4281 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4282 * manual/filesys.texi (Reading/Closing Directory): Document
4283 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4284 strongly.
4285 * manual/conf.texi (Limits for Files): Add portability note to
4286 NAME_MAX, PATH_MAX.
4287 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4288
ca0a6bc4
AS
42892013-08-13 Andreas Schwab <schwab@suse.de>
4290
4291 [BZ #15749]
4292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4293 of fabs.
4294 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4295 LDBL_MAX_EXP >= 16384]: Add tests for it.
4296
6c1fd795
DM
42972013-08-12 David S. Miller <davem@davemloft.net>
4298
4299 * version.h (RELEASE): Set to "development".
4300 (VERSION): Set to "2.18.90".
4301 * NEWS: Add 2.19 section.
4302
31ad488d
DM
43032013-08-03 David S. Miller <davem@davemloft.net>
4304
4305 * po/ko.po: Update Korean translation from translation project.
4306
db24e684
DM
43072013-08-01 David S. Miller <davem@davemloft.net>
4308
4309 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4310 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4311 Bilka.
4312
f723285b
DM
43132013-07-30 David S. Miller <davem@davemloft.net>
4314
4315 * po/fr.po: Update French translation from translation project.
4316
3cbc52db
DM
43172013-07-28 David S. Miller <davem@davemloft.net>
4318
30bbc0cc
DM
4319 * po/cs.po: Update Czech translation from translation project.
4320
3cbc52db
DM
4321 * po/sv.po: Update Swedish translation from translation project.
4322
d492e6d0
DM
43232013-07-27 David S. Miller <davem@davemloft.net>
4324
f1a7f492
DM
4325 * po/eo.po: Update Esperanto translation from translation project.
4326
90e62a4a
DM
4327 * po/vi.po: Update Vietnamese translation from translation project.
4328
d492e6d0
DM
4329 * po/de.po: Update German translation from translation project.
4330
d4baa62d
DM
43312013-07-26 David S. Miller <davem@davemloft.net>
4332
641aa7b4
DM
4333 * po/bg.po: Update Bulgarian translation from translation project.
4334
d4baa62d
DM
4335 * po/nl.po: Update Dutch translation from translation project.
4336 * po/pl.po: Update Polish translation from translation project.
4337 * po/ru.po: Update Russian translation from translation project.
4338
61a9dcb9
DM
43392013-07-24 David S. Miller <davem@davemloft.net>
4340
4341 * po/libc.pot: Update.
4342
7b1f8b58
AZ
43432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344
4345 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4346 variable page size.
4347 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4348 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4349 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4350
a8fc7a03
AK
43512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4352
4353 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4354
e4608715
CD
43552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4356 Andreas Schwab <schwab@suse.de>
4357 Roland McGrath <roland@hack.frob.com>
4358 Joseph Myers <joseph@codesourcery.com>
4359 Carlos O'Donell <carlos@redhat.com>
4360
4361 [BZ #15755]
4362 * config.h.in: Define HAVE_PT_CHOWN.
4363 * config.make.in (build-pt-chown): New variable.
4364 * configure.in (--enable-pt_chown): New configure option.
4365 * configure: Regenerate.
4366 * login/Makefile: Include Makeconfig. Build pt_chown only if
4367 build-pt-chown is enabled.
4368 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4369 pt_chown to fix pty ownership.
4370 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4371 CLOSE_ALL_FDS.
4372 * manual/install.texi (Configuring and compiling): Mention
4373 --enable-pt_chown. Add @findex for grantpt.
4374 * INSTALL: Regenerate.
4375
da2d62df
DM
43762013-07-20 David S. Miller <davem@davemloft.net>
4377
4378 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4379 difference between 32-bit and 64-bit.
4380
d7e06450
CD
43812013-07-15 Carlos O'Donell <carlos@redhat.com>
4382
4383 [BZ #15711]
4384 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4385 Avoid system header dependency with -ffreestanding.
4386 ($(objpfx)bits/syscall%d): Likewise.
4387
f959cfd7
DM
43882013-07-13 David S. Miller <davem@davemloft.net>
4389
4390 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4391 underflows from atanl/atan2l due to bug 15319.
4392 (casinh_test_data): Likewise.
4393
c61f8513
DM
43942013-07-07 David S. Miller <davem@davemloft.net>
4395
4396 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4397
72c90ed0
JA
43982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4399
4400 * sysdeps/i386/fpu/libm-test-ulps: Update.
4401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4402
52dfbe13
SP
44032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4404
4405 * configure.in (--enable-lock-elision): Fix message text.
4406 * INSTALL: Regenerate.
4407 * configure: Regenerate.
4408
3f169543
AZ
44092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4410
4411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4412
521c6785
AJ
44132013-07-03 Andreas Jaeger <aj@suse.de>
4414
4415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4416 define.
4417 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4418 (ptrace_peeksiginfo_args): Add.
4419 (__ptrace_peeksiginfo_flags): Add.
4420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4423
d2cc15cb
AM
44242013-07-03 Allan McRae <allan@archlinux.org>
4425
4426 * sysdeps/i386/fpu/libm-test-ulps: Update.
4427
3aaeeca7
DM
44282013-07-02 David S. Miller <davem@davemloft.net>
4429
4430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4431
5314ed1a
MT
44322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4433
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4435
67338156
JM
44362013-07-02 Joseph Myers <joseph@codesourcery.com>
4437
4438 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440
1717da59
AK
44412013-07-02 Andi Kleen <ak@linux.intel.com>
4442
4443 * config.h.in (ENABLE_LOCK_ELISION): Add.
4444 * configure.in (--enable-lock-elision): Add option.
4445 * manual/install.texi: Document --enable lock elision.
4446 * configure: Regenerate
4447 * INSTALL: Regenerate.
4448
1c81621c
L
44492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4452 SSE4.2 strcasecmp for libc.a.
4453 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4454
77f01ab5
JM
44552013-07-02 Joseph Myers <joseph@codesourcery.com>
4456
4457 [BZ #13304]
4458 * soft-fp/op-common.h (_FP_FMA): New macro.
4459 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4460 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4461 (_FP_MUL_MEAT_1_imm): ... here.
4462 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4463 (_FP_MUL_MEAT_1_wide): ... here.
4464 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4465 (_FP_MUL_MEAT_1_hard): ... here.
4466 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4467 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4468 (_FP_MUL_MEAT_2_wide): ... here.
4469 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4470 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4471 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4472 (_FP_MUL_MEAT_2_gmp): ... here.
4473 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4474 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4475 (_FP_MUL_MEAT_4_wide): ... here.
4476 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4477 (_FP_MUL_MEAT_4_gmp): ... here.
4478 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4479 (_FP_WFRACBITS_DW_S): Likewise.
4480 (_FP_WFRACXBITS_DW_S): Likewise.
4481 (_FP_HIGHBIT_DW_S): Likewise.
4482 (FP_FMA_S): Likewise.
4483 (_FP_FRAC_HIGH_DW_S): Likewise.
4484 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4485 (_FP_WFRACBITS_DW_D): Likewise.
4486 (_FP_WFRACXBITS_DW_D): Likewise.
4487 (_FP_HIGHBIT_DW_D): Likewise.
4488 (FP_FMA_D): Likewise.
4489 (_FP_FRAC_HIGH_DW_D): Likewise.
4490 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4491 (_FP_WFRACBITS_DW_E): Likewise.
4492 (_FP_WFRACXBITS_DW_E): Likewise.
4493 (_FP_HIGHBIT_DW_E): Likewise.
4494 (FP_FMA_E): Likewise.
4495 (_FP_FRAC_HIGH_DW_E): Likewise.
4496 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4497 (_FP_WFRACBITS_DW_Q): Likewise.
4498 (_FP_WFRACXBITS_DW_Q): Likewise.
4499 (_FP_HIGHBIT_DW_Q): Likewise.
4500 (FP_FMA_Q): Likewise.
4501 (_FP_FRAC_HIGH_DW_Q): Likewise.
4502 * soft-fp/fmasf4.c: New file.
4503 * soft-fp/fmadf4.c: Likewise.
4504 * soft-fp/fmatf4.c: Likewise.
4505
6308fd9a
LD
45062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4507
4508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4509 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4510 Silvermont.
4511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4512 macro.
4513 (index_Slow_SSE4_2): Likewise.
4514 (index_Prefer_PMINUB_for_stringop): Likewise.
4515 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4516 bit_Slow_SSE4_2 is set.
4517 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4518 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4519
89cd9569
RA
45202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4521
4522 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4523 rtld_global._dl_hwcap2.
4524 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4525 POWER8.
4526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4527 POWER8 feature descriptions defined in _dl_hwcap2.
4528 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4529 string handling for POWER8 feature bits.
4530 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4531 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4532 _dl_powerpc_cap_flags.
4533 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4534 * sysdeps/powerpc/rtld-global-offsets.sym
4535 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4536 _dl_hwcap2 in the rtld_global_ro structure.
4537
1ae8bfe0
RA
45382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4539
4540 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4541 hardware capabilities in support of AT_HWCAP2.
4542 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4543 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4544 GLRO(dl_hwcap2).
4545 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4546 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4547 explicitly the unknown a_type display mechanism is used.
4548 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4549 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4550 struct member.
4551 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4552 to macro prototype for AT_HWCAP2 support.
4553 * sysdeps/i386/dl-procinfo.h: Likewise.
4554 * sysdeps/s390/dl-procinfo.h: Likewise.
4555 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4556 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4557 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4558 return -1 for unknown a_type display fallback.
4559 * sysdeps/sparc/dl-procinfo.h: Likewise.
4560 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4562
8fbec010
JM
45632013-06-28 Joseph Myers <joseph@codesourcery.com>
4564
4565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4566 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4567
0432680e
PY
45682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4569
4570 [BZ #12492]
4571 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4572 mprotect making __stack_prot writable.
4573
ce61a2ad
NF
45742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4575 Joseph Myers <joseph@codesourcery.com>
4576
4577 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4578 as being properly aligned.
4579
f91f1c0f
MR
45802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4581
3d0f5d0c
MR
4582 * dlfcn/modstatic5.c: New file.
4583 * dlfcn/tststatic5.c: New file.
4584 * dlfcn/Makefile (tests): Add tststatic5.
4585 (tests-static): Likewise.
4586 (modules-names): Add modstatic5.
4587 (tststatic5-ENV): New variable.
4588 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4589
f91f1c0f
MR
4590 [BZ #15022]
4591 * elf/dl-support.c (_dl_main_map): New variable.
4592 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4593 (_dl_nns, _dl_load_adds): Set to 1.
4594 (_dl_initial_searchlist): Refer to _dl_main_map.
4595 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4596 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4597 call to _dl_get_origin.
4598 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4599 around call_map.
4600 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4601 * dlfcn/modstatic3.c: New file.
4602 * dlfcn/tststatic3.c: New file.
4603 * dlfcn/tststatic4.c: New file.
4604 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4605 (tests-static): Likewise.
4606 (modules-names): Add modstatic3.
4607 (tststatic3-ENV, tststatic4-ENV): New variables.
4608 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4609 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4610
cbe7d24b
JM
46112013-06-26 Joseph Myers <joseph@codesourcery.com>
4612
4613 * configure.in (CC): Require GCC version 4.4 or later.
4614 * configure: Regenerated.
4615 * manual/install.texi (Tools for Compilation): Update GCC version
4616 requirement.
4617 * INSTALL: Regenerated.
4618
11b8a0e1
LD
46192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4620
4621 [BZ #15674]
bb5bb87c
L
4622 * string/test-memcmp.c (check2): New.
4623 (main): Call check2.
4624
11b8a0e1
LD
4625 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4626
b0037103
MR
46272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4628
4629 [BZ #15022]
4630 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4631 over to...
4632 (dl_open_worker) [!SHARED]: ... here.
4633
c18c701d
RA
46342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4635
4636 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4637
1d17fa5f
RH
46382013-06-25 Richard Henderson <rth@redhat.com>
4639
4640 * locale/programs/locarchive.c: Include <libc-internal.h>
4641
8fcb833a
JM
46422013-06-25 Joseph Myers <joseph@codesourcery.com>
4643
4644 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4645 trailing whitespace removed.
4646
17db6e8d
MF
46472013-06-24 Mike Frysinger <vapier@gentoo.org>
4648
4649 [BZ #10283]
17db6e8d
MF
4650 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4651 * locale/programs/locarchive.c: Include libc-mmap.h.
4652 (prepare_address_space): Take two new outputs (the mmap base and len).
4653 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4654 values.
4655 (create_archive): Declare new mmap base and len values for
4656 prepare_address_space, and store the result in ah.
4657 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4658 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4659 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4660 Declare new mmap base and len values for
4661 prepare_address_space, and store the result in new_ah.
4662 (open_archive): Declare new mmap base and len values for
4663 prepare_address_space, and store the result in ah.
4664 (close_archive): If ah->mmap_base is not NULL, use that and
4665 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4666 * sysdeps/generic/libc-mmap.h: New file.
4667
d605071e
MF
46682013-06-24 Mike Frysinger <vapier@gentoo.org>
4669
4670 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4671 (ALIGN_UP): Likewise.
4672 (PTR_ALIGN_DOWN): Likewise.
4673 (PTR_ALIGN_UP): Likewise.
4674
2f063a6e
RA
46752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4676
4677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4678 entry mapped to PPC_PLATFORM_POWER8.
4679 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4680 POWER8.
4681 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4682 (_dl_string_platform): Add case for exporting platform position for
4683 POWER8.
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4685 search path to sysdeps/powerpc/powerpc32/power8 directory.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4687 search path to sysdeps/powerpc/powerpc64/power8 directory.
4688 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4689 power7 directories.
4690 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4691 power7 directories.
4692
a31ee4b3
SP
46932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
a74ca98f
SP
4695 * INSTALL: Regenerate.
4696
a31ee4b3
SP
4697 * nscd/connections.c (nscd_init): Fix comment.
4698
695c378f
JM
46992013-06-22 Joseph Myers <joseph@codesourcery.com>
4700
d8412221
JM
4701 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4702
695c378f
JM
4703 [BZ #15667]
4704 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4705 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4706
d1d54715
MR
47072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4708
4709 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4710 DL_DST_REQ_STATIC.
4711 (DL_DST_REQ_STATIC): Remove macro.
4712
8fdda7af
JM
47132013-06-21 Joseph Myers <joseph@codesourcery.com>
4714
4715 [BZ #7006]
4716 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4717 with a shift of 0 bits.
4718
f3bc5e5a
MR
47192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4720
4721 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4722 $(tststatic-ENV).
4723
be09e8c9
KK
47242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4725
4726 [BZ #15655]
4727 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4728
85c2e611
AZ
47292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4730
4731 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4732 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4733 accepts -fno-tree-loop-distribute-patterns.
4734 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4735 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4736 recursive call.
4737 * string/memset.c (memset): Likewise.
4738 * string/test-memmove.c (simple_memmove): Disable loop transformation
4739 to library calls.
4740 * string/test-memset.c (simple_memset): Likewise.
4741 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4742 * benchtests/bench-memset.c (simple_memset): Likewise.
4743 * configure: Regenerated.
4744
c91e0825
JM
47452013-06-20 Joseph Myers <joseph@codesourcery.com>
4746
b8c792af
JM
4747 * math/test-misc.c (main): Ignore fesetround failure when failures
4748 of subsequent rounding tests would be ignored.
4749
c91e0825
JM
4750 [BZ #15654]
4751 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4752 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4753 * math/fegetenv.c (__fegetenv): Return 0.
4754 * math/fegetexcept.c (fegetexcept): Return 0.
4755 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4756 FE_TONEAREST.
4757 * math/feholdexcpt.c (feholdexcept): Return 0.
4758 * math/fesetenv.c (__fesetenv): Return 0.
4759 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4760 argument FE_TONEAREST.
4761 * math/feupdateenv.c (__feupdateenv): Return 0.
4762 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4763
bfcacbde
RM
47642013-06-18 Roland McGrath <roland@hack.frob.com>
4765
4766 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4767 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4768 ($(objpfx)rtld-%.os rules): Use them.
4769
e55a9b25
AZ
47702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4773 fields.
4774
346d65b3
RM
47752013-06-17 Roland McGrath <roland@hack.frob.com>
4776
12086fb4
RM
4777 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4778 length of target pattern, then descending length of dependency pattern.
4779 * configure.in (AWK): Require gawk 3.1.2 or newer.
4780 * manual/install.texi (Tools for Compilation): Say that we do.
4781 * configure: Regenerated.
4782
346d65b3
RM
4783 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4784 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4785 * scripts/sysd-rules.awk: ... this new script.
4786 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4787 than a glob-style pattern.
4788
1a846317
JM
47892013-06-17 Joseph Myers <joseph@codesourcery.com>
4790
4791 * math/test-misc.c (main): Do not treat incorrectly rounded
4792 conversions as failure unless ROUNDING_TESTS passes.
4793
8fc75e6f
JM
47942013-06-15 Joseph Myers <joseph@codesourcery.com>
4795
3711a167
JM
4796 [BZ #15631]
4797 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4798 restore exception state around main square root computation, then
4799 check for inexactness explicitly.
4800
8fc75e6f
JM
4801 * math/libm-test.inc (fma_test_data): Add another test.
4802
61dd6208
SP
48032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4804
adf23d2c
SP
4805 * manual/threads.texi (Non-POSIX Extensions): New document
4806 node. Document pthread_getattr_default_np and
4807 pthread_setattr_default_np.
4808
61dd6208
SP
4809 * Versions.def (libpthread): Add GLIBC_2.18.
4810 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4812 Likewise.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4814 Likewise.
4815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4816 Likewise.
4817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4818 Likewise.
4819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4820 Likewise.
4821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4826 Likewise.
4827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4828 Likewise.
4829
d086fc7b
LD
48302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4831
4832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4833 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4834
747ef469
SP
48352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4836 H.J. Lu <hjl.tools@gmail.com>
4837
4838 [BZ #15627]
4839 * sysdeps/x86_64/rtld-memset.c: Remove file.
4840 * sysdeps/x86_64/rtld-memset.S: New file.
4841
1b2feed2
JM
48422013-06-14 Joseph Myers <joseph@codesourcery.com>
4843
4844 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4845 (test_in_one_mode): Take arguments for whether the rounding mode
4846 is supported for each floating-point type.
4847 (do_test): Pass new arguments to test_in_one_mode using
4848 ROUNDING_TESTS.
4849
a58ad3f8
RM
48502013-06-13 Roland McGrath <roland@hack.frob.com>
4851
4852 * posix/tst-waitid.c (do_test): Distinguish different instances of
4853 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4854 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4855 before entering the kernel for waitpid.
4856
c204ab28
SP
48572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4858
4859 * NEWS: Fix note on clock function precision. Text by Roland
4860 McGrath.
4861
f4a29fba
RM
48622013-06-13 Roland McGrath <roland@hack.frob.com>
4863
4864 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4865 it into place only when and if the sanity check passes.
4866
1f24b9ad
JM
48672013-06-13 Joseph Myers <joseph@codesourcery.com>
4868
4869 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4870 output for whether conversion result is exact. Take argument
4871 indicating whether type is IBM long double.
4872 (round_for_all): Change need_exact field to ibm_ld.
4873 * stdlib/tst-strtod-round.c (struct exactness): New type.
4874 (struct test): Change bool ld_ok field to struct exactness exact.
4875 (TEST): Update all definitions for change to field.
4876 (tests): Regenerate array contents.
4877 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4878 field value. Check for IBM long double here.
4879 (do_test): Update calls to test_in_one_mode.
4880
58206c68
SP
48812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4882
4883 [BZ #12515]
4884 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4885 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4886
2d6f4c5b 48872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4888
4889 [BZ #15605]
4890 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4891 generated by the compiler on loop optimizations.
4892 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4893 general definitions.
4894
94f2c076
JM
48952013-06-12 Joseph Myers <joseph@codesourcery.com>
4896
4897 * math/bug-nextafter.c: Include <math-tests.h>.
4898 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4899 the relevant type.
4900 * math/bug-nexttoward.c: Include <math-tests.h>.
4901 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4902 the relevant type.
4903 * math/test-misc.c: Include <math-tests.h>.
4904 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4905 the relevant type.
4906
e0e50a0a
AJ
49072013-06-12 Andreas Jaeger <aj@suse.de>
4908
4909 * po/ia.po: Update Interlingua translation from translation
4910 project.
4911
25061094
SP
49122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4913
4914 * include/fenv.h: Include stdbool.h.
4915 (struct rm_ctx): New structure.
4916 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4917 Define macro.
4918 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4919 (SET_RESTORE_ROUNDF): Likewise.
4920 (SET_RESTORE_ROUNDL): Likewise.
4921 (SET_RESTORE_ROUND_NOEX): Likewise.
4922 (SET_RESTORE_ROUND_NOEXF): Likewise.
4923 (SET_RESTORE_ROUND_NOEXL): Likewise.
4924 (SET_RESTORE_ROUND_53BIT): Likewise.
4925 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4926 (libc_feresetround_noexf_ctx): Likewise.
4927 (libc_feresetround_noexl_ctx): Likewise.
4928 (libc_feholdsetround_53bit_ctx): Likewise.
4929 (libc_feresetround_53bit_ctx): Likewise.
4930 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4931 (libc_feholdexcept_setround_sse_ctx): New function.
4932 (libc_fesetenv_sse_ctx): Likewise.
4933 (libc_feupdateenv_sse_ctx): Likewise.
4934 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4935 (libc_feholdexcept_setround_387_ctx): Likewise.
4936 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4937 (libc_feholdsetround_387_prec_ctx): Likewise.
4938 (libc_feholdsetround_387_ctx): Likewise.
4939 (libc_feholdsetround_387_53bit_ctx): Likewise.
4940 (libc_feholdsetround_sse_ctx): Likewise.
4941 (libc_feresetround_sse_ctx): Likewise.
4942 (libc_feresetround_387_ctx): Likewise.
4943 (libc_feupdateenv_387_ctx): Likewise.
4944 (libc_feholdexcept_setroundf_ctx): Define macro.
4945 (libc_fesetenvf_ctx): Likewise.
4946 (libc_feupdateenvf_ctx): Likewise.
4947 (libc_feholdsetroundf_ctx): Likewise.
4948 (libc_feresetroundf_ctx): Likewise.
4949 (libc_feholdexcept_setround_ctx): Likewise.
4950 (libc_fesetenv_ctx): Likewise.
4951 (libc_feupdateenv_ctx): Likewise.
4952 (libc_feholdsetround_ctx): Likewise.
4953 (libc_feresetround_ctx): Likewise.
4954 (libc_feholdexcept_setroundl_ctx): Likewise.
4955 (libc_feupdateenvl_ctx): Likewise.
4956 (libc_feholdsetroundl_ctx): Likewise.
4957 (libc_feresetroundl_ctx): Likewise.
4958 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4959 (libc_feresetround_53bit_ctx): Likewise.
4960
59b30555
SP
49612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4962
4963 * locale/iso-639.def: Convert to UTF-8.
4964
f1d73d30
JM
49652013-06-11 Joseph Myers <joseph@codesourcery.com>
4966
4967 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4968 (EXCEPTION_TESTS_double): Likewise.
4969 (EXCEPTION_TESTS_long_double): Likewise.
4970 (EXCEPTION_TESTS): Likewise.
4971 * math/libm-test.inc (test_exceptions): Only test exceptions if
4972 EXCEPTION_TESTS (FLOAT).
4973
94aca5e7
SP
49742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4975
4976 * benchtests/Makefile (string-bench): Add strcpy_chk and
4977 stpcpy_chk.
4978 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4979 * benchtests/bench-stpcpy_chk.c: New file.
4980 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4981 * benchtests/bench-strcpy_chk.c: New file.
4982 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4983 code.
4984 (do_test): Likewise.
4985
fac0c5f2
RA
49862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4987
4988 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4989 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4990 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4991 with tabs where appropriate.
4992 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4993 dl-procinfo.h.
4994 [PPC_PLATFORM_PPC440]: Likewise.
4995 [PPC_PLATFORM_PPC464]: Likewise.
4996 [PPC_PLATFORM_PPC476]: Likewise.
4997 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4998 ppc464, and ppc476 platform strings merging from ports/
4999 dl-procinfo.h.
5000
f22bc486
AS
50012013-06-11 Andreas Schwab <schwab@suse.de>
5002
5003 [BZ #14991]
5004 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5005 (from_ucs4_idx): Regenerate.
5006 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5007 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5008 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5009 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5010 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5011 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5012 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5013 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5014 from FROM_LOOP and TO_LOOP specific macros.
5015 (BODY): Handle combining characters.
5016 * iconvdata/BIG5HKSCS.irreversible: Update.
5017 * iconvdata/BIG5HKSCS.precomposed: New file.
5018 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5019 characters.
5020 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5021
c1f75dc3
SP
50222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
4eacded2
SP
5024 * include/sys/time.h: Fix indentation and add copyright header.
5025
fec799f8
SP
5026 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5027 (do_test): Likewise.
5028 * string/test-memchr.c (do_one_test): Likewise.
5029 (do_test): Likewise.
5030 * string/test-memcmp.c (do_one_test): Likewise.
5031 (do_test): Likewise.
5032 * string/test-memcpy.c (do_one_test): Likewise.
5033 (do_test): Likewise.
5034 * string/test-memmem.c (do_one_test): Likewise.
5035 (do_test): Likewise.
5036 (do_random_tests): Likewise.
5037 * string/test-memmove.c (do_one_test): Likewise.
5038 (do_test): Likewise.
5039 * string/test-memset.c (do_one_test): Likewise.
5040 (do_test): Likewise.
5041 * string/test-rawmemchr.c (do_one_test): Likewise.
5042 (do_test): Likewise.
5043 * string/test-strcasecmp.c (do_one_test): Likewise.
5044 (do_test): Likewise.
5045 * string/test-strcasestr.c (do_one_test): Likewise.
5046 (do_test): Likewise.
5047 * string/test-strcat.c (do_one_test): Likewise.
5048 (do_test): Likewise.
5049 * string/test-strchr.c (do_one_test): Likewise.
5050 (do_test): Likewise.
5051 * string/test-strcmp.c (do_one_test): Likewise.
5052 (do_test): Likewise.
5053 * string/test-strcpy.c (do_one_test): Likewise.
5054 (do_test): Likewise.
5055 * string/test-string.h: Likewise.
5056 (test_init): Likewise.
5057 * string/test-strlen.c (do_one_test): Likewise.
5058 (do_test): Likewise.
5059 * string/test-strncasecmp.c (do_one_test): Likewise.
5060 (do_test): Likewise.
5061 * string/test-strncat.c (do_one_test): Likewise.
5062 (do_test): Likewise.
5063 * string/test-strncmp.c (do_one_test): Likewise.
5064 (do_test_limit): Likewise.
5065 (do_test): Likewise.
5066 * string/test-strncpy.c (do_one_test): Likewise.
5067 (do_test): Likewise.
5068 * string/test-strnlen.c (do_one_test): Likewise.
5069 (do_test): Likewise.
5070 * string/test-strpbrk.c (do_one_test): Likewise.
5071 (do_test): Likewise.
5072 * string/test-strrchr.c (do_one_test): Likewise.
5073 (do_test): Likewise.
5074 * string/test-strspn.c (do_one_test): Likewise.
5075 (do_test): Likewise.
5076 * string/test-strstr.c (do_one_test): Likewise.
5077 (do_test): Likewise.
5078
97020474
SP
5079 * benchtests/Makefile (string-bench): Add string benchmarks.
5080 * benchtests/bench-bcopy-ifunc.c: New file.
5081 * benchtests/bench-bcopy.c: New file.
5082 * benchtests/bench-bzero-ifunc.c: New file.
5083 * benchtests/bench-bzero.c: New file.
5084 * benchtests/bench-memccpy-ifunc.c: New file.
5085 * benchtests/bench-memccpy.c: New file.
5086 * benchtests/bench-memchr-ifunc.c: New file.
5087 * benchtests/bench-memchr.c: New file.
5088 * benchtests/bench-memcmp-ifunc.c: New file.
5089 * benchtests/bench-memcmp.c: New file.
5090 * benchtests/bench-memmem-ifunc.c: New file.
5091 * benchtests/bench-memmem.c: New file.
5092 * benchtests/bench-memmove-ifunc.c: New file.
5093 * benchtests/bench-memmove.c: New file.
5094 * benchtests/bench-mempcpy-ifunc.c: New file.
5095 * benchtests/bench-mempcpy.c: New file.
5096 * benchtests/bench-memset-ifunc.c: New file.
5097 * benchtests/bench-memset.c: New file.
5098 * benchtests/bench-rawmemchr-ifunc.c: New file.
5099 * benchtests/bench-rawmemchr.c: New file.
5100 * benchtests/bench-stpcpy-ifunc.c: New file.
5101 * benchtests/bench-stpcpy.c: New file.
5102 * benchtests/bench-stpncpy-ifunc.c: New file.
5103 * benchtests/bench-stpncpy.c: New file.
5104 * benchtests/bench-strcasecmp-ifunc.c: New file.
5105 * benchtests/bench-strcasecmp.c: New file.
5106 * benchtests/bench-strcasestr-ifunc.c: New file.
5107 * benchtests/bench-strcasestr.c: New file.
5108 * benchtests/bench-strcat-ifunc.c: New file.
5109 * benchtests/bench-strcat.c: New file.
5110 * benchtests/bench-strchr-ifunc.c: New file.
5111 * benchtests/bench-strchr.c: New file.
5112 * benchtests/bench-strchrnul-ifunc.c: New file.
5113 * benchtests/bench-strchrnul.c: New file.
5114 * benchtests/bench-strcmp-ifunc.c: New file.
5115 * benchtests/bench-strcmp.c: New file.
5116 * benchtests/bench-strcpy-ifunc.c: New file.
5117 * benchtests/bench-strcpy.c: New file.
5118 * benchtests/bench-strcspn-ifunc.c: New file.
5119 * benchtests/bench-strcspn.c: New file.
5120 * benchtests/bench-strlen-ifunc.c: New file.
5121 * benchtests/bench-strlen.c: New file.
5122 * benchtests/bench-strncasecmp-ifunc.c: New file.
5123 * benchtests/bench-strncasecmp.c: New file.
5124 * benchtests/bench-strncat-ifunc.c: New file.
5125 * benchtests/bench-strncat.c: New file.
5126 * benchtests/bench-strncmp-ifunc.c: New file.
5127 * benchtests/bench-strncmp.c: New file.
5128 * benchtests/bench-strncpy-ifunc.c: New file.
5129 * benchtests/bench-strncpy.c: New file.
5130 * benchtests/bench-strnlen-ifunc.c: New file.
5131 * benchtests/bench-strnlen.c: New file.
5132 * benchtests/bench-strpbrk-ifunc.c: New file.
5133 * benchtests/bench-strpbrk.c: New file.
5134 * benchtests/bench-strrchr-ifunc.c: New file.
5135 * benchtests/bench-strrchr.c: New file.
5136 * benchtests/bench-strspn-ifunc.c: New file.
5137 * benchtests/bench-strspn.c: New file.
5138 * benchtests/bench-strstr-ifunc.c: New file.
5139 * benchtests/bench-strstr.c: New file.
5140
c1f75dc3
SP
5141 * benchtests/Makefile: Disable parallel execution of targets.
5142 (string-bench): Add memcpy.
5143 (benchset): New variable to store a list of benchmark sets.
5144 (bench-func): Renamed from bench.
5145 (bench-set): New target.
5146 (bench): Depend on bench-func and bench-set.
5147 * benchtests/README: Add section on benchmark sets.
5148 * benchtests/bench-memcpy-ifunc.c: New file.
5149 * benchtests/bench-memcpy.c: New file.
5150 * benchtests/bench-string.h: New file.
5151
50fd745b
AS
51522013-06-11 Andreas Schwab <schwab@suse.de>
5153
5154 [BZ #15577]
5155 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5156 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5157 values in the triple.
5158 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5159 terminator in the group key.
5160
3ee7e9fe
AJ
51612013-06-11 Andreas Jaeger <aj@suse.de>
5162
5163 * po/zh_TW.po: Update Chinese (traditional) translation from
5164 translation project.
5165
89fb6835
SP
51662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
5168 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5169 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5170 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5172 (clock_getcpuclockid): Likewise.
5173 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5174 Add weak_alias and libc_hidden_def.
5175 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5176 * rt/clock_gettime.c (clock_gettime): Rename to
5177 __clock_gettime. Add weak_alias and libc_hidden_def.
5178 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5179 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5180 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5181 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5182 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5183 Likewise.
5184 * rt/clock_settime.c (clock_settime): Rename to
5185 __clock_settime. Add weak_alias and libc_hidden_def.
5186 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5187
0efa6f8b
JM
51882013-06-10 Joseph Myers <joseph@codesourcery.com>
5189
b8c61b4b
JM
5190 * mach/err_boot.sub: Remove trailing whitespace.
5191 * mach/err_ipc.sub: Likewise.
5192 * mach/err_mach.sub: Likewise.
5193
0efa6f8b
JM
5194 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5195 (ROUNDING_TESTS_double): Likewise.
5196 (ROUNDING_TESTS_long_double): Likewise.
5197 (ROUNDING_TESTS): Likewise.
5198 * math/libm-test.inc: Include <math-tests.h>.
5199 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5200 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5201 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5202 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5203
50b818bf
SP
52042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
5206 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5207 of assigning.
5208
60d2f8f3
JM
52092013-06-08 Joseph Myers <joseph@codesourcery.com>
5210
4902d2c3
JM
5211 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5212 otherwise empty TRANS lines.
5213 * sysdeps/gnu/errlist.c: Regenerated.
5214
60d2f8f3
JM
5215 * catgets/gencat.c (error_print): Use (void) in function
5216 definition.
5217 * crypt/crypt_util.c (__init_des): Likewise.
5218 * crypt/speeds.c (Stop): Likewise.
5219 (main): Likewise.
5220 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5221 * inet/ruserpass.c (token): Likewise.
5222 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5223 * intl/localealias.c (extend_alias_table): Likewise.
5224 * intl/plural-exp.c (init_germanic_plural): Likewise.
5225 * libio/fcloseall.c (__fcloseall): Likewise.
5226 * libio/genops.c (_IO_flush_all): Likewise.
5227 (_IO_flush_all_linebuffered): Likewise.
5228 (_IO_cleanup): Likewise.
5229 (_IO_iter_begin): Likewise.
5230 (_IO_iter_end): Likewise.
5231 (_IO_list_lock): Likewise.
5232 (_IO_list_unlock): Likewise.
5233 (_IO_list_resetlock): Likewise.
5234 * libio/getchar.c (getchar): Likewise.
5235 * libio/getchar_u.c (getchar_unlocked): Likewise.
5236 * libio/getwchar.c (getwchar): Likewise.
5237 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5238 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5239 * login/getpt.c (__getpt): Likewise.
5240 * login/tst-utmp.c (main): Likewise.
5241 * malloc/hooks.c (__malloc_check_init): Likewise.
5242 * malloc/malloc.c (__malloc_stats): Likewise.
5243 * malloc/mtrace.c (tr_break): Likewise.
5244 (mtrace): Likewise.
5245 (muntrace): Likewise.
5246 * misc/fstab.c (endfsent): Likewise.
5247 * misc/getclktck.c (__getclktck): Likewise.
5248 * misc/getdtsz.c (__getdtablesize): Likewise.
5249 * misc/gethostid.c (gethostid): Likewise.
5250 * misc/getpagesize.c (__getpagesize): Likewise.
5251 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5252 (__get_nprocs): Likewise.
5253 (__get_phys_pages): Likewise.
5254 (__get_avphys_pages): Likewise.
5255 * misc/getttyent.c (getttyent): Likewise.
5256 (setttyent): Likewise.
5257 (endttyent): Likewise.
5258 * misc/getusershell.c (getusershell): Likewise.
5259 (endusershell): Likewise.
5260 (setusershell): Likewise.
5261 (initshells): Likewise.
5262 * misc/hsearch.c (__hdestroy): Likewise.
5263 * misc/sync.c (sync): Likewise.
5264 * misc/syslog.c (closelog_internal): Likewise.
5265 (closelog): Likewise.
5266 * misc/ttyslot.c (ttyslot): Likewise.
5267 * misc/vhangup.c (vhangup): Likewise.
5268 * posix/fork.c (__fork): Likewise.
5269 * posix/getegid.c (__getegid): Likewise.
5270 * posix/geteuid.c (__geteuid): Likewise.
5271 * posix/getgid.c (__getgid): Likewise.
5272 * posix/getpid.c (__getpid): Likewise.
5273 * posix/getppid.c (__getppid): Likewise.
5274 * posix/getuid.c (__getuid): Likewise.
5275 * posix/pause.c (pause): Likewise.
5276 * posix/setpgrp.c (setpgrp): Likewise.
5277 * posix/setsid.c (__setsid): Likewise.
5278 * posix/test-vfork.c (noop): Likewise.
5279 * resolv/gethnamaddr.c (_endhtent): Likewise.
5280 (_gethtent): Likewise.
5281 (ht_endhostent): Likewise.
5282 (gethostent): Likewise.
5283 (dns_service): Likewise.
5284 * stdlib/drand48.c (drand48): Likewise.
5285 * stdlib/lrand48.c (lrand48): Likewise.
5286 * stdlib/mrand48.c (mrand48): Likewise.
5287 * stdlib/rand.c (rand): Likewise.
5288 * stdlib/random.c (__random): Likewise.
5289 * stdlib/setenv.c (clearenv): Likewise.
5290 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5291 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5292 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5293 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5294 (__get_nprocs): Likewise.
5295 (__get_phys_pages): Likewise.
5296 (__get_avphys_pages): Likewise.
5297 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5298 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5299 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5300 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5301 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5302 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5303 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5304 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5305 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5306 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5307 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5308 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5309 * sysdeps/posix/clock.c (clock): Likewise.
5310 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5311 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5312 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5313 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5314 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5316 (__get_nprocs_conf): Likewise.
5317 (__get_phys_pages): Likewise.
5318 (__get_avphys_pages): Likewise.
5319 * time/clock.c (clock): Likewise.
5320 * time/tzset.c (__tzname_max): Likewise.
5321
2e09a79a
JM
53222013-06-07 Joseph Myers <joseph@codesourcery.com>
5323
5324 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5325 (__bswap_32): Do not use "register".
5326 * crypt/crypt.c (_ufc_doit_r): Likewise.
5327 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5328 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5329 * gmon/gmon.c (__monstartup): Likewise.
5330 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5331 * hurd/hurdmalloc.c (more_memory): Likewise.
5332 (malloc): Likewise.
5333 (free): Likewise.
5334 (realloc): Likewise.
5335 (malloc_fork_prepare): Likewise.
5336 (malloc_fork_parent): Likewise.
5337 (malloc_fork_child): Likewise.
5338 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5339 (_svcauth_des): Likewise.
5340 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5341 * inet/inet_net.c (inet_network): Likewise.
5342 * inet/inet_netof.c (inet_netof): Likewise.
5343 * inet/rcmd.c (__validuser2_sa): Likewise.
5344 * io/fts.c (fts_open): Likewise.
5345 (fts_load): Likewise.
5346 (fts_close): Likewise.
5347 (fts_read): Likewise.
5348 (fts_children): Likewise.
5349 (fts_build): Likewise.
5350 (fts_stat): Likewise.
5351 (fts_sort): Likewise.
5352 (fts_alloc): Likewise.
5353 (fts_lfree): Likewise.
5354 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5355 (_IO_file_xsgetn): Likewise.
5356 (_IO_file_xsgetn_mmap): Likewise.
5357 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5358 (_IO_cookie_write): Likewise.
5359 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5360 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5361 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5362 * malloc/obstack.c (_obstack_begin): Likewise.
5363 (_obstack_begin_1): Likewise.
5364 (_obstack_newchunk): Likewise.
5365 (_obstack_allocated_p): Likewise.
5366 (obstack_free): Likewise.
5367 (_obstack_memory_used): Likewise.
5368 * misc/getttyent.c (getttynam): Likewise.
5369 (getttyent): Likewise.
5370 (skip): Likewise.
5371 (value): Likewise.
5372 * misc/getusershell.c (initshells): Likewise.
5373 * misc/syslog.c (__vsyslog_chk): Likewise.
5374 * misc/ttyslot.c (ttyslot): Likewise.
5375 * nis/nis_hash.c (__nis_hash): Likewise.
5376 * posix/fnmatch_loop.c (FCT): Likewise.
5377 * posix/getconf.c (print_all): Likewise.
5378 (main): Likewise.
5379 * posix/getopt.c (exchange): Likewise.
5380 * posix/glob.c (globfree): Likewise.
5381 (prefix_array): Likewise.
5382 (__glob_pattern_type): Likewise.
5383 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5384 (NS_GET32): Likewise.
5385 (NS_PUT16): Likewise.
5386 (NS_PUT32): Likewise.
5387 * resolv/gethnamaddr.c (getanswer): Likewise.
5388 (gethostbyname2): Likewise.
5389 (gethostbyaddr): Likewise.
5390 (_gethtent): Likewise.
5391 (_gethtbyname2): Likewise.
5392 (_gethtbyaddr): Likewise.
5393 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5394 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5395 * resolv/res_init.c (__res_vinit): Likewise.
5396 (net_mask): Likewise.
5397 * resolv/res_mkquery.c (outchar): Likewise.
5398 (PRINT): Likewise.
5399 * stdio-common/printf_fp.c (outchar): Likewise.
5400 (PRINT): Likewise.
5401 * stdio-common/printf_fphex.c (outchar): Likewise.
5402 (PRINT): Likewise.
5403 * stdio-common/printf_size.c (outchar): Likewise.
5404 (PRINT): Likewise.
5405 * stdio-common/test_rdwr.c (main): Likewise.
5406 * stdio-common/tfformat.c (matches): Likewise.
5407 * stdio-common/vfprintf.c (outchar): Likewise.
5408 (printf_unknown): Likewise.
5409 (buffered_vfprintf): Likewise.
5410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5411 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5412 (ReadFile): Likewise.
5413 * stdlib/qsort.c (SWAP): Likewise.
5414 (_quicksort): Likewise.
5415 * stdlib/setenv.c (__add_to_environ): Likewise.
5416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5417 * stdlib/strtol_l.c (__strtol_l): Likewise.
5418 * stdlib/tst-strtod.c (main): Likewise.
5419 * stdlib/tst-strtol.c (main): Likewise.
5420 * stdlib/tst-strtoll.c (main): Likewise.
5421 * string/bits/string2.h (__strcmp_cc): Likewise.
5422 (__strcmp_cg): Likewise.
5423 (__strcspn_c1): Likewise.
5424 (__strcspn_c2): Likewise.
5425 (__strcspn_c3): Likewise.
5426 (__strspn_c1): Likewise.
5427 (__strspn_c2): Likewise.
5428 (__strspn_c3): Likewise.
5429 (__strsep_1c): Likewise.
5430 (__strsep_2c): Likewise.
5431 (__strsep_3c): Likewise.
5432 * string/memccpy.c (__memccpy): Likewise.
5433 * string/stpcpy.c (__stpcpy): Likewise.
5434 * string/strcmp.c (strcmp): Likewise.
5435 * string/strrchr.c (strrchr): Likewise.
5436 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5437 Likewise.
5438 * sysdeps/mach/hurd/getcwd.c
5439 (_hurd_canonicalize_directory_name_internal): Likewise.
5440 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5441 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5442 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5443 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5444 Likewise, in both definitions.
5445 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5446 definitions.
5447 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5448 64] (__bswap_64): Likewise.
5449 * time/test_time.c (main): Likewise.
5450 * time/tzfile.c (__tzfile_read): Likewise.
5451 (__tzfile_compute): Likewise.
5452 * time/tzset.c (__tzset_parse_tz): Likewise.
5453 (tzset_internal): Likewise.
5454 (compute_change): Likewise.
5455 * wcsmbs/wcscat.c (__wcscat): Likewise.
5456 * wcsmbs/wcschr.c (wcschr): Likewise.
5457 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5458 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5459 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5460 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5461 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5462 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5463 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5464 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5465 * wcsmbs/wmemset.c (wmemset): Likewise.
5466
9e54314b
JM
54672013-06-06 Joseph Myers <joseph@codesourcery.com>
5468
5469 * scripts/config.guess: Update to version 2013-05-16.
5470 * scripts/config.sub: Update to version 2013-04-24.
5471 * scripts/install-sh: Update to version 2011-11-20.07.
5472 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5473 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5474
350635a5
OB
54752013-06-06 Ondřej Bílka <neleai@seznam.cz>
5476
5477 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5478 * elf/sln.c: Likewise.
5479 * hurd/hurd/ioctl.h: Likewise.
5480 * hurd/hurdmalloc.c: Likewise.
5481 * hurd/xattr.c: Likewise.
5482 * include/shlib-compat.h: Likewise.
5483 * inet/ruserpass.c: Likewise.
5484 * libio/iofgets_u.c: Likewise.
5485 * libio/iofgetws_u.c: Likewise.
5486 * locale/programs/ld-identification.c: Likewise.
5487 * locale/programs/ld-time.c: Likewise.
5488 * mach/msg-destroy.c: Likewise.
5489 * nss/nss_files/files-netgrp.c: Likewise.
5490 * resolv/res_data.c: Likewise.
5491 * soft-fp/op-1.h: Likewise.
5492 * soft-fp/op-2.h: Likewise.
5493 * soft-fp/op-4.h: Likewise.
5494 * soft-fp/op-common.h: Likewise.
5495 * stdio-common/printf_fphex.c: Likewise.
5496 * stdlib/strtod_l.c: Likewise.
5497 * sunrpc/rpc/clnt.h: Likewise.
5498 * sysdeps/generic/framestate.c: Likewise.
5499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5500 * sysdeps/i386/bsd-setjmp.S: Likewise.
5501 * sysdeps/i386/__longjmp.S: Likewise.
5502 * sysdeps/i386/setjmp.S: Likewise.
5503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5521 * sysdeps/ieee754/support.c: Likewise.
5522 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5523 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5524 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5525 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5526 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5527 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5528 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5529 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5530 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5531 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5532 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5533 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5534 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5537 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5538 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5540
44a988af
OB
55412013-06-05 Ondřej Bílka <neleai@seznam.cz>
5542
25506f09 5543 * posix/transbug.c: Remove executable mode.
44a988af 5544
9c84384c
JM
55452013-06-05 Joseph Myers <joseph@codesourcery.com>
5546
5547 * crypt/speeds.c: Remove trailing whitespace.
5548 * dlfcn/default.c: Likewise.
5549 * elf/ifuncdep2.c: Likewise.
5550 * elf/ifuncmain1.c: Likewise.
5551 * elf/ifuncmain1vis.c: Likewise.
5552 * elf/testobj.h: Likewise.
5553 * elf/tst-stackguard1.c: Likewise.
5554 * gmon/sys/gmon.h: Likewise.
5555 * hurd/hurdmsg.c: Likewise.
5556 * hurd/new-fd.c: Likewise.
5557 * hurd/ports-get.c: Likewise.
5558 * iconvdata/ibm1008_420.c: Likewise.
5559 * inet/tst-getni1.c: Likewise.
5560 * inet/tst-getni2.c: Likewise.
5561 * libio/ioungetc.c: Likewise.
5562 * libio/wfiledoalloc.c: Likewise.
5563 * manual/libm-err-tab.pl: Likewise.
5564 * math/w_dremf.c: Likewise.
5565 * misc/ftruncate.c: Likewise.
5566 * posix/bug-glob2.c: Likewise.
5567 * posix/tst-pcre.c: Likewise.
5568 * posix/wait4.c: Likewise.
5569 * resolv/README: Likewise.
5570 * resolv/res_debug.h: Likewise.
5571 * resolv/tst-inet_ntop.c: Likewise.
5572 * setjmp/bug269-setjmp.c: Likewise.
5573 * soft-fp/extended.h: Likewise.
5574 * soft-fp/op-1.h: Likewise.
5575 * soft-fp/op-2.h: Likewise.
5576 * soft-fp/op-4.h: Likewise.
5577 * soft-fp/op-8.h: Likewise.
5578 * soft-fp/testit.c: Likewise.
5579 * stdio-common/bug16.c: Likewise.
5580 * stdlib/random.c: Likewise.
5581 * sunrpc/rpcsvc/rquota.x: Likewise.
5582 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5600 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5611 * sysdeps/ieee754/s_lib_version.c: Likewise.
5612 * sysdeps/mach/hurd/check_fds.c: Likewise.
5613 * sysdeps/mach/hurd/getsockname.c: Likewise.
5614 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5615 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5616 * sysdeps/powerpc/bits/link.h: Likewise.
5617 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5618 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5619 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5620 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5621 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5622 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5623 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5624 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5625 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5626 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5627 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5628 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5629 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5630 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5631 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5632 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5638 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5640 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5641 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5651 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5652 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5653 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5654 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5655 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5656 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5657 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5658 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5659 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5660 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5661 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5662 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5663 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5665 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5666 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5670 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5671 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5672 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5673 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5675 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5679 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5680 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5681 * sysdeps/powerpc/sysdep.h: Likewise.
5682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5683 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5684 * sysdeps/sh/dl-trampoline.S: Likewise.
5685 * sysdeps/sh/memset.S: Likewise.
5686 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5687 * sysdeps/sh/strlen.S: Likewise.
5688 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5689 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5690 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5691 * sysdeps/sparc/sparc32/rem.S: Likewise.
5692 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5693 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5694 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5695 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5696 * sysdeps/sparc/sparc32/urem.S: Likewise.
5697 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5698 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5699 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5700 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5702 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5703 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5704 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5705 * sysdeps/unix/bsd/times.c: Likewise.
5706 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5707 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5713 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5715 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5717 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5720 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5721 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5722 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5723 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5724 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5725 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5726 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5727 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5728 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5729 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5730 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5731 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5732 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5734 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5735 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5736 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5737 * sysdeps/x86_64/strcspn.S: Likewise.
5738
869378a5
RA
57392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5740
5741 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5742 generated file. Regenerate properly from gen-translit.pl.
5743 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5744 locale/C-translit.h.
5745
840e2943
AS
57462013-06-05 Andreas Schwab <schwab@suse.de>
5747
5748 [BZ #15100]
5749 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5750 week as 6 instead of -1.
5751 * time/tst-strptime.c (day_tests): Add test case.
5752
4c60cb0c
SP
57532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5754
5755 * sysdeps/generic/math_private.h
5756 (libc_feholdexcept_setround_53bit): Replace with
5757 libc_feholdsetround_53bit.
5758 (libc_feupdateenv_53bit): Replace with
5759 libc_feresetround_53bit.
5760 (SET_RESTORE_ROUND_53BIT): Adjust.
5761
d180203e
SP
57622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5763
96df079a
SP
5764 * string/test-strchrnul.c: Add copyright header.
5765
d180203e
SP
5766 * posix/tst-getaddrinfo4.c: Increase test timeout.
5767
8b0ccb2d
CD
57682013-06-03 Carlos O'Donell <carlos@redhat.com>
5769
5770 [BZ #15536]
5771 * math/libm-test.inc (MAX_EXP): Remove
5772 (MIN_EXP): Define.
5773 (ulp): Use MIN_EXP - MANT_DIG.
5774 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5775
3b3c4d40
CD
57762013-05-31 Carlos O'Donell <carlos@redhat.com>
5777
5778 * po/be.po: Revert last change.
5779 * po/zh_CN.po: Likewise.
5780 * po/header.pot: Likewise.
5781
fab7ce3f
JM
57822013-05-31 Joseph Myers <joseph@codesourcery.com>
5783
5784 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5785 link-libc-deps to empty as target-specific variable.
5786 * Makerules (link-libc-args): New variable.
5787 (libc-for-link): Likewise.
5788 (link-libc-deps): Likewise.
5789 (lib%.so): Depend on $(link-libc-deps). Link with
5790 $(link-libc-args).
5791 (build-module): Link with $(link-libc-args).
5792 (build-module-asneeded): Likewise.
5793 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5794 list of objects.
5795 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5796 target-specific variable.
5797 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5798 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5799 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5800 libc.
5801 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5802 libc and ld.so.
5803 ($(objpfx)libpcprofile.so): Likewise.
5804 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5805 libc_nonshared.a.
5806 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5807 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5808 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5809 $(link-libc-deps).
5810 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5811 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5812 * login/Makefile ($(objpfx)libutil.so): Likewise.
5813 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5814 * math/Makefile ($(objpfx)libm.so): Likewise.
5815 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5816 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5817 variable instead of depending directly on libc.
5818 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5819 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5820 $(link-libc-deps).
5821 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5822 libc.
5823 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5824 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5825 ($(objpfx)libanl.so): Likewise.
5826 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5827 ld.so.
5828 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5829 $(link-libc-deps).
5830 * sysdeps/i386/fpu/Makefile: Remove file.
5831 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5832 ($(objpfx)libm.so): Remove dependency on ld.so.
5833
eca5920c
PF
58342013-05-30 Patsy Franklin <pfrankli@redhat.com>
5835
5836 [BZ # 15553]
5837 * nis/yp_xdr.c (XDRMAXNAME): Define.
5838 (XDRMAXRECORD): Define.
5839 (xdr_domainname): Use XDRMAXNAME.
5840 (xdr_mapname): Likewise.
5841 (xdr_peername): Likewise.
5842 (xdr_keydat): Use XDRMAXRECORD.
5843 (xdr_valdat): Likewise.
5844
58452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5846
5847 [BZ #14256]
5848 * manual/errno.texi (ESTALE): Update to account for more than
5849 just NFS file systems.
5850 * sysdeps/gnu/errlist.c: Regenerated.
5851
b9375348
SP
58522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5853
5854 [BZ #15465]
5855 * elf/Makefile (tests): Add tst-null-argv.
5856 (modules-names): Add tst-null-argv-lib.
5857 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5858 (tst-null-argv-ENV): Set environment for tst-null-argv.
5859 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5860 (RTLD_PROGNAME): New macro.
5861 * elf/tst-null-argv.c: New test case.
5862 * elf/tst-null-argv-lib.c: Library for test case.
5863 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5864 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5865 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5866 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5867 * elf/dl-init.c (call_init): Likewise.
5868 (_dl_init): Likewise.
5869 * elf/dl-load.c (print_search_path): Likewise.
5870 (_dl_map_object): Likewise.
5871 * elf/dl-lookup.c (do_lookup_x): Likewise.
5872 (add_dependency): Likewise.
5873 (_dl_lookup_symbol_x): Likewise.
5874 (_dl_debug_bindings): Likewise.
5875 * elf/dl-open.c (_dl_show_scope): Likewise.
5876 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5877 * elf/dl-version.c (match_symbol): Likewise.
5878 (_dl_check_map_versions): Likewise.
5879 * elf/rtld.c (dl_main): Likewise.
5880 (print_unresolved): Use RTLD_PROGNAME.
5881 (print_missing_version): Likewise.
5882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5883 (elf_machine_rela): Likewise.
5884 * sysdeps/powerpc/powerpc32/dl-machine.c
5885 (__process_machine_rela): Likewise.
5886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5887 Likewise.
5888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5889 Likewise.
5890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5891 Likewise.
5892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5894 Likewise.
5895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5896 Likewise.
5897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5898
8a9f20c8
CD
58992013-05-28 Carlos O'Donell <carlos@redhat.com>
5900
5901 * po/be.po: Add descriptive title.
5902 * po/zh_CN.po: Likewise.
5903 * po/header.pot: Likewise.
5904
0e60d68e
MF
59052013-05-28 Mike Frysinger <vapier@gentoo.org>
5906
5907 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5908 error message.
5909 (enlarge_archive): Likewise.
5910
56b672e9
BN
59112013-05-28 Ben North <ben@redfrontdoor.org>
5912
5913 * manual/arith.texi (frexp): It is the magnitude of the return
5914 value which lies in [0.5, 1), not the return value itself.
5915
5e056687
AZ
59162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5919
2b66ef5d
TS
59202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5921
528c2405
TS
5922 * stdio-common/bug26.c (main): Correct fscanf template.
5923
07b4c13d
TS
5924 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5925 declare _dl_skip_args.
5926
ec9dd97c
TS
5927 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5928 Don't declare.
5929
2b66ef5d
TS
5930 * manual/platform.texi: Add missing @end deftypefun.
5931
4f8dfe27
JM
59322013-05-24 Joseph Myers <joseph@codesourcery.com>
5933
0323d086
JM
5934 [BZ #15529]
5935 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5936 bit of mantissa of 2^16382.
5937 * math/libm-test.inc (hypot_test_data): Add more tests.
5938
dd4259b9
JM
5939 * math/libm-test.inc: Add drem and pow10 to list of tested
5940 functions.
5941 (pow10_test): New function.
5942 (drem_test): Likewise.
5943 (drem_test_tonearest): Likewise.
5944 (drem_test_towardzero): Likewise.
5945 (drem_test_downward): Likewise.
5946 (drem_test_upward): Likewise.
5947 (main): Call the new functions.
5948
4f8dfe27
JM
5949 * math/libm-test.inc (finite_test_data): Remove.
5950 (finite_test): Run tests from isfinite_test_data.
5951 (gamma_test_data): Remove.
5952 (gamma_test): Run tests from lgamma_test_data.
5953 * sysdeps/i386/fpu/libm-test-ulps: Update.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5955
d116b7c4
AZ
59562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * manual/platform.texi: Add PowerPC PPR function set documentation.
5959 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5960 implementation.
5961
e96e3767
CD
59622013-05-24 Carlos O'Donell <carlos@redhat.com>
5963
5964 * math/libm-test.inc (MAX_EXP): Define.
5965 (ULPDIFF): Define.
5966 (ulp): New function.
5967 (check_float_internal): Use ULPDIFF.
5968 (cpow_test): Disable failing test.
5969 (check_ulp): Test ulp() implemetnation.
5970 (main): Call check_ulp before starting tests.
5971
b679a606
JM
59722013-05-24 Joseph Myers <joseph@codesourcery.com>
5973
e8bdba36
JM
5974 * math/gen-libm-test.pl (generate_testfile): Do not handle
5975 START_DATA and END_DATA.
5976 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5977 END_DATA.
5978 (acos_tonearest_test_data): Likewise.
5979 (acos_towardzero_test_data): Likewise.
5980 (acos_downward_test_data): Likewise.
5981 (acos_upward_test_data): Likewise.
5982 (acosh_test_data): Likewise.
5983 (asin_test_data): Likewise.
5984 (asin_tonearest_test_data): Likewise.
5985 (asin_towardzero_test_data): Likewise.
5986 (asin_downward_test_data): Likewise.
5987 (asin_upward_test_data): Likewise.
5988 (asinh_test_data): Likewise.
5989 (atan_test_data): Likewise.
5990 (atanh_test_data): Likewise.
5991 (atan2_test_data): Likewise.
5992 (cabs_test_data): Likewise.
5993 (cacos_test_data): Likewise.
5994 (cacosh_test_data): Likewise.
5995 (carg_test_data): Likewise.
5996 (casin_test_data): Likewise.
5997 (casinh_test_data): Likewise.
5998 (catan_test_data): Likewise.
5999 (catanh_test_data): Likewise.
6000 (cbrt_test_data): Likewise.
6001 (ccos_test_data): Likewise.
6002 (ccosh_test_data): Likewise.
6003 (ceil_test_data): Likewise.
6004 (cexp_test_data): Likewise.
6005 (cimag_test_data): Likewise.
6006 (clog_test_data): Likewise.
6007 (clog10_test_data): Likewise.
6008 (conj_test_data): Likewise.
6009 (copysign_test_data): Likewise.
6010 (cos_test_data): Likewise.
6011 (cos_tonearest_test_data): Likewise.
6012 (cos_towardzero_test_data): Likewise.
6013 (cos_downward_test_data): Likewise.
6014 (cos_upward_test_data): Likewise.
6015 (cosh_test_data): Likewise.
6016 (cosh_tonearest_test_data): Likewise.
6017 (cosh_towardzero_test_data): Likewise.
6018 (cosh_downward_test_data): Likewise.
6019 (cosh_upward_test_data): Likewise.
6020 (cpow_test_data): Likewise.
6021 (cproj_test_data): Likewise.
6022 (creal_test_data): Likewise.
6023 (csin_test_data): Likewise.
6024 (csinh_test_data): Likewise.
6025 (csqrt_test_data): Likewise.
6026 (ctan_test_data): Likewise.
6027 (ctan_tonearest_test_data): Likewise.
6028 (ctan_towardzero_test_data): Likewise.
6029 (ctan_downward_test_data): Likewise.
6030 (ctan_upward_test_data): Likewise.
6031 (ctanh_test_data): Likewise.
6032 (ctanh_tonearest_test_data): Likewise.
6033 (ctanh_towardzero_test_data): Likewise.
6034 (ctanh_downward_test_data): Likewise.
6035 (ctanh_upward_test_data): Likewise.
6036 (erf_test_data): Likewise.
6037 (erfc_test_data): Likewise.
6038 (exp_test_data): Likewise.
6039 (exp_tonearest_test_data): Likewise.
6040 (exp_towardzero_test_data): Likewise.
6041 (exp_downward_test_data): Likewise.
6042 (exp_upward_test_data): Likewise.
6043 (exp10_test_data): Likewise.
6044 (exp2_test_data): Likewise.
6045 (expm1_test_data): Likewise.
6046 (fabs_test_data): Likewise.
6047 (fdim_test_data): Likewise.
6048 (finite_test_data): Likewise.
6049 (floor_test_data): Likewise.
6050 (fma_test_data): Likewise.
6051 (fma_towardzero_test_data): Likewise.
6052 (fma_downward_test_data): Likewise.
6053 (fma_upward_test_data): Likewise.
6054 (fmax_test_data): Likewise.
6055 (fmin_test_data): Likewise.
6056 (fmod_test_data): Likewise.
6057 (fpclassify_test_data): Likewise.
6058 (frexp_test_data): Likewise.
6059 (gamma_test_data): Likewise.
6060 (hypot_test_data): Likewise.
6061 (ilogb_test_data): Likewise.
6062 (isfinite_test_data): Likewise.
6063 (isgreater_test_data): Likewise.
6064 (isgreaterequal_test_data): Likewise.
6065 (isinf_test_data): Likewise.
6066 (isless_test_data): Likewise.
6067 (islessequal_test_data): Likewise.
6068 (islessgreater_test_data): Likewise.
6069 (isnan_test_data): Likewise.
6070 (isnormal_test_data): Likewise.
6071 (issignaling_test_data): Likewise.
6072 (isunordered_test_data): Likewise.
6073 (j0_test_data): Likewise.
6074 (j1_test_data): Likewise.
6075 (jn_test_data): Likewise.
6076 (ldexp_test_data): Likewise.
6077 (lgamma_test_data): Likewise.
6078 (lrint_test_data): Likewise.
6079 (lrint_tonearest_test_data): Likewise.
6080 (lrint_towardzero_test_data): Likewise.
6081 (lrint_downward_test_data): Likewise.
6082 (lrint_upward_test_data): Likewise.
6083 (llrint_test_data): Likewise.
6084 (llrint_tonearest_test_data): Likewise.
6085 (llrint_towardzero_test_data): Likewise.
6086 (llrint_downward_test_data): Likewise.
6087 (llrint_upward_test_data): Likewise.
6088 (log_test_data): Likewise.
6089 (log10_test_data): Likewise.
6090 (log1p_test_data): Likewise.
6091 (log2_test_data): Likewise.
6092 (logb_test_data): Likewise.
6093 (logb_downward_test_data): Likewise.
6094 (lround_test_data): Likewise.
6095 (llround_test_data): Likewise.
6096 (modf_test_data): Likewise.
6097 (nearbyint_test_data): Likewise.
6098 (nextafter_test_data): Likewise.
6099 (nexttoward_test_data): Likewise.
6100 (pow_test_data): Likewise.
6101 (pow_tonearest_test_data): Likewise.
6102 (pow_towardzero_test_data): Likewise.
6103 (pow_downward_test_data): Likewise.
6104 (pow_upward_test_data): Likewise.
6105 (remainder_test_data): Likewise.
6106 (remainder_tonearest_test_data): Likewise.
6107 (remainder_towardzero_test_data): Likewise.
6108 (remainder_downward_test_data): Likewise.
6109 (remainder_upward_test_data): Likewise.
6110 (remquo_test_data): Likewise.
6111 (rint_test_data): Likewise.
6112 (rint_tonearest_test_data): Likewise.
6113 (rint_towardzero_test_data): Likewise.
6114 (rint_downward_test_data): Likewise.
6115 (rint_upward_test_data): Likewise.
6116 (round_test_data): Likewise.
6117 (scalb_test_data): Likewise.
6118 (scalbn_test_data): Likewise.
6119 (scalbln_test_data): Likewise.
6120 (signbit_test_data): Likewise.
6121 (sin_test_data): Likewise.
6122 (sin_tonearest_test_data): Likewise.
6123 (sin_towardzero_test_data): Likewise.
6124 (sin_downward_test_data): Likewise.
6125 (sin_upward_test_data): Likewise.
6126 (sincos_test_data): Likewise.
6127 (sinh_test_data): Likewise.
6128 (sinh_tonearest_test_data): Likewise.
6129 (sinh_towardzero_test_data): Likewise.
6130 (sinh_downward_test_data): Likewise.
6131 (sinh_upward_test_data): Likewise.
6132 (sqrt_test_data): Likewise.
6133 (tan_test_data): Likewise.
6134 (tan_tonearest_test_data): Likewise.
6135 (tan_towardzero_test_data): Likewise.
6136 (tan_downward_test_data): Likewise.
6137 (tan_upward_test_data): Likewise.
6138 (tanh_test_data): Likewise.
6139 (tgamma_test_data): Likewise.
6140 (trunc_test_data): Likewise.
6141 (y0_test_data): Likewise.
6142 (y1_test_data): Likewise.
6143 (yn_test_data): Likewise.
6144 (significand_test_data): Likewise.
6145
b679a606
JM
6146 * math/gen-libm-test.pl (@functions): Remove variable.
6147 (generate_testfile): Don't handle START and END lines.
6148 * math/libm-test.inc (START): New macro.
6149 (END): Likewise.
6150 (END_COMPLEX): Likewise.
6151 (acos_test): Use END macro without arguments.
6152 (acos_test_tonearest): Likewise.
6153 (acos_test_towardzero): Likewise.
6154 (acos_test_downward): Likewise.
6155 (acos_test_upward): Likewise.
6156 (acosh_test): Likewise.
6157 (asin_test): Likewise.
6158 (asin_test_tonearest): Likewise.
6159 (asin_test_towardzero): Likewise.
6160 (asin_test_downward): Likewise.
6161 (asin_test_upward): Likewise.
6162 (asinh_test): Likewise.
6163 (atan_test): Likewise.
6164 (atanh_test): Likewise.
6165 (atan2_test): Likewise.
6166 (cabs_test): Likewise.
6167 (cacos_test): Use END_COMPLEX macro without arguments.
6168 (cacosh_test): Likewise.
6169 (carg_test): Use END macro without arguments.
6170 (casin_test): Use END_COMPLEX macro without arguments.
6171 (casinh_test): Likewise.
6172 (catan_test): Likewise.
6173 (catanh_test): Likewise.
6174 (cbrt_test): Use END macro without arguments.
6175 (ccos_test): Use END_COMPLEX macro without arguments.
6176 (ccosh_test): Likewise.
6177 (ceil_test): Use END macro without arguments.
6178 (cexp_test): Use END_COMPLEX macro without arguments.
6179 (cimag_test): Use END macro without arguments.
6180 (clog_test): Use END_COMPLEX macro without arguments.
6181 (clog10_test): Likewise.
6182 (conj_test): Likewise.
6183 (copysign_test): Use END macro without arguments.
6184 (cos_test): Likewise.
6185 (cos_test_tonearest): Likewise.
6186 (cos_test_towardzero): Likewise.
6187 (cos_test_downward): Likewise.
6188 (cos_test_upward): Likewise.
6189 (cosh_test): Likewise.
6190 (cosh_test_tonearest): Likewise.
6191 (cosh_test_towardzero): Likewise.
6192 (cosh_test_downward): Likewise.
6193 (cosh_test_upward): Likewise.
6194 (cpow_test): Use END_COMPLEX macro without arguments.
6195 (cproj_test): Likewise.
6196 (creal_test): Use END macro without arguments.
6197 (csin_test): Use END_COMPLEX macro without arguments.
6198 (csinh_test): Likewise.
6199 (csqrt_test): Likewise.
6200 (ctan_test): Likewise.
6201 (ctan_test_tonearest): Likewise.
6202 (ctan_test_towardzero): Likewise.
6203 (ctan_test_downward): Likewise.
6204 (ctan_test_upward): Likewise.
6205 (ctanh_test): Likewise.
6206 (ctanh_test_tonearest): Likewise.
6207 (ctanh_test_towardzero): Likewise.
6208 (ctanh_test_downward): Likewise.
6209 (ctanh_test_upward): Likewise.
6210 (erf_test): Use END macro without arguments.
6211 (erfc_test): Likewise.
6212 (exp_test): Likewise.
6213 (exp_test_tonearest): Likewise.
6214 (exp_test_towardzero): Likewise.
6215 (exp_test_downward): Likewise.
6216 (exp_test_upward): Likewise.
6217 (exp10_test): Likewise.
6218 (exp2_test): Likewise.
6219 (expm1_test): Likewise.
6220 (fabs_test): Likewise.
6221 (fdim_test): Likewise.
6222 (finite_test): Likewise.
6223 (floor_test): Likewise.
6224 (fma_test): Likewise.
6225 (fma_test_towardzero): Likewise.
6226 (fma_test_downward): Likewise.
6227 (fma_test_upward): Likewise.
6228 (fmax_test): Likewise.
6229 (fmin_test): Likewise.
6230 (fmod_test): Likewise.
6231 (fpclassify_test): Likewise.
6232 (frexp_test): Likewise.
6233 (gamma_test): Likewise.
6234 (hypot_test): Likewise.
6235 (ilogb_test): Likewise.
6236 (isfinite_test): Likewise.
6237 (isgreater_test): Likewise.
6238 (isgreaterequal_test): Likewise.
6239 (isinf_test): Likewise.
6240 (isless_test): Likewise.
6241 (islessequal_test): Likewise.
6242 (islessgreater_test): Likewise.
6243 (isnan_test): Likewise.
6244 (isnormal_test): Likewise.
6245 (issignaling_test): Likewise.
6246 (isunordered_test): Likewise.
6247 (j0_test): Likewise.
6248 (j1_test): Likewise.
6249 (jn_test): Likewise.
6250 (ldexp_test): Likewise.
6251 (lgamma_test): Likewise.
6252 (lrint_test): Likewise.
6253 (lrint_test_tonearest): Likewise.
6254 (lrint_test_towardzero): Likewise.
6255 (lrint_test_downward): Likewise.
6256 (lrint_test_upward): Likewise.
6257 (llrint_test): Likewise.
6258 (llrint_test_tonearest): Likewise.
6259 (llrint_test_towardzero): Likewise.
6260 (llrint_test_downward): Likewise.
6261 (llrint_test_upward): Likewise.
6262 (log_test): Likewise.
6263 (log10_test): Likewise.
6264 (log1p_test): Likewise.
6265 (log2_test): Likewise.
6266 (logb_test): Likewise.
6267 (logb_test_downward): Likewise.
6268 (lround_test): Likewise.
6269 (llround_test): Likewise.
6270 (modf_test): Likewise.
6271 (nearbyint_test): Likewise.
6272 (nextafter_test): Likewise.
6273 (nexttoward_test): Likewise.
6274 (pow_test): Likewise.
6275 (pow_test_tonearest): Likewise.
6276 (pow_test_towardzero): Likewise.
6277 (pow_test_downward): Likewise.
6278 (pow_test_upward): Likewise.
6279 (remainder_test): Likewise.
6280 (remainder_test_tonearest): Likewise.
6281 (remainder_test_towardzero): Likewise.
6282 (remainder_test_downward): Likewise.
6283 (remainder_test_upward): Likewise.
6284 (remquo_test): Likewise.
6285 (rint_test): Likewise.
6286 (rint_test_tonearest): Likewise.
6287 (rint_test_towardzero): Likewise.
6288 (rint_test_downward): Likewise.
6289 (rint_test_upward): Likewise.
6290 (round_test): Likewise.
6291 (scalb_test): Likewise.
6292 (scalbn_test): Likewise.
6293 (scalbln_test): Likewise.
6294 (signbit_test): Likewise.
6295 (sin_test): Likewise.
6296 (sin_test_tonearest): Likewise.
6297 (sin_test_towardzero): Likewise.
6298 (sin_test_downward): Likewise.
6299 (sin_test_upward): Likewise.
6300 (sincos_test): Likewise.
6301 (sinh_test): Likewise.
6302 (sinh_test_tonearest): Likewise.
6303 (sinh_test_towardzero): Likewise.
6304 (sinh_test_downward): Likewise.
6305 (sinh_test_upward): Likewise.
6306 (sqrt_test): Likewise.
6307 (tan_test): Likewise.
6308 (tan_test_tonearest): Likewise.
6309 (tan_test_towardzero): Likewise.
6310 (tan_test_downward): Likewise.
6311 (tan_test_upward): Likewise.
6312 (tanh_test): Likewise.
6313 (tgamma_test): Likewise.
6314 (trunc_test): Likewise.
6315 (y0_test): Likewise.
6316 (y1_test): Likewise.
6317 (yn_test): Likewise.
6318 (significand_test): Likewise.
6319
bae143d2
OB
63202013-05-24 Ondřej Bílka <neleai@seznam.cz>
6321
6322 [BZ #15381]
6323 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6324
9323d39b
EM
63252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6326
d4ea44a0 6327 [BZ #14894]
9323d39b
EM
6328 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6329 __ppc_mdoio and __ppc_mdoom.
6330 * manual/platform.texi: Document new functions __ppc_yield,
6331 __ppc_mdoio and __ppc_mdoom.
6332
13e23af7
CD
63332013-05-22 Carlos O'Donell <carlos@redhat.com>
6334
6335 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6336 (main): Mention "tls" pseudo-hwcap is legacy.
6337 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6338
351fe550
JM
63392013-05-22 Joseph Myers <joseph@codesourcery.com>
6340
6341 * math/gen-libm-test.pl (parse_args): Output only string of
6342 arguments as text for test name, not full call or descriptions of
6343 tests for extra outputs.
6344 (generate_testfile): Do not pass function name to parse_args.
6345 Generate this_func variable from START.
6346 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6347 field to arg_str.
6348 (struct test_ff_f_data): Likewise.
6349 (test_ff_f_data_nexttoward): Likewise.
6350 (struct test_fi_f_data): Likewise.
6351 (struct test_fl_f_data): Likewise.
6352 (struct test_if_f_data): Likewise.
6353 (struct test_fff_f_data): Likewise.
6354 (struct test_c_f_data): Likewise.
6355 (struct test_f_f1_data): Likewise. Remove field extra_name.
6356 (struct test_fF_f1_data): Likewise.
6357 (struct test_ffI_f1_data): Likewise.
6358 (struct test_c_c_data): Rename test_name field to arg_str.
6359 (struct test_cc_c_data): Likewise.
6360 (struct test_f_i_data): Likewise.
6361 (struct test_ff_i_data): Likewise.
6362 (struct test_f_l_data): Likewise.
6363 (struct test_f_L_data): Likewise.
6364 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6365 and extra2_name.
6366 (COMMON_TEST_SETUP): New macro.
6367 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6368 (COMMON_TEST_CLEANUP): Likewise.
6369 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6370 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6371 macros.
6372 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6373 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6374 macros.
6375 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6376 (RUN_TEST_fff_f): Take argument string. Call new setup and
6377 cleanup macros.
6378 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6379 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6380 macros.
6381 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6382 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6383 macros.
6384 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6385 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6386 cleanup macros.
6387 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6388 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6389 cleanup macros.
6390 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6391 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6392 cleanup macros.
6393 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6394 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6395 macros.
6396 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6397 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6398 macros.
6399 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6400 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6401 macros.
6402 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6403 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6404 cleanup macros.
6405 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6406 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6407 cleanup macros.
6408 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6409 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6410 macros.
6411 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6412 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6413 cleanup macros.
6414 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6415 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6416 macros.
6417 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6418 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6419 macros.
6420 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6421 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6422 cleanup macros.
6423 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6424
85118d4d
EBM
64252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6426
6427 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6428 to _sifields.sigfault.
6429 (si_addr_lsb): Define new macro.
6430 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6433
7a44c18f
CD
64342013-05-03 Carlos O'Donell <carlos at redhat.com>
6435
6436 [BZ #15441]
6437 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6438 returns -1.
6439 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6440 null return -1.
6441 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6442 loading the domain.
6443
b50a7181
JM
64442013-05-22 Joseph Myers <joseph@codesourcery.com>
6445
6446 * math/gen-libm-test.pl (parse_args): Do not include expected
6447 result in test name.
6448 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6451 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454
051063c8
SP
64552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6456
3ce9e010
SP
6457 * benchtests/Makefile: Sort function entries.
6458
051063c8
SP
6459 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6460 tanh, asinh, acosh, atanh.
6461 * benchtests/acos-inputs: New file.
6462 * benchtests/acosh-inputs: New file.
6463 * benchtests/asin-inputs: New file.
6464 * benchtests/asinh-inputs: New file.
6465 * benchtests/atanh-inputs: New file.
6466 * benchtests/cosh-inputs: New file.
6467 * benchtests/log-inputs: New file.
6468 * benchtests/sinh-inputs: New file.
6469 * benchtests/tanh-inputs: New file.
6470
47c22455
DL
64712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6472
6473 [BZ #15339]
6474 * posix/tst-getaddrinfo4.c: New test.
6475 * posix/Makefile (tests): Add it.
6476
3d04f5db
SP
64772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6478
6479 [BZ #15339]
6480 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6481 when no services were used.
6482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6483 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6484
d5dd6189
AS
64852013-05-21 Andreas Schwab <schwab@suse.de>
6486
6487 [BZ #15014]
6488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6489 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6490 successful.
6491 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6492 redundant variable declarations and reallocation of buffer when
6493 parsing as IPv6 address. Always set NSS status when called from
6494 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6495 buffer too small. Correct computation of needed size.
6496 * nss/Makefile (tests): Add test-digits-dots.
6497 * nss/test-digits-dots.c: New test.
6498
fef94eab
SP
64992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6500
6501 * benchtests/Makefile: Remove instructions for adding
6502 benchmark tests.
6503 * benchtests/README: New file to explain how to execute and
6504 enhance the benchmark tests.
6505
e39adf43
AS
65062013-05-21 Andreas Schwab <schwab@suse.de>
6507
6508 [BZ #15493]
6509 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6510 * setjmp/tst-sigsetjmp.c: New test.
6511
b2b671b6
OB
65122013-05-20 Ondřej Bílka <neleai@seznam.cz>
6513
6514 * sysdeps/x86_64/memset.S (memset): New implementation.
6515 (__bzero): Likewise.
6516 (__memset_tail): New function.
6517
2d48b41c
OB
65182013-05-20 Ondřej Bílka <neleai@seznam.cz>
6519
6520 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6521 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6522 __memcpy_sse2_unaligned ifunc selection.
6523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6524 Add memcpy-sse2-unaligned.S.
6525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6526 Add: __memcpy_sse2_unaligned.
6527
f16cc3eb
JM
65282013-05-19 Joseph Myers <joseph@codesourcery.com>
6529
3e694268
JM
6530 [BZ #15490]
6531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6532 math_force_eval before restoring floating-point envrionment.
6533 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6535 Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6537 <math_private.h>.
6538 (__nearbyintl): Use math_force_eval before restoring
6539 floating-point environment.
6540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6541
db62a907
JM
6542 * math/gen-libm-test.pl (special_functions): Remove.
6543 (parse_args): Don't handle TEST_extra. Handle functions with no
6544 return value.
6545 * math/libm-test.inc (struct test_sincos_data): Replace with
6546 struct test_fFF_11_data.
6547 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6548 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6549 (sincos_test_data): Change element type to struct
6550 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6551 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6552 RUN_TEST_LOOP_sincos.
6553 * math/README.libm-test: Don't mention special handling of
6554 individual functions.
6555 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6561
f16cc3eb
JM
6562 * math/gen-libm-test.pl (get_variable): Remove function.
6563 (parse_args): Don't show pointer parameters to call in test
6564 names. Use "extra output N" in test names for extra outputs
6565 rather than naming variables.
6566
3779b5b6
JM
65672013-05-18 Joseph Myers <joseph@codesourcery.com>
6568
2ee094ff
JM
6569 [BZ #15488]
6570 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6571 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6572 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6573 double tests.
6574 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6575 disable.
6576 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6577 check_long_double.
6578
3779b5b6
JM
6579 * math/gen-libm-test.pl (@tests): Remove variable.
6580 ($count): Likewise.
6581 (new_test): Remove function.
6582 (show_exceptions): New function.
6583 (special_functions): Use show_exceptions instead of new_test.
6584 (parse_args): Likewise.
6585 (generate_testfile): Pass only function name in generated call to
6586 print_max_error or print_complex_max_error.
6587 (get_ulps): Do not handle complex tests specially.
6588 (output_test): Rename to ...
6589 (get_all_ulps_for_test): ... this. Return a string rather than
6590 printing to a file. Require ulps to be present.
6591 (output_ulps): Generate arrays rather than #defines.
6592 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6593 (struct ulp_data): New type.
6594 (BUILD_COMPLEX_ULP): Remove macro.
6595 (compare_ulp_data): New function.
6596 (find_ulps): Likewise.
6597 (find_test_ulps): Likewise.
6598 (find_function_ulps): Likewise.
6599 (find_complex_function_ulps): Likewise.
6600 (print_max_error): Determine allowed ulps using
6601 find_function_ulps.
6602 (print_complex_max_error): Determine allowed ulps using
6603 find_complex_function_ulps.
6604 (check_float_internal): Determine max ulps using find_test_ulps.
6605 (check_float): Do not take max_ulp parameter. Update call to
6606 check_float_internal.
6607 (check_complex): Likewise.
6608 (check_int): Do not take max_ulp parameter.
6609 (check_long): Likewise.
6610 (check_bool): Likewise.
6611 (check_longlong): Likewise.
6612 (struct test_f_f_data): Remove max_ulp field.
6613 (struct test_ff_f_data): Likewise.
6614 (struct test_ff_f_data_nexttoward): Likewise.
6615 (struct test_fi_f_data): Likewise.
6616 (struct test_fl_f_data): Likewise.
6617 (struct test_if_f_data): Likewise.
6618 (struct test_fff_f_data): Likewise.
6619 (struct test_c_f_data): Likewise.
6620 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6621 (struct test_fF_f1_data): Likewise.
6622 (struct test_ffI_f1_data): Likewise.
6623 (struct test_c_c_data): Remove max_ulp field.
6624 (struct test_cc_c_data): Likewise.
6625 (struct test_f_i_data): Likewise.
6626 (struct test_ff_i_data): Likewise.
6627 (struct test_f_l_data): Likewise.
6628 (struct test_f_L_data): Likewise.
6629 (struct test_sincos_data): Likewise.
6630 (RUN_TEST_f_f): Do not handle ulps.
6631 (RUN_TEST_LOOP_f_f): Likewise.
6632 (RUN_TEST_2_f): Likewise.
6633 (RUN_TEST_LOOP_2_f): Likewise.
6634 (RUN_TEST_fff_f): Likewise.
6635 (RUN_TEST_LOOP_fff_f): Likewise.
6636 (RUN_TEST_c_f): Likewise.
6637 (RUN_TEST_LOOP_c_f): Likewise.
6638 (RUN_TEST_f_f1): Likewise.
6639 (RUN_TEST_LOOP_f_f1): Likewise.
6640 (RUN_TEST_fF_f1): Likewise.
6641 (RUN_TEST_LOOP_fF_f1): Likewise.
6642 (RUN_TEST_fI_f1): Likewise.
6643 (RUN_TEST_LOOP_fI_f1): Likewise.
6644 (RUN_TEST_ffI_f1): Likewise.
6645 (RUN_TEST_LOOP_ffI_f1): Likewise.
6646 (RUN_TEST_c_c): Likewise.
6647 (RUN_TEST_LOOP_c_c): Likewise.
6648 (RUN_TEST_cc_c): Likewise.
6649 (RUN_TEST_LOOP_cc_c): Likewise.
6650 (RUN_TEST_f_i): Likewise.
6651 (RUN_TEST_LOOP_f_i): Likewise.
6652 (RUN_TEST_f_i_tg): Likewise.
6653 (RUN_TEST_LOOP_f_i_tg): Likewise.
6654 (RUN_TEST_ff_i_tg): Likewise.
6655 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6656 (RUN_TEST_f_b): Likewise.
6657 (RUN_TEST_LOOP_f_b): Likewise.
6658 (RUN_TEST_f_b_tg): Likewise.
6659 (RUN_TEST_LOOP_f_b_tg): Likewise.
6660 (RUN_TEST_f_l): Likewise.
6661 (RUN_TEST_LOOP_f_l): Likewise.
6662 (RUN_TEST_f_L): Likewise.
6663 (RUN_TEST_LOOP_f_L): Likewise.
6664 (RUN_TEST_sincos): Likewise.
6665 (RUN_TEST_LOOP_sincos): Likewise.
6666
8269107f
JM
66672013-05-17 Joseph Myers <joseph@codesourcery.com>
6668
bb38759d
JM
6669 [BZ #15480]
6670 [BZ #15485]
6671 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6672 main case of finite arguments, set rounding mode to FE_TONEAREST
6673 and discard exceptions.
6674 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6675 exceptions.
6676 (remainder_tonearest_test_data): New variable.
6677 (remainder_test_tonearest): New function.
6678 (remainder_towardzero_test_data): New variable.
6679 (remainder_test_towardzero): New function.
6680 (remainder_downward_test_data): New variable.
6681 (remainder_test_downward): New function.
6682 (remainder_upward_test_data): New variable.
6683 (remainder_test_upward): New function.
6684 (main): Call the new test functions.
6685
a00bdcf0
JM
6686 * math/libm-test.inc (struct test_f_f1_data): Remove field
6687 extra_init.
6688 (struct test_fF_f1_data): Likewise.
6689 (struct test_ffI_f1_data): Likewise.
6690 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6691 based on value of EXTRA_EXPECTED.
6692 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6693 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6694 EXTRA_VAR based on value of EXTRA_EXPECTED.
6695 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6696 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6697 EXTRA_VAR based on value of EXTRA_EXPECTED.
6698 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6699 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6700 EXTRA_VAR based on value of EXTRA_EXPECTED.
6701 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6702 * math/gen-libm-test.pl (parse_args): Don't output initializers
6703 for extra output values.
6704
de407f79
JM
6705 * math/libm-test.inc (check_int): Expect result to be exactly
6706 equal to expected value and do not handle ulps.
6707 (check_long): Likewise.
6708 (check_longlong): Likewise.
6709
8269107f
JM
6710 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6711 exceptions.
6712 (cimag_test_data): Likewise.
6713 (conj_test_data): Likewise.
6714 (copysign_test_data): Likewise.
6715 (cproj_test_data): Likewise.
6716 (creal_test_data): Likewise.
6717 (fabs_test_data): Likewise.
6718 (fdim_test_data): Likewise.
6719 (finite_test_data): Likewise.
6720 (floor_test_data): Likewise.
6721 (fmax_test_data): Likewise.
6722 (fmin_test_data): Likewise.
6723 (fmod_test_data): Likewise.
6724 (fpclassify_test_data): Likewise.
6725 (frexp_test_data): Likewise.
6726 (ilogb_test_data): Likewise.
6727 (isfinite_test_data): Likewise.
6728 (isgreater_test_data): Likewise.
6729 (isgreaterequal_test_data): Likewise.
6730 (isinf_test_data): Likewise.
6731 (isless_test_data): Likewise.
6732 (islessequal_test_data): Likewise.
6733 (islessgreater_test_data): Likewise.
6734 (isnan_test_data): Likewise.
6735 (isnormal_test_data): Likewise.
6736 (issignaling_test_data): Likewise.
6737 (isunordered_test_data): Likewise.
6738 (ldexp_test_data): Likewise.
6739 (lrint_test_data): Likewise.
6740 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6741 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6742 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6743 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6744 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6745 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6746 test input.
6747 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6748 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6749 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6750 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6751 that test input.
6752 (lrint_downward_test_data): Test for "inexact" exceptions.
6753 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6754 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6755 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6756 test input.
6757 (lrint_upward_test_data): Test for "inexact" exceptions.
6758 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6759 test input.
6760 (llrint_test_data): Test for "inexact" exceptions.
6761 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6762 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6763 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6764 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6765 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6766 (llrint_downward_test_data): Test for "inexact" exceptions.
6767 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6768 (llrint_upward_test_data): Test for "inexact" exceptions.
6769 (logb_test_data): Likewise.
6770 (logb_downward_test_data): Likewise.
6771 (nextafter_test_data): Likewise.
6772 (nexttoward_test_data): Likewise.
6773 (remainder_test_data): Likewise.
6774 (remquo_test_data): Likewise.
6775 (scalbn_test_data): Likewise.
6776 (scalbln_test_data): Likewise.
6777 (signbit_test_data): Likewise.
6778 (sqrt_test_data): Likewise.
6779 (significand_test_data): Likewise.
6780
48a18de1
SP
67812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6782
6783 [BZ #15424]
6784 * benchtests/bench-modf.c (struct args): Mark arg0 as
6785 volatile.
6786 * scripts/bench.pl: Mark members of struct args as volatile.
6787
13d3b41a
AZ
67882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789
68191c1d 6790 [BZ # 15497]
13d3b41a
AZ
6791 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6792 negative infinity on POWER6 or lower.
6793 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6794
2848b105
MR
67952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6796
6797 [BZ #15442]
6798 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6799 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6800 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6801 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6802 (_FP_SETQNAN): New macro.
6803 (_FP_SETQNAN_SEMIRAW): Likewise.
6804 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6805 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6806 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6807 (FP_EXTEND): Use _FP_FRAC_SNANP.
6808 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6809 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6810 into account.
6811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6812 New macro.
6813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6814 Likewise.
6815
323e5cb7
JM
68162013-05-16 Joseph Myers <joseph@codesourcery.com>
6817
c58b274f
JM
6818 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6819 with DIVIDE_BY_ZERO_EXCEPTION.
6820 (gamma_test_data): Likewise.
6821 (lgamma_test_data): Likewise.
6822 (log_test_data): Likewise.
6823 (log10_test_data): Likewise.
6824 (log2_test_data): Likewise.
6825 (tgamma_test_data): Likewise.
6826
0ab34904
JM
6827 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6828 (acos_test_tonearest): Likewise.
6829 (acos_test_towardzero): Likewise.
6830 (acos_test_downward): Likewise.
6831 (acos_test_upward): Likewise.
6832 (acosh_test): Likewise.
6833 (asin_test): Likewise.
6834 (asin_test_tonearest): Likewise.
6835 (asin_test_towardzero): Likewise.
6836 (asin_test_downward): Likewise.
6837 (asin_test_upward): Likewise.
6838 (asinh_test): Likewise.
6839 (atan_test): Likewise.
6840 (atanh_test): Likewise.
6841 (atan2_test): Likewise.
6842 (cabs_test): Likewise.
6843 (cacos_test): Likewise.
6844 (cacosh_test): Likewise.
6845 (casin_test): Likewise.
6846 (casinh_test): Likewise.
6847 (catan_test): Likewise.
6848 (catanh_test): Likewise.
6849 (cbrt_test): Likewise.
6850 (ccos_test): Likewise.
6851 (ccosh_test): Likewise.
6852 (cexp_test): Likewise.
6853 (clog_test): Likewise.
6854 (clog10_test): Likewise.
6855 (cos_test): Likewise.
6856 (cos_test_tonearest): Likewise.
6857 (cos_test_towardzero): Likewise.
6858 (cos_test_downward): Likewise.
6859 (cos_test_upward): Likewise.
6860 (cosh_test): Likewise.
6861 (cosh_test_tonearest): Likewise.
6862 (cosh_test_towardzero): Likewise.
6863 (cosh_test_downward): Likewise.
6864 (cosh_test_upward): Likewise.
6865 (cpow_test): Likewise.
6866 (csin_test): Likewise.
6867 (csinh_test): Likewise.
6868 (csqrt_test): Likewise.
6869 (ctan_test): Likewise.
6870 (ctan_test_tonearest): Likewise.
6871 (ctan_test_towardzero): Likewise.
6872 (ctan_test_downward): Likewise.
6873 (ctan_test_upward): Likewise.
6874 (ctanh_test): Likewise.
6875 (ctanh_test_tonearest): Likewise.
6876 (ctanh_test_towardzero): Likewise.
6877 (ctanh_test_downward): Likewise.
6878 (ctanh_test_upward): Likewise.
6879 (erf_test): Likewise.
6880 (erfc_test): Likewise.
6881 (exp_test): Likewise.
6882 (exp_test_tonearest): Likewise.
6883 (exp_test_towardzero): Likewise.
6884 (exp_test_downward): Likewise.
6885 (exp_test_upward): Likewise.
6886 (exp10_test): Likewise.
6887 (exp2_test): Likewise.
6888 (expm1_test): Likewise.
6889 (fmod_test): Likewise.
6890 (gamma_test): Likewise.
6891 (hypot_test): Likewise.
6892 (j0_test): Likewise.
6893 (j1_test): Likewise.
6894 (jn_test): Likewise.
6895 (lgamma_test): Likewise.
6896 (log_test): Likewise.
6897 (log10_test): Likewise.
6898 (log1p_test): Likewise.
6899 (log2_test): Likewise.
6900 (logb_test_downward): Likewise.
6901 (pow_test): Likewise.
6902 (pow_test_tonearest): Likewise.
6903 (pow_test_towardzero): Likewise.
6904 (pow_test_downward): Likewise.
6905 (pow_test_upward): Likewise.
6906 (remainder_test): Likewise.
6907 (remquo_test): Likewise.
6908 (sin_test): Likewise.
6909 (sin_test_tonearest): Likewise.
6910 (sin_test_towardzero): Likewise.
6911 (sin_test_downward): Likewise.
6912 (sin_test_upward): Likewise.
6913 (sincos_test): Likewise.
6914 (sinh_test): Likewise.
6915 (sinh_test_tonearest): Likewise.
6916 (sinh_test_towardzero): Likewise.
6917 (sinh_test_downward): Likewise.
6918 (sinh_test_upward): Likewise.
6919 (sqrt_test): Likewise.
6920 (tan_test): Likewise.
6921 (tan_test_tonearest): Likewise.
6922 (tan_test_towardzero): Likewise.
6923 (tan_test_downward): Likewise.
6924 (tan_test_upward): Likewise.
6925 (tanh_test): Likewise.
6926 (tgamma_test): Likewise.
6927 (y0_test): Likewise.
6928 (y1_test): Likewise.
6929 (yn_test): Likewise.
6930
323e5cb7
JM
6931 * math/gen-libm-test.pl (adjust_arg): Remove function.
6932 (special_function): Remove argument $in_func. Only handle
6933 generating output for tables of tests, not inside functions.
6934 (parse_args): Likewise.
6935 (generate_testfile): Remove variable $in_func. Update call to
6936 parse_args.
6937 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6938 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6939 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6940 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6941 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6942 (MAX_VALUE_INIT): Rename macro to max_value.
6943 (MIN_VALUE_INIT): Rename macro to min_value.
6944 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6945 (plus_zero): Remove variable.
6946 (minus_zero): Likewise.
6947 (plus_infty): Likewise.
6948 (minus_infty): Likewise.
6949 (qnan_value): Likewise.
6950 (max_value): Likewise.
6951 (min_value): Likewise.
6952 (min_subnorm_value): Likewise.
6953
e054f494
RA
69542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6955
6956 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6957 uint64_t or uint32_t usage.
6958 * crypt/sha256-block.c: Likewise.
6959 * crypt/sha256-crypt.c: Likewise.
6960 * crypt/sha256.c: Likewise.
6961 * crypt/sha512-block.c: Likewise.
6962 * crypt/sha512-crypt.c: Likewise.
6963 * crypt/sha512.c: Likewise.
6964 * debug/backtrace-tst.c: Likewise.
6965 * debug/pcprofiledump.c: Likewise.
6966 * elf/cache.c: Likewise.
6967 * elf/dl-cache.c: Likewise.
6968 * elf/dl-misc.c: Likewise.
6969 * elf/dl-profile.c: Likewise.
6970 * elf/dl-support.c: Likewise.
6971 * elf/ldconfig.c: Likewise.
6972 * elf/sprof.c: Likewise.
6973 * iconv/dummy-repertoire.c: Likewise.
6974 * iconv/iconv_charmap.c: Likewise.
6975 * iconv/skeleton.c: Likewise.
6976 * iconvdata/8bit-generic.c: Likewise.
6977 * iconvdata/cp737.h: Likewise.
6978 * iconvdata/cp775.h: Likewise.
6979 * iconvdata/ibm1008.h: Likewise.
6980 * iconvdata/ibm1025.h: Likewise.
6981 * iconvdata/ibm1046.h: Likewise.
6982 * iconvdata/ibm1097.h: Likewise.
6983 * iconvdata/ibm1112.h: Likewise.
6984 * iconvdata/ibm1122.h: Likewise.
6985 * iconvdata/ibm1123.h: Likewise.
6986 * iconvdata/ibm1124.h: Likewise.
6987 * iconvdata/ibm1129.h: Likewise.
6988 * iconvdata/ibm1130.h: Likewise.
6989 * iconvdata/ibm1132.h: Likewise.
6990 * iconvdata/ibm1133.h: Likewise.
6991 * iconvdata/ibm1137.h: Likewise.
6992 * iconvdata/ibm1140.h: Likewise.
6993 * iconvdata/ibm1141.h: Likewise.
6994 * iconvdata/ibm1142.h: Likewise.
6995 * iconvdata/ibm1143.h: Likewise.
6996 * iconvdata/ibm1144.h: Likewise.
6997 * iconvdata/ibm1145.h: Likewise.
6998 * iconvdata/ibm1146.h: Likewise.
6999 * iconvdata/ibm1147.h: Likewise.
7000 * iconvdata/ibm1148.h: Likewise.
7001 * iconvdata/ibm1149.h: Likewise.
7002 * iconvdata/ibm1153.h: Likewise.
7003 * iconvdata/ibm1154.h: Likewise.
7004 * iconvdata/ibm1155.h: Likewise.
7005 * iconvdata/ibm1156.h: Likewise.
7006 * iconvdata/ibm1157.h: Likewise.
7007 * iconvdata/ibm1158.h: Likewise.
7008 * iconvdata/ibm1160.h: Likewise.
7009 * iconvdata/ibm1161.h: Likewise.
7010 * iconvdata/ibm1162.h: Likewise.
7011 * iconvdata/ibm1163.h: Likewise.
7012 * iconvdata/ibm1164.h: Likewise.
7013 * iconvdata/ibm1166.h: Likewise.
7014 * iconvdata/ibm1167.h: Likewise.
7015 * iconvdata/ibm12712.h: Likewise.
7016 * iconvdata/ibm1390.h: Likewise.
7017 * iconvdata/ibm1399.h: Likewise.
7018 * iconvdata/ibm16804.h: Likewise.
7019 * iconvdata/ibm4517.h: Likewise.
7020 * iconvdata/ibm4899.h: Likewise.
7021 * iconvdata/ibm4909.h: Likewise.
7022 * iconvdata/ibm4971.h: Likewise.
7023 * iconvdata/ibm5347.h: Likewise.
7024 * iconvdata/ibm803.h: Likewise.
7025 * iconvdata/ibm856.h: Likewise.
7026 * iconvdata/ibm901.h: Likewise.
7027 * iconvdata/ibm902.h: Likewise.
7028 * iconvdata/ibm9030.h: Likewise.
7029 * iconvdata/ibm9066.h: Likewise.
7030 * iconvdata/ibm921.h: Likewise.
7031 * iconvdata/ibm922.h: Likewise.
7032 * iconvdata/ibm9448.h: Likewise.
7033 * iconvdata/isiri-3342.h: Likewise.
7034 * iconvdata/jis0201.h: Likewise.
7035 * include/link.h: Likewise.
7036 * include/netdb.h: Likewise.
7037 * inet/check_native.c: Likewise.
7038 * inet/check_pf.c: Likewise.
7039 * inet/getipv4sourcefilter.c: Likewise.
7040 * inet/getnameinfo.c: Likewise.
7041 * inet/getsourcefilter.c: Likewise.
7042 * inet/htonl.c: Likewise.
7043 * inet/setipv4sourcefilter.c: Likewise.
7044 * inet/setsourcefilter.c: Likewise.
7045 * inet/test-inet6_opt.c: Likewise.
7046 * inet/tst-network.c: Likewise.
7047 * locale/C-collate.c: Likewise.
7048 * locale/C-ctype.c: Likewise.
7049 * locale/C-time.c: Likewise.
7050 * locale/C-translit.h: Likewise.
7051 * locale/loadarchive.c: Likewise.
7052 * locale/programs/3level.h: Likewise.
7053 * locale/programs/charmap.c: Likewise.
7054 * locale/programs/charmap.h: Likewise.
7055 * locale/programs/ld-address.c: Likewise.
7056 * locale/programs/ld-collate.c: Likewise.
7057 * locale/programs/ld-ctype.c: Likewise.
7058 * locale/programs/ld-identification.c: Likewise.
7059 * locale/programs/ld-measurement.c: Likewise.
7060 * locale/programs/ld-messages.c: Likewise.
7061 * locale/programs/ld-monetary.c: Likewise.
7062 * locale/programs/ld-name.c: Likewise.
7063 * locale/programs/ld-numeric.c: Likewise.
7064 * locale/programs/ld-paper.c: Likewise.
7065 * locale/programs/ld-telephone.c: Likewise.
7066 * locale/programs/ld-time.c: Likewise.
7067 * locale/programs/linereader.c: Likewise.
7068 * locale/programs/locale.c: Likewise.
7069 * locale/programs/locarchive.c: Likewise.
7070 * locale/programs/locfile.h: Likewise.
7071 * locale/programs/repertoire.c: Likewise.
7072 * locale/programs/simple-hash.c: Likewise.
7073 * locale/programs/simple-hash.h: Likewise.
7074 * malloc/memusage.c: Likewise.
7075 * malloc/memusagestat.c: Likewise.
7076 * nis/nis_defaults.c: Likewise.
7077 * nis/nis_hash.c: Likewise.
7078 * nis/nis_print.c: Likewise.
7079 * nis/nis_xdr.c: Likewise.
7080 * nscd/connections.c: Likewise.
7081 * nscd/hstcache.c: Likewise.
7082 * nscd/nscd_gethst_r.c: Likewise.
7083 * nscd/nscd_getserv_r.c: Likewise.
7084 * nscd/nscd_helper.c: Likewise.
7085 * nscd/servicescache.c: Likewise.
7086 * nss/makedb.c: Likewise.
7087 * nss/nss_db/db-XXX.c: Likewise.
7088 * nss/nss_db/db-initgroups.c: Likewise.
7089 * nss/nss_db/db-netgrp.c: Likewise.
7090 * nss/nss_files/files-network.c: Likewise.
7091 * nss/nss_files/files-parse.c: Likewise.
7092 * posix/bug-regex5.c: Likewise.
7093 * posix/fnmatch_loop.c: Likewise.
7094 * posix/regcomp.c: Likewise.
7095 * posix/regexec.c: Likewise.
7096 * posix/tst-rfc3484-2.c: Likewise.
7097 * posix/tst-rfc3484-3.c: Likewise.
7098 * posix/tst-rfc3484.c: Likewise.
7099 * resolv/nss_dns/dns-canon.c: Likewise.
7100 * resolv/nss_dns/dns-network.c: Likewise.
7101 * resolv/res_init.c: Likewise.
7102 * resolv/res_mkquery.c: Likewise.
7103 * resolv/tst-aton.c: Likewise.
7104 * stdlib/cxa_atexit.c: Likewise.
7105 * stdlib/cxa_finalize.c: Likewise.
7106 * stdlib/gen-fpioconst.c: Likewise.
7107 * stdlib/strtol_l.c: Likewise.
7108 * string/tst-endian.c: Likewise.
7109 * sunrpc/auth_des.c: Likewise.
7110 * sunrpc/clnt_udp.c: Likewise.
7111 * sunrpc/rtime.c: Likewise.
7112 * sunrpc/svcauth_des.c: Likewise.
7113 * sunrpc/xdr.c: Likewise.
7114 * sunrpc/xdr_intXX_t.c: Likewise.
7115 * sunrpc/xdr_rec.c: Likewise.
7116 * sysdeps/generic/ldconfig.h: Likewise.
7117 * sysdeps/generic/ldsodefs.h: Likewise.
7118 * sysdeps/generic/memusage.h: Likewise.
7119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7121 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7129 * sysdeps/posix/getaddrinfo.c: Likewise.
7130 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7131 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7132 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7134 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7135 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7136 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7137 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7138 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7139 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7140 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7142 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7143 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7145 * sysdeps/x86_64/dl-tls.h: Likewise.
7146 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7147 * time/alt_digit.c: Likewise.
7148 * time/era.c: Likewise.
7149 * wcsmbs/tst-c16c32-1.c: Likewise.
7150
8c75f674
JM
71512013-05-16 Joseph Myers <joseph@codesourcery.com>
7152
7153 * math/libm-test.inc (struct test_sincos_data): New type.
7154 (RUN_TEST_LOOP_sincos): New macro.
7155 (sincos_test_data): New variable.
7156 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7157
e6e49e59
RH
71582013-05-16 Richard Henderson <rth@redhat.com>
7159
7160 * math/atest-exp2.c (LIMB64): New macro.
7161 (CONSTSZ): New macro.
7162 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7163 (hexdig): Move ...
7164 (print_mpn_fp): ... to function scope.
7165 (read_mpn_hex): Remove.
7166 (get_log2): Remove.
7167 (exp2_mpn): Use mp_log2.
7168 (main): Use mp_exp1.
7169
15c7c18d
JM
71702013-05-16 Joseph Myers <joseph@codesourcery.com>
7171
105a07df
JM
7172 * math/libm-test.inc: Remove comment about not testing "inexact"
7173 exceptions.
7174 (INEXACT_EXCEPTION): New macro.
7175 (NO_INEXACT_EXCEPTION): Likewise.
7176 (INVALID_EXCEPTION_OK): Update value.
7177 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7178 (OVERFLOW_EXCEPTION_OK): Likewise.
7179 (UNDERFLOW_EXCEPTION_OK): Likewise.
7180 (IGNORE_ZERO_INF_SIGN): Likewise.
7181 (ERRNO_UNCHANGED): Likewise.
7182 (ERRNO_EDOM): Likewise.
7183 (ERRNO_ERANGE): Likewise.
7184 (test_exceptions): Handle testing "inexact" exceptions.
7185 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7186 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7187 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7188 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7189 INEXACT_EXCEPTION.
7190 (rint_towardzero_test_data): Likewise.
7191 (rint_downward_test_data): Likewise.
7192 (rint_upward_test_data): Likewise.
7193
e9eee333
JM
7194 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7195 with OVERFLOW_EXCEPTION.
7196 (exp10_test_data): Likewise.
7197 (exp2_test_data): Likewise.
7198 (expm1_test_data): Likewise.
7199 (lgamma_test_data): Likewise.
7200 (pow_test_data): Likewise.
7201 (tgamma_test_data): Likewise.
7202 (yn_test_data): Remove duplicate test of overflow.
7203
1c38ff73
JM
7204 * math/libm-test.inc (struct test_cc_c_data): New type.
7205 (RUN_TEST_LOOP_cc_c): New macro.
7206 (cpow_test_data): New variable.
7207 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7208
15c7c18d
JM
7209 * math/libm-test.inc (struct test_f_L_data): New type.
7210 (RUN_TEST_LOOP_f_L): New macro.
7211 (llrint_test_data): New variable.
7212 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7213 (llrint_tonearest_test_data): New variable.
7214 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7215 (llrint_towardzero_test_data): New variable.
7216 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7217 (llrint_downward_test_data): New variable.
7218 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7219 (llrint_upward_test_data): New variable.
7220 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7221 (llround_test_data): New variable.
7222 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7223
f137ff13
PC
72242013-05-13 Peter Collingbourne <pcc@google.com>
7225
7226 * math/atest-exp2.c (get_log2): Remove const attribute.
7227
3608cb24
JM
72282013-05-15 Joseph Myers <joseph@codesourcery.com>
7229
7230 * math/libm-test.inc (struct test_f_l_data): New type.
7231 (RUN_TEST_LOOP_f_l): New macro.
7232 (lrint_test_data): New variable.
7233 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7234 (lrint_tonearest_test_data): New variable.
7235 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7236 (lrint_towardzero_test_data): New variable.
7237 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7238 (lrint_downward_test_data): New variable.
7239 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7240 (lrint_upward_test_data): New variable.
7241 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7242 (lround_test_data): New variable.
7243 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7244
39b1f617
PC
72452013-05-15 Peter Collingbourne <pcc@google.com>
7246
1deff3dc
PC
7247 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7248 (EXTRACT_WORDS64) Use where appropriate.
7249 (INSERT_WORDS64) Likewise.
7250
791f3ba0
PC
7251 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7252 constraints with x constraints.
7253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7254
39b1f617
PC
7255 * malloc/obstack.c (_obstack_compat): Add initializer.
7256
12fba011
EM
72572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7258
7259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7260 si_trapno and add si_addr_lsb to _sifields.sigfault.
7261 (si_trapno): Remove macro.
7262 (si_addr_lsb): Define new macro.
7263 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7264
d369f531
JM
72652013-05-15 Joseph Myers <joseph@codesourcery.com>
7266
b861c6c4
JM
7267 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7268 instead of TEST_f_l.
7269 (llrint_test_tonearest): Likewise.
7270 (llrint_test_towardzero): Likewise.
7271 (llrint_test_downward): Likewise.
7272 (llrint_test_upward): Likewise.
7273 (llround_test): Likewise.
7274
7abeee12
JM
7275 * math/libm-test.inc (struct test_f_i_data): Add comment.
7276 (RUN_TEST_LOOP_f_b): New macro.
7277 (RUN_TEST_LOOP_f_b_tg): Likewise.
7278 (finite_test_data): New variable.
7279 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7280 (isfinite_test_data): New variable.
7281 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7282 (isinf_test_data): New variable.
7283 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7284 (isnan_test_data): New variable.
7285 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7286 (isnormal_test_data): New variable.
7287 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7288 (issignaling_test_data): New variable.
7289 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7290 (signbit_test_data): New variable.
7291 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7292
cbe8c4d3
JM
7293 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7294 with INVALID_EXCEPTION.
7295 (acosh_test_data): Likewise.
7296 (asin_test_data): Likewise.
7297 (atanh_test_data): Likewise.
7298 (fmod_test_data): Likewise.
7299 (log_test_data): Likewise.
7300 (log10_test_data): Likewise.
7301 (log2_test_data): Likewise.
7302 (pow_test_data): Likewise.
7303 (sqrt_test_data): Likewise.
7304 (y0_test_data): Likewise.
7305 (y1_test_data): Likewise.
7306 (yn_test_data): Likewise.
7307
5575c0e5
JM
7308 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7309 function contents.
7310
d369f531
JM
7311 * math/libm-test.inc (struct test_ff_i_data): New type.
7312 (RUN_TEST_LOOP_ff_i_tg): New macro.
7313 (isgreater_test_data): New variable.
7314 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7315 (isgreaterequal_test_data): New variable.
7316 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7317 (isless_test_data): New variable.
7318 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7319 (islessequal_test_data): New variable.
7320 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7321 (islessgreater_test_data): New variable.
7322 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7323 (isunordered_test_data): New variable.
7324 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7325
781fd748
DM
73262013-05-14 David S. Miller <davem@davemloft.net>
7327
7328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7329
87aa21df
JM
73302013-05-14 Joseph Myers <joseph@codesourcery.com>
7331
5e908270
JM
7332 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7333
f71172e5
JM
7334 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7335 extra_test to int.
7336 (struct test_f_i_data): Change type of max_ulp to int.
7337
8cfa635a
JM
7338 * math/libm-test.inc (test_ffI_f1_data): New type.
7339 (RUN_TEST_LOOP_ffI_f1): New macro.
7340 (remquo_test_data): New variable.
7341 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7342
2bcb36b2
JM
7343 * setjmp/tst-setjmp-fp.c: New file.
7344 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7345 (link-libm): New variable.
7346 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7347
acbd839a
JM
7348 * math/libm-test.inc (struct test_f_i_data): New type.
7349 (RUN_TEST_LOOP_f_i): New macro.
7350 (RUN_TEST_LOOP_f_i_tg): Likewise.
7351 (fpclassify_test_data): New variable.
7352 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7353 (ilogb_test_data): New variable.
7354 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7355
e414d745
JM
7356 * math/libm-test.inc (scalbln_test): Correct function name in END
7357 call.
7358
d9c2a0fd
JM
7359 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7360 (RUN_TEST_LOOP_fI_f1): New macro.
7361 (frexp_test_data): New variable.
7362 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7363
9dc9095d
JM
7364 * math/libm-test.inc (struct test_fF_f1_data): New type.
7365 (RUN_TEST_LOOP_fF_f1): New macro.
7366 (modf_test_data): New variable.
7367 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7368
87aa21df
JM
7369 * math/libm-test.inc (struct test_f_f1_data): New type.
7370 (RUN_TEST_LOOP_f_f1): New macro.
7371 (gamma_test_data): New variable.
7372 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7373 (lgamma_test_data): New variable.
7374 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7375
141af660
CD
73762013-05-13 Carlos O'Donell <carlos@redhat.com>
7377
7378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7379 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7380 (main): Comment "tls" pseudo-hwcap.
7381
6d33265c
JM
73822013-05-13 Joseph Myers <joseph@codesourcery.com>
7383
68fc074c
JM
7384 * math/libm-test.inc (struct test_fl_f_data): New type.
7385 (RUN_TEST_LOOP_fl_f): New variable.
7386 (scalbln_test_data): New variable.
7387 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7388
243216e1
JM
7389 * math/libm-test.inc (struct test_fi_f_data): New type.
7390 (RUN_TEST_LOOP_fi_f): New macro.
7391 (ldexp_test_data): New variable.
7392 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7393 (scalbn_test_data): New variable.
7394 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7395
6a1992e2
JM
7396 * math/libm-test.inc (struct test_c_f_data): New type.
7397 (RUN_TEST_LOOP_c_f): New macro.
7398 (cabs_test_data): New variable.
7399 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7400 (carg_test_data): New variable.
7401 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7402 (cimag_test_data): New variable.
7403 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7404 (creal_test_data): New variable.
7405 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7406
0e400df5
JM
7407 * math/libm-test.inc (struct test_if_f_data): New type.
7408 (RUN_TEST_LOOP_if_f): New macro.
7409 (jn_test_data): New variable.
7410 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7411 (yn_test_data): New variable.
7412 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7413
6d33265c
JM
7414 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7415
f98ece5f
AZ
74162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7417
7418 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7419 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7420
0f7d347b
SP
74212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7422
43fe811b
SP
7423 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7424 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7425 (bench-deps): Add bench-timing.h.
7426 * benchtests-bench-skeleton.c: Include bench-timing.h.
7427 (main): Use TIMING_* macros instead of clock_gettime.
7428 * benchtests/bench-timing.h: New file.
7429
0f7d347b
SP
7430 [BZ #14582]
7431 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7432 Renamed from _LIB_VERSION.
7433 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7434
601a3a5f
JM
74352013-05-12 Joseph Myers <joseph@codesourcery.com>
7436
4f184d30
JM
7437 * math/libm-test.inc (struct test_fff_f_data): New type.
7438 (RUN_TEST_LOOP_fff_f): New macro.
7439 (fma_test_data): New variable.
7440 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7441 (fma_towardzero_test_data): New variable.
7442 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7443 (fma_downward_test_data): New variable.
7444 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7445 (fma_upward_test_data): New variable.
7446 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7447
08198877
JM
7448 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7449 (struct test_c_c_data): New type.
7450 (RUN_TEST_LOOP_c_c): New macro.
7451 (cacos_test_data): New variable.
7452 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7453 (cacosh_test_data): New variable.
7454 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7455 (casin_test_data): New variable.
7456 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7457 (casinh_test_data): New variable.
7458 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7459 (catan_test_data): New variable.
7460 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7461 (catanh_test_data): New variable.
7462 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7463 (ccos_test_data): New variable.
7464 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7465 (ccosh_test_data): New variable.
7466 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7467 (cexp_test_data): New variable.
7468 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7469 (clog_test_data): New variable.
7470 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7471 (clog10_test_data): New variable.
7472 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7473 (conj_test_data): New variable.
7474 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7475 (cproj_test_data): New variable.
7476 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7477 (csin_test_data): New variable.
7478 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7479 (csinh_test_data): New variable.
7480 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7481 (csqrt_test_data): New variable.
7482 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7483 (ctan_test_data): New variable.
7484 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7485 (ctan_tonearest_test_data): New variable.
7486 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7487 (ctan_towardzero_test_data): New variable.
7488 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7489 (ctan_downward_test_data): New variable.
7490 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7491 (ctan_upward_test_data): New variable.
7492 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7493 (ctanh_test_data): New variable.
7494 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7495 (ctanh_tonearest_test_data): New variable.
7496 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7497 (ctanh_towardzero_test_data): New variable.
7498 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7499 (ctanh_downward_test_data): New variable.
7500 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7501 (ctanh_upward_test_data): New variable.
7502 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7503 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7504 of BUILD_COMPLEX.
7505
601a3a5f
JM
7506 * math/libm-test.inc (struct test_ff_f_data): New type.
7507 (struct test_ff_f_data_nexttoward): Likewise.
7508 (RUN_TEST_LOOP_2_f): New macro.
7509 (RUN_TEST_LOOP_ff_f): Likewise.
7510 (atan2_test_data): New variable.
7511 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7512 (copysign_test_data): New variable.
7513 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7514 (fdim_test_data): New variable.
7515 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7516 (fmax_test_data): New variable.
7517 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7518 (fmin_test_data): New variable.
7519 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7520 (fmod_test_data): New variable.
7521 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7522 (hypot_test_data): New variable.
7523 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7524 (nextafter_test_data): New variable.
7525 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7526 (nexttoward_test_data): New variable.
7527 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7528 (pow_test_data): New variable.
7529 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7530 (pow_tonearest_test_data): New variable.
7531 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7532 (pow_towardzero_test_data): New variable.
7533 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7534 (pow_downward_test_data): New variable.
7535 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7536 (pow_upward_test_data): New variable.
7537 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7538 (remainder_test_data): New variable.
7539 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7540 (scalb_test_data): New variable.
7541 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543
74c57478
JM
75442013-05-11 Joseph Myers <joseph@codesourcery.com>
7545
8329e4da
JM
7546 * math/libm-test.inc (fma_test): Use max_value instead of local
7547 variable fltmax.
7548 (nextafter_test): Likewise.
7549
74c57478
JM
7550 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7551 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7552 (acos_downward_test_data): New variable.
7553 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7554 (acos_upward_test_data): New variable.
7555 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7556 (acosh_test_data): New variable.
7557 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7558 (asin_test_data): New variable.
7559 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7560 (asin_tonearest_test_data): New variable.
7561 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7562 (asin_towardzero_test_data): New variable.
7563 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7564 (asin_downward_test_data): New variable.
7565 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7566 (asin_upward_test_data): New variable.
7567 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7568 (asinh_test_data): New variable.
7569 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7570 (atan_test_data): New variable.
7571 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7572 (atanh_test_data): New variable.
7573 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7574 (cbrt_test_data): New variable.
7575 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7576 (ceil_test_data): New variable.
7577 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7578 (cos_test_data): New variable.
7579 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7580 (cos_tonearest_test_data): New variable.
7581 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7582 (cos_towardzero_test_data): New variable.
7583 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7584 (cos_downward_test_data): New variable.
7585 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7586 (cos_upward_test_data): New variable.
7587 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7588 (cosh_test_data): New variable.
7589 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7590 (cosh_tonearest_test_data): New variable.
7591 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7592 (cosh_towardzero_test_data): New variable.
7593 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7594 (cosh_downward_test_data): New variable.
7595 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7596 (cosh_upward_test_data): New variable.
7597 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7598 (erf_test_data): New variable.
7599 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7600 (erfc_test_data): New variable.
7601 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7602 (exp_test_data): New variable.
7603 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7604 (exp_tonearest_test_data): New variable.
7605 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7606 (exp_towardzero_test_data): New variable.
7607 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7608 (exp_downward_test_data): New variable.
7609 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7610 (exp_upward_test_data): New variable.
7611 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7612 (exp10_test_data): New variable.
7613 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7614 (exp2_test_data): New variable.
7615 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7616 (expm1_test_data): New variable.
7617 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7618 (fabs_test_data): New variable.
7619 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7620 (floor_test_data): New variable.
7621 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7622 (j0_test_data): New variable.
7623 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7624 (j1_test_data): New variable.
7625 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7626 (log_test_data): New variable.
7627 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7628 (log10_test_data): New variable.
7629 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7630 (log1p_test_data): New variable.
7631 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7632 (log2_test_data): New variable.
7633 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7634 (logb_test_data): New variable.
7635 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7636 (logb_downward_test_data): New variable.
7637 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7638 (nearbyint_test_data): New variable.
7639 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7640 (rint_test_data): New variable.
7641 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7642 (rint_tonearest_test_data): New variable.
7643 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7644 (rint_towardzero_test_data): New variable.
7645 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7646 (rint_downward_test_data): New variable.
7647 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7648 (rint_upward_test_data): New variable.
7649 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7650 (round_test_data): New variable.
7651 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7652 (sin_test_data): New variable.
7653 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7654 (sin_tonearest_test_data): New variable.
7655 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7656 (sin_towardzero_test_data): New variable.
7657 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7658 (sin_downward_test_data): New variable.
7659 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7660 (sin_upward_test_data): New variable.
7661 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7662 (sinh_test_data): New variable.
7663 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7664 (sinh_tonearest_test_data): New variable.
7665 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7666 (sinh_towardzero_test_data): New variable.
7667 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7668 (sinh_downward_test_data): New variable.
7669 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7670 (sinh_upward_test_data): New variable.
7671 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7672 (sqrt_test_data): New variable.
7673 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7674 (tan_test_data): New variable.
7675 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7676 (tan_tonearest_test_data): New variable.
7677 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7678 (tan_towardzero_test_data): New variable.
7679 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7680 (tan_downward_test_data): New variable.
7681 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7682 (tan_upward_test_data): New variable.
7683 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7684 (tanh_test_data): New variable.
7685 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7686 (tgamma_test_data): New variable.
7687 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7688 (trunc_test_data): New variable.
7689 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7690 (y0_test_data): New variable.
7691 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7692 (y1_test_data): New variable.
7693 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7694 (significand_test_data): New variable.
7695 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7696
7187d844
CG
76972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7698
7699 [BZ #12387]
7700 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7701
f63fae73
PT
77022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7703
7704 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7705
8a67a4b3
AJ
77062013-05-10 Andreas Jaeger <aj@suse.de>
7707
7708 [BZ #15448]
7709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7710 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7711
51df539d
JM
77122013-05-10 Joseph Myers <joseph@codesourcery.com>
7713
7714 * math/gen-libm-test.pl (adjust_arg): New function.
7715 (special_functions): Handle generating output in both functions
7716 and arrays.
7717 (parse_args): Likewise.
7718 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7719 $in_func argument to parse_args.
7720 * math/libm-test.inc (struct test_f_f_data): New type.
7721 (IF_ROUND_INIT_): New macro.
7722 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7723 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7724 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7725 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7726 (ROUND_RESTORE_): Likewise.
7727 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7728 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7729 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7730 (ROUND_RESTORE_FE_UPWARD): Likewise.
7731 (RUN_TEST_LOOP_f_f): New macro.
7732 (acos_test_data): New variable.
7733 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7734 (acos_tonearest_test_data): New variable.
7735 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7736
5c637fe5
SP
77372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7738
7739 * benchtests/bench-skeleton.c (startup): Fix coding style.
7740
ab2b9461
JM
77412013-05-10 Joseph Myers <joseph@codesourcery.com>
7742
7743 [BZ #6809]
7744 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7745 negative infinity argument.
7746 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7747 negative infinity argument.
7748 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7749 negative infinity argument.
7750 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7751 domain errors.
7752
4c0fe6fe
FW
77532013-05-10 Florian Weimer <fweimer@redhat.com>
7754
7755 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7756 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7757 * iconv/iconv_prog.c (main): Likewise.
7758 * locale/programs/charmap-dir.c (charmap_readdir)
7759 (fopen_uncompressed): Likewise.
7760 * locale/programs/locfile.c (siblings_uncached)
7761 (write_locale_data): Use lstat64 instead of lstat.
7762 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7763 stat.
7764
a3375d29
AJ
77652013-05-10 Andreas Jaeger <aj@suse.de>
7766
7767 [BZ #15395]
7768 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7769 localization.
7770 Include <locale.h>.
7771
36129722
CD
77722013-05-09 Carlos O'Donell <carlos@redhat.com>
7773
7774 * elf/dl-close.c (_dl_close_worker): Add comments.
7775
faa7f811
JM
77762013-05-09 Joseph Myers <joseph@codesourcery.com>
7777
ed41ffef
JM
7778 [BZ #15359]
7779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7780 high part of pi/2.
7781 (__ieee754_rem_pio2l): Update comments.
7782
d0213cd0
JM
7783 [BZ #15429]
7784 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7785 high part of pi/2.
7786 (__ieee754_rem_pio2l): Update comments.
7787
0d3e777a
JM
7788 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7789 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7790
24f56066
JM
7791 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7792 M_PI_4l.
7793
faa7f811
JM
7794 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7795 (M_PI_34_LOG10El): Likewise.
7796 (M_PI2_LOG10El): Likewise.
7797 (M_PI4_LOG10El): Likewise.
7798 (M_PI_LOG10El): Likewise.
7799
e9a5e0fd
AZ
78002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7801
7802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7803
d8cd06db
JM
78042013-05-08 Joseph Myers <joseph@codesourcery.com>
7805
a0d9f9d7
JM
7806 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7807 (MINUS_ZERO_INIT): Likewise.
7808 (PLUS_INFTY_INIT): Likewise.
7809 (MINUS_INFTY_INIT): Likewise.
7810 (QNAN_VALUE_INIT): Likewise.
7811 (MAX_VALUE_INIT): Likewise.
7812 (MIN_VALUE_INIT): Likewise.
7813 (MIN_SUBNORM_VALUE_INIT): Likewise.
7814 (plus_zero): Initialize with PLUS_ZERO_INIT.
7815 (minus_zero): Initialize with MINUS_ZERO_INIT.
7816 (plus_infty): Initialize with PLUS_INFTY_INIT.
7817 (minus_infty): Initialize with MINUS_INFTY_INIT.
7818 (qnan_value): Initialize with QNAN_VALUE_INIT.
7819 (max_value): Initialize with MAX_VALUE_INIT.
7820 (min_value): Initialize with MIN_VALUE_INIT.
7821 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7822
ae08db3b
JM
7823 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7824 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7825 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7826 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7827
f44bf14a
JM
7828 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7829 (RUN_TEST_2_f): Likewise.
7830 (RUN_TEST_ff_f): Likewise.
7831 (RUN_TEST_fi_f): Likewise.
7832 (RUN_TEST_fl_f): Likewise.
7833 (RUN_TEST_fff_f): Likewise.
7834 (RUN_TEST_c_f): Likewise.
7835 (RUN_TEST_f_f1): Likewise.
7836 (RUN_TEST_fF_f1): Likewise.
7837 (RUN_TEST_fI_f1): Likewise.
7838 (RUN_TEST_ffI_f1): Likewise.
7839 (RUN_TEST_c_c): Likewise.
7840 (RUN_TEST_cc_c): Likewise.
7841 (RUN_TEST_f_i): Likewise.
7842 (RUN_TEST_f_i_tg): Likewise.
7843 (RUN_TEST_ff_i_tg): Likewise.
7844 (RUN_TEST_f_b): Likewise.
7845 (RUN_TEST_f_b_tg): Likewise.
7846 (RUN_TEST_f_l): Likewise.
7847 (RUN_TEST_f_L): Likewise.
7848 (RUN_TEST_sincos): Likewise.
7849 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7850 whether to show exceptions. Do not include ");\n" in return
7851 value.
7852 (special_functions): Output call to RUN_TEST_sincos instead of
7853 check_float calls. Update calls to new_test.
7854 (parse_args): Output call to single RUN_TEST_* macro instead of
7855 check_* calls and other assignments. Update calls to new_test.
7856
d8cd06db
JM
7857 [BZ #2546]
7858 [BZ #2560]
7859 [BZ #5159]
7860 [BZ #15426]
7861 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7862 input to result for tgamma overflow.
7863 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7864 (gamma_coeff): New variable.
7865 (NCOEFF): New macro.
7866 (gamma_positive): New function.
7867 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7868 underflow here. Use gamma_positive instead of exp (lgamma) for
7869 other arguments.
7870 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7871 (gamma_coeff): New variable.
7872 (NCOEFF): New macro.
7873 (gammaf_positive): New function.
7874 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7875 underflow here. Use gamma_positive instead of exp (lgamma) for
7876 other arguments.
7877 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7878 (gamma_coeff): New variable.
7879 (NCOEFF): New macro.
7880 (gammal_positive): New function.
7881 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7882 underflow here. Use gamma_positive instead of exp (lgamma) for
7883 other arguments.
7884 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7885 (gamma_coeff): New variable.
7886 (NCOEFF): New macro.
7887 (gammal_positive): New function.
7888 (__ieee754_gammal_r): Handle positive infinity, overflow and
7889 underflow here. Handle NaN the same as positive infinity. Remove
7890 check x < 0xffffffff for negative integers. Use gamma_positive
7891 instead of exp (lgamma) for other arguments.
7892 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7893 (gamma_coeff): New variable.
7894 (NCOEFF): New macro.
7895 (gammal_positive): New function.
7896 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7897 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7902 * sysdeps/generic/math_private.h (__gamma_productf): New
7903 prototype.
7904 (__gamma_product): Likewise.
7905 (__gamma_productl): Likewise.
7906 * math/Makefile (libm-calls): Add gamma_product.
7907 * math/libm-test.inc (tgamma_test): Add more tests.
7908 * sysdeps/i386/fpu/libm-test-ulps: Update.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910
bb7cf681
OB
79112013-05-08 Ondřej Bílka <neleai@seznam.cz>
7912
7913 * benchtests/bench-skeleton.c (main): Preheat CPU.
7914
ba853947
AJ
79152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7916
7917 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7918
8347c74c
RM
79192013-05-07 Roland McGrath <roland@hack.frob.com>
7920
7921 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7922 and _dl_skip_args_internal.
7923
e8dd4791
CD
79242013-05-07 Carlos O'Donell <carlos@redhat.com>
7925
7926 * manual/message.texi (Message Translation): Talk about users.
7927 Message to key mapping impacts design.
7928
c7405830
RM
79292013-05-06 Roland McGrath <roland@hack.frob.com>
7930
a9173057
RM
7931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7932
976e2f03
RM
7933 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7934
9723ffc5
RM
7935 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7936 * sysdeps/wordsize-64/glob64.c: ... here.
7937
962e6658
RM
7938 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7939 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7940 New macros.
7941
ee586a6d
RM
7942 * debug/getlogin_r_chk.c: Moved to ...
7943 * login/getlogin_r_chk.c: ... here.
7944 * debug/Makefile (routines): Move getlogin_r_chk to ...
7945 * login/Makefile (routines): ... here.
7946 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7947 * login/Versions (libc: GLIBC_2.4): ... here.
7948
355f9165
RM
7949 * io/poll.c (__poll): Renamed from poll.
7950 Add libc_hidden_def.
7951 (poll): Define as weak alias.
7952
bd9ffde6
RM
7953 * debug/ptsname_r_chk.c: Moved to ...
7954 * login/ptsname_r_chk.c: ... here.
7955 * debug/Makefile (routines): Move ptsname_r_chk to ...
7956 * login/Makefile (routines): ... here.
7957 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7958 * login/Versions (libc: GLIBC_2.4): ... here.
7959
8fb16a04
RM
7960 * posix/getlogin.c: Moved to ...
7961 * login/getlogin.c: ... here.
7962 * posix/getlogin_r.c: Moved to ...
7963 * login/getlogin_r.c: ... here.
7964 * posix/getlogin_r.c: Moved to ...
7965 * login/getlogin_r.c: ... here.
7966 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7967 * login/Makefile (routines): ... here.
7968 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7969 * login/Versions (libc: GLIBC_2.0): ... here.
7970
b99b892f
RM
7971 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7972 (setrlimit): Define as weak alias.
7973
c7405830
RM
7974 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7975 Call __ names for open, ftruncate, and close.
7976 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7977 (truncate): Define as weak alias.
7978
5bf96de5
JM
79792013-05-06 Joseph Myers <joseph@codesourcery.com>
7980
9ea3513c
JM
7981 * math/gen-libm-test.pl (parse_args): Initialize x before each
7982 test of frexp, modf and remquo.
7983
5bf96de5
JM
7984 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7985 test signgam value.
7986
16e616a7
AZ
79872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7988
7989 [BZ #15418]
7990 [BZ #15419]
7991 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7992 internal tests.
7993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7994
d5e82754
RM
79952013-05-06 Roland McGrath <roland@hack.frob.com>
7996
7997 * elf/dl-writev.h: New file.
7998 * elf/dl-misc.c: Include it.
7999 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8000 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8001
a7548d41
JM
80022013-05-04 Joseph Myers <joseph@codesourcery.com>
8003
b7dab1e4
JM
8004 * math/libm-test.inc (noXFails): Remove variable.
8005 (noXPasses): Likewise.
8006 (BUILD_COMPLEX_INT): Remove macro.
8007 (print_screen): Remove xfail argument.
8008 (print_screen_max_error): Likewise.
8009 (update_stats): Likewise.
8010 (print_max_error): Likewise. Update calls to other affected
8011 functions.
8012 (print_complex_max_error): Likewise.
8013 (test_single_exception): Update calls to print_screen.
8014 (test_single_errno): Likewise.
8015 (check_float_internal): Remove xfail argument. Update calls to
8016 other affected functions.
8017 (check_float): Likewise.
8018 (check_complex): Likewise.
8019 (check_int): Likewise.
8020 (check_long): Likewise.
8021 (check_bool): Likewise.
8022 (check_longlong): Likewise.
8023 (main): Don't print noXFails and noXPasses.
8024 * math/gen-libm-test.pl (top level): Don't mention expected
8025 failure handling in comment.
8026 (new_test): Don't handle expected failures.
8027 (parse_args): Don't mention expected failure handling in comment.
8028 (generate_testfile): Don't handle expected failures.
8029 (parse_ulps): Likewise.
8030 (print_ulps_file): Likewise.
8031 (get_failure): Remove function.
8032 (output_test): Don't handle expected failures.
8033 * make/README.libm-test: Don't mention expected failure handling.
8034
a7548d41
JM
8035 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8036 (minus_zero): Likewise.
8037 (plus_infty): Likewise.
8038 (minus_infty): Likewise.
8039 (qnan_value): Likewise.
8040 (max_value): Likewise.
8041 (min_value): Likewise.
8042 (min_subnorm_value): Likewise.
8043 (initialize): Do not initialize those variables dynamically.
8044
60bfd54c
RM
80452013-05-03 Roland McGrath <roland@hack.frob.com>
8046
cc0e6ed8
RM
8047 * io/open.c (__open_2): Moved to ...
8048 * io/open_2.c: ... this new file.
8049 * io/open64.c (__open64_2): Moved to ...
8050 * io/open64_2.c: ... this new file.
8051 * io/openat.c (__openat_2): Moved to ...
8052 * io/openat_2.c: ... this new file.
8053 * io/openat64.c (__openat64_2): Moved to ...
8054 * io/openat64_2.c: ... this new file.
8055 * io/Makefile (routines): Add them.
8056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8057 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8058 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8059 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8060 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8061 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8062 (__openat64): Add hidden_ver.
8063 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8064 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8065
60bfd54c
RM
8066 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8067 Separately conditionalize setting of GLRO(dl_sysinfo) so
8068 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8069 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8070
83e7640f
AZ
80712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8072
8073 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8074 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8075 definition.
8076 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8078 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8079 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8080 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8081
d5dc2af3
JM
80822013-05-03 Joseph Myers <joseph@codesourcery.com>
8083
c31a5b1e
JM
8084 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8085 test signgam value.
8086
d5dc2af3
JM
8087 * math/libm-test.inc (hypot_test): Do not use
8088 IGNORE_ZERO_INF_SIGN.
8089
164fd39d
AJ
80902013-05-03 Andreas Jaeger <aj@suse.de>
8091
8092 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8093 Linux 3.9.
8094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8095 (PF_MAX): Adjust for VSOCK change.
8096
8237f48c
AZ
80972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8098
8099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8100
9df02941
CD
81012013-05-02 Carlos O'Donell <carlos@redhat.com>
8102
8103 [BZ #15264]
8104 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8105 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8106 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8107
d422395e
DM
81082013-05-02 David S. Miller <davem@davemloft.net>
8109
8110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8111
a07c5731
OB
81122013-05-01 Ondřej Bílka <neleai@seznam.cz>
8113
8114 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8115
1324e37f
RM
81162013-05-01 Roland McGrath <roland@hack.frob.com>
8117
8118 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8119
0695940b
RS
81202013-05-01 Richard Smith <richard@metafoo.co.uk>
8121
bb5f27ad 8122 [BZ #14952]
0695940b
RS
8123 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8124 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8125 Use __attribute__ ((__gnu_inline__)).
8126 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8127 Don't use __attribute__ ((__gnu_inline__)).
8128
10de07f5
JM
81292013-05-01 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #15423]
8132 * math/s_catan.c (__catan): Handle small real or imaginary part of
8133 input specially to avoid spurious underflow.
8134 * math/s_catanf.c (__catanf): Likewise.
8135 * math/s_catanh.c (__catanh): Likewise.
8136 * math/s_catanhf.c (__catanhf): Likewise.
8137 * math/s_catanhl.c (__catanhl): Likewise.
8138 * math/s_catanl.c (__catanl): Likewise.
8139 * math/libm-test.inc (catan_test): Add more tests.
8140 (catanh_test): Likewise.
8141 * sysdeps/i386/fpu/libm-test-ulps: Update.
8142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8143
cb4d5414
AZ
81442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145
8146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8147
caf84319
JM
81482013-04-30 Joseph Myers <joseph@codesourcery.com>
8149
8150 [BZ #15416]
8151 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8152 accurately for denominator in atan2.
8153 * math/s_catanf.c (__catanf): Likewise.
8154 * math/s_catanh.c (__catanh): Likewise.
8155 * math/s_catanhf.c (__catanhf): Likewise.
8156 * math/s_catanhl.c (__catanhl): Likewise.
8157 * math/s_catanl.c (__catanl): Likewise.
8158 * math/libm-test.inc (catan_test): Add more tests.
8159 (catanh_test): Likewise.
8160 * sysdeps/i386/fpu/libm-test-ulps: Update.
8161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8162
d569c6ee
SP
81632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8164
6dbe713d
SP
8165 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8166
f0ee064b
SP
8167 * benchtests/Makefile (bench): Remove slow benchmarks.
8168 * benchtests/atan-inputs: Add slow benchmark inputs.
8169 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8170 (BENCH_FUNC): Accept variant offset.
8171 (VARIANT): Define.
8172 * benchtests/bench-skeleton.c (main): Run benchmark for each
8173 variant.
8174 * benchtests/cos-inputs: Add slow benchmark inputs.
8175 * benchtests/exp-inputs: Likewise.
8176 * benchtests/pow-inputs: Likewise.
8177 * benchtests/sin-inputs: Likewise.
8178 * benchtests/slowatan-inputs: Remove.
8179 * benchtests/slowatan.c: Remove.
8180 * benchtests/slowcos-inputs: Remove.
8181 * benchtests/slowcos.c: Remove.
8182 * benchtests/slowexp-inputs: Remove.
8183 * benchtests/slowexp.c: Remove.
8184 * benchtests/slowpow-inputs: Remove.
8185 * benchtests/slowpow.c: Remove.
8186 * benchtests/slowsin-inputs: Remove.
8187 * benchtests/slowsin.c: Remove.
8188 * benchtests/slowtan-inputs: Remove.
8189 * benchtests/slowtan.c: Remove.
8190 * benchtests/tan-inputs: Add slow benchmark inputs.
8191 * scripts/bench.pl: Parse comments and directives.
8192
d569c6ee
SP
8193 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8194 in CPPFLAGS.
8195 ($(objpfx)bench-%.c): Remove *-ITER.
8196 * benchtests/bench-modf.c: Remove definition of ITER.
8197 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8198 (main): Loop for DURATION seconds instead of fixed number of
8199 iterations.
8200 * scripts/bench.pl: Don't expect iterations in parameters.
8201
a6a242fe
RM
82022013-04-29 Roland McGrath <roland@hack.frob.com>
8203
8204 * io/fchdir.c (__fchdir): Renamed from fchdir.
8205 (fchdir): Define as weak alias.
8206
f2da7793
JM
82072013-04-29 Joseph Myers <joseph@codesourcery.com>
8208
8209 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8210 (ERRNO_EDOM): Likewise.
8211 (ERRNO_ERANGE): Likewise.
8212 (noErrnoTests): New variable.
8213 (init_max_error): Set errno to 0.
8214 (test_single_errno): New function.
8215 (test_errno): Likewise.
8216 (check_float_internal): Call test_errno. Set errno to 0.
8217 (check_complex): Refer to errno tests in comment.
8218 (check_int): Call test_errno. Set errno to 0.
8219 (check_long): Likewise.
8220 (check_bool): Likewise.
8221 (check_longlong): Likewise.
8222 (cos_test): Use ERRNO_* flags for errno tests instead of
8223 check_int.
8224 (expm1_test): Likewise.
8225 (fmod_test): Likewise.
8226 (ilogb_test): Likewise.
8227 (lgamma_test): Likewise.
8228 (pow_test): Likewise.
8229 (remainder_test): Likewise.
8230 (sin_test): Likewise.
8231 (tan_test): Likewise.
8232 (yn_test): Likewise.
8233 (initialize): Set errno to 0.
8234 (main): Print number of errno tests.
8235 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8236
b1a36ceb
AJ
82372013-04-29 Andreas Jaeger <aj@suse.de>
8238
c3ed8088
AJ
8239 [BZ #15084]
8240 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8241 and RES_USEVC.
8242
f1a24198
AJ
8243 [BZ #15085]
8244 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8245 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8246 unimplemented.
8247
9ce3b2cb
AJ
8248 [BZ #15380]
8249 * stdlib/random.c (__initstate): Return NULL if
8250 __initstate fails.
8251
f1a24198 8252 [BZ #15086]
b1a36ceb
AJ
8253 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8254 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8255 RES_SNGLKUPREOP.
8256
7e7b6f36
AZ
82572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8258
8259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8260
4d14f449
JM
82612013-04-29 Joseph Myers <joseph@codesourcery.com>
8262
8263 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8264 of individual tests.
8265 (casin_test): Likewise.
8266 (casinh_test): Likewise.
8267
5b4217d7
JM
82682013-04-27 Joseph Myers <joseph@codesourcery.com>
8269
8270 [BZ #15409]
8271 * math/s_catan.c (__catan): Handle arguments with large real or
8272 imaginary part separately without squaring.
8273 * math/s_catanf.c (__catanf): Likewise.
8274 * math/s_catanh.c (__catanh): Likewise.
8275 * math/s_catanhf.c (__catanhf): Likewise.
8276 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8277 and redefine.
8278 (__catanhl): Handle arguments with large real or imaginary part
8279 separately without squaring.
8280 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8281 and redefine.
8282 (__catanl): Handle arguments with large real or imaginary part
8283 separately without squaring.
8284 * math/libm-test.inc (catan_test): Add more tests.
8285 (catanh_test): Likewise.
8286 * sysdeps/i386/fpu/libm-test-ulps: Update.
8287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288
4220c3ef
AJ
82892013-04-27 Andreas Jaeger <aj@suse.de>
8290
8291 [BZ #15007]
8292 * stdlib/stdlib.h: Update guards for qecvt.
8293 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8294 <stdlib.h>.
8295
4721b2d1
AM
82962013-04-27 Allan McRae <allan@archlinux.org>
8297
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8299
f0302940
JM
83002013-04-26 Joseph Myers <joseph@codesourcery.com>
8301
9457fd95
JM
8302 [BZ #15406]
8303 * math/s_catan.c: Include <float.h>.
8304 (__catan): Ensure underflow exception occurs for underflowed
8305 result.
8306 * math/s_catanf.c: Include <float.h>.
8307 (__catanf): Ensure underflow exception occurs for underflowed
8308 result.
8309 * math/s_catanh.c: Include <float.h>.
8310 (__catanh): Ensure underflow exception occurs for underflowed
8311 result.
8312 * math/s_catanhf.c: Include <float.h>.
8313 (__catanhf): Ensure underflow exception occurs for underflowed
8314 result.
8315 * math/s_catanhl.c: Include <float.h>.
8316 (__catanhl): Ensure underflow exception occurs for underflowed
8317 result.
8318 * math/s_catanl.c: Include <float.h>.
8319 (__catanl): Ensure underflow exception occurs for underflowed
8320 result.
8321 * math/libm-test.inc (catan_test): Add more tests.
8322 (catanh_test): Likewise.
8323
f0302940
JM
8324 [BZ #15405]
8325 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8326 underflowed result.
8327 * math/s_ccoshf.c (__ccoshf): Likewise.
8328 * math/s_ccoshl.c (__ccoshl): Likewise.
8329 * math/s_csin.c (__csin): Likewise.
8330 * math/s_csinf.c (__csinf): Likewise.
8331 * math/s_csinh.c (__csinh): Likewise.
8332 * math/s_csinhf.c (__csinhf): Likewise.
8333 * math/s_csinhl.c (__csinhl): Likewise.
8334 * math/s_csinl.c (__csinl): Likewise.
8335 * math/libm-test.inc (ccos_test): Add more tests.
8336 (ccosh_test): Likewise.
8337 (csin_test): Likewise.
8338 (csinh_test): Likewise.
8339
aa630f59
AZ
83402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8343 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8344 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8345 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8346 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8347 powerpc/power5+/fpu folders.
8348 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8349
8350
1b835983
MT
83512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8352
8353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8354
73709b26
JM
83552013-04-25 Joseph Myers <joseph@codesourcery.com>
8356
8357 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8358 additions to variable.
8359 [$(config-machine) = x86_64] (modules-names): Likewise.
8360 ($(objpfx)tst-audit3): Remove dependency.
8361 ($(objpfx)tst-audit3.out): Likewise.
8362 ($(objpfx)tst-audit4): Likewise.
8363 ($(objpfx)tst-audit4.out): Likewise.
8364 ($(objpfx)tst-audit5): Likewise.
8365 ($(objpfx)tst-audit5.out): Likewise.
8366 ($(objpfx)tst-audit6): Likewise.
8367 ($(objpfx)tst-audit6.out): Likewise.
8368 ($(objpfx)tst-audit7): Likewise.
8369 ($(objpfx)tst-audit7.out): Likewise.
8370 (tst-audit3-ENV): Remove variable.
8371 (tst-audit4-ENV): Likewise.
8372 (tst-audit5-ENV): Likewise.
8373 (tst-audit6-ENV): Likewise.
8374 (tst-audit7-ENV): Likewise.
8375 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8376 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8377 addition to variable.
8378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8383 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8384 tst-audit3, tst-audit4 and tst-audit5.
8385 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8386 tst-audit6 and tst-audit7.
8387 [$(subdir) = elf] (modules-names): Add audit modules for those
8388 tests.
8389 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8390 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8391 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8392 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8393 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8394 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8395 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8396 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8397 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8398 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8399 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8400 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8401 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8402 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8403 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8404 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8405 Likewise.
8406 [$(subdir) = elf && $(config-cflags-avx) = yes]
8407 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8408 [$(subdir) = elf && $(config-cflags-avx) = yes]
8409 (CFLAGS-tst-auditmod4a.c): Likewise.
8410 [$(subdir) = elf && $(config-cflags-avx) = yes]
8411 (CFLAGS-tst-auditmod4b.c): Likewise.
8412 [$(subdir) = elf && $(config-cflags-avx) = yes]
8413 (CFLAGS-tst-auditmod6b.c): Likewise.
8414 [$(subdir) = elf && $(config-cflags-avx) = yes]
8415 (CFLAGS-tst-auditmod6c.c): Likewise.
8416 [$(subdir) = elf && $(config-cflags-avx) = yes]
8417 (CFLAGS-tst-auditmod7b.c): Likewise.
8418 * elf/tst-audit3.c: Move to ...
8419 * sysdeps/x86_64/tst-audit3.c: ... here.
8420 * elf/tst-audit4.c: Move to ...
8421 * sysdeps/x86_64/tst-audit4.c: ... here.
8422 * elf/tst-audit5.c: Move to ...
8423 * sysdeps/x86_64/tst-audit5.c: ... here.
8424 * elf/tst-audit6.c: Move to ...
8425 * sysdeps/x86_64/tst-audit6.c: ... here.
8426 * elf/tst-audit7.c: Move to ...
8427 * sysdeps/x86_64/tst-audit7.c: ... here.
8428 * elf/tst-auditmod3a.c: Move to ...
8429 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8430 * elf/tst-auditmod3b.c: Move to ...
8431 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8432 * elf/tst-auditmod4a.c: Move to ...
8433 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8434 * elf/tst-auditmod4b.c: Move to ...
8435 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8436 * elf/tst-auditmod5a.c: Move to ...
8437 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8438 * elf/tst-auditmod5b.c: Move to ...
8439 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8440 * elf/tst-auditmod6a.c: Move to ...
8441 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8442 * elf/tst-auditmod6b.c: Move to ...
8443 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8444 * elf/tst-auditmod6c.c: Move to ...
8445 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8446 * elf/tst-auditmod7a.c: Move to ...
8447 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8448 * elf/tst-auditmod7b.c: Move to ...
8449 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8450
1ef74943
PP
84512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8452
8453 [BZ #15366]
8454 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8455 define unconditionally.
8456 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8457 define unconditionally.
8458 (INT8_C, INT16_C, etc.): Likewise.
8459
93fd48c5
MR
84602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8461
ae9552cf
MR
8462 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8463 __ehdr_start with hidden visibility.
8464
93fd48c5
MR
8465 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8466
418601aa
CD
84672013-04-24 Carlos O'Donell <carlos@redhat.com>
8468
8469 * math/libm-test.inc (cos_test): Use accurate hex constants.
8470 (sincost_test): Likewise.
8471
2f38fbfe
JM
84722013-04-24 Joseph Myers <joseph@codesourcery.com>
8473
5e221800
JM
8474 * math/libm-test.inc (catan_test): Add more tests.
8475 (catanh_test): Likewise.
8476
77f143fd
JM
8477 * math/s_catanf.c (__catanf): Use suffixed floating-point
8478 constants.
8479 * math/s_catanhf.c (__catanhf): Likewise.
8480 * math/s_catanhl.c (__catanhl): Likewise.
8481 * math/s_catanl.c (__catanl): Likewise.
8482
2f38fbfe
JM
8483 [BZ #15394]
8484 * math/s_catan.c (__catan): Calculate imaginary part of result
8485 with log1p not log unless computing log of number close to 0.
8486 * math/s_catanf.c (__catanf): Likewise.
8487 * math/s_catanl.c (__catanl): Likewise.
8488 * math/s_catanh.c (__catanh): Calculate real part of result with
8489 log1p not log unless computing log of number close to 0.
8490 * math/s_catanhf.c (__catanhf): Likewise.
8491 * math/s_catanhl.c (__catanhl): Likewise.
8492 * math/libm-test.inc (catan_test): Add more tests.
8493 (catanh_test): Likewise.
8494 * sysdeps/i386/fpu/libm-test-ulps: Update.
8495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8496
45d69176
SP
84972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8498
8499 * benchtests/Makefile: Mention files in which fast and slow
8500 paths of math functions are implemented.
8501
87f51853
RM
85022013-04-23 Roland McGrath <roland@hack.frob.com>
8503
8504 * sysdeps/posix/timespec_get.c: New file.
8505
3c026539
AZ
85062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8507
8508 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8509 POWER.
8510 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8511 for POWER.
8512 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8513 powerpc/power5/fpu folders.
8514 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8515 * benchtests/Makefile: Add modf testcase.
8516 * benchtests/bench-modf.c: New file: Benchmark test for mo
8517
ff491d14
SP
85182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
8520 [BZ #14888]
8521 * time/Makefile (tests): Add tst-strptime-whitespace.
8522 * time/strptime_l.c (get_number): Use ISSPACE.
8523 (__strptime_internal): Likewise.
8524 * time/tst-strptime-whitespace.c: New test case.
8525
7ed3f4e8
AS
85262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8527
8528 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8529 member.
8530 (_nss_files_init): Set it here.
8531
5c95f7b6
HC
85322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8533
8534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8535 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8536 unsigned.
8537
d34c9158
JBG
85382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8539
8540 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8541
2169712d
SP
85422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8543
8544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8545 size just once.
8546
29c5de99
DM
85472013-04-21 David S. Miller <davem@davemloft.net>
8548
8549 * po/ru.po: Update Russion translation from translation project.
8550
ccdad15d
AC
85512013-04-17 Adam Conrad <adconrad@0c3.net>
8552
8553 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8554 and setfsgid.
8555
0f122b8d
CD
85562013-04-17 Carlos O'Donell <carlos@redhat.com>
8557
5c5b07da 8558 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8559 * configure: Regenerate.
5c5b07da 8560 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8561 Add example to error message.
8562 * sysdeps/i386/configure: Regenerate.
8563
037714dd
SP
85642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
8566 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8567 slowtan.
8568 * benchtests/cos-inputs: New file.
8569 * benchtests/slowcos-inputs: New file.
8570 * benchtests/slowcos.c: New file.
8571 * benchtests/slowtan-inputs: New file.
8572 * benchtests/slowtan.c: New file.
8573 * benchtests/tan-inputs: New file.
8574
e913141d
RM
85752013-04-16 Roland McGrath <roland@hack.frob.com>
8576
8577 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8578 considered kosher.
8579
a2964074
SP
85802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8581
4856bcd2
SP
8582 * benchtests/Makefile: Include cppflags-iterator.mk to add
8583 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8584
a2964074
SP
8585 * Makefile.in (bench-clean): New target.
8586 * benchtests/Makefile (bench-clean): Likewise.
8587
9fbf9aca
DH
85882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8589
8590 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8591
207d1e2a
TS
85922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8593
8594 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8595
306dfba9
AS
85962013-04-15 Andreas Schwab <schwab@suse.de>
8597
8598 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8600 * nscd/pwdcache.c (cache_addpw): Likewise.
8601 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8602 more than recsize.
8603
206a6699
SP
86042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8605
8606 * benchtests/Makefile (bench): Write all output to
8607 bench-out.tmp together.
8608
0582f6b3
AS
86092013-04-15 Andreas Schwab <schwab@suse.de>
8610
8611 * nscd/nscd.c (main): Don't fork again after closing files.
8612
acb4325f
SP
86132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8614
5cb26d0a
SP
8615 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8616
acb4325f
SP
8617 * benchtests/Rules (bench-deps): Collect dependencies into a
8618 single variable. Add Makefile to dependencies.
8619 ($(objpfx)bench-%.c): Depend on bench-deps.
8620
47792506
RM
86212013-04-12 Roland McGrath <roland@hack.frob.com>
8622 Xavier Roche <roche+kml2@exalead.com>
8623
8624 [BZ #15361]
8625 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8626 just that it's a file descriptor.
8627 * manual/llio.texi (Synchronizing AIO Operations): Update description
8628 for EBADF error from aio_fsync.
8629
8fc1bee5
SP
86302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
8632 * Rules (bench): Move target definition...
8633 * benchtests/Makefile: ... here.
8634
aba5e333
CD
86352013-04-11 Carlos O'Donell <carlos@redhat.com>
8636
8637 * math/libm-test.inc (cos_test): Fix PI/2 test.
8638 (sincos_test): Likewise.
8639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8640 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8641
273cdee8
AS
86422013-04-11 Andreas Schwab <schwab@suse.de>
8643
6ecec3b6
AS
8644 [BZ #13988]
8645 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8646 accept exponent character only when digits were seen.
8647 * stdio-common/Makefile (tests): Add bug26.
8648 * stdio-common/bug26.c: New file.
8649
273cdee8
AS
8650 [BZ #14293]
8651 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8652 non-freeable.
8653
8da491f5
SP
86542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8655
01dc6df9
SP
8656 * Makeconfig (rtld-prefix): Define built linker prefix.
8657 * Rules (run-bench): Use it.
8658 * math/Makefile (run-regen-ulps): Likewise.
8659
8da491f5
SP
8660 * Rules (bench): Remove eval.
8661
abe7f530
SP
86622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8663 Roland McGrath <roland@hack.frob.com>
8664 Ondrej Bilka <neleai@seznam.cz>
8665
8666 [BZ #15346]
8667 * time/getdate.c: Include ctype.h and alloca.h.
8668 (__getdate_r): Trim leading and trailing spaces of input.
8669 * time/tst-getdate.c (tests): Add tests with leading and
8670 trailing spaces.
8671
61c23e62
RM
86722013-04-08 Roland McGrath <roland@hack.frob.com>
8673
8674 [BZ #14280]
8675 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8676 when computing value.
8677
7208a313
CD
86782013-04-06 Carlos O'Donell <carlos@redhat.com>
8679
085b2d41
CD
8680 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8681 Use testrun.sh to run libm tests.
8682
7208a313
CD
8683 [BZ #15309]
8684 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8685
872c0acd
MM
86862013-04-06 Marko Myllynen <myllynen@redhat.com>
8687
8688 [BZ #15264]
8689 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8690
26510bdd
CD
86912013-04-06 Carlos O'Donell <carlos@redhat.com>
8692
8693 * Makefile.in (regen-ulps): New target.
8694 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8695 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8696 [ifneq (no,$(PERL)] (regen-ulps): New target.
8697 [ifeq (no,$(PERL)] (regen-ulps): New target.
8698 * math/libm-test.inc (ulps_file_name): Define.
8699 (output_dir): New variable.
8700 (options): Add "output-dir" option.
8701 (parse_opt): Handle 'o' case.
8702 (main): If output_dir is non-NULL use it as a prefix
8703 otherwise use "".
8704 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8705
a01f19c8
CD
87062013-04-06 Carlos O'Donell <carlos@redhat.com>
8707
8708 [BZ #10060, #10062]
8709 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8710 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8711 fail configure if __sync_val_compare_and_swap is not inlined.
8712 * sysdeps/i386/configure: Regenerate.
8713 * configure.in: Build for i686 when configured for i386.
8714 * configure: Regenerate.
8715 * README: Remove i386 reference.
8716
b7a329a5
CD
87172013-04-06 Carlos O'Donell <carlos@redhat.com>
8718
8719 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8721
bf0f50df
TS
87222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8723
ee091edf
TS
8724 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8725 (lmsnanval): New variables.
8726 (F): Add conversion tests.
8727 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8728 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8729
a8b792d6
TS
8730 * stdio-common/tstdiomisc.c (F): Properly collect individual
8731 tests' results.
8732
a1cbf437
TS
8733 [BZ #14686, #15336]
8734 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8735 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8736 Instead, use input NaN values or generate a qNaN by arithmetic
8737 operation. Also fix bugs to comply with the standard.
8738 * math/libm-test.inc (remainder_test): Add more tests.
8739
8b43a0c9
TS
8740 [BZ #15335, #15342]
8741 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8743 input NaN values or generate a qNaN by arithmetic operation.
8744
d91da4ce
TS
8745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8746 unreachable code.
8747
bf0f50df
TS
8748 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8749 definitions.
8750
05e166c8
JM
87512013-04-03 Joseph Myers <joseph@codesourcery.com>
8752
8753 [BZ #14478]
8754 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8755 underflowed result.
8756 * math/s_cexpf.c (__cexpf): Likewise.
8757 * math/s_cexpl.c (__cexpl): Likewise.
8758 * math/libm-test.inc (cexp_test): Add more tests.
8759
1cef1b19
AS
87602013-04-03 Andreas Schwab <schwab@suse.de>
8761
8762 [BZ #15330]
8763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8764 order arrays from heap if bigger than alloca cutoff.
8765
74d87055
TS
87662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8767
8768 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8769 (SNAN_TESTS_double): Refer to GCC PR56831.
8770 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8771 GCC PR56828.
8772
d755bba4
SP
87732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8774
90d5d5bb
SP
8775 * Rules (bench): Move bench.out after the run is complete.
8776
73e0cd5d
SP
8777 * Rules (bench): Echo currently running benchmark.
8778
64aabd4b
SP
8779 * benchtests/Makefile (bench): Add atan and slowatan.
8780 * benchtests/atan-inputs: New file.
8781 * benchtests/slowatan-inputs: New file.
8782 * benchtests/slowatan.c: New file.
8783
c871eccd
SP
8784 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8786 its value.
8787
d755bba4
SP
8788 [BZ #15305]
8789 * sysdeps/unix/sysv/linux/kernel-features.h
8790 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8791 __ASSUME_XFS_RESTRICTED_CHOWN.
8792 * sysdeps/unix/sysv/linux/pathconf.c
8793 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8794 Save and restore errno.
8795
52ce4860
JM
87962013-04-02 Joseph Myers <joseph@codesourcery.com>
8797
8798 [BZ #15327]
8799 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8800 arguments using __kernel_casinh.
8801 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8802 arguments using __kernel_casinhf.
8803 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8804 arguments using __kernel_casinhl.
8805 * math/libm-test.inc (cacosh_test): Add more tests.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
81f311c2
SP
88092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
e7906a47
SP
8811 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8813
92e3664b
SP
8814 * bench/Makefile (bench): Add sin and slowsin.
8815 * benchtests/sin-inputs: New file.
8816 * benchtests/slowsin-inputs: New file.
8817 * benchtests/slowsin.c: New file.
8818
81f311c2
SP
8819 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8820 (bench): Add slowexp and slowpow.
8821 (exp-ITER): Increase iterations.
8822 (pow-ITER): Likewise.
8823 * benchtests/exp-inputs: Change input.
8824 * benchtests/pow-inputs: Likewise.
8825 * benchtests/slowexp-inputs: New file.
8826 * benchtests/slowexp.c: New file.
8827 * benchtests/slowpow-inputs: New file.
8828 * benchtests/slowpow.c: New file.
8829
ab0f1aa9
AZ
88302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8831
8832 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8833 instructions.
8834 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8835 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8836 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8837 * benchtests/Makefile: Add rint benchtest.
8838 * benchtests/rint-inputs: Input for rint benchtest.
8839
57267616
TS
88402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8841
8842 * Versions.def (libm): Add GLIBC_2.18.
8843 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8844 hidden libm prototypes.
8845 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8846 * math/Makefile (libm-calls): Add s_issignaling.
8847 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8848 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8849 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8850 declaration.
8851 * math/math.h [__USE_GNU] (issignaling): New macro.
8852 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8853 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8858 * manual/arith.texi (issignaling): New section.
8859 * manual/libm-err-tab.pl (@all_functions): Update comment.
8860 * math/gen-libm-test.pl (parse_args): Apply special handling for
8861 issignaling.
8862 * math/libm-test.inc (print_float, issignaling_test): New
8863 functions.
8864 (check_float_internal): Add issignaling checks.
8865 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8866 default definition.
8867 * sysdeps/powerpc/math-tests.h: New file.
8868 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8869 tests.
8870 * math/test-snan.c (TEST_FUNC): Likewise.
8871
6142896d
DM
88722013-03-30 David S. Miller <davem@davemloft.net>
8873
8874 * po/de.po: Update from translation team.
8875
ccc8cadf
JM
88762013-03-30 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #10357]
8879 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8880 imaginary part less than 1.0 and real part less than 0.5
8881 specially.
8882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8884 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8885 (cacos_test): Add more tests.
8886 (casin_test): Likewise.
8887 (casinh_test): Likewise.
8888 * sysdeps/i386/fpu/libm-test-ulps: Update.
8889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8890
0f6a8d4b
SP
88912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8892
0d1029de
SP
8893 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8894 ONE with its value.
8895
c2d94018
SP
8896 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8897 (__pow_mp): Replace ONE and MONE with their values.
8898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8900 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8902 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8904
27ec37f1
SP
8905 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8906
a64d7e0e
SP
8907 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8908 (__pow_mp): Replace ZERO and MZERO with their values.
8909 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8913 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8914 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8915 (__sqr): Likewise.
8916
d26dd3eb
SP
8917 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8918
0f6a8d4b
SP
8919 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8920
e57b0c61
RM
89212013-03-28 Roland McGrath <roland@hack.frob.com>
8922
8923 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8924 Declare with __attribute__ ((weak)).
8925 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8926 Call __call_tls_dtors only if it's not NULL.
8927
356b3480
RM
89282013-03-28 Roland McGrath <roland@hack.frob.com>
8929
288f7d79
RM
8930 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8931 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8932 magic __ehdr_start linker symbol if it's defined.
8933 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8934 them up here if it was already done.
8935
dc0a0263
RM
8936 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8937 (_dl_aux_init): Use const in cast when setting it.
8938 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8939 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8940 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8941
3d3436ae
RM
8942 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8943 Declare them here.
8944 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8945 * csu/libc-tls.c: Nor here.
8946 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8947
356b3480
RM
8948 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8949 (__libc_message): Never call vsyslog.
8950
b0f1246a
AM
89512013-03-28 Alan Modra <amodra@gmail.com>
8952
8953 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8954 Define as empty.
8955 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8956 Likewise.
8957
fbbe2b9a
AZ
89582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8959
8960 [BZ #15214]
8961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8962 underflow.
8963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8964
1728ab37
SP
89652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8966
7a86be6e
SP
8967 [BZ #15304]
8968 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8969 Don't add gid passed as argument.
8970
1728ab37
SP
8971 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8972
3a7182a1
JM
89732013-03-27 Joseph Myers <joseph@codesourcery.com>
8974
8975 [BZ #15307]
8976 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8977 imaginary part between 1.0 and 1.5 and real part less than 0.5
8978 specially.
8979 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8980 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8981 * math/libm-test.inc (cacos_test): Add more tests.
8982 (casin_test): Likewise.
8983 (casinh_test): Likewise.
8984 * sysdeps/i386/fpu/libm-test-ulps: Update.
8985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8986
6f2e90e7
SP
89872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8988
5739f705
SP
8989 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8990 constants.
8991 (norm): Likewise.
8992 (denorm): Likewise.
8993 (__dbl_mp): Likewise.
8994 (add_magnitudes): Likewise.
8995 (sub_magnitudes): Likewise.
8996 (__add): Likewise.
8997 (__sub): Likewise.
8998 (__mul): Likewise.
8999 (__sqr): Likewise.
9000 (__inv): Likewise.
9001 (__dvd): Likewise.
9002
e375e83d
SP
9003 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9004 commented code.
9005 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9006 (__dubcos): Likewise.
9007 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9008 (__ieee754_acos): Likewise.
9009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9010 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9011 (__exp1): Likewise.
9012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9014 (log1): Likewise.
9015 (my_log2): Likewise.
9016 (checkint): Likewise.
9017 * sysdeps/ieee754/dbl-64/e_remainder.c
9018 (__ieee754_remainder): Likewise.
9019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9021 (bsloww): Likewise.
9022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9023
6f2e90e7
SP
9024 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9026 MANTISSA_STORE_T to store computations on mantissa. Use
9027 macros for rounding and division.
9028 (denorm): Likewise.
9029 (__dbl_mp): Likewise.
9030 (add_magnitudes): Likewise.
9031 (sub_magnitudes): Likewise.
9032 (__mul): Likewise.
9033 (__sqr): Likewise.
9034 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9035 powers of two in terms of TWOPOW macro.
9036 (mp_no): Make type of mantissa as MANTISSA_T.
9037 [!RADIXI]: Define RADIXI.
9038 [!TWO52]: Define TWO52.
9039 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9040
fce14d4e
AZ
90412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9042
9043 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9044 llroundl symbol when building for PPC32.
9045
9ad027fb
MW
90462013-03-24 Mark H Weaver <mhw@netris.org>
9047
9048 * manual/arith.texi (Normalization Functions): Fix prototypes for
9049 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9050
e42a38dd
AZ
90512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052
9053 [BZ #13889]
9054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9055 high value to check if expl overflow.
9056 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9057 to check for underflow and overflow.
9058 * math/libm-test.inc: Add exp test.
9059
2e0fb521
DL
90602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9061
9062 [BZ #11120]
9063 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9064 with NOT_IN_libc.
9065
b5784d95
AZ
90662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9067
9068 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9069 symbol.
9070
5aa4a1a1
TS
90712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9072
bdef0be7
TS
9073 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9074 wrap blocks consisting of several statements.
9075
5aa4a1a1
TS
9076 * sysdeps/generic/math-tests.h: New file.
9077 * sysdeps/i386/fpu/math-tests.h: Likewise.
9078 * math/test-snan.c: Include it.
9079 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9080
98c48fe5
JM
90812013-03-21 Joseph Myers <joseph@codesourcery.com>
9082
9083 [BZ #15285]
9084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9085 (__ieee754_j0l): Do not improve calculations using cos of twice
9086 input for inputs above LDBL_MAX / 2.0L.
9087 (__ieee754_y0l): Likewise.
9088 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9089 (__ieee754_j1l): Do not improve calculations using cos of twice
9090 input for inputs above LDBL_MAX / 2.0L.
9091 (__ieee754_y1l): Likewise.
9092 * math/libm-test.inc (j0_test): Add another test.
9093 (j1_test): Likewise.
9094 (y0_test): Likewise.
9095 (y1_test): Likewise.
9096 * sysdeps/i386/fpu/libm-test-ulps: Update.
9097
3775a8bc
SP
90982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9099
9100 * Rules ($(objpfx)bench-%.c): Include code from a C source
9101 file.
9102
0a1b2ae6
JM
91032013-03-21 Joseph Myers <joseph@codesourcery.com>
9104
9105 [BZ #15287]
9106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9107 imaginary part 1.0 and real part less than 0.5 specially.
9108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9110 * math/libm-test.inc (cacos_test): Add more tests.
9111 (casin_test): Likewise.
9112 (casinh_test): Likewise.
9113 * sysdeps/i386/fpu/libm-test-ulps: Update.
9114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115
b33d4ce4
SP
91162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
9118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9119 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9120
bef0b507
JM
91212013-03-20 Joseph Myers <joseph@codesourcery.com>
9122
9123 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9124 * config.make.in (config-cflags-sse4): Remove variable.
9125 (config-cflags-avx): Likewise.
9126 (config-cflags-sse2avx): Likewise.
9127 (config-cflags-novzeroupper): Likewise.
9128 (config-asflags-i686): Likewise.
9129 (have-mfma4): Likewise.
9130 (have-as-vis3): Likewise.
9131 (MIG): Likewise.
9132 * configure.in (MIG): Do not AC_SUBST.
9133 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9134 (libc_cv_cc_sse4): Do not AC_SUBST.
9135 (libc_cv_cc_avx): Likewise.
9136 (libc_cv_cc_sse2avx): Likewise.
9137 (libc_cv_cc_novzeroupper): Likewise.
9138 (libc_cv_cc_fma4): Likewise.
9139 (libc_cv_as_i686): Likewise.
9140 (libc_cv_sparc_as_vis3): Likewise.
9141 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9142 LIBC_CONFIG_VAR.
9143 (config-asflags-i686): Likewise.
9144 (config-cflags-avx): Likewise.
9145 (config-cflags-sse2avx): Likewise.
9146 (have-mfma4): Likewise.
9147 (config-cflags-novzeroupper): Likewise.
9148 * sysdeps/mach/configure.in (MIG): Likewise.
9149 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9150 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9151 LIBC_CONFIG_VAR.
9152 (config-cflags-avx): Likewise.
9153 (config-cflags-sse2avx): Likewise.
9154 (have-mfma4): Likewise.
9155 (config-cflags-novzeroupper): Likewise.
9156 * configure: Regenerated.
9157 * sysdeps/i386/configure: Likewise.
9158 * sysdeps/mach/configure: Likewise.
9159 * sysdeps/sparc/configure: Likewise.
9160 * sysdeps/x86_64/configure: Likewise.
9161
912cc4b3
RM
91622013-03-20 Roland McGrath <roland@hack.frob.com>
9163
9164 [BZ #14812]
9165 * locale/programs/localedef.c (options): Put N_ translation marker
9166 on argument names, not just descriptions.
9167
04eed2b0
MS
91682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9169
9170 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9171
a065ceff
OB
91722013-03-20 Ondřej Bílka <neleai@seznam.cz>
9173
9bb2a810 9174 [BZ #14176]
a065ceff
OB
9175 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9176
a600e5ce
RM
91772013-03-19 Roland McGrath <roland@hack.frob.com>
9178
9179 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9180 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9181 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9182 [!BEFORE_ABORT] (before_abort): New function.
9183 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9184 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9185 (writev_for_fatal): New function.
9186 (WRITEV_FOR_FATAL): New macro; call that.
9187 (backtrace_and_maps): New function.
9188 (BEFORE_ABORT): New macro; call that.
9189 (struct str_list): Type removed.
9190 (__libc_message, __libc_fatal): Functions removed.
9191 Include <sysdeps/posix/libc_fatal.c> instead.
9192
6b18bea6
JM
91932013-03-19 Joseph Myers <joseph@codesourcery.com>
9194
9195 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9196 constants.
9197 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9198 double constants.
9199
aaa8cb4b
AS
92002013-03-19 Andreas Schwab <schwab@suse.de>
9201
44673770
AS
9202 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9203 * sysdeps/gnu/configure: Regenerate.
9204
aaa8cb4b
AS
9205 * configure.in: Substitute libc_cv_rtlddir.
9206 * configure: Regenerate.
9207 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9208 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9209 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9210 * elf/Makefile (install-others, CFLAGS-interp.c)
9211 (ldso_install, common-ldd-rewrite): Likewise.
9212 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9213 $(inst_slibdir)/$(rtld-installed-name).
9214 * scripts/rellns-sh: Add -p option.
9215 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9216 for source.
9217
d3cfc668
SP
92182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9219
9220 * manual/nptl.texi: Renamed to ...
9221 * manual/threads.texi: ... this.
9222 * manual/Makefile (chapters): Update.
9223
0e2b9cdd
RM
92242013-03-18 Roland McGrath <roland@hack.frob.com>
9225
9226 [BZ #14812]
9227 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9228 on argument names, not just descriptions.
0e2b9cdd
RM
9229 * malloc/memusagestat.c (options): Likewise.
9230 * nss/getent.c (options): Likewise.
63270c24
RM
9231
92322013-03-18 Benno Schulenberg <bensberg@justemail.net>
9233
9234 [BZ #14812]
9235 * iconv/iconv_prog.c (options): Put N_ translation marker
9236 on argument names, not just descriptions.
9237 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9238
b2e1393c
OB
92392013-03-18 Ondrej Bilka <neleai@seznam.cz>
9240
9241 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9242 implementation which is faster on all x86_64 architectures.
9243 Tested on AMD, Intel Nehalem, SNB, IVB.
9244 * sysdeps/x86_64/strnlen.S: Likewise.
9245
9246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9247 Remove all multiarch strlen and strnlen versions.
9248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9249 Remove strlen and strnlen related parts.
9250
9251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9252 Inline strlen part.
9253 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9254
9255 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9256 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9257 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9258 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9259 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9260 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9261
ec4ff04d
CD
92622013-03-17 Carlos O'Donell <carlos@redhat.com>
9263
9264 * manual/memory.texi (Malloc Tunable Parameters):
9265 Sort parameters alphabetically. Add comments for missing entries.
9266
cd18e90a
DM
92672013-03-17 David S. Miller <davem@davemloft.net>
9268
9269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9270
2a185d32
JM
92712013-03-16 Joseph Myers <joseph@codesourcery.com>
9272
d2f9799e
JM
9273 [BZ #15283]
9274 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9275 for arguments at most half maximum finite value.
9276 * math/libm-test.inc (j0_test): Add more tests.
9277 (j1_test): Likewise.
9278 (y0_test): Likewise.
9279 (y1_test): Likewise.
9280 * sysdeps/i386/fpu/libm-test-ulps: Update.
9281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9282
2a185d32
JM
9283 [BZ #14155]
9284 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9285 1 / x and functions P and Q for arguments above 0x1p256L.
9286 (__ieee754_y0l): Likewise.
9287 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9288 (__ieee754_y1l): Likewise.
9289 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9290 (j1_test): Likewise.
9291 (y0_test): Likewise.
9292 (y1_test): Likewise.
9293
6cbec759
TS
92942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9295
9296 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9297 variable.
9298
bc16e260
RM
92992013-03-15 Roland McGrath <roland@hack.frob.com>
9300
aefc9b8c
RM
9301 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9302 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9303 zero since it's initialized to EXEC_PAGESIZE.
9304
bc16e260
RM
9305 * sysdeps/unix/sysv/linux/ldsodefs.h
9306 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9307 * sysdeps/generic/ldsodefs.h: ... here.
9308
a57da955
TS
93092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9310
af00a34d
TS
9311 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9312
495ded2c
TS
9313 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9314 math/test-snan.c.
9315 * math/test-snan.c: Renamed from
9316 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9317 * math/Makefile (tests): Add test-snan.
9318 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9319 test-powerpc-snan.
9320
777b0332
TS
9321 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9322 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9323 functions.
9324 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9325 __builtin_nan family of functions.
9326 * math/libm-test.inc (initialize): Initialize qnan_value with
9327 __builtin_nan family of functions.
9328 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9329 Remove variables.
9330 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9331 Remove functions.
9332 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9333 storage class. Initialize qNaN_var and sNaN_var with
9334 __builtin_nan and __builtin_nans families of functions,
9335 respectively.
9336
64d063b8
TS
9337 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9338 (sqrt_test): Remove duplicate test with qNaN input.
9339 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9340 (round_test, signbit_test, significand_test): Note missing +/-Inf
9341 as well as qNaN tests.
9342
67e971f1
TS
9343 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9344 qNaN_var. Fix a few strings, too.
9345 * math/libm-test.inc (nan_value): Rename to qnan_value.
9346 * math/gen-libm-test.pl (%beautify): Adjust to that.
9347 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9348 * math/test-misc.c (main): Likewise.
9349 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9350 to __qnan_bytes, and __qnan_union, respectively.
9351 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9352 Likewise.
9353 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9354 and lqnanval, respectively.
9355 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9356 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9358 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9359
64487e12
TS
9360 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9361 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9362 doubles.
9363
e015e27b
TS
9364 * math/test-misc.c (main): Fix copy'n'pastos.
9365 * misc/tst-efgcvt.c (special): Likewise.
9366
a57da955
TS
9367 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9368 Remove declarations.
9369
1e380345
SP
93702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9371
9372 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9373 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9374 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9376
ef26eece
AZ
93772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9378
9379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9380 macro to return vdso values correctly in IFUNC implementations.
9381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9382 Optimization by using IFUNC.
9383
8cfdb7e0
SP
93842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9385 Richard Henderson <rth@redhat.com>
9386 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9387
9388 * Makefile.in (bench): New target.
9389 * NEWS: Mention the benchmark framework.
9390 * Rules (bench): Likewise.
9391 (binaries-bench): Generate binaries for functions to
9392 benchmark.
9393 * benchtests/Makefile: New makefile for benchmark tests.
9394 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9395 programs.
9396 * benchtests/exp-inputs: New input file for EXP function.
9397 * benchtests/pow-inputs: New input file for POW function.
9398 * scripts/bench.pl: New script to generate source files for
9399 benchmark programs.
9400
bcda9880
SP
94012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9402
d22ca8cd
SP
9403 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9405 computations on mantissa. Use macros for rounding and
9406 division.
9407 (denorm): Likewise.
9408 (__dbl_mp): Likewise.
9409 (add_magnitudes): Likewise.
9410 (sub_magnitudes): Likewise.
9411 (__mul): Likewise.
9412 (__sqr): Likewise.
9413 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9414 powers of two in terms of TWOPOW macro.
9415 (mp_no): Make type of mantissa as MANTISSA_T.
9416 [!RADIXI]: Define RADIXI.
9417 [!TWO52]: Define TWO52.
9418 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9419
bcda9880
SP
9420 * manual/nptl.texi (cindex): Modify threads to pthreads.
9421
06d5adfb
JM
94222013-03-15 Joseph Myers <joseph@codesourcery.com>
9423
9424 * sysdeps/x86_64/preconfigure: Regenerated.
9425
41c7328e
JM
94262013-03-14 Joseph Myers <joseph@codesourcery.com>
9427
9428 [BZ #14155]
9429 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9430 0x1p28 and above.
9431 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9432 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9433 0x1p28 and above.
9434 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9435 * math/libm-test.inc (j0_test): Do not allow one spurious
9436 underflow exception.
9437 (y1_test): Likewise.
9438
e25cfa60
SP
94392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9440
0409959c
SP
9441 * manual/Makefile (chapters): Add nptl.
9442 * manual/debug.texi (Debugging Support): Add link to Threads
9443 chapter.
9444 * manual/nptl.texi: New file.
9445
e25cfa60
SP
9446 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9447
58a1335e
PB
94482013-03-14 Petr Baudis <pasky@ucw.cz>
9449
9450 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9451 for non-NULL pointer before the memory validity test. Pointed
9452 out by Holger Brunck <holger.brunck@keymile.com>.
9453
9dc7c64f
AS
94542013-03-13 Andreas Schwab <schwab@suse.de>
9455
9456 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9457 instead of .os.
9458
54206aa6
JM
94592013-03-13 Joseph Myers <joseph@codesourcery.com>
9460
9461 * timezone/zic.c: Update from tzcode 2013b.
9462
e98cdb38
CD
94632013-03-12 Carlos O'Donell <carlos@redhat.com>
9464
9465 * manual/install.texi (Configuring and compiling):
9466 Mention i686 and i586.
9467 * INSTALL: Regenerate.
9468
9967e003
RM
94692013-03-12 Roland McGrath <roland@hack.frob.com>
9470
9471 * sysdeps/init_array/elf-init.c: New file.
9472 * csu/elf-init.c
9473 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9474 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9475
9476 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9477 __gmon_start__ as global, but as static with a .preinit_array pointer.
9478 * sysdeps/init_array/gmon-start.c: New file. Use that.
9479 * sysdeps/init_array/crti.S: New file, empty except for comments.
9480 * sysdeps/init_array/crtn.S: Likewise.
9481
e6b5a293 94822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9483
9484 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9485 definining bcopy.
80f844c9
OB
9486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9487 Remove Prefer_SSE_for_memop.
9488 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9489 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9490 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9492 memset-x86-64.
80f844c9 9493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9494 Remove bzero, memset ifunc support.
80f844c9
OB
9495 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9496 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9497 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9498 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9499
fb6b0fcb
AS
95002013-03-11 Andreas Schwab <schwab@suse.de>
9501
9502 [BZ #15234]
9503 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9504 by SHLIB_COMPAT.
9505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9506 (GLIBC_2.16): Remove pthread_atfork.
9507
3e6bd4b1
PP
95082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9509
9510 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9511 (ptestcases.h): Likewise.
9512
222d7f00
RM
95132013-03-08 Roland McGrath <roland@hack.frob.com>
9514
9515 * Makeconfig ($(common-objpfx)config.status): Depend on
9516 sysdeps/*/preconfigure{,.in} too.
9517
1ba4f030
JM
95182013-03-08 Joseph Myers <joseph@codesourcery.com>
9519
a222d91a
JM
9520 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9521 (__free_hook): Use void * instead of __malloc_ptr_t.
9522 (__malloc_hook): Likewise.
9523 (__realloc_hook): Likewise.
9524 (__memalign_hook): Likewise.
9525 (__after_morecore_hook): Likewise.
9526 * malloc/arena.c (save_malloc_hook): Likewise.
9527 (save_free_hook): Likewise.
9528 * malloc/hooks.c (malloc_hook_ini): Likewise.
9529 (realloc_hook_ini): Likewise.
9530 (memalign_hook_ini): Likewise.
9531 * malloc/malloc.c (malloc_hook_ini): Likewise.
9532 (realloc_hook_ini): Likewise.
9533 (memalign_hook_ini): Likewise.
9534 (__free_hook): Likewise.
9535 (__malloc_hook): Likewise.
9536 (__realloc_hook): Likewise.
9537 (__memalign_hook): Likewise.
9538 (__libc_malloc): Likewise.
9539 (__libc_free): Likewise.
9540 (__libc_realloc): Likewise.
9541 (__libc_memalign): Likewise.
9542 (__libc_valloc): Likewise.
9543 (__libc_pvalloc): Likewise.
9544 (__libc_calloc): Likewise.
9545 (__posix_memalign): Likewise.
9546 * malloc/morecore.c (__sbrk): Likewise.
9547 (__default_morecore): Likewise.
9548
5cc45e10
JM
9549 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9550
dd54b864
JM
9551 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9552 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9553 __malloc_ptrdiff_t.
9554
1ba4f030
JM
9555 * malloc/malloc.h (__malloc_size_t): Remove macro.
9556 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9557 __malloc_size_t.
9558 (old_memalign_hook): Likewise.
9559 (old_realloc_hook): Likewise.
9560 (struct hdr): Likewise.
9561 (flood): Likewise.
9562 (mallochook): Likewise.
9563 (memalignhook): Likewise.
9564 (reallochook): Likewise.
9565 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9566 (tr_old_realloc_hook): Likewise.
9567 (tr_old_memalign_hook): Likewise.
9568 (tr_mallochook): Likewise.
9569 (tr_reallochook): Likewise.
9570 (tr_memalignhook): Likewise.
9571
edf66e57
AZ
95722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573
9574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9575 default_ldbl_pack and using as default implementation.
9576 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9577 implementation.
9578 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9579 redundant definition.
9580 (ldbl_insert_mantissa): Likewise.
9581 (ldbl_canonicalize): Likewise.
9582 (ldbl_nearbyint): Likewise.
9583 (ldbl_pack): Rename to ldbl_pack_ppc.
9584 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9585 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9586 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9587
6d9145d8
SP
95882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9589
9590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9591 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9593 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9596 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9597 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9598
4dd4e157
AJ
95992013-03-07 Andreas Jaeger <aj@suse.de>
9600
9601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9602 bits/mman-linux.h.
9603
adbb8027
SP
96042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9605
ce544b5b
SP
9606 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9607 Include mpa.h and declare __MPEXP.
9608 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9609 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9610 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9611 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9613 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9615
4cc149fd
SP
9616 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9617 (__slowpow): Use long double EXPL and LOGL functions to
9618 compute POW.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9620 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9623 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9624 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9625
e6ebd4a7
SP
9626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9627 intermediate variable to calculate exponent.
9628 (__sqr): Likewise.
9629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9630 Likewise.
9631 (__sqr): Likewise.
9632
82a9811d
SP
9633 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9634 [!NO__SQR]: Define __sqr.
9635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9636 and NO__SQR. Remove all code except __mul and __sqr. Include
9637 sysdeps/ieee754/dbl-64/mpa.c.
9638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9639
adbb8027
SP
9640 [BZ #12723]
9641 * posix/Makefile (tests): Add tst-pathconf.
9642 * posix/tst-pathconf.c: New test case.
9643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9644 _PC_PIPE_BUF.
9645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9646
39120df9
PF
96472013-03-06 Patsy Franklin <pfrankli@redhat.com>
9648
9649 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9650
67525cb8
AJ
96512013-03-06 Andreas Jaeger <aj@suse.de>
9652
664a9ce4
AJ
9653 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9654 definition via __MAP_ANONYMOUS.
9655
8e39047d
AJ
9656 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9657 it's not part of Linux headers.
9658
67525cb8
AJ
9659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9660 (MAP_HUGE_MASK): Define.
9661
9662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9663 Define.
9664 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9666 Define.
9667 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9668 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9669 Define.
9670 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9672 Define.
9673 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9674
9675 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9676 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9677 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9678 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9679 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9680 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9681
9682 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9683 Handle f2fs.
9684
9685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9686 Handle f2fs and efivarfs.
9687
9688 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9689 f2fs.
9690
9691 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9692 (EFIVARFS_MAGIC): Add.
9693 (F2FS_LINK_MAX): Add.
9694
e1b42695
PP
96952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9696
9697 * stdio-common/vfprintf.c: Replace __builtin_expect with
9698 __glibc_unlikely.
9699
2d67d91a
JM
97002013-03-06 Joseph Myers <joseph@codesourcery.com>
9701
9702 [BZ #13550]
9703 * sysdeps/generic/bp-sym.h: Remove file.
9704 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9706 <bp-sym.h> and <bp-asm.h>.
9707 (__longjmp): Don't use BP_SYM.
9708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9709 and <bp-asm.h>.
9710 (memcpy): Don't use BP_SYM.
9711 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9712 <bp-sym.h> and <bp-asm.h>.
9713 (memcpy): Don't use BP_SYM.
9714 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9715 <bp-asm.h>.
9716 (memcpy): Don't use BP_SYM.
9717 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9718 <bp-asm.h>.
9719 (memset): Don't use BP_SYM.
9720 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9721 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9722 (__bzero): Don't use BP_SYM.
9723 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9724 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9725 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9726 <bp-sym.h> and <bp-asm.h>.
9727 (memcmp): Don't use BP_SYM. Remove comment about bounded
9728 pointers.
9729 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9730 <bp-sym.h> and <bp-asm.h>.
9731 (memcpy): Don't use BP_SYM.
9732 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9733 <bp-sym.h> and <bp-asm.h>.
9734 (memset): Don't use BP_SYM.
9735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9737 (__bzero): Don't use BP_SYM.
9738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9741 <bp-sym.h> and <bp-asm.h>.
9742 (strncmp): Don't use BP_SYM. Remove comment about bounded
9743 pointers.
9744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9745 <bp-sym.h> and <bp-asm.h>.
9746 (memcpy): Don't use BP_SYM.
9747 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9748 <bp-sym.h> and <bp-asm.h>.
9749 (memset): Don't use BP_SYM.
9750 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9751 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9752 (__bzero): Don't use BP_SYM.
9753 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9754 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9756 <bp-sym.h> and <bp-asm.h>.
9757 (__memchr): Don't use BP_SYM.
9758 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9759 <bp-sym.h> and <bp-asm.h>.
9760 (memcmp): Don't use BP_SYM. Remove comment about bounded
9761 pointers.
9762 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9763 <bp-sym.h> and <bp-asm.h>.
9764 (memcpy): Don't use BP_SYM.
9765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9766 <bp-sym.h> and <bp-asm.h>.
9767 (__mempcpy): Don't use BP_SYM.
9768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9769 <bp-sym.h> and <bp-asm.h>.
9770 (__memrchr): Don't use BP_SYM.
9771 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9772 <bp-sym.h> and <bp-asm.h>.
9773 (memset): Don't use BP_SYM.
9774 (__bzero): Likewise.
9775 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9776 <bp-sym.h> and <bp-asm.h>.
9777 (__rawmemchr): Don't use BP_SYM.
9778 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9779 <bp-sym.h> and <bp-asm.h>.
9780 (__STRCMP): Don't use BP_SYM.
9781 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9782 <bp-sym.h> and <bp-asm.h>.
9783 (strchr): Don't use BP_SYM.
9784 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9785 <bp-sym.h> and <bp-asm.h>.
9786 (__strchrnul): Don't use BP_SYM.
9787 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9788 <bp-sym.h> and <bp-asm.h>.
9789 (strlen): Don't use BP_SYM.
9790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9791 <bp-sym.h> and <bp-asm.h>.
9792 (strncmp): Don't use BP_SYM. Remove comment about bounded
9793 pointers.
9794 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9795 <bp-sym.h> and <bp-asm.h>.
9796 (__strnlen): Don't use BP_SYM.
9797 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9798 <bp-sym.h> and <bp-asm.h>.
9799 (__GI__setjmp): Don't use BP_SYM.
9800 (_setjmp): Likewise.
9801 (__sigsetjmp): Likewise.
9802 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9803 (L(start_addresses)): Don't use BP_SYM.
9804 (_start): Likewise.
9805 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9806 <bp-asm.h>.
9807 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9808 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9809 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9810 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9811 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9812 <bp-asm.h>.
9813 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9814 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9815 about bounded pointers.
9816 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9817 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9818 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9819 <bp-asm.h>.
9820 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9821 about bounded pointers. Remove GKM FIXME comments.
9822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9823 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9824 <bp-asm.h>.
9825 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9826 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9827 Remove GKM FIXME comments.
9828 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9829 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9830 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9831 <bp-asm.h>.
9832 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9833 about bounded pointers. Remove GKM FIXME comment.
9834 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9835 and <bp-asm.h>.
9836 (strncmp): Don't use BP_SYM. Remove comment about bounded
9837 pointers.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9839 <bp-sym.h> and <bp-asm.h>.
9840 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9842 <bp-sym.h> and <bp-asm.h>.
9843 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9844 comment.
9845
cdcf361f
PP
98462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9847
9848 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9849 call free(NULL).
9850
3c4a2b15
DM
98512013-03-05 David S. Miller <davem@davemloft.net>
9852
9853 * po/es.po: Update from translation team.
9854
cdcf361f 98552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9856
9857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9858 <bits/mman-linux.h>.
9859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9860 is fine.
9861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9862 <bits/mman-linux.h> to end of file.
9863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9864 is fine.
9865 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9866 <bits/mman-linux.h> to end of file.
9867 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9868 is fine.
9869 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9870 <bits/mman-linux.h> to end of file.
9871
9872 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9873 (MCL_CURRENT, MCL_FUTURE): Define here.
9874
5f67c04f
AK
98752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9876
8a4473cc 9877 [BZ #15232]
5f67c04f
AK
9878 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9879 attribute_hidden.
9880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9881
c3e94a95
AK
98822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9883
9884 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9885 fourth parameter needed for rt_sigprocmask syscall.
9886 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9887 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9888 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9889 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9891 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9892
cfb6382a
JM
98932013-03-04 Joseph Myers <joseph@codesourcery.com>
9894
9895 [BZ #13550]
9896 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9897 comment about bounded pointers.
9898 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9899 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9900
539d8e01
AJ
99012013-03-04 Andreas Jaeger <aj@suse.de>
9902
9903 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9904 common definitions.
9905
9906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9907 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9912
2e167a70 99132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9914
9915 [BZ #15055]
9916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9917 __ieee754_sqrl instead of __sqrl.
9918
68508633
JM
99192013-03-01 Joseph Myers <joseph@codesourcery.com>
9920
9921 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9922 * sysdeps/powerpc/fpu_control.h: ... here.
9923 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9924 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9925 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9926 * sysdeps/powerpc/bits/mathinline.h: ... here.
9927
7775448e
RM
99282013-03-01 Roland McGrath <roland@hack.frob.com>
9929
9930 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9931 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9932 to just [NEED_DL_SYSINFO_DSO].
9933 * elf/dl-support.c: Likewise.
9934 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9935 * elf/rtld.c (dl_main): Likewise.
9936 * elf/setup-vdso.h (setup_vdso): Likewise.
9937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9938 * sysdeps/unix/sysv/linux/dl-sysdep.c
9939 (_dl_discover_osversion): Likewise.
9940
4e9b5995
CD
99412013-03-01 Carlos O'Donell <carlos@redhat.com>
9942
9943 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9944 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9945
e23872c8
SP
99462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9947
e5c74c63
SP
9948 * NEWS: Mention libm performance improvements and non-x86 PI
9949 futex support.
9950
e23872c8
SP
9951 * csu/libc-start.c (__pthread_initialize_minimal): Change
9952 function arguments.
9953 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9954
b5510883
JM
99552013-02-28 Joseph Myers <joseph@codesourcery.com>
9956
9957 [BZ #13550]
9958 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9960 <bp-sym.h> and <bp-asm.h>.
9961 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9963 and <bp-asm.h>.
9964 (memcpy): Don't use BP_SYM.
9965 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9966 <bp-asm.h>.
9967 (__mpn_add_n): Don't use BP_SYM.
9968 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9969 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9970 and <bp-asm.h>.
9971 (__mpn_addmul_1): Don't use BP_SYM.
9972 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9973 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9974 <bp-sym.h>.
9975 (_setjmp): Don't use BP_SYM.
9976 (__novmx_setjmp): Likewise.
9977 (__GI__setjmp): Likewise.
9978 (__vmx_setjmp): Likewise.
9979 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9980 <bp-sym.h>.
9981 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9982 (__bzero): Don't use BP_SYM.
9983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9985 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9986 <bp-sym.h> and <bp-asm.h>.
9987 (memcpy): Don't use BP_SYM.
9988 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9989 <bp-sym.h> and <bp-asm.h>.
9990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9992 <bp-sym.h> and <bp-asm.h>.
9993 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9994 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9995 <bp-asm.h>.
9996 (__mpn_lshift): Don't use BP_SYM.
9997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9998 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9999 <bp-asm.h>.
10000 (memset): Don't use BP_SYM.
10001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10003 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10004 <bp-asm.h>.
10005 (__mpn_mul_1): Don't use BP_SYM.
10006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10008 <bp-sym.h> and <bp-asm.h>.
10009 (memcmp): Don't use BP_SYM.
10010 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10011 <bp-sym.h> and <bp-asm.h>.
10012 (memcpy): Don't use BP_SYM.
10013 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10014 <bp-sym.h> and <bp-asm.h>.
10015 (memset): Don't use BP_SYM.
10016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10017 <bp-sym.h> and <bp-asm.h>.
10018 (strncmp): Don't use BP_SYM.
10019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10020 <bp-sym.h> and <bp-asm.h>.
10021 (memcpy): Don't use BP_SYM.
10022 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10023 <bp-sym.h> and <bp-asm.h>.
10024 (memset): Don't use BP_SYM.
10025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10026 <bp-sym.h> and <bp-asm.h>.
10027 (__memchr): Don't use BP_SYM.
10028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10029 <bp-sym.h> and <bp-asm.h>.
10030 (memcmp): Don't use BP_SYM.
10031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10032 <bp-sym.h> and <bp-asm.h>.
10033 (memcpy): Don't use BP_SYM.
10034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10035 <bp-sym.h> and <bp-asm.h>.
10036 (__mempcpy): Don't use BP_SYM.
10037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10038 <bp-sym.h> and <bp-asm.h>.
10039 (__memrchr): Don't use BP_SYM.
10040 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10041 <bp-sym.h> and <bp-asm.h>.
10042 (memset): Don't use BP_SYM.
10043 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10044 <bp-sym.h> and <bp-asm.h>.
10045 (__rawmemchr): Don't use BP_SYM.
10046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10047 <bp-sym.h> and <bp-asm.h>.
10048 (__STRCMP): Don't use BP_SYM.
10049 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10050 <bp-sym.h> and <bp-asm.h>.
10051 (strchr): Don't use BP_SYM.
10052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10053 <bp-sym.h> and <bp-asm.h>.
10054 (__strchrnul): Don't use BP_SYM.
10055 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10056 <bp-sym.h> and <bp-asm.h>.
10057 (strlen): Don't use BP_SYM.
10058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10059 <bp-sym.h> and <bp-asm.h>.
10060 (strncmp): Don't use BP_SYM.
10061 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10062 <bp-sym.h> and <bp-asm.h>.
10063 (__strnlen): Don't use BP_SYM.
10064 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10065 <bp-asm.h>.
10066 (__mpn_rshift): Don't use BP_SYM.
10067 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10068 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10069 <bp-sym.h> and <bp-asm.h>.
10070 (__sigsetjmp): Don't use BP_SYM.
10071 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10072 (L(start_addresses)): Don't use BP_SYM.
10073 (_start): Likewise.
10074 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10075 <bp-asm.h>.
10076 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10077 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10078 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10079 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10080 <bp-asm.h>.
10081 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10082 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10083 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10084 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10085 <bp-asm.h>.
10086 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10087 comments.
10088 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10089 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10090 <bp-asm.h>.
10091 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10092 FIXME comments.
10093 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10094 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10095 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10096 <bp-asm.h>.
10097 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10098 comment.
10099 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10100 and <bp-asm.h>.
10101 (strncmp): Don't use BP_SYM,
10102 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10103 <bp-asm.h>.
10104 (__mpn_sub_n): Don't use BP_SYM.
10105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10106 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10107 and <bp-asm.h>.
10108 (__mpn_submul_1): Don't use BP_SYM.
10109 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10111 <bp-sym.h> and <bp-asm.h>.
10112 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10114 <bp-sym.h> and <bp-asm.h>.
10115 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10116 comment.
10117
8d19fe64
SP
101182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
10120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10121 Use ZK to minimize writes to Z.
10122 (sub_magnitudes): Simplify code a bit.
10123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10124 Use ZK to minimize writes to Z.
10125 (sub_magnitudes): Simplify code a bit.
10126
85bd816a
RM
101272013-02-27 Roland McGrath <roland@hack.frob.com>
10128
10129 * csu/gmon-start.c: Add special exception to license text.
10130
b5977bf2
RH
101312013-02-27 Richard Henderson <rth@redhat.com>
10132
10133 * scripts/config.guess: Update from config.git.
10134 * scripts/config.sub: Likewise.
10135
11d6e2f2
SP
101362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10137
09c14ed2
SP
10138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10139
a688864e
SP
10140 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10141
6295157a
SP
10142 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10143
b8de2202
SP
10144 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10145
11d6e2f2
SP
10146 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10147
7e80ddb8
RM
101482013-02-26 Roland McGrath <roland@hack.frob.com>
10149
10150 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10151 [$(build-shared = yes].
7e80ddb8 10152
7da6d9ed
SP
101532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10154
45f05884
SP
10155 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10156 (__mul): Reduce iterations for calculating mantissa.
10157
2236d359
SP
10158 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10159 MPTWO.
10160 (__mpranred): Likewise.
10161
7da6d9ed
SP
10162 [BZ #15160]
10163 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10164 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10165
b7688c42
PE
101662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10167
10168 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10169 Define __attribute__.
10170
53a5c423
SP
101712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10172
10173 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10174 unused.
10175 * posix/regex_internal.h (__attribute): Remove.
10176 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10177 (re_string_context_at): Likewise.
10178 (bitset_not): Use __attribute__ and mark function as possibly
10179 unused.
10180 (bitset_merge): Likewise.
10181 (bitset_mask): Likewise.
10182 (re_string_char_size_at): Likewise.
10183 (re_string_wchar_at): Likewise.
10184 (re_string_elem_size_at): Likewise.
10185
60f5a8b5
SP
101862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10187
2a983a2e
SP
10188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10189 code.
10190 (cc32): Likewise.
10191
e69804d1
SP
10192 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10193 (__acr): Likewise.
10194 (__cpy): Likewise.
10195 (norm): Likewise.
10196 (denorm): Likewise.
10197 (__dbl_mp): Likewise.
10198 (add_magnitudes): Likewise.
10199 (sub_magnitudes): Likewise.
10200 (__mul): Likewise.
10201 (__inv): Likewise.
10202
2f22a1e8
SP
10203 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10204 style.
10205
8930ddc7
SP
10206 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10207 style.
10208
dc60cb11
SP
10209 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10210 code.
10211
60f5a8b5
SP
10212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10213 up changes with default code.
10214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10215 Likewise.
10216
b4d1fd33
AM
102172013-02-24 Allan McRae <allan@archlinux.org>
10218
faf6f8bc
AM
10219 * manual/socket.texi (The Internet Namespace): Order menu items
10220 to match that in the file.
10221
b4d1fd33
AM
10222 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10223 node listing of the info page menu.
10224
2366713d
JM
102252013-02-21 Joseph Myers <joseph@codesourcery.com>
10226
10227 [BZ #13550]
10228 * sysdeps/i386/bp-asm.h: Remove file.
10229 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10230 (PARMS): Do not use macros from bp-asm.h.
10231 (S1): Likewise.
10232 (S2): Likewise.
10233 (SIZE): Likewise.
10234 (__mpn_add_n): Do not use BP_SYM
10235 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10236 "bp-asm.h".
10237 (PARMS): Do not use macros from bp-asm.h.
10238 (S1): Likewise.
10239 (SIZE): Likewise.
10240 (__mpn_addmul_1): Do not use BP_SYM
10241 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10242 "bp-asm.h".
10243 (PARMS): Do not use macros from bp-asm.h.
10244 (SIGMSK): Likewise.
10245 (_setjmp): Likewise. Do not use BP_SYM.
10246 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10247 "bp-asm.h".
10248 (PARMS): Do not use macros from bp-asm.h.
10249 (SIGMSK): Likewise.
10250 (setjmp): Likewise. Do not use BP_SYM.
10251 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10252 "bp-asm.h".
10253 (PARMS): Do not use macros from bp-asm.h.
10254 (__frexp): Do not use BP_SYM.
10255 (frexp): Likewise.
10256 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10257 "bp-asm.h".
10258 (PARMS): Do not use macros from bp-asm.h.
10259 (__frexpf): Do not use BP_SYM.
10260 (frexpf): Likewise.
10261 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10262 "bp-asm.h".
10263 (PARMS): Do not use macros from bp-asm.h.
10264 (__frexpl): Do not use BP_SYM.
10265 (frexpl): Likewise.
10266 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10267 "bp-asm.h".
10268 (PARMS): Do not use macros from bp-asm.h.
10269 (__remquo): Do not use BP_SYM.
10270 (remquo): Likewise.
10271 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10272 "bp-asm.h".
10273 (PARMS): Do not use macros from bp-asm.h.
10274 (__remquof): Do not use BP_SYM.
10275 (remquof): Likewise.
10276 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10277 "bp-asm.h".
10278 (PARMS): Do not use macros from bp-asm.h.
10279 (__remquol): Do not use BP_SYM.
10280 (remquol): Likewise.
10281 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10282 "bp-asm.h".
10283 (PARMS): Do not use macros from bp-asm.h.
10284 (DEST): Likewise.
10285 (SRC): Likewise.
10286 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10287 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10288 "bp-asm.h".
10289 (PARMS): Do not use macros from bp-asm.h.
10290 (strlen): Do not use BP_SYM.
10291 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10292 "bp-asm.h".
10293 (PARMS): Do not use macros from bp-asm.h.
10294 (S1): Likewise.
10295 (S2): Likewise.
10296 (SIZE): Likewise.
10297 (__mpn_add_n): Do not use BP_SYM.
10298 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10299 "bp-asm.h".
10300 (PARMS): Do not use macros from bp-asm.h.
10301 (S1): Likewise.
10302 (SIZE): Likewise.
10303 (__mpn_addmul_1): Do not use BP_SYM.
10304 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10305 weak_alias.
10306 (bzero): Likewise.
10307 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10308 "bp-asm.h".
10309 (PARMS): Do not use macros from bp-asm.h.
10310 (S): Likewise.
10311 (SIZE): Likewise.
10312 (__mpn_lshift): Do not use BP_SYM.
10313 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10314 "bp-asm.h".
10315 (PARMS): Do not use macros from bp-asm.h.
10316 (DEST): Likewise.
10317 (SRC): Likewise.
10318 (LEN): Likewise.
10319 (memcpy): Likewise. Do not use BP_SYM.
10320 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10321 libc_hidden_def and weak_alias.
10322 (mempcpy): Do not use BP_SYM in weak_alias.
10323 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10324 "bp-asm.h".
10325 (PARMS): Do not use macros from bp-asm.h.
10326 (DEST): Likewise.
10327 (LEN): Likewise.
10328 [!BZERO_P] (CHR): Likewise.
10329 (memset): Likewise. Do not use BP_SYM.
10330 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10331 "bp-asm.h".
10332 (PARMS): Do not use macros from bp-asm.h.
10333 (S1): Likewise.
10334 (SIZE): Likewise.
10335 (__mpn_mul_1): Do not use BP_SYM.
10336 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10337 "bp-asm.h".
10338 (PARMS): Do not use macros from bp-asm.h.
10339 (S): Likewise.
10340 (SIZE): Likewise.
10341 (__mpn_rshift): Do not use BP_SYM.
10342 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10343 "bp-asm.h".
10344 (PARMS): Do not use macros from bp-asm.h.
10345 (STR): Likewise.
10346 (CHR): Likewise.
10347 (strchr): Likewise. Do not use BP_SYM.
10348 (index): Do not use BP_SYM in weak_alias.
10349 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10350 "bp-asm.h".
10351 (PARMS): Do not use macros from bp-asm.h.
10352 (DEST): Likewise.
10353 (SRC): Likewise.
10354 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10355 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10356 "bp-asm.h".
10357 (PARMS): Do not use macros from bp-asm.h.
10358 (strlen): Do not use BP_SYM.
10359 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10360 "bp-asm.h".
10361 (PARMS): Do not use macros from bp-asm.h.
10362 (S1): Likewise.
10363 (S2): Likewise.
10364 (SIZE): Likewise.
10365 (__mpn_sub_n): Do not use BP_SYM.
10366 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10367 "bp-asm.h".
10368 (PARMS): Do not use macros from bp-asm.h.
10369 (S1): Likewise.
10370 (SIZE): Likewise.
10371 (__mpn_submul_1): Do not use BP_SYM.
10372 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10373 "bp-asm.h".
10374 (PARMS): Do not use macros from bp-asm.h.
10375 (S1): Likewise.
10376 (S2): Likewise.
10377 (SIZE): Likewise.
10378 (__mpn_add_n): Do not use BP_SYM.
10379 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10380 weak_alias.
10381 (bzero): Likewise.
10382 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10383 "bp-asm.h".
10384 (PARMS): Do not use macros from bp-asm.h.
10385 (BLK2): Likewise.
10386 (LEN): Likewise.
10387 (memcmp): Do not use BP_SYM.
10388 (bcmp): Do not use BP_SYM in weak_alias.
10389 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10390 "bp-asm.h".
10391 (PARMS): Do not use macros from bp-asm.h.
10392 (DEST): Likewise.
10393 (SRC): Likewise.
10394 (LEN): Likewise.
10395 (memcpy): Likewise. Do not use BP_SYM.
10396 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10397 "bp-asm.h".
10398 (PARMS): Do not use macros from bp-asm.h.
10399 (DEST): Likewise.
10400 (SRC): Likewise.
10401 (LEN): Likewise.
10402 (memmove): Likewise. Do not use BP_SYM.
10403 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10404 "bp-asm.h".
10405 (PARMS): Do not use macros from bp-asm.h.
10406 (DEST): Likewise.
10407 (SRC): Likewise.
10408 (LEN): Likewise.
10409 (__mempcpy): Likewise. Do not use BP_SYM.
10410 (mempcpy): Do not use BP_SYM in weak_alias.
10411 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10412 "bp-asm.h".
10413 (PARMS): Do not use macros from bp-asm.h.
10414 (DEST): Likewise.
10415 (LEN): Likewise.
10416 [!BZERO_P] (CHR): Likewise.
10417 (memset): Likewise. Do not use BP_SYM.
10418 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10419 "bp-asm.h".
10420 (PARMS): Do not use macros from bp-asm.h.
10421 (STR2): Likewise.
10422 (strcmp): Do not use BP_SYM.
10423 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10424 "bp-asm.h".
10425 (PARMS): Do not use macros from bp-asm.h.
10426 (STR): Likewise.
10427 (DELIM): Likewise.
10428 [USE_AS_STRTOK_R] (SAVE): Likewise.
10429 (FUNCTION): Likewise. Do not use BP_SYM.
10430 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10431 aliases.
10432 (strtok_r): Likewise.
10433 (__GI___strtok_r): Likewise.
10434 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10435 (PARMS): Do not use macros from bp-asm.h.
10436 (S): Likewise.
10437 (SIZE): Likewise.
10438 (__mpn_lshift): Do not use BP_SYM.
10439 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10440 (PARMS): Do not use macros from bp-asm.h.
10441 (STR): Likewise.
10442 (CHR): Likewise.
10443 (__memchr): Do not use BP_SYM.
10444 (memchr): Do not use BP_SYM in weak_alias.
10445 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10446 (PARMS): Do not use macros from bp-asm.h.
10447 (BLK2): Likewise.
10448 (LEN): Likewise.
10449 (memcmp): Do not use BP_SYM.
10450 (bcmp): Do not use BP_SYM in weak_alias.
10451 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10452 (PARMS): Do not use macros from bp-asm.h.
10453 (S1): Likewise.
10454 (SIZE): Likewise.
10455 (__mpn_mul_1): Do not use BP_SYM.
10456 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10457 "bp-asm.h".
10458 (PARMS): Do not use macros from bp-asm.h.
10459 (STR): Likewise.
10460 (CHR): Likewise.
10461 (__rawmemchr): Do not use BP_SYM.
10462 (rawmemchr): Do not use BP_SYM in weak_alias.
10463 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10464 (PARMS): Do not use macros from bp-asm.h.
10465 (S): Likewise.
10466 (SIZE): Likewise.
10467 (__mpn_rshift): Do not use BP_SYM.
10468 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10469 (PARMS): Do not use macros from bp-asm.h.
10470 (SIGMSK): Likewise.
10471 (__sigsetjmp): Likewise. Do not use BP_SYM.
10472 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10473 (_start): Do not use BP_SYM.
10474 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10475 (PARMS): Do not use macros from bp-asm.h.
10476 (DEST): Likewise.
10477 (SRC): Likewise.
10478 (__stpcpy): Likewise. Do not use BP_SYM.
10479 (stpcpy): Do not use BP_SYM in weak_alias.
10480 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10481 "bp-asm.h".
10482 (PARMS): Do not use macros from bp-asm.h.
10483 (DEST): Likewise.
10484 (SRC): Likewise.
10485 (LEN): Likewise.
10486 (__stpncpy): Likewise. Do not use BP_SYM.
10487 (stpncpy): Do not use BP_SYM in weak_alias.
10488 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10489 (PARMS): Do not use macros from bp-asm.h.
10490 (STR): Likewise.
10491 (CHR): Likewise.
10492 (strchr): Likewise. Do not use BP_SYM.
10493 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10494 "bp-asm.h".
10495 (PARMS): Do not use macros from bp-asm.h.
10496 (STR): Likewise.
10497 (CHR): Likewise.
10498 (__strchrnul): Likewise. Do not use BP_SYM.
10499 (strchrnul): Do not use BP_SYM in weak_alias.
10500 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10501 "bp-asm.h".
10502 (PARMS): Do not use macros from bp-asm.h.
10503 (STOP): Likewise.
10504 (strcspn): Do not use BP_SYM.
10505 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10506 "bp-asm.h".
10507 (PARMS): Do not use macros from bp-asm.h.
10508 (STR): Likewise.
10509 (STOP): Likewise.
10510 (strpbrk): Likewise. Do not use BP_SYM.
10511 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10512 "bp-asm.h".
10513 (PARMS): Do not use macros from bp-asm.h.
10514 (STR): Likewise.
10515 (CHR): Likewise.
10516 (strrchr): Likewise. Do not use BP_SYM.
10517 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10518 (PARMS): Do not use macros from bp-asm.h.
10519 (SKIP): Likewise.
10520 (strspn): Do not use BP_SYM.
10521 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10522 (PARMS): Do not use macros from bp-asm.h.
10523 (STR): Likewise.
10524 (DELIM): Likewise.
10525 (SAVE): Likewise.
10526 (FUNCTION): Likewise. Do not use BP_SYM.
10527 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10528 aliases.
10529 (strtok_r): Likewise.
10530 (__GI___strtok_r): Likewise.
10531 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10532 (PARMS): Do not use macros from bp-asm.h.
10533 (S1): Likewise.
10534 (S2): Likewise.
10535 (SIZE): Likewise.
10536 (__mpn_sub_n): Do not use BP_SYM.
10537 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10538 "bp-asm.h".
10539 (PARMS): Do not use macros from bp-asm.h.
10540 (S1): Likewise.
10541 (SIZE): Likewise.
10542 (__mpn_submul_1): Do not use BP_SYM.
10543 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10544 <bp-sym.h>.
10545 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10546 and <bp-asm.h>.
10547 (PARMS): Do not use macros from bp-asm.h.
10548 (FLAGS): Likewise.
10549 (PTID): Likewise.
10550 (TLS): Likewise.
10551 (CTID): Likewise.
10552 (__clone): Do not use BP_SYM.
10553 (clone): Do not use BP_SYM in weak_alias.
10554 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10555 and <bp-asm.h>.
10556 (PARMS): Do not use macros from bp-asm.h.
10557 (LEN): Likewise.
10558 (__mmap64): Do not use BP_SYM.
10559 (mmap64): Do not use BP_SYM in weak_alias.
10560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10561 <bp-sym.h> and <bp-asm.h>.
10562 (PARMS): Do not use macros from bp-asm.h.
10563 (__posix_fadvise64_l64): Do not use BP_SYM.
10564 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10565 (PARMS): Do not use macros from bp-asm.h.
10566 (NSOPS): Likewise.
10567 (semtimedop): Do not use BP_SYM.
10568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10569 and <bp-asm.h>.
10570
582a3cff
AM
105712013-02-21 Allan McRae <allan@archlinux.org>
10572
10573 * manual/message.texi (Charset conversion in gettext):
10574 Move @end statement to beginning of line.
10575
bab8a695
SP
105762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10577
80945231
SP
10578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10579 static.
10580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10581 Likewise.
10582
bab8a695
SP
10583 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10584 (denorm): Likewise.
10585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10587
e21d7aa7
AK
105882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10589
10590 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10591 tail-call to the resolved function if pltexit isn't needed.
10592
4c7a4263
SP
105932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10594
10595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10596 or Y being zero as being unlikely.
10597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10598 Likewise.
10599
41f49342
CD
106002013-02-20 Carlos O'Donell <carlos@redhat.com>
10601
10602 * manual/nss.texi (System Databases and Name Service Switch):
10603 Remove frobnicate @pxref.
10604
50022a93
TS
106052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10606
10607 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10608 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10609
08cbd996
PM
106102013-02-20 Petr Machata <pmachata@redhat.com>
10611
10612 * elf/elf.h (R_ARM_TARGET1): New macro.
10613 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10614 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10615 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10616 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10617 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10618 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10619 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10620 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10621 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10622 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10623 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10624 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10625 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10626 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10627 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10628 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10629 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10630 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10631 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10632 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10633 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10634 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10635 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10636 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10637 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10638 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10639 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10640 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10641 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10642 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10643 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10644 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10645 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10646 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10647 (R_ARM_THM_GOT_BREL12): Likewise.
10648 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10649 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10650 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10651 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10652 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10653 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10654 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10655 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10656 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10657
c7b275d6
TS
106582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10659
10660 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10661 __attribute_used__ to __attribute__ ((unused)).
10662
20cd7fb3
SP
106632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10664
10665 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10666 powerpc mpa.c.
10667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10668 comment formatting.
10669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10670
92945b52
JM
106712013-02-19 Joseph Myers <joseph@codesourcery.com>
10672
10673 [BZ #13550]
10674 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10675 Remove macro.
10676 (ENTER): Remove both macro definitions.
10677 (LEAVE): Likewise.
10678 (CHECK_BOUNDS_LOW): Likewise.
10679 (CHECK_BOUNDS_HIGH): Likewise.
10680 (CHECK_BOUNDS_BOTH): Likewise.
10681 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10682 (RETURN_BOUNDED_POINTER): Likewise.
10683 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10684 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10685 (POP_ERRNO_LOCATION_RETURN): Likewise.
10686 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10688 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10689 macros.
10690 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10691 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10692 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10693 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10694 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10695 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10696 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10697 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10698 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10699 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10700 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10701 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10703 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10704 removed macros.
10705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10706 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10707 macros.
10708 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10709 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10710 * sysdeps/i386/i586/memset.S (memset): Likewise.
10711 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10712 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10713 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10714 macros.
10715 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10716 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10717 Change uses of L(2) to L(out).
10718 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10719 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10720 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10721 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10722 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10723 removed macros.
10724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10725 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10726 macros.
10727 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10728 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10729 (RETURN): Do not use macro LEAVE.
10730 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10731 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10732 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10733 * sysdeps/i386/i686/memset.S (memset): Likewise.
10734 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10735 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10737 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10738 Likewise.
10739 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10740 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10741 L(1_2) and L(1_3) into L(1).
10742 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10743 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10745 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10746 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10747 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10748 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10749 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10750 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10751 macros.
10752 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10754 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10755 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10756 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10757 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10758 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10759 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10760 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10761 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10762 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10763 * sysdeps/i386/strspn.S (strspn): Likewise.
10764 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10765 conditional code.
10766 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10767 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10768 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10769 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10770 L(1_3) into L(1_1).
10771 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10772 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10773 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10774 macros.
10775 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10776
2389741a
JJ
107772013-02-19 Jakub Jelinek <jakub@redhat.com>
10778
10779 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10780 macro.
10781
2016b3cd
SP
107822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10783
e4f22324
SP
10784 * math/atest-exp.c (exp_mpn): Remove ROUND.
10785 * math/atest-exp2.c (exp_mpn): Likewise.
10786 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10787
2016b3cd
SP
10788 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10789 * stdlib/tst-tls-atexit-lib.c: Likewise.
10790 * stdlib/tst-tls-atexit.c: Likewise.
10791
4be9b544
MF
107922013-02-18 Mike Frysinger <vapier@gentoo.org>
10793
10794 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10795 and __attribute_alloc_size__.
10796
2f62b9ee
MF
107972013-02-18 Mike Frysinger <vapier@gentoo.org>
10798
10799 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10800 __attribute_alloc_size__.
10801 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10802 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10803
6ff444c4
MF
108042013-02-18 Mike Frysinger <vapier@gentoo.org>
10805
10806 * include/programs/xmalloc.h: New file.
10807 * catgets/gencat.c: Include it.
10808 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10809 * elf/pldd.c: Likewise.
10810 * iconv/iconv_charmap.c: Likewise.
10811 * iconv/iconvconfig.c: Likewise.
10812 * iconv/strtab.c: Likewise.
10813 * locale/programs/locale.c: Likewise.
10814 * locale/programs/localedef.h: Likewise.
10815 * locale/programs/simple-hash.c: Likewise.
10816 * nscd/nscd.h: Likewise.
10817 * nss/makedb.c: Likewise.
10818 * sysdeps/generic/ldconfig.h: Likewise.
10819
be179c8a
SP
108202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10821
ba384f6e
SP
10822 * Versions.def: Add GLIBC_2.18.
10823 * include/link.h (struct link_map): New member l_tls_dtor_count.
10824 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10825 (__call_tls_dtors): Likewise.
10826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10827 __cxa_thread_atexit_impl.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10829 Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10831 Likewise.
10832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10833 Likewise.
10834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10835 Likewise.
10836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10838 Likewise.
10839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10840 Likewise.
10841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10843 Likewise.
10844 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10845 (tests): Add test case tst-tls-atexit.
10846 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10847 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10848 (GLIBC_PRIVATE): Add __call_tls_dtors.
10849 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10850 for libstdc++.
10851 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10852 * stdlib/tst-tls-atexit.c: New test case.
10853 * stdlib/tst-tls-atexit-lib.c: New test case.
10854
ffaa74cf 10855 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10856
be179c8a
SP
10857 * elf/Versions (ld): Add _dl_find_dso_for_object.
10858 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10859 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10860 (dl_open_worker): Use _dl_find_dso_for_object.
10861 * elf/dl-sym.c (do_sym): Likewise.
10862 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10863
f78b5caa
AK
108642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10865
10866 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10867 Syntactic changes only.
10868 (_dl_runtime_profile): Do a tail-call to the resolved function.
10869
29691210
JM
108702013-02-17 Joseph Myers <joseph@codesourcery.com>
10871
10872 [BZ #13550]
10873 * sysdeps/x86_64/bp-asm.h: Remove file.
10874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10875 <bp-sym.h> and <bp-asm.h>.
10876 (__clone): Do not use BP_SYM.
10877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10878 <bp-sym.h> and <bp-asm.h>.
10879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10880 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10881 "bp-asm.h".
10882 (_setjmp): Do not use BP_SYM.
10883 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10884 "bp-asm.h".
10885 (setjmp): Do not use BP_SYM.
10886 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10887 libc_hidden_def.
10888 (mempcpy): Do not use BP_SYM in weak_alias.
10889 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10890 "bp-asm.h".
10891 (strchr): Do not use BP_SYM.
10892 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10893 "bp-asm.h".
10894 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10895 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10896 (_start): Do not use BP_SYM.
10897 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10898 "bp-asm.h".
10899 (strcat): Do not use BP_SYM.
10900 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10901 "bp-asm.h".
10902 (STRCMP): Do not use BP_SYM.
10903 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10904 "bp-asm.h".
10905 (STRCPY): Do not use BP_SYM.
10906 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10907 "bp-asm.h".
10908 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10909 "bp-asm.h".
10910 (FUNCTION): Do not use BP_SYM.
10911 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10912 weak_alias.
10913 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10914
f238fd19
AJ
109152013-02-17 Andreas Jaeger <aj@suse.de>
10916
10917 * time/Versions: Sort entries.
10918 * string/Versions: Likewise.
10919 * resolv/Versions: Likewise.
10920 * posix/Versions: Likewise.
10921 * iconv/Versions: Likewise.
10922 * elf/Versions: Likewise.
10923 * wcsmbs/Versions: Likewise.
10924
bd07f23c 109252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10926
22af19f9
SP
10927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10928 loop termination condition.
10929
4709fe76
SP
10930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10931 variable to calculate EZ.
10932 (__sqr): Likewise.
2d0e0f29
SP
10933
10934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10935 the lower precision input.
10936
daaa7713
JM
109372013-02-15 Joseph Myers <joseph@codesourcery.com>
10938
10939 [BZ #13550]
10940 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10941 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10942 (run-via-rtld-prefix): Do not handle %-bp tests.
10943 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10944 (all-object-suffixes): Remove .ob.
10945 (bppfx): Remove variable.
10946 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10947 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10948 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10949 [$(build-bounded) = yes] (libtype.ob): Likewise.
10950 * Makerules (elide-routines.ob): Remove variable.
10951 (do-tests-clean): Do not handle *-bp.out.
10952 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10953 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10954 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10955 (tests): Do not include $(tests-bp.out).
10956 (xtests): Do not include $(xtests-bp.out).
10957 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10958 [$(build-bounded) = yes] ($(addprefix
10959 $(objpfx),$(binaries-bounded))): Remove rule.
10960 ($(objpfx)%-bp.out): Remove rule.
10961 * config.make.in (build-bounded): Remove variable.
10962 * crypt/Makefile [$(build-bounded) = yes]
10963 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10964 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10965 append to variable.
10966 [$(build-bounded) = yes] (install-lib): Likewise.
10967 [$(build-bounded) = yes] (generated): Likewise.
10968 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10969 Remove rule.
10970 * intl/Makefile [$(build-bounded) = yes]
10971 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10972 * math/Makefile [$(build-bounded) = yes]
10973 ($(tests:%=$(objpfx)%-bp): Likewise.
10974 * misc/Makefile [$(build-bounded) = yes]
10975 ($(objpfx)tst-tsearch-bp): Likewise.
10976 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10977 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10978 Remove dependency.
10979 * string/Makefile (o-objects.ob): Remove variable.
10980 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10981 (CFLAGS-.ob): Remove variable.
10982 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10983 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10984 both definitions of variable.
10985 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10986 (ASFLAGS-.ob): Remove variable.
10987
e97ed6dd
JM
109882013-02-14 Joseph Myers <joseph@codesourcery.com>
10989
2bdd4ca6
JM
10990 [BZ #13550]
10991 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10992 Remove __BOUNDED_POINTERS__ from condition.
10993 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10994 * string/bits/string2.h [!__NO_STRING_INLINES &&
10995 !__BOUNDED_POINTERS__]: Likewise.
10996 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10997 Likewise.
10998 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10999 Remove conditional code.
11000 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11001 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11002 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11003 condition.
11004
e97ed6dd
JM
11005 [BZ #13550]
11006 * csu/libc-start.c: Do not include <bp-sym.h>.
11007 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11008 * elf/dl-open.c: Do not include <bp-sym.h>.
11009 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11010 * math/fegetenv.c: Do not include <bp-sym.h>.
11011 (fegetenv): Do not use BP_SYM in versioned symbols.
11012 * nptl/sysdeps/pthread/bits/libc-lockP.h
11013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11014 <bp-sym.h>.
11015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11016 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11018 (__pthread_mutex_destroy): Likewise.
11019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11020 (__pthread_mutex_lock): Likewise.
11021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11022 (__pthread_mutex_trylock): Likewise.
11023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11024 (__pthread_mutex_unlock): Likewise.
11025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11026 (__pthread_mutexattr_init): Likewise.
11027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11028 (__pthread_mutexattr_destroy): Likewise.
11029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11030 (__pthread_mutexattr_settype): Likewise.
11031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11032 (__pthread_rwlock_init): Likewise.
11033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11034 (__pthread_rwlock_destroy): Likewise.
11035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11036 (__pthread_rwlock_rdlock): Likewise.
11037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11038 (__pthread_rwlock_tryrdlock): Likewise.
11039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11040 (__pthread_rwlock_wrlock): Likewise.
11041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11042 (__pthread_rwlock_trywrlock): Likewise.
11043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11044 (__pthread_rwlock_unlock): Likewise.
11045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11046 (__pthread_key_create): Likewise.
11047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11048 (__pthread_setspecific): Likewise.
11049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11050 (__pthread_getspecific): Likewise.
11051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11052 Likewise.
11053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11054 (_pthread_cleanup_push_defer): Likewise.
11055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11056 (_pthread_cleanup_pop_restore): Likewise.
11057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11058 (pthread_setcancelstate): Likewise.
11059 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11060 <bp-sym.h>.
11061 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11062 (memchr): Do not use BP_SYM in weak_alias.
11063 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11064 (fegetenv): Do not use BP_SYM in versioned symbols.
11065 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11066 (fesetenv): Do not use BP_SYM in versioned symbols.
11067 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11068 (feupdateenv): Do not use BP_SYM in versioned symbols.
11069 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11070 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11071 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11072 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11073 (open64): Do not use BP_SYM in weak_alias.
11074 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11075 (fegetenv): Do not use BP_SYM in versioned symbols.
11076 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11077 (fesetenv): Do not use BP_SYM in versioned symbols.
11078 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11079 (feupdateenv): Do not use BP_SYM in versioned symbols.
11080 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11081 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11082 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11083 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11084 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11085 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11086 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11087 <bp-sym.h>.
11088 (__libc_start_main): Do not use BP_SYM.
11089
d6752ccd
SP
110902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11091
cb57ce60
SP
11092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11093 redundant return line.
11094 (norm): Likewise.
11095 (denorm): Likewise.
11096 (dbl_mp): Likewise.
11097 (sub_magnitudes): Likewise.
11098 (__add): Likewise.
11099 (__sub): Likewise.
11100 (__mul): Likewise.
11101 (__inv): Likewise.
11102 (__dvd): Likewise.
11103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11104 (norm): Likewise.
11105 (denorm): Likewise.
11106 (dbl_mp): Likewise.
11107 (sub_magnitudes): Likewise.
11108 (__add): Likewise.
11109 (__sub): Likewise.
11110 (__mul): Likewise.
11111 (__inv): Likewise.
11112 (__dvd): Likewise.
11113
f414520d
SP
11114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11115 instead of __mul.
11116 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11117 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11118 (cc32): Likewise.
11119
d6752ccd
SP
11120 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11121 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11123 of __mul for squares.
11124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11125 function
11126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11127 Likewise.
11128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11129 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11130
70d9946a
JM
111312013-02-13 Joseph Myers <joseph@codesourcery.com>
11132
11133 [BZ #13550]
11134 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11135 code.
11136 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11137 prototype or function definition. Rename ubp_* variables and
11138 parameters. Remove argv definitions conditional on
11139 [__BOUNDED_POINTERS__].
11140 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11141 * elf/dl-runtime.c (_dl_fixup): Likewise.
11142 * include/set-hooks.h (RUN_HOOK): Likewise.
11143 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11144 definition.
11145 * string/strcpy.c (strcpy): Do not use __unbounded.
11146 * sysdeps/generic/frame.h (struct layout): Likewise.
11147 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11148 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11149 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11150 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11151 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11152 (__backtrace): Likewise.
11153 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11154 use __ptrvalue.
11155 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11156 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11157 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11158 Likewise.
11159 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11160 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11161 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11162 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11163 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11164 Do not use __unbounded.
11165 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11166 Rename __unboundedrlimits parameter to rlimits in prototype.
11167 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11168 Do not use __unbounded.
11169 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11170 not use __ptrvalue.
11171 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11172 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11173 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11175 __ptrvalue or __unbounded.
11176 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11177 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11178 use __unbounded.
11179 (__new_msgctl): Do not use __ptrvalue.
11180 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11181 __unbounded.
11182 (__libc_msgrcv): Do not use __ptrvalue.
11183 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11184 startup_info): Do not use __unbounded.
11185 (__libc_start_main): Likewise. Rename ubp_* variables and
11186 parameters. Remove argv definitions conditional on
11187 [__BOUNDED_POINTERS__].
11188 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11189 __ptrvalue.
11190 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11191 use __unbounded.
11192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11193 or __ptrvalue.
11194 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11195 use __unbounded.
11196 (__new_shmctl): Do not use __ptrvalue.
11197 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11198 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11199 Likewise.
11200 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11201 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11202 (__libc_sigaction): Likewise.
11203 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11205 Likewise.
11206 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11207
cc7834d6
OB
112082013-02-13 Ondřej Bílka <neleai@seznam.cz>
11209
ffb1ec7b 11210 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11211
11212 * string/mempcpy.c: Implement by calling memcpy.
11213
bdf02814
SP
112142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11215
c2af38aa
SP
11216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11217
4e92d59e
SP
11218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11219 evaluation.
11220
909279a5
SP
11221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11222 values in the mantissa.
11223
bdf02814
SP
11224 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11225 minimize writes to Z.
11226 (sub_magnitudes): Simplify code a bit.
11227
cd525923
RM
112282013-02-12 Roland McGrath <roland@hack.frob.com>
11229
11230 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11231 from the message. The linker prefixes all warnings with that already.
11232
7e2f0d2d
AS
112332013-02-12 Andreas Schwab <schwab@suse.de>
11234
a445af0b
AS
11235 [BZ #15078]
11236 * posix/regexec.c (extend_buffers): Add parameter min_len.
11237 (check_matching): Pass minimum needed length.
11238 (clean_state_log_if_needed): Likewise.
11239 (get_subexp): Likewise.
11240 * posix/Makefile (tests): Add bug-regex34.
11241 (bug-regex34-ENV): Define.
11242 * posix/bug-regex34.c: New file.
11243
7e2f0d2d
AS
11244 [BZ #11561]
11245 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11246 elements compare against the byte sequence of it, not its name.
11247 * posix/Makefile (tests): Add bug-regex35.
11248 (bug-regex35-ENV): Define.
11249 * posix/bug-regex35.c: New file.
11250
a175b684
TV
112512013-02-11 Tom de Vries <tom@codesourcery.com>
11252
11253 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11254 comment.
11255 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11256 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11257 (CHECK_EOL): Add undef.
11258
310998fe 112592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11260
11261 * bits/stdlib-bsearch.h: New file.
11262 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11263 * stdlib/stdlib.h: Likewise.
41eda41d 11264
8ded91fb
RM
112652013-02-11 Roland McGrath <roland@hack.frob.com>
11266
11267 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11268 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11269 declaration.
11270 * manual/search.texi (Array Search Function): Add missing const in
11271 lfind prototype.
11272 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11273 declaration to use rlim_t.
11274 (Basic Scheduling Functions): Remove erroneous const from
11275 sched_getparam prototype. Remove erroneous * from
11276 sched_get_priority_max and sched_get_priority_min prototypes.
11277 (Resource Usage): Fix summary @comment on vtimes to refer to
11278 sys/vtimes.h rather than vtimes.h.
11279 Add missing *s in vtimes prototype.
11280 (Limits on Resources): Fix ulimit prototype to return long int.
11281 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11282 prototypes to use long int rather than double.
11283 (BSD Random): Fix initstate and setstate to use char *, not void *.
11284 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11285 prototype to make second argument 'struct aiocb64 *const[]'.
11286 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11287 (Status of AIO Operations): Remove erroneous const in aio_return and
11288 aio_return64 prototypes.
11289 (Synchronizing I/O): Fix sync prototype to return void.
11290 * manual/startup.texi (Suboptions): Remove an erroneous const in
11291 getsubopt prototype.
11292 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11293 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11294 use size_t rather than int.
11295 (Scanning All Users): Likewise for getpwent_r.
11296 (Setting Groups): Add missing const to setgroups prototype.
11297 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11298 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11299 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11300 'const void *' rather than 'const char *'.
11301 (Host Address Functions): Likewise for inet_ntop.
11302 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11303 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11304 ssize_t for return value.
11305 (Sending Data): Likewise for send, sendto, sendmsg.
11306 (Socket Option Functions): Add a missing const in setsockopt prototype.
11307 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11308 use wchar_t for the argument.
11309 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11310 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11311 take no arguments.
11312 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11313 double/float/long double for second argument.
11314 Fix return types of significand, significandf, significandl.
11315 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11316 argument in fchmod prototype.
11317 (File Owner): Use uid_t and gid_t in fchown prototype.
11318 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11319 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11320 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11321 use 'const struct dirent **' as argument types to CMP function pointer
11322 argument.
11323 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11324 (File Times): Fix summary magic @comment for struct utimbuf and utime
11325 to refer to utime.h, not time.h.
11326 * manual/string.texi (Argz Functions): Add missing const in
11327 argz_extract and argz_next prototypes.
11328 (Finding Tokens in a String): Likewise for basename.
11329 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11330 (Copying and Concatenation): Fix typo in wmemmove prototype.
11331 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11332 (Signal Stack): Remove erroneous const in sigstack prototype.
11333 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11334 prototype.
11335 (Simple Calendar Time): Likewise for stime.
11336 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11337 prototype.
11338 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11339 say sys/sysctl.h instead.
11340 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11341 and vsyslog prototypes.
11342
fe77fe6d
TV
113432013-02-11 Tom de Vries <tom@codesourcery.com>
11344
11345 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11346 Remove.
11347
3a09b620
RM
113482013-02-11 Roland McGrath <roland@hack.frob.com>
11349
11350 * misc/sys/mman.h: Fix typo in mremap comment.
11351
550a0b89
RM
113522013-02-08 Roland McGrath <roland@hack.frob.com>
11353
11354 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11355 the '\0' terminator.
11356
a2da1673
JM
113572013-02-08 Joseph Myers <joseph@codesourcery.com>
11358
11359 [BZ #13550]
11360 * debug/segfault.c: Don't include <bp-checks.h>.
11361 * sysdeps/generic/bp-checks.h: Remove file.
11362 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11363 (__GETDENTS): Don't use CHECK_N.
11364 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11365 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11366 (__getgroups): Don't use CHECK_N.
11367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11368 (setgroups): Don't use CHECK_N.
11369 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11370 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11371 (__libc_msgrcv): Don't use CHECK_N.
11372 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11373 (__libc_msgsnd): Don't use CHECK_N.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11375 <bp-checks.h>.
11376 (__libc_pread): Don't use CHECK_N.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11378 include <bp-checks.h>.
11379 (__libc_pread64): Don't use CHECK_N.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11381 include <bp-checks.h>.
11382 (__libc_pwrite): Don't use CHECK_N.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11384 include <bp-checks.h>.
11385 (__libc_pwrite64): Don't use CHECK_N.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11387 <bp-checks.h>.
11388 (__libc_pread): Don't use CHECK_N.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11390 include <bp-checks.h>.
11391 (__libc_pread64): Don't use CHECK_N.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11393 include <bp-checks.h>.
11394 (__libc_pwrite): Don't use CHECK_N.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11396 include <bp-checks.h>.
11397 (__libc_pwrite64): Don't use CHECK_N.
11398 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11399 (do_pread): Don't use CHECK_N.
11400 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11401 (do_pread64): Don't use CHECK_N.
11402 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11403 (do_pwrite): Don't use CHECK_N.
11404 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11405 (do_pwrite64): Don't use CHECK_N.
11406 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11407 (__libc_readv): Don't use CHECK_N.
11408 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11409 (semop): Don't use CHECK_N.
11410 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11411 <bp-checks.h>.
11412 (semtimedop): Don't use CHECK_N.
11413 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11414 (__libc_pread): Don't use CHECK_N.
11415 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11416 <bp-checks.h>.
11417 (__libc_pread64): Don't use CHECK_N.
11418 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11419 <bp-checks.h>.
11420 (__libc_pwrite): Don't use CHECK_N.
11421 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11422 <bp-checks.h>.
11423 (__libc_pwrite64): Don't use CHECK_N.
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11425 <bp-checks.h>.
11426 (__libc_msgrcv): Don't use CHECK_N.
11427 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11428 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11429 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11430 (__libc_writev): Don't use CHECK_N.
11431
b84660a8
RM
114322013-02-08 Roland McGrath <roland@hack.frob.com>
11433
7f3e75f8
RM
11434 * string/strcpy.c: Removed unused variable.
11435
b84660a8
RM
11436 * Makeconfig (+sysdep-includes): Define with := rather than =.
11437 Use an existing include/ subdir of each sysdeps dir before it.
11438
471514d3
CD
114392013-02-08 Carlos O'Donell <carlos@redhat.com>
11440
11441 * nscd/connection.c (register_traced_file): Comment function.
11442 [HAVE_INOTIFY] (union __inev): Define.
11443 [HAVE_INOTIFY] (inotify_check_files): New function.
11444 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11445 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11446 clear_db_cache.
11447 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11448
b2d3c3be
CD
114492013-02-08 Carlos O'Donell <carlos@redhat.com>
11450
11451 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11452 loaded if not already and that a failure is permanent.
11453
b39949d2
CD
114542013-02-08 Carlos O'Donell <carlos@redhat.com>
11455
ddacd1db 11456 [BZ #15006]
b39949d2
CD
11457 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11458 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11459
b2c9eff4
JM
114602013-02-08 Joseph Myers <joseph@codesourcery.com>
11461
f3aae3f3
JM
11462 [BZ #13550]
11463 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11464 (CHECK_1_NULL_OK): Likewise.
11465 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11466 (__fxstat): Do not use CHECK_1.
11467 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11468 <bp-checks.h>.
11469 (___fxstat64): Do not use CHECK_1.
11470 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11471 <bp-checks.h>.
11472 (__fxstatat): Do not use CHECK_1.
11473 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11474 <bp-checks.h>.
11475 (__fxstatat64): Do not use CHECK_1.
11476 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11477 <bp-checks.h>.
11478 (__fxstat): Do not use CHECK_1.
11479 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11480 <bp-checks.h>.
11481 (__fxstatat): Do not use CHECK_1.
11482 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11483 <bp-checks.h>.
11484 (__getresgid): Do not use CHECK_1.
11485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11486 <bp-checks.h>.
11487 (__getresuid): Do not use CHECK_1.
11488 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11489 <bp-checks.h>.
11490 (__lxstat): Do not use CHECK_1.
11491 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11492 <bp-checks.h>.
11493 (__old_msgctl): Do not use CHECK_1.
11494 (__new_msgctl): Likewise.
11495 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11496 <bp-checks.h>.
11497 (__new_setrlimit): Do not use CHECK_1.
11498 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11499 <bp-checks.h>.
11500 (__old_shmctl): Do not use CHECK_1.
11501 (__new_shmctl): Likewise.
11502 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11503 <bp-checks.h>.
11504 (__xstat): Do not use CHECK_1.
11505 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11506 (__lxstat): Do not use CHECK_1.
11507 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11508 <bp-checks.h>.
11509 (___lxstat64): Do not use CHECK_1.
11510 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11511 (__old_msgctl): Do not use CHECK_1.
11512 (__new_msgctl): Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11514 <bp-checks.h>.
11515 (__gettimeofday): Do not use CHECK_1.
11516 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11517 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11519 <bp-checks.h>.
11520 (__gettimeofday): Do not use CHECK_1.
11521 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11522 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11523 (__new_shmctl): Do not use CHECK_1.
11524 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11525 <bp-checks.h>.
11526 (do_sigtimedwait): Do not use CHECK_1.
11527 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11528 <bp-checks.h>.
11529 (do_sigwaitinfo): Do not use CHECK_1.
11530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11531 <bp-checks.h>.
11532 (msgctl): Do not use CHECK_1.
11533 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11534 <bp-checks.h>.
11535 (shmctl): Do not use CHECK_1.
11536 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11537 (ustat): Do not use CHECK_1.
11538 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11539 <bp-checks.h>.
11540 (__fxstat): Do not use CHECK_1.
11541 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11542 <bp-checks.h>.
11543 (__fxstatat): Do not use CHECK_1.
11544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11545 <bp-checks.h>.
11546 (__lxstat): Do not use CHECK_1.
11547 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11548 <bp-checks.h>.
11549 (__xstat): Do not use CHECK_1.
11550 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11551 (__xstat): Do not use CHECK_1.
11552 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11553 (___xstat64): Do not use CHECK_1.
11554
b2c9eff4
JM
11555 [BZ #13550]
11556 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11557 definitions.
11558 (CHECK_BOUNDS_HIGH): Likewise.
11559 * string/strcpy.c: Do not include <bp-checks.h>.
11560 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11561
f1d70dad
RM
115622013-02-07 Roland McGrath <roland@hack.frob.com>
11563
11564 * nscd/nscd-client.h (__nscd_drop_map_ref):
11565 Add __attribute__ ((unused)).
11566 * nis/nss-nisplus.h (niserr2nss): Likewise.
11567
11568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11569 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11570
11571 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11572 Remove inline keyword.
11573 * include/rounding-mode.h (round_away): Likewise.
11574 * libio/wfileops.c (adjust_wide_data): Likewise.
11575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11576 (__m128i_strloadu_tolower): Likewise.
11577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11578 (__m128i_strloadu_tolower): Likewise.
11579 * time/mktime.c (ydhms_diff): Likewise.
11580 * locale/elem-hash.h (elem_hash): Likewise.
11581 * locale/setlocale.c (setdata): Likewise.
11582 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11583 (re_string_wchar_at): Likewise.
11584 (bitset_not, bitset_merge, bitset_mask): Likewise.
11585 [!(__GNUC__ > 3)] (inline): Remove macro.
11586 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11587 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11588 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11589 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11590 * string/memcmp.c (memcmp_bytes): Likewise.
11591 * locale/programs/locarchive.c (compute_hashval): Likewise.
11592 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11593 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11594 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11595 * nss/getent.c (print_rpc, print_protocols): Likewise.
11596 (print_passwd, print_group, print_aliases): Likewise.
11597 * nis/nss-nisplus.h (niserr2nss): Likewise.
11598 * nscd/connections.c (restart_p): Likewise.
11599 Change return type to bool.
11600
eab55bfb
RM
116012013-02-05 Roland McGrath <roland@hack.frob.com>
11602
7bd642f5
RM
11603 * Makeconfig (all-Depend-files): Add existing
11604 $(sorted-subdirs:=/Depend) files.
11605 (all-subdirs): Remove nss.
11606 * sysdeps/unix/inet/Subdirs: Add it here instead.
11607 * hesiod/Depend: New file.
11608
573c29b2
RM
11609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11610 instead of calling alloca.
11611
b2e25af0
RM
11612 * io/lseek.c (__lseek): Rename to __libc_lseek.
11613 Define __lseek as an alias.
11614
eab55bfb
RM
11615 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11616
9a0d1941
CD
116172013-02-04 Carlos O'Donell <carlos@redhat.com>
11618
11619 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11620 else clause and remove check for non-standard endianness.
11621
b83bbec4
DM
116222013-02-04 David S. Miller <davem@davemloft.net>
11623
11624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11625
6277fdab
JM
116262013-02-04 Joseph Myers <joseph@codesourcery.com>
11627
11628 [BZ #13550]
11629 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11630 (__ubp_memchr): Remove prototype.
11631 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11632 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11633 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11634 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11635 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11636 Remove alias.
11637 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11638 (__ubp_memchr): Likewise.
11639 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11640 (__ubp_memchr): Likewise.
11641 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11642 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11643 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11645 CHECK_STRING.
11646 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11647 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11648 (__getcwd): Do not use CHECK_STRING.
11649 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11650 <bp-checks.h>.
11651 (__real_chown): Do not use CHECK_STRING.
11652 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11653 <bp-checks.h>.
11654 (fchownat): Do not use CHECK_STRING.
11655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11656 CHECK_STRING.
11657 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11658 <bp-checks.h>.
11659 (__lchown): Do not use CHECK_STRING.
11660 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11661 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11662 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11663 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11665 include <bp-checks.h>.
11666 (truncate64): Do not use CHECK_STRING.
11667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11668 <bp-checks.h>.
11669 (__real_chown): Do not use CHECK_STRING.
11670 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11671 <bp-checks.h>.
11672 (__lchown): Do not use CHECK_STRING.
11673 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11674 <bp-checks.h>.
11675 (__chown): Do not use CHECK_STRING.
11676 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11677 <bp-checks.h>.
11678 (truncate64): Do not use CHECK_STRING.
11679 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11680 Likewise.
11681 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11682 (__xmknod): Do not use CHECK_STRING.
11683 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11684 <bp-checks.h>.
11685 (__xmknodat): Do not use CHECK_STRING.
11686 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11687 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11688
903ae060
AS
116892013-02-04 Andreas Schwab <schwab@suse.de>
11690
11691 [BZ #14142]
11692 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11693 * include/netdb.h: Likewise for h_errno.
11694 * elf/tst-stackguard1.c: Include <tls.h>.
11695
542f9466
JK
116962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11697
11698 * elf/link.h (struct link_map): Extend the l_addr comment.
11699 * include/link.h (struct link_map): Likewise.
11700
e782a927
JM
117012013-02-01 Joseph Myers <joseph@codesourcery.com>
11702
11703 [BZ #13550]
11704 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11705 (BOUNDED_1): Remove macro.
11706 * debug/backtrace.c: Don't include <bp-checks.h>.
11707 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11708 (__backtrace): Likewise.
11709 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11710 <bp-checks.h>.
11711 (__backtrace): Don't use BOUNDED_1.
11712 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11713 <bp-checks.h>.
11714 (__backtrace): Don't use BOUNDED_1.
11715 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11716 (__backtrace): Don't use BOUNDED_1.
11717 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11718 (shmat): Don't use BOUNDED_N.
11719
8cf28c5e
JM
117202013-01-31 Joseph Myers <joseph@codesourcery.com>
11721
3a7ac8a0
JM
11722 [BZ #13550]
11723 * sysdeps/generic/bp-start.h: Remove file.
11724 * csu/libc-start.c: Don't include <bp-start.h>.
11725 (LIBC_START_MAIN): Set up __environ directly instead of using
11726 INIT_ARGV_and_ENVIRON.
11727 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11728 <bp-start.h>.
11729
f3499f95
JM
11730 [BZ #13550]
11731 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11732 definitions.
11733 (CHECK_FCNTL): Likewise.
11734 (CHECK_N_PAGES): Likewise.
11735
32a45bea
JM
11736 [BZ #13550]
11737 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11738 definitions.
11739 (CHECK_SIGSET_NULL_OK): Likewise.
11740 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11741 <bp-checks.h>.
11742 (sigpending): Don't use CHECK_SIGSET.
11743 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11744 <bp-checks.h>.
11745 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11746 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11747 <bp-checks.h>.
11748 (do_sigsuspend): Don't use CHECK_SIGSET.
11749 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11750 use CHECK_SIGSET.
11751 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11752 (do_sigwait): Don't use CHECK_SIGSET.
11753 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11754 use CHECK_SIGSET.
11755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11756 include <bp-checks.h>.
11757 (sigpending): Don't use CHECK_SIGSET.
11758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11759 include <bp-checks.h>.
11760 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11761 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11762 <bp-checks.h>.
11763 (sigpending): Don't use CHECK_SIGSET.
11764 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11765 <bp-checks.h>.
11766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11767
2e8a5c8c
JM
11768 [BZ #13550]
11769 * sysdeps/generic/bp-semctl.h: Remove file.
11770 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11771 <bp-checks.h> and <bp-semctl.h>.
11772 (__old_semctl): Don't use CHECK_SEMCTL.
11773 (__new_semctl): Likewise.
11774 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11775 and <bp-semctl.h>.
11776 (__old_semctl): Don't use CHECK_SEMCTL.
11777 (__new_semctl): Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11779 <bp-checks.h> and <bp-semctl.h>.
11780 (__old_semctl): Don't use CHECK_SEMCTL.
11781 (__new_semctl): Likewise.
11782 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11783 <bp-checks.h> and <bp-semctl.h>.
11784 (semctl): Don't use CHECK_SEMCTL.
11785
c2d54929
JM
11786 [BZ #13550]
11787 * Makerules (elide-bp-thunks): Remove variable.
11788 (elide-routines.oS): Don't use $(elide-bp-thunks).
11789 (elide-routines.os): Likewise.
11790 (elide-routines.o): Likewise.
11791 (elide-routines.op): Likewise.
11792 (elide-routines.og): Likewise.
11793 (objects): Don't use $(bp-thunks).
11794 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11795 include.
11796 (common-generated): Do not add s-proto-bp.d.
11797 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11798 (int): Likewise.
11799 (typ): Likewise.
11800 Do not generate makefile rules for bounded-pointer thunks.
11801 * sysdeps/generic/bp-thunks.h: Remove file.
11802 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11803 * sysdeps/unix/s-proto-bp.S: Likewise.
11804
8cf28c5e
JM
11805 [BZ #15062]
11806 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11807 parts of result separately when argument is not close to line from
11808 -i to i and one part of argument is small.
11809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11811 * math/libm-test.inc (cacos_test): Add more tests.
11812 (casin_test): Likewise.
11813 (casinh_test): Likewise.
11814 * sysdeps/i386/fpu/libm-test-ulps: Update.
11815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11816
c4e33b8d
DM
118172013-01-31 David S. Miller <davem@davemloft.net>
11818
11819 * po/de.po: Update from translation team.
11820
3b60b421
MK
118212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11822
11823 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11824
bb931195
TS
118252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11826
b5a5da23
TS
11827 * configure.in (_AC_PROG_CC_C89): New definition.
11828 * configure: Regenerate.
11829
bb931195
TS
11830 * configure.in (AC_PROG_CPP): New definition.
11831 * configure: Regenerate.
11832
8c53a12c
JM
118332013-01-23 Joseph Myers <joseph@codesourcery.com>
11834
11835 * debug/tst-backtrace.h: New file.
11836 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11837 (ret): Remove variable.
11838 (x): Likewise.
11839 (FAIL): Remove macro.
11840 (NO_INLINE): Likewise.
11841 (fn1): Use match function instead of strstr.
11842 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11843 (ret): Remove variable.
11844 (x): Likewise.
11845 (FAIL): Remove macro.
11846 (NO_INLINE): Likewise.
11847 (fn): Use match function instead of strstr.
11848 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11849 (ret): Remove variable.
11850 (x): Likewise.
11851 (FAIL): Remove macro.
11852 (NO_INLINE): Likewise.
11853 (handle_signal): Use match function instead of strstr.
11854 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11855 (ret): Remove variable.
11856 (x): Likewise.
11857 (FAIL): Remove macro.
11858 (NO_INLINE): Likewise.
11859 (handle_signal): Use match function instead of strstr.
11860
4858fa2a
RM
118612013-01-23 Roland McGrath <roland@hack.frob.com>
11862
11863 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11864
bae8e7f5
DM
118652013-01-23 David S. Miller <davem@davemloft.net>
11866
11867 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11868 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11869 argument of CAS if possible.
11870 * sysdeps/sparc/sparc64/bits/atomic.h
11871 (__arch_compare_and_exchange_val_32_acq): Likewise.
11872 (__arch_compare_and_exchange_val_64_acq): Likewise.
11873
9cbbc4ae
PT
118742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11875
11876 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11877 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11878 Include <limits.h>.
67b3f58c 11879 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11880
5655a0b5
AC
118812013-01-23 Adam Conrad <adconrad@0c3.net>
11882
11883 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11884 (LDFLAGS-tst-array5): Likewise.
11885
052aff95
JM
118862013-01-23 Joseph Myers <joseph@codesourcery.com>
11887
11888 [BZ #15036]
11889 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11890 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11891 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11892 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11893
7c1e01aa
DM
118942013-01-21 David S. Miller <davem@davemloft.net>
11895
11896 * sysdeps/sparc/backtrace.c: New file.
11897 * sysdeps/sparc/sparc32/backtrace.h: New file.
11898 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11899 * sysdeps/sparc/sparc64/backtrace.h: New file.
11900 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11901 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11902 -funwind-tables.
11903
ab087e0a
AS
119042013-01-21 Andreas Schwab <schwab@suse.de>
11905
11906 [BZ #15020]
11907 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11908 closed its stdout.
11909
ed689c2f
AS
119102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11911
11912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11913 "mpa2.h".
11914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11915
31d470ac
JM
119162013-01-18 Joseph Myers <joseph@codesourcery.com>
11917 Mark Mitchell <mark@codesourcery.com>
11918 Tom de Vries <tom@codesourcery.com>
11919 Paul Pluzhnikov <ppluzhnikov@google.com>
11920
11921 * debug/tst-backtrace2.c: New file.
11922 * debug/tst-backtrace3.c: Likewise.
11923 * debug/tst-backtrace4.c: Likewise.
11924 * debug/tst-backtrace5.c: Likewise.
11925 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11926 (CFLAGS-tst-backtrace3.c): Likewise.
11927 (CFLAGS-tst-backtrace4.c): Likewise.
11928 (CFLAGS-tst-backtrace5.c): Likewise.
11929 (LDFLAGS-tst-backtrace2): Likewise.
11930 (LDFLAGS-tst-backtrace3): Likewise.
11931 (LDFLAGS-tst-backtrace4): Likewise.
11932 (LDFLAGS-tst-backtrace5): Likewise.
11933 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11934 tst-backtrace4 and tst-backtrace5.
11935
90567f30 119362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11937 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11938
11939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11940 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11941 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11942 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11944 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11945 "+r" and remove output regs list as redundant. Add explicit inline
11946 asm to specify register of return val to work around compiler codegen
11947 bug. Remove (int) cast on return value. Add return type parameter to
11948 use in macro so that this macro does not truncate return value for
11949 64-bit values.
11950 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11951 pass to INTERNAL_VSYSCALL_NCS.
11952 (INLINE_VSYSCALL): Add 'long int' as return type to
11953 INTERNAL_VSYSCALL_NCS macro invocation.
11954 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11955 INTERNAL_VSYSCALL_NCS macro invocation.
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11957
d3b9ea61
SP
119582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11959
0b57daeb
SP
11960 [BZ #14496]
11961 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11962 Fix application of SIMD FP exception mask.
11963
caa99d06
SP
11964 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11965 mp_no from a power of two.
11966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11967 __mpexp_twomm1. Use __pow_mp.
11968
d3b9ea61
SP
11969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11970 multiplication.
11971
1dbaee3c
DM
119722013-01-17 David S. Miller <davem@davemloft.net>
11973
11974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11975
728d7b43
JM
119762013-01-17 Joseph Myers <joseph@codesourcery.com>
11977
11978 [BZ #15023]
11979 * include/complex.h: Condition contents on [!_COMPLEX_H].
11980 (__kernel_casinhf): New prototype.
11981 (__kernel_casinh): Likewise.
11982 (__kernel_casinhl): Likewise.
11983 * math/Makefile (libm_calls): Add k_casinh.
11984 * math/k_casinh.c: New file.
11985 * math/k_casinhf.c: Likewise.
11986 * math/k_casinhl.c: Likewise.
11987 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11988 finite nonzero arguments.
11989 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11990 finite nonzero arguments.
11991 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11992 finite nonzero arguments.
11993 * math/s_casinh.c: Do not include <float.h>.
11994 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11995 * math/s_casinhf.c: Do not include <float.h>.
11996 (__casinhf): Move code for finite nonzero arguments to
11997 k_casinhf.c.
11998 * math/s_casinhl.c: Do not include <float.h>.
11999 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12000 redefine.
12001 (__casinhl): Move code for finite nonzero arguments to
12002 k_casinhl.c.
12003 * math/libm-test.inc (cacos_test): Add more tests.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12006
2a26ef3a
PT
120072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12008
12009 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12010 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12011 [!HAVE_MREMAP]: Remove [defined linux] case.
12012 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12013
a897655d
SP
120142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12015
12016 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12017
881ebe89 120182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12019
12020 * elf/elf.h (R_386_SIZE32): New relocation.
12021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12022 R_386_SIZE32.
12023 (elf_machine_rela): Likewise.
12024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12025 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12026
59981e9b
JM
120272013-01-17 Joseph Myers <joseph@codesourcery.com>
12028
12029 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12030 (FP_FAST_FMA): Do not define.
12031 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12032 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12033 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12034 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12035 !_SOFT_FLOAT]: Likewise.
12036 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12038 value.
12039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12040 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12042 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12043 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12044 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12045 file.
12046
cfa8054f
AS
120472013-01-16 Andreas Schwab <schwab@suse.de>
12048
12049 [BZ #14327]
12050 * include/stdlib.h (__mktemp): Add declaration.
12051 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12052 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12053
dd930cc5
SP
120542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12055
881ebe89
SP
12056 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12057 definitions.
12058 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12059 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12060 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12061 definitions here.
12062 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12063 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12064 definitions.
12065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12066 and ONE.
12067 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12068 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12069 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12070 definitions.
12071 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12072 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12073 definitions.
12074 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12075
dd930cc5
SP
12076 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12077
c19a9f89
DM
120782013-01-15 David S. Miller <davem@davemloft.net>
12079
1aa61767
DM
12080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12081 trunc{,f} to libm-sysdep_routes.
12082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12084 file.
12085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12087 file.
12088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12089 file.
12090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12092 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12095 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12096 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12097 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12098
c42d5e98
DM
12099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12100 nearbyint{,f} to libm-sysdep_routes.
12101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12103 New file.
12104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12105 file.
12106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12107 New file.
12108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12109 file.
12110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12112 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12113 file.
12114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12116 file.
12117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12118 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12119 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12120
c19a9f89
DM
12121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12122 libc_feholdexcept and libc_fesetenv.
12123
357679d2
MF
121242013-01-15 Mike Frysinger <vapier@gentoo.org>
12125
12126 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12127
65a82e3d
DM
121282013-01-14 David S. Miller <davem@davemloft.net>
12129
8b954ab9
DM
12130 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12131 (SPARC_ASM_VIS2_IFUNC): Likewise.
12132 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12134 use of 'siam' instruction.
12135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12136 Likewise.
12137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12138 Likewise.
12139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12140 Likewise.
12141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12146 file.
12147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12148 file.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12150 file.
12151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12152 file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12158 new VIS2 routines.
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12162 Likewise.
12163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12168 routines to libm-sysdep_routines.
12169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12170
65a82e3d
DM
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12172 fdim/fdimf to libm-sysdep_routines.
12173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12174 file.
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12177 file.
12178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12181 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12182 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12183 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12184 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12185
e34ab705
SP
121862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12187
2a91b573
SP
12188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12189 to optimize copies.
12190
1066a534
SP
12191 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12194
e34ab705
SP
12195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12196 local variable MPTWO.
12197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12198 Likewise.
12199
aba5e596
MF
122002013-01-13 Mike Frysinger <vapier@gentoo.org>
12201
12202 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12203 GLOB_NOESCAPE.
12204
e557e9e5
MF
122052013-01-13 Mike Frysinger <vapier@gentoo.org>
12206
12207 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12208
0428cec9
MF
122092013-01-13 Mike Frysinger <vapier@gentoo.org>
12210
12211 * manual/pattern.texi (glob_t): Document gl_flags.
12212 (glob64_t): Likewise.
12213
8794a964
DM
122142013-01-11 David S. Miller <davem@davemloft.net>
12215
66438c3f
RM
12216 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12217 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12218 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12219 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12220 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12221 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12223 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12224 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12225 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12226 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12227 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12228 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12229
4ae4244d
DM
12230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12231 sparc V9 rather than using V8 code.
12232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12234
8794a964
DM
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12236 Move to...
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12238 Here.
12239
6270516e
RM
122402013-01-11 Roland McGrath <roland@hack.frob.com>
12241
12242 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12243 not in the main loop.
12244 * configure: Regenerated.
12245
6a57d931
JM
122462013-01-11 Joseph Myers <joseph@codesourcery.com>
12247
12248 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12249 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12250 to just #else.
12251 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12252 [!__GLIBC_HAVE_LONG_LONG] case.
12253 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12254 condition to just #else.
12255 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12256 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12257 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12258 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12259 unconditional.
12260 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12261 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12262 #elif condition to just #else.
12263 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12264 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12265 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12266 #elif condition to just #else.
12267
0e8529e9
SE
122682013-01-11 Steve Ellcey <sellcey@mips.com>
12269
12270 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12271 (EF_MIPS_ARCH_64): Fix value.
12272 (EF_MIPS_ARCH_32R2): New.
12273 (EF_MIPS_ARCH_64R2): New.
12274
740b3dbe
L
122752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12276
12277 * Makeconfig (+link-pie-before-libc): New.
12278 (+link-pie-after-libc): Likewise.
12279 (+link-pie-tests): Likewise.
12280 (+link-pie): Rewritten.
12281 (link-before-libc): Remove $(config-LDFLAGS).
12282 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12283 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12284 (config-LDFLAGS): Renamed to ...
12285 (rtld-LDFLAGS): This.
12286 (rtld-tests-LDFLAGS): New macro.
12287 (link-libc-rpath-link): Likewise.
12288 (link-libc-tests-rpath-link): Likewise.
12289 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12290 (link-libc): Prepand $(link-libc-rpath-link).
12291 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12292 (test-program-prefix): New macro.
12293 (test-via-rtld-prefix): Likewise.
12294 (test-program-cmd): Likewise.
12295 (host-test-program-cmd): Likewise.
12296 * Makefile ($(common-objpfx)testrun.sh): Replace
12297 $(run-program-prefix) with $(test-program-prefix).
12298 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12299 $(rtld-LDFLAGS).
12300 ($(common-objpfx)shlib.lds): Likewise.
12301 (build-module-helper): Likewise.
12302 ($(common-objpfx)format.lds): Likewise.
12303 * Rules (binaries-pie-tests): New.
12304 (binaries-pie-notests): Likewise.
12305 (binaries-pie): Rewritten.
12306 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12307 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12308 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12309 (make-test-out): Replace $(host-built-program-cmd) with
12310 $(host-test-program-cmd).
12311 * config.make.in (build-hardcoded-path-in-tests): New variable.
12312 * configure.in (--enable-hardcoded-path-in-tests): New configure
12313 option.
12314 (hardcoded_path_in_tests): New AC_SUBST.
12315 * configure: Regenerated.
12316 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12317 $(built-program-cmd) with $(test-program-cmd).
12318 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12319 (test_program_cmd): This.
12320 * elf/Makefile ($(objpfx)order.out): Run test with
12321 $(test-program-prefix).
12322 ($(objpfx)order2.out): Likewise.
12323 ($(objpfx)tst-initorder.out): Likewise.
12324 ($(objpfx)tst-initorder2.out): Likewise.
12325 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12326 $(test-program-cmd).
12327 ($(objpfx)tst-array1-static.out): Likewise.
12328 ($(objpfx)tst-array2.out): Likewise.
12329 ($(objpfx)tst-array3.out): Likewise.
12330 ($(objpfx)tst-array4.out): Likewise.
12331 ($(objpfx)tst-array5.out): Likewise.
12332 ($(objpfx)tst-array5-static.out): Likewise.
12333 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12334 $(test-program-cmd).
12335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12336 $(run-program-prefix) with $(test-program-prefix).
12337 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12338 (test_program_prefix): This.
12339 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12340 $(run-program-prefix) with $(test-program-prefix).
12341 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12342 (test_program_prefix): This.
12343 * iconvdata/tst-tables.sh: Likewise.
12344 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12345 $(run-program-prefix) with $(test-program-prefix).
12346 ($(objpfx)tst-translit.out): Likewise.
12347 ($(objpfx)tst-gettext2.out): Likewise.
12348 ($(objpfx)tst-gettext4.out): Likewise.
12349 ($(objpfx)tst-gettext6.out): Likewise.
12350 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12351 (test_program_prefix): This.
12352 * intl/tst-gettext2.sh: Likewise.
12353 * intl/tst-gettext4.sh Likewise.
12354 * intl/tst-gettext6.sh: Likewise.
12355 * intl/tst-translit.sh: Likewise.
12356 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12357 with $(test-program-cmd).
12358 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12359 $(run-program-prefix) with $(test-program-prefix).
12360 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12361 (test_program_prefix): This.
12362 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12363 $(run-program-prefix) with $(test-program-prefix).
12364 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12365 (test_program_prefix): This.
12366 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12367 * posix/Makefile ($(objpfx)globtest.out): Replace
12368 $(run-via-rtld-prefix) and $(test-wrapper) with
12369 $(test-program-prefix) and $(test-via-rtld-prefix).
12370 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12371 $(test-program-prefix).
12372 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12373 $(host-test-program-cmd).
12374 (tst-spawn-ARGS): Likewise.
12375 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12376 $(test-program-prefix).
12377 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12378 (test_via_rtld_prefix): This.
12379 (test_wrapper): Renamed to ...
12380 (test_program_prefix): This.
12381 (run_program_prefix): Replaced by test_program_prefix.
12382 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12383 (test_program_prefix): This.
12384 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12385 with $(host-test-program-cmd).
12386 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12387 $(run-program-prefix) with $(test-program-prefix).
12388 ($(objpfx)tst-printf.out): Likewise.
12389 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12390 $(test-program-cmd).
12391 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12392 (test_program_prefix): This.
12393 * stdio-common/tst-unbputc.sh: Likewise.
12394 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12395 $(run-program-prefix) with $(test-program-prefix).
12396 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12397 (test_program_prefix): This.
12398 * string/Makefile ($(objpfx)tst-svc.out): Replace
12399 $(built-program-cmd) with $(test-program-cmd).
12400
c6fe55cf
AJ
124012013-01-11 Andreas Jaeger <aj@suse.de>
12402
12403 [BZ #15003]
12404 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12405 value. Sync with Linux 3.7.
12406
9e6919c8
DM
124072013-01-10 David S. Miller <davem@davemloft.net>
12408
12409 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12412
1c9f1a02
RM
124132013-01-10 Roland McGrath <roland@hack.frob.com>
12414
12415 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12416 never set.
12417 * configure: Regenerated.
12418
b9de2dde
DM
124192013-01-10 David S. Miller <davem@davemloft.net>
12420
12421 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12422 sparc V9 rather than using V8 code.
12423 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12424 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12425
e7f68ef4
RM
124262013-01-10 Roland McGrath <roland@hack.frob.com>
12427
12428 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12429 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12430 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12431 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12432 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12433 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12434 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12435 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12436 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12437 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12438 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12439 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12440 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12441 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12442 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12443 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12444 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12445 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12446 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12447 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12448 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12449 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12450 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12451 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12452 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12453 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12454 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12455
5a47cc9c
DM
124562013-01-10 David S. Miller <davem@davemloft.net>
12457
12458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12459
4cf8f209
L
124602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12461
12462 * posix/Makefile (tests-static): New variable.
12463 (tests): Add $(tests-static).
12464 (tst-exec-static-ARGS): New variable.
12465 (tst-spawn-static-ARGS): Likewise.
12466 * posix/tst-exec-static.c: New file.
12467 * posix/tst-spawn-static.c: Likewise.
12468 * posix/tst-exec.c: Support run directly.
12469 * posix/tst-spawn.c: Likewise.
12470
fed0faa1
JM
124712013-01-10 Joseph Myers <joseph@codesourcery.com>
12472
828beb13
JM
12473 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12474 long.
12475 * math/bits/mathcalls.h (llrint): Likewise.
12476 (llround): Likewise.
12477 * stdlib/stdlib.h (struct drand48_data): Likewise.
12478 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12479 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12480 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12481 Likewise.
12482 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12483 Likewise.
12484 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12485 (elf_greg_t): Likewise.
12486 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12487 (__jmp_buf): Likewise.
12488 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12489 definitions.
12490 (llrint): Likewise, for all definitions.
12491 (llrintl): Likewise.
12492
fed0faa1
JM
12493 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12494 Remove [__GNUC__] condition.
12495 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12496 condition to just [__USE_ISOC99].
12497 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12498
1a20cb20
L
124992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12500
12501 [BZ #14200]
12502 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12503 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12504 defined.
12505 (_POSIX_V6_ILP32_OFF32): Likewise.
12506 (_XBS5_ILP32_OFF32): Likewise.
12507 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12508 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12509
751b85f7
SP
125102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12511
7490eb81
SP
12512 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12513
751b85f7
SP
12514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12515 doubles __mpexp_twomm1. Adjust usage.
12516 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12517 Remove.
12518
988197f0
AS
125192013-01-10 Andreas Schwab <schwab@suse.de>
12520
12521 [BZ #14964]
12522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12523 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12524
e83d7298
DM
125252013-01-09 David S. Miller <davem@davemloft.net>
12526
034ed64b 12527 [BZ #15003]
e83d7298
DM
12528 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12529 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12530 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12531 TCP_FASTOPEN): Define.
12532 (tcp_repair_opt): New structure.
12533 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12534 enum values.
12535 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12536 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12537 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12538 (tcp_cookie_transactions): New structure.
12539
d5e0b9bd
AB
125402013-01-09 Anton Blanchard <anton@samba.org>
12541
12542 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12543 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12546
0c07e3ea
JM
125472013-01-09 Joseph Myers <joseph@codesourcery.com>
12548
12549 * include/features.h (__USE_ANSI): Remove.
12550
232f7002
RM
125512013-01-09 Roland McGrath <roland@hack.frob.com>
12552
ad98e30c
RM
12553 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12554
232f7002
RM
12555 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12556
950c99ca
SP
125572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12558
b5792741
SP
12559 * sysdeps/s390/fpu/libm-test-ulps: Update.
12560
47cf2278
SP
12561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12562
950c99ca
SP
12563 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12564 (__acr): Likewise.
12565 (__cpy): Likewise.
12566 (norm): Likewise.
12567 (denorm): Likewise.
12568 (__mp_dbl): Likewise.
12569 (__dbl_mp): Likewise.
12570 (add_magnitudes): Likewise.
12571 (sub_magnitudes): Likewise.
12572 (__add): Likewise.
12573 (__sub): Likewise.
12574 (__mul): Likewise.
12575 (__inv): Likewise.
12576 (__dvd): Likewise.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12578 (__acr): Likewise.
12579 (__cpy): Likewise.
12580 (norm): Likewise.
12581 (denorm): Likewise.
12582 (__mp_dbl): Likewise.
12583 (__dbl_mp): Likewise.
12584 (add_magnitudes): Likewise.
12585 (sub_magnitudes): Likewise.
12586 (__add): Likewise.
12587 (__sub): Likewise.
12588 (__mul): Likewise.
12589 (__inv): Likewise.
12590 (__dvd): Likewise.
12591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12592 (__acr): Likewise.
12593 (__cpy): Likewise.
12594 (norm): Likewise.
12595 (denorm): Likewise.
12596 (__mp_dbl): Likewise.
12597 (__dbl_mp): Likewise.
12598 (add_magnitudes): Likewise.
12599 (sub_magnitudes): Likewise.
12600 (__add): Likewise.
12601 (__sub): Likewise.
12602 (__mul): Likewise.
12603 (__inv): Likewise.
12604 (__dvd): Likewise.
12605
eede9df9
JM
126062013-01-08 Joseph Myers <joseph@codesourcery.com>
12607
12608 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12609 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12610 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12611 2 && __USE_EXTERN_INLINES]: Likewise.
12612
c40ea3d9
AJ
126132013-01-08 Andreas Jaeger <aj@suse.de>
12614
12615 [BZ# 14985]
12616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12617 Remove.
12618 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12619 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12620
2ccdea26
AB
126212013-01-07 Anton Blanchard <anton@samba.org>
12622
12623 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12624 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12625 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12627 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12628 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12629 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12630 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12650 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12653 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12657 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12665 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12666
a9708fed
JM
126672013-01-07 Joseph Myers <joseph@codesourcery.com>
12668
375607b9
JM
12669 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12670 (__MALLOC_PMT): Likewise.
12671 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12672 [__GNUC__], only on [_LIBC].
12673 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12674 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12675 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12676 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12677 forward declaration.
12678 (realloc_hook_ini): Likewise.
12679 (memalign_hook_ini): Likewise.
12680 (__libc_memalign): Do not use __MALLOC_PMT in variable
12681 declaration.
12682 (__libc_valloc): Likewise.
12683 (__libc_pvalloc): Likewise.
12684 (__libc_calloc): Likewise.
12685 (__posix_memalign): Likewise.
12686
a9708fed
JM
12687 [BZ #14996]
12688 * math/s_casinh.c: Include <float.h>.
12689 (__casinh): Do not do computation with squaring and square root
12690 for large arguments.
12691 * math/s_casinhf.c: Include <float.h>.
12692 (__casinhf): Do not do computation with squaring and square root
12693 for large arguments.
12694 * math/s_casinhl.c: Include <float.h>.
12695 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12696 (__casinhl): Do not do computation with squaring and square root
12697 for large arguments.
12698 * math/libm-test.inc (casin_test): Add more tests.
12699 (casinh_test): Likewise.
12700 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702
afec409a
L
127032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12706 (__x86_64_raw_data_cache_size): Likewise.
12707 (__x86_64_data_cache_size_half): Likewise.
12708 (__x86_64_raw_data_cache_size_half): Likewise.
12709 (__x86_64_shared_cache_size): Likewise.
12710 (__x86_64_raw_shared_cache_size): Likewise.
12711 (__x86_64_shared_cache_size_half): Likewise.
12712 (__x86_64_raw_shared_cache_size_half): Likewise.
12713 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12714 to ...
12715 (__x86_data_cache_size): This.
12716 (__x86_64_raw_data_cache_size): Renamed to ...
12717 (__x86_raw_data_cache_size): This.
12718 (__x86_64_data_cache_size_half): Renamed to ...
12719 (__x86_data_cache_size_half): This.
12720 (__x86_64_raw_data_cache_size_half): Renamed to ...
12721 (__x86_raw_data_cache_size_half): This.
12722 (__x86_64_shared_cache_size): Renamed to ...
12723 (__x86_shared_cache_size): This.
12724 (__x86_64_raw_shared_cache_size): Renamed to ...
12725 (__x86_raw_shared_cache_size): This.
12726 (__x86_64_shared_cache_size_half): Renamed to ...
12727 (__x86_shared_cache_size_half): This.
12728 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12729 (__x86_raw_shared_cache_size_half): This.
12730 * sysdeps/x86_64/memcpy.S: Updated.
12731 * sysdeps/x86_64/memset.S: Likewise.
12732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12735
0b3986d0
DM
127362013-01-04 David S. Miller <davem@davemloft.net>
12737
12738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12739
e47686e9
AS
127402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12741
d643bac1
AS
12742 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12743 1 to avoid redefinition warning.
12744 (__USE_GNU): Don't define.
12745 (init_signaling_nan): Protoize.
12746
e47686e9
AS
12747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12748
b18decba
SP
127492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
fffb407f
SP
12751 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12753 (__cpymn): Likewise.
12754 (norm): Remove commented code.
12755 (denorm): Likewise.
12756 (__mp_dbl): Likewise.
12757 (__inv): Likewise.
12758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12759 (__cpymn): Likewise.
12760 (norm): Remove commented code.
12761 (denorm): Likewise.
12762 (__mp_dbl): Likewise.
12763 (__inv): Likewise.
12764
b18decba
SP
12765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12766 mp_no value for 1.0 and 2.0.
12767 (norm): Use RADIXI instead of radixi.d.
12768 (denorm): Likewise.
12769 (__mul): Use 0.0 instead of zero.d.
12770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12771 mp_no value for 1.0 and 2.0.
12772 (norm): Use RADIXI instead of radixi.d.
12773 (denorm): Likewise.
12774 (__mul): Use 0.0 instead of zero.d.
12775
cdc1c96f
JM
127762013-01-04 Joseph Myers <joseph@codesourcery.com>
12777
12778 [BZ #14994]
12779 * math/s_casinh.c (__casinh): Reduce finite argument to first
12780 quadrant then set signs of results at the end.
12781 * math/s_casinhf.c (__casinhf): Likewise.
12782 * math/s_casinhl.c (__casinhl): Likewise.
12783 * math/libm-test.inc (casin_test): Add more tests.
12784 (casinh_test): Likewise.
12785 * sysdeps/i386/fpu/libm-test-ulps: Update.
12786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12787
302913e1
SP
127882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12789
6420d207
SP
12790 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12791
a9e48ab4
SP
12792 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12793
b7837264
SP
12794 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12795 declarations.
12796 (denorm): Likewise.
12797 (__mp_dbl): Likewise.
12798 (__inv): Likewise.
12799
f8af25d2
SP
12800 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12801 and adjust the header comment.
12802
302913e1
SP
12803 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12804 variable name from declaration.
12805
5d7dd1ca
L
128062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12807
12808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12809 Initialize COMMON_CPUID_INDEX_7 element.
12810 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12811 (CPUID_RTM): Likewise.
12812 (HAS_RTM): Likewise.
12813 (COMMON_CPUID_INDEX_7): New enum.
12814
2f5f40f4
AS
128152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12816
12817 [BZ #14981]
12818 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12819 size is zero, record memory as freed.
12820
4056f4a0
AJ
128212013-01-03 Andreas Jaeger <aj@suse.de>
12822
12823 * po/ia.po: Add new Interlingua translation.
12824
ab15736f 128252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12826
12827 * locale/programs/localedef.c: Fix description of '--posix' flag.
12828
568035b7
JM
128292013-01-02 Joseph Myers <joseph@codesourcery.com>
12830
e6898b8d
JM
12831 * NEWS: Update dates in second copyright notice.
12832 * README: Update copyright dates in example.
12833 * manual/libc.texinfo: Update copyright dates.
12834 * scripts/test-installation.pl: Update copyright date in --version
12835 output.
12836
0e2f9562
JM
12837 * hurd/ctty-input.c: Fix copyright notice formatting.
12838 * hurd/ctty-output.c: Likewise.
12839 * hurd/dtable.c: Likewise.
12840 * hurd/hurd-raise.c: Likewise.
12841 * hurd/hurdprio.c: Likewise.
12842 * hurd/msgportdemux.c: Likewise.
12843 * misc/sys/file.h: Likewise.
12844 * misc/sys/ioctl.h: Likewise.
12845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12846 * sysdeps/mach/hurd/chdir.c: Likewise.
12847 * sysdeps/mach/hurd/fchdir.c: Likewise.
12848 * sysdeps/mach/hurd/rename.c: Likewise.
12849 * sysdeps/mach/hurd/rmdir.c: Likewise.
12850 * sysdeps/mach/hurd/seekdir.c: Likewise.
12851 * sysdeps/mach/hurd/setsid.c: Likewise.
12852 * sysdeps/posix/wait3.c: Likewise.
12853
568035b7
JM
12854 * All files with FSF copyright notices: Update copyright dates
12855 using scripts/update-copyrights.
12856 * intl/plural.c: Regenerated.
12857 * locale/programs/charmap-kw.h: Likewise.
12858 * locale/programs/locfile-kw.h: Likewise.
12859
da08f647
SP
128602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12861
0f5477af
SP
12862 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12863 four values.
12864
44e0d4c2
SP
12865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12866 calculation loop and add branch prediction.
12867
4d55b4e5
SP
12868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12869 check access beyond bounds of m1np.
12870
da08f647
SP
12871 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12872 MPTWO.
12873 (__inv): Remove local variable MPTWO to use the global
12874 constant.
12875 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12877 variable MPTWO.
12878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12879 MP3HALFS static const.
12880
8e051029
DM
128812013-01-01 David S. Miller <davem@davemloft.net>
12882
12883 * po/ca.po: Update from translation team.
12884
f4cf5f2d
JM
128852013-01-01 Joseph Myers <joseph@codesourcery.com>
12886
12887 * scripts/update-copyrights: New file.
12888 * Makeconfig: Reformat copyright notice.
12889 * ctype/ctype.h: Likewise.
12890 * debug/swprintf_chk.c: Likewise.
12891 * elf/dl-cache.c: Likewise.
12892 * elf/dl-debug.c: Likewise.
12893 * elf/dl-object.c: Likewise.
12894 * grp/initgroups.c: Likewise.
12895 * hurd/Makefile: Likewise.
12896 * hurd/hurd/signal.h: Likewise.
12897 * hurd/hurdfault.c: Likewise.
12898 * hurd/hurdioctl.c: Likewise.
12899 * hurd/hurdlookup.c: Likewise.
12900 * hurd/intr-msg.c: Likewise.
12901 * iconv/gconv_open.c: Likewise.
12902 * libio/swprintf.c: Likewise.
12903 * locale/lc-ctype.c: Likewise.
12904 * locale/nl_langinfo.c: Likewise.
12905 * mach/Machrules: Likewise.
12906 * mach/Makefile: Likewise.
12907 * malloc/obstack.h: Likewise.
12908 * manual/Makefile: Likewise.
12909 * manual/tsort.awk: Likewise.
12910 * misc/bits/stab.def: Likewise.
12911 * nis/nis_print_group_entry.c: Likewise.
12912 * nis/nis_table.c: Likewise.
12913 * nis/nss_compat/compat-pwd.c: Likewise.
12914 * nis/nss_compat/compat-spwd.c: Likewise.
12915 * po/Makefile: Likewise.
12916 * posix/fnmatch.c: Likewise.
12917 * posix/regex.h: Likewise.
12918 * resolv/Makefile: Likewise.
12919 * resolv/nss_dns/dns-network.c: Likewise.
12920 * resolv/res_hconf.c: Likewise.
12921 * scripts/gen-sorted.awk: Likewise.
12922 * soft-fp/soft-fp.h: Likewise.
12923 * stdio-common/printf.h: Likewise.
12924 * stdlib/monetary.h: Likewise.
12925 * stdlib/random.c: Likewise.
12926 * stdlib/random_r.c: Likewise.
12927 * sysdeps/generic/Makefile: Likewise.
12928 * sysdeps/gnu/Makefile: Likewise.
12929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12939 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12944 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12957 * sysdeps/mach/hurd/errnos.awk: Likewise.
12958 * sysdeps/mach/hurd/fork.c: Likewise.
12959 * sysdeps/mach/hurd/getcwd.c: Likewise.
12960 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12961 * sysdeps/mach/hurd/mmap.c: Likewise.
12962 * sysdeps/mach/hurd/utimes.c: Likewise.
12963 * sysdeps/mach/hurd/xmknod.c: Likewise.
12964 * sysdeps/posix/profil.c: Likewise.
12965 * sysdeps/posix/readdir_r.c: Likewise.
12966 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12967 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12969 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12971 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12977 * sysdeps/pthread/lio_listio.c: Likewise.
12978 * sysdeps/sparc/dl-procinfo.h: Likewise.
12979 * sysdeps/unix/i386/sysdep.S: Likewise.
12980 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12981 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12982 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12983 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12985 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12986 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12987 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12988 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12989 * sysdeps/wordsize-32/divdi3.c: Likewise.
12990 * time/sys/time.h: Likewise.
12991 * wcsmbs/Makefile: Likewise.
12992
0549fbba
DM
129932013-01-01 David S. Miller <davem@davemloft.net>
12994
a141f1a7
DM
12995 * po/fr.po: Update from translation team.
12996
0549fbba
DM
12997 * catgets/gencat.c: Update copyright year.
12998 * csu/version.c: Likewise.
12999 * debug/catchsegv.sh: Likewise.
13000 * debug/pcprofiledump.c: Likewise.
13001 * debug/xtrace.sh: Likewise.
13002 * elf/ldconfig.c: Likewise.
13003 * elf/ldd.bash.in: Likewise.
13004 * elf/pldd.c: Likewise.
13005 * elf/sotruss.ksh: Likewise.
13006 * elf/sprof.c: Likewise.
13007 * iconv/iconv_prog.c: Likewise.
13008 * iconv/iconvconfig.c: Likewise.
13009 * locale/programs/locale.c: Likewise.
13010 * locale/programs/localedef.c: Likewise.
13011 * login/programs/pt_chown.c: Likewise.
13012 * malloc/memusage.sh: Likewise.
13013 * malloc/memusagestat.c: Likewise.
13014 * malloc/mtrace.pl: Likewise.
13015 * nscd/nscd.c: Likewise.
13016 * nss/getent.c: Likewise.
13017 * nss/makedb.c: Likewise.
13018 * posix/getconf.c: Likewise.
13019
18ea052c
SP
130202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13021
13022 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13023 numbers.
13024
9c89fca6
MF
130252012-12-30 Mike Frysinger <vapier@gentoo.org>
13026
13027 * math/bits/mathcalls.h (modf): Use __nonnull.
13028
085ec079
SP
130292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13030
13031 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13032 (split): Use macro CN instead of the bare value.
13033 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13034 could be used.
13035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13036 instead of the bare value.
13037 (power1): Likewise.
13038
6d9f97e1
SP
130392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
d63f73be
SP
13041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13042 __ATAN_TWOM.
13043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13044
6d9f97e1
SP
13045 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13046 their values.
13047 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13049 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13050 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13051
4c4febf5
AJ
130522012-12-28 Andreas Jaeger <aj@suse.de>
13053
af5843ef
AJ
13054 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13055 values are from Linux 3.7.
13056
4c4febf5
AJ
13057 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13058 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13059
99136f82
SP
130602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13061
2f216c3c 13062 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13063 TRUE case.
13064
99136f82
SP
13065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13066 (norm): Likewise.
13067 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13068 variables with preprocessor constants.
13069 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13070 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13072
7fffbdff
BH
130732012-12-27 Bruno Haible <bruno@clisp.org>
13074
13075 [BZ #14317]
13076 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13077 only if needed.
13078
b76eb5f0
SP
130792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13080
31a7fe5c
SP
13081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13082 and use variable directly.
13083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13084
b76eb5f0
SP
13085 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13086 MPONE.
13087 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13089 variable MPONE.
13090 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13092 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13093 include directive. Remove local variable MPONE.
13094 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13097
2c8bfe7d
DM
130982012-12-25 David S. Miller <davem@davemloft.net>
13099
13100 * version.h (RELEASE): Set to "development".
13101 (VERSION): Set to "2.17.90".
13102 * NEWS: Add 2.18 section.
13103
147d03b0
DM
131042012-12-21 David S. Miller <davem@davemloft.net>
13105
13106 * po/hr.po: Update from translation team.
13107
a8ebb2b9
AK
131082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13109
13110 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13111
95b4f1b6
SE
131122012-12-19 Steve Ellcey <sellcey@mips.com>
13113
b2d94007 13114 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13115
cedb2a90
MS
131162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13117
13118 * manual/contrib.texi (Contributors): Spelling correction.
13119
bbf527d6
DM
131202012-12-15 David S. Miller <davem@davemloft.net>
13121
13122 * po/ru.po: Update from translation team.
13123
bc38c906
DM
131242012-12-13 David S. Miller <davem@davemloft.net>
13125
85429b1a
DM
13126 * NEWS: Mention IFUNC testsuite enhancements.
13127
d283e353
DM
13128 * po/pl.po: Update from translation team.
13129 * po/bg.po: Likewise.
13130
bc38c906
DM
13131 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13132 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13133
a181b0d7
DM
131342012-12-11 David S. Miller <davem@davemloft.net>
13135
4641d57e
DM
13136 * po/sv.po: Update from translation team.
13137
f7bc6495
DM
13138 * po/vi.po: Update from translation team.
13139
6fc9048f
DM
13140 * po/cs.po: Update from translation team.
13141
a181b0d7
DM
13142 * po/de.po: Update from translation team.
13143 * po/eo.po: Likewise.
13144 * po/nl.po: Likewise.
13145
f70bfe80
SP
131462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13147
3c8b4190
SP
13148 [BZ #14246]
13149 * manual/argp.texi (Argp Helper Functions): Move node to follow
13150 Argp Parsing State.
13151
f70bfe80
SP
13152 [BZ #14872]
13153 * manual/conf.texi (Limits on File System Capacity): Mention if
13154 terminating null is included in the max size.
13155
188f0adf
AJ
131562012-12-10 Andreas Jaeger <aj@suse.de>
13157
13158 * po/cs.po: Update from translation team.
13159
56e7d3ad
SP
131602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13161
13162 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13163 void pointer and cast to uintptr_t.
13164 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13165 path.
13166 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13167 * sysdeps/s390/s390-64/memset.S: Likewise.
13168
76f2d2ea 131692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13170
13171 [BZ #14833]
13172 * menual/message.texi (Message Translation): Fix typos.
13173 (Helper programs for gettext): Likewise.
13174
67cbf9a2
AS
131752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13176
13177 [BZ #14898]
13178 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13179 Change to -1.
13180
682d0e9a
DM
131812012-12-07 David S. Miller <davem@davemloft.net>
13182
13183 * po/libc.pot: Update.
13184
573cd484
RH
131852012-12-07 Richard Henderson <rth@redhat.com>
13186
7e9da188 13187 [BZ #10114]
573cd484
RH
13188 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13189 normal/normal case to before the switch.
13190 (_FP_DIV): Likewise.
13191
e933a943
MF
131922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13193 Mike Frysinger <vapier@gentoo.org>
13194
13195 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13196 check for __NR_fadvise64_64.
13197
82123268
CM
131982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13199
13200 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13201 0, not just to plain "0" as a statement.
13202 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13203 with cw.
13204
d9814526
JM
132052012-12-06 Joseph Myers <joseph@codesourcery.com>
13206
13207 * NEWS: Use sourceware.org in Bugzilla URL.
13208
7728c574
SP
132092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13210
f16946dd
SP
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13212 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13213
5704bbcb
SP
13214 * stdio-common/tst-put-error.c (do_test): Add newline to the
13215 padded test to ensure flush.
13216
17aa0516
JL
132172012-12-05 Jeff Law <law@redhat.com>
13218
13219 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13220
363313b5
JM
132212012-12-05 Joseph Myers <joseph@codesourcery.com>
13222
effbd42a
JM
13223 * README: Don't refer to ports add-on as distributed separately.
13224 Mention AArch64 in list of systems supported in the ports add-on.
13225
87600365
JM
13226 * LICENSES: Add more non-FSF copyright and license notices.
13227
a0d7066a
JM
13228 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13229 ((unused)).
13230
66ca5a5b
JM
13231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13232
363313b5
JM
13233 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13234 10000 as width of padded output.
13235
b37984ad
JM
132362012-12-04 Joseph Myers <joseph@codesourcery.com>
13237
9003570a
JM
13238 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13239
b37984ad
JM
13240 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13241 variable LX with __attribute__ ((unused)).
13242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13243 Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13247 with __attribute__ ((unused)).
13248
c8df52ec
DM
132492012-12-04 David S. Miller <davem@abraco.davemloft.net>
13250
13251 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13252
b3b099af
JM
132532012-12-04 Joseph Myers <joseph@codesourcery.com>
13254
c33aa6e3
JM
13255 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13256 (CFLAGS-nldbl-acos.c): New variable.
13257 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13258 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13259 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13260 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13261 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13262 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13263 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13264 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13265 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13266 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13267 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13268 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13269 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13270 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13271 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13272 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13273 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13274 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13275 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13276 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13277 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13278 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13279 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13280 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13281 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13282 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13283 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13284 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13285 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13286 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13287 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13288 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13289 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13290 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13291 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13292 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13293 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13294 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13295 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13296 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13297 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13298 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13299 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13300 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13301 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13302 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13303 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13304 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13305 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13306 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13307 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13308 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13309 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13310 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13311 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13312 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13313 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13314 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13315 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13316 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13317 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13318 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13319 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13320 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13321 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13322 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13323 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13324 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13325 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13326 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13327 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13328 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13329 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13330 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13331 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13332 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13333 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13334 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13335 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13336 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13337 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13338 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13339 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13340 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13341 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13342 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13343 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13344 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13345 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13346 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13347 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13348 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13349 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13350 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13351 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13352 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13353 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13354
20f0018d
JM
13355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13356 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13357
b3b099af
JM
13358 [BZ #14914]
13359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13360 whole low double instead of just low 47 bits when splitting values
13361 into two parts.
13362
029264d1
AM
133632012-12-03 Allan McRae <allan@archlinux.org>
13364
13365 * manual/stdio.texi (Predefined Printf Handlers): Remove
13366 @hsep and @vsep usage.
13367
c9d6789e
MF
133682012-12-03 Mike Frysinger <vapier@gentoo.org>
13369
13370 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13371 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13372
4b7634a5
JL
133732012-12-03 Jeff Law <law@redhat.com>
13374
13375 * time/sys/time.h (settimeofday): Do not mark TV argument
13376 as __nonnull.
13377
eb6cbd24
MF
133782012-12-01 Mike Frysinger <vapier@gentoo.org>
13379
13380 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13381 when currently writing and seek to current position when not.
13382 * libio/Makefile (tests): Remove bug-fclose1.
13383 * libio/bug-fclose1.c: Delete.
13384
f638872a
JM
133852012-12-01 Joseph Myers <joseph@codesourcery.com>
13386
13387 * manual/arith.texi (feenableexcept): Fix typo.
13388 (fedisableexcept): Likewise.
13389
48085d14
RM
133902012-11-30 Roland McGrath <roland@hack.frob.com>
13391
13392 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13393 second, differently-typed declaration, rather than a cast.
13394
1a538b9f
SP
133952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13396
13397 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13398 * include/rpc/svc.h: ... here.
13399
d07f2ff1 134002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13401
13402 [BZ #13013]
13403 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13404 depending n and resplen2 to catch cases where answer
13405 equals answerp2.
13406
c93ec1f0
CD
134072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13408
13409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13410 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13411
37db69de
MF
134122012-11-29 Mike Frysinger <vapier@gentoo.org>
13413
13414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13415
e10c4e4f
RM
134162012-11-29 Roland McGrath <roland@hack.frob.com>
13417
13418 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13419
2af1b328
JL
134202012-11-28 Jeff Law <law@redhat.com>
13421
13422 [BZ #13761]
13423 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13424 dataset_temporary. Track alloca usage into alloca_used.
13425 If dataset is large allocate and release it via malloc/free.
13426
111db5b1
FW
134272012-06-04 Florian Weimer <fweimer@redhat.com>
13428
f06cc227 13429 [BZ #14197]
111db5b1
FW
13430 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13431
dd694abd
DM
134322012-11-28 David S. Miller <davem@davemloft.net>
13433
13434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13435
9984dd01
JM
134362012-11-28 Joseph Myers <joseph@codesourcery.com>
13437
13438 [BZ #14803]
13439 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13440 of pi/2 rounded to nearest to 64 bits.
13441 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13442 nearest to 64 bits.
13443 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13444 bits.
13445
14bc93a9
JL
134462012-11-28 Jeff Law <law@redhat.com>
13447 Martin Osvald <mosvald@redhat.com>
13448
13449 [BZ #14889]
13450 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13451 * sunrpc/svc.c: Include time.h.
13452 (__svc_accept_failed): New function.
13453 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13454 any reason other than EINTR, call __svc_accept_failed.
13455 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13456 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13457
e3c6aa3a
AS
134582012-11-28 Andreas Schwab <schwab@suse.de>
13459
13460 * scripts/abilist.awk: Also handle indirect functions in .opd
13461 section.
13462
1bead169
JM
134632012-11-28 Joseph Myers <joseph@codesourcery.com>
13464
13465 [BZ #13881]
13466 * sysdeps/x86/fpu/powl_helper.c: New file.
13467 * sysdeps/x86/fpu/Makefile: Likewise.
13468 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13469 (p3): New object.
13470 (__ieee754_powl): Use __powl_helper for finite arguments except
13471 integer exponents below 8.
13472 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13473 (p3): New object.
13474 (__ieee754_powl): Use __powl_helper for finite arguments except
13475 integer exponents below 8.
13476 * math/libm-test.inc (pow_test): Add more tests and enable some
13477 previously disabled tests.
13478 * sysdeps/i386/fpu/libm-test-ulps: Update.
13479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13480
0817d63d
SP
134812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13482 Carlos O'Donell <carlos_odonell@mentor.com>
13483
13484 * nss/makedb.c (is_prime): Assert that input is odd and greater
13485 than 4. Note that fact in a comment too.
13486 (next_prime): Add 4 to input.
13487
de2fd463
SP
134882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13489
13490 [BZ #11741]
13491 * libio/Makefile (tests): Add test case tst-fwrite-error.
13492 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13493 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13494 * libio/tst-fwrite-error.c: New test case.
13495
c515fb51
L
134962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13499 before casting to void *.
13500 * include/libc-internal.h (__pointer_type): New macro.
13501 (__integer_if_pointer_type_sub): Likewise.
13502 (__integer_if_pointer_type): Likewise.
13503 (cast_to_integer): Likewise.
13504 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13505 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13506 before casting to atomic64_t.
13507 (atomic_exchange_acq): Likewise.
13508 (__arch_exchange_and_add_body): Likewise.
13509 (__arch_add_body): Likewise.
13510 (atomic_add_negative): Likewise.
13511 (atomic_add_zero): Likewise.
13512
4cf77aa9
JM
135132012-11-26 Joseph Myers <joseph@codesourcery.com>
13514
13515 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13516 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13517 (add_fdes): Likewise.
13518 (linear_search_fdes): Likewise.
13519 (binary_search_unencoded_fdes): Likewise.
13520
d260b3b4
AS
135212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13522
13523 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13524
67060746
AC
135252012-11-24 Adam Conrad <adconrad@0c3.net>
13526
13527 * configure.in: Autodetect C++ header directories.
13528 * configure: Regenerated.
13529
800938a1
MF
135302012-11-23 Mike Frysinger <vapier@gentoo.org>
13531
13532 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13533
4e6e34e6
AS
135342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13537
7c7feb47
JM
135382012-11-22 Joseph Myers <joseph@codesourcery.com>
13539
7184dcdf
JM
13540 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13541 LDBL_MANT_DIG == 106]: Disable some tests.
13542 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13543 Likewise.
13544 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13545 Likewise.
13546
0a42601f
JM
13547 [BZ #14871]
13548 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13549 input for small inputs. Return +/- pi/2 for large inputs.
13550 * math/libm-test.inc (atan_test): Add more tests.
13551
79c9b9fe
JM
13552 * sysdeps/generic/unwind-dw2-fde-glibc.c
13553 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13554 __attribute__ ((unused)).
13555
c60d3bf2
JM
13556 [BZ #14645]
13557 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13558 x * y if x and y are nonzero and z is zero.
13559
ef1e0867
JM
13560 [BZ #14811]
13561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13562 nonzero exponents with absolute value below 0x1p-117 to +/-
13563 0x1p-117.
13564
1468ded3
JM
13565 [BZ #14869]
13566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13567 up arguments below 2**-450, not just those below 2**-500.
13568 * math/libm-test.inc (hypot_test): Add another test.
13569
8e27e3cc
JM
13570 [BZ #14868]
13571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13572 Return a+b for ratio over 2**120, not 2**60.
13573 * math/libm-test.inc (hypot_test): Add another test.
13574
c9c0279b
JM
13575 * math/libm-test.inc (clog_test): Use
13576 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13577 (clog10_test): Likewise.
13578
7c7feb47
JM
13579 [BZ #6778]
13580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13581
fff1530e
AS
135822012-11-22 Andreas Schwab <schwab@suse.de>
13583
13584 * sysdeps/i386/fpu/libm-test-ulps: Update.
13585
94558d30
PT
135862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13587
13588 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13589 printf output with newline.
13590
7e1be741
L
135912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13592
6bfea974
L
13593 [BZ #14865]
13594 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13595 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13596 -z nodlopen, -z initfirst and -z execstack support.
13597 * configure: Regenerated.
13598
7e1be741
L
13599 * elf/elf.h (DF_1_NODIRECT): New macro.
13600 (DF_1_IGNMULDEF): Likewise.
13601 (DF_1_NOKSYMS): Likewise.
13602 (DF_1_NOHDR): Likewise.
13603 (DF_1_EDITED): Likewise.
13604 (DF_1_NORELOC): Likewise.
13605 (DF_1_SYMINTPOSE): Likewise.
13606 (DF_1_GLOBAUDIT): Likewise.
13607 (DF_1_SINGLETON): Likewise.
13608 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13609 DT_1_SUPPORTED_MASK bits.
13610 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13611
105ce2ce
CD
136122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13613
13614 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13615
123be9de
TS
136162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13617
d072f3f7
TS
13618 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13619 macro.
13620
123be9de
TS
13621 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13622 (sendmmsg): Move declarations...
13623 * socket/sys/socket.h: ... here.
13624 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13625 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13626 include it from...
13627 * socket/recvmmsg.c: ... this new file.
13628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13629 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13630 definition of __sendmmsg hidden.
13631 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13632 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13633 Move ENOSYS stub into and include it from...
13634 * socket/sendmmsg.c: ... this new file.
13635 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13636 (sysdep_routines): Move recvmmsg and sendmmsg...
13637 * socket/Makefile (routines): ... here.
13638 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13639 (GLIBC_PRIVATE): Add __sendmmsg.
13640 * include/sys/socket.h (__sendmmsg): Add declarations.
13641 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13642 sendmmsg.
13643
cf9a5d18
JM
136442012-11-20 Joseph Myers <joseph@codesourcery.com>
13645
13646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13647 variable I1 with __attribute__ ((unused)).
13648 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13649
ecd4caf9
JM
136502012-11-19 Joseph Myers <joseph@codesourcery.com>
13651
be14d48f
JM
13652 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13653 DUMMY variables with __attribute__ ((unused)).
13654
ecd4caf9
JM
13655 * bits/byteswap.h: Include <bits/types.h>.
13656 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13657
986cab95
PT
136582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13659
13660 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13661 string_t. Do not manually set errno.
13662 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13663 length with __strnlen. Make sure to both set errno and return it on
13664 failure.
13665
6d33cc9d
DM
136662012-11-19 David S. Miller <davem@davemloft.net>
13667
13668 With help from Joseph Myers.
13669 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13670 very large arguments properly.
13671 * math/libm-test.inc (atan_test): New tests.
13672 (atan2_test): New tests.
13673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13675
ee663277
JM
136762012-11-19 Joseph Myers <joseph@codesourcery.com>
13677
877f2d8e
JM
13678 [BZ #14856]
13679 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13680 Define to 3.
13681
116fc08a
JM
13682 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13683 [POSIX] (EADDRNOTAVAIL): Likewise.
13684 [POSIX] (EAFNOSUPPORT): Likewise.
13685 [POSIX] (EALREADY): Likewise.
13686 [POSIX] (ECONNABORTED): Likewise.
13687 [POSIX] (ECONNREFUSED): Likewise.
13688 [POSIX] (ECONNRESET): Likewise.
13689 [POSIX] (EDESTADDRREQ): Likewise.
13690 [POSIX] (EDQUOT): Likewise.
13691 [POSIX] (EHOSTUNREACH): Likewise.
13692 [POSIX] (EIDRM): Likewise.
13693 [POSIX] (EISCONN): Likewise.
13694 [POSIX] (ELOOP): Likewise.
13695 [POSIX] (EMULTIHOP): Likewise.
13696 [POSIX] (ENETDOWN): Likewise.
13697 [POSIX] (ENETUNREACH): Likewise.
13698 [POSIX] (ENOBUFS): Likewise.
13699 [POSIX] (ENODATA): Likewise.
13700 [POSIX] (ENOLINK): Likewise.
13701 [POSIX] (ENOMSG): Likewise.
13702 [POSIX] (ENOPROTOOPT): Likewise.
13703 [POSIX] (ENOSR): Likewise.
13704 [POSIX] (ENOSTR): Likewise.
13705 [POSIX] (ENOTCONN): Likewise.
13706 [POSIX] (ENOTSOCK): Likewise.
13707 [POSIX] (EOPNOTSUPP): Likewise.
13708 [POSIX] (EOVERFLOW): Likewise.
13709 [POSIX] (EPROTO): Likewise.
13710 [POSIX] (EPROTONOSUPPORT): Likewise.
13711 [POSIX] (EPROTOTYPE): Likewise.
13712 [POSIX] (ESTALE): Likewise.
13713 [POSIX] (ETIME): Likewise.
13714 [POSIX] (ETXTBSY): Likewise.
13715 [POSIX] (EWOULDBLOCK): Likewise.
13716 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13717 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13718 [POSIX] (SEEK_CUR): Likewise.
13719 [POSIX] (SEEK_END): Likewise.
13720 [POSIX || UNIX98] (mode_t): Do not require.
13721 [POSIX] (off_t): Likewise.
13722 [POSIX] (pid_t): Likewise.
13723 [POSIX] (sys/stat.h): Do not allow header.
13724 [POSIX] (unistd.h): Likewise.
13725 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13726 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13727 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13728 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13729 require.
13730 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13731 sigevent): Specify elements.
13732 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13733 entry.
13734 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13735 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13736
a483863f
JM
13737 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13738 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13739 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13740 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13741 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13742 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13743 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13744 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13746 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13747 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13748 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13749 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13751 Likewise.
13752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13753 Likewise.
13754 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13755 Likewise.
13756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13757 Likewise.
13758 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13759 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13763 Specify lower bound on value.
13764 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13770 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13771 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13772 value.
13773 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13774 as optional.
13775 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13780 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13781 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13782 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13785 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13786 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13787 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13788 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13789 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13790 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13791 entry.
13792 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13793 optional.
13794 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13795 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13796 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13797 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13798 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13799 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13800 Likewise.
13801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13803 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13804 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13805 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13806 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13808 as optional.
13809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13812 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13813 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13814 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13815 specify as optional.
13816 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13817 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13818 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13819 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13820 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13821 [XPG3] (NL_LANGMAX): Likewise.
13822 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13823 [POSIX || XPG3] (NL_NMAX): Likewise.
13824 [POSIX || XPG3] (NL_SETMAX): Likewise.
13825 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13826 [XPG3] (NZERO): Likewise.
13827 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13828 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13829 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13830 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13831 (REG_ERANGE): Expect.
13832 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13833 optional-constant.
13834 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13835 Use (void) in prototype.
13836 [POSIX] (*_t): Allow.
13837 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13838 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13839 (WRDE_BADVAL): Expect.
13840
5ba924e3
JM
13841 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13842 expect.
13843 [XPG3 || XPG4] (O_RSYNC): Likewise.
13844 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13845 Likewise.
13846 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13847 [XPG3 || XPG4] (sigqueue): Likewise.
13848 [XPG3 || XPG4] (sigtimedwait): Likewise.
13849 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13850 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13851 [XPG3 || XPG4] (vsnprintf): Likewise.
13852 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13853 Likewise.
13854 [XPG3 || XPG4] (blksize_t): Likewise.
13855 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13856 Likewise.
13857 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13858 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13859 [XPG3 || XPG4] (struct itimerspec): Likewise.
13860 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13861 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13862 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13863 [XPG3 || XPG4] (clockid_t): Likewise.
13864 [XPG3 || XPG4] (timer_t): Likewise.
13865 [XPG3 || XPG4] (clock_getres): Likewise.
13866 [XPG3 || XPG4] (clock_gettime): Likewise.
13867 [XPG3 || XPG4] (clock_settime): Likewise.
13868 [XPG3 || XPG4] (nanosleep): Likewise.
13869 [XPG3 || XPG4] (timer_create): Likewise.
13870 [XPG3 || XPG4] (timer_delete): Likewise.
13871 [XPG3 || XPG4] (timer_gettime): Likewise.
13872 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13873 [XPG3 || XPG4] (timer_settime): Likewise.
13874 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13875 [XPG3 || XPG4] (getlogin_r): Likewise.
13876 [XPG3 || XPG4] (pread): Likewise.
13877 [XPG3 || XPG4] (pthread_atfork): Likewise.
13878 [XPG3 || XPG4] (pwrite): Likewise.
13879
ee663277
JM
13880 [BZ #14835]
13881 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13882 <bits/siginfo.h>.
13883
942caa16
PT
138842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13885
e19af380
PT
13886 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13887 finalizing MALLSTREAM.
13888
942caa16
PT
13889 * sysdeps/mach/hurd/syncfs.c: New file.
13890
cfde9b46
SP
138912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13892
13893 [BZ #14719]
13894 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13895 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13897 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13898 (_nss_dns_gethostbyname4_r): Likewise.
13899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13900 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13901
f6da27e5
PH
139022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13903
13904 [BZ #13763]
13905 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13906
6665d4a2
SM
139072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13908
1f51ee92
SM
13909 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13910 * elf/cache.c (print_entry): Print ",AArch64" for
13911 FLAG_AARCH64_LIB64
13912
6665d4a2
SM
13913 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13914 * elf/cache.c (print_entry): Print ",hard-float" for
13915 FLAG_ARM_LIBHF.
13916
05b227bd
DM
139172012-11-18 David S. Miller <davem@davemloft.net>
13918
13919 With help from Joseph Myers.
13920 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13921 cutoff to 2**-13.
13922 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13923 cutoff to 2**-25.
13924 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13925 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13926 small.
13927 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13928 * math/libm-test.inc (y0_test): New tests.
13929 (y1_test): New tests.
13930 * sysdeps/i386/fpu/libm-test-ulps: Update.
13931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13933
786b0b67
AS
139342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13935
13936 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13937 64-bit targets.
13938 * configure: Regenerated.
13939
8e18b86d
DM
139402012-11-17 David S. Miller <davem@davemloft.net>
13941
13942 [BZ #14811]
13943 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13944 nonzero exponents with absolute value below 0x1p-128 to +/-
13945 0x1p-128.
13946
531f1ae0
JM
139472012-11-17 Joseph Myers <joseph@codesourcery.com>
13948
12df29e2
JM
13949 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13950
150dc1a0
JM
13951 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13952
531f1ae0
JM
13953 * posix/getconf-speclist.c: New file.
13954 * posix/posix-envs.def: Likewise.
13955 * posix/confstr.c (START_ENV_GROUP): New macro.
13956 (END_ENV_GROUP): Likewise.
13957 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13958 (KNOWN_PRESENT_ENV_STRING): Likewise.
13959 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13960 (UNKNOWN_ENVIRONMENT): Likewise.
13961 (confstr): Include posix-envs.def instead of handling
13962 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13963 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13964 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13965 (END_ENV_GROUP): Likewise.
13966 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13968 (UNKNOWN_ENVIRONMENT): Likewise.
13969 (__sysconf): Include posix-envs.def instead of handling associated
13970 cases directly here.
13971 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13972 preprocessing getconf-speclist.c rather than running getconf or
13973 generating empty file.
13974
a93f9cbc
PT
139752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13976
13977 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13978
d64d9f87
AL
139792012-11-16 Andrej Lajovic <natrij@gmail.com>
13980
13981 [BZ #14672]
13982 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13983
447885eb
DM
139842012-11-16 David S. Miller <davem@davemloft.net>
13985
13986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13987 smaller than LDBL_EPSILON/2.0L, just return xm1.
13988
bcbf9830
L
139892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 * elf/tst-array1.c (init): Set constructor priority to 1000.
13992 (fini): Set destructor priority to 1000.
13993 * elf/tst-array2dep.c: Likewise.
13994
2b766585
SP
139952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13996
13997 [BZ #11741]
13998 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13999 (_IO_new_file_xsputn): Also return EOF if none of the input
14000 data was written when overflow failed.
14001 * libio/iopadn.c (_IO_padn): Likewise.
14002 * libio/iowpadn.c (_IO_wpadn): Likewise.
14003 * stdio-common/tst-put-error.c: Add copyright notice.
14004 (do_test): Add case for printing padded string.
14005 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14006 _IO_padn returned error.
14007 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14008 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14009 return EOF.
14010
b1848fde
SP
140112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14012
14013 * libio/libioP.h: Add comment note that the references to C++
14014 bits are now obsolete.
14015
2fd89785
MS
140162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14017
14018 * math/libm-test.inc (check_complex): Use asprintf.
14019
e3ea5409
JM
140202012-11-14 Joseph Myers <joseph@codesourcery.com>
14021
14022 * debug/pcprofiledump.c (print_version): Update copyright year.
14023 * malloc/memusagestat.c (print_version): Likewise.
14024
2e64d265
L
140252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14026
14027 [BZ #14831]
14028 * elf/Makefile (tests): Add tst-audit8.
14029 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14030 ($(objpfx)tst-audit8.out): New target.
14031 (tst-audit8-ENV): New variable.
14032 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14033 audit if l_reloc_result is NULL.
14034 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14035 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14036 * elf/tst-audit8.c: New file.
14037
c485e4d2
MS
140382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14039
14040 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14041 * misc/Makefile (CFLAGS-select.c): Define.
14042 * posix/Makefile (CFLAGS-pause.c): Define.
14043
3a0d900a
DM
140442012-11-13 David S. Miller <davem@davemloft.net>
14045
14046 * crypt/Makefile: Move test targets after toplevel Rules
14047 inclusion. Grab any necessary sysdep routines when linking.
14048 * crypt/md5.c (md5_process_block): Remove define, we will always
14049 name it __md5_process_block.
14050 (md5_finish_ctx): Update md5_process_block call.
14051 (md5_stream): Likewise.
14052 (md5_process_bytes): Likewise.
14053 (md5_process_block): Rename to __md5_process_block and move to ...
14054 * crypt/md5-block.c: ... here.
14055 * crypt/sha256.c (sha256_process_block): Move to ...
14056 * crypt/sha256-block.c: ... here.
14057 * crypt/sha512.c (sha512_process_block): Move to ...
14058 * crypt/sha512-block.c: ... here.
14059 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14060 path.
14061 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14062 * sysdeps/sparc/sparc64/multiarch/Makefile
14063 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14064 crypt subdir.
14065 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14067 multiarch changes.
14068 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14069 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14070 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14071 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14072 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14073 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14074 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14075 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14076 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14077 file.
14078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14080 file.
14081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14082
8ca89318
JM
140832012-11-13 Joseph Myers <joseph@codesourcery.com>
14084
e27d476a
JM
14085 * timezone/tzselect.ksh: Update from tzcode git revision
14086 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14087 * timezone/zdump.c: Likewise.
14088 * timezone/zic.c: Likewise.
14089 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14090 in TZVERSION setting, not $(PKGVERSION).
14091 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14092 REPORT_BUGS_TO settings.
14093
8ca89318
JM
14094 [BZ #14838]
14095 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14096 macro.
14097
47594329
MS
140982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14099
14100 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14101 detection to immediately after _FP_ROUND().
14102 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14103 bits are 0.
14104
640ac3f1
DM
141052012-11-11 David S. Miller <davem@davemloft.net>
14106
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14108 inttypes.h
14109 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14110 __close rather than their public counterparts.
14111
3d2577bb
JM
141122012-11-10 Joseph Myers <joseph@codesourcery.com>
14113
14114 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14115 file.
14116 [UNIX98] (sem_timedwait): Do not expect.
14117 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14118 [XPG4 || UNIX98] (sockatmark): Do not expect.
14119 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14120 (clock_getcpuclockid): Do not expect.
14121 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14122 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14123 Do not expect.
14124 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14125 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14126 [UNIX98] (vwscanf): Likewise.
14127 [UNIX98] (vswscanf): Likewise.
14128
fb1ae1ee
JM
141292012-11-09 Joseph Myers <joseph@codesourcery.com>
14130
9ec6f8bd
JM
14131 * timezone/version.h: Remove file.
14132 * timezone/README: Do not refer to version.h.
14133 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14134 $(objpfx)version.h.
14135 ($(objpfx)zdump.o): Likewise.
c3f81911 14136 ($(objpfx)version.h): New target.
9ec6f8bd 14137
0aa8f8a1
JM
14138 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14139 2012i.
14140 * timezone/README: Don't mention modification to tzselect.ksh.
14141 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14142 work on unmodified tzselect.ksh. Substitute version numbers in
14143 tzselect.ksh.
14144
4e87147f
JM
14145 * Makefile (format-me): Remove.
14146 (INSTALL): Adjust indentation. Use commands directly instead of
14147 using $(format-me).
14148
8b748aed
JM
14149 * aclocal.m4 (ACX_PKGVERSION): New macro.
14150 (ACX_BUGURL): Likewise.
14151 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14152 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14153 (REPORT_BUGS_TO): Likewise.
14154 * configure: Regenerated.
14155 * config.h.in (PKGVERSION): New macro.
14156 (REPORT_BUGS_TO): Likewise.
14157 * config.make.in (PKGVERSION): New variable.
14158 (PKGVERSION_TEXI): Likewise.
14159 (REPORT_BUGS_TO): Likewise.
14160 (REPORT_BUGS_TEXI): Likewise.
14161 * Makefile (format-me): Use -I$(common-objpfx)manual.
14162 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14163 ($(common-objpfx)manual/%): New target.
14164 (manual/%): Remove target.
14165 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14166 (print_version): Use PKGVERSION.
14167 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14168 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14169 and REPORT_BUGS_TO.
14170 ($(objpfx)xtrace): Likewise.
14171 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14172 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14173 (print_version): Use PKGVERSION.
14174 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14175 (do_version): Use PKGVERSION.
14176 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14177 REPORT_BUGS_TO.
14178 (common-ldd-rewrite): Likewise.
14179 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14180 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14181 (print_version): Use PKGVERSION.
14182 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14183 * elf/pldd.c (argp_program_bug_address): Remove variable.
14184 (more_help): New function.
14185 (argp): Use more_help.
14186 (print_version): Use PKGVERSION.
14187 * elf/sln.c (main): Use PKGVERSION.
14188 (usage): Use REPORT_BUGS_TO.
14189 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14190 (top level): Use PKGVERSION.
14191 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14192 (print_version): Use PKGVERSION.
14193 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14194 (print_version): Use PKGVERSION.
14195 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14196 (print_version): Use PKGVERSION.
14197 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14198 (print_version): Use PKGVERSION.
14199 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14200 (print_version): Use PKGVERSION.
14201 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14202 (print_version): Use PKGVERSION.
14203 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14204 and BUGURL.
14205 ($(objpfx)memusage): Likewise.
14206 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14207 (do_version): Use PKGVERSION.
14208 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14209 (print_version): Use PKGVERSION.
14210 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14211 ($PKGVERSION): New variable.
14212 ($REPORT_BUGS_TO): Likewise.
14213 (usage): Use $REPORT_BUGS_TO.
14214 (top level): Use $PKGVERSION.
14215 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14216 ($(objpfx)pkgvers.texi): New rule.
14217 ($(objpfx)stamp-pkgvers): Likewise.
14218 * manual/install.texi: Include pkgvers.texi.
14219 (--with-pkgversion): Document new configure option.
14220 (--with-bugurl): Likewise.
14221 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14222 than necessarily for this particular distribution. Use
14223 REPORT_BUGS_TO for where to report bugs.
14224 * INSTALL: Regenerated.
14225 * manual/libc.texinfo: Include pkgvers.texi.
14226 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14227 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14228 (print_version): Use PKGVERSION.
14229 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14230 (print_version): Use PKGVERSION.
14231 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14232 (print_version): Use PKGVERSION.
14233 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14234 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14235 macro.
14236 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14237 (print_version): Use PKGVERSION.
14238 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14239 (print_version): Use PKGVERSION.
14240 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14241 and PKGVERSION.
14242
92e4b6a9
JM
14243 * timezone/checktab.awk: Update from tzcode 2012i.
14244 * timezone/ialloc.c: Likewise.
14245 * timezone/private.h: Likewise.
14246 * timezone/scheck.c: Likewise.
14247 * timezone/tzfile.h: Likewise.
14248 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14249 (TZVERSION): Hardcode tzcode version number.
14250 * timezone/zdump.c: Update from tzcode 2012i.
14251 * timezone/zic.c: Likewise.
14252 * timezone/version.h: New file.
14253 * timezone/README: Describe version.h. Update upstream location.
14254
9bde902c
JM
14255 [BZ #14824]
14256 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14257 (mktemp): Enable declaration.
14258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14262 Likewise.
14263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14264 Likewise.
14265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14266 Likewise.
14267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14268 Likewise.
14269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14270 Likewise.
14271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14272 Likewise.
14273
fb1ae1ee
JM
14274 [BZ #14821]
14275 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14276 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14277 for copies of such integer values.
14278 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14279 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14280
2c1adbcb
AJ
142812012-11-09 Andreas Jaeger <aj@suse.de>
14282
14283 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14284 definitions and declarations that are provided by
14285 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14286
d0f8457e
AK
142872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14288
3a235abb 14289 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14290 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14291 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14292 definition.
14293
57241e26
MS
142942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14295
14296 * elf/elf.h: Update comment before AArch64 relocations.
14297
60e8270d
DM
142982012-11-07 David S. Miller <davem@davemloft.net>
14299
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14301 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14302 (__start_context): Declare.
14303 (__makecontext_ret): Delete.
14304 (__makecontext): Hook up __start_context instead of
14305 __makecontext_ret.
14306 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14307 (sysdep_routines): Add __start_context when in stdlib.
14308
0fbb0fbc
JM
143092012-11-07 Joseph Myers <joseph@codesourcery.com>
14310
14311 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14312 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14313 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14314 hardcoded "nm".
14315 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14316 (READELF): New variable. Use it instead of hardcoded "readelf".
14317
eb48db7e
L
143182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14319
14320 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14321 * sysdeps/x86/Makefile: Here.
14322 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14323 * sysdeps/x86/tst-xmmymm.sh: This.
14324
05bcf62a
JM
143252012-11-07 Joseph Myers <joseph@codesourcery.com>
14326
c4b6cf53
JM
14327 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14328 expectations.
14329 [UNIX98] (pthread_barrier_t): Do not expect.
14330 [UNIX98] (pthread_barrierattr_t): Likewise.
14331 [UNIX98] (pthread_spinlock_t): Likewise.
14332 [UNIX98] (pthread_barrier_destroy): Likewise.
14333 [UNIX98] (pthread_barrier_init): Likewise.
14334 [UNIX98] (pthread_barrier_wait): Likewise.
14335 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14336 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14337 [UNIX98] (pthread_barrierattr_init): Likewise.
14338 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14339 [UNIX98] (pthread_getcpuclockid): Likewise.
14340 [UNIX98] (pthread_mutex_timedlock): Likewise.
14341 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14342 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14343 [UNIX98] (pthread_sigmask): Likewise.
14344 [UNIX98] (pthread_spin_destroy): Likewise.
14345 [UNIX98] (pthread_spin_init): Likewise.
14346 [UNIX98] (pthread_spin_lock): Likewise.
14347 [UNIX98] (pthread_spin_trylock): Likewise.
14348 [UNIX98] (pthread_spin_unlock): Likewise.
14349 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14350 Do not expect.
14351 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14353 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14354 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14355 [XPG3 || XPG4] (pthread_key_t): Likewise.
14356 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14357 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14358 [XPG3 || XPG4] (pthread_once_t): Likewise.
14359 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14360 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14362 [XPG3 || XPG4] (pthread_t): Likewise.
14363
cbe6e120
JM
14364 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14365 not expect.
14366 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14367
1b126443
JM
14368 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14369 Change function return type to int.
14370
b961a573
JM
14371 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14372 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14373 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14374 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14375 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14376 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14377 [!POSIX] (posix_madvise): Likewise.
14378 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14379 && !UNIX98].
14380 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14381 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14382 (mode_t): Likewise.
14383 (posix_mem_offset): Likewise.
14384 (posix_typed_mem_get_info): Likewise.
14385 (posix_typed_mem_open): Likewise.
14386
9e188909
JM
14387 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14388 Change condition to [XOPEN2K8].
14389
05bcf62a
JM
14390 * conform/conformtest.pl: Preprocess allow-header data with -x c
14391 instead of from stdin.
14392 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14393 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14394 [C99-based standards] (cerfc): Likewise.
14395 [C99-based standards] (cexp2): Likewise.
14396 [C99-based standards] (cexpm1): Likewise.
14397 [C99-based standards] (clog10): Likewise.
14398 [C99-based standards] (clog1p): Likewise.
14399 [C99-based standards] (clog2): Likewise.
14400 [C99-based standards] (clgamma): Likewise.
14401 [C99-based standards] (ctgamma): Likewise.
14402 [C99-based standards] (cerff): Likewise.
14403 [C99-based standards] (cerfcf): Likewise.
14404 [C99-based standards] (cexp2f): Likewise.
14405 [C99-based standards] (cexpm1f): Likewise.
14406 [C99-based standards] (clog10f): Likewise.
14407 [C99-based standards] (clog1pf): Likewise.
14408 [C99-based standards] (clog2f): Likewise.
14409 [C99-based standards] (clgammaf): Likewise.
14410 [C99-based standards] (ctgammaf): Likewise.
14411 [C99-based standards] (cerfl): Likewise.
14412 [C99-based standards] (cerfcl): Likewise.
14413 [C99-based standards] (cexp2l): Likewise.
14414 [C99-based standards] (cexpm1l): Likewise.
14415 [C99-based standards] (clog10l): Likewise.
14416 [C99-based standards] (clog1pl): Likewise.
14417 [C99-based standards] (clog2l): Likewise.
14418 [C99-based standards] (clgammal): Likewise.
14419 [C99-based standards] (ctgammal): Likewise.
14420 * conform/data/inttypes.h-data [C99-based standards]: Include
14421 stdint.h-data. Remove all expectations for stdint.h contents.
14422 [C99-based standards] (PRI*): Do not allow.
14423 [C99-based standards] (SCN*): Likewise.
14424 [C99-based standards] (*_t): Likewise.
14425 [C99-based-standards] (PRId8): Expect macro.
14426 [C99-based-standards] (PRIi8): Likewise.
14427 [C99-based-standards] (PRIo8): Likewise.
14428 [C99-based-standards] (PRIu8): Likewise.
14429 [C99-based-standards] (PRIx8): Likewise.
14430 [C99-based-standards] (PRIX8): Likewise.
14431 [C99-based-standards] (SCNd8): Likewise.
14432 [C99-based-standards] (SCNi8): Likewise.
14433 [C99-based-standards] (SCNo8): Likewise.
14434 [C99-based-standards] (SCNu8): Likewise.
14435 [C99-based-standards] (SCNx8): Likewise.
14436 [C99-based-standards] (PRIdLEAST8): Likewise.
14437 [C99-based-standards] (PRIiLEAST8): Likewise.
14438 [C99-based-standards] (PRIoLEAST8): Likewise.
14439 [C99-based-standards] (PRIuLEAST8): Likewise.
14440 [C99-based-standards] (PRIxLEAST8): Likewise.
14441 [C99-based-standards] (PRIXLEAST8): Likewise.
14442 [C99-based-standards] (SCNdLEAST8): Likewise.
14443 [C99-based-standards] (SCNiLEAST8): Likewise.
14444 [C99-based-standards] (SCNoLEAST8): Likewise.
14445 [C99-based-standards] (SCNuLEAST8): Likewise.
14446 [C99-based-standards] (SCNxLEAST8): Likewise.
14447 [C99-based-standards] (PRIdFAST8): Likewise.
14448 [C99-based-standards] (PRIiFAST8): Likewise.
14449 [C99-based-standards] (PRIoFAST8): Likewise.
14450 [C99-based-standards] (PRIuFAST8): Likewise.
14451 [C99-based-standards] (PRIxFAST8): Likewise.
14452 [C99-based-standards] (PRIXFAST8): Likewise.
14453 [C99-based-standards] (SCNdFAST8): Likewise.
14454 [C99-based-standards] (SCNiFAST8): Likewise.
14455 [C99-based-standards] (SCNoFAST8): Likewise.
14456 [C99-based-standards] (SCNuFAST8): Likewise.
14457 [C99-based-standards] (SCNxFAST8): Likewise.
14458 [C99-based-standards] (PRId16): Likewise.
14459 [C99-based-standards] (PRIi16): Likewise.
14460 [C99-based-standards] (PRIo16): Likewise.
14461 [C99-based-standards] (PRIu16): Likewise.
14462 [C99-based-standards] (PRIx16): Likewise.
14463 [C99-based-standards] (PRIX16): Likewise.
14464 [C99-based-standards] (SCNd16): Likewise.
14465 [C99-based-standards] (SCNi16): Likewise.
14466 [C99-based-standards] (SCNo16): Likewise.
14467 [C99-based-standards] (SCNu16): Likewise.
14468 [C99-based-standards] (SCNx16): Likewise.
14469 [C99-based-standards] (PRIdLEAST16): Likewise.
14470 [C99-based-standards] (PRIiLEAST16): Likewise.
14471 [C99-based-standards] (PRIoLEAST16): Likewise.
14472 [C99-based-standards] (PRIuLEAST16): Likewise.
14473 [C99-based-standards] (PRIxLEAST16): Likewise.
14474 [C99-based-standards] (PRIXLEAST16): Likewise.
14475 [C99-based-standards] (SCNdLEAST16): Likewise.
14476 [C99-based-standards] (SCNiLEAST16): Likewise.
14477 [C99-based-standards] (SCNoLEAST16): Likewise.
14478 [C99-based-standards] (SCNuLEAST16): Likewise.
14479 [C99-based-standards] (SCNxLEAST16): Likewise.
14480 [C99-based-standards] (PRIdFAST16): Likewise.
14481 [C99-based-standards] (PRIiFAST16): Likewise.
14482 [C99-based-standards] (PRIoFAST16): Likewise.
14483 [C99-based-standards] (PRIuFAST16): Likewise.
14484 [C99-based-standards] (PRIxFAST16): Likewise.
14485 [C99-based-standards] (PRIXFAST16): Likewise.
14486 [C99-based-standards] (SCNdFAST16): Likewise.
14487 [C99-based-standards] (SCNiFAST16): Likewise.
14488 [C99-based-standards] (SCNoFAST16): Likewise.
14489 [C99-based-standards] (SCNuFAST16): Likewise.
14490 [C99-based-standards] (SCNxFAST16): Likewise.
14491 [C99-based-standards] (PRId32): Likewise.
14492 [C99-based-standards] (PRIi32): Likewise.
14493 [C99-based-standards] (PRIo32): Likewise.
14494 [C99-based-standards] (PRIu32): Likewise.
14495 [C99-based-standards] (PRIx32): Likewise.
14496 [C99-based-standards] (PRIX32): Likewise.
14497 [C99-based-standards] (SCNd32): Likewise.
14498 [C99-based-standards] (SCNi32): Likewise.
14499 [C99-based-standards] (SCNo32): Likewise.
14500 [C99-based-standards] (SCNu32): Likewise.
14501 [C99-based-standards] (SCNx32): Likewise.
14502 [C99-based-standards] (PRIdLEAST32): Likewise.
14503 [C99-based-standards] (PRIiLEAST32): Likewise.
14504 [C99-based-standards] (PRIoLEAST32): Likewise.
14505 [C99-based-standards] (PRIuLEAST32): Likewise.
14506 [C99-based-standards] (PRIxLEAST32): Likewise.
14507 [C99-based-standards] (PRIXLEAST32): Likewise.
14508 [C99-based-standards] (SCNdLEAST32): Likewise.
14509 [C99-based-standards] (SCNiLEAST32): Likewise.
14510 [C99-based-standards] (SCNoLEAST32): Likewise.
14511 [C99-based-standards] (SCNuLEAST32): Likewise.
14512 [C99-based-standards] (SCNxLEAST32): Likewise.
14513 [C99-based-standards] (PRIdFAST32): Likewise.
14514 [C99-based-standards] (PRIiFAST32): Likewise.
14515 [C99-based-standards] (PRIoFAST32): Likewise.
14516 [C99-based-standards] (PRIuFAST32): Likewise.
14517 [C99-based-standards] (PRIxFAST32): Likewise.
14518 [C99-based-standards] (PRIXFAST32): Likewise.
14519 [C99-based-standards] (SCNdFAST32): Likewise.
14520 [C99-based-standards] (SCNiFAST32): Likewise.
14521 [C99-based-standards] (SCNoFAST32): Likewise.
14522 [C99-based-standards] (SCNuFAST32): Likewise.
14523 [C99-based-standards] (SCNxFAST32): Likewise.
14524 [C99-based-standards] (PRId64): Likewise.
14525 [C99-based-standards] (PRIi64): Likewise.
14526 [C99-based-standards] (PRIo64): Likewise.
14527 [C99-based-standards] (PRIu64): Likewise.
14528 [C99-based-standards] (PRIx64): Likewise.
14529 [C99-based-standards] (PRIX64): Likewise.
14530 [C99-based-standards] (SCNd64): Likewise.
14531 [C99-based-standards] (SCNi64): Likewise.
14532 [C99-based-standards] (SCNo64): Likewise.
14533 [C99-based-standards] (SCNu64): Likewise.
14534 [C99-based-standards] (SCNx64): Likewise.
14535 [C99-based-standards] (PRIdLEAST64): Likewise.
14536 [C99-based-standards] (PRIiLEAST64): Likewise.
14537 [C99-based-standards] (PRIoLEAST64): Likewise.
14538 [C99-based-standards] (PRIuLEAST64): Likewise.
14539 [C99-based-standards] (PRIxLEAST64): Likewise.
14540 [C99-based-standards] (PRIXLEAST64): Likewise.
14541 [C99-based-standards] (SCNdLEAST64): Likewise.
14542 [C99-based-standards] (SCNiLEAST64): Likewise.
14543 [C99-based-standards] (SCNoLEAST64): Likewise.
14544 [C99-based-standards] (SCNuLEAST64): Likewise.
14545 [C99-based-standards] (SCNxLEAST64): Likewise.
14546 [C99-based-standards] (PRIdFAST64): Likewise.
14547 [C99-based-standards] (PRIiFAST64): Likewise.
14548 [C99-based-standards] (PRIoFAST64): Likewise.
14549 [C99-based-standards] (PRIuFAST64): Likewise.
14550 [C99-based-standards] (PRIxFAST64): Likewise.
14551 [C99-based-standards] (PRIXFAST64): Likewise.
14552 [C99-based-standards] (SCNdFAST64): Likewise.
14553 [C99-based-standards] (SCNiFAST64): Likewise.
14554 [C99-based-standards] (SCNoFAST64): Likewise.
14555 [C99-based-standards] (SCNuFAST64): Likewise.
14556 [C99-based-standards] (SCNxFAST64): Likewise.
14557 [C99-based-standards] (PRIdMAX): Likewise.
14558 [C99-based-standards] (PRIiMAX): Likewise.
14559 [C99-based-standards] (PRIoMAX): Likewise.
14560 [C99-based-standards] (PRIuMAX): Likewise.
14561 [C99-based-standards] (PRIxMAX): Likewise.
14562 [C99-based-standards] (PRIXMAX): Likewise.
14563 [C99-based-standards] (SCNdMAX): Likewise.
14564 [C99-based-standards] (SCNiMAX): Likewise.
14565 [C99-based-standards] (SCNoMAX): Likewise.
14566 [C99-based-standards] (SCNuMAX): Likewise.
14567 [C99-based-standards] (SCNxMAX): Likewise.
14568 [C99-based-standards] (PRIdPTR): Likewise.
14569 [C99-based-standards] (PRIiPTR): Likewise.
14570 [C99-based-standards] (PRIoPTR): Likewise.
14571 [C99-based-standards] (PRIuPTR): Likewise.
14572 [C99-based-standards] (PRIxPTR): Likewise.
14573 [C99-based-standards] (PRIXPTR): Likewise.
14574 [C99-based-standards] (SCNdPTR): Likewise.
14575 [C99-based-standards] (SCNiPTR): Likewise.
14576 [C99-based-standards] (SCNoPTR): Likewise.
14577 [C99-based-standards] (SCNuPTR): Likewise.
14578 [C99-based-standards] (SCNxPTR): Likewise.
14579 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14580 allow.
14581 * conform/data/stdint.h-data: Update comments to clarify
14582 requirements.
14583 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14584 type.
14585 [C99-based standards] (INT8_MAX): Likewise.
14586 [C99-based standards] (INT16_MIN): Likewise.
14587 [C99-based standards] (INT16_MAX): Likewise.
14588 [C99-based standards] (INT32_MIN): Likewise.
14589 [C99-based standards] (INT32_MAX): Likewise.
14590 [C99-based standards] (INT64_MIN): Likewise.
14591 [C99-based standards] (INT64_MAX): Likewise.
14592 [C99-based standards] (UINT8_MAX): Likewise.
14593 [C99-based standards] (UINT16_MAX): Likewise.
14594 [C99-based standards] (UINT32_MAX): Likewise.
14595 [C99-based standards] (UINT64_MAX): Likewise.
14596 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14597 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14598 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14599 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14600 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14601 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14602 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14603 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14604 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14605 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14606 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14607 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14608 [C99-based standards] (INT_FAST8_MIN): Likewise.
14609 [C99-based standards] (INT_FAST8_MAX): Likewise.
14610 [C99-based standards] (INT_FAST16_MIN): Likewise.
14611 [C99-based standards] (INT_FAST16_MAX): Likewise.
14612 [C99-based standards] (INT_FAST32_MIN): Likewise.
14613 [C99-based standards] (INT_FAST32_MAX): Likewise.
14614 [C99-based standards] (INT_FAST64_MIN): Likewise.
14615 [C99-based standards] (INT_FAST64_MAX): Likewise.
14616 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14617 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14618 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14619 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14620 [C99-based standards] (INTPTR_MIN): Likewise.
14621 [C99-based standards] (INTPTR_MAX): Likewise.
14622 [C99-based standards] (UINTPTR_MAX): Likewise.
14623 [C99-based standards] (INTMAX_MIN): Likewise.
14624 [C99-based standards] (INTMAX_MAX): Likewise.
14625 [C99-based standards] (UINTMAX_MAX): Likewise.
14626 [C99-based standards] (PTRDIFF_MIN): Likewise.
14627 [C99-based standards] (PTRDIFF_MAX): Likewise.
14628 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14629 [C99-based standards] (SIZE_MAX): Likewise.
14630 [C99-based standards] (WCHAR_MAX): Likewise.
14631 [C99-based standards] (WINT_MAX): Likewise.
14632 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14633 constraint on value.
14634 [C99-based standards] (WCHAR_MIN): Likewise.
14635 [C99-based standards] (WINT_MIN): Likewise.
14636 [C99-based standards] (*_t): Allow.
14637 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14638 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14639 Include math.h-data and complex.h-data. Remove all expectations
14640 of math.h and complex.h contents.
14641 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14642 at end of line.
14643 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14644 (struct tm): Expect tag.
14645 [C99-based-standards] (wcstof): Expect function.
14646 [C99-based-standards] (wcstold): Likewise.
14647 [C99-based-standards] (wcstoll): Likewise.
14648 [C99-based-standards] (wcstoull): Likewise.
14649 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14650 macro-int-constant. Specify type.
14651 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14652 constraint on value.
14653 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14654 Specify type.
14655 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14656 Specify value.
14657 [ISO C standards]: Do not allow headers.
14658 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14659 wcs[abcdefghijklmnopqrstuvwxyz]*.
14660 [ISO C standards] (*_t): Do not allow.
14661 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14662 Expect function.
14663 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14664 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14665 Specify type.
14666 [ISO C standards]: Do not allow headers.
14667 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14668 is[abcdefghijklmnopqrstuvwxyz]*.
14669 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14670 to[abcdefghijklmnopqrstuvwxyz]*.
14671 [ISO C standards] (*_t): Do not allow.
14672 * conform/data/stdalign.h-data: New file.
14673 * conform/data/stdbool.h-data: Likewise.
14674 * conform/data/stdnoreturn.h-data: Likewise.
14675
7514feb8
RM
146762012-11-07 Roland McGrath <roland@hack.frob.com>
14677
14678 [BZ #14815]
14679 * manual/filesys.texi (Directory Entries): Typo fix.
14680 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14681
19b2ecfc
MS
146822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14683
14684 * elf/elf.h (EM_AARCH64): New macro.
14685 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14686 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14687 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14688 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14689 (R_AARCH64_TLSDESC): Likewise.
14690 (NT_ARM_TLS): Likewise.
14691 (NT_ARM_HW_BREAK): Likewise.
14692 (NT_ARM_HW_WATCH): Likewise.
14693
60e235ee
JM
146942012-11-07 Joseph Myers <joseph@codesourcery.com>
14695
14696 [BZ #14811]
14697 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14698 (__ieee754_powl): Saturate nonzero exponents with absolute value
14699 below 0x1p-79 to +/- 0x1p-79.
14700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14701 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14702 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14703 nonzero exponents with absolute value below 0x1p-32 to +/-
14704 0x1p-32.
14705 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14706 (__ieee754_powl): Saturate nonzero exponents with absolute value
14707 below 0x1p-79 to +/- 0x1p-79.
14708 * math/libm-test.inc (pow_test): Add more tests.
14709
0ab234b7
AK
147102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14711
14712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14713 _dl_s390_cap_flags with kernel. Increase string length.
14714 (_dl_s390_platforms): Add z196 and zEC12.
14715
45832f74
JM
147162012-11-07 Joseph Myers <joseph@codesourcery.com>
14717
14718 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14719 Change XOPEN21K to XOPEN2K.
14720
19218757
MK
147212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14722
14723 * string/memmove.c: Use memcpy when possible.
14724
c5f45721
AJ
147252012-11-06 Andreas Jaeger <aj@suse.de>
14726
14727 * po/eo.po: Update from translation team.
14728
82477c28
JM
147292012-11-06 Joseph Myers <joseph@codesourcery.com>
14730
14731 [BZ #14793]
14732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14733 exponent and small x and y exponents, scale x or y up. Increase
14734 by 2 the exponent used in scaling up.
14735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14737 * math/libm-test.inc (fma_test): Add more tests.
14738 (fma_test_towardzero): Likewise.
14739 (fma_test_downward): Likewise.
14740 (fma_test_upward): Likewise.
14741
99252c8c
JM
147422012-11-05 Joseph Myers <joseph@codesourcery.com>
14743
acfa885f
JM
14744 [BZ #14805]
14745 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14746 fenv_t *.
14747
99252c8c
JM
14748 [BZ #14801]
14749 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14750 namespace for names of struct fields.
14751 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14752 fenv_t fields.
14753 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14754 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14755
d6d98dea
ST
147562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757
14758 [BZ #3665]
14759 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14760
e10bb107
TS
147612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14762
14763 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14764 PTR_DEMANGLE.
14765
14766 [BZ #5246]
14767 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14768 PTR_DEMANGLE.
14769
a0c2940d
JM
147702012-11-04 Joseph Myers <joseph@codesourcery.com>
14771
14772 [BZ #14797]
14773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14774 definitely overflow as x * y not x * y + z.
14775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14777 * math/libm-test.inc (fma_test): Add more tests.
14778 (fma_test_towardzero): Likewise.
14779 (fma_test_downward): Likewise.
14780 (fma_test_upward): Likewise.
14781
b830319d
TS
147822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14783
14784 [BZ #157]
14785
14786 * include/stub-tag.h: Remove file.
14787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14788 '#include' of it.
14789 * manual/maint.texi (Porting): Don't reference it.
14790 * Makerules ($(objpfx)stubs): Likewise.
14791 * dirent/closedir.c: Don't include <stub-tag.h>.
14792 * dirent/dirfd.c: Likewise.
14793 * dirent/fdopendir.c: Likewise.
14794 * dirent/getdents.c: Likewise.
14795 * dirent/getdents64.c: Likewise.
14796 * dirent/opendir.c: Likewise.
14797 * dirent/readdir.c: Likewise.
14798 * dirent/readdir64.c: Likewise.
14799 * dirent/readdir64_r.c: Likewise.
14800 * dirent/readdir_r.c: Likewise.
14801 * dirent/rewinddir.c: Likewise.
14802 * dirent/seekdir.c: Likewise.
14803 * dirent/telldir.c: Likewise.
14804 * gmon/profil.c: Likewise.
14805 * grp/setgroups.c: Likewise.
14806 * inet/if_index.c: Likewise.
14807 * io/access.c: Likewise.
14808 * io/chdir.c: Likewise.
14809 * io/chmod.c: Likewise.
14810 * io/chown.c: Likewise.
14811 * io/close.c: Likewise.
14812 * io/dup.c: Likewise.
14813 * io/dup2.c: Likewise.
14814 * io/dup3.c: Likewise.
14815 * io/euidaccess.c: Likewise.
14816 * io/faccessat.c: Likewise.
14817 * io/fchdir.c: Likewise.
14818 * io/fchmod.c: Likewise.
14819 * io/fchmodat.c: Likewise.
14820 * io/fchown.c: Likewise.
14821 * io/fchownat.c: Likewise.
14822 * io/fcntl.c: Likewise.
14823 * io/flock.c: Likewise.
14824 * io/fstatfs.c: Likewise.
14825 * io/fstatfs64.c: Likewise.
14826 * io/fstatvfs.c: Likewise.
14827 * io/fstatvfs64.c: Likewise.
14828 * io/futimens.c: Likewise.
14829 * io/fxstat.c: Likewise.
14830 * io/fxstat64.c: Likewise.
14831 * io/fxstatat.c: Likewise.
14832 * io/fxstatat64.c: Likewise.
14833 * io/getcwd.c: Likewise.
14834 * io/isatty.c: Likewise.
14835 * io/lchmod.c: Likewise.
14836 * io/lchown.c: Likewise.
14837 * io/link.c: Likewise.
14838 * io/linkat.c: Likewise.
14839 * io/lseek.c: Likewise.
14840 * io/lseek64.c: Likewise.
14841 * io/lxstat64.c: Likewise.
14842 * io/mkdir.c: Likewise.
14843 * io/mkdirat.c: Likewise.
14844 * io/mkfifo.c: Likewise.
14845 * io/mkfifoat.c: Likewise.
14846 * io/open.c: Likewise.
14847 * io/open64.c: Likewise.
14848 * io/openat.c: Likewise.
14849 * io/openat64.c: Likewise.
14850 * io/pipe.c: Likewise.
14851 * io/pipe2.c: Likewise.
14852 * io/poll.c: Likewise.
14853 * io/posix_fadvise.c: Likewise.
14854 * io/posix_fadvise64.c: Likewise.
14855 * io/posix_fallocate.c: Likewise.
14856 * io/posix_fallocate64.c: Likewise.
14857 * io/read.c: Likewise.
14858 * io/readlink.c: Likewise.
14859 * io/readlinkat.c: Likewise.
14860 * io/rmdir.c: Likewise.
14861 * io/sendfile.c: Likewise.
14862 * io/sendfile64.c: Likewise.
14863 * io/statfs.c: Likewise.
14864 * io/statfs64.c: Likewise.
14865 * io/statvfs.c: Likewise.
14866 * io/statvfs64.c: Likewise.
14867 * io/symlink.c: Likewise.
14868 * io/symlinkat.c: Likewise.
14869 * io/ttyname.c: Likewise.
14870 * io/ttyname_r.c: Likewise.
14871 * io/umask.c: Likewise.
14872 * io/unlink.c: Likewise.
14873 * io/unlinkat.c: Likewise.
14874 * io/utime.c: Likewise.
14875 * io/utimensat.c: Likewise.
14876 * io/write.c: Likewise.
14877 * io/xmknod.c: Likewise.
14878 * io/xmknodat.c: Likewise.
14879 * io/xstat.c: Likewise.
14880 * io/xstat64.c: Likewise.
14881 * login/getpt.c: Likewise.
14882 * login/grantpt.c: Likewise.
14883 * login/unlockpt.c: Likewise.
14884 * math/e_acoshl.c: Likewise.
14885 * math/e_acosl.c: Likewise.
14886 * math/e_asinl.c: Likewise.
14887 * math/e_atan2l.c: Likewise.
14888 * math/e_atanhl.c: Likewise.
14889 * math/e_coshl.c: Likewise.
14890 * math/e_expl.c: Likewise.
14891 * math/e_fmodl.c: Likewise.
14892 * math/e_gammal_r.c: Likewise.
14893 * math/e_hypotl.c: Likewise.
14894 * math/e_j0l.c: Likewise.
14895 * math/e_j1l.c: Likewise.
14896 * math/e_jnl.c: Likewise.
14897 * math/e_lgammal_r.c: Likewise.
14898 * math/e_log10l.c: Likewise.
14899 * math/e_log2l.c: Likewise.
14900 * math/e_logl.c: Likewise.
14901 * math/e_powl.c: Likewise.
14902 * math/e_rem_pio2l.c: Likewise.
14903 * math/e_sinhl.c: Likewise.
14904 * math/e_sqrtl.c: Likewise.
14905 * math/fclrexcpt.c: Likewise.
14906 * math/fedisblxcpt.c: Likewise.
14907 * math/feenablxcpt.c: Likewise.
14908 * math/fegetenv.c: Likewise.
14909 * math/fegetexcept.c: Likewise.
14910 * math/fegetround.c: Likewise.
14911 * math/feholdexcpt.c: Likewise.
14912 * math/fesetenv.c: Likewise.
14913 * math/fesetround.c: Likewise.
14914 * math/feupdateenv.c: Likewise.
14915 * math/fgetexcptflg.c: Likewise.
14916 * math/fraiseexcpt.c: Likewise.
14917 * math/fsetexcptflg.c: Likewise.
14918 * math/ftestexcept.c: Likewise.
14919 * math/k_cosl.c: Likewise.
14920 * math/k_rem_pio2l.c: Likewise.
14921 * math/k_sinl.c: Likewise.
14922 * math/k_tanl.c: Likewise.
14923 * math/s_asinhl.c: Likewise.
14924 * math/s_atanl.c: Likewise.
14925 * math/s_cbrtl.c: Likewise.
14926 * math/s_erfl.c: Likewise.
14927 * math/s_expm1l.c: Likewise.
14928 * math/s_log1pl.c: Likewise.
14929 * math/s_tanhl.c: Likewise.
14930 * misc/acct.c: Likewise.
14931 * misc/brk.c: Likewise.
14932 * misc/chflags.c: Likewise.
14933 * misc/chroot.c: Likewise.
14934 * misc/fchflags.c: Likewise.
14935 * misc/fgetxattr.c: Likewise.
14936 * misc/flistxattr.c: Likewise.
14937 * misc/fremovexattr.c: Likewise.
14938 * misc/fsetxattr.c: Likewise.
14939 * misc/fsync.c: Likewise.
14940 * misc/ftruncate.c: Likewise.
14941 * misc/futimes.c: Likewise.
14942 * misc/futimesat.c: Likewise.
14943 * misc/getdomain.c: Likewise.
14944 * misc/getdtsz.c: Likewise.
14945 * misc/gethostid.c: Likewise.
14946 * misc/gethostname.c: Likewise.
14947 * misc/getloadavg.c: Likewise.
14948 * misc/getpagesize.c: Likewise.
14949 * misc/getsysstats.c: Likewise.
14950 * misc/getxattr.c: Likewise.
14951 * misc/gtty.c: Likewise.
14952 * misc/ioctl.c: Likewise.
14953 * misc/lgetxattr.c: Likewise.
14954 * misc/listxattr.c: Likewise.
14955 * misc/llistxattr.c: Likewise.
14956 * misc/lremovexattr.c: Likewise.
14957 * misc/lsetxattr.c: Likewise.
14958 * misc/lutimes.c: Likewise.
14959 * misc/madvise.c: Likewise.
14960 * misc/mincore.c: Likewise.
14961 * misc/mlock.c: Likewise.
14962 * misc/mlockall.c: Likewise.
14963 * misc/mmap.c: Likewise.
14964 * misc/mprotect.c: Likewise.
14965 * misc/msync.c: Likewise.
14966 * misc/munlock.c: Likewise.
14967 * misc/munlockall.c: Likewise.
14968 * misc/munmap.c: Likewise.
14969 * misc/preadv.c: Likewise.
14970 * misc/preadv64.c: Likewise.
14971 * misc/ptrace.c: Likewise.
14972 * misc/pwritev.c: Likewise.
14973 * misc/pwritev64.c: Likewise.
14974 * misc/readv.c: Likewise.
14975 * misc/reboot.c: Likewise.
14976 * misc/remap_file_pages.c: Likewise.
14977 * misc/removexattr.c: Likewise.
14978 * misc/revoke.c: Likewise.
14979 * misc/select.c: Likewise.
14980 * misc/setdomain.c: Likewise.
14981 * misc/setegid.c: Likewise.
14982 * misc/seteuid.c: Likewise.
14983 * misc/sethostid.c: Likewise.
14984 * misc/sethostname.c: Likewise.
14985 * misc/setregid.c: Likewise.
14986 * misc/setreuid.c: Likewise.
14987 * misc/setxattr.c: Likewise.
14988 * misc/sstk.c: Likewise.
14989 * misc/stty.c: Likewise.
14990 * misc/swapoff.c: Likewise.
14991 * misc/swapon.c: Likewise.
14992 * misc/sync.c: Likewise.
14993 * misc/syncfs.c: Likewise.
14994 * misc/syscall.c: Likewise.
14995 * misc/truncate.c: Likewise.
14996 * misc/ualarm.c: Likewise.
14997 * misc/usleep.c: Likewise.
14998 * misc/ustat.c: Likewise.
14999 * misc/utimes.c: Likewise.
15000 * misc/vhangup.c: Likewise.
15001 * misc/writev.c: Likewise.
15002 * posix/_exit.c: Likewise.
15003 * posix/alarm.c: Likewise.
15004 * posix/execve.c: Likewise.
15005 * posix/fexecve.c: Likewise.
15006 * posix/fork.c: Likewise.
15007 * posix/fpathconf.c: Likewise.
15008 * posix/getaddrinfo.c: Likewise.
15009 * posix/getegid.c: Likewise.
15010 * posix/geteuid.c: Likewise.
15011 * posix/getgid.c: Likewise.
15012 * posix/getgroups.c: Likewise.
15013 * posix/getlogin.c: Likewise.
15014 * posix/getlogin_r.c: Likewise.
15015 * posix/getpgid.c: Likewise.
15016 * posix/getpid.c: Likewise.
15017 * posix/getppid.c: Likewise.
15018 * posix/getresgid.c: Likewise.
15019 * posix/getresuid.c: Likewise.
15020 * posix/getsid.c: Likewise.
15021 * posix/getuid.c: Likewise.
15022 * posix/glob64.c: Likewise.
15023 * posix/nanosleep.c: Likewise.
15024 * posix/pathconf.c: Likewise.
15025 * posix/pause.c: Likewise.
15026 * posix/posix_madvise.c: Likewise.
15027 * posix/pread.c: Likewise.
15028 * posix/pread64.c: Likewise.
15029 * posix/pwrite.c: Likewise.
15030 * posix/pwrite64.c: Likewise.
15031 * posix/sched_getaffinity.c: Likewise.
15032 * posix/sched_getp.c: Likewise.
15033 * posix/sched_gets.c: Likewise.
15034 * posix/sched_primax.c: Likewise.
15035 * posix/sched_primin.c: Likewise.
15036 * posix/sched_rr_gi.c: Likewise.
15037 * posix/sched_setaffinity.c: Likewise.
15038 * posix/sched_setp.c: Likewise.
15039 * posix/sched_sets.c: Likewise.
15040 * posix/sched_yield.c: Likewise.
15041 * posix/setgid.c: Likewise.
15042 * posix/setlogin.c: Likewise.
15043 * posix/setpgid.c: Likewise.
15044 * posix/setresgid.c: Likewise.
15045 * posix/setresuid.c: Likewise.
15046 * posix/setsid.c: Likewise.
15047 * posix/setuid.c: Likewise.
15048 * posix/sleep.c: Likewise.
15049 * posix/spawni.c: Likewise.
15050 * posix/sysconf.c: Likewise.
15051 * posix/times.c: Likewise.
15052 * posix/wait.c: Likewise.
15053 * posix/wait3.c: Likewise.
15054 * posix/wait4.c: Likewise.
15055 * posix/waitpid.c: Likewise.
15056 * resolv/gai_sigqueue.c: Likewise.
15057 * resource/getpriority.c: Likewise.
15058 * resource/getrlimit.c: Likewise.
15059 * resource/getrusage.c: Likewise.
15060 * resource/nice.c: Likewise.
15061 * resource/setpriority.c: Likewise.
15062 * resource/setrlimit.c: Likewise.
15063 * resource/ulimit.c: Likewise.
15064 * rt/aio_cancel.c: Likewise.
15065 * rt/aio_fsync.c: Likewise.
15066 * rt/aio_read.c: Likewise.
15067 * rt/aio_sigqueue.c: Likewise.
15068 * rt/aio_suspend.c: Likewise.
15069 * rt/aio_write.c: Likewise.
15070 * rt/clock_getres.c: Likewise.
15071 * rt/clock_gettime.c: Likewise.
15072 * rt/clock_nanosleep.c: Likewise.
15073 * rt/clock_settime.c: Likewise.
15074 * rt/lio_listio.c: Likewise.
15075 * rt/mq_close.c: Likewise.
15076 * rt/mq_getattr.c: Likewise.
15077 * rt/mq_notify.c: Likewise.
15078 * rt/mq_open.c: Likewise.
15079 * rt/mq_receive.c: Likewise.
15080 * rt/mq_send.c: Likewise.
15081 * rt/mq_setattr.c: Likewise.
15082 * rt/mq_timedreceive.c: Likewise.
15083 * rt/mq_timedsend.c: Likewise.
15084 * rt/mq_unlink.c: Likewise.
15085 * rt/shm_open.c: Likewise.
15086 * rt/shm_unlink.c: Likewise.
15087 * rt/timer_create.c: Likewise.
15088 * rt/timer_delete.c: Likewise.
15089 * rt/timer_getoverr.c: Likewise.
15090 * rt/timer_gettime.c: Likewise.
15091 * rt/timer_settime.c: Likewise.
15092 * setjmp/__longjmp.c: Likewise.
15093 * setjmp/setjmp.c: Likewise.
15094 * signal/kill.c: Likewise.
15095 * signal/killpg.c: Likewise.
15096 * signal/raise.c: Likewise.
15097 * signal/sigaction.c: Likewise.
15098 * signal/sigaltstack.c: Likewise.
15099 * signal/sigblock.c: Likewise.
15100 * signal/sigignore.c: Likewise.
15101 * signal/sigintr.c: Likewise.
15102 * signal/signal.c: Likewise.
15103 * signal/sigpause.c: Likewise.
15104 * signal/sigpending.c: Likewise.
15105 * signal/sigqueue.c: Likewise.
15106 * signal/sigreturn.c: Likewise.
15107 * signal/sigset.c: Likewise.
15108 * signal/sigsetmask.c: Likewise.
15109 * signal/sigstack.c: Likewise.
15110 * signal/sigsuspend.c: Likewise.
15111 * signal/sigtimedwait.c: Likewise.
15112 * signal/sigvec.c: Likewise.
15113 * signal/sigwait.c: Likewise.
15114 * signal/sigwaitinfo.c: Likewise.
15115 * signal/sysv_signal.c: Likewise.
15116 * socket/accept.c: Likewise.
15117 * socket/accept4.c: Likewise.
15118 * socket/bind.c: Likewise.
15119 * socket/connect.c: Likewise.
15120 * socket/getpeername.c: Likewise.
15121 * socket/getsockname.c: Likewise.
15122 * socket/getsockopt.c: Likewise.
15123 * socket/isfdtype.c: Likewise.
15124 * socket/listen.c: Likewise.
15125 * socket/recv.c: Likewise.
15126 * socket/recvfrom.c: Likewise.
15127 * socket/recvmsg.c: Likewise.
15128 * socket/send.c: Likewise.
15129 * socket/sendmsg.c: Likewise.
15130 * socket/sendto.c: Likewise.
15131 * socket/setsockopt.c: Likewise.
15132 * socket/shutdown.c: Likewise.
15133 * socket/sockatmark.c: Likewise.
15134 * socket/socket.c: Likewise.
15135 * socket/socketpair.c: Likewise.
15136 * stdio-common/ctermid.c: Likewise.
15137 * stdio-common/cuserid.c: Likewise.
15138 * stdio-common/remove.c: Likewise.
15139 * stdio-common/rename.c: Likewise.
15140 * stdio-common/renameat.c: Likewise.
15141 * stdio-common/tempname.c: Likewise.
15142 * stdlib/getcontext.c: Likewise.
15143 * stdlib/makecontext.c: Likewise.
15144 * stdlib/setcontext.c: Likewise.
15145 * stdlib/swapcontext.c: Likewise.
15146 * stdlib/system.c: Likewise.
15147 * streams/fattach.c: Likewise.
15148 * streams/fdetach.c: Likewise.
15149 * streams/getmsg.c: Likewise.
15150 * streams/getpmsg.c: Likewise.
15151 * streams/putmsg.c: Likewise.
15152 * streams/putpmsg.c: Likewise.
15153 * sysdeps/unix/bsd/getpt.c: Likewise.
15154 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15155 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15158 Likewise.
15159 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15160 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15161 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15162 * sysvipc/msgctl.c: Likewise.
15163 * sysvipc/msgget.c: Likewise.
15164 * sysvipc/msgrcv.c: Likewise.
15165 * sysvipc/msgsnd.c: Likewise.
15166 * sysvipc/semctl.c: Likewise.
15167 * sysvipc/semget.c: Likewise.
15168 * sysvipc/semop.c: Likewise.
15169 * sysvipc/semtimedop.c: Likewise.
15170 * sysvipc/shmat.c: Likewise.
15171 * sysvipc/shmctl.c: Likewise.
15172 * sysvipc/shmdt.c: Likewise.
15173 * sysvipc/shmget.c: Likewise.
15174 * termios/tcdrain.c: Likewise.
15175 * termios/tcflow.c: Likewise.
15176 * termios/tcflush.c: Likewise.
15177 * termios/tcgetattr.c: Likewise.
15178 * termios/tcgetpgrp.c: Likewise.
15179 * termios/tcsendbrk.c: Likewise.
15180 * termios/tcsetattr.c: Likewise.
15181 * termios/tcsetpgrp.c: Likewise.
15182 * time/adjtime.c: Likewise.
15183 * time/clock.c: Likewise.
15184 * time/getitimer.c: Likewise.
15185 * time/gettimeofday.c: Likewise.
15186 * time/setitimer.c: Likewise.
15187 * time/settimeofday.c: Likewise.
15188 * time/stime.c: Likewise.
15189 * time/time.c: Likewise.
15190
151912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15192
a20492cf
PT
15193 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15194 /usr/old/bin.
15195
72e182e3
PT
15196 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15197 instead of spaces.
15198 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15199
fbeafede
JM
152002012-11-03 Joseph Myers <joseph@codesourcery.com>
15201
5b5b04d6
JM
15202 [BZ #14796]
15203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15204 FE_TONEAREST before applying Dekker multiplication and Knuth
15205 addition. Clear inexact exceptions and check for exact zero
15206 results afterwards.
15207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15208 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15210 * math/libm-test.inc (fma_test): Add more tests.
15211 (fma_test_towardzero): Likewise.
15212 (fma_test_downward): Likewise.
15213 (fma_test_upward): Likewise.
15214 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15215 function.
15216 (libc_fesetround): New macro.
15217 (libc_fesetroundf): Likewise.
15218 (libc_fesetroundl): Likewise.
15219 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15220 function.
15221 (libc_fesetround_387): Likewise.
15222 (libc_fesetroundf): New macro.
15223 (libc_fesetround): Likewise.
15224 (libc_fesetroundl): Likewise.
15225 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15226 function.
15227 (libc_fesetroundf): New macro.
15228 (libc_fesetround): Likewise.
15229 (libc_fesetroundl): Likewise.
15230 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15231 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15232 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15233 libm_hidden_ver.
15234 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15235 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15236 libm_hidden_def.
15237 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15238 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15239 libm_hidden_ver.
15240 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15241 libm_hidden_def.
15242
fbeafede
JM
15243 [BZ #3439]
15244 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15245 integer constant usable in #if and use that to give value to enum
15246 constant.
15247 (FE_DIVBYZERO): Likewise.
15248 (FE_UNDERFLOW): Likewise.
15249 (FE_OVERFLOW): Likewise.
15250 (FE_INVALID): Likewise.
15251 (FE_INVALID_SNAN): Likewise.
15252 (FE_INVALID_ISI): Likewise.
15253 (FE_INVALID_IDI): Likewise.
15254 (FE_INVALID_ZDZ): Likewise.
15255 (FE_INVALID_IMZ): Likewise.
15256 (FE_INVALID_COMPARE): Likewise.
15257 (FE_INVALID_SOFTWARE): Likewise.
15258 (FE_INVALID_SQRT): Likewise.
15259 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15260 (FE_TONEAREST): Likewise.
15261 (FE_TOWARDZERO): Likewise.
15262 (FE_UPWARD): Likewise.
15263 (FE_DOWNWARD): Likewise.
15264 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15265 (FE_DIVBYZERO): Likewise.
15266 (FE_OVERFLOW): Likewise.
15267 (FE_UNDERFLOW): Likewise.
15268 (FE_INEXACT): Likewise.
15269 (FE_TONEAREST): Likewise.
15270 (FE_DOWNWARD): Likewise.
15271 (FE_UPWARD): Likewise.
15272 (FE_TOWARDZERO): Likewise.
15273 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15274 (FE_UNDERFLOW): Likewise.
15275 (FE_OVERFLOW): Likewise.
15276 (FE_DIVBYZERO): Likewise.
15277 (FE_INVALID): Likewise.
15278 (FE_TONEAREST): Likewise.
15279 (FE_TOWARDZERO): Likewise.
15280 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15281 (FE_OVERFLOW): Likewise.
15282 (FE_UNDERFLOW): Likewise.
15283 (FE_DIVBYZERO): Likewise.
15284 (FE_INEXACT): Likewise.
15285 (FE_TONEAREST): Likewise.
15286 (FE_TOWARDZERO): Likewise.
15287 (FE_UPWARD): Likewise.
15288 (FE_DOWNWARD): Likewise.
15289 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15290 (FE_DIVBYZERO): Likewise.
15291 (FE_OVERFLOW): Likewise.
15292 (FE_UNDERFLOW): Likewise.
15293 (FE_INEXACT): Likewise.
15294 (FE_TONEAREST): Likewise.
15295 (FE_DOWNWARD): Likewise.
15296 (FE_UPWARD): Likewise.
15297 (FE_TOWARDZERO): Likewise.
15298
105ca950
CM
152992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15300
15301 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15302
a542b389
AS
153032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15304
15305 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15306 commands. Quote $PWD.
15307 (blacklist_exports): Don't use remove_newlines. Replace "declare
15308 -x" by "export".
15309 (remove_newlines): Remove.
15310
f62c8abc
L
153112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15312
15313 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15314 * stdlib/stdlib.h (atof): Moved to ...
15315 * include/bits/stdlib-float.h: Here. New file.
15316 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15317 * stdlib/bits/stdlib-float.h: New file.
15318 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15319 -mno-sse -mno-mmx.
15320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15321 <xmmintrin.h>.
15322
0155d5b2
JM
153232012-11-02 Joseph Myers <joseph@codesourcery.com>
15324
a68d0680
JM
15325 * conform/conformtest.pl (@headers): Add fenv.h.
15326 * conform/data/fenv.h-data: New file.
15327 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15328 include of <math/fenv.h>.
15329
caf7f573
JM
15330 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15331 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15332 && !UNIX98]. Enables tests for XOPEN2K8.
15333 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15334 POSIX2008]: Likewise.
15335
6c073ad6
JM
15336 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15337 (struct rusage): Do not expect type or its members.
15338
0155d5b2
JM
15339 [BZ #3439]
15340 * math/math.h (FP_NAN): Define macro to integer constant usable in
15341 #if and use that to give value to enum constant.
15342 (FP_INFINITE): Likewise.
15343 (FP_ZERO): Likewise.
15344 (FP_SUBNORMAL): Likewise.
15345 (FP_NORMAL): Likewise.
15346
b5dcacb4
AS
153472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15348
15349 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15350 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15351 arguments.
15352
f7934be8
RM
153532012-11-02 Roland McGrath <roland@hack.frob.com>
15354
15355 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15356 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15357 autoconf-time if not.
15358 * configure.in: Remove AC_PREREQ.
15359
d7d08bde
TMQMF
153602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15361
15362 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15363 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15364 of the internal implementation.
15365
dcdae19a
JM
153662012-11-02 Joseph Myers <joseph@codesourcery.com>
15367
15368 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15369 except include of <misc/sys/syslog.h>.
15370
d6cffd3e
AS
153712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15372
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15374 function returns with a NULL context exit with zero.
15375
b3563932
TMQMF
153762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15377
15378 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15379
b288a93d
L
153802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15381
15382 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15383 (run_program_cmd): This.
15384 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15385 (tst_langinfo): New variable. Use it.
15386
a2421a68
SAS
153872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15388
15389 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15390 floating point opcodes.
15391
6f796e1b
TS
153922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15393
7402596b
TS
15394 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15395 variable.
15396
d0d4f868
TS
15397 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15398
6f796e1b
TS
15399 * sysdeps/mach/hurd/powerpc: Remove directory.
15400 * sysdeps/mach/powerpc: Likewise.
15401
4da224a2
AS
154022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15403
15404 * scripts/check-local-headers.sh: Ignore c++ headers.
15405
341dd673
TS
154062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15407
15408 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15409 __libc_cleanup_region_start argument.
15410
473611b2
JM
154112012-11-01 Joseph Myers <joseph@codesourcery.com>
15412
15413 [BZ #14784]
15414 [BZ #14785]
15415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15416 x * y using scaling, not as x * y + z.
15417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15419 * math/libm-test.inc (fma_test): Add more tests.
15420 (fma_test_towardzero): Likewise.
15421 (fma_test_downward): Likewise.
15422 (fma_test_upward): Likewise.
15423
4078da3d
TS
154242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15425
15426 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15427
903252aa
JM
154282012-10-31 Joseph Myers <joseph@codesourcery.com>
15429
15430 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15431 New variable.
15432
cbc818d0
TS
154332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15434
15435 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15436
5a03cb1e
AS
154372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15438
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15440 Fix sort order.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15442 Likewise.
15443
90aff2ff
TMQMF
154442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15445
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15447 Fix the order of the list for glibc 2.17.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15449 Likewise.
15450
1818fcb7
AS
154512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15452
15453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15454
ef82f4da
JM
154552012-10-31 Joseph Myers <joseph@codesourcery.com>
15456
16a0e2ec
JM
15457 [BZ #14610]
15458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15459 for low part of x being zero before using __atanl (y).
15460 * math/libm-test.inc (atan2_test): Add another test.
15461
0eb69512
JM
15462 * manual/install.texi (Configuring and compiling): Document
15463 general use of test-wrapper and test-wrapper-env.
15464 * INSTALL: Regenerated.
15465
ef82f4da
JM
15466 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15467 (__fma): Do not extract and scale down low bits on after-rounding
15468 systems when result rounded to normal precision would have normal
15469 exponent.
15470 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15471 (__fmal): Do not extract and scale down low bits on after-rounding
15472 systems when result rounded to normal precision would have normal
15473 exponent.
15474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15475 (__fmal): Do not extract and scale down low bits on after-rounding
15476 systems when result rounded to normal precision would have normal
15477 exponent.
15478 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15479 macro.
15480 (fma_test): Add more tests.
15481 (fma_test_towardzero): Likewise.
15482 (fma_test_downward): Likewise.
15483 (fma_test_upward): Likewise.
15484
954ef0d9
L
154852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 * sysdeps/i386/tininess.h: Renamed to ...
15488 * sysdeps/x86/tininess.h: This.
15489 * sysdeps/x86_64/tininess.h: Removed.
15490
df61ffb2
JM
154912012-10-30 Joseph Myers <joseph@codesourcery.com>
15492
15493 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15494 input. Use $(build-program-cmd).
15495 ($(objpfx)tst-array1-static.out): Likewise.
15496 ($(objpfx)tst-array2.out): Likewise.
15497 ($(objpfx)tst-array3.out): Likewise.
15498 ($(objpfx)tst-array4.out): Likewise.
15499 ($(objpfx)tst-array5.out): Likewise.
15500 ($(objpfx)tst-array5-static.out): Likewise.
15501
01767843
CM
155022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15503
47cc1490
CM
15504 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15505 if defined.
15506
01767843
CM
15507 * nss/nsswitch.h (nss_interface_function): Provide new
15508 macro for use with NSS functions.
15509 * grp/initgroups.c: Use new macro.
15510 * nss/getXXbyYY.c: Likewise.
15511 * nss/getXXbyYY_r.c: Likewise.
15512 * nss/getXXent.c: Likewise.
15513 * nss/getXXent_r.c: Likewise.
15514 * sysdeps/posix/getaddrinfo.c: Likewise.
15515
8321aa97
AJ
155162012-10-30 Andreas Jaeger <aj@suse.de>
15517
15518 * po/ru.po: Update Russion translation from translation project.
15519
2a27fd6d
JM
155202012-10-30 Joseph Myers <joseph@codesourcery.com>
15521
8627a232
JM
15522 [BZ #14152]
15523 [BZ #14783]
15524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15525 result and shift together with sticky bit instead of replicating
15526 round-to-nearest rounding.
15527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15529 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15530 missing underflow exceptions.
15531 (fma_test_towardzero): Add more tests.
15532 (fma_test_downward): Likewise.
15533 (fma_test_upward): Likewise.
15534
2a27fd6d
JM
15535 [BZ #14047]
15536 * sysdeps/generic/tininess.h: New file.
15537 * sysdeps/i386/tininess.h: Likewise.
15538 * sysdeps/sh/tininess.h: Likewise.
15539 * sysdeps/x86_64/tininess.h: Likewise.
15540 * stdlib/tst-strtod-underflow.c: Likewise.
15541 * stdlib/tst-tininess.c: Likewise.
15542 * stdlib/strtod_l.c: Include <tininess.h>.
15543 (round_and_return): Do not set errno for exact underflow cases.
15544 Force an underflow exception when setting errno for underflow.
15545 Determine underflow based on rounding to normal precision if
15546 TININESS_AFTER_ROUNDING.
15547 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15548 ERANGE for exact underflow cases.
15549 * stdlib/Makefile (tests): Add tst-tininess and
15550 tst-strtod-underflow.
15551 ($(objpfx)tst-tininess): Use $(link-libm).
15552 ($(objpfx)tst-strtod-underflow): Likewise.
15553
e7170363
AJ
155542012-10-30 Andreas Jaeger <aj@suse.de>
15555
e5088dc6
AJ
15556 [BZ#14767]
15557 * elf/Makefile (tests): Remove conditional for have-initfini-array
15558 since this is now always required and the variable does not exist
15559 anymore.
15560 (tests-static): Likewise.
15561 (modules-names): Likewise.
15562
e7170363 15563 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15564
15565 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15566 merged with constructor/destructor.
15567 (init_array): Likewise.
15568 * elf/tst-array2dep.c (fini_array): Likewise.
15569 (init_array): Likewise.
15570
60457d8a
MF
155712012-10-29 Mike Frysinger <vapier@gentoo.org>
15572
15573 * manual/message.texi: Delete @cartouche tags.
15574
8bece752
PT
155752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15576
94ce799f
PT
15577 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15578 EOPNOTSUPP.
15579 * sysdeps/mach/hurd/fsync.c: Likewise.
15580
8bece752
PT
15581 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15582 [_POSIX_REALTIME_SIGNALS]: Change condition to
15583 [_POSIX_REALTIME_SIGNALS > 0].
15584
86ebe6b1
AJ
155852012-10-27 Andreas Jaeger <aj@suse.de>
15586
15587 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15588 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15590 [__WORDSIZE != 64]: Likewise.
15591
54399c08
L
155922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15593
15594 * iconvdata/tst-table.sh: Remove ${SHELL}.
15595 * iconvdata/tst-tables.sh: Likewise.
15596
e2211bed
DM
155972012-10-25 David S. Miller <davem@davemloft.net>
15598
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15600 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15601 of strtoull.
15602
f303f97c
DM
15603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15604 ifunc-impl-list.c
15605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15606 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15607 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15608 file.
15609
1e9d84cd
RM
156102012-10-25 Roland McGrath <roland@hack.frob.com>
15611
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15613 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15614 __getdirentries.
15615
df381762
JM
156162012-10-25 Joseph Myers <joseph@codesourcery.com>
15617 Jim Blandy <jimb@codesourcery.com>
15618
15619 * scripts/cross-test-ssh.sh: New file.
15620 * manual/install.texi (Configuring and compiling): Document use of
15621 cross-test-ssh.sh.
15622 * INSTALL: Regenerated.
15623
bff64913
PT
156242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15625
15626 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15627 EOPNOTSUPP.
15628
25fe8932
JM
156292012-10-25 Joseph Myers <joseph@codesourcery.com>
15630
15631 * Makeconfig (run-program-prefix): Fix comment.
15632
cc1290d0
JM
156332012-10-24 Joseph Myers <joseph@codesourcery.com>
15634 Jim Blandy <jimb@codesourcery.com>
15635
15636 * Makeconfig (test-wrapper): New variable,
15637 (test-wrapper-env): Likewise.
15638 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15639 (run-built-tests): Define to yes.
15640 (run-program-prefix): Use $(test-wrapper).
15641 (built-program-cmd): Likewise.
15642 * Rules (make-test-out): Use $(test-wrapper-env) and
15643 $(host-built-program-cmd).
15644 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15645 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15646 tst-pathopt.sh.
15647 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15648 $(test-wrapper-env) to tst-rtld-load-self.sh.
15649 ($(objpfx)order2.out): Use $(test-wrapper).
15650 ($(objpfx)tst-initorder.out): Likewise.
15651 ($(objpfx)tst-initorder2.out): Likewise.
15652 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15653 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15654 (test_wrapper_env): New variable. Use it to run ld.so.
15655 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15656 Use it to run ld.so.
15657 (test_wrapper_env): Likewise.
15658 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15659 $(test-wrapper) to run-iconv-test.sh.
15660 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15661 (ICONV): Use $test_wrapper.
15662 * posix/Makefile ($(objpfx)globtest.out): Pass
15663 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15664 globtest.sh, not $(run-program-prefix).
15665 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15666 (test_wrapper): Likewise.
15667 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15668 set together with run_via_rtld_prefix.
15669 (run_program_prefix): Define in terms of test_wrapper and
15670 run_via_rtld_prefix.
15671
6e6249d0
RM
156722012-10-24 Roland McGrath <roland@hack.frob.com>
15673
15674 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15675 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15676 Targets removed.
15677
15678 [BZ #14743]
15679 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15680 Declare __clock_getres, __clock_gettime, __clock_settime,
15681 __clock_nanosleep, and __clock_getcpuclockid.
15682 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15683 Remove librt_hidden_def (clock_gettime).
15684 * sysdeps/unix/clock_gettime.c: Likewise.
15685 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15687 * rt/clock_getres.c: Define __clock_getres as an alias.
15688 * sysdeps/posix/clock_getres.c: Likewise.
15689 * rt/clock_settime.c: Define __clock_settime as an alias.
15690 * sysdeps/unix/clock_settime.c: Likewise.
15691 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15692 * sysdeps/unix/clock_nanosleep.c: Likewise.
15693 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15694 * rt/clock-compat.c: New file.
15695 * rt/Makefile (librt-routines): Add clock-compat and move
15696 $(clock-routines) to ...
15697 (routines): ... here, new variable.
15698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15699 Don't add get_clockfreq here.
15700 * rt/Versions (libc: GLIBC_2.17): New version set.
15701 Add clock_* symbols here.
15702 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15704 (GLIBC_2.17): Add clock_* symbols.
15705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15709 Likewise.
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15711 Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15716 * NEWS: Mention the move.
15717
15718 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15719 Use __open, __read, __close rather than their public counterparts.
15720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15721 (__get_clockfreq_via_cpuinfo): Likewise.
15722 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15723 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15724
15725 * config.h.in (HAVE_IFUNC): New #undef.
15726 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15727 was successful.
15728 * configure: Regenerated.
15729
0cae3f4b
MF
157302012-10-24 Mike Frysinger <vapier@gentoo.org>
15731
15732 * configure.in: Move READELF check to start of file.
15733 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15734 libc_cv_asm_gnu_indirect_function in the process.
15735 * configure: Regenerated.
15736
8175a253
MF
157372012-10-24 Mike Frysinger <vapier@gentoo.org>
15738
15739 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15740 send the output to /dev/null.
15741 (libc_cv_cc_with_libunwind): Likewise.
15742 (libc_cv_as_noexecstack): Likewise.
15743 * configure: Regenerate.
15744
0708a7d1
JM
157452012-10-24 Joseph Myers <joseph@codesourcery.com>
15746
10b40d85
JM
15747 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15748
0708a7d1
JM
15749 * posix/globtest.sh (TMPDIR): Do not set.
15750 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15751 (testout): Likewise.
15752
9fddec1a
AJ
157532012-10-24 Andreas Jaeger <aj@suse.de>
15754
3a8db22f
AJ
15755 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15756 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15757 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15758 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15759 posix_fadvise64, posix_fallocate64.
15760
9fddec1a
AJ
15761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15762 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15763 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15764 Likewise.
15765 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15766 Likewise.
15767 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15768
15769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15770 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15771 <bits/fcntl-linux.h>.
15772 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15773
15774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15775 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15776 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15777 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15778 [__WORDSIZE != 64]: Likewise.
15779
ebfd1bbd
JM
157802012-10-23 Joseph Myers <joseph@codesourcery.com>
15781
03ac099f
JM
15782 * Makeconfig (run-built-tests): New variable.
15783 * Rules [$(cross-compiling) = yes]: Change condition to
15784 [$(run-built-tests) = no].
15785 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15786 to [$(run-built-tests) = yes].
15787 * elf/Makefile [$(cross-compiling) = no]: Likewise
15788 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15789 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15790 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15791 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15792 * io/Makefile [$(cross-compiling) = no]: Likewise.
15793 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15794 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15795 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15796 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15797 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15798 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15799 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15800 * string/Makefile [$(cross-compiling) = no]: Likewise.
15801
ebfd1bbd
JM
15802 * posix/Makefile ($(objpfx)globtest.out): Pass
15803 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15804 $(rtld-installed-name).
15805 * posix/globtest.sh (elf_objpfx): Remove variable.
15806 (rtld_installed_name): Likewise.
15807 (library_path): Likewise.
15808 (run_program_prefix): New variable. Use for running globtest
15809 binary.
15810
166bca24
JB
158112012-10-23 Jim Blandy <jimb@codesourcery.com>
15812 Joseph Myers <joseph@codesourcery.com>
15813
15814 * Makeconfig (host-built-program-cmd): New variable.
15815 * elf/Makefile (tst-stackguard1-ARGS): Use
15816 $(host-built-program-cmd).
15817 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15818 (tst-spawn-ARGS): Likewise.
15819 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15820
88866099
JM
158212012-10-23 Joseph Myers <joseph@codesourcery.com>
15822 Jim Blandy <jimb@codesourcery.com>
15823
15824 * Makeconfig (run-via-rtld-prefix): New variable.
15825 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15826 (built-program-cmd): Likewise.
15827
b4b4c296
AJ
158282012-10-22 Andreas Jaeger <aj@suse.de>
15829
15830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15831 __O_RSYNC if it exists, otherwise to O_SYNC.
15832
6fb54a22
JB
158332012-10-22 Jim Blandy <jimb@codesourcery.com>
15834 Joseph Myers <joseph@codesourcery.com>
15835
15836 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15837 /dev/null.
15838 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15839 from /dev/null
15840 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15841 /dev/null.
15842
481b90b9
AJ
158432012-10-22 Andreas Jaeger <aj@suse.de>
15844
2a0e2669
AJ
15845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15846 Define always.
15847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15848
76e38f9a
AJ
15849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15850 bits/fcntl-linux.h.
15851
7cd37b43
AJ
15852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15853 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15854
481b90b9
AJ
15855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15856 to __O_LARGEFILE.
15857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15858 to __O_LARGEFILE.
15859
aba75984
JB
158602012-10-21 Jim Blandy <jimb@codesourcery.com>
15861 Joseph Myers <joseph@codesourcery.com>
15862
15863 * config.make.in (NM): New variable.
15864
88d4247f
AJ
158652012-10-21 Andreas Jaeger <aj@suse.de>
15866
15867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15868 definitions and declarations that are provided by
15869 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15870
f2eed205
L
158712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15872
15873 [BZ #14683]
15874 * elf/Makefile (tests-static): Add tst-leaks1-static.
15875 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15876 ($(objpfx)tst-leaks1-static): New rule.
15877 ($(objpfx)tst-leaks1-static-mem): Likewise.
15878 (tst-leaks1-static-ENV): New macro.
15879 * elf/dl-open.c (dl_open_worker): Check the main application
15880 only if SHARED is defined.
15881 * elf/tst-leaks1-static.c: New file.
15882
335e6931
AJ
158832012-10-20 Andreas Jaeger <aj@suse.de>
15884
15885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15886 generic values for Linux.
15887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15888 and declarations that are provided by <bits/fcntl-linux.h> and
15889 include <bits/fcntl-linux.h>.
15890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15892
ac5c94d3
RM
158932012-10-20 Roland McGrath <roland@hack.frob.com>
15894
15895 * io/fcntl.h: Move include of <bits/types.h> to the top and
15896 include it unconditionally.
15897
de54b33a
L
158982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15899
228cfb01
L
15900 * wcsmbs/Makefile (tests-ifunc): New variable.
15901 (tests): Add $(tests-ifunc).
15902 * wcsmbs/test-wcschr-ifunc.c: New file.
15903 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15904 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15905 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15906 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15907 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15908
69f07e5f
L
15909 * string/Makefile (tests-ifunc): New variable.
15910 (tests): Add $(tests-ifunc).
15911 * string/test-memccpy.c (TEST_NAME): New macro.
15912 * string/test-memchr.c (TEST_NAME): Likewise.
15913 * string/test-memcmp.c (TEST_NAME): Likewise.
15914 * string/test-memcpy.c (TEST_NAME): Likewise.
15915 * string/test-memmem.c (TEST_NAME): Likewise.
15916 * string/test-memmove.c (TEST_NAME): Likewise.
15917 * string/test-memset.c (TEST_NAME): Likewise.
15918 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15919 * string/test-stpcpy.c (TEST_NAME): Likewise.
15920 * string/test-stpncpy.c (TEST_NAME): Likewise.
15921 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15922 * string/test-strcasestr.c (TEST_NAME): Likewise.
15923 * string/test-strcat.c (TEST_NAME): Likewise.
15924 * string/test-strchr.c (TEST_NAME): Likewise.
15925 * string/test-strcmp.c(TEST_NAME): Likewise.
15926 * string/test-strcpy.c (TEST_NAME): Likewise.
15927 * string/test-strcspn.c (TEST_NAME): Likewise.
15928 * string/test-strlen.c (TEST_NAME): Likewise.
15929 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15930 * string/test-strncmp.c (TEST_NAME): Likewise.
15931 * string/test-strncpy.c (TEST_NAME): Likewise.
15932 * string/test-strnlen.c (TEST_NAME): Likewise.
15933 * string/test-strpbrk.c (TEST_NAME): Likewise.
15934 * string/test-strrchr.c (TEST_NAME): Likewise.
15935 * string/test-strspn.c (TEST_NAME): Likewise.
15936 * string/test-strstr.c (TEST_NAME): Likewise.
15937 * string/test-bcopy-ifunc.c: New file.
15938 * string/test-bzero-ifunc.c: Likewise.
15939 * string/test-memccpy-ifunc.c: Likewise.
15940 * string/test-memchr-ifunc.c: Likewise.
15941 * string/test-memcmp-ifunc.c: Likewise.
15942 * string/test-memcpy-ifunc.c: Likewise.
15943 * string/test-memmem-ifunc.c: Likewise.
15944 * string/test-memmove-ifunc.c: Likewise.
15945 * string/test-mempcpy-ifunc.c: Likewise.
15946 * string/test-memset-ifunc.c: Likewise.
15947 * string/test-rawmemchr-ifunc.c: Likewise.
15948 * string/test-stpcpy-ifunc.c: Likewise.
15949 * string/test-stpncpy-ifunc.c: Likewise.
15950 * string/test-strcasecmp-ifunc.c: Likewise.
15951 * string/test-strcasestr-ifunc.c: Likewise.
15952 * string/test-strcat-ifunc.c: Likewise.
15953 * string/test-strchr-ifunc.c: Likewise.
15954 * string/test-strchrnul-ifunc.c: Likewise.
15955 * string/test-strcmp-ifunc.c: Likewise.
15956 * string/test-strcpy-ifunc.c: Likewise.
15957 * string/test-strcspn-ifunc.c: Likewise.
15958 * string/test-strlen-ifunc.c: Likewise.
15959 * string/test-strncasecmp-ifunc.c: Likewise.
15960 * string/test-strncat-ifunc.c: Likewise.
15961 * string/test-strncmp-ifunc.c: Likewise.
15962 * string/test-strncpy-ifunc.c: Likewise.
15963 * string/test-strnlen-ifunc.c: Likewise.
15964 * string/test-strpbrk-ifunc.c: Likewise.
15965 * string/test-strrchr-ifunc.c: Likewise.
15966 * string/test-strspn-ifunc.c: Likewise.
15967 * string/test-strstr-ifunc.c: Likewise.
15968
de54b33a
L
15969 * debug/Makefile (tests-ifunc): New variable.
15970 (tests): Add $(tests-ifunc).
15971 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15972 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15973 * debug/test-stpcpy_chk-ifunc.c: New file.
15974 * debug/test-strcpy_chk-ifunc.c: Likewise.
15975
88481c16
SP
159762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15977
15978 [BZ #13601]
15979 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15980 header is not read in.
15981
135948bd
JM
159822012-10-19 Joseph Myers <joseph@codesourcery.com>
15983
89f1c388
JM
15984 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15985 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15986 directly. Pass built executable to script as
15987 $(built-program-cmd).
15988 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15989 $testprogram without using LD_LIBRARY_PATH and $ldso.
15990
e40a0d21
JM
15991 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15992 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15993 $(rtld-installed-name).
15994 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15995 (rtld_installed_name): Likewise.
15996 (library_path): Likewise.
15997 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15998 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15999 $(run-program-prefix) to tst-tables.sh.
16000 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16001 it to run tst-table-from and tst-table-to.
16002 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16003 Pass it to tst-table.sh.
16004 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16005 $(run-program-prefix) to tst-gettext.sh.
16006 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16007 tst-translit.sh.
16008 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16009 tst-gettext2.sh.
16010 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16011 to run tst-gettext.
16012 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16013 to run tst-gettext2.
16014 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16015 to run tst-translit.
16016 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16017 $(run-program-prefix) to tst-mtrace.sh.
16018 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16019 to run tst-mtrace.
16020 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16021 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16022 $(rtld-installed-name).
16023 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16024 (rtld_installed_name): Likewise.
16025 (run_program_prefix): New variable. Use it to run wordexp-test.
16026
728e272a
JM
16027 * Makeconfig (ARCH): Remove all definitions.
16028 (machine): Likewise.
16029 [ARCH]: Remove conditional code.
16030 [!objdir]: Give error.
16031 [!objdir] (objpfx): Remove.
16032 [!objdir] (common-objpfx): Likewise.
16033 [!objdir] (common-objdir): Likewise.
16034 * configure.in (config_makefile): Remove. Hardcode Makefile in
16035 AC_CONFIG_FILES call.
16036 * configure: Regenerated.
16037
d528cdcf
JM
16038 [BZ #13888]
16039 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16040 or TMPDIR.
16041 (testout): Likewise.
16042
135948bd
JM
16043 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16044 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16045 $(rtld-installed-name).
16046 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16047 (rtld_installed_name): Likwise.
16048 (runit): Remove function.
16049 (run_getconf): New variable, Use it for running getconf binary.
16050
38c78296
L
160512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16052
16053 [BZ #14716]
16054 * string/test-memmem.c (check_result): New function.
16055 (do_one_test): Use it.
16056 (check1): New function.
16057 (test_main): Use it.
16058
d077f65f
MT
160592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16060
16061 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16062
ced52c71
JM
160632012-10-18 Joseph Myers <joseph@codesourcery.com>
16064
16065 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16066 (_G_LSEEK64): Likewise.
16067 (_G_MMAP64): Likewise.
16068 (_G_FSTAT64): Likewise.
16069 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16070 (_G_LSEEK64): Likewise.
16071 (_G_MMAP64): Likewise.
16072 (_G_FSTAT64): Likewise.
16073 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16074 unconditional. Call __mmap64 directly.
16075 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16076 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16077 __lseek64 directly.
16078 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16079 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16080 __mmap64 directly.
16081 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16082 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16083 __lseek64 directly.
16084 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16085 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16086 __lseek64 directly.
16087 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16088 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16089 __lseek64 directly.
16090 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16091 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16092 __fxstat64 directly.
16093 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16094 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16095 unconditional.
16096 (freopen64) [!_G_OPEN64]: Remove conditional code.
16097 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16098 unconditional.
16099 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16100 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16101 unconditional.
16102 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16103 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16104 unconditional.
16105 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16106 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16107 unconditional.
16108 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16109 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16110 unconditional.
16111 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16112 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16113 unconditional.
16114 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16115 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16116 unconditional.
16117 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16118
b741de23
SP
161192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16120
16121 [BZ #12140]
16122 * manual/memory.texi (Malloc Tunable Parameters): Add note
16123 about free list pointers overwriting some perturb bytes.
16124 Wording suggested by Roland McGrath.
16125
f9b9d9c9
JM
161262012-10-17 Joseph Myers <joseph@codesourcery.com>
16127
16128 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16129 (lgamma_test): Likewise.
16130 (tgamma_test): Likewise.
16131
172a631a
FW
161322012-10-16 Florian Weimer <fweimer@redhat.com>
16133
16134 [BZ #14700]
16135 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16136 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16137
e9f37252
MK
161382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16139
16140 * NEWS: Mention BZ #14716.
16141 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16142 when removing AVAILABLE1_USES_J macro.
16143
d394eb74
L
161442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16145
16146 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16147 (__bswap_64): __uint64_t for unsigned 64-bit int.
16148
ca38dc17
AS
161492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16150
16151 * include/string.h (memmem): Declare libc hidden alias.
16152 * string/memmem.c (memmem): Define libc hidden alias.
16153 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16154 __read, __close instead of open, read, close.
16155
9a387d1f
L
161562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16157
ac49ecaf
L
16158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16159 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16160 global and hidden.
16161 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16162 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16163 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16164 Likewise.
16165 (__rawmemchr_sse2): Likewise.
16166 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16167 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16168 (__strchr_sse2): Likewise.
16169 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16170 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16171 (__strcasecmp_sse2): Likewise.
16172 (__strncasecmp_sse2): Likewise.
16173 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16174 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16175 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16176 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16177 (__strrchr_sse2): Likewise.
16178 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16179 ifunc-impl-list.c.
16180 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16181 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16182 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16183 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16184 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16185 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16188 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16189 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16190 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16192 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16193 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16194 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16195 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16196 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16197 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16198 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16199 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16200 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16201 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16202 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16203 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16204 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16206 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16207 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16208 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16209 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16210
b090e8ea
L
16211 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16212 global and hidden.
16213 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16214 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16215 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16216 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16217 Likewise.
16218 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16219 Likewise.
16220 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16221 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16222 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16223 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16224 ifunc-impl-list.c.
16225 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16226 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16228 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16229 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16230 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16231 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16232 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16233 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16234 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16238 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16239 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16242 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16243 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16244 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16250 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16251 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16252 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16253 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16254 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16255 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16256 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16257 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16258 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16259 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16261 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16262 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16265 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16266
11dd4af6
L
16267 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16268 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16269 * include/ifunc-impl-list.h: New file.
16270 * misc/ifunc-impl-list.c: Likewise.
16271 * misc/Makefile (routines): Add ifunc-impl-list.
16272 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16273 * string/test-string.h: Include <ifunc-impl-list.h>.
16274 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16275 impl_array): New variables.
16276 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16277 are defined.
16278 (test_init): Call __libc_ifunc_impl_list to initialize
16279 func_list if TEST_IFUNC and TEST_NAME are defined.
16280
9a387d1f
L
16281 * string/Makefile (strop-tests): Add bcopy and bzero.
16282 * string/test-bcopy.c: New file.
16283 * string/test-bzero.c: Likewise.
16284 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16285 defined.
16286 * string/test-memset.c: Support bzero test if TEST_BZERO is
16287 defined.
16288 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16289 __libc_memmove.
16290 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16291 __libc_memset.
16292 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16293 of memset.
16294
472371b9
JM
162952012-10-10 Joseph Myers <joseph@codesourcery.com>
16296
1e4a9536
JM
16297 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16298 * configure: Regenerated.
16299
d173d12e
JM
16300 * Makeconfig (+link-static-before-libc): Don't include
16301 $(link-static-libc).
16302
472371b9
JM
16303 * libio/libio.h (_IO_pos_t): Remove.
16304
89a3ad0b
AO
163052012-10-10 Alexandre Oliva <aoliva@redhat.com>
16306
16307 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16308 McGrath.
16309
e7451425
AO
163102012-10-10 Alexandre Oliva <aoliva@redhat.com>
16311
16312 * crypt/crypt-entry.c: Include fips-private.h.
16313 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16314 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16315 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16316 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16317
4ba74a35
AO
163182012-10-10 Alexandre Oliva <aoliva@redhat.com>
16319
16320 * crypt/crypt-private.h: Include stdbool.h.
16321 (_ufc_setup_salt_r): Return bool.
16322 * crypt/crypt-entry.c: Include errno.h.
16323 (__crypt_r): Return NULL with EINVAL for bad salt.
16324 * crypt/crypt_util.c (bad_for_salt): New.
16325 (_ufc_setup_salt_r): Check that salt is long enough and within
16326 the specified alphabet.
16327 * crypt/badsalttest.c: New file.
16328 * crypt/Makefile (tests): Add it.
16329 ($(objpfx)badsalttest): New.
16330
f96f1242
MK
163312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16332
16333 * NEWS: Add entry for BZ #14602.
16334
0e8e0c1c
JM
163352012-10-09 Joseph Myers <joseph@codesourcery.com>
16336
16337 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16338 type-generic.
16339 * math/libm-test.inc: Update comment listing what functions and
16340 macros are tested.
16341 (isgreater_test): New function.
16342 (isgreaterequal_test): Likewise.
16343 (isless_test): Likewise.
16344 (islessequal_test): Likewise.
16345 (islessgreater_test): Likewise.
16346 (isunordered_test): Likewise.
16347 (main): Call the new functions.
16348
273edc5e
RM
163492012-10-09 Roland McGrath <roland@hack.frob.com>
16350
b8493de0
RM
16351 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16352 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16353 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16354 * sysdeps/i386/configure: Regenerated.
16355 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16356 * sysdeps/mach/configure: Regenerated.
16357 * sysdeps/mach/hurd/configure: Regenerated.
16358 * sysdeps/powerpc/configure: Regenerated.
16359 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16360 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16361 * sysdeps/s390/s390-32/configure: Regenerated.
16362 * sysdeps/s390/s390-64/configure: Regenerated.
16363 * sysdeps/sh/configure: Regenerated.
16364 * sysdeps/sparc/configure: Regenerated.
16365 * sysdeps/unix/sysv/linux/configure: Regenerated.
16366 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16367 * sysdeps/x86_64/configure: Regenerated.
16368
273edc5e
RM
16369 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16370 defined. Don't check if MAP is NULL.
16371
c8450f70
JM
163722012-10-09 Joseph Myers <joseph@codesourcery.com>
16373
16374 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16375 (_G_stat64): Likewise.
16376 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16377 (_G_stat64): Likewise.
16378 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16379 instead of struct _G_stat64.
16380 * libio/fileops.c (mmap_remap_check): Likewise.
16381 (decide_maybe_mmap): Likewise.
16382 (_IO_new_file_seekoff): Likewise.
16383 (_IO_file_stat): Likewise.
16384 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16385 _G_off64_t.
16386 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16387 instead of struct _G_stat64.
16388 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16389
57e605ba
MK
163902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16391
16392 [BZ #14602]
16393 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16394 Replace with ...
16395 (CHECK_EOL): New macro.
16396 (two_way_short_needle): Check beginning of haystack for EOL. Use
16397 CHECK_EOL.
16398 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16399 Replace with CHECK_EOL.
16400 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16401 Replace with CHECK_EOL.
16402
ef1bb361
JM
164032012-10-08 Joseph Myers <joseph@codesourcery.com>
16404
16405 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16406 type-generic.
16407 * math/libm-test.inc: Update comment listing what functions and
16408 macros are tested.
16409 (finite_test): New function.
16410 (isinf_test): Likewise.
16411 (isnan_test): Likewise.
16412 (fpclassify_test): Test subnormal input.
16413 (isfinite_test): Likewise.
16414 (isnormal_test): Likewise.
16415 (main): Call the new functions.
16416
55f11534
JN
164172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16418
16419 [BZ #14660]
16420 * Makerules (%.dynsym): Force C locale when running
16421 $(OBJDUMP) --dynamic-syms.
16422
1ab29350
AS
164232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16424
16425 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16426 <stdint.h>.
16427
f1ecb7ef
DM
164282012-10-06 David S. Miller <davem@davemloft.net>
16429
16430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16431 upper 32-bits of the length value in %o2 since we use branch-on-register
16432 tests which consider the entire 64-bit register.
16433
5d41d91a
L
164342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16435
16436 * string/test-strstr.c (check2): Add a test for page boundary.
16437
3baddb72
DM
164382012-10-05 David S. Miller <davem@davemloft.net>
16439
16440 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16442 file.
16443 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16444 sysdep_routines.
16445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16446 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16447 and bzero when HWCAP_SPARC_CRYPTO is present.
16448
9cee5585
L
164492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16450
d7e0dab9
L
16451 [BZ #14602]
16452 * string/test-strstr.c (check2): New function.
16453 (test_main): Call check2.
16454
03759f47
L
16455 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16456 and bug-strchr1.
16457 * string/bug-strcasestr1.c (do_test): Moved to ...
16458 * string/test-strcasestr.c (check1): Here. New function.
16459 (do_one_test): Break out result checking code into ...
16460 (check_result): This. New function.
16461 (do_one_test): Call check_result.
16462 (test_main): Call check1.
16463 * string/bug-strchr1.c (do_test): Moved to ...
16464 * string/test-strchr.c (check1): Here. New function.
16465 (do_one_test): Break out result checking code into ...
16466 (check_result): This. New function.
16467 (do_one_test): Call check_result.
16468 (test_main): Call check1.
16469 * string/bug-strstr1.c (main): Moved to ...
046f153e 16470 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16471 (do_one_test): Break out result checking code into ...
16472 (check_result): This. New function.
16473 (do_one_test): Call check_result.
16474 (test_main): Call check1.
16475 * string/bug-strcasestr1.c: Removed.
16476 * string/bug-strchr1.c: Likewise.
16477 * string/bug-strstr1.c: Likewise.
16478
53cea63e
L
16479 * elf/Makefile (dl-routines): Add hwcaps.
16480 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16481 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16482 (_dl_important_hwcaps): Moved to ...
16483 * elf/dl-hwcaps.c: Here. New file.
16484 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16485
9cee5585 16486 [BZ #14557]
bb859b06
L
16487 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16488 if IS_IN_rtld isn't defined.
16489
9cee5585
L
16490 * elf/dl-support.c (_dl_sysinfo_map): New.
16491 Include "get-dynamic-info.h" and "setup-vdso.h".
16492 (_dl_non_dynamic_init): Call setup_vdso.
16493 * elf/dynamic-link.h: Don't include <assert.h>.
16494 (elf_get_dynamic_info): Moved to ...
16495 * elf/get-dynamic-info.h: Here. New file.
16496 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16497 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16498 * elf/setup-vdso.h: Here. New file.
16499 * elf/rtld.c: Include "setup-vdso.h".
16500 (dl_main): Call setup_vdso.
16501
23c31b76
JM
165022012-10-05 Joseph Myers <joseph@codesourcery.com>
16503
28234b07
JM
16504 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16505 creal in comment listing functions tested. List finite, isinf,
16506 isnan, isless, islessequal, isgreater, isgreaterequal,
16507 islessgreater, isunordered, lgamma_r and pow10 as functions and
16508 macros not tested. Mention which functions not tested are aliases
16509 for other functions. Fix typo. Note that signs of NaNs are not
16510 tested.
16511
23c31b76
JM
16512 * scripts/config.guess: Update from config.git.
16513 * scripts/config.sub: Likewise.
16514
9043e228
RM
165152012-10-04 Roland McGrath <roland@hack.frob.com>
16516
16517 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16518 * misc/madvise.c (madvise): Renamed to __madvise.
16519 Make madvise a weak alias.
16520 * include/sys/mman.h: Declare __madvise.
16521 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16522 * sysdeps/unix/syscalls.list
16523 (madvise): Make __madvise the strong name, and madvise a weak alias.
16524 * sysdeps/unix/sysv/linux/syscalls.list
16525 (madvise, mmap): Remove redundant entries.
16526 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16527 * malloc/malloc.c (mtrim): Likewise.
16528 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16529
f57f8055
RM
165302012-10-03 Roland McGrath <roland@hack.frob.com>
16531
16532 * sysdeps/mach/hurd/dl-cache.c: File removed.
16533 * config.h.in (USE_LDCONFIG): New #undef.
16534 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16535 * configure: Regenerated.
16536 * elf/Makefile (dl-routines): Add dl-cache only under
16537 [$(use-ldconfig) = yes].
16538 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16539 cache on [USE_LDCONFIG].
16540 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16541 [USE_LDCONFIG].
16542 * elf/rtld.c (dl_main): Likewise.
16543
5bb0c10a
PT
165442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16545
16546 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16547 _SC_LEVEL4_CACHE_LINESIZE.
16548
010188c6
RM
165492012-10-03 Roland McGrath <roland@hack.frob.com>
16550
16551 * sysdeps/unix/bsd/confstr.h: File removed.
16552
b6c5ec07
AO
165532012-10-02 Alexandre Oliva <aoliva@redhat.com>
16554
16555 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16556 sys/sdt-config.h.
16557
408223d4
RM
165582012-10-02 Roland McGrath <roland@hack.frob.com>
16559
16560 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16561 Make 'mapoff' field ElfW(Off) rather than off_t.
16562
bb9510dc
DL
165632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16564
fc997c6e
DL
16565 * nscd/Makefile: Remove nscd-cflags and all its users.
16566 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16567 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16568
bb9510dc
DL
16569 [BZ #10631]
16570 * malloc.c (malloc_printerr): Clarify error message.
16571
05699367
L
165722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16573
16574 [BZ #14648]
16575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16576 Set bit_FMA_Usable if FMA is supported.
16577 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16578 macro.
16579 (bit_FMA4_Usable): Updated.
16580 (index_FMA_Usable): New macro.
16581 (CPUID_FMA): Likewise
16582 (HAS_FMA): Defined with bit_FMA_Usable.
16583
51367701
RM
165842012-10-01 Roland McGrath <roland@hack.frob.com>
16585
16586 * bits/types.h (__swblk_t): Type removed.
16587 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16588 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16590 (__SWBLK_T_TYPE): Likewise.
16591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16592 (__SWBLK_T_TYPE): Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16594 (__SWBLK_T_TYPE): Likewise.
16595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16596 (__SWBLK_T_TYPE): Likewise.
16597
4d57bf63 165982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16599 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16600
16601 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16602 (xdr_mapname): Use YPMAXMAP as maxsize.
16603 (xdr_peername): Use YPMAXPEER as maxsize.
16604 (xdr_keydat): Use YPAXRECORD as maxsize.
16605 (xdr_valdat): Use YPMAXRECORD as maxsize.
16606
93c65d43
RM
166072012-10-01 Roland McGrath <roland@hack.frob.com>
16608
497a03d6
RM
16609 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16610
93c65d43
RM
16611 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16612 * csu/init-first.c: ... here.
16613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16614 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16616 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16617 * sysdeps/i386/init-first.c: File removed.
16618 * sysdeps/sh/init-first.c: File removed.
16619
bec749fd
JM
166202012-10-01 Joseph Myers <joseph@codesourcery.com>
16621
16622 [BZ #14645]
16623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16624 if x * y might underflow to zero and z is zero.
16625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16627 * math/libm-test.inc (min_subnorm_value): New variable.
16628 (fma_test): Add more tests.
16629 (fma_test_towardzero): Likewise.
16630 (fma_test_downward): Likewise
16631 (fma_test_upward): Likewise.
16632 (initialize): Set min_subnorm_value.
16633
8ec5b013
JM
166342012-09-29 Joseph Myers <joseph@codesourcery.com>
16635
16636 [BZ #14638]
16637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16638 0 + 0.
16639 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16640 mode for addition resulting in exact zero.
16641 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16643 exact 0 + 0.
16644 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16646 * math/libm-test.inc (fma_test): Add more tests.
16647 (fma_test_towardzero): New function.
16648 (fma_test_downward): Likewise.
16649 (fma_test_upward): Likewise.
16650 (main): Call the new functions.
16651
b1fa802e
DM
166522012-09-28 David S. Miller <davem@davemloft.net>
16653
16654 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16655
d3b9fd9e
RM
166562012-09-28 Roland McGrath <roland@hack.frob.com>
16657
ea4d37b3
RM
16658 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16659 instead of SIGALRM.
16660
ac51c949
RM
16661 * sysdeps/gnu/_G_config.h: Moved to ...
16662 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16663 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16664 * sysdeps/generic/_G_config.h: ... here.
16665
28c195f7
RM
16666 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16667
848917f9
RM
16668 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16669
6bacf05b
RM
16670 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16671 Conditionalize target on [libnss_test1.so-version].
16672
91363dbb
RM
16673 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16674
cc87f7d8
RM
16675 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16676 (elfobjdir): Move out of conditionals.
16677
b1c608fe
RM
16678 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16679 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16680 (__nss_lookup_function): Conditionalize label remove_from_tree on
16681 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16682
1d9a6d96
DM
166832012-09-28 David S. Miller <davem@davemloft.net>
16684
16685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16687 file.
16688 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16689 sysdep_routines.
16690 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16692 when HWCAP_SPARC_CRYPTO is present.
16693
72581615
PT
166942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16695
16696 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16697
715a900c
JL
166982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16699
16700 [BZ #6530]
16701 * stdio-common/vfprintf.c (process_string_arg): Revert
16702 2000-07-22 change.
16703
167042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16705
16706 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16707 for testcase.
16708 * stdio-common/tst-sprintf.c: Include <locale.h>
16709 (main): Test sprintf's handling of incomplete multibyte
16710 characters.
16711
9bac1d86
L
167122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16713
16714 * elf/dl-runtime.c (VERSYMIDX): Removed.
16715 * elf/dl-version.c (VERSYMIDX): Likewise.
16716 * elf/do-rel.h (VERSYMIDX): Likewise.
16717 (VALIDX): Likewise.
16718 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16719 * elf/rtld.c (VALIDX): Likewise.
16720 (ADDRIDX): Likewise.
9bac1d86
L
16721 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16722 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16723 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16724 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16725 (VALIDX): Likewise.
16726 (ADDRIDX): Likewise.
9bac1d86 16727
b31606c0
PT
167282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16729
16730 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16731
11541177
JL
167322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16733
16734 [BZ #11438]
16735 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16736 to global scope.
16737 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16738 addresses are in the same scope as 192.0.2/24.
16739 * posix/gai.conf: Document new scope table defaults.
16740
adb26fae
SP
167412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16742
16743 [BZ #5298]
16744 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16745 for ftell. Compute offsets from write pointers instead.
16746 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16747
4573c6b0
SP
167482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16749
16750 [BZ #14543]
16751 * libio/Makefile (tests): New test case tst-fseek.
16752 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16753 combination works in wide mode.
16754 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16755 state when the external buffer state changes.
16756
aa9bbfe6
DM
167572012-09-27 David S. Miller <davem@davemloft.net>
16758
16759 [BZ #14376]
16760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16761 pass reloc->r_addend in as the 'high' argument to
16762 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16763
784421e7
DM
16764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16765
c39bc8b8
PT
167662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16767
16768 * rt/tst-aio2.c: Include <pthread.h>.
16769 * rt/tst-aio3.c: Likewise.
16770
1ccc2399
SE
167712012-09-27 Steve Ellcey <sellcey@mips.com>
16772
16773 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16774
31ed4153
L
167752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16776
25f5f885
L
16777 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16778 contents on [SHARED].
31ed4153 16779
b7bfe116
MP
167802012-09-26 Marek Polacek <polacek@redhat.com>
16781
16782 [BZ #14530]
16783 [BZ #13741]
16784 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16785 for C++ and GCC <4.3 as well as for non GCC compilers.
16786
43c4edba
MT
167872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16788
16789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16790
6a1bf82f
RM
167912012-09-25 Roland McGrath <roland@hack.frob.com>
16792
16793 * Makefile.in (all, install): Declare with .PHONY.
16794 Reported by Michael Hope <michael.hope@linaro.org>.
16795
8ad11b9a
TMQMF
167962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16797
16798 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16799 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16800 system header.
16801 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16802 Likewise.
16803 (sydep_routines): Add the new and the internal functions.
16804 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16807 (GLIBC_2.17): Add the new function.
16808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16809 (GLIBC_2.17): Likewise.
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16811 (GLIBC_2.17): Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16813 (GLIBC_2.17): Likewise.
16814 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16815
7e2fca8d
AM
168162012-09-25 Alan Modra <amodra@gmail.com>
16817
16818 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16819 Add release barrier before setting once_control to say
16820 initialisation is done. Add hints on lwarx. Use macro in
16821 place of isync.
16822 (clear_once_control): Add release barrier.
16823
b87c4b24
JM
168242012-09-25 Joseph Myers <joseph@codesourcery.com>
16825
d032e0d2
JM
16826 [BZ #13629]
16827 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16828 specially.
16829 * math/s_clog10.c (__clog10): Likewise.
16830 * math/s_clog10f.c (__clog10f): Likewise.
16831 * math/s_clog10l.c (__clog10l): Likewise.
16832 * math/s_clogf.c (__clogf): Likewise.
16833 * math/s_clogl.c (__clogl): Likewise.
16834 * math/Makefile (libm-calls): Add x2y2m1.
16835 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16836 (__x2y2m1): Likewise.
16837 (__x2y2m1l): Likewise.
16838 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16839 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16844 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16845 * sysdeps/i386/fpu/libm-test-ulps: Update.
16846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16847
b87c4b24
JM
16848 [BZ #14621]
16849 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16850 int as type of variable DEPTH.
16851 (glob): Use size_t instead of int as type of variables NEWCOUNT
16852 and OLD_PATHC.
16853
6d3bf199
LD
168542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16855
22bf5c17
LD
16856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16857 Add s_sincosf-sse2.
16858 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16859 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16860 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16861 macros for using routine as __sincosf_ia32.
16862 Use macro for function declaration and weak_alias.
16863 * sysdeps/i386/fpu/libm-test-ulps: Update.
16864
16865 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16867
16868 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16869 subnormal argument.
16870 * math/s_cexpf.c (__cexpf): Likewise.
16871 * math/s_csinf.c (__csinf): Likewise.
16872 * math/s_csinhf.c (__csinhf): Likewise.
16873 * math/s_ctanf.c (__ctanf): Likewise.
16874 * math/s_ctanhf.c (__ctanhf): Likewise.
16875 * math/s_ccosh.c (__ccoshf): Likewise.
16876 * math/s_cexp.c (__cexpl): Likewise.
16877 * math/s_csin.c (__csin): Likewise.
16878 * math/s_csinh.c (__csinh): Likewise.
16879 * math/s_ctan.c (__ctan): Likewise.
16880 * math/s_ctanh.c (ctanh): Likewise.
16881 * math/s_ccoshl.c (__ccoshl): Likewise.
16882 * math/s_cexpl.c (__cexpl): Likewise.
16883 * math/s_csinl.c (__csinl): Likewise.
16884 * math/s_csinhl.c (__csinhl): Likewise.
16885 * math/s_ctanl.c (__ctanl): Likewise.
16886 * math/s_ctanhl.c (__ctanhl): Likewise.
16887
203e5603
JM
168882012-09-25 Joseph Myers <joseph@codesourcery.com>
16889
16890 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16891 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16892 (_IO_off_t): Define to __off_t, not _G_off_t.
16893 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16894 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16895 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16896 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16897 type of __dummy and __dummy2 fields.
16898 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16899 (_G_ssize_t): Likewise.
16900 (_G_off_t): Likewise.
16901 (_G_pid_t): Likewise.
16902 (_G_uid_t): Likewise.
16903 (_G_wchar_t): Likewise.
16904 (_G_wint_t): Likewise.
16905 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16906 (_G_ssize_t): Likewise.
16907 (_G_off_t): Likewise.
16908 (_G_pid_t): Likewise.
16909 (_G_uid_t): Likewise.
16910 (_G_wchar_t): Likewise.
16911 (_G_wint_t): Likewise.
16912 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16913 (_G_ssize_t): Likewise.
16914 (_G_off_t): Likewise.
16915 (_G_pid_t): Likewise.
16916 (_G_uid_t): Likewise.
16917 (_G_wchar_t): Likewise.
16918 (_G_wint_t): Likewise.
16919
9fab36eb
SP
169202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
16922 * malloc/arena.c: Include malloc-sysdep.h.
16923 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16924 is sufficient to shrink the heap or an unmap is needed.
16925 * sysdeps/generic/malloc-sysdep.h: New file. Define
16926 new function check_may_shrink_heap.
16927 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16928 new function check_may_shrink_heap.
16929
2b4f00d1
SP
169302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16931
16932 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16933 comments.
16934
9a9028b1
DL
169352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16936
57c69bef
DL
16937 * catgets/test-gencat.sh: Add "set -e".
16938 * elf/tst-pathopt.sh: Likewise.
16939 * grp/tst_fgetgrent.sh: Likewise.
16940 * iconvdata/run-iconv-test.sh: Likewise.
16941 * intl/tst-gettext.sh: Likewise.
16942 * intl/tst-gettext2.sh: Likewise.
16943 * intl/tst-gettext4.sh: Likewise.
16944 * intl/tst-gettext6.sh: Likewise.
16945 * intl/tst-translit.sh: Likewise.
16946 * io/ftwtest-sh: Likewise.
16947 * libio/test-freopen.sh: Likewise.
16948 * malloc/tst-mtrace.sh: Likewise.
16949 * posix/globtest.sh: Likewise.
16950 * posix/tst-getconf.sh: Likewise.
16951 * posix/wordexp-tst.sh: Likewise.
16952 * stdio-common/tst-printf.sh: Likewise.
16953 * stdio-common/tst-unbputc.sh: Likewise.
16954 * stdlib/tst-fmtmsg.sh: Likewise.
16955 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16956 * catgets/Makefile: Do not specify -e option when running
16957 testsuite shell scripts.
16958 * elf/Makefile: Likewise.
16959 * grp/Makefile: Likewise.
16960 * iconvdata/Makefile: Likewise.
16961 * intl/Makefile: Likewise.
16962 * io/Makefile: Likewise.
16963 * libio/Makefile: Likewise.
16964 * malloc/Makefile: Likewise.
16965 * posix/Makefile: Likewise.
16966 * stdio-common/Makefile: Likewise.
16967 * stdlib/Makefile: Likewise.
16968 * sysdeps/x86_64/Makefile: Likewise.
16969
9a9028b1
DL
16970 * io/ftwtest-sh: Add copyright header.
16971 * posix/globtest.sh: Likewise.
16972 * posix/tst-getconf.sh: Likewise.
16973 * posix/wordexp-tst.sh: Likewise.
16974 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16975
ced6f16e
L
169762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16977
94b32c39
L
16978 [BZ #13679]
16979 * Makeconfig (+link): Defined as $(+link-static) if
16980 $(build-shared) isn't yes.
16981 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16982 isn't yes.
16983 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16984
189e935b
L
16985 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16986
ced6f16e
L
16987 [BZ #14562]
16988 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16989 new chunk size with MALLOC_ALIGN_MASK.
16990
a9f8e53a
JM
169912012-09-24 Joseph Myers <joseph@codesourcery.com>
16992
16993 [BZ #5044]
16994 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16995 <rounding-mode.h>.
16996 (__printf_fphex): Determine rounding using get_rounding_mode and
16997 round_away.
16998 * stdio-common/tst-printf-round.c (struct hex_test): New
16999 structure.
17000 (hex_tests): New variable.
17001 (test_hex_in_one_mode): New function.
17002 (do_test): Also run tests for hex float output.
17003
43153109
JM
170042012-09-21 Joseph Myers <joseph@codesourcery.com>
17005
17006 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17007 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17008 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17009 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17010 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17011 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17012 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17013 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17014
8a26625d
JM
170152012-09-20 Joseph Myers <joseph@codesourcery.com>
17016
17017 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17018 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17019 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17020 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17021
f3fd569c
DL
170222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17023
17024 [BZ #14579]
17025 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17026 mode only.
17027 * elf/tst-rtld-load-self.sh: New test.
17028 * elf/Makefile: Run it.
17029
63bbedd4
JM
170302012-09-18 Joseph Myers <joseph@codesourcery.com>
17031
17032 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17033 (tst-writev-ENV): Remove.
17034 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17035
626f8b6a
CM
170362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17037
17038 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17039
b7aaa4d6
JM
170402012-09-17 Joseph Myers <joseph@codesourcery.com>
17041
17042 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17043 unconditional.
17044 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17045 Likewise.
17046 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17047 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17048 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17049 Likewise.
17050
65513990
L
170512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 [BZ #14587]
17054 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17055 * config.make.in (have-cpp-asm-debuginfo): Removed.
17056 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17057 * configure: Regenerated.
17058
784761be
JM
170592012-09-14 Joseph Myers <joseph@codesourcery.com>
17060
17061 [BZ #5044]
17062 * stdio-common/printf_fp.c: Include <stdbool.h> and
17063 <rounding-mode.h>.
17064 (___printf_fp): Determine rounding using get_rounding_mode and
17065 round_away.
17066 * stdio-common/tst-printf-round.c: New file.
17067 * stdio-common/Makefile (tests): Add tst-printf-round.
17068 (link-libm): New variable.
17069 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17070
9503345f
L
170712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17072
17073 [BZ #14576]
17074 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17075 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17076 Likewise.
17077 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17078 Likewise.
17079
ad35fc00
JM
170802012-09-13 Joseph Myers <joseph@codesourcery.com>
17081
17082 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17083 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17084 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17085 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17086
6c9b0f68
JM
170872012-09-12 Joseph Myers <joseph@codesourcery.com>
17088
17089 [BZ #14518]
17090 * include/rounding-mode.h: New file.
17091 * sysdeps/generic/get-rounding-mode.h: Likewise.
17092 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17093 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17094 (MAX_VALUE): New macro.
17095 (MIN_VALUE): Likewise.
17096 (overflow_value): New function.
17097 (underflow_value): Likewise.
17098 (round_and_return): Use overflow_value and underflow_value to
17099 determine return values in overflow and underflow cases. Use
17100 round_away to determine rounding depending on rounding mode.
17101 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17102 determine return values in overflow and underflow cases.
17103 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17104 (struct test_results): New structure.
17105 (struct test): Use struct test_results to store expected results
17106 for all rounding modes.
17107 (TEST): Include expected results for all rounding modes.
17108 (test_in_one_mode): New function.
17109 (do_test): Use test_in_one_mode to compute and check results.
17110 Check results for all rounding modes.
17111 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17112 $(link-libm).
17113
19fcedd5
AM
171142012-12-09 Allan McRae <allan@archlinux.org>
17115
1e9d84cd 17116 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17117
8bbfd2f1
JM
171182012-09-11 Joseph Myers <joseph@codesourcery.com>
17119
17120 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17121 (_G_int32_t): Likewise.
17122 (_G_uint16_t): Likewise.
17123 (_G_uint32_t): Likewise.
17124 (_G_HAVE_BOOL): Likewise.
17125 (_G_HAVE_ATEXIT): Likewise.
17126 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17127 (_G_HAVE_IO_FILE_OPEN): Likewise.
17128 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17129 (_G_int32_t): Likewise.
17130 (_G_uint16_t): Likewise.
17131 (_G_uint32_t): Likewise.
17132 (_G_HAVE_BOOL): Likewise.
17133 (_G_HAVE_ATEXIT): Likewise.
17134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17135 (_G_HAVE_IO_FILE_OPEN): Likewise.
17136 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17137 (_G_int32_t): Likewise.
17138 (_G_uint16_t): Likewise.
17139 (_G_uint32_t): Likewise.
17140 (_G_HAVE_BOOL): Likewise.
17141 (_G_HAVE_ATEXIT): Likewise.
17142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17143 (_G_HAVE_IO_FILE_OPEN): Likewise.
17144
b1dc5912
L
171452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17146
17147 * csu/libc-tls.c: Update copyright years.
17148
0e886ef9
JM
171492012-09-10 Joseph Myers <joseph@codesourcery.com>
17150
28361c5e
JM
17151 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17152 [!_G_USING_THUNKS]: Remove conditional code.
17153 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17154 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17155
0e886ef9
JM
17156 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17157 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17158 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17159 (_G_VTABLE_LABEL_PREFIX): Likewise.
17160 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17161 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17163 (_G_VTABLE_LABEL_PREFIX): Likewise.
17164 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17165 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17166 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17167 (_G_VTABLE_LABEL_PREFIX): Likewise.
17168 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17169
bcba7aa2
L
171702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * libio/Makefile: Include ../Makeconfig before tests.
17173 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17174 only if $(build-shared) is yes.
17175
06585ee8
L
17176 * iconv/gconv_db.c: Update copyright years.
17177
80ccd52c
LD
171782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17179
17180 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17181 unwind info if defined PIC. Fix special cases description.
17182 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17183
17184 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17185 DP_HI_MASK entry.
17186 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17187
691bc9c1
L
171882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17189
3d9b46b3
L
17190 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17191
de2139a9
L
17192 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17193 is NULL.
17194
5ca78dd0
L
17195 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17196 (LDLIBS-tst-chk4): This.
17197 (LDFLAGS-tst-chk5): Renamed to ...
17198 (LDLIBS-tst-chk5): This.
17199 (LDFLAGS-tst-chk6): Renamed to ...
17200 (LDLIBS-tst-chk6): This.
17201 (LDFLAGS-tst-lfschk4): Renamed to ...
17202 (LDLIBS-tst-lfschk4): This.
17203 (LDFLAGS-tst-lfschk5): Renamed to ...
17204 (LDLIBS-tst-lfschk5): This.
17205 (LDFLAGS-tst-lfschk6): Renamed to ...
17206 (LDLIBS-tst-lfschk6): This.
17207
691bc9c1
L
17208 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17209 on $(common-objpfx)soversions.mk.
17210
65cafb1c
JM
172112012-09-07 Joseph Myers <joseph@codesourcery.com>
17212
17213 [BZ #10014]
17214 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17215 example host name.
17216
c78ab094
SP
172172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17218
17219 * malloc/arena.c (arena_get_retry): New function that gets
17220 another arena for the caller to try its request on.
17221 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17222 current arena cannot fulfill the request.
17223 (__libc_memalign): Likewise.
17224 (__libc_memalign): Likewise.
17225 (__libc_pvalloc): Likewise.
17226 (__libc_calloc): Likewise.
17227
01f49f59
JT
172282012-09-05 John Tobey <john.tobey@gmail.com>
17229
17230 [BZ #13542]
17231 * manual/arith.texi (Operations on Complex): Fix description
17232 of carg branch cut.
17233
4c23fed5
JM
172342012-09-06 Joseph Myers <joseph@codesourcery.com>
17235
1d3c8572
JM
17236 [BZ #10014]
17237 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17238 host name.
17239
4c23fed5
JM
17240 [BZ #10038]
17241 * manual/memory.texi (Memory): Make order of menu items match
17242 order of sections.
17243
04570aaa
L
172442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17245
17246 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17247 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17248 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17249
b80af2f4
L
172502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17251
17252 * csu/libc-tls.c (static_dtv): Renamed to ...
17253 (_dl_static_dtv): This. Make it global.
17254 (_dl_initial_dtv): Removed.
17255 (__libc_setup_tls): Updated.
17256 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17257 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17258 DL_INITIAL_DTV.
17259
2abe9f15
PM
172602012-09-06 Petr Machata <pmachata@redhat.com>
17261
17262 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17263 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17264 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17265 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17266
0948c3af
L
172672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17268
17269 [BZ #14545]
17270 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17271 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17272 freeing dtv[-1].
17273
a5055ad1
L
172742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17275
17276 [BZ #14544]
17277 * Makeconfig (link-static-before-libc): Replace $(+prector)
17278 with $(+prectorT).
17279 (link-static-after-libc): Replace $(+postctor) with
17280 $(+postctorT).
17281 (link-bounded): Replace $(+prector)/$(+postctor) with
17282 $(+prectorT)/$(+postctorT).
17283 (+prectorT): New macro.
17284 (+postctorT): Likewise.
17285
ed8c2ecd
JM
172862012-09-06 Joseph Myers <joseph@codesourcery.com>
17287
17288 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17289 (round_str): Handle values above the maximum for IBM long double
17290 as inexact.
17291 * stdlib/tst-strtod-round.c (tests): Regenerated.
17292
14c996c8
AK
172932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17294
17295 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17296 assembler flag.
17297 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17298 zarch_nohighgprs around the zarch optimized routines.
17299 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17300 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17302 for zarch.
17303
430d6ce6
DM
173042012-09-05 David S. Miller <davem@davemloft.net>
17305
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17307
ff04dda4
DM
17308 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17309 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17310 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17311 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17312 entries.
17313
24d4e01b
AO
173142012-09-05 Alexandre Oliva <aoliva@redhat.com>
17315
17316 * malloc/arena.c: Fold copyright years.
17317 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17318
61d58174
AO
173192012-09-05 Alexandre Oliva <aoliva@redhat.com>
17320
17321 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17322
20196a5e
AO
173232012-09-05 Alexandre Oliva <aoliva@redhat.com>
17324
17325 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17326
5c447383
AO
173272012-09-05 Alexandre Oliva <aoliva@redhat.com>
17328
17329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17330 change internal state upon failure.
17331
fad64255
AO
173322012-09-05 Alexandre Oliva <aoliva@redhat.com>
17333
17334 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17335 * malloc/memusage.c (mmap): Likewise.
17336 (mmap64, mremap): Likewise. Adjust name in comment.
17337
1ffb8c90
SP
173382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17339
17340 * libio/fileops.c: Fix typos in comments.
17341 * libio/oldfileops.c: Likewise.
17342 * libio/wfileops.c: Likewise.
17343
6ef9cc37
SP
173442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17345
17346 [BZ #1349]
17347 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17348 (tst-malloc-usable-ENV): Set environment for test case.
17349 * malloc/hooks.c (malloc_check_get_size): New function to get
17350 requested size.
17351 * malloc/malloc.c (musable): Use malloc_check_get_size.
17352 * malloc/tst-malloc-usable.c: New test case.
17353
4d038ae3
AS
173542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17355
17356 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17357
c4e85184
AM
173582012-09-05 Allan McRae <allan@archlinux.org>
17359
b9dafc56 17360 [BZ #13966]
c4e85184
AM
17361 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17362 determine header location.
17363 * configure: Regenerated.
17364
e1343020
AS
173652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17366
17367 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17368 float format.
17369 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17370 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17371 format.
e1343020
AS
17372 (test): Regenerate.
17373
0a9f1987
DM
173742012-09-04 David S. Miller <davem@davemloft.net>
17375
17376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17378 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17379
29237804
FW
173802012-09-04 Florian Weimer <fweimer@redhat.com>
17381
17382 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17383 failures.
17384
edb3cb88
FW
17385 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17386
60160d83
JM
173872012-09-04 Joseph Myers <joseph@codesourcery.com>
17388
17389 [BZ #9914]
17390 * libio/iogetdelim.c: Include <limits.h>.
17391 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17392 + len + 1 would overflow.
17393
bcd6c8dc
AJ
173942012-09-03 Andreas Jaeger <aj@suse.de>
17395
17396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17397 * sysdeps/i386/fpu/libm-test-ulps: Update.
17398
4ffffbd2
LD
173992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17400
17401 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17402 Add s_sinf-sse2, s_conf-sse2.
17403
17404 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17405 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17406 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17407 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17408
17409 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17410 for using routine as __sinf_ia32.
17411 Use macro for function declaration and weak_alias.
17412 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17413 for using routine as __cosf_ia32.
17414 Use macro for function declaration and weak_alias.
17415
17416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17417 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17418
17419 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17420 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17422
17423 * math/libm-test.inc (cos_test): Add more test cases.
17424 (sin_test): Likewise.
17425 (sincos_test): Likewise.
17426
511fa286
AK
174272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17428
17429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17430 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17431 hidden.
17432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17433
5f30cfec
L
174342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 [BZ #14538]
17437 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17438 first element of the GOT.
17439 (elf_machine_load_address): Return the difference between
17440 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17441
0786794f
AM
174422012-09-01 Allan McRae <allan@archlinux.org>
17443
5f30cfec
L
17444 [BZ #13412]
17445 * configure.in (AWK): Require gawk version 3.0 or later.
17446 * configure: Regenerated.
0786794f 17447
26889eac
JM
174482012-09-01 Joseph Myers <joseph@codesourcery.com>
17449
17450 * sysdeps/unix/sysv/linux/kernel-features.h
17451 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17453 [__NR_clock_getres]: Make code unconditional.
17454 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17455 (clock_getcpuclockid): Remove code left unreachable by removal of
17456 conditionals.
17457 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17458 code unconditional.
17459 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17461 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17462 Make code unconditional.
17463 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17464 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17465 * sysdeps/unix/sysv/linux/clock_settime.c
17466 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17467 conditional code.
17468 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17469 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17470
d22e28b0
L
174712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 [BZ #14476]
17474 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17475 scripts/test-installation.pl.
17476
17477 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17478 and $ld_so_version if it is set.
17479
050af9c4
SP
174802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17481
17482 [BZ #14516]
17483 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17484 failure if reading from procfs failed.
17485 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17486
ad845c0b
JM
174872012-08-27 Joseph Myers <joseph@codesourcery.com>
17488
17489 * sysdeps/unix/sysv/linux/kernel-features.h
17490 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17491 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17492 Remove conditional code.
17493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17494 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17495 Remove conditional code.
17496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17497 * sysdeps/unix/sysv/linux/i386/fxstat.c
17498 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17500 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17501 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17503 * sysdeps/unix/sysv/linux/i386/lxstat.c
17504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17506 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17507 Remove conditional code.
17508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17509 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17510 Remove conditional code.
17511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17512 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17513 <kernel-features.h>.
17514 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17515 Remove.
17516 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17517 Remove conditional code.
17518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17519 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17520 Remove conditional.
17521
5dbf56af
MF
175222012-08-27 Mike Frysinger <vapier@gentoo.org>
17523
17524 [BZ #5400]
17525 * NEWS: Add fixed bug number.
17526
d6e70f43
JM
175272012-08-27 Joseph Myers <joseph@codesourcery.com>
17528
7efb4737
JM
17529 [BZ #14519]
17530 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17531 underflowing exponent in case of negative sign.
17532 * stdlib/tst-strtod-round-data: Add more tests.
17533 * stdlib/tst-strtod-round.c (tests): Regenerated.
17534
af92131a
JM
17535 [BZ #3479]
17536 * stdlib/strtod_l.c (NDIG): Remove.
17537 (HEXNDIG): Likewise.
17538 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17539 smallest representable value.
17540 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17541 lie within an exact representation of 1/2 ulp of the result.
17542 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17543 unconditionally.
17544 (TENS_P9_IDX): Define unconditionally.
17545 (TENS_P9_SIZE): Likewise.
17546 (TENS_P10_IDX): Likewise.
17547 (TENS_P10_SIZE): Likewise.
17548 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17549 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17550 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17551 entries for 10^2^13 and 10^2^14.
17552 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17553 (TENS_P13_IDX): Define.
17554 (TENS_P13_SIZE): Likewise.
17555 (TENS_P14_IDX): Likewise.
17556 (TENS_P14_SIZE): Likewise.
17557 (_fpioconst_pow10): Change array size to
17558 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17559 unconditional.
17560 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17561 1024]: Add entries for 10^2^13 and 10^2^14.
17562 [LAST_POW10 > _LAST_POW10]: Remove #error.
17563 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17564 (_fpioconst_pow10): Change array size to
17565 FPIOCONST_POW10_ARRAY_SIZE.
17566 * stdlib/gen-fpioconst.c: New file.
17567 * stdlib/gen-tst-strtod-round.c: Likewise.
17568 * stdlib/tst-strtod-round-data: Likewise.
17569 * stdlib/tst-strtod-round.c: Likewise.
17570 * stdlib/Makefile (tests): Add tst-strtod-round.
17571
d6e70f43
JM
17572 [BZ #14459]
17573 * stdlib/strtod_l.c: Include <stdint.h>.
17574 (NDEBUG): Do not define.
17575 (round_and_return): Change EXPONENT parameter to type intmax_t.
17576 Rearrange calculations to avoid internal overflow possibilities.
17577 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17578 Rearrange calculations to avoid internal overflow possibilities.
17579 Assert that number fits inside MPNSIZE limbs.
17580 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17581 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17582 calculations and add assertions to avoid internal overflow
17583 possibilities. Add casts to avoid signed/unsigned operations.
17584 * stdlib/tst-strtod-overflow.c: New file.
17585 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17586
1f529f7d
MP
175872012-08-25 Marek Polacek <polacek@redhat.com>
17588
17589 * time/time.h: Fix some typos in comments.
17590
59a629f1
RM
175912012-08-23 Roland McGrath <roland@hack.frob.com>
17592
17593 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17594 * posix/tst-rfc3484-2.c: Likewise.
17595 * posix/tst-rfc3484-3.c: Likewise.
17596
d3bafbc9
SM
175972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17598
17599 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17600 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17601
4efcc022
JM
176022012-08-23 Joseph Myers <joseph@codesourcery.com>
17603
17604 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17605 #include of fxstatat64.c.
17606
3cc3ef96
RM
176072012-08-22 Roland McGrath <roland@hack.frob.com>
17608
f04e2132
RM
17609 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17610 * shadow/getspent_r.c: Likewise.
17611 * shadow/getspnam.c: Likewise.
17612 * shadow/getspnam_r.c: Likewise.
17613 * gshadow/getsgent.c: Likewise.
17614 * gshadow/getsgent_r.c: Likewise.
17615 * gshadow/getsgnam.c: Likewise.
17616 * gshadow/getsgnam_r.c: Likewise.
17617 * inet/getnetbyad.c: Likewise.
17618 * inet/getnetbyad_r.c: Likewise.
17619 * inet/getnetbynm.c: Likewise.
17620 * inet/getnetbynm_r.c: Likewise.
17621 * inet/getnetent.c: Likewise.
17622 * inet/getnetent_r.c: Likewise.
17623 * inet/getproto.c: Likewise.
17624 * inet/getproto_r.c: Likewise.
17625 * inet/getprtent.c: Likewise.
17626 * inet/getprtent_r.c: Likewise.
17627 * inet/getprtname.c: Likewise.
17628 * inet/getprtname_r.c: Likewise.
17629 * inet/getrpcbyname.c: Likewise.
17630 * inet/getrpcbyname_r.c: Likewise.
17631 * inet/getrpcbynumber.c: Likewise.
17632 * inet/getrpcbynumber_r.c: Likewise.
17633 * inet/getrpcent.c: Likewise.
17634 * inet/getrpcent_r.c: Likewise.
17635 * inet/getaliasent.c: Likewise.
17636 * inet/getaliasent_r.c: Likewise.
17637 * inet/getaliasname.c: Likewise.
17638 * inet/getaliasname_r.c: Likewise.
17639 * nscd/getgrgid_r.c: Likewise.
17640 * nscd/getgrnam_r.c: Likewise.
17641 * nscd/gethstbyad_r.c: Likewise.
17642 * nscd/gethstbynm3_r.c: Likewise.
17643 * nscd/getpwnam_r.c: Likewise.
17644 * nscd/getpwuid_r.c: Likewise.
17645 * nscd/getsrvbynm_r.c: Likewise.
17646 * nscd/getsrvbypt_r.c: Likewise.
17647 * nscd/gai.c: Likewise.
17648
c53d909c
RM
17649 * configure.in (build_nscd): New substituted variable, set
17650 by --disable-build-nscd and defaults to $use_nscd.
17651 * configure: Regenerated.
17652 * config.make.in (build-nscd): New substituted variable.
17653 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17654 Change conditional to require [$(build-nscd) = yes] as well.
17655 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17656
3cc3ef96
RM
17657 [BZ# 13696]
17658 * configure.in (use_nscd): New substituted variable, set by
17659 --disable-nscd. If enabled, define USE_NSCD.
17660 * configure: Regenerated.
17661 * config.h.in: Add USE_NSCD.
17662 * config.make.in (use-nscd): New substituted variable.
17663 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17664 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17665 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17666 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17667 (CFLAGS-getgrnam_r.c): Likewise.
17668 (CFLAGS-initgroups.c): Likewise.
17669 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17670 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17671 Variables removed.
17672 * inet/getnetgrent_r.c
17673 (nscd_setnetgrent): New function, broken out of ...
17674 (setnetgrent): ... here. Call it.
17675 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17676 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17677 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17678 * nscd/Makefile (routines, aux): Move definitions after include of
17679 Makeconfig. Conditionalize on [$(use-nscd) != no].
17680 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17681 Conditionalize on [USE_NSCD].
17682 (is_nscd, nscd_init_cb): Likewise.
17683 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17684 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17685 * nss/nss_db/db-init.c: Likewise.
17686 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17687 [USE_NSCD].
17688 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17689 (make_request): Use it.
17690 (cache_valid_p): New function.
17691 (__check_pf): Use it.
17692 * NEWS: Add item for --disable-nscd.
17693
07e51550
DL
176942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17695
17696 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17697 to support sed >= 4.2.1-20-ga9bf076.
17698 * configure: Regenerated.
17699
35a5b08b
RM
177002012-08-22 Roland McGrath <roland@hack.frob.com>
17701
17702 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17703 Conditionalize whole body on [IREL].
17704
8479f23a
JL
177052012-08-22 Jeff Law <law@redhat.com>
17706
17707 [BZ #14505]
17708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17709 if the family is PF_UNSPEC.
17710
48da0b21
MF
177112012-08-22 Mike Frysinger <vapier@gentoo.org>
17712
17713 * Makerules (lib-version): Rename from V.
17714 (install-lib-nosubdir): Change V to lib-version.
17715
15d0da8c
WS
177162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17717
17718 [BZ #14252]
17719 * powerpc32/power6/wcschr.c: New file.
17720 * powerpc32/power6/wcscpy.c: New file.
17721 * powerpc32/power6/wcsrchr.c: New file.
17722 * powerpc64/power6/wcschr.c: New file.
17723 * powerpc64/power6/wcscpy.c: New file.
17724 * powerpc64/power6/wcsrchr.c: New file.
17725
bcca0895
MK
177262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17727
17728 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17729 (two_way_short_needle): Use it.
5a4aaa33
RM
17730 * string/strstr.c (AVAILABLE1_USES_J): Define.
17731 * string/strcasestr.c: Likewise.
99677e57
MK
17732
17733 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17734 array references.
17735 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17736
400726de
MK
17737 [BZ #11607]
17738 * NEWS: Add an entry.
17739 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17740 define their defaults.
17741 (two_way_short_needle): Detect end-of-string on-the-fly.
17742 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17743 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17744 * string/bug-strcasestr1.c: New test.
17745 * string/Makefile: Run it.
17746
20a71f2c
MK
177472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17748
17749 [BZ #11607]
17750 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17751 the first character.
17752
21ad0558
RM
177532012-08-21 Roland McGrath <roland@hack.frob.com>
17754
17755 * csu/elf-init.c (__libc_csu_irel): Function removed.
17756 * csu/libc-start.c (apply_irel): New function.
17757 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17758
0e1d9911
JM
177592012-08-21 Joseph Myers <joseph@codesourcery.com>
17760
17761 * sysdeps/unix/sysv/linux/kernel-features.h
17762 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17763 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17764 <kernel-features.h>.
17765 [__NR_fadvise64_64]: Make code unconditional.
17766 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17767 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17768 !__NR_fadvise64_64)]: Likewise.
17769 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17770 !__NR_fadvise64_64))]: Likewise.
17771 [__NR_fadvise64]: Make code unconditional.
17772 [!__NR_fadvise64]: Remove conditional code.
17773 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17774 <kernel-features.h>.
17775 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17776 unconditional.
17777 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17778 conditional code.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17780 not include <kernel-features.h>.
17781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17782 unconditional.
17783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17784 conditional code.
17785 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17786 include <kernel-features.h>.
17787 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17788 unconditional.
17789 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17790 conditional code.
17791
14a50c9d
WS
177922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17793
17794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17795 slight instruction rearrangements per scrollpipe analysis.
17796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17797
c0f4faf0
RM
177982012-08-20 Roland McGrath <roland@hack.frob.com>
17799
696da859
RM
17800 * manual/syslog.texi (syslog; vsyslog, closelog):
17801 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17802 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17803
c0f4faf0
RM
17804 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17805 DSOCAPS to match condition on defining it.
17806
348363b2
JM
178072012-08-20 Joseph Myers <joseph@codesourcery.com>
17808
a35cbf28
JM
17809 * sysdeps/unix/sysv/linux/kernel-features.h
17810 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17812 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17813 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17815 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17816 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17820
445f7ecd
JM
17821 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17822 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17823
348363b2
JM
17824 * sysdeps/unix/sysv/linux/kernel-features.h
17825 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17826 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17827 unconditional.
17828 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17829 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17830 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17831 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17832 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17833 Make code unconditional.
17834 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17835 (__mmap64) [!__NR_mmap2]: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17837 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17838 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17840 [__NR_mmap2]: Make code unconditional.
17841 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17842 (__mmap64) [!__NR_mmap2]: Likewise.
17843
bc5bc0e5
AK
178442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17845
17846 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17847
88d506de
AJ
178482012-08-18 Andreas Jaeger <aj@suse.de>
17849
17850 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17851
493387d2
MF
178522012-08-18 Mike Frysinger <vapier@gentoo.org>
17853
17854 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17855 * include/unistd.h (__have_sock_cloexec): Likewise.
17856 (__have_pipe2): Likewise.
17857 (__have_dup3): Likewise.
17858
a277af22
MF
178592012-08-18 Mike Frysinger <vapier@gentoo.org>
17860
17861 [BZ #9685]
17862 * include/unistd.h (__have_pipe2): Change define into an extern int.
17863 (__have_dup3): Likewise.
17864 * socket/have_sock_cloexec.c: Include fcntl.h.
17865 (__have_pipe2): New variable.
17866 (__have_dup3): Likewise.
17867
fdab8fd3
MF
178682012-08-17 Mike Frysinger <vapier@gentoo.org>
17869
17870 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17871
31035e80
MP
178722012-08-17 Marek Polacek <polacek@redhat.com>
17873
17874 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17875 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17876
3bd9e993
RM
178772012-08-17 Roland McGrath <roland@hack.frob.com>
17878
c91c505f
RM
17879 * configure.in: Add AC_SUBST for sysheaders.
17880 * configure: Regenerated.
17881 * config.make.in (sysheaders): New substituted variable.
17882
7c6f9d53
RM
17883 * sysdeps/unix/mkfifo.c: Moved ...
17884 * sysdeps/posix/mkfifo.c: ... here.
17885 * sysdeps/unix/mkfifoat.c: Moved ...
17886 * sysdeps/posix/mkfifoat.c: ... here.
17887
17888 * sysdeps/unix/utime.c: Moved ...
17889 * sysdeps/posix/utime.c: ... here.
17890
17891 * sysdeps/unix/time.c: Moved ...
17892 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17893 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17894 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17895
17896 * sysdeps/unix/nice.c: Moved ...
17897 * sysdeps/posix/nice.c: ... here.
17898
17899 * sysdeps/unix/alarm.c: Moved ...
17900 * sysdeps/posix/alarm.c: ... here.
17901
3bd9e993
RM
17902 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17903
d1f09384
JL
179042012-08-17 Jeff Law <law@redhat.com>
17905
17906 * intl/Makefile (codeset_mo): New variable.
17907 ($(codeset_mo)): New target.
17908 (tst-codeset.out): Depend on that. Remove explicit rule.
17909 (tst-gettext3.out, tst-gettext5.out): Likewise.
17910 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17911 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17912 * intl/tst-codeset.sh: Remove.
17913 * intl/tst-gettext3.sh: Likewise.
17914 * intl/tst-gettext5.sh: Likewise.
17915
2ae1ae5c
RM
179162012-08-17 Roland McGrath <roland@hack.frob.com>
17917
c31fdb83
RM
17918 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17919 * sysdeps/unix/syscalls.list: ... here.
17920
a0844057
RM
17921 * sysdeps/posix/getaddrinfo.c
17922 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17923 (gaiconf_init, gaiconf_reload): Use them.
17924 [!_STATBUF_ST_NSEC]
17925 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17926 Define using time_t rather than struct timespec.
17927
750c1f2a
RM
17928 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17929 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17930 Macros removed.
17931 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17932 [!NO_THREADS].
17933 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17934 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17935 Likewise.
17936
2ae1ae5c
RM
17937 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17938 __libc_cleanup_push argument.
17939
e66a42f5
RM
17940 * bits/param.h: New file.
17941 * misc/sys/param.h: New file.
17942 * include/sys/param.h: New file.
17943 * misc/Makefile (headers): Add bits/param.h.
17944 * sysdeps/generic/sys/param.h: File removed.
17945 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17946 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17947 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17948 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17949
b7c08a66
RM
17950 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17951 last change.
17952
b2e1c562
RM
17953 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17954 [_IO_MTSAFE_IO].
17955 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17956 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17957 New macros.
17958
c75ccd4c
RM
17959 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17960 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17961 rather than -D_IO_MTSAFE_IO conditionally.
17962 * stdio-common/Makefile (CPPFLAGS): Likewise.
17963 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17964 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17965 Use $(libio-mtsafe).
17966 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17967 of -D_IO_MTSAFE_IO.
17968 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17969 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17970 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17971 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17972 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17973 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17974 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17975 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17976 (CFLAGS-fread_u_chk.c): Likewise.
17977 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17978 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17979 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17980 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17981 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17982 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17983 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17984 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17985 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17986
17987 * libio/Makefile: Test [$(libc-reentrant) = yes]
17988 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17989
17990 * Makeconfig
17991 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17992 * sysdeps/pthread/configure: File removed.
17993 * sysdeps/pthread/Makeconfig: New file.
17994 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17995 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17996
d9195db8
GB
179972012-08-16 Gary Benson <gbenson@redhat.com>
17998
17999 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18000 unmapping the first object in a namespace.
18001
86466cd9
RM
180022012-08-16 Roland McGrath <roland@hack.frob.com>
18003
18004 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18005 (__internal_setnetgrent): ... this. Add internal_function to
18006 definition. Add libc_hidden_def.
18007 (setnetgrent): Update caller.
18008 (internal_endnetgrent): Renamed to ...
18009 (__internal_endnetgrent): ... this. Add internal_function to
18010 definition. Add libc_hidden_def.
18011 (endnetgrent): Update caller.
18012 (internal_getnetgrent_r): Renamed to ...
18013 (__internal_getnetgrent_r): ... this. Add internal_function to
18014 definition. Add libc_hidden_def.
18015 (__getnetgrent_r): Update caller.
18016 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18017
c3c8283c
JM
180182012-08-16 Joseph Myers <joseph@codesourcery.com>
18019
18020 * stdlib/longlong.h: Update from GCC.
18021
db1ee0a8
RM
180222012-08-16 Roland McGrath <roland@hack.frob.com>
18023
18024 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18025 on _QL, which is set by umul_ppmm but never used.
18026 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18027 variables, which are set by GMP macros but never used.
18028 * stdio-common/_itowa.c (_itowa): Likewise.
18029 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18030 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18031
30f69637
CD
180322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18033
18034 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18035 struct La_sh_regs is not constant.
18036 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18037 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18038 and struct La_sparc64_regs are not constant.
18039
93a78ac4
JM
180402012-08-16 Joseph Myers <joseph@codesourcery.com>
18041
18042 * sysdeps/unix/sysv/linux/kernel-features.h
18043 (__ASSUME_POSIX_TIMERS): Remove.
18044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18046 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18047 Make code unconditional.
18048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18049 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18050 Make code unconditional.
18051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18052 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18053 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18055 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18056 Make code unconditional.
18057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18058 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18059 (__libc_missing_posix_timers): Remove.
18060
dd924cd7
RM
180612012-08-15 Roland McGrath <roland@hack.frob.com>
18062
4b4f2771
RM
18063 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18064 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18065
601c888b
RM
18066 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18067
176790a7
RM
18068 * elf/dl-sym.c: Include <stdlib.h>.
18069
329bc018
RM
18070 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18071 constants, which avoids warnings in 32-bit builds.
18072
e04e272d
RM
18073 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18074 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18075
952bf94a
RM
18076 * misc/lseek.c: File moved to ...
18077 * io/lseek.c: ... here.
18078
7c99b50a
RM
18079 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18080
dd924cd7
RM
18081 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18082 shifting LEN more than 31 bits at once.
18083
b3f479a8
LD
180842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18085
18086 [BZ #14195]
8c4ae0d4
RM
18087 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18088 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18089 * string/test-strncasecmp.c (check1): Renamed to...
18090 (bz12205): ...this.
18091 (bz14195): Add new testcase for two empty input strings and N > 0.
18092 (test_main): Call new testcase, adapt for renamed function.
18093
9c55864e
AJ
180942012-08-15 Andreas Jaeger <aj@suse.de>
18095
18096 [BZ #14090]
18097 * crypt/md5test2.c: New test, based on test supplied by Serge
18098 Belyshev <belyshev@depni.sinp.msu.ru>.
18099 * crypt/Makefile (xtests): Add md5test-giant..
18100 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18101
02dcb6c5
PE
181022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18103
18104 [BZ #14090]
18105 * crypt/md5.c (md5_process_block): Don't assume the buffer
18106 length is less than 2**32.
18107 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18108 length is less than 2**64.
18109
a3f95dcc
RM
181102012-08-15 Roland McGrath <roland@hack.frob.com>
18111
be75d758
RM
18112 * string/str-two-way.h: Include <sys/param.h>.
18113 (MAX): Macro removed.
18114
7312ca90
RM
18115 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18116 Move #define and #undef of memmove to just before and after
18117 including <string.h>.
18118
9a0a5486
RM
18119 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18120 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18121 and after including <string.h>. Move declarations of
18122 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18123 to before #include "string/memmove.c".
18124
67cc348d
RM
18125 * include/dirent.h: Declare __getdirentries.
18126
a3f95dcc
RM
18127 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18128 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18129
ca98e171
MF
181302012-08-14 Mike Frysinger <vapier@gentoo.org>
18131
18132 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18133 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18134 * sysdeps/i386/configure: Regenerated.
18135 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18136 STABS_CURRENT_FILE, and STABS_FUN.
18137 (END): Remove call to STABS_FUN_END.
18138 (STABS_CURRENT_FILE1): Delete.
18139 (STABS_CURRENT_FILE): Likewise.
18140 (STABS_FUN): Likewise.
18141 (STABS_FUN_END): Likewise.
18142 (STABS_FUN2): Likewise.
18143 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18144 * sysdeps/x86_64/configure: Regenerated.
18145
5908bf46
RM
181462012-08-14 Roland McGrath <roland@hack.frob.com>
18147
18148 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18149 * elf/dl-lookup.c: Likewise.
5908bf46 18150
f2c05b9e
JM
181512012-08-14 Joseph Myers <joseph@codesourcery.com>
18152
18153 * sysdeps/unix/sysv/linux/kernel-features.h
18154 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18155 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18156 unconditionally.
18157 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18158 unconditionally.
18159 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18160 condition on __ASSUME_CLONE_THREAD_FLAGS.
18161
e11f5155
AJ
181622012-08-14 Andreas Jaeger <aj@suse.de>
18163
18164 * sysdeps/i386/fpu/libm-test-ulps: Update.
18165
51a9ba86
MK
181662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18167
2fdd4f78
AJ
18168 * include/atomic.h (atomic_exchange_and_add): Split into ...
18169 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18170 New atomic macros.
51a9ba86 18171
ba6cba9e
MT
181722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18173
18174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18175
42443a47
JL
181762012-08-13 Jeff Law <law@redhat.com>
18177
18178 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18179 null byte in the output string.
18180
121dce05
JM
181812012-08-10 Joseph Myers <joseph@codesourcery.com>
18182
18183 * sysdeps/unix/sysv/linux/kernel-features.h
18184 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18185 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18186 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18187 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18188 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18189 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18190 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18191
bf51f568
JL
181922012-08-09 Jeff Law <law@redhat.com>
18193
18194 [BZ #13939]
18195 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18196 When avoid_arena is set, don't retry in the that arena. Pick the
18197 next one, whatever it might be.
18198 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18199 (arena_lock): Pass in new parameter to arena_get2.
18200 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18201 arena_get2.
18202 (__libc_malloc): Unify retrying after main arena failure with
18203 __libc_memalign version.
18204 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18205
f85fa270
L
182062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 [BZ #14166]
18209 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18210 to __redirect_strstr.
18211 (__strstr_sse42): Use typeof __redirect_strstr.
18212 (__strstr_ia32): Likewise.
18213 (__libc_strstr): New prototype.
18214 (strstr): Renamed to ...
18215 (__libc_strstr): This.
18216 (strstr): New strong alias of __libc_strstr.
18217 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18219 __redirect_time.
18220 Include <time.h>.
18221 (__libc_time): New prototype.
18222 (time_ifunc): Replace time with __libc_time.
18223 (time): New strong alias and hidden definition of __libc_time.
18224 (__GI_time): Remove strong alias.
18225 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18226 Include <stddef.h>.
18227 (memmove): Redefined to __redirect_memmove.
18228 (__memmove_sse2): Use typeof __redirect_memmove.
18229 (__memmove_ssse3): Likewise.
18230 (__memmove_ssse3_back): Likewise.
18231 (__libc_memmove): New prototype.
18232 (memmove): Renamed to ...
18233 (__libc_memmove): This.
18234 (memmove): New strong alias of __libc_memmove.
18235
33b4a91e
MS
182362012-08-08 Mark Salter <msalter@redhat.com>
18237
18238 * elf/elf.h
18239 (R_MN10300_TLS_GD): Define.
18240 (R_MN10300_TLS_LD): Likewise.
18241 (R_MN10300_TLS_LDO): Likewise.
18242 (R_MN10300_TLS_GOTIE): Likewise.
18243 (R_MN10300_TLS_IE): Likewise.
18244 (R_MN10300_TLS_LE): Likewise.
18245 (R_MN10300_TLS_DTPMOD): Likewise.
18246 (R_MN10300_TLS_DTPOFF): Likewise.
18247 (R_MN10300_TLS_TPOFF): Likewise.
18248 (R_MN10300_SYM_DIFF): Likewise.
18249 (R_MN10300_ALIGN): Likewise.
18250 (R_MN10300_NUM): Update.
18251
b36137f1
JM
182522012-08-08 Joseph Myers <joseph@codesourcery.com>
18253
18254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18255 Remove.
18256
cdd915fd
RM
182572012-08-08 Roland McGrath <roland@hack.frob.com>
18258
a2433aac
RM
18259 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18260
cdd915fd
RM
18261 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18262 sysdeps/unix -> sysdeps/posix move.
18263 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18264
bf9b740a
AM
182652012-08-07 Allan McRae <allan@archlinux.org>
18266
18267 [BZ #14303]
18268 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18269 (SUNOS_CPP): Likewise.
18270 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18271 not found.
18272 (open_input): Call CPP using execvp.
18273
93df14ee
JM
182742012-08-07 Joseph Myers <joseph@codesourcery.com>
18275
18276 * sysdeps/unix/sysv/linux/kernel-features.h
18277 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18280 (__ASSUME_WAITID_SYSCALL): Likewise.
18281 * sysdeps/unix/sysv/linux/dl-execstack.c
18282 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18283 code unconditional.
18284 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18285 conditional code.
18286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18287 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18288 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18289 code.
18290 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18291 unconditional.
18292 [__ASSUME_WAITID_SYSCALL]: Likewise.
18293 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18294
d34689de
RM
182952012-08-07 Roland McGrath <roland@hack.frob.com>
18296
a281decc
RM
18297 * sysdeps/unix/closedir.c: Renamed to ...
18298 * sysdeps/posix/closedir.c: ... here.
18299 * sysdeps/unix/dirfd.c: Renamed to ...
18300 * sysdeps/posix/dirfd.c: ... here.
18301 * sysdeps/unix/dirstream.h: Renamed to ...
18302 * sysdeps/posix/dirstream.h: ... here.
18303 * sysdeps/unix/fdopendir.c: Renamed to ...
18304 * sysdeps/posix/fdopendir.c: ... here.
18305 * sysdeps/unix/opendir.c: Renamed to ...
18306 * sysdeps/posix/opendir.c: ... here.
18307 * sysdeps/unix/readdir.c: Renamed to ...
18308 * sysdeps/posix/readdir.c: ... here.
18309 * sysdeps/unix/readdir_r.c: Renamed to ...
18310 * sysdeps/posix/readdir_r.c: ... here.
18311 * sysdeps/unix/rewinddir.c: Renamed to ...
18312 * sysdeps/posix/rewinddir.c: ... here.
18313 * sysdeps/unix/seekdir.c: Renamed to ...
18314 * sysdeps/posix/seekdir.c: ... here.
18315 * sysdeps/unix/telldir.c: Renamed to ...
18316 * sysdeps/posix/telldir.c: ... here.
18317 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18318 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18319 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18320 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18321
22895b47
RM
18322 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18323 * bits/fcntl.h: ... here.
18324
707a53b6
RM
18325 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18326 not 0.
18327 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18328 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18329 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18330 (struct flock): Move l_start, l_len to the beginning.
18331 Use __pid_t for l_pid.
18332 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18333 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18334 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18335 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18336 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18337 [__USE_LARGEFILE64] (struct flock64): New type.
18338 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18339
f0bd3e25
RM
18340 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18341 * bits/dirent.h: ... here.
18342
d34689de
RM
18343 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18344 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18345
6dad2c06
JM
183462012-08-07 Joseph Myers <joseph@codesourcery.com>
18347
18348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18349 Change from 2.6.0 to 2.6.16.
18350 * sysdeps/unix/sysv/linux/configure: Regenerated.
18351 * sysdeps/unix/sysv/linux/kernel-features.h
18352 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18353 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18354 version.
18355 (__ASSUME_UTIMES): Likewise.
18356 (__ASSUME_CLONE_STOPPED): Remove.
18357 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18358 architectures, not kernel version.
18359 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18362 (__ASSUME_WAITID_SYSCALL): Likewise.
18363 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18364 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18365 * README: State 2.6.16 as minimum Linux kernel version. Do not
18366 refer to older versions.
18367
03af9520
RM
183682012-08-06 Roland McGrath <roland@hack.frob.com>
18369
8e49df1d
RM
18370 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18371 Define alphasort64 as an alias.
18372 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18373 Define versionsort64 as an alias.
18374 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18375 Define scandir64 as an alias.
18376 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18377 Define scandirat64 as an alias.
18378 * dirent/alphasort64.c (alphasort64):
18379 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18380 * dirent/versionsort64.c: Likewise.
18381 * dirent/scandir64.c: Likewise.
18382 * dirent/scandirat64.c: Likewise.
18383 * sysdeps/wordsize-64/alphasort.c: File removed.
18384 * sysdeps/wordsize-64/alphasort64.c: File removed.
18385 * sysdeps/wordsize-64/scandir.c: File removed.
18386 * sysdeps/wordsize-64/scandir64.c: File removed.
18387 * sysdeps/wordsize-64/scandirat.c: File removed.
18388 * sysdeps/wordsize-64/scandirat64.c: File removed.
18389 * sysdeps/wordsize-64/versionsort.c: File removed.
18390 * sysdeps/wordsize-64/versionsort64.c: File removed.
18391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18399
18400 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18402 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18404 [defined __arch64__ || defined __sparcv9]
18405 (__INO_T_MATCHES_INO64_T): New macro.
18406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18407 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18408 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18409 * sysdeps/unix/sysv/linux/bits/dirent.h
18410 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18411 (_DIRENT_MATCHES_DIRENT64): New macro.
18412
03af9520
RM
18413 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18414 Define lockf64 as an alias.
18415 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18416 Define fseeko64 as an alias.
18417 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18418 Define ftello64 as an alias.
18419 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18420 Define _IO_fgetpos64 and fgetpos64 as aliases.
18421 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18422 Define _IO_fsetpos64 and fsetpos64 as aliases.
18423 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18424 Conditionalize body on this.
18425 * libio/fseeko64.c: Likewise.
18426 * libio/ftello64.c: Likewise.
18427 * libio/iofgetpos64.c: Likewise.
18428 * libio/iofsetpos64.c: Likewise.
18429 * sysdeps/wordsize-64/lockf.c: File removed.
18430 * sysdeps/wordsize-64/lockf64.c: File removed.
18431 * sysdeps/wordsize-64/fseeko.c: File removed.
18432 * sysdeps/wordsize-64/fseeko64.c: File removed.
18433 * sysdeps/wordsize-64/ftello.c: File removed.
18434 * sysdeps/wordsize-64/ftello64.c: File removed.
18435 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18436 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18437 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18438 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18449
18450 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18452 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18454 [defined __arch64__ || defined __sparcv9]
18455 (__OFF_T_MATCHES_OFF64_T): New macro.
18456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18457 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18459 (__OFF_T_MATCHES_OFF64_T): New macro.
18460
c5757acd
L
184612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18462
18463 * stdlib/secure-getenv.c (__secure_getenv): Replace
18464 GLIBC_2_16 with GLIBC_2_17.
18465
3a31811e
L
184662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18470
faa2bccb
DM
184712012-08-03 David S. Miller <davem@davemloft.net>
18472
18473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18474
85fe1997
JM
184752012-08-03 Joseph Myers <joseph@codesourcery.com>
18476
18477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18478 Remove.
18479 (__ASSUME_CORRECT_SI_PID): Likewise.
18480 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18481 (__ASSUME_TMPFS_NAME): Likewise.
18482 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18483 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18484 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18485 (HAVE_AUX_SECURE): Make definition unconditional.
18486 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18487 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18488
4f75b7a0
RM
184892012-08-03 Roland McGrath <roland@hack.frob.com>
18490
18491 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18492 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18493 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18494 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18495 __eloop_threshold instead of SYMLOOP_MAX.
18496
18497 * sysdeps/generic/eloop-threshold.h: New file.
18498 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18499 of MAXSYMLINKS.
18500 * elf/chroot_canon.c (chroot_canon): Likewise.
18501
7aab07e4
JM
185022012-08-03 Joseph Myers <joseph@codesourcery.com>
18503
18504 [BZ #13717]
18505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18506 Change to 2.6.0 everywhere.
18507 * sysdeps/unix/sysv/linux/configure: Regenerated.
18508 * sysdeps/unix/sysv/linux/kernel-features.h
18509 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18510 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18511 kernel versions.
18512 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18513 (__ASSUME_FUTEX_REQUEUE): Remove.
18514 (__ASSUME_STATFS64): Define unconditionally.
18515 (__ASSUME_AT_SECURE): Likewise.
18516 (__ASSUME_CORRECT_SI_PID): Likewise.
18517 (__ASSUME_TGKILL): Define without depending on kernel version for
18518 i386.
18519 (__ASSUME_UTIMES): Likewise.
18520 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18521 kernel version.
18522 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18523 (__ASSUME_TMPFS_NAME): Likewise.
18524 * README: Update reference to Linux kernel versions.
18525
b67e9372
MP
185262012-08-02 Marek Polacek <polacek@redhat.com>
18527
1f529f7d 18528 [BZ# 14150]
b67e9372
MP
18529 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18530 libc_cv_asm_type_prefix with %.
18531 * configure: Regenerated.
d2441631
RM
18532 * include/libc-symbols.h: Remove comment about
18533 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18534 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18535 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18536 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18537 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18538 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18540 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18541 * elf/tst-unique2mod1.c: Likewise.
18542 * elf/tst-unique1mod2.c: Likewise.
18543 * elf/tst-unique1mod1.c: Likewise.
18544 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18545 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18546 Replace ASM_TYPE_DIRECTIVE with .type.
18547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18548 * sysdeps/i386/sysdep.h: Likewise.
18549 * sysdeps/x86_64/sysdep.h: Likewise.
18550 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18552 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18553 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18554 * sysdeps/powerpc/powerpc32/sysdep.h:
18555 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18556 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18558 * sysdeps/i386/fpu/e_powf.S: Likewise.
18559 * sysdeps/i386/fpu/e_expl.S: Likewise.
18560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18561 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18562 * sysdeps/i386/fpu/e_pow.S: Likewise.
18563 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18564 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18565 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18566 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18567 * sysdeps/i386/fpu/e_log2.S: Likewise.
18568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18570 * sysdeps/i386/fpu/e_powl.S: Likewise.
18571 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18572 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18573 * sysdeps/i386/fpu/e_logl.S: Likewise.
18574 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18575 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18576 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18578 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18579 * sysdeps/i386/fpu/e_log.S: Likewise.
18580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18581 * sysdeps/i386/fpu/e_logf.S: Likewise.
18582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18583 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18584 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18585 * sysdeps/i386/fpu/e_log10.S: Likewise.
18586 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18588 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18589 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18591 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18592 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18593 * sysdeps/i386/i686/strtok.S: Likewise.
18594 * sysdeps/i386/i386-mcount.S: Likewise.
18595 * sysdeps/i386/strtok.S: Likewise.
18596 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18600 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18602 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18603 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18605 * sysdeps/x86_64/_mcount.S: Likewise.
18606 * sysdeps/x86_64/strtok.S: Likewise.
18607 * sysdeps/sh/_mcount.S: Likewise.
18608
2747bf9a
RM
186092012-08-01 Roland McGrath <roland@hack.frob.com>
18610
18611 * libio/iofopen.c: Include <fcntl.h>.
18612 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18613 (_IO_fopen64, fopen64): Define as aliases.
18614 * libio/iofopen64.c: Include <fcntl.h>.
18615 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18616 Conditionalize body on this.
18617 * sysdeps/wordsize-64/iofopen.c: File removed.
18618 * sysdeps/wordsize-64/iofopen64.c: File removed.
18619
3fb791b8
MP
186202012-08-01 Marek Polacek <polacek@redhat.com>
18621
18622 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18623 Use dlfcn directly instead of a variable.
18624 (binfmt-subdir): Do not define.
18625 (dlfcn): Likewise.
18626
a9f1039f
JM
186272012-08-01 Joseph Myers <joseph@codesourcery.com>
18628
23bddc06
JM
18629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18630 Remove all definitions.
18631 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18632 <kernel-features.h>.
18633 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18634 (miss_F_GETOWN_EX): Remove all definitions.
18635 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18636 macro definition.
18637 [!__ASSUME_FCNTL64]: Remove conditional code.
18638 [__ASSUME_FCNTL64]: Make code unconditional.
18639 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18640 <kernel-features.h>.
18641 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18642 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18643 (lockf64) [__NR_fcntl64]: Make code unconditional.
18644 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18645
a9f1039f
JM
18646 * sysdeps/unix/sysv/linux/kernel-features.h
18647 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18648 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18649 Make code unconditional.
18650 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18651 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18653 [__NR_vfork]: Make code unconditional.
18654 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18655 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18657 [__NR_vfork]: Make code unconditional.
18658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18660
09c0ee5f
RM
186612012-08-01 Roland McGrath <roland@hack.frob.com>
18662
48aec5b9
RM
18663 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18664 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18665
cd97c966
RM
18666 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18667 Define mkstemp64 as an alias.
3f55550c
RM
18668 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18669 Define mkstemps64 as an alias.
cd97c966
RM
18670 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18671 Define mkostemp64 as an alias.
b8625cfc
RM
18672 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18673 Define mkostemps64 as an alias.
cd97c966
RM
18674 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18675 Conditionalize body on this.
18676 * misc/mkostemp64.c: Likewise.
b8625cfc 18677 * misc/mkostemps64.c: Likewise.
3f55550c 18678 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18679 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18680 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18681 * sysdeps/wordsize-64/mkostemp.c: File removed.
18682 * sysdeps/wordsize-64/mkstemp.c: File removed.
18683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18686 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18687
09c0ee5f
RM
18688 [BZ #14138]
18689 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18690 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18691 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18692 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18693
18694 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18695 compat_symbol macros from <shlib-compat.h> rather than the underlying
18696 default_symbol_version and symbol_version macros, so that DEFAULT
18697 lines in shlib-versions are respected.
18698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18699
7e66ee51
FW
187002012-08-01 Florian Weimer <fweimer@redhat.com>
18701
18702 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18703 Declare with warn_unused_result.
18704 (setgid, setregid, setegid, setresgid): Likewise.
18705 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18706 Likewise.
18707 * WUR-REPORT: Remove set*id functions.
18708
d2a54255
PT
187092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18710
18711 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18712
7ecdb005
RM
187132012-07-31 Roland McGrath <roland@hack.frob.com>
18714
b4180a5e 18715 [BZ #10191]
789bd351
RM
18716 * include/sys/socket.h (__libc_accept, __libc_accept4):
18717 Add attribute_hidden.
18718 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18719
40ce302d
RM
18720 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18721 use of PTR_MANGLE.
18722 * inet/getnetgrent_r.c (setup): Likewise.
18723
7ecdb005
RM
18724 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18725
e2eabb2c
DM
187262012-07-31 David S. Miller <davem@davemloft.net>
18727
18728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18729
d0419dbf
JM
187302012-07-31 Joseph Myers <joseph@codesourcery.com>
18731
18732 [BZ #13629]
18733 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18734 value between 1.0 and 2.0 and smaller part has absolute value less
18735 than 1.0.
18736 * math/s_clog10.c (__clog10): Likewise.
18737 * math/s_clog10f.c (__clog10f): Likewise.
18738 * math/s_clog10l.c (__clog10l): Likewise.
18739 * math/s_clogf.c (__clogf): Likewise.
18740 * math/s_clogl.c (__clogl): Likewise.
18741 * math/libm-test.inc (clog_test): Add more tests.
18742 (clog10_test): Likewise.
18743 * sysdeps/i386/fpu/libm-test-ulps: Update.
18744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18745
2bc13872
FW
187462012-07-31 Florian Weimer <fweimer@redhat.com>
18747
18748 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18749 Exit with zero in case no suitable GID is found, and write a
18750 message to standard error.
18751
bea9b193
RM
187522012-07-30 Roland McGrath <roland@hack.frob.com>
18753
18754 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18755 rather than to 1.
18756 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18757 (MAXPATHLEN): Removed.
18758 (NOGROUP, NODEV): New macros.
18759 (setbit, clrbit, isset, isclr): New macros.
18760 (howmany, roundup, powerof2): New macros.
18761 (DEV_BSIZE): New macro.
18762
18763 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18764 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18765
18766 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18767 definition on [!__NO_LONG_DOUBLE_MATH].
18768
18769 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18770 PTR_MANGLE and PTR_DEMANGLE.
18771
18772 * socket/accept4.c (accept4): Rename to __libc_accept4.
18773 Define accept4 as a weak alias.
18774
18775 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18776 on [_DIRENT_HAVE_D_TYPE].
18777 * io/ftw.c (ftw_dir): Likewise.
18778
18779 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18780
18781 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18782
18783 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18784 Use the BSD numbers rather than the arbitrary ones we had.
18785 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18786 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18787 (SIGXCPU, SIGXFSZ): New macros.
18788 (_NSIG): Now 32.
18789
18790 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18791 initializer on [_LIBC_REENTRANT].
18792
18793 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18794 definitions inside [_POSIX_MAPPED_FILES].
18795
18796 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18797
18798 * dirent/opendir.c: Include <fcntl.h>.
18799
18800 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18801 (__libc_getspecific): Likewise.
18802 (__libc_key_create): Likewise.
18803
18804 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18805 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18806 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18807 (tmpfile64): Define as alias.
18808 * sysdeps/wordsize-64/tmpfile.c: File removed.
18809 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18812
18813 * stdio-common/vfscanf.c: Include <stdbool.h>.
18814 * nss/makedb.c: Likewise.
18815 * stdio-common/_i18n_number.h: Likewise.
18816 * argp/argp-help.c: Likewise.
18817 * posix/wordexp.c: Likewise.
18818 * sysdeps/posix/spawni.c: Likewise.
18819 * nss/nss_files/files-initgroups.c: Likewise.
18820 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18821 * nss/nss_files/files-initgroups.c: Likewise.
18822 * nss/nss_db/db-netgrp.c: Likewise.
18823 * nss/nss_db/db-initgroups.c: Likewise.
18824 * io/fchmodat.c: Include <sys/stat.h>.
18825
18826 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18827 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18828
18829 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18830 [HAVE_MMAP].
18831
18832 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18833 Add multiple inclusion protection.
18834
e5abc686
DM
188352012-07-27 David S. Miller <davem@davemloft.net>
18836
18837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18838
815e6fa3
GB
188392012-07-27 Gary Benson <gbenson@redhat.com>
18840
18841 [BZ #14298]
18842 * elf/rtld.c: Include <stap-probe.h>.
18843 (dl_main): Added static probes "init_start" and "init_complete".
18844 * elf/dl-load.c: Include <stap-probe.h>.
18845 (lose): Take new parameter "nsid".
18846 Added static probe "map_failed".
18847 (_dl_map_object_from_fd): Pass namespace id to lose.
18848 Added static probe "map_start".
18849 (open_verify): Pass namespace id to lose.
18850 * elf/dl-open.c: Include <stap-probe.h>.
18851 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18852 and "reloc_complete".
18853 * elf/dl-close.c: Include <stap-probe.h>.
18854 (_dl_close_worker): Added static probes "unmap_start" and
18855 "unmap_complete".
18856 * elf/rtld-debugger-interface.txt: New file documenting the above.
18857
9f98c16c
RM
188582012-07-26 Roland McGrath <roland@hack.frob.com>
18859
18860 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18861 rather than a string variable.
18862 * sunrpc/rpc_main.c (h_output): Likewise.
18863 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18864
f3c22df3
PT
188652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18866
18867 * inet/check_native.c: New file.
18868
3129cfc6
JM
188692012-07-26 Joseph Myers <joseph@codesourcery.com>
18870
da865e95
JM
18871 [BZ #13629]
18872 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18873 if larger part has absolute value 1.0.
18874 * math/s_clog10.c (__clog10): Likewise.
18875 * math/s_clog10f.c (__clog10f): Likewise.
18876 * math/s_clog10l.c (__clog10l): Likewise.
18877 * math/s_clogf.c (__clogf): Likewise.
18878 * math/s_clogl.c (__clogl): Likewise.
18879 * math/libm-test.inc (clog_test): Add more tests.
18880 (clog10_test): Likewise.
18881 * sysdeps/i386/fpu/libm-test-ulps: Update.
18882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18883
3129cfc6
JM
18884 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18885 (pltexit): Likewise.
18886 (La_regs): Likewise.
18887 (La_retval): Likewise.
18888 (int_retval): Likewise.
18889 Update #error for removed macros to refer only to definitions in
18890 tst-audit.h.
18891 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18892 macro.
18893 (pltexit): Likewise.
18894 (La_regs): Likewise.
18895 (La_retval): Likewise.
18896 (int_retval): Likewise.
18897 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18898 macro.
18899 (pltexit): Likewise.
18900 (La_regs): Likewise.
18901 (La_retval): Likewise.
18902 (int_retval): Likewise.
18903 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18904 macro.
18905 (pltexit): Likewise.
18906 (La_regs): Likewise.
18907 (La_retval): Likewise.
18908 (int_retval): Likewise.
18909 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18910 macro.
18911 (pltexit): Likewise.
18912 (La_regs): Likewise.
18913 (La_retval): Likewise.
18914 (int_retval): Likewise.
18915 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18916 macro.
18917 (pltexit): Likewise.
18918 (La_regs): Likewise.
18919 (La_retval): Likewise.
18920 (int_retval): Likewise.
18921 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18922 macro.
18923 (pltexit): Likewise.
18924 (La_regs): Likewise.
18925 (La_retval): Likewise.
18926 (int_retval): Likewise.
18927 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18928 macro definitions in tst-audit.h.
18929 * sysdeps/i386/tst-audit.h: New file.
18930 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18931 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18932 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18933 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18934 * sysdeps/sh/tst-audit.h: Likewise.
18935 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18936 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18937 * sysdeps/x86_64/tst-audit.h: Likewise.
18938
bfc07087
AJ
189392012-07-26 Andreas Jaeger <aj@suse.de>
18940
b1b2aaf8
AJ
18941 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18942 ptrace.
18943
18944 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18945 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18946 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18947 PTRACE_O_MASK.
18948 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18949 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18951
bfc07087
AJ
18952 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18953 value.
18954
18955 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18956 _sigsys.
18957 (si_call_addr, si_syscall, si_arch): Define new macro.
18958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18959 _sigsys.
18960 (si_call_addr, si_syscall, si_arch): Define new marcro.
18961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18962 _sigsys.
18963 (si_call_addr, si_syscall, si_arch): Define new macro.
18964 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18965 _sigsys.
18966 (si_call_addr, si_syscall, si_arch): Define new macro.
18967
89b4b02f
JM
189682012-07-25 Joseph Myers <joseph@codesourcery.com>
18969
18970 [BZ #13717]
18971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18972 Change to 2.4.21 where previously 2.4.1.
18973 * sysdeps/unix/sysv/linux/configure: Regenerated.
18974 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18975 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18976 Linux kernel version.
18977 (__ASSUME_STD_AUXV): Remove.
18978 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18979 kernel version.
18980 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18981 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18982 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18983 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18984 (__ASSUME_NETLINK_SUPPORT): Likewise.
18985 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18986 (__no_netlink_support): Remove conditional definition.
18987 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18988 Remove.
18989 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18990 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18992 (if_nameindex_ioctl): Remove.
18993 (if_nameindex_netlink): Do not handle __no_netlink_support.
18994 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18995 code.
18996 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18997 Remove conditional code.
18998 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18999 code.
19000 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19001 unconditional.
19002 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19003 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19004 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19005 Remove.
19006 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19007 [!__ASSUME_STD_AUXV]: Remove conditional code.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19009 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19010 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19012 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19013 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19014 code.
19015 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19017 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19018 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19019 conditional code.
19020 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19022 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19023 code.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19026 conditional code.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19028 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19029 code unconditional.
19030 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19031 conditional code.
19032 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19033 unconditional.
19034 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19035 conditional code.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19037 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19038 unconditional.
19039 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19040 conditional code.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19042 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19043 code unconditional.
19044 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19045 conditional code.
19046 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19047 unconditional.
19048 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19049 conditional code.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19051 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19052 code unconditional.
19053 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19054 conditional code.
19055 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19056 unconditional.
19057 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19058 conditional code.
19059
842a39cd
AS
190602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19061
19062 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19063 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19064 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19065 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19066 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19067 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19068 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19069 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19070 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19071 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19072 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19073 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19074 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19075 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19077 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19078 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19080 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19082 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19083 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19085
84b3fd84
FW
190862012-07-25 Florian Weimer <fweimer@redhat.com>
19087
19088 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19089 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19090 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19091 Introduce __libc_secure_getenv.
0c7936d5
FW
19092 * stdlib/Versions (2.17): Add secure_getenv
19093 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19094 * stdlib/secure-getenv.c: Rename __secure_getenv to
19095 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19096 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19097 * stdlib/tst-secure-getenv.c: New.
19098 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19099 * manual/startup.texi (Environment Access): Document
19100 secure_getenv.
84b3fd84
FW
19101 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19102 __libc_secure_getenv.
19103 * inet/ruserpass.c (ruserpass): Likewise.
19104 * malloc/mtrace.c (mtrace): Likewise.
19105 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19106 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19107 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19108 * sysdeps/posix/tempname.c: Likewise. Evaluate
19109 HAVE_SECURE_GETENV.
19110 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19111 __secure_getenv to __libc_secure_getenv.
84b3fd84 19112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19114 Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19116 Likewise.
19117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19124
56e49b71
JM
191252012-07-25 Joseph Myers <joseph@codesourcery.com>
19126
19127 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19128 (struct La_i86_retval): Likewise.
19129 (struct La_x86_64_regs): Likewise.
19130 (struct La_x86_64_retval): Likewise.
19131 (struct La_x32_regs): Likewise.
19132 (struct La_x32_retval): Likewise.
19133 (struct La_ppc32_regs): Likewise.
19134 (struct La_ppc32_retval): Likewise.
19135 (struct La_ppc64_regs): Likewise.
19136 (struct La_ppc64_retval): Likewise.
19137 (struct La_sh_regs): Likewise.
19138 (struct La_sh_retval): Likewise.
19139 (struct La_s390_32_regs): Likewise.
19140 (struct La_s390_32_retval): Likewise.
19141 (struct La_s390_64_regs): Likewise.
19142 (struct La_s390_64_retval): Likewise.
19143 (struct La_sparc32_regs): Likewise.
19144 (struct La_sparc32_retval): Likewise.
19145 (struct La_sparc64_regs): Likewise.
19146 (struct La_sparc64_retval): Likewise.
19147 (struct audit_ifaces): Remove architecture-specific pltenter and
19148 pltexit members.
19149 * sysdeps/i386/ldsodefs.h: New file.
19150 * sysdeps/powerpc/ldsodefs.h: Likewise.
19151 * sysdeps/s390/ldsodefs.h: Likewise.
19152 * sysdeps/sh/ldsodefs.h: Likewise.
19153 * sysdeps/sparc/ldsodefs.h: Likewise.
19154 * sysdeps/x86_64/ldsodefs.h: Likewise.
19155
354691b7
MP
191562012-07-25 Marek Polacek <polacek@redhat.com>
19157
19158 [BZ #6808]
19159 * math/libm-test.inc (yn_test): Add another test.
19160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19161 to ERANGE when the result is +-Inf.
19162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19163 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19164 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19165 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19166
bf9e2071
JM
191672012-07-24 Joseph Myers <joseph@codesourcery.com>
19168
19169 * conform/data/time.h-data (NULL): Use macro-constant. Require
19170 equal to 0.
19171 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19172 clock_t.
19173 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19174
57633811
TS
191752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19176
19177 * configure.in <sysdeps resolving>: Correct printing
19178 Implies_before.
19179 * configure: Regenerate.
19180
c23c33b0
TS
191812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19182
19183 * math/w_ilogb.c: Include <limits.h>.
19184 * math/w_ilogbl.c: Likewise.
19185
b5982523
JM
191862012-07-20 Joseph Myers <joseph@codesourcery.com>
19187
19188 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19189 va_copy. Document allowing for unavailable va_copy only as
19190 pre-C99 compatibility.
19191 * manual/string.texi (Copying and Concatenation): Use va_copy
19192 instead of __va_copy in concat example.
19193
ac4ea442
PT
191942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19195
19196 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19197 (__sendto): Use create_address_port. Initialize APORT and deallocate
19198 it if not null.
19199
f98eafbd
PT
19200 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19201 with O_NOLINK passed to __file_name_lookup.
19202
898c7aab
PT
19203 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19204 with O_NOLINK passed to __file_name_lookup.
19205
0ced335a
PT
19206 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19207 negative N or less than NGIDS.
19208
b3404dbd
PT
19209 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19210 type to string_t. Set ERANGE as errno and return it if NAME is not big
19211 enough. Use memcpy instead of strncpy.
19212
0f48659e
JM
192132012-07-20 Joseph Myers <joseph@codesourcery.com>
19214
19215 * elf/Makefile (check-data): Remove.
19216 (localplt.data): New vpath directive.
19217 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19218 instead of $(check-data).
19219 * scripts/data/localplt-generic.data: Move to ...
19220 * sysdeps/generic/localplt.data: ... here.
19221 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19222 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19223 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19225 ... here.
19226 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19228 ... here.
19229 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19231 ... here.
19232 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19234 ... here.
19235 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19237 ... here.
19238 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19240 ... here.
19241
d37cbdaa
AZ
192422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19245 PPC32 and PPC64 files.
19246 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19247 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19248
46f85fc2
AK
192492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19250
19251 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19252 __makecontext_ret to ...
19253 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19254 ... here and call exit if uc_link is NULL. New file.
19255 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19256 __makecontext_ret.S.
19257 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19258 __makecontext_ret to ...
19259 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19260 ... here and call exit if uc_link is NULL. New file.
19261 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19262 __makecontext_ret.S.
19263
08f43f9b
AK
192642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19265
19266 * elf/elf.h (R_390_IRELATIVE): New definition.
19267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19268 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19269 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19271 (elf_machine_lazy_rel): Likewise.
19272 * sysdeps/s390/dl-irel.h: New file.
19273 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19274 * sysdeps/s390/s390-64/memset.S: New asm code.
19275 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19276 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19278 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19279 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19280 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19282 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19283 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19284 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19285 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19286 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19287 * sysdeps/s390/s390-32/memset.S: New asm code.
19288 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19289
3b05db33
MP
192902012-07-17 Marek Polacek <polacek@redhat.com>
19291
19292 [BZ #14349]
19293 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19294 * sysdeps/s390/s390-64/configure.in: Likewise.
19295 * sysdeps/sparc/configure.in: Likewise.
19296 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19297 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19298 * sysdeps/i386/configure.in: Likewise.
19299 * sysdeps/x86_64/configure.in: Likewise.
19300 * sysdeps/sh/configure.in: Likewise.
19301 * sysdeps/s390/s390-32/configure: Regenerated.
19302 * sysdeps/s390/s390-64/configure: Likewise.
19303 * sysdeps/x86_64/configure: Likewise.
19304 * sysdeps/sh/configure: Likewise.
19305 * sysdeps/powerpc/powerpc64/configure: Likewise.
19306 * sysdeps/powerpc/powerpc32/configure: Likewise.
19307 * sysdeps/sparc/configure: Likwise.
19308 * sysdeps/i386/configure: Likewise.
19309
a66877c6
MP
19310 * elf/dl-open.c: Comment fixes.
19311
cfc82fd8
JM
193122012-07-17 Joseph Myers <joseph@codesourcery.com>
19313
bd29910a
JM
19314 * Makefile [CXX] (check-data): Remove.
19315 [CXX] (c++-types.data): New vpath directive.
19316 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19317 vpath. Do not allow for C++ type data being missing.
19318 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19319 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19320 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19321 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19322 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19323 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19324 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19326 ... here.
19327 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19329 ... here.
19330 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19332 ... here.
19333 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19335 ... here.
19336 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19338 ... here.
19339 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19341 ... here.
19342 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19344 ... here.
19345 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19347
cfc82fd8
JM
19348 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19349 definitions to architecture-specific files.
19350 (TLS_IE): Likewise.
19351 (TLS_LD): Likewise.
19352 (TLS_GD): Likewise.
19353 * sysdeps/i386/tls-macros.h: New file.
19354 * sysdeps/powerpc/tls-macros.h: Likewise.
19355 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19356 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19357 * sysdeps/sh/tls-macros.h: Likewise.
19358 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19359 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19360 * sysdeps/x86_64/tls-macros.h: Likewise.
19361
f7db3170
TS
193622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19363
07cbfc23
TS
19364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19365 zero value for regular exit case.
19366
f7db3170
TS
19367 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19368 (__start_context): Preserve zero value for regular exit case.
19369
dc97c227
TS
193702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19372
19373 * manual/setjmp.texi (setcontext): Clarify normal process
19374 termination when uc_link is the null pointer.
19375 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19376 exit call.
19377
d0cd7d02
AS
193782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19379
19380 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19381 preprocessor. Test for each exception mask separately.
19382
dd318934
AJ
193832012-07-16 Andreas Jaeger <aj@suse.de>
19384
19385 * po/ru.po: Update from translation team.
19386
8048311a
JM
193872012-07-15 Joseph Myers <joseph@codesourcery.com>
19388
19389 * conform/data/string.h-data (NULL): Use macro-constant. Require
19390 equal to 0.
19391 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19392 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19393 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19394 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19396
b637d46e
AJ
193972012-07-13 Andreas Jaeger <aj@suse.de>
19398
19399 * po/fr.po: Update from translation team.
19400
541428fe
MP
194012012-07-12 Marek Polacek <polacek@redhat.com>
19402
19403 [BZ #14173]
19404 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19405 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19406 loop condition.
19407
ec332e94
JM
194082012-07-12 Joseph Myers <joseph@codesourcery.com>
19409
19410 [BZ #13717]
19411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19412 Change to 2.4.1 where previously 2.4.0.
19413 * sysdeps/unix/sysv/linux/configure: Regenerated.
19414 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19415 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19416 version.
19417 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19418 (__ASSUME_AT_CLKTCK): Remove.
19419 (__ASSUME_AT_PAGESIZE): Likewise.
19420 (__ASSUME_AT_XID): Likewise.
19421 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19422 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19423 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19424 unconditionally.
19425 (HAVE_AUX_PAGESIZE): Likewise.
19426 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19427 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19428 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19429
7b6e99be
JB
194302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19431
19432 [BZ #14307]
19433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19434 the temporary buffer used to invoke __gethostbyname2_r,
19435 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19436 host_data / struct gaih_addrtuple.
19437 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19438 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19439 header file nss/nsswitch.h.
19440 * nss/nsswitch.h (global scope): Add definition of implementation
19441 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19442 resolv/nss_dns/dns-host.c).
19443
608404eb
AJ
194442012-07-11 Andreas Jaeger <aj@suse.de>
19445
19446 * po/fr.po: Update from translation team.
19447
71220aca
AJ
19448 * po/sv.po: Update from translation team
19449 * po/fr.po: Another update from translation team.
19450
28cfe843
AZ
194512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19452
19453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19454 for subnormals or multiply small sinh result by itself.
19455 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19457
6b90f981
DM
194582012-07-11 David S. Miller <davem@davemloft.net>
19459
19460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19461
c6825772
AS
194622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19463
19464 [BZ #14347]
19465 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19466 (INTERNAL_MARK): Shift it here.
19467
7b8e0d49
MP
194682012-07-10 Marek Polacek <polacek@redhat.com>
19469
19470 [BZ #14151]
19471 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19472 libc_cv_asm_global_directive with .globl.
19473 * configure: Regenerated.
19474 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19475 with .globl.
19476 * sysdeps/i386/configure: Regenerated.
19477 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19478 with .globl.
19479 * sysdeps/x86_64/configure: Regenerated.
19480 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19481 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19482 * elf/tst-unique2mod2.c: Likewise.
19483 * elf/tst-unique2mod1.c: Likewise.
19484 * elf/tst-unique1mod2.c: Likewise.
19485 * elf/tst-unique1mod1.c: Likewise.
19486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19487 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19490 * sysdeps/mach/sysdep.h: Likewise.
19491 * sysdeps/i386/sysdep.h: Likewise.
19492 * sysdeps/i386/i386-mcount.S: Likewise.
19493 * sysdeps/x86_64/_mcount.S: Likewise.
19494 * sysdeps/x86_64/sysdep.h: Likewise.
19495 * sysdeps/sh/_mcount.S: Likewise.
19496 * sysdeps/sh/sysdep.h: Likewise.
19497 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19498 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19499 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19501 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19502 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19503 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19504 * locale/localeinfo.h: Likewise.
19505 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19506 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19507
6c55cda3
RM
195082012-07-09 Roland McGrath <roland@hack.frob.com>
19509
19510 [BZ #14336]
19511 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19512 system".
19513 * manual/message.texi (The Uniforum approach): Likewise.
19514 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19515 (glibc iconv Implementation): Likewise.
19516
638a572e
JM
195172012-07-09 Joseph Myers <joseph@codesourcery.com>
19518
19519 [BZ #14337]
19520 * math/s_clog.c (__clog): Avoid scaling a value down where that
19521 could result in underflow.
19522 * math/s_clog10.c (__clog10): Likewise.
19523 * math/s_clog10f.c (__clog10f): Likewise.
19524 * math/s_clog10l.c (__clog10l): Likewise.
19525 * math/s_clogf.c (__clogf): Likewise.
19526 * math/s_clogl.c (__clogl): Likewise.
19527 * math/libm-test.inc (clog_test): Add more tests.
19528 (clog10_test): Likewise.
19529 * sysdeps/i386/fpu/libm-test-ulps: Update.
19530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19531
261f4859
AS
195322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19533
0abaf3e4
AS
19534 [BZ #14283]
19535 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19536 by 7 not 8 to examine high bit of fractional part.
19537
261f4859
AS
19538 [BZ #14042]
19539 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19540 for call to __mcount_internal.
19541 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19542 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19543 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19544
f17ac40d
JM
195452012-07-06 Joseph Myers <joseph@codesourcery.com>
19546
9ad63c23
JM
19547 [BZ #14154]
19548 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19549 approximation for values within 0x1p-13f of an odd multiple of
19550 pi/4.
19551 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19552 exception. Add more tests.
19553 * sysdeps/i386/fpu/libm-test-ulps: Update.
19554
f17ac40d
JM
19555 [BZ #6778]
19556 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19557 inputs and return -1 for them. Do not check for +Inf in case not
19558 reachable for +Inf.
19559 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19560 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19562 and return -1 for them. Do not check for +Inf in case not
19563 reachable for +Inf.
19564 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19565 define.
19566 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19567 and return -1 for them. Do not check for +Inf in case not
19568 reachable for +Inf.
19569 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19570 spurious underflow.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19573
fb21f89b
MF
195742012-07-06 Mike Frysinger <vapier@gentoo.org>
19575
19576 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19577
cdfe2c5e
JM
195782012-07-05 Joseph Myers <joseph@codesourcery.com>
19579
19580 [BZ #14157]
19581 [BZ #14331]
19582 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19583 could result in spurious underflow. Scale down values above
19584 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19585 * math/s_csqrtf.c (__csqrtf): Likewise.
19586 * math/s_csqrtl.c (__csqrtl): Likewise.
19587 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19588 spurious underflow.
19589 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591
70d35b67
AS
195922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19593
704bc459
AS
19594 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19595 xopen-msg.sed.
19596 * catgets/xopen-msg.awk: New file.
19597 * catgets/xopen-msg.sed: Removed.
19598
70d35b67
AS
19599 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19600 po2text.sed.
19601 * intl/po2test.awk: New file.
19602 * intl/po2test.sed: Removed.
19603
ca61cf32
JM
196042012-07-04 Joseph Myers <joseph@codesourcery.com>
19605
19606 [BZ #14328]
19607 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19608 or multiply small sinh result by itself.
19609 * math/s_ctanf.c (__ctanf): Likewise.
19610 * math/s_ctanh.c (__ctanh): Likewise.
19611 * math/s_ctanhf.c (__ctanhf): Likewise.
19612 * math/s_ctanhl.c (__ctanhl): Likewise.
19613 * math/s_ctanl.c (__ctanl): Likewise.
19614 * math/libm-test.inc (ctan_test_tonearest): New function.
19615 (ctan_test_towardzero): Likewise.
19616 (ctan_test_downward): Likewise.
19617 (ctan_test_upward): Likewise.
19618 (ctanh_test_tonearest): Likewise.
19619 (ctanh_test_towardzero): Likewise.
19620 (ctanh_test_downward): Likewise.
19621 (ctanh_test_upward): Likewise.
19622 (main): Call these new functions.
19623 * sysdeps/i386/fpu/libm-test-ulps: Update.
19624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19625
ca48a46a
MF
196262012-07-03 Mike Frysinger <vapier@gentoo.org>
19627
19628 * .gitignore: Delete /ports entry.
19629
9d63d37d
AJ
196302012-07-03 Andreas Jaeger <aj@suse.de>
19631
19632 * po/bg.po: Update from translation team.
19633 * po/cs.po: Likewise.
19634 * po/de.po: Likewise.
19635 * po/hr.po: Likewise.
19636 * po/nl.pl: Likewise.
19637 * po/pl.po: Likewise.
19638 * po/vi.po: Likewise.
19639
370ca3d2
JM
196402012-07-03 Joseph Myers <joseph@codesourcery.com>
19641
95f5a9a8
JM
19642 * Makeconfig [!+link] (+link-before-libc): New variable.
19643 [!+link] (+link-after-libc): Likewise.
19644 [!+link] (+link-tests): Likewise.
19645 [!+link] (+link): Define in terms of $(+link-before-libc) and
19646 $(+link-after-libc).
19647 [!+link-static] (+link-static-before-libc): New variable.
19648 [!+link-static] (+link-static-after-libc): Likewise.
19649 [!+link-static] (+link-static-tests): Likewise.
19650 [!+link-static] (+link-static): Define in terms of
19651 $(+link-static-before-libc) and $(+link-static-after-libc).
19652 [build-shared] (link-libc-before-gnulib): New variable.
19653 [build-shared] (link-libc-tests): Likewise.
19654 [build-shared] (link-libc): Define in terms of
19655 $(link-libc-before-gnulib).
19656 [!build-shared] (link-libc-tests): New variable.
19657 (link-libc-static-tests): New variable.
19658 [!gnulib] (gnulib-arch): New variable.
19659 [!gnulib] (gnulib-tests): Likewise.
19660 [!gnulib] (static-gnulib-arch): Likewise.
19661 [!gnulib] (static-gnulib-tests): Likewise.
19662 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19663 Define with "=" instead of ":=".
19664 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19665 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19666 * Rules (binaries-all-notests): New variable.
19667 (binaries-all-tests): Likewise.
19668 (binaries-static-notests): Likewise.
19669 (binaries-static-tests): Likewise.
19670 (binaries-all): Define using $(binaries-all-notests) and
19671 $(binaries-all-tests).
19672 (binaries-static): Define using $(binaries-static-notests) and
19673 $(binaries-static-tests).
19674 (binaries-shared-tests): New variable.
19675 (binaries-shared-notests): Likewise.
19676 (binaries-shared): Remove variable.
19677 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19678 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19679 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19680 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19681 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19682 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19683 * elf/Makefile (sln-modules): New variable.
19684 (extra-objs): Add $(sln-modules:=.o).
19685 (ldconfig-modules): Add static-stubs.
19686 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19687 * elf/static-stubs.c: New file.
19688
7a845b2c
JM
19689 [BZ #14283]
19690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19691 by 7 not 8 to examine high bit of fractional part. Use volatile
19692 variables when splitting into final array of floats if
19693 __FLT_EVAL_METHOD__ != 0.
19694 * math/libm-test.inc (cos_test): Add another test.
19695 (sin_test): Likewise.
19696 * sysdeps/i386/fpu/libm-test-ulps: Update.
19697
e2283f38
JM
19698 [BZ #14273]
19699 * math/libm-test.inc (cosh_test): Add more tests.
19700
370ca3d2
JM
19701 * version.h (RELEASE): Set to "development".
19702 (VERSION): Set to "2.16.90".
19703
ee9247c3
CD
197042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19705
19706 * NEWS: Update copyright. Remove last-updated date.
19707 Mention math library bug fixes and timezone data changes.
19708 * README: Mention GNU/Hurd, x32, and HPPA support status.
19709
4648c381
TS
197102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19711
19712 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19713
aac78a43
AJ
197142012-06-27 Andreas Jaeger <aj@suse.de>
19715
19716 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19717
ed3dbfad
AJ
197182012-06-25 Andreas Jaeger <aj@suse.de>
19719
19720 * sysdeps/s390/fpu/libm-test-ulps: Update.
19721
4d0ee855
AS
197222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19723 Thomas Schwinge <thomas@codesourcery.com>
19724
19725 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19726 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19728 fanotify_mark.
19729
af1bce34
TS
197302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19731
a9fa33ba
TS
19732 * sysdeps/mach/start.c: Remove file.
19733 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19734 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19735 * sysdeps/sh/init-first.c: Likewise.
19736
58f902b8
TS
19737 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19738 registers for frame unwinding purposes, add CFI directives.
19739 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19741 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19742 Likewise.
19743
1518f58b
TS
19744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19745 __fortify_fail returning.
19746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19747
db9b5059
TS
19748 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19749 sysdeps/sh/____longjmp_chk.S.
19750 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19751 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19752 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19753 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19754
967705fe
TS
19755 * sysdeps/sh/abort-instr.h: New file.
19756 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19757 process in case exit returns.
19758
a9def8c4
TS
19759 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19760 initialize the GOT register before use.
19761
2a649725
TS
19762 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19763 calculation of ARGC > 4.
19764
af1bce34
TS
19765 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19766 meaningful names to some local labels.
19767
d230f50a
KK
197682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19769 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19770
19771 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19772 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19773 (__arch_compare_and_exchange_val_16_acq): Likewise.
19774 (__arch_compare_and_exchange_val_32_acq): Likewise.
19775 (atomic_exchange_and_add): Fix gUSA sequence.
19776 (atomic_add): Likewise.
19777 (atomic_add_negative): Likewise.
19778 (atomic_add_zero): Likewise.
19779 (atomic_bit_test_set): Likewise.
19780
0479b305
AS
197812012-06-22 Andreas Schwab <schwab@redhat.com>
19782
19783 [BZ #13579]
19784 * include/link.h (struct link_map): Add l_free_initfini.
19785 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19786 l_initfini.
19787 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19788 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19789 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19790 set.
19791
0e3933b9
CD
197922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19793
19794 * configure.in: Use AC_LANG_SOURCE.
19795 * configure: Regenerate.
19796
4248b1b1
RM
197972012-06-22 Roland McGrath <roland@hack.frob.com>
19798
19799 * configure.in (libc_cv_localstatedir): New substituted variable.
19800 * configure: Regenerated.
19801 * config.make.in (localstatedir): New variable, substituted from
19802 libc_cv_localstatedir.
19803 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19804 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19805 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19806 * sysdeps/gnu/configure: Regenerated.
19807
006dd861
JL
198082012-06-21 Jeff Law <law@redhat.com>
19809
19810 [BZ #14277]
19811 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19812 free. Simplify list management for _LIBC case.
19813
79662d42
JM
198142012-06-21 Joseph Myers <joseph@codesourcery.com>
19815
b7abb4bf
JM
19816 [BZ #14273]
19817 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19818 Clear sign bit of 64-bit integer value before comparing against
19819 overflow value.
19820
79662d42
JM
19821 * sysdeps/mach/configure: Regenerated.
19822
1f150908
L
198232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19824
19825 [BZ #14278]
19826 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19827
28363bbf
JL
198282012-06-21 Jeff Law <law@redhat.com>
19829
19830 [BZ #13882]
19831 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19832 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19834 * elf/dl-open.c (dl_open_worker): Likewise.
19835
09615db4
CD
198362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19837
19838 * scripts/list-sources.sh: Scan PORTS for translations.
19839 * po/libc.pot: Regenerated.
19840
2174c6dd
AJ
198412012-06-21 Andreas Jaeger <aj@suse.de>
19842
19843 [BZ #12194]
19844 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19845 warning.
19846 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19847 * bits/byteswap-16.h (__bswap_16): Likewise.
19848 * bits/byteswap.h (__bswap_constant_16): Likewise.
19849
3ee947b1
L
198502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19851
19852 [BZ #14117]
a2f34833
L
19853 * sysdeps/i386/fpu_control.h: Removed.
19854 * sysdeps/x86_64/fpu_control.h: Moved to ...
19855 * sysdeps/x86/fpu_control.h: Here.
19856
3ee947b1
L
19857 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19858 (_FPU_SETCW): Likewise.
19859
ed1825f8
L
198602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19861
25f1282a
L
19862 [BZ #14117]
19863 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19864 * sysdeps/x86/fpu/bits/mathinline.h: This.
19865 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19866
ed1825f8
L
19867 [BZ #14050]
19868 [BZ #14117]
19869 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19870 functions if __x86_64__ is defined.
19871
36d54b74
CLT
198722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19873
19874 * string/endian.h: Add !__ASSEMBLER__ condition for including
19875 conversion interfaces.
19876
10285c21
JM
198772012-06-15 Joseph Myers <joseph@codesourcery.com>
19878
19879 [BZ #14241]
19880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19881 of ABS(x) in calculating zero to negative powers other than odd
19882 integers.
19883 * math/libm-test.inc (pow_test): Add more tests.
19884
06c5abbd
AJ
198852012-06-15 Andreas Jaeger <aj@suse.de>
19886
19887 * manual/contrib.texi (Contributors): Update entry of Liubov
19888 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19889 Machado Filho.
19890
a3aeac40
CH
198912012-06-15 Cyril Hrubis <metan@ucw.cz>
19892
19893 * string/string.h: Add __wur to GNU version of strerror_r.
19894
49bdf4c1
L
198952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 [BZ #14229]
19898 * string/Makefile (tests): Add tst-strtok_r.
19899 * string/tst-strtok_r.c: New file.
19900 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19901 RAX_LP/RDX_LP on SAVE_PTR.
19902
834f9b8d
RM
199032012-06-14 Roland McGrath <roland@hack.frob.com>
19904
19905 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19906
75fa1921
JM
199072012-06-14 Joseph Myers <joseph@codesourcery.com>
19908
19909 * libm_test.inc (csqrt_test): Allow more spurious underflow
19910 exceptions.
19911 (j0_test): Likewise.
19912 (j1_test): Likewise.
19913 (y0_test): Likewise.
19914 (y1_test): Likewise.
19915
771766df
CD
199162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19917
19918 * po/Makefile (libc.pot): Use UTF-8 charset.
19919
ceb9e56b
PP
199202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19921
19922 [BZ #14210]
19923 Suppress sign-conversion warning from FD_SET.
19924 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19925 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19926 not unsigned long int.
19927 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19928
ddb28975
L
199292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19930
19931 [BZ #14050]
19932 [BZ #14117]
19933 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19934 __extern_always_inline instead of __extern_inline.
19935 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19936 (__signbit): Likewise.
19937 (__signbitl): Support C++ namespace.
19938 (lrintf): New inline function.
19939 (lrint): Likewise.
19940 (llrintf): Likewise.
19941 (llrint): Likewise.
19942 (fmaxf): Likewise.
19943 (fmax): Likewise.
19944 (fminf): Likewise.
19945 (fmin): Likewise.
19946 (rint): Likewise.
19947 (rintf): Likewise.
19948 (ceil): Likewise.
19949 (ceilf): Likewise.
19950 (floor): Likewise.
19951 (floorf): Likewise.
19952 (nearbyint): Likewise.
19953 (nearbyintf): Likewise.
19954
d7b4fb26
TS
199552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19956
19957 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19958 non-default versions.
19959
eb55f5c2
RM
199602012-06-11 Roland McGrath <roland@hack.frob.com>
19961
19962 [BZ #14218]
19963 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19964
366af02c
TS
199652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19966
99ff6e5c
TS
19967 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19968 (FE_UPWARD, FE_DOWNWARD): Don't define.
19969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19970 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19971
366af02c
TS
19972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19973 reading it.
19974 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19976
793ea851
KK
199772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19978
19979 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19983
a728a38f
L
199842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19985
19986 [BZ #14117]
c08010c7
L
19987 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19988 * sysdeps/i386/fpu/Implies: New file.
19989 * sysdeps/x86_64/fpu/Implies: Likewise.
19990 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19991 * sysdeps/x86/fpu/bits/fenv.h: This.
19992
a728a38f
L
19993 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19994 __SSE_MATH__.
19995
6e230d11
SP
199962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19997
19998 [BZ #14134]
19999 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20000 character 0xffff that matches the last element of the
20001 conversion table.
20002
1b671feb
AZ
200032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20004
20005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20006 fmodl commit.
20007
6043738b
AZ
200082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20009
20010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20011 values higher than 25.6283.
20012
34ae0b32
AZ
200132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20014
20015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20016 subnormal exponent extraction and add some __builtin_expect.
20017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20018 Fix for subnormal mantissa calculation.
20019
1214ec8f
MF
200202012-06-04 Mike Frysinger <vapier@gentoo.org>
20021
20022 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20023 cpu2 is -1 and errno is not ENOSYS.
20024
f3d1f93c
L
200252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20026
20027 [BZ #14117]
0e4a3cd7
L
20028 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20029 * sysdeps/x86/bits/string.h: This.
20030 * sysdeps/x86_64/bits/string.h: Removed.
20031
6704c645
L
20032 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20033 if not compiling for x86-64, but compiling for >= i486.
20034
48495318
L
20035 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20036 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20037
14adcbfc
L
20038 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20039 New macro from Linux kernel 3.4.0.
20040 (FP_XSTATE_MAGIC2): Likewise.
20041 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20042 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20043 (struct _fpx_sw_bytes): New struct.
20044 (struct _xsave_hdr): Likewise.
20045 (struct _ymmh_state): Likewise.
20046 (struct _xstate): Likewise.
20047
68e408ab
L
20048 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20049 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20051 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20053 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20054
f3d1f93c
L
20055 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20056 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20058 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20059 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20060 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20061
d9dc34cd
TMQMF
200622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20063
20064 [BZ #13743]
20065 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20066 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20067 (sysdep_headers): Include sys/platform/ppc.h.
20068 * sysdeps/powerpc/test-gettimebase.c: Test for
20069 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20070 * manual/Makefile (appendices): Include platform.texi.
20071 * manual/contrib.texi (Contributors): Update @node pointers.
20072 * manual/maint.texi (Maintenance): Likewise.
20073 (Platform): New node.
20074 * manual/platform.texi: New file. Document the new features.
20075
4af3879c
SP
200762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20077 Jakub Jelinek <jakub@redhat.com>
20078
20079 [BZ #14188]
20080 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20081 where __builtin_expect is unavailable.
20082
2fd6ff13
DM
200832012-06-03 David S. Miller <davem@davemloft.net>
20084
20085 * stdlib/longlong.h: Updated from GCC.
20086
173f7220
AS
200872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20088
20089 [BZ #14042]
20090 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20091 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20092 __mcount_internal.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20094 (GLIBC_2.16): Likewise.
20095
f34a1c6f
L
200962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20097
20098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20099
88a4576f
JM
201002012-06-01 Joseph Myers <joseph@codesourcery.com>
20101
ea32bcdd
JM
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20103 (default-abi): New variable.
20104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20106 variable.
20107 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20108 Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20110 Likewise.
20111 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20112 Likewise.
20113
88a4576f
JM
20114 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20115 definition. Document in comment.
20116
402fe938
DM
201172012-06-01 David S. Miller <davem@davemloft.net>
20118
20119 * stdlib/longlong.h: Updated from GCC.
20120
3553723f
L
201212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 [BZ #14117]
3bd872c4
L
20124 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20125 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20126 sys/debugreg.h sys/io.h here.
20127 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20128 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20129 sys/io.h.
20130 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20131 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20132 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20133 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20134 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20135 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20136
3553723f
L
20137 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20138 Define only if __x86_64__ is defined.
20139
4842e4fe
JM
201402012-06-01 Joseph Myers <joseph@codesourcery.com>
20141
c5bfe3d5
JM
20142 [BZ #14048]
20143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20144 Use int64_t for variable i.
20145 * math/libm-test.inc (fmod_test): Add more tests.
20146
4842e4fe
JM
20147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20148 z computation is not scheduled after fetestexcept.
20149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20150 Use math_force_eval instead of asm to ensure calculation scheduled
20151 before exception test.
20152 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20153 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20154
efb73488
AJ
201552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20156
20157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20158 computation is not scheduled after fetestexcept.
20159
29bcce7c
L
201602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20161
20162 [BZ #14117]
20163 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20164 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20165
73a68f94
AZ
201662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20167
20168 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20169 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20170
67b6df78
L
201712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20172
edf2933a 20173 [BZ #14117]
ebc64a18
L
20174 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20175 <bits/wordsize.h>.
20176 (__WCHAR_MIN): Support __WORDSIZE == 64.
20177 (__WCHAR_MAX): Likewise.
20178
edf2933a
L
20179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20181
57c6cf40
L
20182 [BZ #14183]
20183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20184 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20185
67b6df78 20186 [BZ #14117]
8eb6281e
L
20187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20188 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20189
aac639f4
L
20190 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20191 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20192
67b6df78
L
20193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20194 Defined to 1 if __x86_64__ isn't defined.
20195 (_STAT_VER_LINUX_OLD): New.
20196 (st_atime): Remove duplicate.
20197 (st_mtime): Likewise.
20198 (st_ctime): Likewise.
20199
1c2cfe81
DM
202002012-05-31 David S. Miller <davem@davemloft.net>
20201
20202 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20203 entries.
20204
5be8418c
AS
202052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20206
e7725326
AS
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20208 gen-libm-test.pl.
20209
5be8418c
AS
20210 [BZ #14132]
20211 * elf/dl-reloc.c: Include <_itoa.h>.
20212 (_dl_reloc_bad_type): Remove use of INTUSE.
20213 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20214 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20215 * stdio-common/psiginfo.c (psiginfo): Likewise.
20216 * stdio-common/psignal.c (psignal): Likewise.
20217 * string/strsignal.c (strsignal): Likewise.
20218 * include/signal.h (_sys_siglist): Declare hidden proto.
20219 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20220 INTVARDEF with libc_hidden_data_def.
20221 * stdio-common/itoa-udigits.c: Likewise.
20222 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20223 (_itoa_lower_digits_internal): Remove declaration.
20224 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20225 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20226 (_sys_sigabbrev_internal): Remove aliases.
20227 (_sys_siglist): Define hidden alias.
20228
507352f1
MT
202292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20230
20231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20232 bits/sysctl.h.
20233
42bbb1c3
L
202342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20235
20236 [BZ #14117]
6bd784b6
L
20237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20238 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20239
8bca20f0
L
20240 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20241 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20242 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20243 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20245 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20246
f9e890a9
L
20247 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20249 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20250
471101a1
L
20251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20252 with __addr.
20253 (insw): Likewise.
20254 (insl): Likewise.
20255 (outsb): Likewise.
20256 (outsw): Likewise.
20257 (outsl): Likewise.
20258
6451c862
L
20259 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20261 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20262
a254b8c9
L
20263 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20266 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20267 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20268 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20269
b8dfdd92
L
20270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20271 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20272
578cd270
L
20273 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20274 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20275
de662f5f
L
20276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20279
25653439
L
20280 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20281 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20282 to ...
20283 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20284
6bad24a0
L
20285 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20286 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20287 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20288
42bbb1c3
L
20289 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20290 for x86-64.
20291 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20292
2d10d547
JM
202932012-05-31 Joseph Myers <joseph@codesourcery.com>
20294
20295 * math/math.h (M_El): Use two more decimal places.
20296 (M_LOG2El): Likewise.
20297 (M_LOG10El): Likewise.
20298 (M_LN2l): Likewise.
20299 (M_LN10l): Likewise.
20300 (M_PIl): Likewise.
20301 (M_PI_2l): Likewise.
20302 (M_PI_4l): Likewise.
20303 (M_1_PIl): Likewise.
20304 (M_2_PIl): Likewise.
20305 (M_2_SQRTPIl): Likewise.
20306 (M_SQRT2l): Likewise.
20307 (M_SQRT1_2l): Likewise.
20308
f230c29b
DM
203092012-05-31 David S. Miller <davem@davemloft.net>
20310
20311 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20312 values between float registers.
20313 * sysdeps/sparc/sparc64/memset.S: Likewise.
20314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20315
fed806c3
MF
203162012-05-31 Mike Frysinger <vapier@gentoo.org>
20317
20318 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20319 -D_FORTIFY_SOURCE=1.
20320 (CPPFLAGS-tst-longjmp_chk.c): Define.
20321 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20322 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20323 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20324 CFLAGS-tst-wchar-h.c.
20325
30917259
MP
203262012-05-31 Marek Polacek <polacek@redhat.com>
20327
20328 [BZ #14132]
20329 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20330 __endmntent_internal): Remove declaration.
20331 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20332 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20333 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20334
1c58d5dc
DM
203352012-05-30 David S. Miller <davem@davemloft.net>
20336
20337 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20338 (___Q_simulate_exceptions): Use real FP ops rather than writing
20339 into the %fsr.
20340 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20341 Likewise.
20342
7dc00e0d
L
203432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 [BZ #14117]
0bd53985
L
20346 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20347 * sysdeps/x86/bits/xtitypes.h: This.
20348
3a257e66
L
20349 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20350 * sysdeps/x86/bits/wordsize.h: This.
20351
62f62904
L
20352 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20353 * sysdeps/x86/bits/huge_vall.h: This.
20354
404fe9d9
L
20355 * sysdeps/i386/bits/select.h: Removed.
20356 * sysdeps/x86_64/bits/select.h: Renamed to ...
20357 * sysdeps/x86/bits/select.h: This.
20358
d48d0446
L
20359 * sysdeps/i386/bits/setjmp.h: Removed.
20360 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20361 * sysdeps/x86/bits/setjmp.h: This.
20362
7dc00e0d
L
20363 * sysdeps/i386/bits/mathdef.h: Removed.
20364 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20365 * sysdeps/x86/bits/mathdef.h: This.
20366
03277f8f
AS
203672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20368
20369 [BZ #14132]
20370 * include/sys/socket.h (__connect_internal)
20371 (__libc_sa_len_internal): Remove declaration.
20372 (__connect, __libc_sa_len): Declare hidden_proto.
20373 (SA_LEN): Remove use of INTUSE.
20374 * socket/connect.c: Add libc_hidden_def.
20375 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20376 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20377 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20378 alias.
20379 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20380 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20381 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20382 of adding _internal alias.
20383
13764867
L
203842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20385
20386 [BZ #14117]
6bd97696
L
20387 * sysdeps/i386/bits/link.h: Removed.
20388 * sysdeps/i386/bits/linkmap.h: Likewise.
20389 * sysdeps/x86_64/bits/link.h: Renamed to ...
20390 * sysdeps/x86/bits/link.h: This.
20391 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20392 * sysdeps/x86/bits/linkmap.h: This.
20393
f726f0bb
L
20394 * sysdeps/i386/bits/endian.h: Removed.
20395 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20396 * sysdeps/x86/bits/endian.h: This.
20397
13764867
L
20398 * sysdeps/i386/bits/byteswap.h: Removed.
20399 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20400 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20401 * sysdeps/x86/bits/byteswap.h: This.
20402 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20403 * sysdeps/x86/bits/byteswap-16.h: This.
20404 * sysdeps/i386/Implies: Add x86.
20405 * sysdeps/x86_64/Implies: Likewise.
20406
ae251b0b
DM
204072012-05-30 David S. Miller <davem@davemloft.net>
20408
20409 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20410 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20411 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20412 (FP_TRAPPING_EXCEPTIONS): Define.
20413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20414 (FP_TRAPPING_EXCEPTIONS): Define.
20415 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20416 subnormals only when inexact has been signalled or underflow
20417 exceptions are enabled.
20418 (_FP_PACK_CANONICAL): Likewise.
20419
d5c90867
L
204202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 [BZ #14183]
20423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20424 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20425
63f1549e
RH
204262012-05-30 Richard Henderson <rth@twiddle.net>
20427
8d8f2279
RH
20428 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20429 with #ifndef NOT_IN_libc.
20430
63f1549e
RH
20431 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20432 marked to avoid plt entry.
20433
0ab0291b
L
204342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 [BZ #14112]
20437 * Makeconfig (default-abi): New macro.
20438 (abi-includes): Likewise.
20439 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20440 $(abi-$(default-abi)-lib-soname) for soname if defined.
20441 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20442 abi-variants.
20443 * Makefile (installed-stubs): Likewise.
20444 * include/stubs-biarch.h: Removed.
20445 * scripts/lib-names.awk: Only handle one library at a time.
20446 * scripts/soversions.awk: Remove WORDSIZE support.
20447 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20448 entries.
20449 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20450 Removed.
20451 (syscall-list-default-condition): Likewise.
20452 (syscall-list-default-condition): Likewise.
20453 (syscall-list-includes): Likewise.
20454 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20455 syscall-list-* with abi-*. Handle undefined abi-variants.
20456 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20457 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20458 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20459 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20460 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20461 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20462 Removed.
20463 (syscall-list-32-options): Likewise.
20464 (syscall-list-32-condition): Likewise.
20465 (syscall-list-64-options): Likewise.
20466 (syscall-list-64-condition): Likewise.
20467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20468 macro.
20469 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20470 Renamed to ...
20471 (abi-*): This.
20472 (abi-64-ld-soname): New macro.
20473 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20474 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20475 Renamed to ...
20476 (abi-*): This.
20477 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20478 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20479
4da0431d
JM
204802012-05-30 Joseph Myers <joseph@codesourcery.com>
20481
3a85279c
JM
20482 * sysdeps/unix/sysv/linux/kernel-features.h
20483 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20484 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20485 include <kernel-features.h>.
20486 [!__NR_ftruncate64]: Remove conditional code.
20487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20488 [__NR_ftruncate64]: Make code unconditional.
20489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20490 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20491 include <kernel-features.h>.
20492 [!__NR_ftruncate64]: Remove conditional code.
20493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20494 [__NR_ftruncate64]: Make code unconditional.
20495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20497 include <kernel-features.h>.
20498 [!__NR_ftruncate64]: Remove conditional code.
20499 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20500 [__NR_ftruncate64]: Make code unconditional.
20501 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20503 include <kernel-features.h>.
20504 [!__NR_ftruncate64]: Remove conditional code.
20505 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20506 [__NR_ftruncate64]: Make code unconditional.
20507 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20508
4da0431d
JM
20509 * configure.in (libc_cv_fpie): Weaken to a compile test using
20510 LIBC_TRY_CC_OPTION.
20511 * configure: Regenerated.
20512
11ef492c
AK
205132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20514
20515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20519 Refreshed.
20520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20526 Refreshed.
20527
d66ef399
DM
205282012-05-27 David S. Miller <davem@davemloft.net>
20529
20530 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20531 (___Q_zero): New.
20532 (__Q_simulate_exceptions): Return void. Change to simulate
20533 exceptions by writing into the %fsr.
20534 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20535 (__Qp_handle_exceptions): Likewise.
20536 (numbers): Delete.
20537 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20538 __Qp_handle_exceptions.
20539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20540 __Qp_handle_exceptions.
20541 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20542 as unused and give dummy FP_RND_NEAREST initializer.
20543 (FP_INHIBIT_RESULTS): Define.
20544 (___Q_simulate_exceptions): Update declaration.
20545 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20546 formatting.
20547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20548 as unused and give dummy FP_RND_NEAREST initializer.
20549 (__Qp_handle_exceptions): Update declaration.
20550 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20551 formatting.
20552
04fb54b5
TS
205532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20554
20555 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20556 the temporary FPU control word.
20557 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20558 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20560 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20563 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20565 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20566 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20568
3f99608f
KK
205692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20570
20571 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20572 fields.
20573
65a4de4e
CLT
205742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20575
20576 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20577 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20578 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20579 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20580 Likewise.
20581 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20582 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20583 Likewise.
20584
15749d40
UD
205852012-05-27 Ulrich Drepper <drepper@gmail.com>
20586
20587 * po/h.po: Update from translation team.
20588
25dbcb27
AS
205892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20590
3d3f8e55
AS
20591 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20592
25dbcb27
AS
20593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20594 handling of denormals.
20595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20596 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20597 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20598 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20602 Likewise.
20603
7ad47a80 206042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20605
20606 [BZ #14152]
20607 * math/libm-test.inc (fma_test): Don't always expect underflow
20608 exception.
20609
9c6ea9fa
SP
206102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20611
20612 [BZ #12416]
20613 * elf/tst-execstack.c: Include stackinfo.h.
20614 (do_test): Adjust test case to ensure that pthread_getattr_np
20615 behaviour remains the same after marking stack executable.
20616
a8239222
JM
206172012-05-25 Joseph Myers <joseph@codesourcery.com>
20618
20619 * sysdeps/unix/sysv/linux/kernel-features.h
20620 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20621 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20622 kernel-features.h.
20623 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20624 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20625 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20626 kernel-features.h.
20627 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20628 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20629
918b5606
L
206302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20631
20632 * configure.in: Define the default includes to being none.
20633 * configure: Regenerated.
20634
3a097cc7
RM
206352012-05-25 Roland McGrath <roland@hack.frob.com>
20636
8422c9a5
RM
20637 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20638 * sysdeps/x86_64/setjmp.S: Likewise.
20639 * sysdeps/i386/bsd-setjmp.S: Likewise.
20640 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20641 * sysdeps/i386/setjmp.S: Likewise.
20642 * sysdeps/i386/__longjmp.S: Likewise.
20643 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20644 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20645
3a097cc7
RM
20646 * include/stap-probe.h: New file.
20647 * configure.in: Handle --enable-systemtap.
20648 * configure: Regenerated.
20649 * config.h.in (USE_STAP_PROBE): New #undef.
20650 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20651 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20652 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20653
21708942
JM
206542012-05-25 Joseph Myers <joseph@codesourcery.com>
20655
20656 [BZ #13717]
20657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20658 to 2.4.0 where earlier.
20659 * sysdeps/unix/sysv/linux/configure: Regenerated.
20660 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20661 <kernel-features.h>.
20662 [__ASSUME_32BITUIDS]: Make code unconditional.
20663 [!__ASSUME_32BITUIDS]: Remove conditional code.
20664 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20665 <kernel-features.h>.
20666 [__ASSUME_32BITUIDS]: Make code unconditional.
20667 [!__ASSUME_32BITUIDS]: Remove conditional code.
20668 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20669 [__ASSUME_32BITUIDS]: Make code unconditional.
20670 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20671 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/i386/msgctl.c: Do not include
20704 <kernel-features.h>.
20705 [__ASSUME_32BITUIDS]: Make code unconditional.
20706 [!__ASSUME_32BITUIDS]: Remove conditional code.
20707 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20708 <kernel-features.h>.
20709 [__ASSUME_32BITUIDS]: Make code unconditional.
20710 [!__ASSUME_32BITUIDS]: Remove conditional code.
20711 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20712 <kernel-features.h>.
20713 [__NR_setresgid] (__setresgid): Do not declare.
20714 [__ASSUME_32BITUIDS]: Make code unconditional.
20715 [!__ASSUME_32BITUIDS]: Remove conditional code.
20716 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20717 <kernel-features.h>.
20718 [__NR_setresuid] (__setresuid): Do not declare.
20719 [__ASSUME_32BITUIDS]: Make code unconditional.
20720 [!__ASSUME_32BITUIDS]: Remove conditional code.
20721 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20722 <kernel-features.h>.
20723 [__ASSUME_32BITUIDS]: Make code unconditional.
20724 [!__ASSUME_32BITUIDS]: Remove conditional code.
20725 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.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/i386/setgroups.c: Do not include
20734 <kernel-features.h>.
20735 [__ASSUME_32BITUIDS]: Make code unconditional.
20736 [!__ASSUME_32BITUIDS]: Remove conditional code.
20737 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20738 <kernel-features.h>.
20739 [__ASSUME_32BITUIDS]: Make code unconditional.
20740 [!__ASSUME_32BITUIDS]: Remove conditional code.
20741 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20742 <kernel-features.h>.
20743 [__ASSUME_32BITUIDS]: Make code unconditional.
20744 [!__ASSUME_32BITUIDS]: Remove conditional code.
20745 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20746 <kernel-features.h>.
20747 [__ASSUME_32BITUIDS]: Make code unconditional.
20748 [!__ASSUME_32BITUIDS]: Remove conditional code.
20749 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20750 <kernel-features.h>.
20751 [__ASSUME_32BITUIDS]: Make code unconditional.
20752 [!__ASSUME_32BITUIDS]: Remove conditional code.
20753 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20754 <kernel-features.h>.
20755 [__ASSUME_32BITUIDS]: Make code unconditional.
20756 [!__ASSUME_32BITUIDS]: Remove conditional code.
20757 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20758 <kernel-features.h>.
20759 [__ASSUME_32BITUIDS]: Make code unconditional.
20760 [!__ASSUME_32BITUIDS]: Remove conditional code.
20761 * sysdeps/unix/sysv/linux/kernel-features.h
20762 (__ASSUME_SETRESUID_SYSCALL): Remove.
20763 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20764 (__ASSUME_32BITUIDS): Likewise.
20765 (__ASSUME_LDT_WORKS): Likewise.
20766 (__ASSUME_O_DIRECTORY): Likewise.
20767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20768 architecture but not kernel version.
20769 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20770 (__ASSUME_MMAP2_SYSCALL): Likewise.
20771 (__ASSUME_STAT64_SYSCALL): Likewise.
20772 (__ASSUME_IPC64): Likewise.
20773 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20774 <kernel-features.h>.
20775 [__ASSUME_32BITUIDS]: Make code unconditional.
20776 [!__ASSUME_32BITUIDS]: Remove conditional code.
20777 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20778 <kernel-features.h>.
20779 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20780 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20781 132096]: Remove conditional code.
20782 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20784 <kernel-features.h>.
20785 [__ASSUME_32BITUIDS]: Make code unconditional.
20786 [!__ASSUME_32BITUIDS]: Remove conditional code.
20787 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20788 <kernel-features.h>.
20789 [__ASSUME_32BITUIDS]: Make code unconditional.
20790 [!__ASSUME_32BITUIDS]: Remove conditional code.
20791 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20792 <kernel-features.h>.
20793 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20794 unconditional.
20795 (__setresgid): Do not declare.
20796 [__ASSUME_32BITUIDS]: Make code unconditional.
20797 [!__ASSUME_32BITUIDS]: Remove conditional code.
20798 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20799 <kernel-features.h>.
20800 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20801 unconditional.
20802 (__setresuid): Do not declare.
20803 [__ASSUME_32BITUIDS]: Make code unconditional.
20804 [!__ASSUME_32BITUIDS]: Remove conditional code.
20805 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20806 <kernel-features.h>.
20807 [__ASSUME_32BITUIDS]: Make code unconditional.
20808 [!__ASSUME_32BITUIDS]: Remove conditional code.
20809 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20810 <kernel-features.h>.
20811 [__ASSUME_32BITUIDS]: Make code unconditional.
20812 [!__ASSUME_32BITUIDS]: Remove conditional code.
20813
a386f1cc
RH
208142012-05-25 Richard Henderson <rth@twiddle.net>
20815
20816 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20817 dl_hwcap to ifunc resolver.
20818 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20819 elf_ifunc_invoke.
20820 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20821 dl_hwcap to ifunc resolver.
20822 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20823
b6550497
JM
208242012-05-24 Joseph Myers <joseph@codesourcery.com>
20825
20826 [BZ #14153]
20827 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20828 for |x| <= 2**-26, not 2**-57.
20829 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20830 exception.
20831
b0bc23a1
JL
208322012-05-24 Jeff Law <law@redhat.com>
20833
20834 * stdio-common/Makefile (tests): Add bug25.
20835 * stdio-common/bug25.c: New test.
20836
347c92e9
L
208372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20838
20839 [BZ #13576]
20840 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20841 multiple of MALLOC_ALIGNMENT in size.
20842 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20843
6bcc8b3f
JM
208442012-05-24 Joseph Myers <joseph@codesourcery.com>
20845
20846 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20847 Require >= 256.
20848 (FILENAME_MAX): Use macro-int-constant.
20849 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20850 (_IOFBF): Use macro-int-constant.
20851 (_IOLBF): Likewise.
20852 (_IONBF): Likewise.
20853 (SEEK_CUR): Likewise.
20854 (SEEK_END): Likewise.
20855 (SEEK_SET): Likewise.
20856 (TMP_MAX): Likewise.
20857 (EOF): Use macro-int-constant. Require < 0.
20858 (NULL): Use macro-constant. Require == 0.
20859 (stdin): Require type to be FILE *.
20860 (stdout): Likewise.
20861 (stderr): Likewise.
20862 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20863 macro-int-constant.
20864 (EXIT_SUCCESS): Likewise.
20865 (NULL): Use macro-constant. Require == 0.
20866 (RAND_MAX): Use macro-int-constant.
20867 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20868 [C99-based standards] (strtof): Require function.
20869 [C99-based standards] (strtold): Likewise.
20870 [C99-based standards] (strtoll): Likewise.
20871 [C99-based standards] (strtoull): Likewise.
20872 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20873 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20874 [ISO || ISO99 || ISO11] (math.h): Likewise.
20875 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20876 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20878
d18ea0c5
AS
208792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20880
20881 [BZ #14132]
56d25bb8
AS
20882 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20883 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20884 * intl/dgettext.c (DCGETTEXT): Likewise.
20885 * intl/gettext.c (DCGETTEXT): Likewise.
20886 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20887 * posix/regex_internal.h (gettext): Likewise.
20888 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20889 Remove declaration.
20890 * include/argz.h (__argz_count_internal)
20891 (__argz_stringify_internal): Remove declaration.
20892 (__argz_count, __argz_stringify): Declare hidden proto.
20893 * intl/dcgettext.c: Remove use of INTDEF.
20894 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20895 * string/argz-stringify.c: Likewise.
20896 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20897 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20898 Declare hidden proto.
d18ea0c5
AS
20899 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20900 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20901 Declare hidden proto.
20902 * include/stdio.h (__asprintf_internal): Don't declare.
20903 (__asprintf): Don't define as macro. Declare hidden proto.
20904 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20905 (__fsetlocking): Declare hidden proto.
20906 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20907 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20908 hidden proto.
20909 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20910 (_IO_setlinebuf): Remove use of INTUSE.
20911 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20912 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20913 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20914 Remove declaration.
20915 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20916 (_IO_do_flush): Remove use of INTUSE.
20917 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20918 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20919 (_IO_adjust_column, _IO_least_wmarker)
20920 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20921 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20922 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20923 (_IO_default_doallocate, _IO_wdefault_doallocate)
20924 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20925 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20926 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20927 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20928 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20929 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20930 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20931 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20932 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20933 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20934 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20935 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20936 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20937 proto.
20938 (_IO_flush_all_internal, _IO_adjust_column_internal)
20939 (_IO_default_uflow_internal, _IO_default_finish_internal)
20940 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20941 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20942 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20943 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20944 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20945 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20946 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20947 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20948 (_IO_file_close_internal, _IO_file_close_it_internal)
20949 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20950 (_IO_file_init_internal, _IO_file_attach_internal)
20951 (_IO_file_fopen_internal, _IO_file_read_internal)
20952 (_IO_file_sync_internal, _IO_file_seek_internal)
20953 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20954 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20955 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20956 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20957 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20958 (_IO_list_all_internal, _IO_link_in_internal)
20959 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20960 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20961 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20962 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20963 (_IO_do_write_internal, _IO_padn_internal)
20964 (_IO_getline_info_internal, _IO_getline_internal)
20965 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20966 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20967 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20968 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20969 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20970 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20971 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20972 with libc_hidden_ver, remove use of INTUSE.
20973 * libio/genops.c: Likewise.
20974 * libio/freopen.c: Likewise.
20975 * libio/freopen64.c: Likewise.
20976 * libio/iofclose.c: Likewise.
20977 * libio/iofdopen.c: Likewise.
20978 * libio/iofflush.c: Likewise.
20979 * libio/iofflush_u.c: Likewise.
20980 * libio/iofgets.c: Likewise.
20981 * libio/iofgets_u.c: Likewise.
20982 * libio/iofopen.c: Likewise.
20983 * libio/iofopncook.c: Likewise.
20984 * libio/iofread.c: Likewise.
20985 * libio/iofread_u.c: Likewise.
20986 * libio/ioftell.c: Likewise.
20987 * libio/iofwrite.c: Likewise.
20988 * libio/iogetline.c: Likewise.
20989 * libio/iogets.c: Likewise.
20990 * libio/iogetwline.c: Likewise.
20991 * libio/iopadn.c: Likewise.
20992 * libio/iopopen.c: Likewise.
20993 * libio/ioseekoff.c: Likewise.
20994 * libio/ioseekpos.c: Likewise.
20995 * libio/iosetbuffer.c: Likewise.
20996 * libio/iosetvbuf.c: Likewise.
20997 * libio/ioungetc.c: Likewise.
20998 * libio/ioungetwc.c: Likewise.
20999 * libio/iovdprintf.c: Likewise.
21000 * libio/iovsprintf.c: Likewise.
21001 * libio/iovsscanf.c: Likewise.
21002 * libio/memstream.c: Likewise.
21003 * libio/obprintf.c: Likewise.
21004 * libio/oldfileops.c: Likewise.
21005 * libio/oldiofclose.c: Likewise.
21006 * libio/oldiofdopen.c: Likewise.
21007 * libio/oldiofopen.c: Likewise.
21008 * libio/oldiopopen.c: Likewise.
21009 * libio/oldstdfiles.c: Likewise.
21010 * libio/putc.c: Likewise.
21011 * libio/setbuf.c: Likewise.
21012 * libio/setlinebuf.c: Likewise.
21013 * libio/stdfiles.c: Likewise.
21014 * libio/strops.c: Likewise.
21015 * libio/vasprintf.c: Likewise.
21016 * libio/vscanf.c: Likewise.
21017 * libio/vsnprintf.c: Likewise.
21018 * libio/vswprintf.c: Likewise.
21019 * libio/wfiledoalloc.c: Likewise.
21020 * libio/wfileops.c: Likewise.
21021 * libio/wgenops.c: Likewise.
21022 * libio/wmemstream.c: Likewise.
21023 * libio/wstrops.c: Likewise.
21024 * libio/__fpurge.c: Likewise.
21025 * libio/__fsetlocking.c: Likewise.
21026 * assert/assert.c: Likewise.
21027 * debug/fgets_chk.c: Likewise.
21028 * debug/fgets_u_chk.c: Likewise.
21029 * debug/fread_chk.c: Likewise.
21030 * debug/fread_u_chk.c: Likewise.
21031 * debug/gets_chk.c: Likewise.
21032 * debug/obprintf_chk.c: Likewise.
21033 * debug/vasprintf_chk.c: Likewise.
21034 * debug/vdprintf_chk.c: Likewise.
21035 * debug/vsnprintf_chk.c: Likewise.
21036 * debug/vsprintf_chk.c: Likewise.
21037 * malloc/mtrace.c: Likewise.
21038 * misc/error.c: Likewise.
21039 * misc/syslog.c: Likewise.
21040 * stdio-common/asprintf.c: Likewise.
21041 * stdio-common/fxprintf.c: Likewise.
21042 * stdio-common/getw.c: Likewise.
21043 * stdio-common/isoc99_fscanf.c: Likewise.
21044 * stdio-common/isoc99_scanf.c: Likewise.
21045 * stdio-common/isoc99_vfscanf.c: Likewise.
21046 * stdio-common/isoc99_vscanf.c: Likewise.
21047 * stdio-common/isoc99_vsscanf.c: Likewise.
21048 * stdio-common/printf-prs.c: Likewise.
21049 * stdio-common/printf_fp.c: Likewise.
21050 * stdio-common/printf_fphex.c: Likewise.
21051 * stdio-common/printf_size.c: Likewise.
21052 * stdio-common/putw.c: Likewise.
21053 * stdio-common/scanf.c: Likewise.
21054 * stdio-common/sprintf.c: Likewise.
21055 * stdio-common/tmpfile.c: Likewise.
21056 * stdio-common/vfprintf.c: Likewise.
21057 * stdio-common/vfscanf.c: Likewise.
21058 * stdlib/strfmon_l.c: Likewise.
21059 * sunrpc/openchild.c: Likewise.
21060 * sunrpc/xdr_stdio.c: Likewise.
21061 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21062 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21063
d6c33fda
RM
210642012-05-24 Roland McGrath <roland@hack.frob.com>
21065
c1487492
RM
21066 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21067
21068 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21069 in the third column, to generate for the shared library an IFUNC
21070 that uses _dl_vdso_vsym.
21071 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21072 * Makeconfig (object-suffixes-noshared): New variable.
21073
21074 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21075 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21076 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21077 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21078
d6c33fda
RM
21079 [BZ #14132]
21080 * include/sys/time.h (__gettimeofday): Remove macro.
21081 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21082 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21083 Remove INTDEF.
21084 (__gettimeofday): Add libc_hidden_def.
21085 (gettimeofday): Add libc_hidden_weak.
21086 * sysdeps/mach/gettimeofday.c: Likewise.
21087 * sysdeps/posix/gettimeofday.c: Likewise.
21088 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21089 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21091 (__gettimeofday_internal): Remove strong_alias.
21092 (__gettimeofday): Add libc_hidden_def.
21093 (gettimeofday): Add libc_hidden_weak.
21094 * sysdeps/unix/syscalls.list (gettimeofday):
21095 Remove __gettimeofday_internal alias.
21096
b5a2bbe6
L
210972012-05-24 Daniel Jacobowitz <drow@false.org>
21098 H.J. Lu <hongjiu.lu@intel.com>
21099
21100 [BZ #12495]
21101 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21102 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21103 (largebin_index_32_big): New.
21104 (largebin_index): Use it for 16-byte alignment.
21105 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21106 correction with front_misalign.
21107
cfba4fda
L
211082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21109
7f907421
L
21110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21112 Likewise.
21113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21114 Likewise.
21115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21116 Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21118 Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21120 Likewise.
21121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21122 Likewise.
21123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21124 Likewise.
21125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21126 Likewise.
21127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21128 Likewise.
21129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21130 Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21132 Likewise.
21133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21134 Likewise.
21135
cfba4fda
L
21136 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21137 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21138
80bad0cc
JM
211392012-05-24 Joseph Myers <joseph@codesourcery.com>
21140
7a25eb06
JM
21141 [BZ #10846]
21142 [BZ #14036]
21143 * math/libm-test.inc (exp_test): Add test from bug 14036.
21144 (pow_test): Add test from bug 10846.
21145
795405f9
JM
21146 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21147 and other flags.
21148 (special_function): Do not include flags in test name.
21149 (parse_args): Likewise.
21150 * sysdeps/i386/fpu/libm-test-ulps: Update.
21151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21155
80bad0cc
JM
21156 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21157 exceptions.
21158 * math/libm-test.inc ("Philosophy"): Update comment about
21159 exception testing.
21160 (UNDERFLOW_EXCEPTION): New macro.
21161 (UNDERFLOW_EXCEPTION_OK): Likewise.
21162 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21163 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21164 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21165 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21166 (INVALID_EXCEPTION_OK): Update value.
21167 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21168 (OVERFLOW_EXCEPTION_OK): Likewise.
21169 (IGNORE_ZERO_INF_SIGN): Likewise.
21170 (test_exceptions): Handle underflow exceptions.
21171 (acos_test): Update for underflow exception expectations.
21172 (cexp_test): Likewise.
21173 (clog_test): Likewise.
21174 (clog10_test): Likewise.
21175 (csqrt_test): Likewise.
21176 (ctan_test): Likewise.
21177 (ctanh_test): Likewise.
21178 (exp_test): Likewise.
21179 (exp10_test): Likewise.
21180 (exp2_test): Likewise.
21181 (expm1_test): Likewise.
21182 (fma_test): Likewise.
21183 (j0_test): Likewise.
21184 (jn_test): Likewise.
21185 (nexttoward_test): Likewise.
21186 (pow_test): Likewise.
21187 (scalbn_test): Likewise.
21188 (scalbln_test): Likewise.
21189 (tan_test): Likewise.
21190 (y1_test): Likewise.
21191 * sysdeps/i386/fpu/libm-test-ulps: Update.
21192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21193
9e0e3d0b
DM
211942012-05-23 David S. Miller <davem@davemloft.net>
21195
21196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21197 (__libc_sigaction): Remove unused local variables.
21198
ccd0a08f
L
211992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21200
21201 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21202
62bdf9a6
PE
212032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21204
f8591f80
PE
21205 mktime: avoid signed integer overflow
21206 * time/mktime.c (__mktime_internal): Do not mishandle the case
21207 where diff == INT_MIN.
21208
94c7d826
PE
21209 mktime: simplify computation of average
21210 * time/mktime.c (ranged_convert): Use new time_t_avg function
21211 instead of rolling our own (probably-slower) code.
21212
ce73d683
PE
21213 mktime: do not assume signed right shift propagates sign bit
21214 * time/mktime.c (isdst_differ): New static function.
21215 (__mktime_internal): No need to normalize tm_isdst now.
21216 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21217 tm_isdst values.
21218
72a22e59
PE
21219 mktime: merge another wrapv change from gnulib
21220 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21221 from some compilers.
21222
68605433
PE
21223 mktime: remove incorrect attempt at unusual arithmetics
21224 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21225 The code didn't really work on such machines anyway.
21226 (TYPE_MINIMUM): Assume two's complement.
21227 (twos_complement_arithmetic): Verify that long_int and time_t
21228 are two's complement (or unsigned, in the latter case).
21229
03cf7fe3
PE
21230 mktime: check signed shifts on long_int and time_t, too
21231 * time/mktime.c (SHR): Check that shifts work as desired
21232 on the types long_int and time_t too, as SHR is used on
21233 such types.
21234
f04dfbc2
PE
21235 mktime: do not assume 'long' is wide enough
21236 * time/mktime.c (verify): Move decl up.
21237 (long_int): New type.
21238 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21239 to remove assumption in the code that 'long' is wide enough to
21240 store year values. This assumption is not true on x32 and on
21241 some non-glibc platforms.
21242
62bdf9a6
PE
21243 mktime: merge wrapv change from gnulib
21244 * time/mktime.c (WRAPV): New macro.
21245 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21246 (guess_time_tm, __mktime_internal): Do not assume that signed
21247 integer overflow wraps around; modern compilers generate code
21248 where this assumption is no longer valid.
21249
5e292e4f
L
212502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21251
21252 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21253 Replace "jmp L(pseudo_end)" with "ret".
21254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21255 Likewise.
21256
8caf8c87
AJ
212572012-05-23 Andreas Jaeger <aj@suse.de>
21258
21259 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21260 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21261
1a09dc56
AJ
212622012-05-23 Andreas Jaeger <aj@suse.de>
21263 Maximilian Attems <max@stro.at>
21264
21265 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21266 New macros.
21267
1c87aba0
L
212682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21271 code so that pseudo_end is just ret and the stack pointer is
21272 correct also for static library in error case.
21273
40e45bd5
JM
212742012-05-23 Joseph Myers <joseph@codesourcery.com>
21275
c2670533
JM
21276 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21277 move to syscalls.list.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21282
40e45bd5
JM
21283 * manual/install.texi (Running make install): Do not mention Linux
21284 kernel version for which pt_chown is not needed.
21285 (Linux): Do not mention problems with nscd with 2.0 kernels.
21286 * INSTALL: Regenerated.
21287
be08eda5
AJ
212882012-05-23 Andreas Jaeger <aj@suse.de>
21289
21290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21291 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21292 macro.
21293 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21295 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21297 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21303 * sysdeps/unix/sysv/linux/bits/in.h
21304 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21305
a6a056bb
RM
213062012-05-22 Roland McGrath <roland@hack.frob.com>
21307
21308 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21309 (PREPARE_VERSION): Just use assert instead, it will be elided
21310 under [NDEBUG] anyway.
21311
c9009328
L
213122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21313
21314 * sysdeps/unix/sysv/linux/Makefile: Include
21315 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21316 (sysdep_routines): Remove sysctl.
c9009328
L
21317 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21318 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21321 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21322
73338355
AJ
213232012-05-22 Andreas Jaeger <aj@suse.de>
21324
21325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21326 that pseudo_end is just ret and the stack pointer is correct also
21327 for static library in error case.
21328
d44638b0
PP
213292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21330
21331 [BZ #14122]
21332 * nss/nsswitch.c (defconfig_entries): New variable.
21333 (__nss_database_lookup): Don't leak defconfig entries.
21334 (nss_parse_service_list): Don't leak on error paths.
21335 (free_database_entries): New function.
21336 (free_defconfig): New function.
21337 (free_mem): Move common code to free_database_entries.
21338
31a39bd8
L
213392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21340
da0331a8
L
21341 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21342 Add arch_prctl.
21343 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21344
31a39bd8
L
21345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21346 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21348 New macro.
21349 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21350 (INTERNAL_SYSCALL_TYPES): Likewise.
21351 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21352 (LOAD_REGS_TYPES_[1-6]): Likewise.
21353 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21354 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21355
45470df3
AZ
213562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21357
21358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21359 copysignl for GLIBC_2_0.
21360 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21361 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21363 logbl for GLIBC_2_0.
21364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21365 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21366
98a61bcb
L
213672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21368
a4f6e481
L
21369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21370 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21371
f63d5db6
L
21372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21373 Use "neg %eax".
21374
98a61bcb
L
21375 * time/mktime.c: Update copyright years.
21376
95770f14
PE
213772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21378
6226efbd
PE
21379 mktime: merge comment-quoting-style change from gnulib
21380 * time/mktime.c: Quote 'like this' in comments.
21381 The GNU coding standards suggest that we no longer quote `like this',
21382 as "`" and "'" are typically rendered asymmetrically nowadays.
21383 The typical gnulib style is to quote 'like this' when quoting
21384 code, and "like this" when quoting English.
21385
b99e4f78
PE
21386 * time/mktime.c (compile-command): Add "-I.".
21387
643e01e6
PE
21388 mktime: merge mktime-internal.h change from gnulib
21389 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21390
2554247d
PE
21391 mktime: merge time_r change from gnulib
21392 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21393
826dd0ab
PE
21394 mktime: merge DEBUG change from gnulib
21395 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21396 case system <time.h> has a #define.
21397
bd83aabe
PE
21398 mktime: merge <sys/types.h> change from gnulib
21399 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21400 since <time.t> is now guaranteed to define time_t.
21401
95770f14
PE
21402 mktime: merge HAVE_CONFIG_H change from gnulib
21403 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21404
5e1a27a9
L
214052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21406
0e44a77e
L
21407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21408 Use "neg %eax".
21409
5e1a27a9
L
21410 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21411 __rlim_t cast.
21412 (struct rusage): Use anonymous union to pad each field to
21413 __syscall_slong_t.
21414
46259bec
DM
214152012-05-21 David S. Miller <davem@davemloft.net>
21416
21417 * Makefules (o-iterator): Remove .s cases.
21418 (compile-command.s): Delete.
21419 (COMPILE.s): Delete.
21420 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21421
59f0c22e
JM
214222012-05-21 Joseph Myers <joseph@codesourcery.com>
21423
21424 * configure.in (libc_cv_predef_stack_protector): Only consider
21425 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21426 * configure: Regenerated.
21427
20c07380
L
214282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21429
bbb3154b
L
21430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21431 New macro. Use R*LP on int and pointer.
21432 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21433 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21434 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21435 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21436
20c07380
L
21437 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21438 [__WORDSIZE_TIME64_COMPAT32] instead of
21439 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21440 (struct utmp): Likewise.
21441 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21442 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21443 Renamed to ...
21444 (__WORDSIZE_TIME64_COMPAT32): This.
21445 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21446 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21447 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21448 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21449 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21450 (__WORDSIZE_TIME64_COMPAT32): New macro.
21451
d8d1017e
AJ
214522012-05-21 Andreas Jaeger <aj@suse.de>
21453
21454 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21455 only if [SHARED]. Add prototype for __wcschr_ia32.
21456
6c7fb145
RM
214572012-05-21 Roland McGrath <roland@hack.frob.com>
21458
21459 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21460 of %rbp unmolested in the jmp_buf while mangling the low bits.
21461 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21462 unmolested high bits of %rbp while demangling the low bits.
21463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21464
66274218
AJ
214652012-05-21 Andreas Jaeger <aj@suse.de>
21466
07c58f8f
AJ
21467 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21468 * sunrpc/svc_simple.c: Use it for registerrpc.
21469 * sunrpc/xcrypt.c: Use it for passwd2des.
21470
66274218
AJ
21471 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21472
61f65140
L
214732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21476 Don't define if [__SYSCALL_WORDSIZE != 32].
21477 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21478 New macro.
21479
5fefb436
AJ
214802012-05-21 Bruno Haible <bruno@clisp.org>
21481 Andreas Jaeger <aj@suse.de>
21482
21483 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21484 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21485 inptr and inend for must_buffer_ch.
21486 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21487 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21488 * stdio-common/Makefile (tests): Remove bug15.
21489 (bug15-ENV): Remove macro.
21490 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21491 anymore.
21492
d8e272ab
AJ
214932012-05-19 Andreas Jaeger <aj@suse.de>
21494 Roland McGrath <roland@hack.frob.com>
21495
21496 * manual/contrib.texi: Completely rewritten. It contains now an
21497 alphabetical list of contributors and their contributions.
21498
4a56a162
RH
214992012-05-21 Richard Henderson <rth@twiddle.net>
21500
21501 * misc/getauxval.c (__getauxval): Use unsigned long int.
21502 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21503 (getauxval): Use unsigned long int.
21504
d024d23c
L
215052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21508
cbc00a03
RM
215092012-05-21 Roland McGrath <roland@hack.frob.com>
21510
21511 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21512 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21513 __alignof__ (long double).
21514
478143fa
AZ
215152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21516
21517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21518
c7683a6d
RH
215192012-05-20 Richard Henderson <rth@twiddle.net>
21520
21521 * misc/getauxval.c: New file.
21522 * misc/sys/auxv.h: New file.
21523 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21524 (routines): Add getauxval.
21525 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21527 * elf/dl-sysdep.c (_dl_auxv): Remove.
21528 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21529 * elf/dl-support.c (_dl_auxv): New variable.
21530 (_dl_aux_init): Initialize it.
21531 * manual/startup.texi (Auxiliary Vector): New node.
21532 * sysdeps/generic/bits/hwcap.h: New file.
21533 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21534 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21535 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21536 * sysdeps/sparc/sysdep.h: ... here. Include it.
21537 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21540 Update.
c7683a6d
RH
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21549
a6f1845d
AZ
215502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21551
21552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21553
cbcbe830
DM
215542012-05-19 David S. Miller <davem@davemloft.net>
21555
21556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21557
e0b16cc2
JM
215582012-05-19 Joseph Myers <joseph@codesourcery.com>
21559
21560 [BZ #14123]
21561 * math/s_ccosh.c: Include <float.h>
21562 (__ccosh): Avoid internal overflow calculating sinh and cosh
21563 values before multiplying by sin and cos values.
21564 * math/s_ccoshf.c: Likewise.
21565 * math/s_ccoshl.c: Likewise.
21566 * math/s_csin.c: Likewise.
21567 * math/s_csinf.c: Likewise.
21568 * math/s_csinl.c: Likewise.
21569 * math/s_csinh.c: Likewise.
21570 * math/s_csinhf.c: Likewise.
21571 * math/s_csinhl.c: Likewise.
21572 * math/libm-test.inc (ccos_test): Add more tests.
21573 (ccosh_test): Likewise.
21574 (csin_test): Likewise.
21575 (csinh_test): Likewise.
21576 * sysdeps/i386/fpu/libm-test-ulps: Update.
21577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21578
6ad13e08
L
215792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21580
f66f0ce8
L
21581 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21582 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21583
6ad13e08
L
21584 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21585
b1d072a7
JM
215862012-05-19 Joseph Myers <joseph@codesourcery.com>
21587
21588 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21589 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21590 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21591 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21592 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21593 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21594 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21595 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21596 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21597 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21598 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21599 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21600 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21601 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21602 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21603 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21604 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21605 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21606 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21607 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21608 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21609 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21610 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21611 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21612 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21613 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21614 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21615 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21616 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21617 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21618 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21619
9eae47cb
AJ
216202012-05-18 Andreas Jaeger <aj@suse.de>
21621
21622 * csu/.gitignore: Delete.
21623
bb07f69f
L
216242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21627 (timex): Use __syscall_slong_t.
21628
e6bdb741
AJ
216292012-05-18 Andreas Jaeger <aj@suse.de>
21630 Carlos O'Donell <carlos_odonell@mentor.com>
21631
21632 * manual/install.texi (Configuring and compiling): Update
21633 description about files modified in the source directory.
d6c33fda 21634 * INSTALL: Regenerated.
e6bdb741 21635
1b74487e
L
216362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21637
21638 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21639 value. Use "or" to set return value to -1.
21640 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21641 negate return value.
21642
a88b64b9
TMQMF
216432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21644
21645 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21646 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21647 failure if the compiler has Graphite support disabled.
21648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21649 Likewise.
21650 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21651 CFLAGS-memmove.c): Likewise.
21652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21653 Likewise.
21654
3707636e
L
216552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21656
610b8622
L
21657 * sysdeps/x86_64/x32/_itoa.h: New file.
21658
7cd195df
L
21659 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21660 getdents system call only if kernel and user dirents have the
21661 same d_ino and d_off.
21662
94b07d20
L
21663 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21664 LLONG_MAX != LONG_MAX.
21665 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21666 (_fitoa_word): Likewise.
21667
18298070
L
21668 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21669 years.
21670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21673
553c7ea4
L
21674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21675 include <bits/wordsize.h>. Check __x86_64__ instead of
21676 __WORDSIZE.
21677 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21678 if __x86_64__ is defined. Use anonymous union on fpstate.
21679
3707636e
L
21680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21681 anonymous union.
21682
b53ef01a
AS
216832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21684
37fb1dc0
AS
21685 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21686 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21687 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21688 Refer to _rtld_local_ro instead of _rtld_global_ro.
21689 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21690 Likewise.
21691 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21692 Likewise.
21693 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21694 Likewise.
21695 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21696 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21697 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21698
b53ef01a
AS
21699 * sysdeps/powerpc/powerpc32/dl-machine.c
21700 (__elf_machine_runtime_setup) [PROF]: Don't reference
21701 _dl_prof_resolve.
21702
7a185db2
AJ
217032012-05-18 Andreas Jaeger <aj@suse.de>
21704
21705 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21706 function only available for GCCs before 3.4 since GCC 3.4
21707 introduced a builtin.
21708 (lrint): Likewise.
21709 (llrintf): Likewise.
21710 (llrint): Likewise.
21711 (fmaxf): Likewise.
21712 (fmax): Likewise.
21713 (fminf): Likewise.
21714 (fmin): Likewise.
21715 (rint): Likewise.
21716 (rintf): Likewise.
21717 (nearbyint): Likewise.
21718 (nearbyintf): Likewise.
21719 (ceil): Likewise.
21720 (ceilf): Likewise.
21721 (floor): Likewise.
21722 (floorf): Likewise.
21723
3e5aef87
L
217242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21725
428bd707
L
21726 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21727 on both fields and cast pointer to __syscall_ulong_t.
21728
3e5aef87
L
21729 * bits/types.h (__fsword_t): New type.
21730 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21731 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21733 (__FSWORD_T_TYPE): Likewise.
21734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21735 (__FSWORD_T_TYPE): Likewise.
21736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21737 (__FSWORD_T_TYPE): Likewise.
21738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21739 (__FSWORD_T_TYPE): Likewise.
21740 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21741 __SWORD_TYPE with __fsword_t.
21742 (statfs64): Likewise.
21743
1ba7c3dc
DM
217442012-05-17 David S. Miller <davem@davemloft.net>
21745
21746 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21747
59910343
AJ
217482012-05-17 Andreas Jaeger <aj@suse.de>
21749
21750 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21751 warning.
21752
2e4c1e9e
L
217532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21754
21755 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21756
de7f5ce7
AJ
217572012-05-17 Andreas Jaeger <aj@suse.de>
21758
21759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21760 when it is used.
21761
286abc3d
CM
217622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21763
21764 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21765
477cc68e
L
217662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21769 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21770
1a0994f5
CD
217712012-05-17 Andreas Jaeger <aj@suse.de>
21772 Carlos O'Donell <carlos_odonell@mentor.com>
21773
21774 [BZ #14059]
21775 * sysdeps/x86_64/multiarch/init-arch.h
21776 (bit_YMM_Usable): Rename to...
21777 (bit_AVX_Usable): ... this.
21778 (bit_FMA4_Usable): New macro.
21779 (bit_XMM_state): New macro.
21780 (bit_YMM_state): New macro.
21781 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21782 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21783 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21784 (CPUID_OSXSAVE): New macro.
21785 (CPUID_AVX): New macro.
21786 (CPUID_FMA4): New macro.
21787 (index_YMM_Usable): Rename to...
21788 (index_AVX_Usable): ... this.
21789 (HAS_AVX): Use HAS_ARCH_FEATURE.
21790 (HAS_FMA4): Likewise.
21791 (HAS_YMM_USABLE): Remove.
21792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21793 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21794 are present.
21795 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21796 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21797 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21798 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21799 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21800
0af797de
CM
218012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21802
21803 * math/libm-test.c: Support platforms without multiple rounding modes.
21804 * math/bug-nextafter.c: Support platforms without FP exceptions.
21805 * math/bug-nexttoward.c: Likewise.
21806 * math/test-fenv.c: Likewise.
21807 * math/test-misc.c: Likewise.
21808 * stdlib/bug-getcontext.c: Likewise.
21809
e39745ff
AJ
218102012-05-17 Andreas Jaeger <aj@suse.de>
21811
21812 * manual/examples/search.c (critter_cmp): Change signature to
21813 avoid warnings.
21814 * manual/string.texi (Collation Functions): Likewise.
21815
48970aba
L
218162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21817
21818 * bits/types.h: Fold copyright years.
21819 * bits/typesizes.h: Likewise.
21820 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21824 * time/time.h: Likewise.
21825
bedee953
PP
218262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21827
21828 [BZ #208]
21829 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21830 in instead of returning them. Return void.
21831 (__libc_mallinfo): Accumulate over all arenas.
21832 (__malloc_stats): Adjust for change in int_mallinfo interface.
21833
61653dfb
RM
218342012-05-16 Roland McGrath <roland@hack.frob.com>
21835
30b99d79
RM
21836 [BZ #10375]
21837 * configure.in (NM): Add AC_CHECK_TOOL for it.
21838 (libc_extra_cflags): New substituted variable.
21839 Check for -fstack-protector being used implicitly.
21840 * configure: Regenerated.
21841 * config.make.in (config-extra-cflags): New variable,
21842 gets @libc_extra_cflags@.
21843 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21844
61653dfb
RM
21845 [BZ #10375]
21846 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21847 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21848 * configure: Regenerated.
21849 * config.make.in (CPPUNDEFS): New substituted variable.
21850 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21851 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21852 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21853
661768bb
L
218542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21857 (mq_attr): Use __syscall_slong_t.
21858
d4261567
L
218592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21860
21861 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21862 Check __x86_64__ instead of __WORDSIZE.
21863 (_STAT_VER_LINUX): Likewise.
21864 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21865 __syscall_ulong_t and __syscall_slong_t.
21866 (stat64): Likewise.
21867
cf3ff365
L
218682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21871
76cf3e4d
L
218722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21875
a637753a
L
218762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21879 __syscall_ulong_t.
21880
d5e05119
L
21881 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21882 include <bits/wordsize.h>. Check __x86_64__ instead of
21883 __WORDSIZE.
21884 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21885 defined.
21886 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21887
f62ee380
L
21888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21889 include <bits/wordsize.h>. Check __x86_64__ instead of
21890 __WORDSIZE.
21891 (user_regs_struct): Use "__extension__ unsigned long long"
21892 instead of "unsigned long" if __x86_64__ is defined.
21893 (user): Likewise. Pad after pointer field if __ILP32__ is
21894 defined.
21895
4e124ced
JM
218962012-05-16 Joseph Myers <joseph@codesourcery.com>
21897
6a3951a0
JM
21898 * configure.in (makeinfo): Require version 4.5 or later. Allow
21899 versions 5 to 9.
21900 * configure: Regenerated.
21901 * manual/install.texi (texinfo): Increase version requirement to
21902 4.5 or later.
21903 * INSTALL: Regenerated.
21904
4e124ced
JM
21905 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21906
953ca31a
L
219072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21910
617aca05
L
21911 * sysdeps/x86_64/x32/ffs.c: New file.
21912
5762f7ae
L
21913 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21914 __syscall_ulong_t.
21915 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21916 defined. Use __syscall_ulong_t.
21917 (shminfo): Use __syscall_ulong_t.
21918 (shm_info): Likewise.
21919
a26b6856
L
21920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21921 __syscall_ulong_t.
21922
cb2b9ef7
L
21923 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21924 <bits/wordsize.h>.
21925 (msgqnum_t): Use __syscall_ulong_t.
21926 (msglen_t): Likewise.
21927 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21928 __syscall_ulong_t.
21929
34683bb0
L
21930 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21932
84a68786
L
21933 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21934
48baa5f1
L
21935 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21936 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21937
180be88b
L
21938 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21939 __syscall_slong_t.
21940
5e90c8ad
L
21941 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21942 include <bits/wordsize.h>. Check __x86_64__ instead of
21943 __WORDSIZE.
21944
23dfb58b
L
21945 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21946 "unsigned long long int" if __x86_64__ is defined.
21947 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21948
ce5d54b0
L
21949 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21950 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21951 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21952
13dc9eac
L
21953 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21954 <stdint.h>.
21955 (GET_PC): Cast to uintptr_t first.
21956 (GET_FRAME): Likewise.
21957 (GET_STACK): Likewise.
21958
a7895d15
L
21959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21961 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21962 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21963 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21964 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21965 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21966 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21967 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21975 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21988
656416c9
AS
219892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21990
5bd66283
AS
21991 * Makerules (+depfiles): Also collect depfiles from .oS in
21992 $(extra-objs).
21993 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21994 .oS, $(libnldbl-routines)).
21995
656416c9
AS
21996 * Makerules (native-compile-mkdep-flags): Define.
21997 * sunrpc/Makefile (extra-objs): Add $(addprefix
21998 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21999 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22000 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22001 calling $(make-target-directory).
22002
a46f2169
L
220032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22004
22005 * bits/types.h (__snseconds_t): Removed.
22006 * time/time.h (struct timespec): Replace __snseconds_t with
22007 __syscall_slong_t.
22008 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22009 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22010 Likewise.
22011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22012 (__SNSECONDS_T_TYPE): Likewise.
22013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22014 (__SNSECONDS_T_TYPE): Likewise.
22015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22016 (__SNSECONDS_T_TYPE): Likewise.
22017
6af6528b
L
220182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22019
22020 * sysdeps/mach/hurd/bits/typesizes.h
22021 (__SYSCALL_SLONG_TYPE): New macro.
22022 (__SYSCALL_ULONG_TYPE): Likewise.
22023
de986b56
L
220242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 * bits/types.h (__syscall_slong_t): New type.
22027 (__syscall_ulong_t): Likewise.
22028
22029 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22030 (__SYSCALL_ULONG_TYPE): Likewise.
22031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22032 (__SYSCALL_SLONG_TYPE): Likewise.
22033 (__SYSCALL_ULONG_TYPE): Likewise.
22034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22035 (__SYSCALL_SLONG_TYPE): Likewise.
22036 (__SYSCALL_ULONG_TYPE): Likewise.
22037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22038 (__SYSCALL_SLONG_TYPE): Likewise.
22039 (__SYSCALL_ULONG_TYPE): Likewise.
22040
85736dc7
L
220412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22044 Add sigaltstack-offsets.sym.
22045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22046 <sigaltstack-offsets.h>.
22047 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22048 longjmp_msg pointer.
22049 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22050 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22051 signal stack.
22052 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22053
cc03b296
JM
220542012-05-15 Joseph Myers <joseph@codesourcery.com>
22055
a9538892
JM
22056 * elf/stackguard-macros.h: Remove file.
22057 * sysdeps/generic/stackguard-macros.h: New file.
22058 * sysdeps/i386/stackguard-macros.h: Likewise.
22059 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22060 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22061 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22062 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22063 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22064 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22065 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22066 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22067 <elf/stackguard-macros.h>.
22068
cc03b296
JM
22069 [BZ #14109]
22070 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22071 __aligned__ in attribute.
22072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22073 (gregset_t): Likewise.
22074
93171016
L
220752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22076
22077 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22078 * sysdeps/x86_64/64/Implies-after: Here. New file.
22079 * sysdeps/x86_64/x32/Implies-after: New file.
22080
d86813a0
L
220812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22082
22083 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22084 and access return value for _dl_profile_fixup. Use R10_LP to
22085 load frame size.
22086
2953ec75
L
220872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22088
22089 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22090
3b550e9e
L
220912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22092
22093 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22094 * sysdeps/x86_64/x32/sysdep.h: New file.
22095
eda41706
L
220962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22097
22098 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22099 * sysdeps/x86_64/setjmp.S: Likewise.
22100
9ea01d93
AZ
221012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22102
22103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22105 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22107 remove unused global constant.
22108
02a91938
CM
221092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22110
22111 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22112 include of <not-cancel.h>.
22113
6540185f
RM
221142012-05-15 Roland McGrath <roland@hack.frob.com>
22115
22116 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22117
509072a0
AJ
221182012-05-15 Jeff Law <law@redhat.com>
22119 Andreas Jaeger <aj@suse.de>
22120
22121 [BZ #13594]
22122 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22123 out from...
22124 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22125 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22126 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22127 code changing __hst_map_handle.map.
22128
ba75122d
RM
221292012-05-15 Roland McGrath <roland@hack.frob.com>
22130
22131 * configure.in (sysnames): Look for Implies-before and Implies-after
22132 files.
22133 * configure: Regenerated.
22134
890d8bd8
L
221352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22138 8-byte data alignment with LP_SIZE alignment.
22139
f6ee6623
L
221402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22141
22142 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22143 into R10_LP.
22144
ea2626f6
L
221452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22148
085f715e
L
221492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22150
22151 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22152 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22154 Likewise.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22156
be8498fc
L
221572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22160 (stackinfo_sub_sp): Likewise.
22161
70bc83b9
L
221622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22163
22164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22165 RAX_LP.
22166
9bc0b730
L
221672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22168
22169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22170 into R*_LP.
22171
6d2850e7
L
221722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22173
22174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22175 sizes into R*_LP.
22176
3cb84561
L
221772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22180
54e2ed81
L
221812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22184 into R11_LP and load __x86_64_shared_cache_size_half into
22185 R8_LP.
22186
8a17f349
L
221872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22190 R8_LP.
22191
777b1eea
AZ
221922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22193
22194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22195 logb for POWER7.
22196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22197 logbf for POWER7.
22198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22199 logbl for POWER7.
22200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22201 powerpc32/power7/fpu/s_logb.c via #include.
22202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22203 powerpc32/power7/fpu/s_logbf.c via #include.
22204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22205 powerpc32/power7/fpu/s_logbl.c via #include.
22206
d20d4ac2
JM
222072012-05-15 Joseph Myers <joseph@codesourcery.com>
22208
22209 * README.libm: Remove file.
22210
6cdef1ab
L
222112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22212
22213 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22214 count for x32. Use R*_LP and omit operand-size suffix.
22215
0b254d8f
L
222162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22217
22218 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22219 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22220 * sysdeps/x86_64/x32/shlib-versions: New file.
22221
ceb809dc
RM
222222012-05-14 Roland McGrath <roland@hack.frob.com>
22223
22224 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22225 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22226 Use _dl_fatal_printf instead.
22227
37f1abd4
JM
222282012-05-14 Joseph Myers <joseph@codesourcery.com>
22229
22230 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22231 set if not set by the user. Do not allow for being unset.
22232 * sysdeps/unix/sysv/linux/configure: Regenerated.
22233
11de3a33
L
222342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22237 the `q' suffix from lea and replace .quad with ASM_ADDR.
22238
e02f153a
L
222392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22240
22241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22242 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22243 instead of $17.
22244 (PTR_DEMANGLE): Likewise.
22245
520ae0fd
L
222462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22247
22248 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22249 (LP_OP): Likewise.
22250 (ASM_ADDR): Likewise.
22251 (RAX_LP): Likewise.
22252 (RBP_LP): Likewise.
22253 (RBX_LP): Likewise.
22254 (RCX_LP): Likewise.
22255 (RDI_LP): Likewise.
22256 (RSI_LP): Likewise.
22257 (RSP_LP): Likewise.
22258 (R8_LP): Likewise.
22259 (R9_LP): Likewise.
22260 (R10_LP): Likewise.
22261 (R10_LP): Likewise.
22262 (R11_LP): Likewise.
22263 (R12_LP): Likewise.
22264 (R13_LP): Likewise.
22265 (R14_LP): Likewise.
22266 (R15_LP): Likewise.
22267
b985be81
L
222682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22269
22270 * sysdeps/x86_64/x32/dl-machine.h: New file.
22271
6a4888ff
AJ
222722012-05-14 Andreas Jaeger <aj@suse.de>
22273
22274 * manual/Makefile (subdir): Remove export of subdir.
22275 (all): Remove target.
22276 (.PHONY): Remove all from list.
22277 (mkinstalldirs): Remove.
22278 (.PHONY): Remove installdirs from list.
22279 ($(inst_infodir)/libc.info): Use make-target-directory.
22280 (installdirs): Remove.
22281 (subdir_%): Remove.
22282 (glibc-targets): Remove.
22283 (lib): Remove.
22284 (stubs): Remove.
22285 ($(objpfx)stubs ../po/manual.pot): Remove.
22286 ($(objpfx)stamp%): Remove.
22287 (make-target-directory): Remove.
22288 (subdir_install): Remove.
22289 (routines): Remove.
22290 (aux): Remove.
22291 (sources): Remove.
22292 (objects): Remove.
22293 (headers): Remove.
22294
22295 [BZ #13750]
22296 * manual/.gitignore: Remove, it's not needed anymore.
22297 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22298 all files in it.
22299 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22300 directory.
22301 (texis): Renamed to $(objpfx)texis.
22302 (texis-path): New, contains path to generated files.
22303 (chapters.%): Use texis-path for complete path, add extra argument
22304 libc-texinfo.sh.
22305 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22306 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22307 (summary,texi, stamp-summary): Use complete path of
22308 files. Generate files in build dir.
22309 (dir-add.texi): Build in build dir.
22310 (libm-err.texi,stamp-libm-err): Likewise.
22311 (version.texi, stamp-version): Likewise.
22312 (.%c.texi): Likewise.
22313 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22314 (mostlyclean): Remove target.
22315 (realclean): Remove target.
22316 (generated): Add new variable with contents from mostlyclean and
22317 realclean, remove entries duplicated in common-mostlyclean, add
22318 stamp-libm-err and stamp-version.
22319 (generated-dirs): Add libc directory.
22320 ($(inst_infodir)/libc.info): Install files from build dir.
22321
22322 * manual/install.texi (Configuring and compiling): Adjust since
22323 the info files are not part of the tar ball anymore.
22324
7ac77294
AJ
223252012-05-14 Andreas Jaeger <aj@suse.de>
22326
22327 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22328 variable.
22329
ffb7875d
JM
223302012-05-14 Joseph Myers <joseph@codesourcery.com>
22331
22332 [BZ #13717]
22333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22334 to 2.2.0 where earlier.
22335 * sysdeps/unix/sysv/linux/configure: Regenerated.
22336 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22337 Remove conditional code.
22338 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22339 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22340 Remove conditional code.
22341 [!__NR_lchown]: Likewise.
22342 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22343 [__NR_lchown]: Likewise.
22344 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22345 comment referencing __ASSUME_LCHOWN_SYSCALL.
22346 * sysdeps/unix/sysv/linux/i386/sigaction.c
22347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22349 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22350 Remove conditional code.
22351 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22352 (__protocol_available): Remove #if 0 code.
22353 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22354 conditional code.
22355 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22356 * sysdeps/unix/sysv/linux/kernel-features.h
22357 (__ASSUME_GETCWD_SYSCALL): Don't define.
22358 (__ASSUME_REALTIME_SIGNALS): Likewise.
22359 (__ASSUME_PREAD_SYSCALL): Likewise.
22360 (__ASSUME_PWRITE_SYSCALL): Likewise.
22361 (__ASSUME_POLL_SYSCALL): Likewise.
22362 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22363 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22364 non-SPARC.
22365 (__ASSUME_SIOCGIFNAME): Don't define.
22366 (__ASSUME_MSG_NOSIGNAL): Likewise.
22367 (__ASSUME_SENDFILE): Define unconditionally.
22368 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22369 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22370 conditional code.
22371 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22372 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22373 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22374 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22375 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22376 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22377 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22382 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22391 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22394 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22397 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22402 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22403 Remove conditional code.
22404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22405 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22406 Remove conditional code.
22407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22408 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22409 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22410 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22411 Remove conditional code.
22412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22413 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22414 Remove conditional code.
22415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22416 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22417 Remove conditional code.
22418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22419 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22420 Remove conditional code.
22421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22422 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22423 Remove conditional code.
22424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22425 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22428 * sysdeps/unix/sysv/linux/sigaction.c
22429 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22430 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22431 * sysdeps/unix/sysv/linux/sigpending.c
22432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22434 * sysdeps/unix/sysv/linux/sigprocmask.c
22435 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22436 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22437 * sysdeps/unix/sysv/linux/sigsuspend.c
22438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22441 (__libc_missing_rt_sigs): Remove.
22442 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22443 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22444 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22445 Remove conditional code.
22446 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22447 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22448 return 1.
22449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22451 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22452 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22453
1bfb7291
AJ
224542012-05-14 Andreas Jaeger <aj@suse.de>
22455
caae5a81
AJ
22456 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22457 it's not used in glibc.
22458 (__coshm1): Likewise.
22459 (__acosh1p): Likewise.
22460 (__sgn): Likewise.
22461
1bfb7291
AJ
22462 * manual/string.texi (Copying and Concatenation): Add missing
22463 variable in concat example.
22464 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22465
c044d724
L
224662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22467
144c5467 22468 [BZ #14103]
c044d724
L
22469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22470 __builtin_clzl with __builtin_clzll.
22471
2523c62b
L
224722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22473
22474 [BZ #14104]
22475 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22476 libc_freeres_ptr.
22477
d7bb4c42
LD
224782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22479
22480 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22481 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22482 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22483 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22484
9dc4e1fb
MF
224852012-05-14 Mike Frysinger <vapier@gentoo.org>
22486
22487 * NEWS: Update ia64 info.
22488
c7df0112
AS
224892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22490
22491 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22492 used as bcopy.
22493
dc70356c
TS
224942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22495
22496 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22497 * sysdeps/unix/syscalls.list (dup3): Likewise.
22498 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22499 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22500
9fb1a21f
L
225012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22504 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22505
4822a2a5
L
225062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22509 thread pointer.
22510 (TLS_IE): Use mov/add instead of movq/addq to load thread
22511 pointer.
22512 (TLS_GD_PREFIX): New.
22513 (TLS_GD): Use it.
22514
842b81d6
DM
225152012-05-11 David S. Miller <davem@davemloft.net>
22516
22517 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22518 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22519 (_FPU_SETCW): Likewise.
22520
1cf463cd
L
225212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22524 is 32-byte aligned.
22525
60cc4a18
AS
225262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22527
22528 [BZ #11837]
22529 * iconvdata/gb18030.c: Update tables.
22530 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22531 characters specially.
22532 (BODY for TO_LOOP): Add encoding of missing ranges.
22533
febb44a4
TS
225342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22535
22536 [BZ #13673]
22537 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22538 * sysdeps/mach/hurd/dup3.c: Likewise.
22539 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22540 * sysdeps/powerpc/memmove.c:: Likewise.
22541
0a10fb9e
L
225422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22545 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22546
df8a552f
L
225472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22548
22549 * elf/elf.h (R_X86_64_RELATIVE64): New.
22550 (R_X86_64_NUM): Updated.
22551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22552 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22553 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22554 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22555 tst-quad1pie tst-quad2pie
22556 (modules-names): Add tst-quadmod1 tst-quadmod2.
22557 ($(objpfx)tst-quad1): New dependency.
22558 ($(objpfx)tst-quad2): Likewise.
22559 ($(objpfx)tst-quad1pie): Likewise.
22560 ($(objpfx)tst-quad2pie): Likewise.
22561 * sysdeps/x86_64/tst-quad1.c: New file.
22562 * sysdeps/x86_64/tst-quad1pie.c: New file.
22563 * sysdeps/x86_64/tst-quad2.c: Likewise.
22564 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22565 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22566 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22567 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22568 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22569
f34d6f84
ST
225702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22571
f42d41d1
ST
22572 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22573 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22574 * streams/stropts.h (t_scalar_t): Define type.
22575
3c3571fc
ST
22576 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22577 (_PATH_PRESERVE): Set to "/var/lib".
22578 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22579
61f06bd3
ST
22580 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22581 instead of int.
22582
918d4d71
ST
22583 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22584 if __dir_mkfile succeeded.
22585
f34d6f84
ST
22586 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22587 checking for _hurd_dtablesize. Unlock it right after having
22588 finished _hurd_dtable allocation.
22589
10589b4a
TS
225902012-05-10 Thomas Schwinge <thomas@schwinge.name>
22591
674cdbc7
TS
22592 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22593 * sysdeps/mach/hurd/configure: Regenerated.
22594 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22595 special-casing to...
22596 * sysdeps/gnu/configure.in: ... this new file.
22597 * sysdeps/unix/sysv/linux/configure: Regenerated.
22598 * sysdeps/gnu/configure: New generated file.
22599
8e41b99f
TS
22600 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22601 for Linux: use nsec instead of usec, as well as:
22602 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22603 members of type struct timespec.
22604 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22605 New macros.
22606 (struct stat64): Likewise.
22607 (_STATBUF_ST_NSEC): New macro.
22608 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22609
10589b4a
TS
22610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22611 __strtoul_internal rather than strtoul.
22612
63643c85
PT
226132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22614
22615 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22616 and reject them.
22617
3faebe6a
ST
226182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22619
22620 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22621 which preserves existing values.
22622 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22623
c6474b07
PT
226242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22625
22626 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22627 TIMEOUT values. Return EINVAL for NFDS values either negative or
22628 greater than FD_SETSIZE.
22629
1043890b
ST
226302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22631
22632 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22633 allocated, call __vm_protect to finish enabling the existing space, and
22634 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22635 allocate the remainder.
22636
37ed8b9b
PT
226372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22638
22639 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22640 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22641
db653660
ST
226422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22643
37ed8b9b
PT
22644 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22645 sysdeps/mach/hurd/readlink.c.
b29d4053 22646
db653660
ST
22647 * posix/tst-sysconf.c (posix_options): Only use
22648 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22649 _POSIX_SYNCHRONIZED_IO when they are defined
22650 * sysdeps/mach/hurd/bits/posix_opt.h:
22651 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22652 (_XOPEN_REALTIME): Undefine macro.
22653 (_XOPEN_REALTIME_THREADS): Undefine macro.
22654 (_XOPEN_SHM): Undefine macro.
22655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22656 macro to -1.
22657 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22658 macro to -1.
22659 (_POSIX_ASYNC_IO): Undefine macro.
22660 (_POSIX_PRIORITIZED_IO): Undefine macro.
22661 (_POSIX_SPIN_LOCKS): Define macro to -1.
22662
ee16e894
ST
22663 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22664 SA_NODEFER, SA_RESETHAND.
22665 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22666 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22667 F_DUPFD_CLOEXEC.
22668
6103ae3b
TS
226692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22670
22671 * elf/Makefile (pldd-modules): Define unconditionally.
22672
80b4e5f3
TS
226732012-05-10 Thomas Schwinge <thomas@schwinge.name>
22674
22675 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22676
edadcbd6
ST
226772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22678
22679 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22680 Return ENOENT when name is empty.
22681 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22682
80694780
TS
226832012-05-10 Thomas Schwinge <thomas@schwinge.name>
22684
1792c087
TS
22685 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22686
80694780
TS
22687 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22688
6b645f0d
ST
226892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22690
80694780
TS
22691 Fix mlock in all cases except non-readable pages.
22692 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22693 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22694
6b645f0d
ST
22695 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22696 (__mkdir): When path is `/', just fail with EEXIST.
22697 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22698
e468f8a3
TS
226992012-05-10 Thomas Schwinge <thomas@schwinge.name>
22700
22701 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22702 <sys/uio.h> (for writev).
22703 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22704 and <sys/param.h> (for MIN).
22705
a4186cff
PT
227062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22707
22708 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22709 REQUESTED_TIME. Properly set the remaining time and return EINTR
22710 if interrupted.
22711
510bbf14
TS
227122012-05-10 Thomas Schwinge <thomas@schwinge.name>
22713
22714 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22715 Depend on against $(link-rpcuserlibs).
22716
5d5722e8
ST
227172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22718
a4186cff
PT
22719 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22720 (__libc_stack_end): Do not use attribute_relro.
22721 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22722 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22723 to libthread-provided value.
a4186cff
PT
22724 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22725 attribute_relro.
5d5722e8 22726
37233df9
TS
227272012-05-10 Thomas Schwinge <thomas@schwinge.name>
22728
be971a2b
TS
22729 [BZ #3748]
22730 * bits/libc-lock.h (__libc_once_get): New macro.
22731 * sysdeps/mach/bits/libc-lock.h: Likewise.
22732 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22734 instead of using implementation details.
22735
37233df9
TS
22736 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22737 * libio/freopen.c: Likewise.
22738 * libio/freopen64.c: Likewise.
22739 * misc/syslog.c: Likewise.
22740 * nscd/connections.c: Likewise.
22741 * nscd/netgroupcache.c: Likewise.
22742 * sysdeps/posix/getcwd.c: Likewise.
22743
38de94a5
RM
227442012-05-10 Roland McGrath <roland@hack.frob.com>
22745
22746 * math/w_ilogbf.c: Add #include <limits.h>.
22747
67530489
ST
227482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22749
a4186cff 22750 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22751 path instead of returning without unlocking.
22752
67530489
ST
22753 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22754 immediate-write ioctls.
22755 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22756
5aa3a74a
TS
227572012-05-10 Thomas Schwinge <thomas@schwinge.name>
22758
18bad2ae
TS
22759 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22760 __builtin_frame_address instead of making assumptions about the
22761 location of the return address relative to DATA. Force early load of
22762 the return address.
22763 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22764 __builtin_frame_address.
22765
5aa3a74a
TS
22766 dup3 for GNU Hurd.
22767 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22768 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22769 implement dup3 and do some further code clean-ups.
22770 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22771 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22772
ecd0de9a
ST
227732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22774
cd9fa985
ST
22775 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22776
a4186cff
PT
22777 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22778 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22779 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22780 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22781 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22782 d->port.lock.
802ca5a5 22783
a4186cff
PT
22784 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22785 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22786 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22787
bcf55240
TS
227882012-05-10 Thomas Schwinge <thomas@schwinge.name>
22789
6960eb42
TS
22790 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22791 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22792 definitions.
22793
eb43375f
TS
22794 accept4 for GNU Hurd.
22795 * include/sys/socket.h (__libc_accept4): New prototype.
22796 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22797 to implement __libc_accept4.
22798 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22799 __libc_accept4.
22800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22801
bcf55240
TS
22802 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22803 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22804 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22805 signal-defines.sym.
22806
6178c55b
ST
228072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22808
a4186cff 22809 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22810
6f080c2f
TS
228112012-05-10 Thomas Schwinge <thomas@schwinge.name>
22812
22813 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22814 assertion on O_CLOEXEC flag.
22815 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22816 * hurd/intern-fd.c: Likewise.
22817 * hurd/port2fd.c: Likewise.
22818
bcfe3a54
ST
228192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22820
22821 [BZ #3906]
22822 * bits/in.h (IPV6_PKTINFO): Define new macro.
22823 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22824
89c9aa49
AZ
228252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22826
22827 [BZ #13954]
22828 [BZ #13955]
22829 [BZ #13956]
22830 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22832 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22833 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22835 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22836 * math/libm-test.inc (logb_test) : Additional logb tests.
22837
021db4be
AJ
228382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22839 Andreas Jaeger <aj@suse.de>
22840
22841 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22842 * configure: Regenerated.
22843 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22844 * config.make.in (link-obsolete-rpc): New substituted variable.
22845 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22846 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22847 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22848 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22849 so that libc.a contains the symbols.
22850 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22851 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22852 * sunrpc/auth_none.c: Likewise.
22853 * sunrpc/auth_unix.c: Likewise.
22854 * sunrpc/authdes_prot.c: Likewise.
22855 * sunrpc/authuxprot.c: Likewise.
22856 * sunrpc/clnt_gen.c: Likewise.
22857 * sunrpc/clnt_perr.c: Likewise.
22858 * sunrpc/clnt_raw.c: Likewise.
22859 * sunrpc/clnt_simp.c: Likewise.
22860 * sunrpc/clnt_tcp.c: Likewise.
22861 * sunrpc/clnt_udp.c: Likewise.
22862 * sunrpc/clnt_unix.c: Likewise.
22863 * sunrpc/des_crypt.c: Likewise.
22864 * sunrpc/des_soft.c: Likewise.
22865 * sunrpc/get_myaddr.c: Likewise.
22866 * sunrpc/key_call.c: Likewise.
22867 * sunrpc/key_prot.c: Likewise.
22868 * sunrpc/netname.c: Likewise.
22869 * sunrpc/pm_getmaps.c: Likewise.
22870 * sunrpc/pm_getport.c: Likewise.
22871 * sunrpc/pmap_clnt.c: Likewise.
22872 * sunrpc/pmap_prot.c: Likewise.
22873 * sunrpc/pmap_prot2.c: Likewise.
22874 * sunrpc/pmap_rmt.c: Likewise.
22875 * sunrpc/publickey.c: Likewise.
22876 * sunrpc/rpc_cmsg.c: Likewise.
22877 * sunrpc/rpc_common.c: Likewise.
22878 * sunrpc/rpc_dtable.c: Likewise.
22879 * sunrpc/rpc_prot.c: Likewise.
22880 * sunrpc/rpc_thread.c: Likewise.
22881 * sunrpc/rtime.c: Likewise.
22882 * sunrpc/svc.c: Likewise.
22883 * sunrpc/svc_auth.c: Likewise.
22884 * sunrpc/svc_raw.c: Likewise.
22885 * sunrpc/svc_run.c: Likewise.
22886 * sunrpc/svc_tcp.c: Likewise.
22887 * sunrpc/svc_udp.c: Likewise.
22888 * sunrpc/svc_unix.c: Likewise.
22889 * sunrpc/svcauth_des.c: Likewise.
22890 * sunrpc/xcrypt.c: Likewise.
22891 * sunrpc/xdr.c: Likewise.
22892 * sunrpc/xdr_array.c: Likewise.
22893 * sunrpc/xdr_float.c: Likewise.
22894 * sunrpc/xdr_intXX_t.c: Likewise.
22895 * sunrpc/xdr_mem.c: Likewise.
22896 * sunrpc/xdr_rec.c: Likewise.
22897 * sunrpc/xdr_ref.c: Likewise.
22898 * sunrpc/xdr_sizeof.c: Likewise.
22899 * sunrpc/xdr_stdio.c: Likewise.
22900
b5c086a2
RM
229012012-05-10 Roland McGrath <roland@hack.frob.com>
22902
22903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22904 change. Update copyright years.
22905
6d74dd09
JM
229062012-05-10 Joseph Myers <joseph@codesourcery.com>
22907
22908 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22909
28e72501
MK
229102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22911 Joseph Myers <joseph@codesourcery.com>
22912 Paul Pluzhnikov <ppluzhnikov@google.com>
22913
22914 [BZ #14012]
22915 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22916 requiring rpcgen.
22917 [cross-compiling] (extra-libs): Likewise.
22918 [cross-compiling] (extra-libs-others): Likewise.
22919 [cross-compiling] (librpcsvc-routines): Likewise.
22920 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22921 [cross-compiling] (omit-deps): Likewise.
22922 (sunrpc-CPPFLAGS): New variable.
22923 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22924 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22925 (cross-rpcgen-objs): New variable.
22926 (extra-objs): Append $(cross-rpcgen-objs).
22927 ($(cross-rpcgen-objs)): New rule.
22928 ($(objpfx)cross-rpcgen): Likewise.
22929 (rpcgen-cmd): Define to use $(built-program-file). Expand
22930 comment.
22931 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22932 ($(objpfx)x%.stmp): Likewise.
22933 * sunrpc/proto.h [IS_IN_build] (_): Define.
22934 [IS_IN_build] (_libc_intl_domainname): Likewise.
22935
c8c59454
L
229362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22937
22938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22939 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22940 and R_X86_64_TPOFF64.
22941
6f27cd16
JM
229422012-05-10 Joseph Myers <joseph@codesourcery.com>
22943
22944 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22945 sysdeps/unix/sysv/syscalls.list.
22946 (stime): Likewise.
22947 (utime): Likewise.
22948 * sysdeps/unix/sysv/syscalls.list: Remove file.
22949
02467e1c
PE
229502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22951
22952 [BZ #3440]
22953 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22954 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22955 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22956 (__LC_IDENTIFICATION): Make these macros useful in #if
22957 expressions, as required by C99.
22958
da392631
AS
229592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22960
22961 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22962 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22963 after this.
22964
8115f29b
L
229652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22966
22967 * stdlib/longlong.h: Updated from GCC.
22968
bdd74070
AJ
229692012-05-09 Andreas Jaeger <aj@suse.de>
22970
edfe0dbe
AJ
22971 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22972 default is first entry.
22973 (run_mode): Set type.
22974 (main): Remove informal message about syslog.
22975 (options): Fix typo.
22976
bcfe3a54
ST
22977 [BZ #14053]
22978 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22979 to asm.
bcfe3a54
ST
22980 (lrint): Likewise.
22981 (llrintf): Likewise.
22982 (llrint): Likewise.
22983 (rint): Likewise.
22984 (rintf): Likewise.
22985 (nearbyint): Likewise.
22986 (nearbyintf): Likewise.
bdd74070 22987
91d8d69e
AJ
229882012-05-09 Andreas Jaeger <aj@suse.de>
22989 Pedro Alves <palves@redhat.com>
22990
22991 * nscd/nscd.c (run_mode): Use enum.
22992 (main): Cleanup coding style issue.
22993
bb90b80b
AJ
229942012-05-09 Alexandre Oliva <aoliva@redhat.com>
22995 Andreas Jaeger <aj@suse.de>
22996
bcfe3a54
ST
22997 * nscd/nscd.c (go_background): Replaced with...
22998 (run_mode): ... this.
bb90b80b 22999 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23000 (options): Add -F --foreground.
23001 (main): Implement it.
23002 (parse_opt): Parse it.
bb90b80b 23003
1a4b75a1
AJ
230042012-05-09 Andreas Jaeger <aj@suse.de>
23005
23006 [BZ #14083]
23007 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23008 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23009 -Wconversion warning.
23010 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23011 Likewise.
23012
b1cc2472
JM
230132012-05-09 Joseph Myers <joseph@codesourcery.com>
23014
23015 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23016 == 0.
23017 (LC_ALL): Use macro-int-constant.
23018 (LC_COLLATE): Likewise.
23019 (LC_CTYPE): Likewise.
23020 (LC_MESSAGES): Likewise.
23021 (LC_MONETARY): Likewise.
23022 (LC_NUMERIC): Likewise.
23023 (LC_TIME): Likewise.
23024 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23025 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23027 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23028 Specify type.
23029 [C99-based standards] (float_t): Expect type.
23030 [C99-based standards] (double_t): Expect type.
23031 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23032 type.
23033 [C99-based standards] (HUGE_VALL): Likewise.
23034 [C99-based standards] (INFINITY): Likewise.
23035 [C99-based standards] (NAN): Likewise.
23036 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23037 [C99-based standards] (FP_NAN): Likewise.
23038 [C99-based standards] (FP_NORMAL): Likewise.
23039 [C99-based standards] (FP_SUBNORMAL): Likewise.
23040 [C99-based standards] (FP_ZERO): Likewise.
23041 [C99-based standards] (FP_FAST_FMA): Use
23042 optional-macro-int-constant. Specify type. Require == 1.
23043 [C99-based standards] (FP_FAST_FMAF): Likewise.
23044 [C99-based standards] (FP_FAST_FMAL): Likewise.
23045 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23046 [C99-based standards] (FP_ILOGBNAN): Likewise.
23047 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23048 Specify type.
23049 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23050 [C99-based standards] (math_errhandling): Specify type.
23051 [ISO99 || ISO11] (signgam): Do not allow.
23052 [non-C99-based standards] (copysignf): Do not allow.
23053 [non-C99-based standards] (exp2f): Likewise.
23054 [non-C99-based standards] (log2f): Likewise.
23055 [non-C99-based standards] (modff): Allow.
23056 [non-C99-based standards] (erff): Do not allow.
23057 [non-C99-based standards] (erfcf): Likewise.
23058 [non-C99-based standards] (gammaf): Likewise.
23059 [non-C99-based standards] (hypotf): Likewise.
23060 [non-C99-based standards] (j0f): Likewise.
23061 [non-C99-based standards] (j1f): Likewise.
23062 [non-C99-based standards] (jnf): Likewise.
23063 [non-C99-based standards] (lgammaf): Likewise.
23064 [non-C99-based standards] (tgammaf): Likewise.
23065 [non-C99-based standards] (y0f): Likewise.
23066 [non-C99-based standards] (y1f): Likewise.
23067 [non-C99-based standards] (ynf): Likewise.
23068 [non-C99-based standards] (isnanf): Likewise.
23069 [non-C99-based standards] (acoshf): Likewise.
23070 [non-C99-based standards] (asinhf): Likewise.
23071 [non-C99-based standards] (atanhf): Likewise.
23072 [non-C99-based standards] (cbrtf): Likewise.
23073 [non-C99-based standards] (expm1f): Likewise.
23074 [non-C99-based standards] (ilogbf): Likewise.
23075 [non-C99-based standards] (log1pf): Likewise.
23076 [non-C99-based standards] (logbf): Likewise.
23077 [non-C99-based standards] (nextafterf): Likewise.
23078 [non-C99-based standards] (remainderf): Likewise.
23079 [non-C99-based standards] (rintf): Likewise.
23080 [non-C99-based standards] (scalbf): Likewise.
23081 [non-C99-based standards] (copysignl): Likewise.
23082 [non-C99-based standards] (exp2l): Likewise.
23083 [non-C99-based standards] (log2l): Likewise.
23084 [non-C99-based standards] (modfl): Allow.
23085 [non-C99-based standards] (erfl): Do not allow.
23086 [non-C99-based standards] (erfcl): Likewise.
23087 [non-C99-based standards] (gammal): Likewise.
23088 [non-C99-based standards] (hypotl): Likewise.
23089 [non-C99-based standards] (j0l): Likewise.
23090 [non-C99-based standards] (j1l): Likewise.
23091 [non-C99-based standards] (jnl): Likewise.
23092 [non-C99-based standards] (lgammal): Likewise.
23093 [non-C99-based standards] (tgammal): Likewise.
23094 [non-C99-based standards] (y0l): Likewise.
23095 [non-C99-based standards] (y1l): Likewise.
23096 [non-C99-based standards] (ynl): Likewise.
23097 [non-C99-based standards] (isnanl): Likewise.
23098 [non-C99-based standards] (acoshl): Likewise.
23099 [non-C99-based standards] (asinhl): Likewise.
23100 [non-C99-based standards] (atanhl): Likewise.
23101 [non-C99-based standards] (cbrtl): Likewise.
23102 [non-C99-based standards] (expm1l): Likewise.
23103 [non-C99-based standards] (ilogbl): Likewise.
23104 [non-C99-based standards] (log1pl): Likewise.
23105 [non-C99-based standards] (logbl): Likewise.
23106 [non-C99-based standards] (nextafterl): Likewise.
23107 [non-C99-based standards] (remainderl): Likewise.
23108 [non-C99-based standards] (rintl): Likewise.
23109 [non-C99-based standards] (scalbl): Likewise.
23110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23111 [non-C99-based standards] (FP_*): Do not allow.
23112 [C99-based standards] (FP_*): Change to
23113 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23114 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23115 allow.
23116 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23117 (SIG_ERR): Likewise.
23118 [X/Open-based standards] (SIG_HOLD): Likewise.
23119 (SIG_IGN): Likewise.
23120 (SIGABRT): Use macro-int-constant. Specify type. Require
23121 positive value.
23122 (SIGFPE): Likewise.
23123 (SIGILL): Likewise.
23124 (SIGINT): Likewise.
23125 (SIGSEGV): Likewise.
23126 (SIGTER): Likewise.
23127 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23128 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23129 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23130 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23131 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23132 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23133 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23134 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23135 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23136 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23137 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23138 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23139 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23140 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23141 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23142 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23143 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23144 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23145 [X/Open-based standards] (SIGTRAP): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23147 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23148 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23149 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23150 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23151 allow.
23152
b9f1922d
IW
231532012-05-08 Ian Wienand <ianw@vmware.com>
23154
23155 [BZ #14080]
23156 * time/tzset.c (__tzset_parse_tz): Update default rules for
23157 daylight time changes in the Energy Policy Act of 2005.
23158
1db86e88
AJ
231592012-05-09 Andreas Jaeger <aj@suse.de>
23160
23161 [BZ #13983]
23162 * elf/ldconfig.c (parse_conf): Change string to make clear that
23163 ldconfig only issued a warning if ld.so.conf does not exist.
23164
dee4a4e3
DM
231652012-05-08 David S. Miller <davem@davemloft.net>
23166
ee0db190
DM
23167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23168 movxtod instead of popping the value on the stack.
23169
dee4a4e3
DM
23170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23171
6a43ec98
CD
231722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23173
23174 * config.h.in: Add HAVE_ARM_PCS_VFP.
23175
05c2c961
RMG
231762012-05-08 Roland Mc Grath <roland@hack.frob.com>
23177
bcfe3a54
ST
23178 [BZ #13979]
23179 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23180 checking but the checks are disabled for any reason.
05c2c961 23181
4b30f61a
L
231822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23185 and ELF64_R_TYPE with ELFW(R_TYPE).
23186
eee2bc67
JM
231872012-05-08 Joseph Myers <joseph@codesourcery.com>
23188
7ea5391a
JM
23189 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23190 (ulimit): Likewise.
23191
eee2bc67
JM
23192 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23193 (settimeofday): Likewise.
23194
abb66a67
MF
231952012-05-08 Mike Frysinger <vapier@gentoo.org>
23196
23197 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23198 a struct th_u2 inside the union, and move tu_block/tu_code into
23199 a new th_u3 union of tu_block/tu_code inside of that. Move
23200 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23201 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23202 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23203 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23204 (th_stuff): Change to th_u1.tu_stuff.
23205 (th_data): Define.
23206 (th_msg): Change to th_u1.th_u2.tu_data.
23207
7f18b530
DM
232082012-05-07 David S. Miller <davem@davemloft.net>
23209
05760585
DM
23210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23211
7f18b530
DM
23212 [BZ #14074]
23213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23214 (SETUP_PIC_REG): Use it.
23215 (SETUP_PIC_REG_LEAF): Use it.
23216
495fd99f
JM
232172012-05-07 Joseph Myers <joseph@codesourcery.com>
23218
23219 [BZ #13885]
23220 [BZ #13923]
23221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23222 USE_AS_EXPM1L.
23223 (EXPL_FINITE): Likewise.
23224 (FLDLOG): Likewise.
23225 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23226 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23227 e_expl.S.
23228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23229 USE_AS_EXPM1L.
23230 (EXPL_FINITE): Likewise.
23231 (FLDLOG): Likewise.
23232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23233 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23234 e_expl.S.
23235 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23236 test of -max_value argument for long double.
23237 * sysdeps/i386/fpu/libm-test-ulps: Update.
23238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23239
6693d694
DM
232402012-05-06 David S. Miller <davem@davemloft.net>
23241
23242 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23243 quad soft-float symbols whose references which are compiler
23244 generated.
23245 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23246
6c23e11c
JM
232472012-05-06 Joseph Myers <joseph@codesourcery.com>
23248
d8b82cad
JM
23249 [BZ #13884]
23250 [BZ #13914]
23251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23252 USE_AS_EXP10L.
23253 (EXPL_FINITE): Likewise.
23254 (FLDLOG): Likewise.
23255 (c0): Likewise.
23256 (c1): Likewise.
23257 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23258 Adjust comments for base varying.
23259 (__expl_finite): Change alias to EXPL_FINITE.
23260 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23261 e_expl.S.
23262 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23263 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23265 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23267 USE_AS_EXP10L.
23268 (EXPL_FINITE): Likewise.
23269 (FLDLOG): Likewise.
23270 (c0): Likewise.
23271 (c1): Likewise.
23272 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23273 Adjust comments for base varying.
23274 (__expl_finite): Change alias to EXPL_FINITE.
23275 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23276 tests for bugs.
23277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23278
6c23e11c
JM
23279 [BZ #14064]
23280 * math/libm-test.inc (check_float_internal): Correct ulp
23281 calculation for subnormal expected results.
23282
29ba805c
AJ
232832012-05-06 Andreas Jaeger <aj@suse.de>
23284
23285 * Makeconfig (+math-flags): New, set to -frounding-math.
23286 (+cflags): Add +math-flags so that all of glibc gets compiled with
23287 it.
23288
23289 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23290
7b17aeda
JM
232912012-05-05 Joseph Myers <joseph@codesourcery.com>
23292
5779f134
JM
23293 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23294 Disable one test.
23295
41498f4d
JM
23296 [BZ #13787]
23297 [BZ #13922]
23298 [BZ #14036]
23299 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23300 (__ieee754_expl): Allow for and saturate large arguments.
23301 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23302 (u_threshold): Likewise.
23303 (__exp): Call __ieee754_exp before checking for overflow and
23304 underflow.
23305 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23306 (u_threshold): Likewise.
23307 (__expf): Call __ieee754_expf before checking for overflow and
23308 underflow.
23309 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23310 (u_threshold): Likewise.
23311 (__expl): Call __ieee754_expl before checking for overflow and
23312 underflow.
23313 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23314 (__ieee754_expl): Allow for and saturate large arguments.
23315 * math/libm-test.inc (exp_test): Add another test. Do not allow
23316 missing overflow exception on overflow.
23317 (expm1_test): Do not allow missing overflow exception on overflow.
23318
6698b8bf
JM
23319 * sysdeps/i386/fpu/e_expl.c: Move to ...
23320 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23321 rather than using inline asm.
23322 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23323 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23324 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23325
7b17aeda
JM
23326 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23327 (nice): Likewise.
23328 (poll): Likewise.
23329 (signal): Likewise.
23330 (time): Likewise.
23331 (times): Likewise.
23332
f7c85819
JM
233332012-05-04 Joseph Myers <joseph@codesourcery.com>
23334
23335 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23336 sysdeps/unix/common/syscalls.list.
23337 (fchmod): Likewise.
23338 (fchown): Likewise.
23339 (ftruncate): Likewise.
23340 (getrusage): Likewise.
23341 (gettimeofday): Likewise.
23342 (setpgid): Likewise.
23343 (setregid): Likewise.
23344 (setreuid): Likewise.
23345 (sigaction): Likewise.
23346 (truncate): Likewise.
23347 (vhangup): Likewise.
23348 * sysdeps/unix/common/syscalls.list: Remove file.
23349 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23350 * sysdeps/unix/sysv/linux/Implies: Likewise.
23351
336270d0
L
233522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23353
23354 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23356 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23357 Moved to ...
23358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23359 Here.
23360 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23361 to ...
23362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23363 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23364 to ...
23365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23367 to ...
23368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23369 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23370 to ...
23371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23372 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23373 to ...
23374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23375 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23376 to ...
23377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23378 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23379 to ...
23380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23381 Here.
23382 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23383 to ...
23384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23385 Here.
23386 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23387 to ...
23388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23389 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23390 Moved to ...
23391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23392 Here.
23393 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23394 to ...
23395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23396
d128e450
JM
233972012-05-04 Joseph Myers <joseph@codesourcery.com>
23398
fa8ee516
JM
23399 * sysdeps/unix/common/bits/dirent.h: Remove file.
23400 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23401
d128e450
JM
23402 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23403 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23404 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23405 * sysdeps/unix/bsd/isatty.c: Likewise.
23406 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23407 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23408 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23409
ff8faaf0 234102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23411
62881be4 23412 [BZ #13563]
31dc8730
AZ
23413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23414 long double comparison inaccuracies.
23415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23417
6fef930c
AS
234182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23419
23420 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23422
8f203e6c
JM
234232012-05-04 Joseph Myers <joseph@codesourcery.com>
23424
23425 [BZ #14049]
23426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23427 nonzero digits before rounding a hex value.
23428 * stdlib/tst-strtod.c (tests): Add another test.
23429
5197d9c2
AK
234302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23431
23432 * sysdeps/s390/fpu/libm-test-ulps: Update.
23433
f0c1dedf
AJ
234342012-05-03 Andreas Jaeger <aj@suse.de>
23435
23436 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23437 does not get optimized out.
23438 (malloc_opt_barrier): New.
23439
a65ef2ae 234402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23441 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23442
2b942cb7 23443 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23444 intermediate file deletion.
2b942cb7 23445 (generated): Add .symlist files.
a65ef2ae 23446
54b71e02
JM
234472012-05-03 Joseph Myers <joseph@codesourcery.com>
23448
23449 [BZ #13775]
23450 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23451 Redirect under this condition.
23452 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23453 [__USE_GNU] (__dprintf_chk): Not under this condition.
23454 [__USE_GNU] (__vdprintf_chk): Likewise.
23455 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23456 under this condition.
23457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23458 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23459 [__USE_XOPEN2K8] (vdprintf): Likewise.
23460 [__USE_GNU] (__dprintf_chk): Not under this condition.
23461 [__USE_GNU] (__vdprintf_chk): Likewise.
23462 [__USE_GNU] (dprintf): Likewise.
23463 [__USE_GNU] (vdprintf): Likewise.
23464
d3dfcc41
RM
234652012-05-03 Roland McGrath <roland@hack.frob.com>
23466
23467 * elf/Makefile (common-generated): Set this instead of generated for
23468 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23469 $(all-built-dso)-derived lists.
23470
7ac30cc5
AJ
234712012-05-03 Andreas Jaeger <aj@suse.de>
23472
0c51e550
AJ
23473 * sysdeps/i386/fpu/libm-test-ulps: Update.
23474
7ac30cc5
AJ
23475 * FAQ: Removed.
23476 * FAQ.in: Likewise.
23477 * scripts/gen-FAQ.pl: Likewise.
23478 * manual/install.texi (Installation): Point to online location of
23479 FAQ.
23480 * Makefile (files-for-dist): Remove FAQ.
23481 (FAQ): Remove.
23482
d4c2917f
AM
234832012-05-02 Allan McRae <allan@archlinux.org>
23484
23485 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23486 (LDFLAGS-reldepmod5.so): Likewise.
23487 (LDFLAGS-reldep6mod1.so): Likewise.
23488 (LDFLAGS-reldep6mod4.so): Likewise.
23489 (LDFLAGS-reldep8mod3.so): Likewise.
23490 (LDFLAGS-unload4mod1.so): Likewise.
23491 (LDFLAGS-unload4mod2.so): Likewise.
23492 (LDFLAGS-tst-initorder): Likewise.
23493 (LDFLAGS-tst-initordera2.so): Likewise.
23494 (LDFLAGS-tst-initordera3.so): Likewise.
23495 (LDFLAGS-tst-initordera4.so): Likewise.
23496 (LDFLAGS-tst-initorderb2.so): Likewise.
23497 (LDFLAGS-noload): Likewise.
23498 (LDFLAGS-next): Likewise.
23499 (LDFLAGS-order2mod1.so): Likewise.
23500 (LDFLAGS-order2mod2.so): Likewise.
23501 (LDFLAGS-tst-initorder2): Likewise.
23502 (LDFLAGS-tst-initorder2a.so): Likewise.
23503 (LDFLAGS-tst-initorder2b.so): Likewise.
23504 (LDFLAGS-tst-initorder2c.so): Likewise.
23505 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23506
d77f993f
DM
235072012-05-02 David S. Miller <davem@davemloft.net>
23508
23509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23510
171a70b4
PP
235112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23512
23513 [BZ #14055]
23514 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23515
0be196ad
AJ
235162012-05-02 Andreas Jaeger <aj@suse.de>
23517
23518 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23519 since we manipulate rounding mode.
23520 (CPPFLAGS-test-idouble.c): Likewise.
23521 (CPPFLAGS-test-ifloat.c): Likewise.
23522 (CFLAGS-test-ldouble.c): Likewise.
23523 (CFLAGS-test-double.c): Likewise.
23524 (CFLAGS-test-float.c): Likewise.
23525 (CFLAGS-test-misc.c): Likewise.
23526 (CFLAGS-test-test-fenv.c): Likewise.
23527
4f9d04aa
AZ
235282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23529
2b942cb7
RM
23530 [BZ #2550]
23531 [BZ #2570]
23532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23533 comparisons to determine direction to adjust input.
4f9d04aa 23534
82a79e7d
RM
235352012-05-01 Roland McGrath <roland@hack.frob.com>
23536
f5a01ca9
RM
23537 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23538 output to the target.
23539
90fe4186
RM
23540 * scripts/localplt.awk: New file.
23541 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23542 (check-localplt-CFLAGS): Variable removed.
23543 ($(all-built-dso:=.jmprel)): New static pattern rule.
23544 (generated): Add those targets.
23545 (localplt-built-dso): New variable.
23546 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23547
23548 * elf/check-localplt.c: File removed.
23549
82397ed6
RM
23550 * scripts/check-execstack.awk: New file.
23551 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23552 (check-execstack-CFLAGS): Variable removed.
23553 ($(objpfx)check-execstack.h): Target removed.
23554 ($(objpfx)execstack-default): New target.
23555 (generated): Add that instead of check-execstack.h.
23556 ($(all-built-dso:=.phdr)): New static pattern rule.
23557 (generated): Add those targets.
23558 * elf/check-execstack.c: File removed.
23559
82a79e7d
RM
23560 * scripts/check-textrel.awk: New file.
23561 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23562 (check-textrel-CFLAGS): Variable removed.
23563 (all-built-dso): Use := to define.o
23564 ($(all-built-dso:=.dyn)): New static pattern rule.
23565 (generated): Add those targets.
23566 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23567 * config.make.in (READELF): New substituted variable.
23568 * elf/check-textrel.c: File removed.
23569
62fde54f 235702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23571
615605c9
JM
23572 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23573 allow.
23574 * conform/data/ctype.h-data [C99-based standards] (isblank):
23575 Expect function.
23576 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23577 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23579 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23580 Specify type. Require positive value.
23581 (EILSEQ): Likewise.
23582 (ERANGE): Likewise.
23583 [ISO || POSIX] (EILSEQ): Do not expect.
23584 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23585 Specify type. Require positive value.
23586 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23587 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23588 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23589 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23590 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23591 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23593 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23594 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23595 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23599 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23600 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23601 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23602 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23603 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23604 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23605 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23606 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23607 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23608 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23609 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23610 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23611 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23617 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23621 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23622 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23647 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23653 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23660 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23661 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23662 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23663 Require >= 2.
23664 (FLT_ROUNDS): Expect as macro, not constant.
23665 (FLT_MANT_DIG): Use macro-int-constant.
23666 (DBL_MANT_DIG): Likewise.
23667 (LDBL_MANT_DIG): Likewise.
23668 (FLT_DIG): Likewise.
23669 (DBL_DIG): Likewise.
23670 (LDBL_DIG): Likewise.
23671 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23672 (DBL_MIN_EXP): Likewise.
23673 (LDBL_MIN_EXP): Likewise.
23674 (FLT_MAX_EXP): Use macro-int-constant.
23675 (DBL_MAX_EXP): Likewise.
23676 (LDBL_MAX_EXP): Likewise.
23677 (FLT_MAX_10_EXP): Likewise.
23678 (DBL_MAX_10_EXP): Likewise.
23679 (LDBL_MAX_10_EXP): Likewise.
23680 (FLT_MAX): Use macro-constant.
23681 (DBL_MAX): Likewise.
23682 (LDBL_MAX): Likewise.
23683 (FLT_EPSILON): Use macro-constant. Give upper bound.
23684 (DBL_EPSILON): Likewise.
23685 (LDBL_EPSILON): Likewise.
23686 (FLT_MIN): Likewise.
23687 (DBL_MIN): Likewise.
23688 (LDBL_MIN): Likewise.
23689 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23690 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23691 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23692 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23693 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23694 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23695 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23696 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23697 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23698 [ISO11] (FLT_TRUE_MIN): Likewise.
23699 [ISO11] (LDBL_TRUE_MIN): Likewise.
23700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23701 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23702 (SCHAR_MIN): Use macro-int-constant. Specify type.
23703 (SCHAR_MAX): Likewise.
23704 (UCHAR_MAX): Likewise.
23705 (CHAR_MIN): Likewise.
23706 (CHAR_MAX): Likewise.
23707 (MB_LEN_MAX): Use macro-int-constant.
23708 (SHRT_MIN): Use macro-int-constant. Specify type.
23709 (SHRT_MAX): Likewise.
23710 (USHRT_MAX): Likewise.
23711 (INT_MAX): Likewise.
23712 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23713 bound negative.
23714 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23715 bound with "U".
23716 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23717 bound with "L".
23718 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23719 bound negative. Suffix upper bound with "L".
23720 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23721 bound with "UL".
23722 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23723 Specify type.
23724 [C99-based standards] (LLONG_MAX): Likewise.
23725 [C99-based standards] (ULLONG_MAX): Likewise.
23726 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23727 == 0.
23728 [ISO11] (max_align_t): Require type.
23729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23730
c9140a62
JM
23731 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23732 from $CFLAGS, without defining away __attribute__ calls.
23733 (checknamespace): Use $CFLAGS_namespace.
23734
9af0bf29
JM
23735 * conform/conformtest.pl (@keywords): Only include C99 keywords
23736 for standards based on C99 or C11.
23737
343222a2
JM
23738 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23739 Disable tests.
23740 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23741 UNIX98]: Likewise.
23742
661f8cf0
JM
23743 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23744 usability of symbols in #if.
23745
ee74b9cb
JM
23746 * conform/conformtest.pl: If macro or constant types start
23747 "promoted:", expect the symbol to be of the following type
23748 promoted by the integer promotions.
62fde54f 23749
aafc49b3
JM
23750 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23751 in one place. Also handle "macro-constant".
23752
fefdf574
JM
23753 * conform/conformtest.pl: Only accept expected macro values with
23754 "==". Parse all "macro" lines in one place.
23755 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23756
f2d922fe
JM
23757 * conform/conformtest.pl: Handle braced types on "constant" lines
23758 instead of handling "typed-constant".
23759 * conform/data/signal.h-data: Use "constant" instead of
23760 "typed-constant".
23761
d22956c9
JM
23762 * conform/conformtest.pl: Handle "optional-" at start of lines in
23763 one place rather than duplicating several cases. Handle each
23764 format of "macro" line with initial "optional-".
23765
028e2e38
JM
23766 * conform/conformtest.pl: Only accept expected constant or
23767 optional-constant values with "==". Parse all "constant" lines in
23768 one place. Parse all "optional-constant" lines in one place.
23769 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23770 * conform/data/fmtmsg.h-data: Likewise.
23771 * conform/data/netinet/in.h-data: Likewise.
23772 * conform/data/tar.h-data: Likewise.
23773 * conform/data/limits.h-data: Use "==" form on "constant" and
23774 "optional-constant" lines.
23775
1b8f2850
JM
23776 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23777 Use -std=c99 for XOPEN2K.
23778 (@knownproblems): Remove.
23779 (newtoken): Don't check %isknown.
23780
a05a144b
JM
23781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23782 Do not expect macro.
23783 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23790 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23791 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23792 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23793 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23794 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23795 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23796 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23797 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23798 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23799 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23800 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23801 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23813 [XPG3] (acosh): Likewise.
23814 [XPG3] (asinh): Likewise.
23815 [XPG3] (atanh): Likewise.
23816 [XPG3] (cbrt): Likewise.
23817 [XPG3] (expm1): Likewise.
23818 [XPG3] (ilogb): Likewise.
23819 [XPG3] (log1p): Likewise.
23820 [XPG3] (logb): Likewise.
23821 [XPG3] (nextafter): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23824 [XPG3] (remainder): Likewise.
23825 [XPG3] (rint): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23833 [UNIX98 || XOPEN2K] (scalb): Expect.
23834 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23835 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23837 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23838 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23839 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23842 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23843 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23850 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23851 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23852 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23853 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23854 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23855 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23856 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23857 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23858 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23859 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23860 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23861 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23862 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23863 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23864 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23865 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23866 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23867 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23868 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23869 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23870 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23871 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23872 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23873 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23874 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23875 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23876 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23877 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23878 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23879 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23880 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23881 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23882 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23883 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23884 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23885 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23886 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23887 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23888 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23889 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23890 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23891 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23892 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23893 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23894 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23895 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23896 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23897 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23898 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23899 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23900 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23901 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23902 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23903 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23904 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23905 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23906 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23907 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23908 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23909 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23910 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23911 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23912 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23913 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23914 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23915 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23916 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23917 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23918 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23919 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23920 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23921 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23922 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23923 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23924 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23925 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23926 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23927 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23928 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23929 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23930 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23931 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23932 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23933 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23934 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23935 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23936 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23937 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23938 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23939 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23940 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23941 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23942 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23943 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23944 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23945 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23946 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23947 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23948 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23949 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23950 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23951 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23952 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23953 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23954 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23955 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23956 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23957 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23958 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23959 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23960 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23961 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23962 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23963 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23964 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23965 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23966 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23967 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23968 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23969 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23970 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23971
73c5ebe3
JM
23972 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23973 _XOPEN_SOURCE_EXTENDED for XPG4.
23974
39c33b6c
JM
23975 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23976
62fde54f
JM
23977 * Makeconfig (localtime): Remove variable.
23978 (inst_localtime-file): Likewise.
23979
0741d64c
AS
239802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23981
23982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23983 Update.
23984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23985 Update.
23986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23987 Update.
23988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23989 Update.
23990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23991 Update.
23992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23993 Update.
23994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23995 Update.
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23997 Update.
23998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23999 Update.
24000
7cb029ee
JM
240012012-05-01 Joseph Myers <joseph@codesourcery.com>
24002
24003 [BZ #2550]
24004 [BZ #2570]
24005 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24006 comparisons to determine direction to adjust input.
24007 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24008 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24010 Likewise.
24011 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24012 Likewise.
24013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24014 Likewise.
24015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24017 Likewise.
24018 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24019 Likewise.
24020 * math/libm-test.inc (nexttoward_test): Add more tests.
24021
412bd966
AS
240222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24023
24024 [BZ #14040]
24025 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24026 in version GLIBC_2.1, not GLIBC_2.0.
24027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24028 Likewise.
24029
9568c0c2
JM
240302012-04-30 Joseph Myers <joseph@codesourcery.com>
24031
adfbc8ac
JM
24032 [BZ #13942]
24033 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24034 (1 - x) * (1 + x).
24035 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24036 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24037 * math/libm-test.inc (acos_test): Add more tests.
24038 (asin_test): Likewise.
24039 * sysdeps/i386/fpu/libm-test-ulps: Update.
24040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24041
5ba3cc69
JM
24042 [BZ #14034]
24043 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24044 of square root.
24045 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24046 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24047 * math/libm-test.inc (acos_test_tonearest): New function.
24048 (acos_test_towardzero): Likewise.
24049 (acos_test_downward): Likewise.
24050 (acos_test_upward): Likewise.
24051 (asin_test_tonearest): Likewise.
24052 (asin_test_towardzero): Likewise.
24053 (asin_test_downward): Likewise.
24054 (asin_test_upward): Likewise.
24055 (main): Call the new functions.
24056 * sysdeps/i386/fpu/libm-test-ulps: Update.
24057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24058
9568c0c2
JM
24059 [BZ #13884]
24060 [BZ #13924]
24061 * math/e_exp10.c: Include <float.h>.
24062 (__ieee754_exp10): Handle underflow here rather than multiplying
24063 large negative argument by M_LN10.
24064 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24065 of __ieee754_expf.
24066 * math/e_exp10l.c: Include <float.h>.
24067 (__ieee754_exp10l): Handle underflow here rather than multiplying
24068 large negative argument by M_LN10l.
24069 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24070 spurious overflow exception on underflow.
24071
5ac3ea17
MP
240722012-04-29 Marek Polacek <polacek@redhat.com>
24073
24074 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24075 (__fortify_function): New macro.
24076 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24077 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24078 __extern_always_inline.
24079 * libio/bits/stdio2.h: Likewise.
24080 * libio/bits/stdio.h: Likewise.
24081 * string/string.h: Likewise.
24082 * string/bits/string3.h: Likewise.
24083 * include/stdio.h: Likewise.
24084 * stdlib/bits/stdlib.h: Likewise.
24085 * stdlib/stdlib.h: Likewise.
24086 * rt/bits/mqueue2.h: Likewise.
24087 * rt/mqueue.h: Likewise.
24088 * posix/bits/unistd.h: Likewise.
24089 * posix/unistd.h: Likewise.
24090 * io/bits/poll2.h: Likewise.
24091 * io/bits/fcntl2.h: Likewise.
24092 * io/fcntl.h: Likewise.
24093 * io/sys/poll.h: Likewise.
24094 * misc/bits/syslog.h: Likewise.
24095 * misc/bits/syslog-ldbl.h: Likewise.
24096 * misc/sys/syslog.h: Likewise.
24097 * socket/bits/socket2.h: Likewise.
24098 * socket/sys/socket.h: Likewise.
24099 * debug/tst-chk1.c: Likewise.
24100 * wcsmbs/bits/wchar2.h: Likewise.
24101 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24102 * wcsmbs/wchar.h: Likewise.
24103
ecf0ebfb
AJ
241042012-04-29 Andreas Jaeger <aj@suse.de>
24105
24106 * Makerules (tests): Remove enable-check-abi protection.
24107 (check-abi-warn): Remove.
24108 (check-abi-%): Remove check-abi-warn usage.
24109
24110 * configure.in: Remove check-abi configure option.
24111 * configure: Regenerated.
24112 * config.make.in (enable-check-abi): Remove.
24113
6d5c57fa
AS
241142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24115
24c5d07e 24116 [BZ #14033]
ded5180a
AS
24117 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24118 double functions to double *_finite functions.
24119
7e0d315d
AS
24120 [BZ #13941]
24121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24122 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24123 LDBL_MIN_EXP.
24124 * stdio-common/Makefile (tests): Add tst-sprintf3.
24125 * stdio-common/tst-sprintf3.c: New file.
24126
6d5c57fa
AS
24127 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24128 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24129
0749ff8b
JM
241302012-04-28 Joseph Myers <joseph@codesourcery.com>
24131
24132 * conform/conformtest.pl: Remove duplicate typed-constant
24133 handling.
24134
8dbd5d7b
DM
241352012-04-28 David S. Miller <davem@davemloft.net>
24136
24137 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24138 (check-abi-%): Remove AWK script prerequisite and explicit
24139 abilist directory.
24140 (check-abi): Rewrite to just diff the symlist with the abilist.
24141 (config-tls, config-abi-config): Delete, no longer used.
24142 (update-abi-%): Remove AWK script and explicit abilist directory.
24143 (update-abi): Rewrite to simply compare and conditionally copy the
24144 symlist and the sysdep abilist file. Remove update-abi-config
24145 checks.
24146 * abilist/ld.abilist: Remove.
24147 * abilist/libBrokenLocale.abilist: Remove.
24148 * abilist/libanl.abilist: Remove.
24149 * abilist/libcrypt.abilist: Remove.
24150 * abilist/libdl.abilist: Remove.
24151 * abilist/librt.abilist: Remove.
24152 * abilist/libthread_db.abilist: Remove.
24153 * abilist/libutil.abilist: Remove.
24154 * scripts/extract-abilist.awk: Remove.
24155 * scripts/merge-abilist.awk: Remove.
24156 * sysdeps/generic/libcidn.abilist: New file.
24157 * sysdeps/generic/libnss_compat.abilist: New file.
24158 * sysdeps/generic/libnss_db.abilist: New file.
24159 * sysdeps/generic/libnss_dns.abilist: New file.
24160 * sysdeps/generic/libnss_files.abilist: New file.
24161 * sysdeps/generic/libnss_hesiod.abilist: New file.
24162 * sysdeps/generic/libnss_nis.abilist: New file.
24163 * sysdeps/generic/libnss_nisplus.abilist: New file.
24164 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24165 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24166 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24167 file.
24168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24169 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24170 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24171 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24172 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24176 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24177 file.
24178 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24179 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24180 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24181 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24182 file.
24183 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24184 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24185 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24187 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24189 file.
24190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24191 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24193 file.
24194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24196 New file.
24197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24198 New file.
24199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24200 New file.
24201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24202 New file.
24203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24204 New file.
24205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24206 New file.
24207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24208 New file.
24209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24210 New file.
24211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24212 New file.
24213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24214 New file.
24215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24216 New file.
24217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24218 New file.
24219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24220 New file.
24221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24222 file.
24223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24224 New file.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24226 New file.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24228 file.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24230 New file.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24232 New file.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24234 file.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24236 New file.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24238 New file.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24240 New file.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24242 New file.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24244 New file.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24246 New file.
24247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24249 file.
24250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24251 New file.
24252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24253 file.
24254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24255 file.
24256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24257 file.
24258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24259 file.
24260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24261 file.
24262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24263 New file.
24264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24265 file.
24266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24267 file.
24268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24269 New file.
24270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24271 file.
24272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24274 file.
24275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24276 New file.
24277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24278 file.
24279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24280 file.
24281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24282 file.
24283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24284 file.
24285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24286 file.
24287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24288 New file.
24289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24290 file.
24291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24292 file.
24293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24294 New file.
24295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24296 file.
24297 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24298 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24299 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24300 file.
24301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24302 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24303 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24305 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24306 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24307 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24308 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24309 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24310 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24313 file.
24314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24315 New file.
24316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24317 file.
24318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24319 file.
24320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24321 file.
24322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24323 file.
24324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24325 file.
24326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24327 New file.
24328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24329 New file.
24330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24331 file.
24332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24333 New file.
24334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24335 file.
24336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24338 file.
24339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24340 New file.
24341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24342 file.
24343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24344 file.
24345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24346 file.
24347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24348 file.
24349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24350 file.
24351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24352 New file.
24353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24354 New file.
24355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24356 file.
24357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24358 New file.
24359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24360 file.
24361
41d73a1b
JM
243622012-04-28 Joseph Myers <joseph@codesourcery.com>
24363
24364 * conform/conformtest.pl: Fix typo in handling typed-constant from
24365 allow-header.
24366
28aeeda4
JM
243672012-04-27 Joseph Myers <joseph@codesourcery.com>
24368
adae8f5e
JM
24369 * README: Cut down references to pre-2.6 Linux kernels and
24370 Linuxthreads. Update lists of configurations in libc and ports
24371 and sort alphabetically. Say "or newer" with Linux kernel version
24372 requirements.
24373
28aeeda4
JM
24374 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24375
a462cb63
RA
243762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24377
24378 [BZ #887]
24379 * math/libm-test.inc (logb_test_downward): New test to expose
24380 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24381 rounding mode.
24382
6ad3493e
JM
243832012-04-27 Joseph Myers <joseph@codesourcery.com>
24384
24385 [BZ #14027]
24386 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24387 to be done.
24388 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24389 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24390
2ce4f015
JM
243912012-04-26 Joseph Myers <joseph@codesourcery.com>
24392
5aeb141a
JM
24393 * sysdeps/unix/i386/brk.S: Remove file.
24394 * sysdeps/unix/i386/dl-brk.S: Likewise.
24395 * sysdeps/unix/i386/pipe.S: Likewise.
24396 * sysdeps/unix/i386/sigreturn.S: Likewise.
24397 * sysdeps/unix/i386/syscall.S: Likewise.
24398 * sysdeps/unix/i386/vfork.S: Likewise.
24399 * sysdeps/unix/i386/wait.S: Likewise.
24400
7143acae
JM
24401 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24402 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24403
2ce4f015
JM
24404 * configure.in (arm*-none*): Do not allow without
24405 --enable-hacker-mode.
24406 (netbsd*): Remove case setting base_os.
24407 (386bsd*): Likewise.
24408 (freebsd*): Likewise.
24409 (bsdi*): Likewise.
24410 (osf*): Likewise.
24411 (sunos*): Likewise.
24412 (ultrix*): Likewise.
24413 (newsos*): Likewise.
24414 (dynix*): Likewise.
24415 (*bsd*): Likewise.
24416 (sysv*): Likewise.
24417 (isc*): Likewise.
24418 (esix*): Likewise.
24419 (sco*): Likewise.
24420 (minix*): Likewise.
24421 (irix4*): Likewise.
24422 (irix6*): Likewise.
24423 (solaris[2-9]*): Likewise.
24424 (none): Likewise.
24425 * configure: Regenerated.
24426
0ac229c8
AZ
244272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24428
24429 [BZ #11521]
24430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24431 overflow or cancellation in calculating denominator.
24432 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24434 down expression to avoid unexpected rounding in newer GCCs.
24435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24436
33f244f4
DM
244372012-04-26 David S. Miller <davem@davemloft.net>
24438
24439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24440 long-double compat symbols.
24441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24454
cfa1f3e8
DM
244552012-04-25 David S. Miller <davem@davemloft.net>
24456
24457 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24458 HWCAP_* values only after the memory barriers have been defined.
24459 (atomic_full_barrier): Define.
24460 (atomic_read_barrier): Define.
24461 (atomic_write_barrier): Define.
24462
6e236b92
SP
244632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24464
24465 * shlib-versions: Add libgcc_s version information.
24466 * sysdeps/generic/libgcc_s.h: Remove.
24467 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24468 libgcc_s.h.
24469 * sysdeps/gnu/unwind-resume.c: Likewise.
24470 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24471
aab39a09
DM
244722012-04-25 David S. Miller <davem@davemloft.net>
24473
24474 * sysdeps/unix/sparc/brk.S: Delete.
24475 * sysdeps/unix/sparc/dl-brk.S: Delete.
24476 * sysdeps/unix/sparc/pipe.S: Delete.
24477 * sysdeps/unix/sparc/sysdep.S: Delete.
24478 * sysdeps/unix/sparc/sysdep.h: Delete.
24479 * sysdeps/unix/sparc/vfork.S: Delete.
24480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24481 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24483 ret_ERRVAL, r0, r1, MOVE): Define.
24484 (JUMPTARGET): Remove.
24485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24486 sysdeps/unix/sparc/sysdep.h
24487 (ENTRY, END): Remove.
24488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24489
a3cc4f48
JM
244902012-04-25 Joseph Myers <joseph@codesourcery.com>
24491
2ed8cda2
JM
24492 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24493 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24494 -DIS_IN_build.
24495
35d76d59
JM
24496 * timezone/README: Update upstream location and email address for
24497 tzcode and tzdata.
24498 * timezone/zdump.c: Update from tzcode 2012b.
24499 * timezone/zic.c: Likewise.
24500
a3cc4f48
JM
24501 * configure.in (libc_cv_as_needed): Remove test.
24502 * configure: Regenerated.
24503 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24504 conditional definition.
24505 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24506 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24507 * config.make.in (have-as-needed): Remove variable.
24508
ceab42c3
SP
245092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24510 Paul Pluzhnikov <ppluzhnikov@google.com>
24511
24512 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24513 strings correctly.
24514
3ce2865f
CLT
245152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24516
24517 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24518 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24519 * sysdeps/sh/strlen.S: Likewise.
24520
f37e0d68
JM
245212012-04-24 Joseph Myers <joseph@codesourcery.com>
24522
ae186e9a
JM
24523 * sysdeps/unix/fork.S: Remove file.
24524 * sysdeps/unix/i386/fork.S: Likewise.
24525 * sysdeps/unix/sparc/fork.S: Likewise.
24526
b96914af
JM
24527 * sysdeps/unix/system.c: Remove file.
24528 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24529
f37e0d68
JM
24530 * sysdeps/unix/getegid.S: Remove file.
24531 * sysdeps/unix/geteuid.S: Likewise.
24532
87ef29ca
RM
245332012-04-24 Roland McGrath <roland@hack.frob.com>
24534
83bcd236
RM
24535 * scripts/check-localplt.awk: New file.
24536 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24537 of diff.
24538 * scripts/data/localplt-generic.data: Add a comment.
24539
87ef29ca
RM
24540 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24541 NODE when __dir_mkfile failed.
24542 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24543 Reported by Ludovic Courtès <ludo@gnu.org>.
24544
e5a6e567
AJ
245452012-04-24 Andreas Jaeger <aj@suse.de>
24546
24547 * Makerules (common-clean): Also remove gen-as-const-headers
24548 files.
24549
c1820385
JM
245502012-04-24 Joseph Myers <joseph@codesourcery.com>
24551
24552 * Makerules (native-compile): Do not change working directory for
24553 build. Use $(OUTPUT_OPTION) in command.
24554 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24555
94e02fc4
AZ
245562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24557
24558 [BZ #13886]
24559 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24560 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24561 * math/libm-test.inc (floor_test): Add more tests.
24562 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24563
3a533ca3
JM
245642012-04-24 Joseph Myers <joseph@codesourcery.com>
24565
940ab4b3
JM
24566 * sysdeps/unix/getdents.c: Remove file.
24567 * sysdeps/unix/sysv/getdents.c: Likewise.
24568 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24569
90e037bd
JM
24570 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24571 sysdeps/unix/mman/syscalls.list.
24572 (mmap): Likewise.
24573 (mprotect): Likewise.
24574 (msync): Likewise.
24575 (munmap): Likewise.
24576 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24577 * sysdeps/unix/mman/syscalls.list: Remove.
24578 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24579
3a533ca3
JM
24580 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24581 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24582 * configure: Regenerated.
24583 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24584 $(libgcc_s_suffix).
24585 * config.make.in (libgcc_s_suffix): Remove variable.
24586
1ad743de
JM
245872012-04-23 Joseph Myers <joseph@codesourcery.com>
24588
4ad451e2
JM
24589 * sysdeps/unix/sysv/gethostname.c: Move to ...
24590 * sysdeps/posix/gethostname.c: ... here.
24591
5e37ce39
JM
24592 * sysdeps/unix/execve.S: Remove file.
24593
1ad743de
JM
24594 * sysdeps/unix/_exit.S: Remove file.
24595
4e681b5b
AJ
245962012-04-23 Andreas Jaeger <aj@suse.de>
24597
24598 [BZ #13739]
24599 * manual/Makefile: Remove make dist support, there's no
24600 need for a stand-alone documentation tar ball.
24601 (TEXI2DVI): Define always, it's not in Makeconfig.
24602 (dist): Removed.
24603 (tar-it): Removed.
24604 (edition): Removed.
24605 (glibc-doc-$(edition).tar): Removed
24606 (%.Z): Removed.
24607 (%.gz): Removed.
24608 (%.uu): Removed.
24609 (ETAGS): Remove, it's in Makeconfig.
24610 (move-if-change): Remove, it's in Makeconfig.
24611
38686a03 246122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24613
24614 [BZ #13970]
24615 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24616 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24617 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24618 (strtod_l, strtof_l, strtold_l): Remove __wur.
24619 It is not necessarily an error to ignore strtol's return value.
24620 One can reliably look at the stored endptr to decide whether
24621 the number had valid syntax.
24622
7c0616fa
AJ
246232012-04-21 Andreas Jaeger <aj@suse.de>
24624
803cb6b7 24625 [BZ #13739]
7c0616fa
AJ
24626 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24627
b0fe253f
JM
246282012-04-21 Joseph Myers <joseph@codesourcery.com>
24629
24630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24631 * sysdeps/unix/sysv/Versions: Remove file.
24632
8280f22d
MT
246332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24634
24635 [BZ #13927]
24636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24637
75ce411f 246382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24639
24640 [BZ #7064]
24641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24642 version from __vm86.
24643
097d59fa
JM
246442012-04-20 Joseph Myers <joseph@codesourcery.com>
24645
a90f3bcb
JM
24646 * sysdeps/unix/common/lxstat.c: Remove file.
24647 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24648
edc7ea78
JM
24649 * sysdeps/unix/sysv/Makefile: Remove file.
24650
cb78c221
JM
24651 * sysdeps/unix/sysv/direct.h: Remove file.
24652
efa6a45f
JM
24653 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24654 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24655 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24656 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24657 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24658 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24659 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24660
9c9f2d0c
JM
24661 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24662
4541c83b
JM
24663 * sysdeps/unix/xmknod.c: Remove file.
24664 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24665
f5d153a0
JM
24666 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24667
aa746595
JM
24668 * sysdeps/unix/sysv/i386/time.S: Remove file.
24669
cce5905e
JM
24670 * sysdeps/unix/fxstat.c: Remove file.
24671 * sysdeps/unix/xstat.c: Likewise.
24672 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24673
37fa3841
JM
24674 * sysdeps/unix/sysv/sigaction.c: Remove file.
24675
ff1962a3
JM
24676 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24677 (sysdep_headers): Remove variable.
24678 [termio.h not in sysdep_headers] (generated): Likewise.
24679 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24680 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24681 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24682 * sysdeps/unix/sysv/tcflow.c: Likewise.
24683 * sysdeps/unix/sysv/tcflush.c: Likewise.
24684 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24685 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24686 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24687 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24688 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24689
e7740d31
JM
24690 * sysdeps/unix/siglist.c: Remove file.
24691
ee06f18b
JM
24692 * sysdeps/unix/getppid.S: Remove file.
24693
097d59fa
JM
24694 * sysdeps/unix/mkdir.c: Remove file.
24695 * sysdeps/unix/rmdir.c: Likewise.
24696
ff3d51ec
AS
246972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24698
24699 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24700 ERR_MAX value.
24701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24702 errlist-compat value.
24703
50f81fd7
DM
247042012-04-18 David S. Miller <davem@davemloft.net>
24705
24706 * sysdeps/generic/memcopy.h (reg_char): Delete.
24707 * debug/strcat_chk.c: Use char, not reg_char.
24708 * debug/strcpy_chk.c: Likewise.
24709 * debug/strncat_chk.c: Likewise.
24710 * debug/strncpy_chk.c: Likewise.
24711 * string/memchr.c: Likewise.
24712 * string/memrchr.c: Likewise.
24713 * string/rawmemchr.c: Likewise.
24714 * string/strcat.c: Likewise.
24715 * string/strchr.c: Likewise.
24716 * string/strchrnul.c: Likewise.
24717 * string/strcmp.c: Likewise.
24718 * string/strcpy.c: Likewise.
24719 * string/strncat.c: Likewise.
24720 * string/strncmp.c: Likewise.
24721 * string/strncpy.c: Likewise.
24722
8ff41c46
WS
247232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24724
24725 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24726 __builtin_memcopy is called when src and dest ranges are known to not
24727 overlap.
24728
6b652f46
WS
247292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24730
24731 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24732 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24733 fwd_align_merge macro call.
24734 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24735 bwd_align_merge macro call.
24736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24737
b282631e
WS
247382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24739
24740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24741 bwd_align_merge macros.
24742 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24743 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24745
95aa737c
DM
247462012-04-18 David S. Miller <davem@davemloft.net>
24747
24748 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24749
7a99a614
AJ
247502012-04-18 Andreas Jaeger <aj@suse.de>
24751
24752 [BZ# 6794]
24753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24754 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24756
24757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24758 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24760
24761 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24762 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24763 Adjust for changed ldbl-128 files.
24764
24765 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24766 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24767 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24768
e5270c23
DM
247692012-04-17 David S. Miller <davem@davemloft.net>
24770
24771 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24772
fb5e92c9
AS
247732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24774
24775 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24776 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24777 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24778 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24779 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24780 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24781
76da7265
AZ
247822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24783
24784 [BZ #6794]
24785 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24786 * math/libm-test.inc: Add ilogb errno and exception tests.
24787 * math/w_ilogb.c: New file: ilogb wrapper.
24788 * math/w_ilogbf.c: New file: ilogbf wrapper.
24789 * math/w_ilogbl.c: New file: ilogbl wrapper.
24790 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24791 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24792 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24793 exception being thrown with 0.0 as argument.
24794 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24795 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24796 exception being thrown with 0.0 as argument.
24797 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24798 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24799 exception being thrown with 0.0 as argument.
24800 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24801 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24802 exception being thrown with 0.0 as argument.
24803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24804 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24806 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24808 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24809 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24810 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24811 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24812
0396e69d
PB
248132012-04-17 Petr Baudis <pasky@ucw.cz>
24814
24815 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24816 with altivec.
24817
750b5926
MP
248182012-04-16 Marek Polacek <polacek@redhat.com>
24819
24820 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24821
751728a1
MP
248222012-04-16 Marek Polacek <polacek@redhat.com>
24823
24824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24825 operands of fdivp instruction.
24826
34a27407
L
248272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24828
24829 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24830 * elf/tst-auditmod3b.c: Likewise.
24831 * elf/tst-auditmod4b.c: Likewise.
24832 * elf/tst-auditmod5b.c: Likewise.
24833 * elf/tst-auditmod6b.c: Likewise.
24834 * elf/tst-auditmod6c.c: Likewise.
24835 * elf/tst-auditmod7b.c: Likewise.
24836 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24837 * sysdeps/x86_64/preconfigure.in: Likewise.
24838 * sysdeps/x86_64/preconfigure: Regenerated.
24839
7e73e17d
L
248402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24841
24842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24843 __ILP32__.
24844
c7a6ab72
AB
248452012-04-13 Antoine Balestrat <merkil33@gmail.com>
24846
24847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24848 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24849
a9e8e0e0
CL
248502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24851
24852 [BZ #13973]
24853 * locale/iso-639.def: Fix gl language name. Spotted by
24854 Yaron Shahrabani.
24855
ec98af7d
RM
248562012-04-12 Roland McGrath <roland@hack.frob.com>
24857
24858 [BZ #2074]
24859 * libio/libio.h (__io_write_fn): Update comment.
24860
247c3ede
PB
248612012-04-12 Petr Baudis <pasky@ucw.cz>
24862
24863 [BZ #2074]
24864 * stdio.texi (Hook Functions): The user provided writer function
24865 is not allowed to return -1.
24866
55939d6d
DM
248672012-04-11 David S. Miller <davem@davemloft.net>
24868
24869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24870
90020f5a
MF
248712012-04-11 Mike Frysinger <vapier@gentoo.org>
24872
24873 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24874 Add a leading slash to rtkaio.
24875
288f9098
JM
248762012-04-11 Jim Meyering <meyering@redhat.com>
24877
90020f5a
MF
24878 [BZ #11959]
24879 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24880 It is not necessarily an error to ignore fwrite's return
24881 value. One can reliably use ferror to test for errors after
24882 the fact.
288f9098 24883
4be2b570
L
248842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24885
24886 * bits/types.h (__snseconds_t): New type.
24887 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24888
24889 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24891 (__SNSECONDS_T_TYPE): Likewise.
24892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24893 (__SNSECONDS_T_TYPE): Likewise.
24894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24895 (__SNSECONDS_T_TYPE): Likewise.
24896
288f9098 248972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24898
24899 [BZ #2636]
24900 * manual/time.texi (Processor Time): Return type of times is
24901 elapsed real time since an arbitrary point in the past.
24902 (CPU Time): Move CLK_TCK from here...
24903 (Processor Time): ...to here. Correct description.
24904 * manual/conf.texi (Constants for Sysconf): Correct description of
24905 _SC_CLK_TCK.
24906
d7dd4413
DM
249072012-04-10 David S. Miller <davem@davemloft.net>
24908
24909 [BZ #13967]
24910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24911 where the is a gap between DT_REL(A) and DT_JMPREL.
24912
b46068fc
L
249132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24914
24915 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24918
73d65cc3
SP
249192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24920
24921 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24922 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24923 (dl_main): Handle --inhibit-cache.
24924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24925 _dl_inhibit_cache.
24926 * elf/dl-load.c (_dl_map_object): Use it.
24927 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24928
bcc8d661
JM
249292012-04-09 Joseph Myers <joseph@codesourcery.com>
24930
8f9a2fae
JM
24931 [BZ #13872]
24932 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24933 (__ieee754_powl): Saturate large exponents rather than testing for
24934 overflow of y*log2(x).
24935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24936 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24937 exceptions.
24938
bcc8d661
JM
24939 [BZ #11521]
24940 * math/s_ctan.c: Include <float.h>.
24941 (__ctan): Avoid internal overflow or cancellation in calculating
24942 denominator.
24943 * math/s_ctanf.c: Likewise.
24944 * math/s_ctanl.c: Likewise.
24945 * math/s_ctanh.c: Likewise.
24946 * math/s_ctanhf.c: Likewise.
24947 * math/s_ctanhl.c: Likewise.
24948 * math/libm-test.inc (ctan_test): Add more tests.
24949 (ctanh_test): Likewise.
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952
823fbbb4
AJ
249532012-04-09 Andreas Jaeger <aj@suse.de>
24954
03879793
AJ
24955 [BZ #6894]
24956 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24957 is an optional BSD extension.
24958
823fbbb4
AJ
24959 [BZ #10254]
24960 * manual/stdio.texi (Opening Streams): Document additional fopen
24961 parameters.
24962
8de131cb
RM
249632012-04-09 Roland McGrath <roland@hack.frob.com>
24964
24965 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24966 %eax without telling the compiler.
24967
c0ed9d7d
CD
249682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24969
24970 [BZ # 13963]
24971 * manual/install.texi: Use sourceware.org.
24972
c483f6b4
JM
249732012-04-09 Joseph Myers <joseph@codesourcery.com>
24974
d7dd9453
JM
24975 [BZ #13873]
24976 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24977 (__ieee754_pow): Generate overflow and underflow using huge*huge
24978 and tiny*tiny rather than just returning constant infinity or zero
24979 for large exponents.
24980 * math/libm-test.inc (pow_test): Require overflow exceptions for
24981 applicable cases of large exponents.
24982
c483f6b4
JM
24983 [BZ #706]
24984 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24985 (__ieee754_pow): Use iterative multiplication algorithm only for
24986 integer exponents with absolute value below 1024. Check for odd
24987 integer exponents when using algorithm for real exponents.
24988 * math/libm-test.inc (pow_test): Add more tests.
24989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24990
d2de7579
JM
249912012-04-08 Joseph Myers <joseph@codesourcery.com>
24992
24993 [BZ #13705]
24994 * math/libm-test.inc (exp_test): Do not allow overflow exception
24995 on underflow test.
24996
f77f1232
AJ
249972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24998
24999 [BZ #13705]
25000 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25001 instead of __kernel_standard_f.
25002
3884932b
MF
250032012-04-08 Mike Frysinger <vapier@gentoo.org>
25004
25005 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25006 * sysdeps/x86_64/memset_chk.S: Likewise.
25007
54472e9c
AJ
250082012-04-08 Andreas Jaeger <aj@suse.de>
25009
6ab0fbfc
AJ
25010 [BZ #10153]
25011 * manual/startup.texi (Environment Access): Describe return value
25012 for putenv and setenv.
25013
61efba8c
AJ
25014 [BZ #6895]
25015 * manual/filesys.texi (Directory Entries): Add description for
25016 DT_LNK.
25017
95c3f29a
AJ
25018 [BZ #6890]
25019 * manual/filesys.texi (Directory Entries): Clarify that it's file
25020 system not operating system in the description of DT_UNKNOWN.
25021
54472e9c
AJ
25022 [BZ #6578]
25023 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25024
624254b1
SC
250252012-04-08 Stephen Compall <s11@member.fsf.org>
25026
25027 [BZ #6649]
25028 * manual/llio.texi (Opening and Closing Files): Add cross
25029 reference to explain mode argument.
25030
1e4920e0
MF
250312012-04-07 Mike Frysinger <vapier@gentoo.org>
25032
25033 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25034 * sysdeps/x86_64/memset_chk.S: Likewise.
25035
5ed848f3
DM
250362012-04-07 David S. Miller <davem@davemloft.net>
25037
25038 * elf/elf.h (R_SPARC_WDISP10): Define.
25039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25040 R_SPARC_SIZE32.
25041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25042 R_SPARC_SIZE64 and R_SPARC_H34.
25043
96154cd8
CD
250442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25045
25046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25047 conditions and remove no longer applicable assertion.
25048
9904dc47
L
250492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25050
25051 * bits/byteswap.h: Include <features.h>.
25052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25054
f8887d0a
L
250552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25056
25057 * bits/byteswap.h (__bswap_16): Removed.
25058 Include <bits/byteswap-16.h> to get __bswap_16.
25059 * sysdeps/i386/bits/byteswap.h: Likewise.
25060 * sysdeps/s390/bits/byteswap.h: Likewise.
25061 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25062 * bits/byteswap-16.h: New file.
25063 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25064 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25065 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25066 * string/Makefile (headers): Add bits/byteswap-16.h.
25067
62470f60
PP
250682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25069
25070 [BZ #13895]
25071 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25072 extra indirection.
25073 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25074 * nss/tst-nss-static.c: New.
25075
4dad7bab
RM
250762012-04-06 Robert Millan <rmh@gnu.org>
25077
25078 [BZ #6486]
25079 * manual/llio.texi (File Position Primitive): lseek
25080 refers to WHENCE when it really means OFFSET.
25081
e9142a17
AJ
250822012-04-06 Andreas Jaeger <aj@suse.de>
25083
2c040eff
AJ
25084 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25085 strncmp declarations.
25086
e9142a17
AJ
25087 * abilist/libc.abilist: Add __poll and __ppoll.
25088
ff9f1c5f
DM
250892012-04-05 David S. Miller <davem@davemloft.net>
25090
dcd2ae90
DM
25091 * scripts/check-local-headers.sh: Accept a host triplet in the
25092 path matched by the exclude regexp.
25093
993eb054
DM
25094 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25095 definition.
25096 * sysdeps/powerpc/powerpc32/dl-machine.h
25097 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25098 * sysdeps/s390/s390-32/dl-machine.h
25099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25100 * sysdeps/sparc/sparc32/dl-machine.h
25101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25102 * sysdeps/sparc/sparc64/dl-machine.h
25103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25104
ff9f1c5f
DM
25105 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25106 lazy binding.
48e2e132 25107 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25108 undefined symbol errors.
25109
48e2e132 25110 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25111 DT_NEEDED entries.
25112
e80d6f94
MM
251132012-04-05 Michael Matz <matz@suse.de>
25114
25115 [BZ #13592]
25116 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25117
349fa79f
AJ
251182012-04-05 Andreas Jaeger <aj@suse.de>
25119
25120 [BZ #13908]
25121 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25122 comment.
25123
f402708f
KK
251242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25125
25126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25127 which ROUND is no valid rounding mode.
25128
2ecccfc9
KK
251292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25130
25131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25132 read again.
25133 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25134
8a53f50f
KK
251352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25136
25137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25138 an exception using FPU order intentionally.
25139
251402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25141
25142 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25143 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25144 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25145 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25146
d653abb7
SJ
251472012-04-05 Simon Josefsson <simon@josefsson.org>
25148
25149 [BZ #12340]
25150 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25151 EINVAL when BUFLEN is too smal.
25152
c3b1bf7d
TS
251532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25154
25155 [BZ #13553]
25156 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25157 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25158
b1aa60f3
AJ
251592012-04-03 Andreas Jaeger <aj@suse.de>
25160
c3b1bf7d 25161 [BZ #13938]
67f60a26
AJ
25162 * manual/setjmp.texi (System V contexts): Fix sentence.
25163
b1aa60f3
AJ
25164 [BZ #13926]
25165 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25166 New macro for this case.
25167 [!__GNUC__] (__bswap_64): New inline function for this case.
25168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25169 * bits/byteswap.h: Likewise.
25170 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25171 ull, guard with __GLIBC_HAVE_LONG_LONG.
25172
25173 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25174 __GLIBC_HAVE_LONG_LONG.
25175
25176 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25177 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25178
39c59c35
TMQMF
251792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25180
25181 [BZ #13691]
25182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25183 inptr and inend, rather than using last_ch.
25184
135ffda8
DM
251852012-04-02 David S. Miller <davem@davemloft.net>
25186
25187 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25188 * stdio-common/printf-parse.h (read_int): Change return type to
25189 'int', return -1 on INT_MAX overflow.
25190 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25191 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25192 overflows INT_MAX. Check for overflow of in-format-string precision
25193 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25194 SIZE_MAX not INT_MAX for integer overflow test.
25195 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25196 skip the construct in the format string but do not record anything.
25197 * stdio-common/bug22.c: Adjust to test both width/prevision
25198 INT_MAX overflow as well as total length INT_MAX overflow. Check
25199 explicitly for proper errno values.
25200
228c019e
TS
252012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25202
302cadd3
TS
25203 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25204 CHAR_MAX.
25205 * string/test-strcmp.c [! WIDE]: Likewise.
25206 * time/tst-mktime2.c: Likewise for INT_MAX.
25207 * string/test-string.h: #include <sys/param.h> for MIN.
25208
228c019e
TS
25209 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25210 * sysdeps/i386/init-first.c (init): Likewise.
25211 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25212 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25213 * sysdeps/sh/init-first.c (init): Likewise.
25214
cfa633f5
UD
252152012-04-01 Ulrich Drepper <drepper@gmail.com>
25216
25217 * po/ru.po: Update from translation team.
d1635ef8 25218 * po/vi.po: Likewise.
cfa633f5 25219
6cd0a5ea
SP
252202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25221
25222 * resolv/nss_dns/dns-host.c: Merge copyright years.
25223
4b43400f
LD
252242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25225
25226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25227 Optimize memcpy with prefetch if
25228 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25229 src, dst pointers have unequal 16 byte alignments.
25230
48c41d04
SP
252312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25232
25233 [BZ #13928]
25234 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25235 from a CNAME entry and return the minimum ttl for the query.
25236 (gaih_getanswer_slice): Likewise.
25237
b8dc394d
JL
252382012-03-30 Jeff Law <law@redhat.com>
25239
25240 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25241 due to long keys.
25242 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25243 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25244
2f5a5ed0
JL
25245 * resolv/nss_dns/dns-host.c: Update copyright year.
25246
1d39e359
UD
252472012-03-30 Ulrich Drepper <drepper@gmail.com>
25248
c030f70c 25249 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25250 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25251
1d39e359
UD
25252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25253 comments for sendmmsg.
25254
252552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25256
25257 [BZ #13691]
25258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25259 with only 1 character between 0x0041 and 0x01b0.
25260 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25261 * wcsmbs/tst-mbsnrtowcs.c: New file.
25262
20fde227
DM
252632012-03-29 David S. Miller <davem@davemloft.net>
25264
25265 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25266 small copies by hand.
25267
984a4237
JL
252682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25269
25270 [BZ #13761]
25271 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25272 _nss_compat_initgroups_dyn): Fall back to malloc/free
25273 for large group memberships.
25274
18c9d62b
DM
252752012-03-28 David S. Miller <davem@davemloft.net>
25276
88d85d4f
DM
25277 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25278 that branches into memcpy.
25279 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25282 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25284 bits.
25285 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25286 implementation too.
25287 * sysdeps/sparc/mempcpy.S: New file.
25288
e5aa83e1
DM
25289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25290 the IFUNC routine in the libc case.
25291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25292
88570753
DM
25293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25295 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25296 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25297 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25298 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25299 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25300 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25301
249d7567
DM
25302 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25303 loop to 256 bytes instead of 64 bytes and fix test signedness.
25304
18c9d62b
DM
25305 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25306 * sysdeps/sparc/sparc32/Makefile: rather than here...
25307 * sysdeps/sparc/sparc64/Makefile: and here.
25308
05f3d1f6
UD
253092012-03-28 Ulrich Drepper <drepper@gmail.com>
25310
25311 * malloc/mallocbug.c: Avoid warnings about unused variables.
25312
86ae07a8
JL
253132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25314
25315 [BZ #13760]
25316 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25317 in the right place. Discard and retry query if response is
25318 larger than input buffer size.
25319
41bf21a1
JM
253202012-03-28 Joseph Myers <joseph@codesourcery.com>
25321
d6270972
JM
25322 [BZ #369]
25323 [BZ #2678]
25324 [BZ #3866]
25325 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25326 x for large integer exponent.
25327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25329 sign of result as needed afterwards.
25330 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25332 result for underflowing pow the same as for overflow.
25333 (__kernel_standard_l): Handle powl overflow and underflow here
25334 rather than calling __kernel_standard.
25335 * math/libm-test.inc (pow_test): Add more tests.
25336
414fca03 25337 [BZ #3868]
41bf21a1
JM
25338 [BZ #13879]
25339 [BZ #13910]
25340 [BZ #13911]
25341 [BZ #13912]
25342 [BZ #13913]
25343 [BZ #13915]
25344 [BZ #13916]
25345 [BZ #13917]
25346 [BZ #13918]
25347 [BZ #13919]
25348 [BZ #13920]
25349 [BZ #13921]
25350 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25351 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25352 (__kernel_standard_l): New function.
25353 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25354 __kernel_standard.
25355 * math/w_acosl.c (__acosl): Likewise.
25356 * math/w_asinl.c (__asinl): Likewise.
25357 * math/w_atan2l.c (__atan2l): Likewise.
25358 * math/w_atanhl.c (__atanhl): Likewise.
25359 * math/w_coshl.c (__coshl): Likewise.
25360 * math/w_exp10l.c (__exp10l): Likewise.
25361 * math/w_exp2l.c (__exp2l): Likewise.
25362 * math/w_fmodl.c (__fmodl): Likewise.
25363 * math/w_hypotl.c (__hypotl): Likewise.
25364 * math/w_j0l.c (__j0l, __y0l): Likewise.
25365 * math/w_j1l.c (__j1l, __y1l): Likewise.
25366 * math/w_jnl.c (__jnl, __ynl): Likewise.
25367 * math/w_lgammal.c (__lgammal): Likewise.
25368 * math/w_log10l.c (__log10l): Likewise.
25369 * math/w_log2l.c (__log2l): Likewise.
25370 * math/w_logl.c (__logl): Likewise.
25371 * math/w_powl.c (__powl): Likewise.
25372 * math/w_remainderl.c (__remainderl): Likewise.
25373 * math/w_scalbl.c (sysv_scalbl): Likewise.
25374 * math/w_sinhl.c (__sinhl): Likewise.
25375 * math/w_sqrtl.c (__sqrtl): Likewise.
25376 * math/w_tgammal.c (__tgammal): Likewise.
25377 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25378 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25379 * math/libm-test.inc (acos_test): Add more tests.
25380 (acosh_test): Likewise.
25381 (asin_test): Likewise.
25382 (atanh_test): Likewise.
25383 (exp_test): Likewise.
25384 (exp10_test): Likewise.
25385 (exp2_test): Likewise.
25386 (expm1_test): Likewise.
25387 (lgamma_test): Likewise.
25388 (log_test): Likewise.
25389 (log10_test): Likewise.
25390 (log1p_test): Likewise.
25391 (log2_test): Likewise.
25392 (pow_test): Do not allow some spurious overflow exceptions.
25393 (sqrt_test): Add more tests.
25394 (tgamma_test): Likewise.
25395 (y0_test): Likewise.
25396 (y1_test): Likewise.
25397 (yn_test): Likewise.
25398
dd62fda6
AB
253992012-03-27 Anton Blanchard <anton@samba.org>
25400
25401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25402 MAP_HUGETLB.
25403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25406
1e3cdfda
AJ
254072012-03-27 David S. Miller <davem@davemloft.net>
25408
b855ab85
DM
25409 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25410
1e3cdfda
AJ
25411 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25412 have-as-vis3 check.
25413
254142012-03-27 Andreas Jaeger <aj@suse.de>
25415
25416 * sysdeps/x86_64/elf/configure.in: Moved to ...
25417 * sysdeps/x86_64/configure.in: ... here.
25418 * sysdeps/x86_64/elf/start.S: Moved to ...
25419 * sysdeps/x86_64/start.S: ... here.
25420 * sysdeps/x86_64/elf/configure: Delete.
25421
25422 * sysdeps/x86_64/configure.in: Merge contents from
25423 sysdeps/i386/configure.in (without i686 check).
25424
25425 * sysdeps/i386/elf/Versions: Merge into ...
25426 * sysdeps/i386/Versions: ... this.
25427 * sysdeps/i386/elf/Versions: Delete file.
25428 * sysdeps/i386/elf/start.S: Moved to ...
25429 * sysdeps/i386/start.S: ...here.
25430 * sysdeps/i386/elf/configure.in: Merge into...
25431 * sysdeps/i386/configure.in: ...here.
25432 * sysdeps/i386/elf/configure.in: Delete file.
25433 * sysdeps/i386/elf/configure: Delete file.
25434
25435 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25436 * debug/backtracesyms.c: ... here.
25437 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25438 * debug/backtracesymsfd.c: ... here.
25439 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25440 * sysdeps/generic/ifunc-sel.h: ... here.
25441
25442 * sysdeps/unix/i386/start.c: Delete file.
25443 * sysdeps/unix/sparc/start.c: Delete file.
25444 * sysdeps/unix/start.c: Delete file.
25445
25446 * sysdeps/sh/elf/configure.in: Moved to ...
25447 * sysdeps/sh/configure.in: ... here.
25448 * sysdeps/sh/elf/start.S: Moved to ...
25449 * sysdeps/sh/start.S: ... here.
25450 * sysdeps/sh/elf/configure: Delete file.
25451
25452 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25453 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25454 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25455 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25456 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25457 * sysdeps/powerpc/powerpc64/start.S: here.
25458 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25459 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25460 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25461 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25462 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25463
25464 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25465 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25466 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25467 * sysdeps/powerpc/powerpc32/start.S: ... here.
25468 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25469 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25470 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25471
25472 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25473 * sysdeps/powerpc/ifunc-sel.h: ... here.
25474 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25475 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25476
25477 * sysdeps/sparc/elf/configure.in: Moved to ...
25478 * sysdeps/sparc/configure.in: ... here.
25479 * sysdeps/sparc/elf/configure: Delete file.
25480 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25481 * sysdeps/sparc/sparc32/start.S: ... here.
25482 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25483 * sysdeps/sparc/sparc64/start.S: ... here.
25484 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25485 * sysdeps/sparc/sparc32/Makefile: ... this.
25486 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25487 * sysdeps/sparc/sparc64/Makefile: ... this.
25488
25489 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25490 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25491 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25492 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25493 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25494 * sysdeps/s390/s390-32/setjmp.S: ... here.
25495 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25496 * sysdeps/s390/s390-32/configure.in: ... here.
25497 * sysdeps/s390/s390-32/elf/configure: Delete file.
25498 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25499 * sysdeps/s390/s390-32/start.S: ... here.
25500
25501 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25502 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25503 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25504 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25505 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25506 * sysdeps/s390/s390-64/setjmp.S: ... here.
25507 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25508 * sysdeps/s390/s390-64/configure.in: ... here
25509 * sysdeps/s390/s390-64/elf/configure: Delete file.
25510 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25511 * sysdeps/s390/s390-64/start.S: ... here.
25512 * sysdeps/s390/s390-64/elf/configure: Delete.
25513
25514 * configure.in: Remove support for elf directories in sysdeps.
25515
25516 * configure: Regenerated.
25517 * sysdeps/i386/configure: Regenerated.
25518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25520 * sysdeps/s390/s390-32/configure: Regenerated.
25521 * sysdeps/s390/s390-64/configure: Regenerated.
25522 * sysdeps/sh/configure: Regenerated.
25523 * sysdeps/sparc/configure: Regenerated.
25524 * sysdeps/x86_64/configure: Regenerated.
25525
a3f61311
AS
255262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25527
c876e002
AS
25528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25529
a3f61311
AS
25530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25531 denormal result into account.
25532
ac4c54f0
RM
255332012-03-25 Roland McGrath <roland@hack.frob.com>
25534
25535 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25536 Reported by Allan McRae <allan@archlinux.org>.
25537
6a9b9c02
JL
255382012-03-23 Jeff Law <law@redhat.com>
25539
25540 * nss/getnssent.c (__nss_getent): Fix typo.
25541
4c42a0c1
DM
255422012-03-23 David S. Miller <davem@davemloft.net>
25543
25544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25545
1532c7ac
L
255462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25547
25548 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25549 to pad to uint64_t for each field.
25550 (dl_tls_index): Replace unsigned long with uint64_t.
25551
3ff42526
PP
255522012-03-23 Daniel Jacobowitz <dmj@google.com>
25553 Paul Pluzhnikov <ppluzhnikov@google.com>
25554
25555 [BZ #6528]
25556 * grp/Makefile (otherlibs): Don't set it.
25557 * inet/Makefile (otherlibs): Likewise.
25558 * login/Makefile (otherlibs): Likewise.
25559 * nscd/Makefile (otherlibs): Likewise.
25560 * posix/Makefile (otherlibs): Likewise.
25561 * pwd/Makefile (otherlibs): Likewise.
25562 * rt/Makefile (otherlibs): Likewise.
25563 * sunrpc/Makefile (otherlibs): Likewise.
25564 * nss/Makefile (otherlibs): Likewise.
25565 Add libnss_files to routines and static-only-routines.
25566 ($(objpfx)getent): Remove rule.
25567 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25568 static-only-routines.
25569
7c69cd14
JM
255702012-03-22 Joseph Myers <joseph@codesourcery.com>
25571
25572 [BZ #13892]
25573 * math/s_cexp.c: Include <float.h>.
25574 (__cexp): Handle exp result overflowing not necessarily
25575 overflowing both real and imaginary parts of result.
25576 * math/s_cexpf.c: Likewise.
25577 * math/s_cexpl.c: Likewise.
25578 * math/libm-test.inc (cexp_test): Add more tests.
25579 * sysdeps/i386/fpu/libm-test-ulps: Update.
25580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25581
81b035fe
L
255822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * include/link.h (ELFW): New macro.
25585 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25586 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25587
1da7940c
L
255882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25591 with uint64_t.
25592
b749dbb9
L
255932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25594
25595 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25596 declaration.
25597 (struct La_x32_retval): Likewise.
25598
2ff87f3f
L
255992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25600
25601 * sysdeps/x86_64/preconfigure.in: New file.
25602 * sysdeps/x86_64/preconfigure: New generated file.
25603
c0df8e69
JM
256042012-03-22 Joseph Myers <joseph@codesourcery.com>
25605
48e44791
JM
25606 [BZ #13824]
25607 * math/e_exp2l.c: Include <float.h>.
25608 (__ieee754_exp2l): Handle overflow and underflow cases
25609 separately. Only pass fractional part of argument to
25610 __ieee754_expl.
25611 * math/libm-test.inc (exp2_test): Add more tests.
25612
c0df8e69
JM
25613 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25614 negating x to take absolute value.
25615 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25616 Likewise.
25617 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25618 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25619 Likewise.
25620 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25621 computing low part if x was negated.
25622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25623
c8e43ba7
L
256242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25625
25626 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25627 la_x32_gnu_pltexit.
25628 (pltexit): Cast int_retval to ptrdiff_t.
25629 * elf/tst-auditmod3b.c: Likewise.
25630 * elf/tst-auditmod4b.c: Likewise.
25631 * elf/tst-auditmod5b.c: Likewise.
25632 * elf/tst-auditmod6b.c: Likewise.
25633 * elf/tst-auditmod6c.c: Likewise.
25634 * elf/tst-auditmod7b.c: Likewise.
25635
25636 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25637 and x32_gnu_pltexit.
25638
25639 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25640 __ELF_NATIVE_CLASS.
25641 (La_x32_regs): New macro.
25642 (La_x32_retval): Likewise.
25643 (la_x32_gnu_pltenter): New function prototype.
25644 (la_x32_gnu_pltexit): Likewise.
25645
7998fa78
AS
256462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25647
dcb33988
AS
25648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25649 exponent.
25650
233fc563
AS
25651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25652
7998fa78
AS
25653 * configure.in (libc_cv_cc_nofma): Check for option to disable
25654 generation of FMA instructions.
25655 * configure: Regenerate.
25656 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25657 * sysdeps/ieee754/dbl-64/Makefile: New file.
25658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25659 Remove brandred-fma4.
25660 (CFLAGS-brandred-fma4.c): Remove.
25661 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25663 define.
25664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25665 define.
25666
8e95c99a
L
256672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25668
25669 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25670 LLONG_MAX != LONG_MAX.
25671 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25672 (_fitoa_word): Likewise.
25673 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25674 LLONG_MAX != LONG_MAX.
25675 * stdio-common/_itowa.h: Include <_itoa.h>.
25676 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25677 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25678 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25679 only if not defined.
25680 (_ITOA_WORD_TYPE): Likewise.
25681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25682 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25683
6f4db457
DM
256842012-03-21 David S. Miller <davem@davemloft.net>
25685
25686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25687
7785fe5a
L
256882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25691 of x86_64 when setting libc_cv_slibdir, libdir and
25692 libc_cv_localedir.
25693 * sysdeps/unix/sysv/linux/configure: Regenerated.
25694
4535cd55
JM
256952012-03-21 Joseph Myers <joseph@codesourcery.com>
25696
25697 * manual/lang.texi (Old Varargs): Remove section.
25698 (How Variadic): Update menu.
25699 (va_start): Do not mention varargs.h.
25700
17228132
TS
257012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25702 Joseph Myers <joseph@codesourcery.com>
25703
25704 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25705 link test.
25706 * configure: Regenerated.
25707
8149f976
TS
257082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25709
05f3d1f6
UD
25710 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25711 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25712 conformtest.pl
8149f976 25713
1a4ac776
JM
257142012-03-21 Joseph Myers <joseph@codesourcery.com>
25715
be22ce65
JM
25716 * NOTES: Remove.
25717 * Makefile (files-for-dist): Remove NOTES.
25718 (NOTES): Remove rule.
25719 * README: Don't refer to NOTES.
25720 * manual/creature.texi: Don't include macros.texi.
25721 * manual/intro.texi (creature.texi): Remove comment referring to
25722 NOTES.
25723
40b601fb
JM
25724 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25725 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25726 * configure: Regenerated.
25727 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25728 LIBC_TRY_CC_OPTION.
25729 (libc_cv_as_i686): Likewise.
25730 (libc_cv_cc_avx): Likewise.
25731 (libc_cv_cc_sse2avx): Likewise.
25732 (libc_cv_cc_fma4): Likewise.
25733 (libc_cv_cc_novzeroupper): Likewise.
25734 * sysdeps/i386/configure: Regenerated.
25735
1a4ac776
JM
25736 [BZ #13883]
25737 * sysdeps/i386/fpu/s_cexp.S: Remove.
25738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25739 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25740 * math/libm-test.inc (cexp_test): Add more tests.
25741 * sysdeps/i386/fpu/libm-test-ulps: Update.
25742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25743
a458e7fe
AM
257442012-03-21 Allan McRae <allan@archlinux.org>
25745
25746 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25747
0cb7efc5
JM
257482012-03-21 Joseph Myers <joseph@codesourcery.com>
25749
25750 [BZ #13871]
25751 * math/w_exp2.c: Do not include <float.h>.
25752 (o_threshold, u_threshold): Remove.
25753 (__exp2): Calculate result before checking finiteness and calling
25754 __kernel_standard.
25755 * math/w_exp2f.c: Likewise.
25756 * math/w_exp2l.c: Likewise.
25757 * math/libm-test.inc (exp2_test): Require overflow exception for
25758 1e6 input.
2460d3aa
JM
25759
25760 [BZ #3866]
25761 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25762 range of signed 64-bit integers before using fistpll. Remove
25763 checks for whether integers fit in mantissa bits.
25764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25765 the range of signed 32-bit integers before using fistpl. Remove
25766 checks for whether integers fit in mantissa bits.
25767 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25768 (__ieee754_powl): Test for y outside the range of signed 64-bit
25769 integers before using fistpll. Reduce 64-bit values to 63-bit
25770 ones as needed.
25771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25772 divide-by-zero is raised for zero to large negative powers.
25773 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25774 (__ieee754_powl): Test for y outside the range of signed 64-bit
25775 integers before using fistpll. Reduce 64-bit values to 63-bit
25776 ones as needed.
25777 * math/libm-test.inc (pow_test): Add more tests.
25778
eb96ffb0
L
257792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25780
25781 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25782 <stdio-common/_itoa.h>.
25783 * debug/segfault.c: Likewise.
25784 * elf/dl-cache.c: Likewise.
25785 * elf/dl-minimal.c: Likewise.
25786 * elf/dl-misc.c: Likewise.
25787 * elf/dl-sysdep.c: Likewise.
25788 * elf/dl-version.c: Likewise.
25789 * elf/rtld.c: Likewise.
25790 * hurd/hurdsock.c: Likewise.
25791 * hurd/lookup-retry.c: Likewise.
25792 * malloc/malloc.c: Likewise.
25793 * malloc/mtrace.c: Likewise.
25794 * nscd/nscd_getgr_r.c: Likewise.
25795 * nscd/nscd_getpw_r.c: Likewise.
25796 * nscd/nscd_getserv_r.c: Likewise.
25797 * posix/getopt_init.c: Likewise.
25798 * posix/wordexp.c: Likewise.
25799 * stdio-common/_itoa.c: Likewise.
25800 * stdio-common/printf_fphex.c: Likewise.
25801 * stdio-common/vfprintf.c: Likewise.
25802 * string/_strerror.c: Likewise.
25803 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25804 * sysdeps/i386/i686/hp-timing.h: Likewise.
25805 * sysdeps/mach/_strerror.c: Likewise.
25806 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25807 * sysdeps/mach/hurd/sethostid.c: Likewise.
25808 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25809 * sysdeps/mach/xpg-strerror.c: Likewise.
25810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25812 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25813 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25814 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25815 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25817 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25818 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25819 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25820 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25821 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25822 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25823 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25824 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25826 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25827 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25830 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25831
25832 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25833
25834 * stdio-common/_itoa.h: Moved to ...
25835 * sysdeps/generic/_itoa.h: Here.
25836
25837 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25838
25839 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25840 instead of "_itoa.h" and "_itowa.h".
25841 * stdio-common/vfprintf.: Likewise.
25842
d1af992d
L
258432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25844
25845 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25846 <bits/wordsize.h>.
25847 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25848 (__signbit): Likwise.
25849 (llrintf): Likwise.
25850 (llrint): Likwise.
25851
114883e0
L
258522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25853
25854 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25855 __WORDSIZE != 64.
25856
c135cc1b
JM
258572012-03-20 Joseph Myers <joseph@codesourcery.com>
25858
25859 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25860 OVERFLOW_EXCEPTION_OK.
25861 * math/libm-test.inc ("Philosophy"): Update comment about
25862 exception testing.
25863 (OVERFLOW_EXCEPTION): Define.
25864 (OVERFLOW_EXCEPTION_OK): Likewise.
25865 (INVALID_EXCEPTION_OK): Renumber.
25866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25867 (IGNORE_ZERO_INF_SIGN): Likewise.
25868 (test_exceptions): Handle FE_OVERFLOW.
25869 (exp10_test): Expect overflow exceptions.
25870 (exp2_test): Likewise.
25871 (expm1_test): Likewise.
25872 (nextafter_test): Likewise.
25873 (pow_test): Likewise.
25874 (scalbn_test): Likewise.
25875 (scalbln_test): Likewise.
25876
95443d88
L
258772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25878
25879 * sysdeps/x86_64/bits/atomic.h
25880 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25881 64bit integer.
25882 (atomic_exchange_acq): Likewise.
25883 (__arch_exchange_and_add_body): Likewise.
25884 (__arch_add_body): Likewise.
25885 (atomic_add_negative): Likewise.
25886 (atomic_add_zero): Likewise.
25887
490df6c4
L
258882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25889
c2722551 25890 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25891 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25892
5e52b189
L
258932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25894
25895 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25896 Check __x86_64__ instead of __WORDSIZE.
25897
a9879d4c
L
258982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25899
25900 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25901
5df98260
DM
259022012-03-19 David S. Miller <davem@davemloft.net>
25903
e1497744
DM
25904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25905
5df98260
DM
25906 * sysdeps/sparc/fpu/fenv_private.h: New file.
25907 * sysdeps/sparc/fpu/math_private.h: Use it.
25908 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25909 Remove.
25910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25911 (libc_feholdexcept_setroundl): Remove.
25912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25913 Remove.
25914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25916
b4c35121
L
259172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25918
25919 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25920 int64_t instead of long int.
25921 (INSERT_WORDS64): Likwise.
25922
56965fd7
L
259232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25924
25925 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25926 _Unwind_GetCFA return to _Unwind_Ptr first.
25927
83d1aec8
JM
259282012-03-19 Joseph Myers <joseph@codesourcery.com>
25929
1897ad44
JM
25930 [BZ #13629]
25931 * math/s_clog.c: Include <float.h>.
25932 (__clog): Scale large or subnormal inputs.
25933 * math/s_clogf.c: Likewise.
25934 * math/s_clogl.c: Likewise.
25935 * math/s_clog10.c: Include <float.h>.
25936 (M_LOG10_2): Define.
25937 (__clog10): Scale large or subnormal inputs.
25938 * math/s_clog10f.c: Likewise.
25939 * math/s_clog10l.c: Likewise.
25940 * math/libm-test.inc (clog_test): Add more tests.
25941 (clog10_test): Likewise.
25942 * sysdeps/i386/fpu/libm-test-ulps: Update.
25943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25944
7726d6a9
JM
25945 [BZ #11451]
25946 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25947 x and y.
25948 * math/libm-test.inc (atan2_test): Add another test.
25949
83d1aec8
JM
25950 * Makerules (common-objdir-compile): Remove.
25951 * sysdeps/unix/Makefile (config-generated): Do not add
25952 $(unix-generated) to variable.
25953 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25954 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25955 Remove rule.
25956 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25957 Likewise.
25958 [generic bits/local_lim.h] (before-compile): Do not append to
25959 variable.
25960 [generic bits/local_lim.h] (common-generated): Likewise.
25961 [generic sys/param.h] (before-compile): Do not append to variable.
25962 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25963 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25966 include.
25967 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25968 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25969 [generic sys/param.h] ($(addprefix
25970 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25971 [generic sys/param.h] (common-generated): Do not append to
25972 variable.
25973 [generic sys/param.h] (sysdep_headers): Likewise.
25974 [generic bits/errno.h] (before-compile): Do not append to
25975 variable.
25976 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25977 rule.
25978 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25979 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25980 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25981 [generic bits/errno.h] (common-generated): Do not append to
25982 variable.
25983 [generic bits/ioctls.h] (before-compile): Do not append to
25984 variable.
25985 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25986 rule.
25987 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25988 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25990 rule.
25991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25992 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25993 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25994 [generic bits/ioctls.h] (common-generated): Do not append to
25995 variable.
25996 [generic sys/syscall.h] (syscall.h): Remove variable.
25997 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25998 rule.
25999 [generic sys/syscall.h] (before-compile): Do not append to
26000 variable.
26001 [generic sys/syscall.h] (common-generated): Likewise.
26002 * sysdeps/unix/errnos-tmpl.c: Remove file.
26003 * sysdeps/unix/errnos.awk: Likewise.
26004 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26005 * sysdeps/unix/ioctls.awk: Likewise.
26006 * sysdeps/unix/mk-local_lim.c: Likewise.
26007 * sysdeps/unix/snarf-ioctls: Likewise.
26008
4851a949
RH
260092012-03-19 Richard Henderson <rth@twiddle.net>
26010
bd37f2ee
RH
26011 * sysdeps/i386/fpu/fenv_private.h: New file.
26012 * sysdeps/i386/fpu/math_private.h: Use it.
26013 (math_opt_barrier, math_force_eval): Remove.
26014 (libc_feholdexcept_setround_53bit): Remove.
26015 (libc_feupdateenv_53bit): Remove.
26016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26017 (math_opt_barrier, math_force_eval): Remove.
26018 (libc_feholdexcept): Remove.
26019 (libc_feholdexcept_setround): Remove.
26020 (libc_fetestexcept, libc_fesetenv): Remove.
26021 (libc_feupdateenv_test): Remove.
26022 (libc_feupdateenv, libc_feholdsetround): Remove.
26023 (libc_feresetround): Remove.
26024
d0adc922
RH
26025 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26026 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26027
0fe0f1f8
RH
26028 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26029 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26030 (libc_feupdateenv_testl): New.
26031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26032 (libc_feupdateenv_testf): New.
26033 (libc_feupdateenv): Use libc_feupdateenv_test.
26034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26036
eb92c487
RH
26037 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26038 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26039 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26040 (libc_feresetround_noex): New.
26041 (libc_feresetround_noexf): New.
26042 (libc_feresetround_noexl): New.
26043 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26044 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26045 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26046 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26047 SET_RESTORE_ROUND.
26048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26050 (__cos): Likewise.
26051 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26053 SET_RESTORE_ROUND_NOEX.
26054 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26055 SET_RESTORE_ROUND_NOEXF.
26056 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26057 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26058 (libc_feholdsetroundf): New.
26059 (libc_feresetround, libc_feresetroundf): New.
26060
7d2e8012
RH
26061 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26062 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26063 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26064
b4dabbb4
RH
26065 * sysdeps/generic/math_private.h: Include <fenv.h>.
26066 (default_libc_feholdexcept): New.
26067 (default_libc_feholdexcept_setround): New.
26068 (default_libc_fesetenv, default_libc_feupdateenv): New.
26069 (libc_feholdexcept): Only define if undefined.
26070 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26071 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26072 (libc_feholdexcept_setroundl): Likewise.
26073 (libc_feholdexcept_setround_53bit): Likewise.
26074 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26075 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26076 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26077 (libc_feupdateenv_53bit): Likewise.
26078 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26079 (libc_feholdexcept): Convert from macro to inline function.
26080 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26081 (libc_fesetenv, libc_feupdateenv): Likewise.
26082
4851a949
RH
26083 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26084 not previously defined.
26085 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26086 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26087 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26089 * sysdeps/ieee754/flt-32/math_private.h: New file.
26090 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26091 math_private.h below SET_FLOAT_WORD.
26092 (__isnan, __isinf_ns, __finite): Remove.
26093 (__isnanf, __isinf_nsf, __finitef): Remove.
26094
e79d442e
AS
260952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26096
26097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26098
90b80344
DM
260992012-03-17 David S. Miller <davem@davemloft.net>
26100
26101 [BZ #6471]
26102 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26103 for 2.16.
26104
edc21804
DM
261052012-03-16 David S. Miller <davem@davemloft.net>
26106
77e927af
DM
26107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26108 warnings.
26109
374976dd
DM
26110 [BZ #6471]
26111 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26112 properly.
26113 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26114 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26115 sysdep_routines when subdir is sysvipc.
26116 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26117 __getshmlba helper.
26118
edc21804
DM
26119 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26120
473c3ef3
L
261212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26122
26123 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26124 [__LP64__].
26125
eb0f39b6
L
261262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26130 (__lround): Renamed to ...
26131 (__llround): This. Replace long int with long long int.
26132 Define lround functions as aliases of llround functions.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26134
6b6cd74b
L
261352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26136
26137 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26138 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26139 adresses to uintptr_t. Replace "long int" and "unsigned long
26140 int" with "greg_t" on va_arg.
26141
f1a77b01
L
261422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26143
26144 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26145 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26146
26147 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26148 Move e_machine check before EI_CLASS check. Handle x32
26149 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26150 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26151 SKIP_EM_IA_64 and include
26152 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26153
26154 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26155 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26156 (add_system_dir): New macro.
26157
26158 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26160
11b90b9f
JM
261612012-03-16 Joseph Myers <joseph@codesourcery.com>
26162
c36e1d23
JM
26163 [BZ #2551]
26164 [BZ #2552]
26165 [BZ #2553]
26166 [BZ #2554]
26167 [BZ #2562]
26168 [BZ #2563]
26169 [BZ #2565]
26170 [BZ #2566]
26171 [BZ #2576]
26172 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26173 (y0): Likewise.
26174 * math/w_j0f.c (j0f): Likewise.
26175 (y0f): Likewise.
26176 * math/w_j0l.c (__j0l): Likewise.
26177 (__y0l): Likewise.
26178 * math/w_j1.c (j1): Likewise.
26179 (y1): Likewise.
26180 * math/w_j1f.c (j1f): Likewise.
26181 (y1f): Likewise.
26182 * math/w_j1l.c (__j1l): Likewise.
26183 (__y1l): Likewise.
26184 * math/w_jn.c (jn): Likewise.
26185 (yn): Likewise.
26186 * math/w_jnf.c (jnf): Likewise.
26187 (ynf): Likewise.
26188 * math/w_jnl.c (__jnl): Likewise.
26189 (__ynl): Likewise.
26190 * math/libm-test.inc (j0_test): Add more tests.
26191 (j1_test): Likewise.
26192 (jn_test): Likewise. Add trailing semicolon to existing test.
26193 (y0_test): Likewise.
26194 (y1_test): Likewise.
26195 * sysdeps/i386/fpu/libm-test-ulps: Update.
26196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26197
11b90b9f
JM
26198 [BZ #13851]
26199 [BZ #13854]
26200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26201 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26202 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26203 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26204 (__tanl): Set errno for infinite argument.
26205 * sysdeps/i386/fpu/mptan.c: Remove.
26206 * sysdeps/i386/fpu/s_tan.S: Likewise.
26207 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26208 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26209 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26210 * math/libm-test.inc (tan_test): Add more tests and enable more
26211 tests for double and long double.
26212 * sysdeps/i386/fpu/libm-test-ulps: Update.
26213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26214
6a1bd2a1
JK
262152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26216
26217 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26218 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26219
10a803e0
RM
262202012-03-16 Roland McGrath <roland@hack.frob.com>
26221
26222 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26223 * configure.in: Use it for both main tree and add-ons.
26224 * configure: Regenerated.
26225
f196c7f7
L
262262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26227
26228 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26229
8848d99d
JM
262302012-03-16 Joseph Myers <joseph@codesourcery.com>
26231
96cbe7f4
JM
26232 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26233 in comment.
26234
8848d99d
JM
26235 [BZ #13851]
26236 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26237 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26240 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26241 infinite argument.
26242 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26244 != 0 for prec == 2.
26245 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26246 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26247 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26248 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26249 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26250 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26251 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26252 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26253 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26254 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26255 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26256 * math/libm-test.inc (cos_test): Add more tests and enable more
26257 tests for long double.
26258 (sin_test): Likewise.
26259 (sincos_test): Likewise.
26260 * sysdeps/i386/fpu/libm-test-ulps: Update.
26261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26262
dd7f4703
DM
262632012-03-16 David S. Miller <davem@davemloft.net>
26264
26265 * sysdeps/sparc/fpu/math_private.h: New file.
26266
006f1daa
DM
262672012-03-15 David S. Miller <davem@davemloft.net>
26268
c0c83bc8
DM
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26270 file.
e6a62e18 26271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26273 file.
e6a62e18
DM
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26280 sysdep routines.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26282
88cb87d9
DM
26283 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26284 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26285
006f1daa 26286 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26288 sparc-ifunc.h
006f1daa 26289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26291 Likewise.
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26293 Likewise.
006f1daa
DM
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26298 Likewise.
006f1daa
DM
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26304 Likewise.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26306 Likewise.
006f1daa
DM
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26331
11e0098e
AS
263322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26333
26334 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26335 scaling.
26336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26337
e85b09d0
AJ
263382012-03-15 Andreas Jaeger <aj@suse.de>
26339
26340 [BZ #13852]
26341 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26342 ieee754/flt-32 implementation for sin, cos and sincos.
26343 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26344 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26345 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26346 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26347 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26348 ieee754/flt-32 implementation for tan.
26349
26350 * math/libm-test.inc (cos_test): Enable some large input tests for
26351 float as well
26352 (sin_test): Likewise.
26353 (sincos_test): Likewise.
26354 (tan_test): Add tests for large input.
26355
26356 * sysdeps/i386/fpu/libm-test-ulps: Update.
26357
81c64153
AJ
263582012-03-15 Andreas Jaeger <aj@suse.de>
26359
26360 [BZ #13658]
26361 * math/libm-test.inc (cos_test): Add more test cases.
26362 (sin_test): Likewise.
26363 (sincos_test): Likewise.
26364
7bbfa5c6
AJ
263652012-03-15 Andreas Jaeger <aj@suse.de>
26366
26367 [BZ #13837]
26368 * math/libm-test.inc (cos_test): Add a test case for large input
26369 value.
26370 (sin_test): Likewise.
26371 (sincos_test): Likewise.
26372
263732012-03-15 Andreas Jaeger <aj@suse.de>,
26374 Joseph Myers <joseph@codesourcery.com>
26375
26376 [BZ #13658]
0671f479 26377 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26378 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26379 * sysdeps/i386/fpu/branred.c: Likewise.
26380 * sysdeps/i386/fpu/dosincos.c: Likewise.
26381 * sysdeps/i386/fpu/mpa.c: Likewise.
26382 * sysdeps/i386/fpu/s_cos.S: Likewise.
26383 * sysdeps/i386/fpu/s_sin.S: Likewise.
26384 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26385 * sysdeps/i386/fpu/sincos32.c: Likewise.
26386
26387 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26388 Define.
26389 (libc_feupdateenv_53bit): Define.
26390 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26391 Define.
26392 (libc_feupdateenv_53bit): Define.
26393
26394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26395 53 bit (without extend i386 double precision).
26396
26397 * math/libm-test.inc (sincos_test): Add tests for large input.
26398 (sin): Likewise.
26399 (cos): Likewise.
26400
26401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26402
9cad04ea
AS
264032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26404
26405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26406
f7062b9a
DM
264072012-03-15 David S. Miller <davem@davemloft.net>
26408
26409 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26410 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26411 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26412 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26425 file.
f7062b9a 26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26428 file.
f7062b9a 26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26431 file.
f7062b9a 26432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26434 file.
f7062b9a
DM
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26437 fmin/fmax sysdep routines.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26439
7bd951ff
DM
264402012-03-14 David S. Miller <davem@davemloft.net>
26441
559398ab
DM
26442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26471 routines.
26472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26473 file.
559398ab 26474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26476 file.
559398ab 26477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26479 file.
559398ab 26480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26482 file.
559398ab 26483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26485 file.
559398ab 26486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26488 file.
26489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26490 file.
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26492 file.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26494 file.
26495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26496 New file.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26498 file.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26500 file.
559398ab 26501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26503 file.
559398ab 26504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26506 file.
559398ab 26507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26509 file.
559398ab 26510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26512 VIS3 routines.
559398ab
DM
26513
26514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26515 New file.
26516
5a1c1e32
DM
26517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26518
eae47a36
DM
26519 * sysdeps/sparc/configure.in: New file.
26520 * sysdeps/sparc/configure: Generate.
26521 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26522 * configure: Regenerate.
26523 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26524 * config.make.in (have-as-vis3): New.
26525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26526 available use -Av9d instead of -Av9a.
26527 * sysdeps/sparc/sparc64/Makefile: Likewise.
26528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26530 New file.
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26532 file.
26533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26534 New file.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26536 file.
eae47a36
DM
26537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26542
c0c83bc8
DM
26543 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26544 fzeros/fnegs to load 0x80000000 into a float register instead of
26545 using the stack.
7bd951ff
DM
26546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26547
bd951ccb
JM
265482012-03-14 Joseph Myers <joseph@codesourcery.com>
26549
26550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26551 bits/syscall.h.
26552 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26553 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26554 ($(inst_includedir)/bits/syscall.h): Remove rule.
26555 ($(objpfx)bits/syscall.d): Include instead of
26556 $(objpfx)syscall-list.d.
26557 (generated): Change syscall-list.h and syscall-list.d to
26558 bits/syscall.h and bits/syscall.d.
26559
bb4e6db2
RM
265602012-03-14 Roland McGrath <roland@hack.frob.com>
26561
26562 [BZ #13846]
26563 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26564
aa4a2ae1
JM
265652012-03-14 Joseph Myers <joseph@codesourcery.com>
26566
e456826d
JM
26567 [BZ #13841]
26568 * math/s_csqrt.c: Include <float.h>.
26569 (__csqrt): Scale large or subnormal inputs.
26570 * math/s_csqrtf.c: Likewise.
26571 * math/s_csqrtl.c: Likewise.
26572 * math/libm-test.inc (csqrt_test): Add more tests.
26573 * sysdeps/i386/fpu/libm-test-ulps: Update.
26574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26575
aa4a2ae1
JM
26576 [BZ #13840]
26577 * math/libm-test.inc (hypot_test): Add more tests.
26578
7c10fd35
DM
265792012-03-13 David S. Miller <davem@davemloft.net>
26580
26581 [BZ #13840]
26582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26583 double-precision for the calculation instead of scaling.
26584
f453b98b
JM
265852012-03-13 Joseph Myers <joseph@codesourcery.com>
26586
26587 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26588 manipulate bits before adding and subtracting TWO52[sx].
26589 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26591 Likewise.
26592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26593
09a3453f
DM
265942012-03-13 David S. Miller <davem@davemloft.net>
26595
8e59da90
DM
26596 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26597 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26599 rtld-global-offsets.h
26600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26601
2a8ab7f2
DM
26602 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26603 large parameters.
26604
10f62770
DM
26605 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26606
5f0bdb18
DM
26607 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26608 'err' in the ifdef scope in which it is actually used.
26609
09a3453f
DM
26610 * nss/nss_db/db-init.c: Include string.h
26611
b4b2eb5e
DM
266122012-03-12 David S. Miller <davem@davemloft.net>
26613
98bb2f1c
DM
26614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26615 masking out of the most significant byte of random value used.
26616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26617 Fix coding style in previous change.
26618
b4b2eb5e
DM
26619 * sysdeps/unix/sysv/linux/kernel-features.h
26620 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26621 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26622 expression.
26623 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26624 later.
26625
6e226b09
DM
266262012-03-11 David S. Miller <davem@davemloft.net>
26627
a1bcbd40
DM
26628 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26629 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26631 for 'resultvar' otherwise things get truncated on 64-bit.
26632
cb9d6174
DM
26633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26634 Fix masking out of the most significant byte of random value used.
26635
6e226b09
DM
26636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26637
058c132d
AS
266382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26639
26640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26641
2d2cd515
DM
266422012-03-09 David S. Miller <davem@davemloft.net>
26643
26644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26645 variables with appropriate CPP guards.
26646 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26647 frame pointer, not the stack pointer. Correct layout comments. Fix test
26648 on resulting framesize and the management of the outregs buffer for pltexit.
26649 Preserve floating point return values across _dl_call_pltexit call.
26650 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26651 framesize and the management of the outregs buffer for pltexit.
26652 Preserve floating point return values across _dl_call_pltexit
26653 call.
26654 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26655 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26656 (print_exit): Fix format string for return register value.
26657
9a07f9d0
JM
266582012-03-10 Joseph Myers <joseph@codesourcery.com>
26659
26660 * sunrpc/Makefile (others): Add rpcgen.
26661 ($(objpfx)rpcgen): Remove special build rule and dependency on
26662 libc.
26663 * sunrpc/rpcgen.c: New file.
26664
547b5e30
PE
266652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26666
c524201a
PE
26667 [BZ #13673]
26668 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26669 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26670 * sysdeps/i386/crti.S: Likewise.
26671 * sysdeps/i386/crtn.S: Likewise.
26672 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26673 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26674 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26675 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26676 * sysdeps/sh/crti.S: Likewise.
26677 * sysdeps/sh/crtn.S: Likewise.
26678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26679
7b6235f2
PE
26680 [BZ #13673]
26681 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26682 with URL.
26683 * locale/programs/locfile-kw.gperf: Likewise.
26684 * locale/programs/charmap-kw.h: Regenerated.
26685 * locale/programs/locfile-kw.h: Likewise.
26686
547b5e30
PE
26687 [BZ #13673]
26688 * intl/plural.y: Replace FSF snail mail address with URL.
26689 * intl/plural.c: Regenerated.
26690
5f0a5dae
RH
266912012-03-09 Richard Henderson <rth@twiddle.net>
26692
26693 * include/math_private.h: Remove file.
26694 * math/math_private.h: Move file ...
26695 * sysdeps/generic/math_private.h: ... here.
26696
b8c03620
RH
26697 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26698 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26700
4e234f5d 26701 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26702 and <math_private.h>.
26703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26820 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26826 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26830 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26834 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26841 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26843 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26846 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26847 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26851 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26852 * sysdeps/ieee754/k_standard.c: Likewise.
26853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26862 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26865 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26866 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26867 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26868 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27002 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27013 * sysdeps/ieee754/s_lib_version.c: Likewise.
27014 * sysdeps/ieee754/s_matherr.c: Likewise.
27015 * sysdeps/ieee754/s_signgam.c: Likewise.
27016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27019 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27020 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27022 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27023 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27024 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27027 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27030 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27037
1991fa03
JM
270382012-03-09 Joseph Myers <joseph@codesourcery.com>
27039
27040 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27041 * sunrpc/rpc_main.c: Likewise.
27042 * sunrpc/rpc_svcout.c: Likewise.
27043
60d6f5a6
DM
270442012-03-09 David S. Miller <davem@davemloft.net>
27045
27046 * include/math_private.h: New file.
27047
4962050e
JM
270482012-03-09 Joseph Myers <joseph@codesourcery.com>
27049
02a6f887
JM
27050 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27051 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27052 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27053 from <bits/socket_type.h>.
27054 (enum __socket_type): Don't define here.
27055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27057 bits/socket_type.h.
27058
c6e013c1
JM
27059 [BZ #13566]
27060 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27061 checking __USE_GNU.
27062
4962050e
JM
27063 * Makerules ($(inst_includedir)/%.h): New rule.
27064 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27065 (install-others): Remove variable setting.
27066 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27067
38842f45
RH
270682012-03-08 Richard Henderson <rth@twiddle.net>
27069
67bb6da6
RH
27070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27071 from macro to inline function; merge with the
27072 !__LIBC_INTERNAL_MATH_INLINES version.
27073 (__ieee754_sqrtf): Likewise.
27074
15194b4b
RH
27075 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27076 to inline function.
27077 (__rintf, __floor, __floorf): Likewise.
27078
64e21ede
RH
27079 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27080 macro to inline function.
27081 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27082
38842f45
RH
27083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27084 not <math/math_private.h>.
27085
c64bf5fe
DM
270862012-03-08 David S. Miller <davem@davemloft.net>
27087
27088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27089 copyright year.
27090 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27091
82d86f28
TS
270922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27093
27094 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27095 normalization.
27096 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27097 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27098
aea5d727
UD
270992012-03-08 Ulrich Drepper <drepper@gmail.com>
27100
27101 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27102 be defined individually, they must be defined as a block. Define
27103 S for printing a string instead of hidint the different by using a
27104 macro for adding the 'l'.
27105 * stdio-common/tst-fphex-wide.c: Adjust.
27106
70bca0a3
MP
271072012-03-07 Marek Polacek <polacek@redhat.com>
27108
27109 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27110
65b81130
MP
271112012-03-08 Marek Polacek <polacek@redhat.com>
27112
27113 [BZ #13806]
27114 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27115 * stdio-common/tst-fphex.c: Define a few macros to make the
27116 test reusable. Use them.
27117 * stdio-common/tst-fphex-wide.c: New file.
27118
07037eeb
JM
271192012-03-08 Joseph Myers <joseph@codesourcery.com>
27120
a7a93d50
JM
27121 [BZ #6911]
27122 * manual/macros.texi (gnusystems): New macro.
27123 (nongnusystems): Likewise.
27124 (gnulinuxhurdsystems): Likewise.
27125 (gnuhurdsystems): Likewise..
27126 (gnulinuxsystems): Likewise.
27127 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27128 variants of the GNU system, not "GNU system".
27129 * manual/conf.texi: Likewise.
27130 * manual/errno.texi: Likewise. Update example of errno macro
27131 expansion.
27132 * manual/filesys.texi: Likewise.
27133 (getumask): Document as specific to GNU/Hurd.
27134 * manual/install.texi: Likewise. Reword some references to
27135 GNU/Linux.
27136 * manual/intro.texi: Likewise.
27137 * manual/io.texi: Likewise.
27138 (File Name Portability): Detail which constraints are inapplicable
27139 to all GNU systems and which are only inapplicable to GNU/Hurd.
27140 * manual/job.texi: Likewise.
27141 * manual/llio.texi: Likewise.
27142 (O_NOCTTY): Document as present on GNU/Linux.
27143 * manual/maint.texi: Likewise.
27144 * manual/memory.texi: Likewise.
27145 * manual/pattern.texi: Likewise.
27146 * manual/pipe.texi: Likewise.
27147 * manual/process.texi: Likewise.
27148 * manual/resource.texi: Likewise.
27149 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27150 child on GNU/Hurd.
27151 * manual/setjmp.texi: Likewise.
27152 * manual/signal.texi: Likewise.
27153 * manual/startup.texi: Likewise.
27154 * manual/stdio.texi: Likewise.
27155 * manual/terminal.texi: Likewise.
27156 (ONLCR): Document as POSIX.
27157 (OXTABS): Document availability on GNU/Linux as XTABS.
27158 (ONOEOT): Document availability separately from other bits.
27159 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27160 * manual/time.texi: Likewise.
27161 * manual/users.texi: Likewise.
27162 * INSTALL: Regenerated.
27163 * sysdeps/gnu/errlist.c: Regenerated.
27164
07037eeb
JM
27165 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27166 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27167 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27168 puts.
27169 * configure: Regenerated.
27170
d1d3431a
JM
271712012-03-07 Joseph Myers <joseph@codesourcery.com>
27172
af6a1e37
JM
27173 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27174 default includes instead of AC_HEADER_CHECK.
27175 * sysdeps/i386/configure: Regenerated.
27176
d1d3431a
JM
27177 [BZ #10716]
27178 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27179 * math/s_cacoshf.c (__cacoshf): Likewise.
27180 * math/s_cacoshl.c (__cacoshl): Likewise.
27181 * math/s_casinh.c (__casinh): Set signs of result from argument.
27182 * math/s_casinhf.c (__casinhf): Likewise.
27183 * math/s_casinhl.c (__casinhl): Likewise.
27184 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27185 (casinh_test): Add more tests.
27186 * sysdeps/i386/fpu/libm-test-ulps: Update.
27187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27188
482ff4da
UD
271892012-03-07 Ulrich Drepper <drepper@gmail.com>
27190
872fda05
UD
27191 * po/zh_TW.po: Update from translation team.
27192
a4300c7a
UD
27193 * login/Makefile (distribute): Remove variable.
27194 * catgets/Makefile: Likewise.
27195 * mach/Makefile: Likewise.
27196 * malloc/Makefile: Likewise.
27197 * misc/Makefile: Likewise.
27198 * iconv/Makefile: Likewise.
27199 * nscd/Makefile: Likewise.
27200 * hurd/Makefile: Likewise.
27201 * manual/Makefile: Likewise.
27202 * locale/Makefile: Likewise.
27203 * intl/Makefile: Likewise.
27204 * conform/Makefile: Likewise.
27205 * nss/Makefile: Likewise.
27206 * time/Makefile: Likewise.
27207 * soft-fp/Makefile: Likewise.
27208 * dirent/Makefile: Likewise.
27209 * gmon/Makefile: Likewise.
27210 * po/Makefile: Likewise.
27211 * rt/Makefile: Likewise.
27212 * socket/Makefile: Likewise.
27213 * math/Makefile: Likewise.
27214 * signal/Makefile: Likewise.
27215 * debug/Makefile: Likewise.
27216 * elf/Makefile: Likewise.
27217 * timezone/Makefile: Likewise.
27218 * stdlib/Makefile: Likewise.
27219 * iconvdata/Makefile: Likewise.
27220 * sunrpc/Makefile: Likewise.
27221 * io/Makefile: Likewise.
27222 * argp/Makefile: Likewise.
27223 * inet/Makefile: Likewise.
27224 * hesiod/Makefile: Likewise.
27225 * grp/Makefile: Likewise.
27226 * csu/Makefile: Likewise.
27227 * wctype/Makefile: Likewise.
27228 * crypt/Makefile: Likewise.
27229 * libio/Makefile: Likewise.
27230 * string/Makefile: Likewise.
27231 * nis/Makefile: Likewise.
27232 * resolv/Makefile: Likewise.
27233 * stdio-common/Makefile: Likewise.
27234 * wcsmbs/Makefile: Likewise.
27235 * dlfcn/Makefile: Likewise.
27236 * posix/Makefile: Likewise.
27237
3b7c4e74 27238 [BZ #6959]
482ff4da
UD
27239 * timezone/Makefile: Don't install timezone files, just the programs
27240 and scripts.
27241
f72ed77d
UD
272422012-03-06 Ulrich Drepper <drepper@gmail.com>
27243
a000466f
UD
27244 * nss/databases.def: Add missing gshadow entry.
27245
f72ed77d
UD
27246 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27247
a53b7a4e
MP
272482012-03-06 Marek Polacek <polacek@redhat.com>
27249
27250 [BZ #13726]
27251 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27252 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27253 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27254 * stdio-common/tst-long-dbl-fphex.c: New file.
27255
e9258400
DM
272562012-03-06 David S. Miller <davem@davemloft.net>
27257
27258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27259 (set_obp_int): New function.
27260 (get_obp_int): New function.
27261 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27263 Avoid unused variable warnings on 'val' and use builtin_expect.
27264 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27265 __builtin_expect.
e9258400
DM
27266 (INLINE_CLONE_SYSCALL): Likewise.
27267
3bd2c723
DM
272682012-03-05 David S. Miller <davem@davemloft.net>
27269
27270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27271
bbb78d03
AS
272722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27273
884c5db4
AS
27274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27275
bbb78d03
AS
27276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27277 only for |x| >= 40.
27278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27279
1c9f702a 272802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27281
27282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27283 Replace gettimeofday with __vdso_gettimeofday.
27284
7be16f82
RM
27285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27286 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27287 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27288
27289 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27290 time with __vdso_time.
27291
ed58a00f
JM
272922012-03-05 Joseph Myers <joseph@codesourcery.com>
27293
27294 * manual/lang.texi (size_t): Note types to which size_t may be
27295 equivalent with the GNU C Library, but do not describe when
27296 differences between them are significant.
27297
30ee4ced
AJ
272982012-03-05 Andreas Jaeger <aj@suse.de>
27299
27300 * sysdeps/i386/fpu/libm-test-ulps: Update.
27301
b7cd39e8
JM
273022012-03-05 Joseph Myers <joseph@codesourcery.com>
27303
27304 [BZ #3976]
27305 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27306 (__ieee754_pow): Save and restore rounding mode and use
27307 round-to-nearest for main computations.
27308 * math/libm-test.inc (pow_test_tonearest): New function.
27309 (pow_test_towardzero): Likewise.
27310 (pow_test_downward): Likewise.
27311 (pow_test_upward): Likewise.
27312 (main): Call the new functions.
27313 * sysdeps/i386/fpu/libm-test-ulps: Update.
27314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27315
27316 [BZ #3976]
27317 * math/libm-test.inc (cosh_test_tonearest): New function.
27318 (cosh_test_towardzero): Likewise.
27319 (cosh_test_downward): Likewise.
27320 (cosh_test_upward): Likewise.
27321 (sinh_test_tonearest): Likewise.
27322 (sinh_test_towardzero): Likewise.
27323 (sinh_test_downward): Likewise.
27324 (sinh_test_upward): Likewise.
27325 (main): Call the new functions.
27326 * sysdeps/i386/fpu/libm-test-ulps: Update.
27327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27328
6c6a98c9
TV
273292012-03-05 Tom de Vries <tom@codesourcery.com>
27330
27331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27332 default stack guard is set in last bytes.
27333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27334
21bb2d2e 273352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27336
21bb2d2e 27337 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27338
21bb2d2e
AJ
27339 [BZ #13656]
27340 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27341 possibly allocate from heap instead of stack.
27342 * stdio-common/bug-vfprintf-nargs.c: New file.
27343 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27344
c6922934
AS
273452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27346
27347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27348
bc957d53
MP
273492012-03-03 Marek Polacek <polacek@redhat.com>
27350
27351 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27352 * math/math_private.h: Likewise.
27353 * stdlib/tst-strtod.c: Likewise.
27354 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27355 * sysdeps/x86_64/bits/atomic.h: Likewise.
27356
6358490d
DM
273572012-03-02 David S. Miller <davem@davemloft.net>
27358
27359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27363 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27364 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27366 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27367
01ae168d
RM
273682012-03-02 Roland McGrath <roland@hack.frob.com>
27369
d9a17c07
RM
27370 [BZ #13792]
27371 * manual/examples/README: New file, says the example source files
27372 can be used under GPL>=2.
27373 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27374 line containing just "*/".
27375 * manual/examples/add.c: Add copyright header (GPL>=2).
27376 * manual/examples/argp-ex1.c: Likewise.
27377 * manual/examples/argp-ex2.c: Likewise.
27378 * manual/examples/argp-ex3.c: Likewise.
27379 * manual/examples/argp-ex4.c: Likewise.
27380 * manual/examples/atexit.c: Likewise.
27381 * manual/examples/db.c: Likewise.
27382 * manual/examples/dir.c: Likewise.
27383 * manual/examples/dir2.c: Likewise.
27384 * manual/examples/execinfo.c: Likewise.
27385 * manual/examples/filecli.c: Likewise.
27386 * manual/examples/filesrv.c: Likewise.
27387 * manual/examples/fmtmsgexpl.c: Likewise.
27388 * manual/examples/genpass.c: Likewise.
27389 * manual/examples/inetcli.c: Likewise.
27390 * manual/examples/inetsrv.c: Likewise.
27391 * manual/examples/isockad.c: Likewise.
27392 * manual/examples/longopt.c: Likewise.
27393 * manual/examples/memopen.c: Likewise.
27394 * manual/examples/memstrm.c: Likewise.
27395 * manual/examples/mkfsock.c: Likewise.
27396 * manual/examples/mkisock.c: Likewise.
27397 * manual/examples/mygetpass.c: Likewise.
27398 * manual/examples/pipe.c: Likewise.
27399 * manual/examples/popen.c: Likewise.
27400 * manual/examples/rprintf.c: Likewise.
27401 * manual/examples/search.c: Likewise.
27402 * manual/examples/select.c: Likewise.
27403 * manual/examples/setjmp.c: Likewise.
27404 * manual/examples/sigh1.c: Likewise.
27405 * manual/examples/sigusr.c: Likewise.
27406 * manual/examples/stpcpy.c: Likewise.
27407 * manual/examples/strdupa.c: Likewise.
27408 * manual/examples/strftim.c: Likewise.
27409 * manual/examples/strncat.c: Likewise.
27410 * manual/examples/subopt.c: Likewise.
27411 * manual/examples/swapcontext.c: Likewise.
27412 * manual/examples/termios.c: Likewise.
27413 * manual/examples/testopt.c: Likewise.
27414 * manual/examples/testpass.c: Likewise.
27415 * manual/examples/timeval_subtract.c: Likewise.
27416
01ae168d
RM
27417 [BZ #13792]
27418 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27419 function to ...
27420 * manual/timeval_subtract.c.texi: ... here, new file.
27421
49efa33d
DM
274222012-03-02 David S. Miller <davem@davemloft.net>
27423
27424 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27425
28afd92d
JM
274262012-03-02 Joseph Myers <joseph@codesourcery.com>
27427
804360ed
JM
27428 [BZ #3976]
27429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27430 (__sin): Save and restore rounding mode and use round-to-nearest
27431 for all computations.
27432 (__cos): Save and restore rounding mode and use round-to-nearest
27433 for all computations.
27434 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27435 <fenv.h>.
27436 (tan): Save and restore rounding mode and use round-to-nearest for
27437 all computations.
27438 * math/libm-test.inc (cos_test_tonearest): New function.
27439 (cos_test_towardzero): Likewise.
27440 (cos_test_downward): Likewise.
27441 (cos_test_upward): Likewise.
27442 (sin_test_tonearest): Likewise.
27443 (sin_test_towardzero): Likewise.
27444 (sin_test_downward): Likewise.
27445 (sin_test_upward): Likewise.
27446 (tan_test_tonearest): Likewise.
27447 (tan_test_towardzero): Likewise.
27448 (tan_test_downward): Likewise.
27449 (tan_test_upward): Likewise.
27450 (main): Call the new functions.
27451 * sysdeps/i386/fpu/libm-test-ulps: Update.
27452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27453
a6d06d7b
JM
27454 [BZ #10135]
27455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27456 small n, then large n, before computing and testing k+n.
27457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27459 Likewise.
27460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27461 Likewise.
27462 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27470 * math/libm-test.inc (scalbn_test): Add more tests.
27471 (scalbln_test): Likewise.
27472
07e12bb3
JM
27473 * manual/filesys.texi (mode_t): Describe constraints on size and
27474 signedness, not exact equivalence to a particular type.
27475 (ino_t): Likewise.
27476 (ino64_t): Likewise.
27477 (dev_t): Likewise.
27478 (nlink_t): Likewise.
27479 (blkcnt_t): Likewise.
27480 (blkcnt64_t): Likewise.
27481 * manual/llio.texi (off_t): Likewise.
27482
28afd92d
JM
27483 [BZ #3976]
27484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27485 (__ieee754_exp): Save and restore rounding mode and use
27486 round-to-nearest for all computations.
27487 * math/libm-test.inc (exp_test_tonearest): New function.
27488 (exp_test_towardzero): Likewise.
27489 (exp_test_downward): Likewise.
27490 (exp_test_upward): Likewise.
27491 (main): Call the new functions.
27492 * sysdeps/i386/fpu/libm-test-ulps: Update.
27493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27494
b1eeb65d
CD
274952012-03-01 Chris Demetriou <cgd@google.com>
27496
27497 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27498 have predictable order.
27499
53362a4b
DM
275002012-03-01 David S. Miller <davem@davemloft.net>
27501
3c969083
DM
27502 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27503
759707de
DM
27504 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27505 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27506 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27507 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27508
dfdb8ff2
DM
27509 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27510 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27511 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27513 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27514 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27515 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27516 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27517 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27518
ead89f96
DM
27519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27520
7f66bd07
DM
27521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27522 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27524
53362a4b
DM
27525 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27533 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27534 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27535 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27541 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27542 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27543 * sysdeps/sparc/elf/configure: Regenerated.
27544
7b1902cb
JM
275452012-03-01 Joseph Myers <joseph@codesourcery.com>
27546
bec039bc
JM
27547 * configure.in (AS, LD): Require binutils 2.20 or later.
27548 * configure: Regenerated.
27549 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27550 as required minimum version.
27551 * INSTALL: Regenerated.
27552
7b1902cb
JM
27553 [BZ #2541]
27554 [BZ #4108]
27555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27556 before squaring exponent.
27557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27558 bottom long double and 27 bits of top long double before squaring
27559 exponent.
27560 * math/libm-test.inc (erfc_test): Add more tests.
27561 * sysdeps/i386/fpu/libm-test-ulps: Update.
27562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27564
f775c276
KT
275652012-03-01 Kai Tietz <ktietz@redhat.com>
27566
27567 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27568 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27569 containing bit-fields.
27570 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27571 * soft-fp/single.h (_FP_UNION_S): Likewise.
27572 * soft-fp/double.h (_FP_UNION_D): Likewise.
27573
5b8a4d4a
JM
275742012-02-29 Joseph Myers <joseph@codesourcery.com>
27575
0bab47b6
JM
27576 [BZ #13786]
27577 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27578 not include ../strcmp.S.
27579 [USE_AS_STRNCASECMP_L]: Likewise.
27580 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27581 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27582 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27583 (__strncasecmp_l_ia32): Define as alias to
27584 __strncasecmp_l_nonascii.
27585
0fcad3e2
JM
27586 [BZ #5794]
27587 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27588 * sysdeps/i386/fpu/libm-test-ulps: Update.
27589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27590
5b8a4d4a
JM
27591 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27593
8fdceb2e
JL
275942012-02-29 Jeff Law <law@redhat.com>
27595
27596 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27597 out of bounds read.
27598
1f393a11
MP
275992012-02-29 Marek Polacek <polacek@redhat.com>
27600
27601 [BZ #13706]
27602 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27603 * elf/Makefile: Add rules to run tst-unused-dep.out.
27604
8847f037
DM
276052012-02-28 David S. Miller <davem@davemloft.net>
27606
27607 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27608 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27613
169d7f11
JM
276142012-02-29 Joseph Myers <joseph@codesourcery.com>
27615
27616 * math/libm-test.inc (llround_test): Move one test from
27617 lround_test. Use TEST_f_L in moved test.
27618 (lround_test): Move misplaced test to llround_test. Add testcase
27619 from bug 2561.
27620
39adf059
UD
276212012-02-28 Ulrich Drepper <drepper@gmail.com>
27622
27623 * sysdeps/x86_64/fpu/e_expf.S: New file.
27624 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27625
71b5d1c5
SB
276262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27627
27628 [BZ #13637]
27629 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27630 of remain_len that may cause incomplete multi-byte character and
27631 false match.
27632 * posix/bug-regex33.c: New file.
27633 * posix/Makefile (tests): Add bug-regex33.
27634
1f77f049
JM
276352012-02-28 Joseph Myers <joseph@codesourcery.com>
27636
27637 * manual/macros.texi: New file.
27638 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27639 * manual/libc.texinfo: Include macros.texi.
27640 * manual/creatute.texi: Likewise.
27641 * manual/install.texi: Likewise.
27642 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27643 @glibcadj{} in references to the GNU C Library.
27644 * manual/charset.texi: Likewise.
27645 * manual/conf.texi: Likewise.
27646 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27647 when not using those macros.
27648 * manual/creature.texi: Likewise.
27649 * manual/crypt.texi: Likewise.
27650 * manual/errno.texi: Likewise.
27651 * manual/filesys.texi: Likewise.
27652 * manual/header.texi: Likewise.
27653 * manual/install.texi: Likewise.
27654 * manual/intro.texi: Likewise.
27655 * manual/io.texi: Likewise.
27656 * manual/job.texi: Likewise.
27657 * manual/lang.texi: Likewise.
27658 * manual/libc.texiinfo: Likewise.
27659 * manual/llio.texi: Likewise.
27660 * manual/locale.texi: Likewise.
27661 * manual/maint.texi: Likewise.
27662 * manual/math.texi: Likewise.
27663 * manual/memory.texi: Likewise.
27664 * manual/message.texi: Likewise.
27665 * manual/nss.texi: Likewise.
27666 * manual/pattern.texi: Likewise.
27667 * manual/process.texi: Likewise.
27668 * manual/resource.texi: Likewise.
27669 * manual/search.texi: Likewise.
27670 * manual/setjmp.texi: Likewise.
27671 * manual/signal.texi: Likewise.
27672 * manual/socket.texi: Likewise.
27673 * manual/startup.texi: Likewise.
27674 * manual/stdio.texi: Likewise.
27675 * manual/string.texi: Likewise.
27676 * manual/sysinfo.texi: Likewise.
27677 * manual/syslog.texi: Likewise.
27678 * manual/terminal.texi: Likewise.
27679 * manual/time.texi: Likewise.
27680 * manual/users.texi: Likewise.
27681 * INSTALL: Regenerated.
27682 * NOTES: Regenerated.
d40c5d54 27683 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27684
450bf206
AS
276852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27686
27687 * include/dirent.h: Include <dirstream.h> before
27688 <dirent/dirent.h>.
27689
741a235b
DM
276902012-02-28 David S. Miller <davem@davemloft.net>
27691
27692 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27693 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27694 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27696
d6b5aa58
DM
276972012-02-27 David S. Miller <davem@davemloft.net>
27698
1aff59a3
DM
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27701 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27702 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27703
d6b5aa58
DM
27704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27705 frame pointer instead of stack pointer relative arg slot.
27706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27709
433f48bf
CD
277102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27711
27712 [BZ #3992]
27713 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27714
d674b76d
DM
277152012-02-27 David S. Miller <davem@davemloft.net>
27716
27717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27721 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27722 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27723 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27724 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27725
0e7727f7
JM
277262012-02-27 Joseph Myers <joseph@codesourcery.com>
27727
27728 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27729 later. Allow versions 5-9.
43be4ca2 27730 * configure: Regenerated.
0e7727f7
JM
27731 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27732 required minimum version and 4.6 as recommended version. Do not
27733 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27734 * INSTALL: Regenerated.
0e7727f7 27735
a78bc654
DM
277362012-02-27 David S. Miller <davem@davemloft.net>
27737
428d5830
DM
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27744 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27746
a78bc654
DM
27747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27748 manipulate bits before adding and subtracting TWO112[sx].
27749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27750
4579f81c
RM
277512012-02-27 Roland McGrath <roland@hack.frob.com>
27752
36c8acb4
RM
27753 [BZ #13775]
27754 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27755 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27756 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27757 being in POSIX, because they are in 1003.1-2008.
27758
84ad622b
RM
27759 * rt/tst-aio.c: Include <fcntl.h>.
27760 * rt/tst-aio7.c: Likewise.
27761 * rt/tst-aio64.c: Likewise.
27762
4579f81c
RM
27763 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27764
abd923db
JM
277652012-02-27 Joseph Myers <joseph@codesourcery.com>
27766
27767 * manual/install.texi (--with-headers): Describe headers as
27768 interface headers, not private headers.
27769 (Specific advice for GNU/Linux systems): Describe use of headers
27770 from "make headers_install", not private headers from older
27771 kernels.
43be4ca2 27772 * INSTALL: Regenerated.
abd923db
JM
27773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27774 Change to 2.6.19.
27775 * sysdeps/unix/sysv/linux/configure: Regenerated.
27776
6664049b
JM
27777 * manual/llio.texi (fclean): Remove documentation.
27778
bb8b6697
JM
27779 * manual/Makefile (libc-texi-generated): New variable. Include
27780 version.texi.
27781 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27782 $(libc-texi-generated), not duplicated list of files.
27783 (version.texi, stamp-version): New rules.
27784 (realclean): Remove $(libc-texi-generated), not individual files
27785 from that list. Do not remove dir-add.texinfo.
27786 * manual/libc.texinfo: Comment out uses of edition numbers and
27787 references to printed manual. Remove last-updated dates.
27788 (EDITION): Comment out.
27789 (ISBN): Likewise.
27790 (VERSION, UPDATED): Remove.
27791 (version.texi): Include.
27792
12e5c3b9
AS
277932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27794
27795 * sysdeps/posix/spawni.c: Include <signal.h>.
27796 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27797 * sysdeps/pthread/aio_fsync.c: Likewise.
27798
4efeffc1 277992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27800
ba63ba08
UD
27801 * conform/Makefile (tests): Run only when not cross-compiling and
27802 when fast-check is not defined.
27803
d94a4670
UD
27804 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27805 * conform/data/limits.h-data: Fixes for POSIX2008.
27806 * conform/run-conformtest.sh: Run all tests.
27807 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27808 headers.
27809 * include/bits/dlfcn.h: Likewise.
27810 * include/langinfo.h: Likewise.
27811 * include/monetary.h: Likewise.
27812 * include/sys/poll.h: Likewise.
27813
27814 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27815 for __USE_GNU.
27816 * posix/spawn.h: Define __need_sigset_t.
27817 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27818 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27819 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27820 to get sigevent_t only.
27821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27822 only for __USE_GNU.
27823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27825 process_vm_writev only for __USE_GNU.
27826 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27827
27828 * conform/Makefile: For now ignore errors from run-conformtest.
27829 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27830 POSIX to avoid namespace pollution. Don't prepend headers.
27831 * conform/data/aio.h-data: Fixes for POSIX testing.
27832 * conform/data/fcntl.h-data: Likewise.
27833 * conform/data/glob.h-data: Likewise.
27834 * conform/data/grp.h-data: Likewise.
27835 * conform/data/pthread.h-data: Likewise.
27836 * conform/data/pwd.h-data: Likewise.
27837 * conform/data/signal.h-data: Likewise.
27838 * conform/data/spawn.h-data: Likewise.
27839 * conform/data/stdio.h-data: Likewise.
27840 * conform/data/stdlib.h-data: Likewise.
27841 * conform/data/stropts.h-data: Likewise.
27842 * conform/data/sys/mman.h-data: Likewise.
27843 * conform/data/sys/stat.h-data: Likewise.
27844 * conform/data/sys/types.h-data: Likewise.
27845 * conform/data/sys/wait.h-data: Likewise.
27846 * conform/data/time.h-data: Likewise.
27847 * conform/data/unistd.h-data: Likewise.
27848 * conform/data/utime.h-data: Likewise.
27849
27850 * io/sys/stat.h: fchmod was always in POSIX.
27851 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27852 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27853 * rt/aio.h: Define __need_timespec before including <time.h>.
27854 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27855 struct. Add forward declaration of pthread_attr_t and use it in
27856 sigevent.
27857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27859 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27860 always remove CLK_TCK definition.
27861
c20105c3
AS
278622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27863
27864 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27865
7a270350
UD
278662012-02-25 Ulrich Drepper <drepper@gmail.com>
27867
31341567
UD
27868 * conform/run-conformtest.sh: New file.
27869 * conform/Makefile: Run run-conformtest for tests.
27870 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27871 support.
27872
27873 * conform/data/uchar.h-data: New file.
27874 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27875 * conform/data/arpa/inet.h-data: Likewise.
27876 * conform/data/assert.h-data: Likewise.
27877 * conform/data/complex.h-data: Likewise.
27878 * conform/data/cpio.h-data: Likewise.
27879 * conform/data/ctype.h-data: Likewise.
27880 * conform/data/dirent.h-data: Likewise.
27881 * conform/data/dlfcn.h-data: Likewise.
27882 * conform/data/errno.h-data: Likewise.
27883 * conform/data/fcntl.h-data: Likewise.
27884 * conform/data/float.h-data: Likewise.
27885 * conform/data/fmtmsg.h-data: Likewise.
27886 * conform/data/fnmatch.h-data: Likewise.
27887 * conform/data/ftw.h-data: Likewise.
27888 * conform/data/glob.h-data: Likewise.
27889 * conform/data/grp.h-data: Likewise.
27890 * conform/data/iconv.h-data: Likewise.
27891 * conform/data/inttypes.h-data: Likewise.
27892 * conform/data/langinfo.h-data: Likewise.
27893 * conform/data/libgen.h-data: Likewise.
27894 * conform/data/limits.h-data: Likewise.
27895 * conform/data/locale.h-data: Likewise.
27896 * conform/data/math.h-data: Likewise.
27897 * conform/data/monetary.h-data: Likewise.
27898 * conform/data/mqueue.h-data: Likewise.
27899 * conform/data/ndbm.h-data: Likewise.
27900 * conform/data/net/if.h-data: Likewise.
27901 * conform/data/netdb.h-data: Likewise.
27902 * conform/data/netinet/in.h-data: Likewise.
27903 * conform/data/nl_types.h-data: Likewise.
27904 * conform/data/poll.h-data: Likewise.
27905 * conform/data/pthread.h-data: Likewise.
27906 * conform/data/pwd.h-data: Likewise.
27907 * conform/data/regex.h-data: Likewise.
27908 * conform/data/sched.h-data: Likewise.
27909 * conform/data/search.h-data: Likewise.
27910 * conform/data/semaphore.h-data: Likewise.
27911 * conform/data/setjmp.h-data: Likewise.
27912 * conform/data/signal.h-data: Likewise.
27913 * conform/data/spawn.h-data: Likewise.
27914 * conform/data/stdarg.h-data: Likewise.
27915 * conform/data/stdio.h-data: Likewise.
27916 * conform/data/stdlib.h-data: Likewise.
27917 * conform/data/string.h-data: Likewise.
27918 * conform/data/strings.h-data: Likewise.
27919 * conform/data/stropts.h-data: Likewise.
27920 * conform/data/sys/ipc.h-data: Likewise.
27921 * conform/data/sys/mman.h-data: Likewise.
27922 * conform/data/sys/msg.h-data: Likewise.
27923 * conform/data/sys/resource.h-data: Likewise.
27924 * conform/data/sys/select.h-data: Likewise.
27925 * conform/data/sys/sem.h-data: Likewise.
27926 * conform/data/sys/shm.h-data: Likewise.
27927 * conform/data/sys/socket.h-data: Likewise.
27928 * conform/data/sys/stat.h-data: Likewise.
27929 * conform/data/sys/statvfs.h-data: Likewise.
27930 * conform/data/sys/time.h-data: Likewise.
27931 * conform/data/sys/timeb.h-data: Likewise.
27932 * conform/data/sys/times.h-data: Likewise.
27933 * conform/data/sys/types.h-data: Likewise.
27934 * conform/data/sys/uio.h-data: Likewise.
27935 * conform/data/sys/un.h-data: Likewise.
27936 * conform/data/sys/utsname.h-data: Likewise.
27937 * conform/data/sys/wait.h-data: Likewise.
27938 * conform/data/syslog.h-data: Likewise.
27939 * conform/data/tar.h-data: Likewise.
27940 * conform/data/termios.h-data: Likewise.
27941 * conform/data/utime.h-data: Likewise.
27942 * conform/data/utmpx.h-data: Likewise.
27943 * conform/data/varargs.h-data: Likewise.
27944 * conform/data/wchar.h-data: Likewise.
27945 * conform/data/wctype.h-data: Likewise.
27946 * conform/data/wordexp.h-data: Likewise.
27947
27948 * include/stropts.h: New file.
27949 * include/uchar.h: New file.
27950 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27951 * include/assert.h: Likewise.
27952 * include/ctype.h: Likewise.
27953 * include/dirent.h: Likewise.
27954 * include/dlfcn.h: Likewise.
27955 * include/fcntl.h: Likewise.
27956 * include/fnmatch.h: Likewise.
27957 * include/glob.h: Likewise.
27958 * include/grp.h: Likewise.
27959 * include/libio.h: Likewise.
27960 * include/locale.h: Likewise.
27961 * include/math.h: Likewise.
27962 * include/net/if.h: Likewise.
27963 * include/netdb.h: Likewise.
27964 * include/netinet/in.h: Likewise.
27965 * include/pthread.h: Likewise.
27966 * include/pwd.h: Likewise.
27967 * include/regex.h: Likewise.
27968 * include/sched.h: Likewise.
27969 * include/search.h: Likewise.
27970 * include/setjmp.h: Likewise.
27971 * include/signal.h: Likewise.
27972 * include/stdio.h: Likewise.
27973 * include/stdlib.h: Likewise.
27974 * include/string.h: Likewise.
27975 * include/sys/cdefs.h: Likewise.
27976 * include/sys/mman.h: Likewise.
27977 * include/sys/msg.h: Likewise.
27978 * include/sys/resource.h: Likewise.
27979 * include/sys/select.h: Likewise.
27980 * include/sys/socket.h: Likewise.
27981 * include/sys/stat.h: Likewise.
27982 * include/sys/statvfs.h: Likewise.
27983 * include/sys/time.h: Likewise.
27984 * include/sys/times.h: Likewise.
27985 * include/sys/uio.h: Likewise.
27986 * include/sys/utsname.h: Likewise.
27987 * include/sys/wait.h: Likewise.
27988 * include/termios.h: Likewise.
27989 * include/time.h: Likewise.
27990 * include/ulimit.h: Likewise.
27991 * include/unistd.h: Likewise.
27992 * include/utime.h: Likewise.
27993 * include/wchar.h: Likewise.
27994 * include/wctype.h: Likewise.
27995 * include/wordexp.h: Likewise.
27996
27997 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27998
7a270350
UD
27999 * time/time.h: TIME_UTC must be a macro.
28000 Make timespec_get available for ISO C11 only as well.
28001
7724defc
UD
280022012-02-24 Ulrich Drepper <drepper@gmail.com>
28003
28004 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28005 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28006
6b1d1d46
JM
280072012-02-24 Joseph Myers <joseph@codesourcery.com>
28008
28009 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28010
0f8bbd69
JM
280112012-02-24 Joseph Myers <joseph@codesourcery.com>
28012
28013 * manual/texinfo.tex: Update to version 2012-01-19.16.
28014
66ab80bc
JM
280152012-02-24 Joseph Myers <joseph@codesourcery.com>
28016
28017 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28018
74981cc5
RM
280192012-02-24 Roland McGrath <roland@hack.frob.com>
28020
ee968201
RM
28021 [BZ #13738]
28022 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28023 * manual/fdl-1.3.texi: New file.
28024 * manual/fdl-1.1.texi: File removed.
28025
74981cc5
RM
28026 [BZ #13738]
28027 * manual/libc.texinfo (FDL_VERSION): New @set.
28028 Use it for mention of FDL in cover text.
28029 (Documentation License): Use it in @include file name.
28030
7bb764bc
JM
280312012-02-22 Joseph Myers <joseph@codesourcery.com>
28032 Roland McGrath <roland@hack.frob.com>
28033
28034 [BZ #5461]
28035 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28036 not LONG_LONG_MAX and LONG_LONG_MIN.
28037 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28038 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28039 name.
28040 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28041
6cbeae47
JM
280422012-02-22 Joseph Myers <joseph@codesourcery.com>
28043
28044 [BZ #2547]
28045 [BZ #11365]
28046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28047 manipulate bits before adding and subtracting TWO23[sx].
28048 * math/libm-test.inc (nearbyint_test): Add more tests.
28049
fe45ce09
JM
280502012-02-22 Joseph Myers <joseph@codesourcery.com>
28051
28052 [BZ #2548]
28053 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28054 bits before adding and subtracting TWO23[sx].
28055 * math/libm-test.inc (rint_test): Add more tests.
28056 (rint_test_tonearest): Likewise.
28057 (rint_test_towardzero): Likewise.
28058 (rint_test_downward): Likewise.
28059 (rint_test_upward: Likewise.
28060
ff3b3d82
JM
280612012-02-22 Joseph Myers <joseph@codesourcery.com>
28062
28063 [BZ #10110]
28064 * include/stdc-predef.h: New file. Extracted from features.h.
28065 * include/features.h: Include stdc-predef.h.
28066 * Makefile (headers): Add stdc-predef.h.
28067 * CONFORMANCE (Compiler limitations): Update.
28068
ef0aab35
JM
280692012-02-22 Joseph Myers <joseph@codesourcery.com>
28070
28071 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28072
58639409
DM
280732012-02-21 David S. Miller <davem@davemloft.net>
28074
28075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28077
c0e70b25
DM
280782012-02-20 David S. Miller <davem@davemloft.net>
28079
28080 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28081 using a normal save/restore sequence, rather than allocating a
28082 dummy stack frame just to store a frame pointer and restore.
28083 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28084
fb06851d
JM
280852012-02-21 Joseph Myers <joseph@codesourcery.com>
28086
28087 * manual/install.texi: Fix stray word in line-wrapped comment.
28088
7a8b71c3
DM
280892012-02-20 David S. Miller <davem@davemloft.net>
28090
d510c123
DM
28091 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28092 both binutils and gcc support GOTDATA.
28093
0722d7c2
DM
28094 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28095 "rd %pc" in the PIC register setup sequences.
28096
3d2b3019
DM
28097 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28100 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28101 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28106 (SYSCALL_ERROR_HANDLER): Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28110 (SYSCALL_ERROR_HANDLER): Likewise.
28111
c80098a9
DM
28112 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28113 (HAVE_GCC_GOTDATA): New.
28114 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28115 relocation support in both binutils and gcc.
28116 * sysdeps/sparc/elf/configure: Regenerate.
28117
3a2545a0
DM
28118 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28119 * sysdeps/sparc/sparc32/elf/configure: Delete.
28120 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28121 * sysdeps/sparc/sparc64/elf/configure: Delete.
28122 * sysdeps/sparc/elf/configure.in: New file.
28123 * sysdeps/sparc/elf/configure: Generate.
28124
7a8b71c3
DM
28125 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28126 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28127 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28128 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28129 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28130
f1e86fca
JM
281312012-02-21 Joseph Myers <joseph@codesourcery.com>
28132
28133 * manual/install.texi: Do not mention specific glibc version
28134 numbers.
28135 * manual/libc.texinfo (VERSION, UPDATED): Update.
28136 (@copying): Use @copyright{} and range of years.
28137
0e7dfaef
JM
281382012-02-21 Joseph Myers <joseph@codesourcery.com>
28139
28140 [BZ #13695]
28141 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28142 [crti.S not in sysdirs] (generated): Do not append.
28143 [crti.S not in sysdirs] (omit-deps): Likewise.
28144 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28145 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28146 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28147 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28148 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28149 Likewise.
28150 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28151 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28152 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28153 * csu/defs.awk: Remove file.
28154 * sysdeps/generic/initfini.c: Likewise.
28155 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28156 variable.
28157 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28158 Likewise.
28159
599af3ca
JM
281602012-02-20 Joseph Myers <joseph@codesourcery.com>
28161
28162 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28168 <bits/epoll.h>.
28169 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28170 (__EPOLL_PACKED): Define to empty if not defined by
28171 <bits/epoll.h>.
28172 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28174 bits/epoll.h.
28175
0e499750
JM
281762012-02-20 Joseph Myers <joseph@codesourcery.com>
28177
28178 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28179 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28180 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28182 <bits/timerfd.h>.
28183 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28185 bits/timerfd.h.
28186
5ad91f6e
JM
281872012-02-20 Joseph Myers <joseph@codesourcery.com>
28188
28189 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28190 in C locale.
28191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28195
06b99b02
AJ
281962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28197
28198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28200
7638c0fd
AS
282012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28202
28203 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28204 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28205 defined.
28206 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28207 Likewise.
28208 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28209 entry for 2.16.
28210
92221550
AJ
282112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28212
28213 * math/w_acos.c: Use non-signaling floating-point comparisons.
28214 * math/w_acosf.c: Likewise.
28215 * math/w_acosh.c: Likewise.
28216 * math/w_acoshf.c: Likewise.
28217 * math/w_acoshl.c: Likewise.
28218 * math/w_acosl.c: Likewise.
28219 * math/w_asin.c: Likewise.
28220 * math/w_asinf.c: Likewise.
28221 * math/w_asinl.c: Likewise.
28222 * math/w_atanh.c: Likewise.
28223 * math/w_atanhf.c: Likewise.
28224 * math/w_atanhl.c: Likewise.
28225 * math/w_exp2.c: Likewise.
28226 * math/w_exp2f.c: Likewise.
28227 * math/w_exp2l.c: Likewise.
28228 * math/w_j0.c: Likewise.
28229 * math/w_j0f.c: Likewise.
28230 * math/w_j0l.c: Likewise.
28231 * math/w_j1.c: Likewise.
28232 * math/w_j1f.c: Likewise.
28233 * math/w_j1l.c: Likewise.
28234 * math/w_jn.c: Likewise.
28235 * math/w_jnf.c: Likewise.
28236 * math/w_log.c: Likewise.
28237 * math/w_log10.c: Likewise.
28238 * math/w_log10f.c: Likewise.
28239 * math/w_log10l.c: Likewise.
28240 * math/w_log2.c: Likewise.
28241 * math/w_log2f.c: Likewise.
28242 * math/w_log2l.c: Likewise.
28243 * math/w_logf.c: Likewise.
28244 * math/w_logl.c: Likewise.
28245 * math/w_sqrt.c: Likewise.
28246 * math/w_sqrtf.c: Likewise.
28247 * math/w_sqrtl.c: Likewise.
28248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28249 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28253
ebaf36eb
JM
282542012-02-19 Joseph Myers <joseph@codesourcery.com>
28255
28256 [BZ #9739]
28257 * manual/string.texi (strnlen): Use correct parameter name in
28258 equivalent expression.
28259
71c254a6
JM
282602012-02-19 Joseph Myers <joseph@codesourcery.com>
28261
28262 [BZ #11174]
28263 * manual/users.texi (seteuid): Consistently use neweuid for
28264 argument name.
28265
16d2c631
JM
282662012-02-19 Joseph Myers <joseph@codesourcery.com>
28267
28268 [BZ #13704]
28269 * manual/nss.texi (Services in the NSS configuration): Correct
28270 list of services in example configuration file.
28271
cd837b09
NB
282722012-02-19 Nick Bowler <nbowler@draconx.ca>
28273
28274 [BZ #11322]
28275 * manual/arith.texi: Remove statements about negative zero
28276 behaving identically to zero.
28277
02c4bbad
JM
282782012-02-18 Joseph Myers <joseph@codesourcery.com>
28279
28280 [BZ #5993]
28281 * manual/install.texi: Do not document upgrading from libc5.
28282
366842e7
JM
282832012-02-18 Joseph Myers <joseph@codesourcery.com>
28284
28285 [BZ #4596]
28286 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28287
dd54084d
DM
282882012-02-18 David S. Miller <davem@davemloft.net>
28289
28290 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28291 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28292 %o7 across the call.
28293 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28294 instead.
28295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28296 SETUP_PIC_REG_LEAF.
28297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28298 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28299 * sysdeps/sparc/crtn.S: Likewise.
28300
2bcc53a3
UD
283012012-02-17 Ulrich Drepper <drepper@gmail.com>
28302
28303 * aout/Makefile: Remove.
28304
09c093b5
RK
283052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28306
28307 [BZ #13058]
28308 * manual/examples/argp-ex1.c (main): Format definition in GNU
28309 style.
28310 * manual/examples/argp-ex2.c (main): Likewise.
28311 * manual/examples/argp-ex3.c (main): Likewise.
28312 * manual/examples/argp-ex4.c (main): Likewise.
28313 * manual/examples/longopt.c (main): Use new-style prototype
28314 definition.
28315 * manual/examples/strncat.c (main): Specify return type and use
28316 (void) for arguments.
28317 * manual/examples/subopt.c (main): Use char **argv argument.
28318
2ee633a2
JM
283192012-02-17 Joseph Myers <joseph@codesourcery.com>
28320
28321 [BZ #5077]
28322 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28323 rounding modes.
28324
0520adde
FB
283252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28326
28327 [BZ #6907]
28328 * manual/string.texi (strchr): Change when strchrnul is
28329 recommended.
28330
3f4081cd
DGM
283312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28332
28333 [BZ #174]
28334 * manual/locale.texi (setlocale): Document LOCPATH.
28335
d1b10e78
JM
283362012-02-17 Joseph Myers <joseph@codesourcery.com>
28337
28338 [BZ #10210]
28339 * manual/process.texi (execle): Move @dots{} before last argument.
28340
79c6869c
PB
283412012-02-17 Paul Bolle <pebolle@tiscali.nl>
28342
28343 [BZ #12047]
28344 * manual/charset.texi (Generic Charset Conversion): Fix typo
28345 (LC_TYPE -> LC_CTYPE).
28346
cc6e48bc
NB
283472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28348
28349 [BZ #5805]
28350 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28351 (scalbnf): Likewise.
28352 (scalbnl): Likewise.
28353 (scalbln): Likewise.
28354 (scalblnf): Likewise.
28355 (scalblnl): Likewise.
28356 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28357 (vwarnx): Likewise.
28358 (verr): Likewise.
28359 (verrx): Likewise.
28360 * manual/filesys.texi (telldir): Use braces around return type.
28361 * manual/llio.texi (mmap): Add space after comma.
28362 (mmap64): Likewise.
28363 * manual/math.texi (jn): Use @var{} on parameter names.
28364 (jnf): Likewise.
28365 (jnl): Likewise.
28366 (yn): Likewise.
28367 (ynf): Likewise.
28368 (ynl): Likewise.
28369 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28370 line.
28371 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28372 "...".
28373 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28374 (sched_get_priority_max): Likewise.
28375 * manual/signal.texi (sigvec): Add space after comma.
28376 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28377 names.
28378 (if_indextoname): Likewise.
28379 (if_freenameindex): Likewise.
28380 (sendto): Use ',' instead of '.' in prototype.
28381 * manual/startup.texi (syscall): Use @dots{} instead of literal
28382 "...".
28383 * manual/stdio.texi (__fpending): Separate initial words of
28384 paragraph from @deftypefun line.
28385 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28386 "...".
28387 (vsyslog): Use @var{} on parameter names.
28388 * manual/terminal.texi (stty): Use @var{} on parameter names.
28389 * manual/users.texi (getutmp): Use @var{} on parameter names.
28390 (getutmpx): Likewise.
28391
5b23062f
JM
283922012-02-17 Joseph Myers <joseph@codesourcery.com>
28393
28394 [BZ #6884]
28395 * manual/stdio.texi (fopen): Fix typos in description of
28396 ",ccs=STRING".
28397
8dee4833
AJ
283982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28399
28400 [BZ #4026]
28401 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28402 get clock_id definition.
28403
9078ce93
TS
284042012-02-17 Thomas Schwinge <thomas@schwinge.name>
28405
28406 [BZ #4822]
28407 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28408 (madvise): Cast every argument to void on its own.
28409
3835c55f
JM
284102012-02-17 Joseph Myers <joseph@codesourcery.com>
28411
28412 [BZ #9902]
28413 * manual/startup.texi (Exit Status): Fix typo.
28414
35c47e37
JM
284152012-02-17 Joseph Myers <joseph@codesourcery.com>
28416
28417 [BZ #10140]
28418 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28419 * manual/examples/argp-ex2.c: Likewise.
28420 * manual/examples/argp-ex3.c: Likewise.
28421
e3b69ca7
RH
284222012-02-16 Richard Henderson <rth@redhat.com>
28423
28424 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28425 * sysdeps/s390/s390-32/initfini.c: Remove.
28426 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28427 * sysdeps/s390/s390-64/initfini.c: Remove.
28428
df83af67
KK
284292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28430
28431 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28432 compiler output for sysdeps/generic/initfini.c.
28433 * sysdeps/sh/elf/initfini.c: Remove file.
28434
f63f3380
DM
284352012-02-16 David S. Miller <davem@davemloft.net>
28436
fb59b3a4
DM
28437 [BZ #11494]
28438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28439
f63f3380
DM
28440 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28441 * sysdeps/sparc/crti.S: New file.
28442 * sysdeps/sparc/crtn.S: New file.
28443 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28444 * sysdeps/sparc/sparc64/Makefile: Likewise.
28445
df6a4a4a
MF
284462012-02-15 Mike Frysinger <vapier@gentoo.org>
28447
6dd8f3dc 28448 [BZ #3335]
df6a4a4a
MF
28449 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28450
1cac7236
RM
284512012-02-15 Roland McGrath <roland@hack.frob.com>
28452
d2c736f8
RM
28453 [BZ #4822]
28454 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28455
1cac7236
RM
28456 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28457 (write, read, close): Likewise.
28458 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28459
8e475601
JM
284602012-02-15 Joseph Myers <joseph@codesourcery.com>
28461
28462 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28463 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28464 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28465 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28466 <bits/signalfd.h>.
28467 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28469 bits/signalfd.h.
28470
ed656b40
MP
284712012-02-14 Marek Polacek <polacek@redhat.com>
28472
28473 * sysdeps/x86_64/crti.S: New file.
28474 * sysdeps/x86_64/crtn.S: New file.
28475 * sysdeps/x86_64/elf/initfini.c: Remove file.
28476
2a979d3a
JM
284772012-02-13 Joseph Myers <joseph@codesourcery.com>
28478
28479 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28480 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28481 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28482 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28483 <bits/inotify.h>.
28484 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28486 bits/inotify.h.
28487
2a418ac3
JM
284882012-02-13 Joseph Myers <joseph@codesourcery.com>
28489
28490 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28492 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28493 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28494 <bits/eventfd.h>.
28495 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28497 bits/eventfd.h.
28498
fb779be7
TS
284992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28500
e19e83c5
RM
28501 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28502 __feraiseexcept instead of feraiseexcept.
7c35ffed 28503
fb779be7
TS
28504 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28505 nanosleep invocations.
28506 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28507 strings, and add error checking for a nanosleep invocations.
28508
59ba27a6
PE
285092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28510
28511 Replace FSF snail mail address with URLs, as per GNU coding standards.
28512 Most of the snail mail addresses were wrong anyway, and omitting
28513 them makes the source code easier to maintain. Almost all of the
28514 changes are to license notices and to locale LC_IDENTIFICATION
28515 addresses, except for this one:
28516 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28517 not its snail mail address.
28518
57b957eb
RH
285192012-02-09 Richard Henderson <rth@twiddle.net>
28520
af850b1c
RH
28521 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28522 of kernel-features.h.
28523
57b957eb
RH
28524 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28525
6b73181a
MP
285262012-02-08 Marek Polacek <polacek@redhat.com>
28527
28528 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28529 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28530 * sysdeps/gnu/_G_config.h: Likewise.
28531 * sysdeps/generic/_G_config.h: Likewise.
28532
26ecc33a
AS
285332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28534
6c6dbc63
AS
28535 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28536 tests.
28537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28538
e216c012
AS
28539 * sysdeps/powerpc/powerpc32/crti.S: New file.
28540 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28541 * sysdeps/powerpc/powerpc64/crti.S: New file.
28542 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28543
26ecc33a
AS
28544 * Makeconfig (have-initfini): Don't set.
28545 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28546 * configure.in (nopic_initfini): Don't substitute.
28547 * config.h.in (HAVE_INITFINI): Don't #undef.
28548 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28549 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28550
3add8e13
JM
285512012-02-08 Joseph Myers <joseph@codesourcery.com>
28552
28553 Support crti.S and crtn.S provided directly by architectures.
28554 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28555 [crti.S in sysdirs] (omit-deps): Likewise.
28556 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28557 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28558 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28559 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28560 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28561 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28562 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28563 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28564 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28565 compiler output for sysdeps/generic/initfini.c.
28566 * sysdeps/i386/elf/Makefile: Remove file.
28567 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28568
a22f12b4
MP
285692012-02-07 Marek Polacek <polacek@redhat.com>
28570
28571 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28572 * sysdeps/gnu/_G_config.h: Likewise.
28573 * sysdeps/mach/hurd/_G_config.h: Likewise.
28574
148cf100
MP
285752012-02-07 Marek Polacek <polacek@redhat.com>
28576
28577 * math/Makefile (tests): Add tst-CMPLX2.
28578 * math/tst-CMPLX2.c: New file.
28579
cfdc0dd7
AS
285802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28581
84ba42c4
AS
28582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28583
cfdc0dd7
AS
28584 * math/libm-test.inc (jn_test): Add missing L suffix.
28585
622c86f4
MP
285862012-02-06 Marek Polacek <polacek@redhat.com>
28587
28588 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28589 * sysdeps/i386/fpu/e_powf.S: Likewise.
28590 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28592 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28593 * sysdeps/i386/fpu/e_pow.S: Likewise.
28594 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28596 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28598 * sysdeps/i386/fpu/e_log2.S: Likewise.
28599 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28600 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28601 * sysdeps/i386/fpu/e_powl.S: Likewise.
28602 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28605 * sysdeps/i386/fpu/e_logl.S: Likewise.
28606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28607 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28612 * sysdeps/i386/fpu/e_log.S: Likewise.
28613 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28615 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28616 * sysdeps/i386/fpu/e_logf.S: Likewise.
28617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28619 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28622 * sysdeps/i386/fpu/e_log10.S: Likewise.
28623 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28625 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28626 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28629 * sysdeps/i386/asm-syntax.h: Likewise.
28630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28633 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28634 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28639 * sysdeps/powerpc/sysdep.h: Likewise.
28640 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28642
d4a54ac6
JM
286432012-02-06 Joseph Myers <joseph@codesourcery.com>
28644
28645 [BZ #411]
28646 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28647
314054ea
JM
286482012-02-06 Joseph Myers <joseph@codesourcery.com>
28649
28650 * sysdeps/i386/sysdep.h: Include <features.h>.
28651 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28652 version.
28653
d8e0ca50
JM
286542012-02-05 Joseph Myers <joseph@codesourcery.com>
28655
28656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28657 Define.
28658 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28659 LOAD_PIC_REG_STR.
28660
b1da7dd9
JM
286612012-02-03 Joseph Myers <joseph@codesourcery.com>
28662
28663 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28664 (SETUP_PIC_REG): Use GET_PC_THUNK.
28665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28666 macro.
28667
9a1d9254
JM
286682012-02-03 Joseph Myers <joseph@codesourcery.com>
28669
28670 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28671 for non-PIC compilation.
28672 (SETUP_PIC_REG): Add .p2align directive.
28673 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28674 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28675 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28676 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28688 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28689 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28695 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28696 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28708 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28710 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28711 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28712 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28713 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28714
65dc3b75
JM
287152012-02-03 Joseph Myers <joseph@codesourcery.com>
28716
28717 * math/tst-CMPLX.c: Include <stdio.h>.
28718
d55bf177
JM
287192012-01-31 Joseph Myers <joseph@codesourcery.com>
28720
28721 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28722 float.
28723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28724 * sysdeps/sparc/bits/mathdef.h: Likewise.
28725
69db4f8f
MP
287262012-01-31 Marek Polacek <polacek@redhat.com>
28727
28728 * libio/libio.h: Don't define _PARAMS.
28729 * locale/programs/config.h: Don't define PARAMS.
28730 * stdlib/strtol_l.c: Likewise.
28731 (__strtol_l): Remove PARAMS from the prototype.
28732
41b81892
UD
287332012-01-31 Ulrich Drepper <drepper@gmail.com>
28734
3b49edc0
UD
28735 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28736 names. Just use the correct names. Remove unnecessary wrapper
28737 functions.
28738 * malloc/arena.c: Likewise.
28739 * malloc/hooks.c: Likewise.
28740
41b81892
UD
28741 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28742 ARENA_TEST says not to. Simplify test for creation of a new arena.
28743 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28744
27a25b6e
UD
287452012-01-30 Ulrich Drepper <drepper@gmail.com>
28746
28747 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28748 into tail calls.
28749 (update_get_addr): New function.
28750 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28751 GET_ADDR_MODULE parameter.
28752
c8a89e7d
JM
287532012-01-30 Joseph Myers <joseph@codesourcery.com>
28754
28755 * crypt/cert.c: Remove __STDC__ conditionals.
28756 * crypt/crypt-entry.c: Likewise.
28757 * crypt/crypt_util.c: Likewise.
28758 * libio/filedoalloc.c: Likewise.
28759 * libio/fileops.c: Likewise.
28760 * libio/genops.c: Likewise.
28761 * libio/iofclose.c: Likewise.
28762 * libio/iofdopen.c: Likewise.
28763 * libio/iofopen.c: Likewise.
28764 * libio/iofopen64.c: Likewise.
28765 * libio/iogetdelim.c: Likewise.
28766 * libio/iopopen.c: Likewise.
28767 * libio/obprintf.c: Likewise.
28768 * libio/oldfileops.c: Likewise.
28769 * libio/oldiofclose.c: Likewise.
28770 * libio/oldiofdopen.c: Likewise.
28771 * libio/oldiofopen.c: Likewise.
28772 * libio/oldiopopen.c: Likewise.
28773 * libio/wfiledoalloc.c: Likewise.
28774 * libio/wgenops.c: Likewise.
28775 * locale/programs/xmalloc.c: Likewise.
28776 * misc/syslog.c: Likewise.
28777 * stdio-common/xbug.c: Likewise.
28778 * string/memchr.c: Likewise.
28779 * string/memcmp.c: Likewise.
28780 * string/memrchr.c: Likewise.
28781 * string/rawmemchr.c: Likewise.
28782 * sysdeps/posix/getcwd.c: Likewise.
28783 * time/strftime_l.c: Likewise.
28784
3b100462
JM
287852012-01-30 Joseph Myers <joseph@codesourcery.com>
28786
28787 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28788 * config.make.in (config-cflags-sse2avx): Define.
28789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28790 Fix typo.
28791
607998af
CM
287922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28793
28794 * scripts/config.guess: Update from upstream config git repository.
28795 * scripts/config.sub: Likewise.
28796
3601428f
CM
287972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28798
3ac8b282
CM
28799 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28800 (EM_NUM): Update.
28801 (R_TILEPRO_*, R_TILEGX_*): New macros.
28802
e034841e
CM
28803 * scripts/firstversions.awk: Fix bug in version range handling.
28804
540d7568
CM
28805 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28806
3601428f
CM
28807 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28808
463de862
CM
28809 * include/sys/epoll.h: New file.
28810 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28811 libc_hidden_def.
28812
73139a76
UD
288132012-01-28 Ulrich Drepper <drepper@gmail.com>
28814
96bc5b45
UD
28815 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28816 Avoid unnecessary __WORDSIZE == 64 test.
28817 (fmaxf): Use VEX format if possible.
28818 (fmax): Likewise.
28819 (fminf): Likewise.
28820 (fmin): Likewise.
28821
56f6f6a2
UD
28822 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28823 * math/math_private.h: Remove libc_fegetround* and
28824 libc_fesetround*.
28825 * sysdeps/i386/configure.in: Check for -msse2avx.
28826 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28827 also if SSE2AVX is defined.
28828 Remove libc_fegetround* and libc_fesetround*.
28829 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28830 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28832 of HAS_YMM_USABLE.
28833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28838
73139a76
UD
28839 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28840
d73f93a4
AZ
288412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28842
28843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28844 size is not set.
28845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28846
6ee65ed6
UD
288472012-01-27 Ulrich Drepper <drepper@gmail.com>
28848
28849 [BZ #13618]
28850 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28851 relocation.
28852 * Makeconfig (libm): Define.
28853 * elf/Makefile: Add rules to build and run tst-relsort1.
28854 * elf/tst-relsort1.c: New file.
28855 * elf/tst-relsort1mod1.c: New file.
28856 * elf/tst-relsort1mod2.c: New file.
28857
8db21882
JM
288582012-01-27 Joseph Myers <joseph@codesourcery.com>
28859
28860 * math/s_ldexp.c: Remove __STDC__ conditionals.
28861 * math/s_ldexpf.c: Likewise.
28862 * math/s_ldexpl.c: Likewise.
28863 * math/s_nextafter.c: Likewise.
28864 * math/s_nexttowardf.c: Likewise.
28865 * math/s_significand.c: Likewise.
28866 * math/s_significandf.c: Likewise.
28867 * math/s_significandl.c: Likewise.
28868 * math/w_jnl.c: Likewise.
28869 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28870 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28871 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28872 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28873 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28909 * sysdeps/ieee754/k_standard.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28989 * sysdeps/ieee754/s_matherr.c: Likewise.
28990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28994
965a54a4
JM
289952012-01-26 Joseph Myers <joseph@codesourcery.com>
28996
28997 * crypt/md5.h: Remove __STDC__ conditionals.
28998 * libio/libioP.h: Likewise.
28999 * locale/programs/config.h: Likewise.
29000 * sysdeps/generic/sysdep.h: Likewise.
29001 * sysdeps/i386/asm-syntax.h: Likewise.
29002 * sysdeps/s390/asm-syntax.h: Likewise.
29003 * sysdeps/unix/sysdep.h: Likewise.
29004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29006
7071ad79
JM
290072012-01-26 Joseph Myers <joseph@codesourcery.com>
29008
29009 * libio/libio.h: Remove __STDC__ conditionals.
29010 * malloc/obstack.h: Likewise.
29011 * math/complex.h: Likewise.
29012 * math/math.h: Likewise.
29013 * sysdeps/generic/_G_config.h: Likewise.
29014 * sysdeps/gnu/_G_config.h: Likewise.
29015 * sysdeps/mach/hurd/_G_config.h: Likewise.
29016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29018 * sysdeps/sparc/bits/mathdef.h: Likewise.
29019
afc5ed09
UD
290202012-01-26 Ulrich Drepper <drepper@gmail.com>
29021
29022 [BZ #13583]
29023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29024 Clean up HAS_* macros.
afc5ed09 29025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29026 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29027 possible.
29028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29029 HAS_AVX.
29030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29035
bdb6de1d
JM
290362012-01-25 Joseph Myers <joseph@codesourcery.com>
29037
29038 * elf/tst-unique3.cc (gets): Remove declaration.
29039 * elf/tst-unique3lib.cc (gets): Likewise.
29040 * elf/tst-unique3lib2.cc (gets): Likewise.
29041 * elf/tst-unique4.cc (gets): Likewise.
29042
b15549e6
UD
290432012-01-24 Ulrich Drepper <drepper@gmail.com>
29044
29045 * include/stdio.h: Add C++ protection. Add gets declarations and
29046 definitions.
29047 * debug/tst-chk1.c: Don't declare gets here.
29048 * stdio-common/tst-gets.c: Likewise.
29049
a037381f
JM
290502012-01-24 Joseph Myers <joseph@codesourcery.com>
29051
29052 * posix/glob: Remove directory.
29053
f1d4aa75
JM
290542012-01-24 Joseph Myers <joseph@codesourcery.com>
29055
29056 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29057
81c0c964
PT
290582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29059
29060 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29061 of the non-standard EPFNOSUPPORT.
29062
0ea698ae
ST
290632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29064
29065 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29066 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29067 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29068
d220b117
UD
290692012-01-21 Ulrich Drepper <drepper@gmail.com>
29070
29071 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29072
3e1aa84e
UD
290732012-01-20 Ulrich Drepper <drepper@gmail.com>
29074
29075 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29076 transient errors.
29077 * nscd/grpcache.c (cache_addgr): Likewise.
29078 * nscd/hstcache.c (cache_addhst): Likewise.
29079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29080 * nscd/pwdcache.c (cache_addpw): Likewise.
29081 * nscd/servicescache.c (cache_addserv): Likewise.
29082
400aa020
UD
290832012-01-16 Ulrich Drepper <drepper@gmail.com>
29084
d77e7869
UD
29085 * malloc/malloc.c: Various cleanups.
29086 * malloc/hooks.c: Likewise.
29087
400aa020
UD
29088 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29089 * stdlib/bug-fmtmsg1.c: New file.
29090
29091 * stdlib/fmtmsg.c (init): Add missing unlock.
29092 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29093
e0a309cf
MP
290942012-01-12 Marek Polacek <polacek@redhat.com>
29095
29096 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29097 and _GNU_SOURCE.
29098
929d11c7
WS
290992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29100
29101 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29103 macro to ensure uniqueness of label name.
29104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29106
41d0e869
UD
291072012-01-11 Ulrich Drepper <drepper@gmail.com>
29108
0cc5ed3b
UD
29109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29110
41d0e869
UD
29111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29115
a47a831a
UD
291162012-01-10 Ulrich Drepper <drepper@gmail.com>
29117
daa891c0
UD
29118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29119
29120 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29123
e58ef0f2
UD
29124 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29125
a47a831a 29126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29127 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29130
29131 * math/bits/math-finite.h: Add ldexp support.
29132
a0bfc9c7
MP
291332012-01-10 Marek Polacek <polacek@redhat.com>
29134
29135 * locale/programs/localedef.h (show_archive_content): Add noreturn
29136 attribute.
29137
d6e97a1d
UD
291382012-01-09 Ulrich Drepper <drepper@gmail.com>
29139
29140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29141
d5835c26
UD
291422012-01-08 Ulrich Drepper <drepper@gmail.com>
29143
e5f484c6
UD
29144 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29145
d5835c26
UD
29146 * io/Makefile (headers): Add bits/poll2.h.
29147
d1f741e9
WS
291482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29149
29150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29151 typo #include statement.
29152
ec09c1c4
UD
291532012-01-08 Ulrich Drepper <drepper@gmail.com>
29154
29155 * include/sys/cdefs.h: Define __attribute_alloc_size.
29156 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29157 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29158 * elf/pldd.c: Likewise.
29159 * iconv/iconv_charmap.c: Likewise.
29160 * iconv/iconvconfig.c: Likewise.
29161 * iconv/strtab.c: Likewise.
29162 * locale/programs/locale.c: Likewise.
29163 * locale/programs/localedef.h: Likewise.
29164 * locale/programs/simple-hash.c: Likewise.
29165 * nscd/nscd.h: Likewise.
29166 * nss/makedb.c: Likewise.
29167 * sysdeps/generic/ldconfig.h: Likewise.
29168 * locale/programs/localedef.c: Remove xmalloc prototype.
29169 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29170
20b38e03
PP
291712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29172
29173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29174 appropriate.
29175
a0da5fe1
UD
291762012-01-08 Ulrich Drepper <drepper@gmail.com>
29177
1d5a644a 29178 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29179 * math/tst-CMPLX.c: New file.
1d5a644a 29180
8784a6db
UD
29181 * math/complex.h (CMPLXL): Fix typo.
29182
d9a216c0
UD
29183 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29184 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29185 GLIBC_2.16.
29186 * debug/tst-chk1.c: Add poll and ppoll tests.
29187 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29188 * include/sys/poll.h: Add hidden proto for ppoll.
29189 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29190 * sysdeps/mach/hurd/ppoll.c: Likewise.
29191 * io/ppoll.c: Likewise.
29192 * debug/poll_chk.c: New file.
29193 * debug/ppoll_chk.c: New file.
29194 * include/bits/poll2.h: New file.
29195 * io/bits/poll2.h: New file.
29196
ac097f5c
UD
29197 [BZ #1350]
29198 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29199
2119dcfa
UD
29200 * configure.in: static is always set to yes. Remove.
29201 * config.make.in: Don't set build-static.
29202 * Makeconfig: Remove use of build-static.
29203 * dlfcn/Makefile: Likewise.
29204 * elf/Makefile: Likewise.
29205 * math/Makefile: Likewise.
29206 * misc/Makefile: Likewise.
29207 * nptl/Makefile: Likewise.
29208 * sysdeps/mach/hurd/Makefile: Likewise.
29209
121766a9
UD
29210 * configure.in: PWD_P is not used anymore.
29211 * config.make.in: Remove PWD_P entry.
29212
51a1d39c 29213 * configure.in: Remove last remnants of RANLIB.
8720d066 29214 No need to check for signed size_t anymore.
215f4bdc
UD
29215 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29216 and IA-64.
3857022a 29217 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29218 * aclocal.m4: Likewise.
29219
d3ed7225
UD
29220 * wcsmbs/mbrtoc16.c: Implement using towc function.
29221 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29222 * wcsmbs/wcsmbsload.c: Likewise.
29223 * iconv/gconv_simple.c: Likewise.
29224 * iconv/gconv_int.h: Likewise.
29225 * iconv/gconv_builtin.h: Likewise.
29226 * iconv/iconv_prog.c: Remove CHAR16 handling.
29227
29228 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29229
29230 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29231
a0da5fe1
UD
29232 * configure.in: Remove --with-elf and --enable-bounded options.
29233 Dont set base_machine for ia64. More non-ELF conditions removed.
29234 Remove testing and setting of leading underscore information.
29235 * config.make.in (build-bounded): Set to no.
29236 * config.h.in: Remove NO_UNDERSCORES entry.
29237 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29238 them.
29239 * csu/start.c: Remove !NO_UNDERSCORE code.
29240 * locale/localeinfo.h: Likewise.
29241 * sysdeps/generic/machine-gmon.h: Likewise.
29242 * sysdeps/generic/sysdep.h: Likewise.
29243 * sysdeps/i386/sysdep.h: Likewise.
29244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29245 * sysdeps/mach/sysdep.h: Likewise.
29246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29248 * sysdeps/sh/sysdep.h: Likewise.
29249 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29250 * sysdeps/unix/i386/sysdep.S: Likewise.
29251 * sysdeps/unix/sparc/start.c: Likewise.
29252 * sysdeps/unix/sparc/sysdep.S: Likewise.
29253 * sysdeps/unix/sparc/sysdep.h: Likewise.
29254 * sysdeps/unix/start.c: Likewise.
29255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29256 * sysdeps/x86_64/sysdep.h: Likewise.
29257
df78418a
UD
292582012-01-07 Ulrich Drepper <drepper@gmail.com>
29259
a784e502
UD
29260 [BZ #13553]
29261 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29262 for non-gcc.
29263 * argp/argp-fmtstream.h: Use const instead __const.
29264 * argp/argp.h: Likewise.
29265 * assert/assert.h: Likewise.
29266 * bits/fenv.h: Likewise.
29267 * bits/sched.h: Likewise.
29268 * bits/sigset.h: Likewise.
29269 * bits/sigthread.h: Likewise.
29270 * catgets/nl_types.h: Likewise.
29271 * conform/data/pthread.h-data: Likewise.
29272 * crypt/crypt-private.h: Likewise.
29273 * crypt/crypt.h: Likewise.
29274 * crypt/crypt_util.c: Likewise.
29275 * ctype/ctype.h: Likewise.
29276 * debug/execinfo.h: Likewise.
29277 * debug/mbsnrtowcs_chk.c: Likewise.
29278 * debug/mbsrtowcs_chk.c: Likewise.
29279 * debug/wcsnrtombs_chk.c: Likewise.
29280 * debug/wcsrtombs_chk.c: Likewise.
29281 * debug/wcstombs_chk.c: Likewise.
29282 * dirent/dirent.h: Likewise.
29283 * dlfcn/dlfcn.h: Likewise.
29284 * elf/neededtest4.c: Likewise.
29285 * grp/grp.h: Likewise.
29286 * gshadow/gshadow.h: Likewise.
29287 * iconv/gconv.h: Likewise.
29288 * iconv/gconv_int.h: Likewise.
29289 * iconv/gconv_simple.c: Likewise.
29290 * iconv/iconv.h: Likewise.
29291 * iconv/loop.c: Likewise.
29292 * iconv/skeleton.c: Likewise.
29293 * include/aio.h: Likewise.
29294 * include/aliases.h: Likewise.
29295 * include/argz.h: Likewise.
29296 * include/arpa/inet.h: Likewise.
29297 * include/assert.h: Likewise.
29298 * include/dirent.h: Likewise.
29299 * include/dlfcn.h: Likewise.
29300 * include/execinfo.h: Likewise.
29301 * include/fcntl.h: Likewise.
29302 * include/fenv.h: Likewise.
29303 * include/glob.h: Likewise.
29304 * include/grp.h: Likewise.
29305 * include/libintl.h: Likewise.
29306 * include/mntent.h: Likewise.
29307 * include/netdb.h: Likewise.
29308 * include/pwd.h: Likewise.
29309 * include/rpc/netdb.h: Likewise.
29310 * include/sched.h: Likewise.
29311 * include/search.h: Likewise.
29312 * include/shadow.h: Likewise.
29313 * include/signal.h: Likewise.
29314 * include/stdio.h: Likewise.
29315 * include/stdlib.h: Likewise.
29316 * include/string.h: Likewise.
29317 * include/sys/socket.h: Likewise.
29318 * include/sys/stat.h: Likewise.
29319 * include/sys/statfs.h: Likewise.
29320 * include/sys/statvfs.h: Likewise.
29321 * include/sys/syslog.h: Likewise.
29322 * include/sys/time.h: Likewise.
29323 * include/sys/uio.h: Likewise.
29324 * include/time.h: Likewise.
29325 * include/unistd.h: Likewise.
29326 * include/utmp.h: Likewise.
29327 * include/wchar.h: Likewise.
29328 * include/wctype.h: Likewise.
29329 * inet/aliases.h: Likewise.
29330 * inet/arpa/inet.h: Likewise.
29331 * inet/netinet/ether.h: Likewise.
29332 * inet/netinet/in.h: Likewise.
29333 * intl/libintl.h: Likewise.
29334 * io/bits/fcntl2.h: Likewise.
29335 * io/fcntl.h: Likewise.
29336 * io/ftw.h: Likewise.
29337 * io/sys/poll.h: Likewise.
29338 * io/sys/stat.h: Likewise.
29339 * io/sys/statfs.h: Likewise.
29340 * io/sys/statvfs.h: Likewise.
29341 * io/utime.h: Likewise.
29342 * libio/bits/stdio.h: Likewise.
29343 * libio/bits/stdio2.h: Likewise.
29344 * libio/libio.h: Likewise.
29345 * libio/libioP.h: Likewise.
29346 * libio/stdio.h: Likewise.
29347 * locale/lc-ctype.c: Likewise.
29348 * locale/locale.h: Likewise.
29349 * login/utmp.h: Likewise.
29350 * malloc/arena.c: Likewise.
29351 * malloc/malloc.c: Likewise.
29352 * malloc/malloc.h: Likewise.
29353 * malloc/mcheck.c: Likewise.
29354 * malloc/mtrace.c: Likewise.
29355 * math/bits/mathcalls.h: Likewise.
29356 * math/fenv.h: Likewise.
29357 * math/math_private.h: Likewise.
29358 * misc/bits/error.h: Likewise.
29359 * misc/bits/syslog.h: Likewise.
29360 * misc/err.h: Likewise.
29361 * misc/error.h: Likewise.
29362 * misc/fstab.h: Likewise.
29363 * misc/mntent.h: Likewise.
29364 * misc/regexp.h: Likewise.
29365 * misc/search.h: Likewise.
29366 * misc/sgtty.h: Likewise.
29367 * misc/sys/mman.h: Likewise.
29368 * misc/sys/syslog.h: Likewise.
29369 * misc/sys/uio.h: Likewise.
29370 * misc/sys/xattr.h: Likewise.
29371 * misc/ttyent.h: Likewise.
29372 * nis/rpcsvc/ypclnt.h: Likewise.
29373 * nss/nss.h: Likewise.
29374 * posix/bits/unistd.h: Likewise.
29375 * posix/fnmatch.h: Likewise.
29376 * posix/glob.h: Likewise.
29377 * posix/sched.h: Likewise.
29378 * posix/spawn.h: Likewise.
29379 * posix/sys/wait.h: Likewise.
29380 * posix/unistd.h: Likewise.
29381 * posix/wordexp.h: Likewise.
29382 * pwd/pwd.h: Likewise.
29383 * resolv/netdb.h: Likewise.
29384 * resource/sys/resource.h: Likewise.
29385 * rt/aio.h: Likewise.
29386 * rt/bits/mqueue2.h: Likewise.
29387 * rt/mqueue.h: Likewise.
29388 * shadow/shadow.h: Likewise.
29389 * signal/signal.h: Likewise.
29390 * socket/send.c: Likewise.
29391 * socket/sendto.c: Likewise.
29392 * socket/sys/socket.h: Likewise.
29393 * stdio-common/printf.h: Likewise.
29394 * stdlib/bits/stdlib.h: Likewise.
29395 * stdlib/fmtmsg.h: Likewise.
29396 * stdlib/monetary.h: Likewise.
29397 * stdlib/stdlib.h: Likewise.
29398 * stdlib/ucontext.h: Likewise.
29399 * streams/stropts.h: Likewise.
29400 * string/argz.h: Likewise.
29401 * string/bits/string2.h: Likewise.
29402 * string/string.h: Likewise.
29403 * string/strings.h: Likewise.
29404 * sunrpc/rpc/auth.h: Likewise.
29405 * sunrpc/rpc/auth_des.h: Likewise.
29406 * sunrpc/rpc/clnt.h: Likewise.
29407 * sunrpc/rpc/netdb.h: Likewise.
29408 * sunrpc/rpc/pmap_clnt.h: Likewise.
29409 * sunrpc/rpc/xdr.h: Likewise.
29410 * sysdeps/generic/inttypes.h: Likewise.
29411 * sysdeps/generic/net/if.h: Likewise.
29412 * sysdeps/generic/sys/swap.h: Likewise.
29413 * sysdeps/gnu/net/if.h: Likewise.
29414 * sysdeps/gnu/utmpx.h: Likewise.
29415 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29416 * sysdeps/i386/i486/bits/string.h: Likewise.
29417 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29418 * sysdeps/s390/bits/string.h: Likewise.
29419 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29420 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29421 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29422 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29423 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29424 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29425 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29426 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29427 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29428 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29429 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29430 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29431 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29433 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29441 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29442 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29443 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29444 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29447 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29449 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29450 * sysvipc/sys/ipc.h: Likewise.
29451 * sysvipc/sys/msg.h: Likewise.
29452 * sysvipc/sys/sem.h: Likewise.
29453 * sysvipc/sys/shm.h: Likewise.
29454 * termios/termios.h: Likewise.
29455 * time/sys/time.h: Likewise.
29456 * time/time.h: Likewise.
29457 * wcsmbs/bits/wchar2.h: Likewise.
29458 * wcsmbs/uchar.h: Likewise.
29459 * wcsmbs/wchar.h: Likewise.
29460 * wctype/wctype.h: Likewise.
29461
0269750c
UD
29462 [BZ #13551]
29463 * Makeconfig: Remove all but ELF support including AIX support.
29464 * Makerules: Likewise.
29465 * config.h.in: Likewise.
29466 * config.make.in: Likewise.
29467 * configure: Likewise.
29468 * configure.in: Likewise.
29469 * csu/Makefile: Likewise.
29470 * csu/version.c: Likewise.
29471 * debug/Makefile: Likewise.
29472 * dlfcn/Makefile: Likewise.
29473 * elf/Makefile: Likewise.
29474 * extra-lib.mk: Likewise.
29475 * iconv/Makefile: Likewise.
29476 * include/libc-symbols.h: Likewise.
29477 * include/shlib-compat.h: Likewise.
29478 * resolv/Makefile: Likewise.
29479 * resolv/res_libc.c: Likewise.
29480 * rt/Makefile: Likewise.
29481 * sysdeps/i386/asm-syntax.h: Likewise.
29482 * sysdeps/i386/sysdep.h: Likewise.
29483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29484 * sysdeps/mach/sysdep.h: Likewise.
29485 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29486 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29487 * sysdeps/s390/asm-syntax.h: Likewise.
29488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29490 * sysdeps/sh/sysdep.h: Likewise.
29491 * sysdeps/unix/sparc/sysdep.h: Likewise.
29492 * sysdeps/wordsize-32/divdi3.c: Likewise.
29493 * sysdeps/x86_64/sysdep.h: Likewise.
29494
00bbd29b
UD
29495 * argp/Versions: Remove _argp_unlock_xxx.
29496
29497 [BZ #13559]
29498 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29499 * abilist/libBrokenLocale.abilist: Likewise.
29500 * abilist/libanl.abilist: Likewise.
29501 * abilist/libc.abilist: Likewise.
29502 * abilist/libcrypt.abilist: Likewise.
29503 * abilist/libdl.abilist: Likewise.
29504 * abilist/libm.abilist: Likewise.
29505 * abilist/libnsl.abilist: Likewise.
29506 * abilist/libpthread.abilist: Likewise.
29507 * abilist/libresolv.abilist: Likewise.
29508 * abilist/librt.abilist: Likewise.
29509 * abilist/libthread_db.abilist: Likewise.
29510 * abilist/libutil.abilist: Likewise.
29511 * abilist/libnss_db.abilist: New file.
29512
29513 * scripts/abilist.awk: Add support for indirect functions.
29514
a2693a0e
UD
29515 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29516
3f05895f
UD
29517 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29518
ecb6fb48
UD
29519 * shlib-versions: Remove entries for ports architectures.
29520
664f8cb9
UD
29521 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29522 files in ports.
29523 * elf/stackguard-macros.h: Remove support for IA-64.
29524 * elf/tst-auditmod1.c: Likewise.
29525 * sysdeps/generic/ldsodefs.h: Likewise.
29526
7ae81d88
UD
29527 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29528 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29529 configure files.
29530
bdeba135
UD
29531 [BZ #13552]
29532 * configure.in: Remove --enable-omitfp support.
29533 * FAQ.in: Adjust.
29534 * config.make.in: Likewise.
29535 * Makeconfig: Likewise.
29536 * manual/install.texi: Likewise.
29537
d75a0a62
UD
29538 In case anyone cares, the IA-64 architecture could move to ports.
29539 * sysdeps/ia64/*: Removed.
29540 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29541 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29542
dcc9756b
UD
29543 [BZ #13555]
29544 * configure.in: Remove entries for unsupported architectures.
29545
d3761ebc 29546 [BZ #13533]
9954432e
UD
29547 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29548 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29549 routines.
29550 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29551 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29552 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29553 fall back to using wcrtomb.
29554 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29555 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29556 renaming.
29557 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29558 * wcsmbs/tst-c16c32-1.c: New file.
29559
29560 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29561 local variable.
29562
c3a87236
UD
29563 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29564
28926a1b
UD
29565 * elf/tst-unique3.cc: Add explicit declaration of gets.
29566 * elf/tst-unique3lib.cc: Likewise.
29567 * elf/tst-unique3lib2.cc: Likewise.
29568 * elf/tst-unique4.cc: Likewise.
29569
df78418a
UD
29570 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29571
8ecd6b2a
JM
295722012-01-06 Joseph Myers <joseph@codesourcery.com>
29573
29574 [BZ #13566]
29575 * assert/assert.h (static_assert): Don't define for C++.
29576 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29577 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29578
9f115170
UD
295792012-01-03 Ulrich Drepper <drepper@gmail.com>
29580
5e0d0300
UD
29581 * iconv/loop.c (single loop): Fix assertion in storing of
29582 remaining bytes.
29583
9f115170
UD
29584 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29585
81fb02b0
UD
295862012-01-01 Ulrich Drepper <drepper@gmail.com>
29587
29588 * posix/getconf.c: Update copyright year.
29589 * nss/getent.c: Likewise.
a316c1f6 29590 * nss/makedb.c: Likewise.
81fb02b0
UD
29591 * iconv/iconvconfig.c: Likewise.
29592 * iconv/iconv_prog.c: Likewise.
29593 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29594 * elf/pldd.c: Likewise.
29595 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29596 * catgets/gencat.c: Likewise.
29597 * csu/version.c: Likewise.
29598 * elf/ldd.bash.in: Likewise.
29599 * elf/sprof.c (print_version): Likewise.
29600 * locale/programs/locale.c: Likewise.
29601 * locale/programs/localedef.c: Likewise.
a316c1f6 29602 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29603 * nscd/nscd.c (print_version): Likewise.
29604 * debug/xtrace.sh: Likewise.
29605 * malloc/memusage.sh: Likewise.
29606 * malloc/mtrace.pl: Likewise.
29607 * debug/catchsegv.sh: Likewise.
29608
2ba92745
JJ
296092011-12-30 Jakub Jelinek <jakub@redhat.com>
29610
29611 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29612 pure attribute.
29613
dadebdae
UD
296142011-12-24 Ulrich Drepper <drepper@gmail.com>
29615
d3761ebc 29616 [BZ #13533]
db6af3eb
UD
29617 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29618 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29619 transformations.
29620 * iconv/gconv_int.h: Likewise.
29621 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29622 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29623 from libc for GLIBC_2.16.
29624 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29625 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29626 * wcsmbs/uchar.h: Really define mbstate_t.
29627 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29628 * wcsmbs/c16rtomb.c: New file.
29629 * wcsmbs/mbrtoc16.c: New file.
29630 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29631 for C/POSIX locale.
29632 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29633 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29634
dadebdae
UD
29635 * wcsmbs/wchar.h: Add missing __restrict.
29636
67371b56
UD
296372011-12-23 Ulrich Drepper <drepper@gmail.com>
29638
74033a25
UD
29639 [BZ #13532]
29640 * time/Makefile (routines): Add timespec_get.
29641 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29642 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29643 timespec for ISO C11.
29644 * time/timespec_get.c: New file.
29645 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29646 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29647
380d7e87
UD
29648 [BZ #13531]
29649 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29650 * stdlib/stdlib.h: Declare aligned_alloc.
29651 * Versions.def: Add GLIBC_2.16 for libc.
29652 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29653
4e9e7a35
UD
29654 [BZ 13527]
29655 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29656 ISO C11.
29657
380d7e87 29658 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29659 code.
29660
03a71829
UD
29661 [BZ #13528]
29662 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29663
839e283e
UD
29664 [BZ #13529]
29665 * assert/assert.h (static_assert): Define.
29666
ce5294e2 29667 * version.h: Update for 2.16 development version.
90fa7312 29668
8d44e150 29669 [BZ #13526]
d7809905
UD
29670 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29671 _ISOC11_SOURCE.
29672
c0da14cd
UD
29673 * version.h (RELEASE): Bump for 2.15 release.
29674 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29675
530a3249
MP
29676 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29677 Patch by Marek Polacek <mpolacek@redhat.com>.
29678
67371b56
UD
29679 * bits/byteswap.h: Protect long long constants with __extension__.
29680 * sysdeps/i386/bits/byteswap.h: Likewise.
29681 * sysdeps/ia64/bits/byteswap.h: Likewise.
29682 * sysdeps/s390/bits/byteswap.h: Likewise.
29683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29684
15db4de1
LD
296852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29686
29687 [BZ #13540]
bbe315ea
LD
29688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29689 destination buffer.
15db4de1
LD
29690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29691
2b2596b1
MP
296922011-12-23 Marek Polacek <polacek@redhat.com>
29693
29694 * elf/dl-addr.c (determine_info): Add inline keyword.
29695 * elf/tst-auditmod4b.c (check_avx): Likewise.
29696 * elf/tst-auditmod6b.c (check_avx): Likewise.
29697 * elf/tst-auditmod6c.c (check_avx): Likewise.
29698 * elf/tst-auditmod7b.c (check_avx): Likewise.
29699
70c6c246
UD
297002011-12-23 Ulrich Drepper <drepper@gmail.com>
29701
29702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29703 !__SSE_MATH__.
29704
c044cf14
LD
297052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29706
15db4de1 29707 [BZ #13540]
c044cf14
LD
29708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29709 processing for last bytes.
29710
6b13d9d9
BH
297112011-08-06 Bruno Haible <bruno@clisp.org>
29712
d455f537
BH
29713 [BZ #13061]
29714 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29715 U+0385, not to U+1FEE.
29716
6b13d9d9
BH
29717 [BZ #13062]
29718 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29719 entry for U+00A5 U+0301.
29720
db910efd
UD
297212011-12-22 Ulrich Drepper <drepper@gmail.com>
29722
27deeafc
UD
29723 [BZ #13166]
29724 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29725 buffer for the output is too small.
29726
aed9d171
UD
29727 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29728 optimization.
29729
db910efd
UD
29730 [BZ #13185]
29731 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29732 SSE flags if possible.
29733
2bd779ae
LD
297342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29735
e7f9dac3 29736 [BZ #13540]
2bd779ae
LD
29737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29738 processing for last bytes.
29739
154bfc16
JM
297402011-12-22 Joseph Myers <joseph@codesourcery.com>
29741
29742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29743 (syscall-list-default-options, syscall-list-default-condition)
29744 (syscall-list-includes): Define.
29745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29746 list of ABIs and options and #if conditions for each ABI. Do not
29747 handle common syscalls between ABIs specially.
29748 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29749 Remove.
29750 (syscall-list-variants, syscall-list-32bit-options)
29751 (syscall-list-32bit-condition, syscall-list-64bit-options)
29752 (syscall-list-64bit-condition): Define.
29753 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29754 (syscall-list-variants, syscall-list-32bit-options)
29755 (syscall-list-32bit-condition, syscall-list-64bit-options)
29756 (syscall-list-64bit-condition): Define.
29757 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29758 Remove.
29759 (syscall-list-variants, syscall-list-32bit-options)
29760 (syscall-list-32bit-condition, syscall-list-64bit-options)
29761 (syscall-list-64bit-condition): Define.
29762 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29763 Remove.
29764 (syscall-list-variants, syscall-list-32bit-options)
29765 (syscall-list-32bit-condition, syscall-list-64bit-options)
29766 (syscall-list-64bit-condition): Define.
29767
21eaf3a5
UD
297682011-12-22 Ulrich Drepper <drepper@gmail.com>
29769
16c6f992
UD
29770 * locale/iso-639.def: Add brx entry.
29771
41043168
UD
29772 [BZ #13328]
29773 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29774 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29775
21eaf3a5
UD
29776 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29777 __feraiseexcept_renamed.
29778
e3a851a2
UD
297792011-12-21 Ulrich Drepper <drepper@gmail.com>
29780
4920765e
UD
29781 [BZ #13538]
29782 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29783 EPOLLET with unsigned values.
29784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29786
e3a851a2
UD
29787 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29788 to large cancellation.
29789 * math/s_cacoshf.c: Likewise.
29790 * math/s_cacoshl.c: Likewise.
29791
b27e24b8
RK
297922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29793
29794 [BZ #13305]
aebefeee 29795 [BZ #12786]
b27e24b8
RK
29796 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29797 * math/s_cacoshf.c: Likewise.
29798 * math/s_cacoshl.c: Likewise.
29799
ee190f67
UD
298002011-12-21 Ulrich Drepper <drepper@gmail.com>
29801
29802 [BZ #13439]
29803 * iconv/gconv.h: Define __GCONV_SWAP.
29804 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29805 * iconvdata/utf-16.c: Likewise.
29806 * iconvdata/utf-32.c: Likewise.
29807
707f25df
AS
298082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29809
29810 [BZ #13524]
29811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29812 numerator after shifting it by one limb.
29813
d2daaa1e
RÁE
298142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29815
29816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29817 under [__USE_EXTERN_INLINES].
29818
a4647e72
UD
298192011-12-17 Ulrich Drepper <drepper@gmail.com>
29820
29821 [BZ #13446]
29822 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29823
f0b264f1
AZ
298242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29825
29826 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29827 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29828 optimized code.
29829 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29831 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29832 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29833 for strncasecmp/strncasecmp_l compilation.
29834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29835 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29836
8ef4f244
MP
298372011-12-08 Marek Polacek <mpolacek@redhat.com>
29838
29839 [BZ #13484]
29840 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29841 of __asm__.
29842
97ac2654
UD
298432011-12-17 Ulrich Drepper <drepper@gmail.com>
29844
29845 [BZ #13506]
29846 * time/tzfile.c (__tzfile_read): Check values from file header.
29847
91d2a845
WS
298482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29849
29850 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29851 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29852 * powerpc/powerpc32/dl-start.S: Likewise.
29853 * powerpc/powerpc32/elf/start.S: Likewise.
29854 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29855 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29856 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29857 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29858 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29859 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29860 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29861 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29862 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29863 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29864 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29865 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29866 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29867 * powerpc/powerpc32/memset.S: Likewise.
29868 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29869 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29870 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29871 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29872 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29873 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29874 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29875 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29876 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29877 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29881
a1267ba1
AZ
298822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883
29884 * math/libm-test.inc: Added more nearbyint tests.
29885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29889
ad8ac1bd
RL
298902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29891
29892 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29893 FD_CLOEXEC.
29894
1d3e4b61
UD
298952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29896
29897 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29898 Add wcscpy-ssse3 wcscpy-c.
29899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29900 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29901 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29902 * sysdeps/x86_64/wcschr.S: New file.
29903 * sysdeps/x86_64/wcsrchr.S: New file.
29904 * string/test-strcmp.c: Remove checking of wcscmp function for
29905 wrong alignments.
29906 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29907 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29908 wcsrchr-sse2 wcsrchr-c.
29909 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29910 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29911 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29912 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29913 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29914 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29915 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29916 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29918 * wcsmbc/wcschr.c (WCSCHR): New macro.
29919
5b330a2d
UD
299202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29921
29922 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29923 * wcsmbs/test-wcsrchr.c: New file.
29924 * string/test-strrchr.c: Add wcsrchr support.
29925 (WIDE): New macro.
29926 * wcsmbs/test-wcscpy.c: New file.
29927 * string/test-strcpy.c: Add wcscpy support.
29928 (WIDE): New macro.
26428b7c 29929
f039c043
UD
299302011-12-10 Ulrich Drepper <drepper@gmail.com>
29931
29932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29933 the inner loop.
29934
850fb039
AS
299352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29936
29937 [BZ #13472]
29938 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29939
4efbd5cb
UD
299402011-12-04 Ulrich Drepper <drepper@gmail.com>
29941
52ff5dd0 29942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29943 Minor optimizations.
52ff5dd0 29944
4efbd5cb
UD
29945 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29946 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29948
8a426e12
UD
299492011-12-03 Ulrich Drepper <drepper@gmail.com>
29950
aff2453d
UD
29951 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29952 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29953 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29954 for gcc to avoid warnings.
29955 * inet/Makefile (tests): Add tst-checks.
29956 * inet/tst-checks.c: New file.
29957
29958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29959 warning.
29960
29961 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29962 __wmemcmp_sse2.
29963
29964 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29965 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29966
8a426e12
UD
29967 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29968
9bea3473
UD
299692011-12-02 Ulrich Drepper <drepper@gmail.com>
29970
3a965496
UD
29971 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29972 problem.
29973
9bea3473
UD
29974 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29975
f101631b
UD
299762011-11-29 Joseph Myers <joseph@codesourcery.com>
29977
29978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29979 conditional on GCC version.
29980 (__arch_compare_and_exchange_val_8_acq)
29981 (__arch_compare_and_exchange_val_16_acq)
29982 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29983 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29984 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29985
a98275aa
UD
299862011-12-02 Joseph Myers <joseph@codesourcery.com>
29987
29988 * sysdeps/sh/backtrace.c: New file.
29989
d4cc29a2
AS
299902011-12-02 Andreas Schwab <schwab@redhat.com>
29991
29992 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29993 parenthesis.
29994
6257af2d
AS
299952011-12-01 Andreas Schwab <schwab@redhat.com>
29996
29997 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29998 falling back to utime.
29999
b5f44c1a
AS
300002011-11-30 Andreas Schwab <schwab@redhat.com>
30001
30002 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30003 expectations for float.
30004
f3a6cc0a
AS
300052011-11-29 Andreas Schwab <schwab@redhat.com>
30006
30007 * locale/weight.h (findidx): Add parameter len.
30008 * locale/weightwc.h (findidx): Likewise.
30009 * posix/fnmatch_loop.c (FCT): Adjust caller.
30010 * posix/regcomp.c (build_equiv_class): Likewise.
30011 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30012 * posix/regexec.c (check_node_accept_bytes): Likewise.
30013 * string/strcoll_l.c (STRCOLL): Likewise.
30014 * string/strxfrm_l.c (STRXFRM): Likewise.
30015
9d65ea3a
UD
300162011-11-17 Ulrich Drepper <drepper@gmail.com>
30017
30018 * Makefile.in: Remove CVSOPT handling.
30019 * configure.in: Remove use of AC_REVISION.
30020 * iconvdata/Makefile (distribute): No need to filter out CVS.
30021 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30022 handling.
30023
5583a086
AS
300242011-11-16 Andreas Schwab <schwab@redhat.com>
30025
30026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30027 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30028 [USE_AS_STRNCASECMP_L]: Likewise.
30029 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30030 NO_TLS_DIRECT_SEG_REFS.
30031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30032 Fix argument offsets for non-PIC.
30033 [USE_AS_STRNCASECMP_L]: Likewise.
30034 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30035 NO_TLS_DIRECT_SEG_REFS.
30036
d62a8200
UD
300372011-11-15 Ulrich Drepper <drepper@gmail.com>
30038
9d65ea3a 30039 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30040 O_CLOEXEC.
30041 * locale/loadlocale.c (_nl_load_locale): Likewise.
30042
09f93bd3
AS
300432011-11-15 Andreas Schwab <schwab@redhat.com>
30044
446514f9
AS
30045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30046 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30048 (SYSCALL_GETTIME): Set errno on error.
30049
09f93bd3
AS
30050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30051 count references to noai6ai_cached.
30052
312be3f9
UD
300532011-11-15 Ulrich Drepper <drepper@gmail.com>
30054
30055 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30056
30057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30058 FD_CLOEXEC for /proc/self/maps.
30059
30060 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30061 FD_CLOEXEC for /proc/meminfo.
30062
30063 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30064 gai.conf.
30065
30066 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30067 FD_CLOEXEC for given file.
30068
30069 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30070
30071 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30072 FD_CLOEXEC for /etc/hosts.
30073 (_gethtent): Likewise.
30074
30075 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30076
30077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30078 cancellation and set FD_CLOEXEC for /etc/netgroup.
30079
30080 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30081 reading /etc/publickey.
30082
30083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30084 allow cancellation when reading /etc/group.
30085
30086 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30087 cancellation.
30088 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30089
30090 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30091 when using data file.
30092
30093 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30094
30095 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30096 (write_nis_obj): Use "c" and "e" in fopen.
30097
30098 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30099
30100 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30101
30102 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30103
30104 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30105
30106 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30107 locale.alias.
30108
30109 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30110
30111 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30112
30113 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30114
30115 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30116 file parsing and set FD_CLOEXEC.
30117
82af0fa8
UD
301182011-11-14 Ulrich Drepper <drepper@gmail.com>
30119
30120 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30121
a5fb313c
AS
301222011-11-14 Andreas Schwab <schwab@redhat.com>
30123
30124 * malloc/arena.c (arena_get2): Don't call reused_arena when
30125 _int_new_arena failed.
30126
6abf3465
UD
301272011-11-14 Ulrich Drepper <drepper@gmail.com>
30128
30129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30130 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30135 to compile strcasecmp and strncasecmp.
30136 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30137 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30138
30139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30140
76e3966e
UD
301412011-11-13 Ulrich Drepper <drepper@gmail.com>
30142
30143 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30144 locale-defines.sym to gen-as-const-headers.
30145 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30146 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30148 to compile strcasecmp and strncasecmp.
30149 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30150 strcasecmp_l and strncasecmp_l.
30151 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30152 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30153 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30155 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30157 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30158 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30159 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30160 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30161 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30162
ab26144e
UD
301632011-11-12 Ulrich Drepper <drepper@gmail.com>
30164
7edb22ef
UD
30165 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30166 result of SYSDEP_GETTIME_CPU to retval.
30167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30168 parameter list to macro. Remove trailing semicolon. Adjust users.
30169
9694fc44
UD
30170 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30171 variable.
30172
8ad89ef8
UD
30173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30174 mantissa words.
30175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30176
0c822ef9
UD
30177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30178 from unused variable.
30179
874e0564
UD
30180 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30181 DWARF definitions.
30182 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30183 for assembling.
30184
3a2edc79
UD
30185 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30186 over namespaces.
30187
f3c2577f
UD
30188 * sunrpc/rpc_prot.c (rejected): Fix case value.
30189
294ce126
UD
30190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30191 unsigned long long int to avoid warnings in shift.
30192
5e2b63c6
UD
30193 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30194 of use of trans.
30195 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30196 variable tmp.
30197
e7f4b08e
UD
30198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30200 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30201
ab26144e
UD
30202 * nis/nis_table.c (nis_list): Use variable of correct type for
30203 result of __follow_path call.
30204
8a6d5255
AZ
302052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30206
30207 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30208 of math functions ceil, trunc, floor, round, and sqrt, when
30209 avaliable on the platform.
30210 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30211 name clash.
30212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30215
aaddc98c
MP
302162011-10-30 Marek Polacek <mpolacek@redhat.com>
30217
30218 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30220
95b7042b
RM
302212011-11-11 Roland McGrath <roland@hack.frob.com>
30222
30223 * include/unistd.h: Fix __readlink return type.
30224 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30225
57769839
UD
302262011-11-11 Ulrich Drepper <drepper@gmail.com>
30227
30228 * stdlib/ucontext.h: Undo last change for makecontext.
30229
edc5984d
AS
302302011-11-11 Andreas Schwab <schwab@redhat.com>
30231
98591e58
AS
30232 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30233
edc5984d
AS
30234 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30235 * setjmp/setjmp.h: Mark functions as non-leaf.
30236 * setjmp/bits/setjmp2.h: Likewise.
30237 * stdlib/ucontext.h: Likewise.
30238
77cdc054
AS
302392011-11-10 Andreas Schwab <schwab@redhat.com>
30240
30241 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30242 (reused_arena): Don't check arena limit.
30243 (arena_get2): Atomically check arena limit.
30244
fe72eebd
UD
302452011-11-08 Ulrich Drepper <drepper@gmail.com>
30246
5f078c32
UD
30247 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30248 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30249
fe72eebd
UD
30250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30251 instructions.
30252
ae1bc2fa
AS
302532011-11-07 Andreas Schwab <schwab@redhat.com>
30254
7583a88d
AS
30255 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30256 handler when locking.
30257
ae1bc2fa
AS
30258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30259 Fix size of allocated buffer.
30260
10fb0bfa
AS
302612011-11-04 Andreas Schwab <schwab@redhat.com>
30262
998832a4
AS
30263 [BZ #10103]
30264 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30265 declarations for long double functions.
30266 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30267
10fb0bfa
AS
30268 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30269
3d7ba52b
AS
302702011-11-03 Andreas Schwab <schwab@redhat.com>
30271
a9ae54a1
AS
30272 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30273 installed.
30274
3d7ba52b
AS
30275 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30276 is disabled.
30277
bc8db248
ST
302782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30279
30280 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30281
45b96dd6
AS
302822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30283
647776f6
AS
30284 * include/alloca.h (stackinfo_alloca_round): Define.
30285 (extend_alloca): Use it.
30286 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30287 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30288 here.
30289
d91a8b93
AS
30290 * scripts/check-local-headers.sh: Ignore libaudit.h.
30291
45b96dd6
AS
30292 * nscd/Makefile (extra-objs): Make recursively expanded.
30293
432d41ce
UD
302942011-11-01 Ulrich Drepper <drepper@gmail.com>
30295
34372fc6
UD
30296 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30298
fadb59f8
UD
30299 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30300 * posix/tst-rfc3484-2.c: Likewise.
30301 * posix/tst-rfc3484-3.c: Likewise.
30302
78239589
UD
30303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30304 process_vm_writev.
30305 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30306 process_vm_writev.
30307 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30308 process_vm_writev from libc using GLIBC_2.15 version.
30309
432d41ce
UD
30310 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30311
02f9c6cf
PP
303122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30313
30314 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30315 stack usage.
30316
3a2c0242
UD
303172011-10-31 Ulrich Drepper <drepper@gmail.com>
30318
f4ec4833
UD
30319 [BZ #13367]
30320 * nss/getent.c (initgroups_keys): Show error message in case no group
30321 names are given.
30322
3a2c0242
UD
30323 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30324 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30325 __bump_nl_timestamp.
30326 * nscd/connections (nscd_init): When host database is served open
30327 netlink socket and request notification about configuration changes.
30328 (main_loop_poll): Track netlink file descriptor and bump timestamp
30329 in case data becomes available.
30330 (main_loop_epoll): Likewise.
30331 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30332 (database_pers_head): Add extra_data fileds.
30333 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30335 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30336 Adjust caller.
30337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30338 in6ai data, call __free_in6ai.
30339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30340 Add -DHAVE_NETLINK.
30341 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30342 interface information. Reuse previous data if netlink timestamp
30343 is not changed.
30344 (__bump_nl_timestamp): New function.
30345 (__free_in6ai): New function.
30346
636064eb
UD
303472011-10-30 Ulrich Drepper <drepper@gmail.com>
30348
30349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30350 close_not_cancel_no_status here.
30351 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30352
9beb2334
UD
303532011-10-29 Ulrich Drepper <drepper@gmail.com>
30354
6ef76f3b
UD
30355 [BZ #13276]
30356 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30357 return value.
30358
0ffc4f3e 30359 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30360 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30361 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30362
cb95113e
UD
303632011-07-03 Andreas Jaeger <aj@suse.de>
30364
30365 [BZ #10709]
30366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30367 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30368 * math/libm-test.inc (sin_test): Add test case.
30369
a1b560ff
UD
303702011-10-29 Ulrich Drepper <drepper@gmail.com>
30371
c9aaface
UD
30372 [BZ #13337]
30373 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30374 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30375
d272e7f1
UD
30376 * elf/chroot_canon.c (chroot_canon): Cleanups.
30377
1bc33071
UD
30378 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30379
1760874d
TJ
30380 [BZ #13335]
30381 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30382 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30383
51d91b18
UD
30384 * string/test-strchr.c: Make usable for strchrnul testing.
30385 * string/test-strchrnul.c: New file.
30386 * string/Makefile (strop-tests): Add strchrnul.
30387
a1b560ff 30388 * po/it.po: Update from translation team.
b611fb81 30389 * po/es.po: Likewise.
a1b560ff 30390
a5b81e1f
UD
303912011-10-28 Ulrich Drepper <drepper@gmail.com>
30392
fd52bc6d
UD
30393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30394 the three constants needed as parameters. Drop the others.
30395 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30396 __m128i_strloadu_tolower.
52e4b9eb
UD
30397 Create and initialize variable zero and use it in all the places
30398 where _mm_setzero_si128 was used.
fd52bc6d 30399
a5b81e1f
UD
30400 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30401 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30402 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30404 anymore.
30405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30408 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30410 __mpranred, __mptan.
30411 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30412 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30413 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30414 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30420
b4343346
AS
304212011-10-28 Andreas Schwab <schwab@redhat.com>
30422
0c92d8a8
AS
30423 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30424 redefine if SHARED.
30425 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30426
b4343346
AS
30427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30428 wide char related routines to wcsmbs subdir.
30429
3871f58f
AS
304302011-10-27 Andreas Schwab <schwab@redhat.com>
30431
30432 [BZ #13344]
30433 * misc/sys/cdefs.h (__THROWNL): Define.
30434 * posix/unistd.h: Use __THREADNL instead of __THREAD
30435 for memory synchronization functions.
30436
94d44d9f
RM
304372011-10-26 Roland McGrath <roland@hack.frob.com>
30438
21b64b15 30439 [BZ #13349]
94d44d9f
RM
30440 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30441 doesn't exist.
30442 * manual/stdio.texi (Obstack Streams): Node removed.
30443
f6ce9294
AS
304442011-10-26 Andreas Schwab <schwab@redhat.com>
30445
80479147
AS
30446 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30449
f6ce9294
AS
30450 * math/math_private.h (math_force_eval): Allow non-addressable
30451 arguments.
30452 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30453
618280a1
UD
304542011-10-25 Ulrich Drepper <drepper@gmail.com>
30455
e0016b11
UD
30456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30457 file is not needed.
30458
30459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30466 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30467 Add AVX variants.
30468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30473 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30476 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30477 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30478 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30479 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30485 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30486 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30487
30488 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30489 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30490
618280a1
UD
30491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30492 place. Use VEX encoding when compiling for AVX.
30493
37822576
AS
304942011-10-25 Andreas Schwab <schwab@redhat.com>
30495
1f1e1947
AS
30496 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30498
37822576
AS
30499 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30500
31ea014d
UD
305012011-10-25 Ulrich Drepper <drepper@gmail.com>
30502
d7826aa1 30503 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30504 useless if() expression.
d7826aa1
UD
30505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30507 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30521 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30523 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30524
31ea014d
UD
30525 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30526
16437fec
AS
305272011-10-25 Andreas Schwab <schwab@redhat.com>
30528
30529 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30530 condition.
30531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30532
31d3cc00
UD
305332011-10-25 Ulrich Drepper <drepper@gmail.com>
30534
30535 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30536 .text section. Avoid duplicate constants.
30537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30545 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30546 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30564 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30582
58985aa9
UD
305832011-10-24 Ulrich Drepper <drepper@gmail.com>
30584
202c9deb
UD
30585 * sysdeps/x86_64/dla.h: Move to ...
30586 * sysdeps/x86_64/fpu/dla.h: ...here.
30587 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30588 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30589
af968f62
UD
30590 * config.make.in: Add have-mfma4 entry.
30591 * configure.in: Substitute libc_cv_cc_fma4.
30592 * math/Makefile (dbl-only-routines): Add sincostab.
30593 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30594 Use __sincostab not sincos.
30595 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30596 name is a macro.
30597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30601 using __copysign.
30602 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30603 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30604 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30605 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30606 and __inv.
30607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30608 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30609 __copysign.
30610 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30611 define aliases when function name is a macro.
30612 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30613 sysdeps/ieee754/dbl-64/sincos.tbl.
30614 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30615 fma4-enabled routines.
30616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30617 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30626 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30628 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30629 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30631 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30632 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30633 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30634 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30636 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30637 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30646
58985aa9
UD
30647 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30648 rename.
30649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30657
a201fbcf
AS
306582011-10-24 Andreas Schwab <schwab@redhat.com>
30659
30660 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30661
fc2ee42a
LD
306622011-10-23 Ulrich Drepper <drepper@gmail.com>
30663
bb3129bd
UD
30664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30665
0275fff8
UD
30666 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30667 prediction.
30668 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30669
2fa2ae85
UD
30670 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30671 Remove unused variable magic_bits.
30672 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30673
fc2ee42a
LD
30674 * string/strnlen.c: Define and use STRNLEN macro.
30675 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30676 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30678 * wcsmbs/wcslen.c: Define and use WCSLEN.
30679 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30680 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30681 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30682 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30683 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30684 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30685 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30686
ce7dd29f
LD
306872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30688
30689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30690 strnlen-sse2-no-bsf.
30691 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30693 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30694 Add strnlen support.
30695 (USE_AS_STRNLEN): New macro.
30696 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30698 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30699 * sysdeps/x86_64/wcslen.S: New file.
30700
979c70a3
MZ
307012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30702
30703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30704 XMM-moves are used for copying on small sizes.
30705
2d09f82f
LD
307062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30707
30708 * wcsmbs/Makefile (strop-tests): Add wcschr.
30709 * wcsmbs/test-wcschr.c: New file.
30710 * string/test-strchr.c: Update.
30711 Add wcschr support.
30712 (WIDE): New macro.
30713
619fccca
LD
307142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30715
2d09f82f 30716 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30717 * wcsmbs/test-wcslen.c: New file.
30718 * string/test-strlen.c: Update.
30719 Add wcslen support.
30720 (WIDE): New macro.
30721
09f699ea
UD
307222011-10-23 Ulrich Drepper <drepper@gmail.com>
30723
30724 * po/it.po: Update from translation team.
30725
95584d3b
LD
307262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30727
30728 * sysdeps/x86_64/wcscmp.S: Update.
30729 Fix wrong comparison semantics.
30730 wcscmp shall use signed comparison not unsigned.
30731 Don't use substraction to avoid overflow bug.
30732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30733 * wcsmbc/wcscmp.c: Likewise.
30734 * string/test-strcmp.c: Likewise.
30735 Add new tests to check cases with negative values.
30736
c8b3296b
UD
307372011-10-23 Ulrich Drepper <drepper@gmail.com>
30738
30739 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30740 * sysdeps/x86_64/dla.h: ...here. New file.
30741 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30750
246ad57a
AS
307512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30752
30753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30754 __ynl_finite aliases.
30755
a1a87169
UD
307562011-10-22 Ulrich Drepper <drepper@gmail.com>
30757
0d355eb7
UD
30758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30759
a1a87169
UD
30760 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30761 define DLA_FMA.
30762 [DLA_FMA] (EMULV): Use DLA_FMA.
30763 [DLA_FMA] (MUL12): Use EMULV.
30764 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30765 that are not needed.
30766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30773
ee2aafe0
AS
307742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30775
30776 * math/s_nan.c: Undef __nan.
30777 * math/s_nanf.c: Undef __nanf.
30778 * math/s_nanl.c: Undef __nanl.
30779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30780 "math_private.h".
30781
bc62c2fb
UD
307822011-10-22 Ulrich Drepper <drepper@gmail.com>
30783
77425c63
UD
30784 * math/s_catan.c: Add branch predictions.
30785 * math/s_catanf.c: Likewise.
30786 * math/s_catanh.c: Likewise.
30787 * math/s_catanhf.c: Likewise.
30788 * math/s_catanhl.c: Likewise.
30789 * math/s_catanl.c: Likewise.
30790 * math/s_cexp.c: Likewise.
30791 * math/s_cexpf.c: Likewise.
30792 * math/s_cexpl.c: Likewise.
30793 * math/s_clog.c: Likewise.
30794 * math/s_clog10.c: Likewise.
30795 * math/s_clog10f.c: Likewise.
30796 * math/s_clog10l.c: Likewise.
30797 * math/s_clogf.c: Likewise.
30798 * math/s_clogl.c: Likewise.
30799 * math/s_csqrt.c: Likewise.
30800 * math/s_csqrtf.c: Likewise.
30801 * math/s_csqrtl.c: Likewise.
30802 * math/s_ctanf.c: Likewise.
30803 * math/s_ctanh.c: Likewise.
30804 * math/s_ctanhf.c: Likewise.
30805 * math/s_ctanhl.c: Likewise.
30806 * math/s_ctanl.c: Likewise.
30807
bc62c2fb
UD
30808 * math/math_private.h: Define __nan, __nanf, __nanl.
30809 * math/s_cacosh.c: Include <math_private.h>.
30810 * math/s_cacoshl.c: Likewise.
30811 * math/s_casinh.c: Likewise.
30812 * math/s_casinhf.c: Likewise.
30813 * math/s_casinhl.c: Likewise.
30814 * math/s_ccos.c: Rely entire on ccosh.
30815 * math/s_ccosf.c: Rely entire on ccoshf.
30816 * math/s_ccosl.c: Rely entirely on ccoshl.
30817 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30818 Remove tests for FE_INVALID.
30819 * math/s_ccoshf.c: Likewise.
30820 * math/s_ccoshl.c: Likewise.
30821 * math/s_csin.c: Likewise.
30822 * math/s_csinf.c: Likewise.
30823 * math/s_csinh.c Likewise.
30824 * math/s_csinhf.c: Likewise.
30825 * math/s_csinhl.c: Likewise.
30826 * math/s_csinl.c: Likewise.
30827 * math/s_ctan.c: Likewise.
30828 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30829 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30831
8ec250a4
UD
308322011-10-21 Ulrich Drepper <drepper@gmail.com>
30833
c196fed8
UD
30834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30835 compilation problems.
30836
8ec250a4
UD
30837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30838 __builtin_expect.
30839
8d4f46c6
UD
308402011-10-20 Ulrich Drepper <drepper@gmail.com>
30841
ed72b654
UD
30842 * sysdeps/i386/configure.in: Test for -mfma4 option.
30843 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30844 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30845 COMMON_CPUID_INDEX_80000001.
30846 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30847 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30848 use it if FMA3 is not supported.
30849 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30850
8d4f46c6
UD
30851 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30852 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30853
d45c60c2
AS
308542011-10-20 Andreas Schwab <schwab@redhat.com>
30855
30856 [BZ #12892]
30857 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30858 it would create a cycle with a link time dependency.
30859
d9a4d2ab
UD
308602011-10-19 Ulrich Drepper <drepper@gmail.com>
30861
855d1560
UD
30862 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30863 instruction.
30864 * string/Makefile (strop-tests): Add rawmemchr.
30865 * string/test-rawmemchr.c: New file.
30866
d9a4d2ab
UD
30867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30869 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30870 when compiling str{,n}casecmp and when AVX is available. Hook up
30871 new optimized code in initializers.
30872
8f3b1ffe
AS
308732011-10-19 Andreas Schwab <schwab@redhat.com>
30874
30875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30876 __feraiseexcept instead of feraiseexcept.
30877
d38f1dba
UD
308782011-10-18 Ulrich Drepper <drepper@gmail.com>
30879
d9a8d0ab
UD
30880 * math/math_private.h: Define defaults for libc_fetestexcept and
30881 libc_feupdateenv.
30882 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30883 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30887 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30888 libc_fetestexcept and libc_feupdateenv.
30889
4855e3dd
UD
30890 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30891 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30892 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30893 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30894 libc_feholdexcept_setround.
30895
581d30e3
UD
30896 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30897 Add s_nearbyint-c and s_nearbyintf-c.
30898 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30899 nearbyintf inlines.
30900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30904
d38f1dba
UD
30905 * math/math_private.h: Define defaults for libc_fegetround,
30906 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30907 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30908 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30910 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30911 standard functions.
30912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30913 Remove comments and hacks for old compiler versions.
30914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30915 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30916 libc_feholdexceptl.
30917
caa6c9d8
AS
309182011-10-18 Andreas Schwab <schwab@redhat.com>
30919
30920 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30921 (__feraiseexcept_renamed): Add __NTH.
30922 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30923 namespace violations.
30924
97c066e6
UD
309252011-10-17 Ulrich Drepper <drepper@gmail.com>
30926
99ce7b04
UD
30927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30928
1004d182
UD
30929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30930
228a984d
UD
30931 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30932 recently added interfaces.
30933 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30934
c8553a6a
UD
30935 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30936 about macro parameter expansion.
30937
ed22dcf6
UD
30938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30939 __NO_MATH_INLINES is defined. Cleanups.
30940
30941 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30942 and __floorf is target has SSE4.1.
30943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30947
b171c137
UD
30948 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30949 name.
30950 (floorf): Likewise.
30951
97c066e6
UD
30952 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30953
629f62ef
AS
309542011-10-17 Andreas Schwab <schwab@redhat.com>
30955
49a43d80
AS
30956 * misc/sys/cdefs.h: Fix last change.
30957
629f62ef
AS
30958 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30959 database lookup.
30960
e453f6cd
UD
309612011-10-16 Ulrich Drepper <drepper@gmail.com>
30962
aa78043a
UD
30963 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30964
ad0f5cad
UD
30965 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30974 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30975 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30977 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30979 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30980 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30982 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30984 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30985 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30986 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30987
30988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30989 ceil, ceilf, floor, floorf.
30990
30991 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30992 Perform IRELATIVE relocations last.
30993
e453f6cd
UD
30994 * elf/do-rel.h: Add another parameter nrelative, replacing the
30995 local variable with the same name. Change name of the function
30996 to end in Rel or Rela (uppercase).
30997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30998 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30999 elf_dynamic_do_##reloc function.
31000
fd5bdc09
UD
310012011-10-15 Ulrich Drepper <drepper@gmail.com>
31002
79b195b5
UD
31003 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31004 is sufficient, at least on modern CPUs.
31005
d4a28569
UD
31006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31007
b61099b5
UD
31008 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31010
bcf01e6d
UD
31011 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31012 __expl_finite.
31013 * math/bits/math-finite.h: Add entries for exp.
31014 * math/e_expl.c: Add __*_finite alias.
31015 * sysdeps/i386/fpu/e_exp.S: Likewise.
31016 * sysdeps/i386/fpu/e_expf.S: Likewise.
31017 * sysdeps/i386/fpu/e_expl.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31025
ba1a0d59
UD
31026 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31027 is sufficient, at least on modern CPUs.
31028
fd5bdc09
UD
31029 * ctype/ctype-info.c (__ctype_init): Define.
31030 * include/ctype.h (__ctype_init): Declare.
31031 (__ctype_b_loc): The variable is always initialized.
31032 (__ctype_toupper_loc): Likewise.
31033 (__ctype_tolower_loc): Likewise.
31034 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31035 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31036
7872cfb0
AS
310372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31038
b468825a
AS
31039 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31040
7872cfb0
AS
31041 * configure.in: Also look in $cxxmachine/include for C++ system
31042 headers.
31043
be13f7bf
LD
310442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31045
31046 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31047 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31048 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31049 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31051 (USE_AS_WMEMCMP): New macro.
31052 Fixing indents.
31053 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31054 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31055 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31056 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31058 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31059 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31061 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31062 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31064 (USE_AS_WMEMCMP): New macro.
31065 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31066 * sysdeps/string/test-memcmp.c: Update.
31067 Fix simple_wmemcmp.
31068 Add new tests.
31069 * wcsmbs/wmemcmp.c: Update.
31070 (WMEMCMP): New macro.
31071 Fix overflow bug.
31072
556a2007
AJ
310732011-10-12 Andreas Jaeger <aj@suse.de>
31074
31075 [BZ #13268]
31076 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31077
538faaa7
UD
310782011-10-15 Ulrich Drepper <drepper@gmail.com>
31079
ab6737ff
UD
31080 * libio/iofwide.c (do_length): Avoid warning.
31081
538faaa7
UD
31082 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31083
396a21b1
UD
310842011-10-14 Ulrich Drepper <drepper@gmail.com>
31085
cdf2901f
UD
31086 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31087
38ad40ce
UD
31088 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31089 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31090 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31091 * sysdeps/i386/i686/fpu/e_log.S: New file.
31092 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31093 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31094
396a21b1
UD
31095 * ctype/ctype.h: Add support for inlined isXXX functions when
31096 compiling C++ code.
31097
6b1f68c9
AS
310982011-10-14 Andreas Schwab <schwab@redhat.com>
31099
349290c0
AS
31100 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31101
6b1f68c9
AS
31102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31103
f2282d42
RM
311042011-10-13 Roland McGrath <roland@hack.frob.com>
31105
31106 [BZ #13291]
31107 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31108
5298ffa8
AS
311092011-10-13 Andreas Schwab <schwab@redhat.com>
31110
714fad23
AS
31111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31112 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31113 feraiseexcept.
31114
81dcc7fb
AS
31115 * sysdeps/x86_64/memrchr.S: Check for zero size.
31116
5298ffa8
AS
31117 * string/stratcliff.c: Add memrchr tests.
31118
951fbcec
LD
311192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31120
31121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31122 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31123 rawmemchr-sse2 rawmemchr-sse2-bsf.
31124 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31125 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31126 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31127 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31128 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31131 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31134 * string/memrchr.c (MEMRCHR): New macro.
31135
0ac5ae23
UD
311362011-10-12 Ulrich Drepper <drepper@gmail.com>
31137
31138 Add integration with gcc's -ffinite-math-only and optimize wrapper
31139 functions in libm.
31140 * Versions.def: Define GLIBC_2.15 version for libm.
31141 * math/Makefile (headers): Add bits/math-finite.h.
31142 * math/bits/math-finite.h: New file.
31143 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31144 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31145 * math/e_acoshl.c: Add __*_finite alias.
31146 * math/e_acosl.c: Likewise.
31147 * math/e_asinl.c: Likewise.
31148 * math/e_atan2l.c: Likewise.
31149 * math/e_atanhl.c: Likewise.
31150 * math/e_coshl.c: Likewise.
31151 * math/e_exp10.c: Likewise.
31152 * math/e_exp10f.c: Likewise.
31153 * math/e_exp10l.c: Likewise.
31154 * math/e_exp2l.c: Likewise.
31155 * math/e_fmodl.c: Likewise.
31156 * math/e_gammal_r.c: Likewise.
31157 * math/e_hypotl.c: Likewise.
31158 * math/e_j0l.c: Likewise.
31159 * math/e_j1l.c: Likewise.
31160 * math/e_jnl.c: Likewise.
31161 * math/e_lgammal_r.c: Likewise.
31162 * math/e_log10l.c: Likewise.
31163 * math/e_log2l.c: Likewise.
31164 * math/e_logl.c: Likewise.
31165 * math/e_powl.c: Likewise.
31166 * math/e_sinhl.c: Likewise.
31167 * math/e_sqrtl.c: Likewise.
31168 * math/e_scalb.c: Completely rewritten and optimized.
31169 * math/e_scalbf.c: Likewise.
31170 * math/e_scalbl.c: Likewise.
31171 * math/w_acos.c: Likewise.
31172 * math/w_acosf.c: Likewise.
31173 * math/w_acosl.c: Likewise.
31174 * math/w_acosh.c: Likewise.
31175 * math/w_acoshf.c: Likewise.
31176 * math/w_acoshl.c: Likewise.
31177 * math/w_asin.c: Likewise.
31178 * math/w_asinf.c: Likewise.
31179 * math/w_asinl.c: Likewise.
31180 * math/w_atan2.c: Likewise.
31181 * math/w_atan2f.c: Likewise.
31182 * math/w_atan2l.c: Likewise.
31183 * math/w_atanh.c: Likewise.
31184 * math/w_atanhf.c: Likewise.
31185 * math/w_atanhl.c: Likewise.
31186 * math/w_exp10.c: Likewise.
31187 * math/w_exp10f.c: Likewise.
31188 * math/w_exp10l.c: Likewise.
31189 * math/w_fmod.c: Likewise.
31190 * math/w_fmodf.c: Likewise.
31191 * math/w_fmodl.c: Likewise.
31192 * math/w_j0.c: Likewise.
31193 * math/w_j0f.c: Likewise.
31194 * math/w_j0l.c: Likewise.
31195 * math/w_j1.c: Likewise.
31196 * math/w_j1f.c: Likewise.
31197 * math/w_j1l.c: Likewise.
31198 * math/w_jn.c: Likewise.
31199 * math/w_jnf.c: Likewise.
31200 * math/w_log.c: Likewise.
31201 * math/w_logf.c: Likewise.
31202 * math/w_logl.c: Likewise.
31203 * math/w_log10.c: Likewise.
31204 * math/w_log10f.c: Likewise.
31205 * math/w_log10l.c: Likewise.
31206 * math/w_log2.c: Likewise.
31207 * math/w_log2f.c: Likewise.
31208 * math/w_log2l.c: Likewise.
31209 * math/w_pow.c: Likewise.
31210 * math/w_powf.c: Likewise.
31211 * math/w_powl.c: Likewise.
31212 * math/w_remainder.c: Likewise.
31213 * math/w_remainderf.c: Likewise.
31214 * math/w_remainderl.c: Likewise.
31215 * math/w_scalb.c: Likewise.
31216 * math/w_scalbf.c: Likewise.
31217 * math/w_scalbl.c: Likewise.
31218 * math/w_sqrt.c: Likewise.
31219 * math/w_sqrtf.c: Likewise.
31220 * math/w_sqrtl.c: Likewise.
31221 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31222 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31223 used.
31224 * math/math_private.h: Declare __kernel_standard_f.
31225 * math/w_cosh.c: Remove cruft and optimize a bit.
31226 * math/w_coshf.c: Likewise.
31227 * math/w_coshl.c: Likewise.
31228 * math/w_exp2.c: Likewise.
31229 * math/w_exp2f.c: Likewise.
31230 * math/w_exp2l.c: Likewise.
31231 * math/w_hypot.c: Likewise.
31232 * math/w_hypotf.c: Likewise.
31233 * math/w_hypotl.c: Likewise.
31234 * math/w_lgamma.c: Likewise.
31235 * math/w_lgamma_r.c: Likewise.
31236 * math/w_lgammaf.c: Likewise.
31237 * math/w_lgammaf_r.c: Likewise.
31238 * math/w_lgammal.c: Likewise.
31239 * math/w_lgammal_r.c: Likewise.
31240 * math/w_sinh.c: Likewise.
31241 * math/w_sinhf.c: Likewise.
31242 * math/w_sinhl.c: Likewise.
31243 * math/w_tgamma.c: Likewise.
31244 * math/w_tgammaf.c: Likewise.
31245 * math/w_tgammal.c: Likewise.
31246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31248 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31249 Minor optimizations. Pretty printing. Remove cruft.
31250 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31254 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31255 * sysdeps/i386/fpu/e_asin.S: Likewise.
31256 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31257 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31258 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31259 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31263 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31264 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31265 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31266 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31267 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31268 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31269 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31270 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31271 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31272 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31273 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31274 * sysdeps/i386/fpu/e_log.S: Likewise.
31275 * sysdeps/i386/fpu/e_log10.S: Likewise.
31276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31278 * sysdeps/i386/fpu/e_log2.S: Likewise.
31279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31281 * sysdeps/i386/fpu/e_logf.S: Likewise.
31282 * sysdeps/i386/fpu/e_logl.S: Likewise.
31283 * sysdeps/i386/fpu/e_pow.S: Likewise.
31284 * sysdeps/i386/fpu/e_powf.S: Likewise.
31285 * sysdeps/i386/fpu/e_powl.S: Likewise.
31286 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31287 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31288 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31292 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31293 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31294 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31309 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31316 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31319 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31321 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31322 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31333 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31335 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31392 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31393 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31394 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31395 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31396 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31397 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31398 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31403 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31405 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31406 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31407 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31408 (__isnanf): Likewise.
31409 (__isinf_ns): Likewise.
31410 (__isinf_nsf): Likewise.
31411 (__finite): Likewise.
31412 (__finitef): Likewise.
31413 (__ieee754_sqrt): Define as macro.
31414 (__ieee754_sqrtf): Define as macro.
31415 (__ieee754_sqrtl): Define as macro.
31416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31417 inlined copy.
31418 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31419 __FINITE_MATH_ONLY__ consistent.
31420 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31421
12cc2fcd
AS
314222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31423
a843a204
AS
31424 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31425 of rawmemchr.
31426
12cc2fcd
AS
31427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31428
c853acd5
UD
314292011-10-09 Ulrich Drepper <drepper@gmail.com>
31430
31431 * po/ja.po: Update from translation team.
31432
c658d255
RM
314332011-10-08 Roland McGrath <roland@hack.frob.com>
31434
110946e4
RM
31435 * locale/programs/locarchive.c (prepare_address_space): New function.
31436 (create_archive, enlarge_archive, open_archive): Use it.
31437
50604220
RM
31438 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31439 inside [SHARED], where it is used.
31440
c658d255
RM
31441 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31442
31443 * nss/getent.c (netgroup_keys): Remove unused variable.
31444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31445
6a621eb7
UD
314462011-10-08 Ulrich Drepper <drepper@gmail.com>
31447
7edb55ce
UD
31448 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31449 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31452 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31453 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31454 * math/Makefile (libm-calls): Add s_isinf_ns.
31455 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31456 * math/multc3.c: Likewise.
31457 * math/s_casin.c: Likewise.
31458 * math/s_casinf.c: Likewise.
31459 * math/s_casinl.c: Likewise.
31460 * math/s_ccos.c: Likewise.
31461 * math/s_ccosf.c: Likewise.
31462 * math/s_ccosl.c: Likewise.
31463 * math/s_ctan.c: Likewise.
31464 * math/s_ctanf.c: Likewise.
31465 * math/s_ctanh.c: Likewise.
31466 * math/s_ctanhf.c: Likewise.
31467 * math/s_ctanhl.c: Likewise.
31468 * math/s_ctanl.c: Likewise.
31469 * math/w_fmod.c: Likewise.
31470 * math/w_fmodf.c: Likewise.
31471 * math/w_fmodl.c: Likewise.
31472 * math/w_remainder.c: Likewise.
31473 * math/w_remainderf.c: Likewise.
31474 * math/w_remainderl.c: Likewise.
31475 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31476 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31479 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31480 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31481 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31482 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31483
187da0ae
UD
31484 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31485 of the number.
31486 * stdio-common/printf_fphex.c: Likewise.
31487 * stdio-common/printf_size.c: Likewise.
31488
9277c064
UD
31489 * math/e_exp10.c: Include math_private.h using <...> not "...".
31490 * math/e_exp10f.c: Likewise.
31491 * math/e_exp10l.c: Likewise.
31492 * math/e_exp2l.c: Likewise.
31493 * math/e_j0l.c: Likewise.
31494 * math/e_j1l.c: Likewise.
31495 * math/e_jnl.c: Likewise.
31496 * math/e_lgammal_r.c: Likewise.
31497 * math/e_rem_pio2l.c: Likewise.
31498 * math/e_scalb.c: Likewise.
31499 * math/e_scalbf.c: Likewise.
31500 * math/e_scalbl.c: Likewise.
31501 * math/k_cosl.c: Likewise.
31502 * math/k_sinl.c: Likewise.
31503 * math/k_tanl.c: Likewise.
31504 * math/s_cacoshf.c: Likewise.
31505 * math/s_catan.c: Likewise.
31506 * math/s_catanf.c: Likewise.
31507 * math/s_catanh.c: Likewise.
31508 * math/s_catanhf.c: Likewise.
31509 * math/s_catanhl.c: Likewise.
31510 * math/s_catanl.c: Likewise.
31511 * math/s_ccosh.c: Likewise.
31512 * math/s_ccoshf.c: Likewise.
31513 * math/s_ccoshl.c: Likewise.
31514 * math/s_cexp.c: Likewise.
31515 * math/s_cexpf.c: Likewise.
31516 * math/s_cexpl.c: Likewise.
31517 * math/s_clog.c: Likewise.
31518 * math/s_clog10.c: Likewise.
31519 * math/s_clog10f.c: Likewise.
31520 * math/s_clog10l.c: Likewise.
31521 * math/s_clogf.c: Likewise.
31522 * math/s_clogl.c: Likewise.
31523 * math/s_csin.c: Likewise.
31524 * math/s_csinf.c: Likewise.
31525 * math/s_csinh.c: Likewise.
31526 * math/s_csinhf.c: Likewise.
31527 * math/s_csinhl.c: Likewise.
31528 * math/s_csinl.c: Likewise.
31529 * math/s_csqrt.c: Likewise.
31530 * math/s_csqrtf.c: Likewise.
31531 * math/s_csqrtl.c: Likewise.
31532 * math/s_ctan.c: Likewise.
31533 * math/s_ctanf.c: Likewise.
31534 * math/s_ctanh.c: Likewise.
31535 * math/s_ctanhf.c: Likewise.
31536 * math/s_ctanhl.c: Likewise.
31537 * math/s_ctanl.c: Likewise.
31538 * math/s_ldexp.c: Likewise.
31539 * math/s_ldexpf.c: Likewise.
31540 * math/s_ldexpl.c: Likewise.
31541 * math/s_significand.c: Likewise.
31542 * math/s_significandf.c: Likewise.
31543 * math/s_significandl.c: Likewise.
31544 * math/w_acos.c: Likewise.
31545 * math/w_acosf.c: Likewise.
31546 * math/w_acosh.c: Likewise.
31547 * math/w_acoshf.c: Likewise.
31548 * math/w_acoshl.c: Likewise.
31549 * math/w_acosl.c: Likewise.
31550 * math/w_asin.c: Likewise.
31551 * math/w_asinf.c: Likewise.
31552 * math/w_asinl.c: Likewise.
31553 * math/w_atan2.c: Likewise.
31554 * math/w_atan2f.c: Likewise.
31555 * math/w_atan2l.c: Likewise.
31556 * math/w_atanh.c: Likewise.
31557 * math/w_atanhf.c: Likewise.
31558 * math/w_atanhl.c: Likewise.
31559 * math/w_cosh.c: Likewise.
31560 * math/w_coshf.c: Likewise.
31561 * math/w_coshl.c: Likewise.
31562 * math/w_dremf.c: Likewise.
31563 * math/w_exp10.c: Likewise.
31564 * math/w_exp10f.c: Likewise.
31565 * math/w_exp10l.c: Likewise.
31566 * math/w_exp2.c: Likewise.
31567 * math/w_exp2f.c: Likewise.
31568 * math/w_fmod.c: Likewise.
31569 * math/w_fmodf.c: Likewise.
31570 * math/w_fmodl.c: Likewise.
31571 * math/w_hypot.c: Likewise.
31572 * math/w_hypotf.c: Likewise.
31573 * math/w_hypotl.c: Likewise.
31574 * math/w_j0.c: Likewise.
31575 * math/w_j0f.c: Likewise.
31576 * math/w_j0l.c: Likewise.
31577 * math/w_j1.c: Likewise.
31578 * math/w_j1f.c: Likewise.
31579 * math/w_j1l.c: Likewise.
31580 * math/w_jn.c: Likewise.
31581 * math/w_jnf.c: Likewise.
31582 * math/w_jnl.c: Likewise.
31583 * math/w_lgamma.c: Likewise.
31584 * math/w_lgamma_r.c: Likewise.
31585 * math/w_lgammaf.c: Likewise.
31586 * math/w_lgammaf_r.c: Likewise.
31587 * math/w_lgammal.c: Likewise.
31588 * math/w_lgammal_r.c: Likewise.
31589 * math/w_log.c: Likewise.
31590 * math/w_log10.c: Likewise.
31591 * math/w_log10f.c: Likewise.
31592 * math/w_log10l.c: Likewise.
31593 * math/w_log2.c: Likewise.
31594 * math/w_log2f.c: Likewise.
31595 * math/w_log2l.c: Likewise.
31596 * math/w_logf.c: Likewise.
31597 * math/w_logl.c: Likewise.
31598 * math/w_pow.c: Likewise.
31599 * math/w_powf.c: Likewise.
31600 * math/w_powl.c: Likewise.
31601 * math/w_remainder.c: Likewise.
31602 * math/w_remainderf.c: Likewise.
31603 * math/w_remainderl.c: Likewise.
31604 * math/w_scalb.c: Likewise.
31605 * math/w_scalbf.c: Likewise.
31606 * math/w_scalbl.c: Likewise.
31607 * math/w_sinh.c: Likewise.
31608 * math/w_sinhf.c: Likewise.
31609 * math/w_sinhl.c: Likewise.
31610 * math/w_sqrt.c: Likewise.
31611 * math/w_sqrtf.c: Likewise.
31612 * math/w_sqrtl.c: Likewise.
31613 * math/w_tgamma.c: Likewise.
31614 * math/w_tgammaf.c: Likewise.
31615 * math/w_tgammal.c: Likewise.
31616
6a621eb7
UD
31617 * po/ja.po: Update from translation team.
31618
bf582445
AJ
316192011-09-29 Andreas Jaeger <aj@suse.de>
31620
f9efbf3a
AJ
31621 [BZ #13179]
31622 * sunrpc/netname.c (netname2host): Fix logic.
31623
bf582445
AJ
31624 [BZ #6779]
31625 [BZ #6783]
31626 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31627 correctly.
31628 * math/w_remainder.c (__remainder): Likewise.
31629 * math/w_remainderf.c (__remainderf): Likewise.
31630 * math/libm-test.inc (remainder_test): Add test cases.
31631
48693bea
AK
316322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31633
31634 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31635 sdiv_qrnnd.
31636
42622229
LD
316372011-10-07 Ulrich Drepper <drepper@gmail.com>
31638
31639 * string/test-memcmp.c: Avoid unncessary #defines.
31640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31641
093ecf92
LD
316422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31643
31644 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31645 Use new sse2 version for core i3 - i7 as it's faster
31646 than sse42 version.
31647 (bit_Prefer_PMINUB_for_stringop): New.
31648 * sysdeps/x86_64/rawmemchr.S: Update.
31649 Replace with faster SSE2 version.
31650 * sysdeps/x86_64/memrchr.S: New file.
31651 * sysdeps/x86_64/memchr.S: Update.
31652 Replace with faster SSE2 version.
31653
fde56e5c
MP
316542011-09-12 Marek Polacek <mpolacek@redhat.com>
31655
31656 * elf/dl-load.c (lose): Add cast to avoid warning.
31657
21fd49a9
UD
316582011-10-07 Ulrich Drepper <drepper@gmail.com>
31659
5a06e643
UD
31660 * po/ca.po: Update from translation team.
31661
684ae515
UD
31662 * inet/getnetgrent_r.c: Hook up nscd.
31663 * nscd/Makefile (routines): Add nscd_netgroup.
31664 (nscd-modules): Add netgroupcache.
31665 (CFLAGS-netgroupcache.c): Define.
31666 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31667 (cache_search): Add const to second parameter.
31668 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31669 INNETGR.
31670 (dbs): Add netgrdb entry.
31671 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31672 (verify_persistent_db): Handle netgrdb.
31673 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31674 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31675 GETFDNETGR.
31676 (netgroup_response_header): Define.
31677 (innetgroup_response_header): Define.
31678 (datahead): Add netgroup_response_header and innetgroup_response_header
31679 elements.
31680 * nscd/nscd.conf: Add entries for netgroup cache.
31681 * nscd/nscd.h (dbtype): Add netgrdb.
31682 (_PATH_NSCD_NETGROUP_DB): Define.
31683 (netgroup_iov_disabled): Declare.
31684 (xmalloc, xcalloc, xrealloc): Move declarations here.
31685 (cache_search): Adjust prototype.
31686 Add netgroup-related prototypes.
31687 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31688 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31689 (__nscd_innetgr): Declare.
31690 * nscd/selinux.c (perms): Use access_vector_t as element type and
31691 add netgroup-related initializers.
31692 * nscd/netgroupcache.c: New file.
31693 * nscd/nscd_netgroup.c: New file.
31694 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31695 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31696 For four parameters use innetgr.
31697 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31698 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31699 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31700 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31701
21fd49a9
UD
31702 * nscd/connections.c (register_traced_file): Don't register file
31703 for disabled databases.
31704
054c0457
UD
317052011-10-06 Ulrich Drepper <drepper@gmail.com>
31706
32b63198
UD
31707 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31708
054c0457
UD
31709 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31710 from tree and freeing node.
31711
64031225
JO
317122011-09-25 Jiri Olsa <jolsa@redhat.com>
31713
31714 * nss/nsswitch.c (__nss_database_lookup): Handle
31715 nss_parse_service_list out of memory case.
31716
0490345c
JO
317172011-09-15 Jiri Olsa <jolsa@redhat.com>
31718
31719 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31720 out of memory case.
31721
3a62d00d
AS
317222011-10-04 Andreas Schwab <schwab@redhat.com>
31723
31724 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31725 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31726 pass it down.
31727 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31728 elf_machine_rela, elf_machine_lazy_rel.
31729 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31730 (ELF_DYNAMIC_DO_REL): Likewise.
31731 (ELF_DYNAMIC_DO_RELA): Likewise.
31732 (ELF_DYNAMIC_RELOCATE): Likewise.
31733 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31734 to ELF_DYNAMIC_DO_REL.
31735 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31736 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31737 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31738 elf_machine_rela.
31739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31740 skip_ifunc, don't call ifunc function if non-zero.
31741 (elf_machine_rela): Likewise.
31742 (elf_machine_lazy_rel): Likewise.
31743 (elf_machine_lazy_rela): Likewise.
31744 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31745 (elf_machine_lazy_rel): Likewise.
31746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31747 Likewise.
31748 (elf_machine_lazy_rel): Likewise.
31749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31750 Likewise.
31751 (elf_machine_lazy_rel): Likewise.
31752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31753 (elf_machine_lazy_rel): Likewise.
31754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31755 (elf_machine_lazy_rel): Likewise.
31756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31757 (elf_machine_lazy_rel): Likewise.
31758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31759 (elf_machine_lazy_rel): Likewise.
31760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31761 (elf_machine_lazy_rel): Likewise.
31762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31763 (elf_machine_lazy_rel): Likewise.
31764
68577918
UD
317652011-09-28 Ulrich Drepper <drepper@gmail.com>
31766
31767 * nss/nss_files/files-init.c (_nss_files_init): Use static
31768 initialization for all the *_traced_file variables.
31769
68822d74
AS
317702011-09-28 Andreas Schwab <schwab@redhat.com>
31771
31772 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31773
2056100b
RM
317742011-09-27 Roland McGrath <roland@hack.frob.com>
31775
31776 [BZ #13226]
31777 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31778
32c76b63
AS
317792011-09-27 Andreas Schwab <schwab@redhat.com>
31780
31781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31782 Reread the line before reparsing it.
31783
bf972c9d
AS
317842011-09-26 Andreas Schwab <schwab@redhat.com>
31785
31786 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31787
e057a1b5
JM
317882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31789 Maxim Kuvyrkov <maxim@codesourcery.com>
31790 Joseph Myers <joseph@codesourcery.com>
31791
31792 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31793 if needed for __stack_chk_guard.
31794
bc7e1c36
RM
317952011-09-19 Roland McGrath <roland@hack.frob.com>
31796
ecb1482f
RM
31797 * sysdeps/posix/spawni.c (script_execute): Always define it.
31798 It will be optimized away if unused.
31799 (maybe_script_execute): New function.
31800 (__spawni): Call it.
31801
bc7e1c36
RM
31802 * Makerules: Don't include tls.make.
31803 (config-tls): Always set to thread.
31804 * tls.make.c: File removed.
31805
1c3b002b
MF
318062011-09-19 Mike Frysinger <vapier@gentoo.org>
31807
31808 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31809 * config.make.in (CPPFLAGS-config): New substituted variable.
31810
2840865d
UD
318112011-09-15 Ulrich Drepper <drepper@gmail.com>
31812
88738eb6
UD
31813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31814
cbf645a6 31815 [BZ #13192]
2840865d
UD
31816 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31817 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31818
b402e91a
RM
318192011-09-15 Roland McGrath <roland@hack.frob.com>
31820
31821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31822 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31824 (CALL_FAIL): Likewise.
31825 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31826 (CALL_FAIL): Macro removed.
31827 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31828
4c1a1f71
UD
318292011-09-15 Ulrich Drepper <drepper@gmail.com>
31830
31831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31832 for __FINITE_MATH_ONLY__ == 1.
31833
edc121be
AS
318342011-09-15 Andreas Schwab <schwab@redhat.com>
31835
31836 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31837 __ieee754_sqrt instead of sqrt.
31838 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31839 __ieee754_sqrtf instead of sqrtf.
31840 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31841 __floorf instead of floorf.
31842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31843 __floorf, __truncf instead of floorf, truncf.
31844
cd205654
UD
318452011-09-14 Ulrich Drepper <drepper@gmail.com>
31846
ee4d0315
UD
31847 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31848
cd205654
UD
31849 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31850 __extern_always_inline.
31851 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31852 32-bit.
31853
48b67d71
AS
318542011-09-14 Andreas Schwab <schwab@redhat.com>
31855
31856 * elf/rtld.c (dl_main): Also relocate in dependency order when
31857 doing symbol dependency testing.
31858
1ae12c75
AS
318592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31860
31861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31862 Always define `refsym'.
31863
995a80df
AS
318642011-09-13 Andreas Schwab <schwab@redhat.com>
31865
e529793b
AS
31866 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31867 (__FD_ELT): Renamed from __FDELT.
31868 * misc/bits/select2.h (__FD_ELT): Likewise.
31869 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31870 __FD_MASK instead of __FDELT, __FDMASK.
31871 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31872 Likewise.
31873 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31874 Likewise.
31875
52d4fef8
AS
31876 * elf/Makefile (gen-ldd): Fix pattern.
31877
995a80df
AS
31878 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31879 (init_tls): Likewise.
31880
8682f8b0
UD
318812011-09-12 Ulrich Drepper <drepper@gmail.com>
31882
31883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31884
de82006d
AS
318852011-09-12 Andreas Schwab <schwab@redhat.com>
31886
a7c8e6a1
AS
31887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31888 `struct cmsghdr *' instead of `void *'.
31889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31890 Likewise.
31891
0f31fe77
AS
318922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31893
31894 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31895 if non-absolute.
31896 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31897 ldd_rewrite_script.
0f31fe77 31898
32b4c839
UD
318992011-09-11 Ulrich Drepper <drepper@gmail.com>
31900
83cd1420
UD
31901 * configure.in: Remove --with-tls option.
31902 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31903 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31904 out in case it is missing.
31905 * sysdeps/ia64/elf/configure.in: Likewise.
31906 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31907 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31908 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31909 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31910 * sysdeps/sh/elf/configure.in: Likewise.
31911 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31913 * sysdeps/x86_64/elf/configure.in: Likewise.
31914 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31915 * sysdeps/mach/hurd/tls.h: Likewise.
31916
633f745d
UD
31917 [BZ #13067]
31918 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31919
f318beb8
UD
31920 [BZ #13090]
31921 * configure.in: Fix use of AC_INIT.
31922
32b4c839
UD
31923 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31924
3ce1f295
UD
319252011-09-10 Ulrich Drepper <drepper@gmail.com>
31926
bb016596
UD
31927 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31928 __set_errno.
8e58439c
UD
31929 * malloc/hooks.c: Likewise.
31930
aebae053 31931 [BZ #11929]
02d46fc4
UD
31932 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31933 variables statically.
31934 (narenas): Initialize.
31935 (list_lock): Initialize.
bb016596
UD
31936 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31937 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31938 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31939 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31940 Add initializers to main_arena and mp_.
31941 (malloc_state): Remove pagesize member. Change all users to use
31942 GLRO(dl_pagesize).
31943
31944 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31945 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31946 is always initialized.
31947
22a89187
UD
31948 * malloc/malloc.c: Removed unused configurations and dead code.
31949 * malloc/arena.c: Likewise.
31950 * malloc/hooks.c: Likewise.
02d46fc4 31951 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31952
d063d164
UD
31953 * include/tls.h: Removed. USE___THREAD must always be defined.
31954 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31955 * elf/dl-libc.c: Likewise.
31956 * elf/dl-tsd.c: Likewise.
31957 * include/errno.h: Likewise.
31958 * include/netdb.h: Likewise.
31959 * include/resolv.h: Likewise.
31960 * inet/herrno-loc.c: Likewise.
31961 * inet/herrno.c: Likewise.
31962 * malloc/arena.c: Likewise.
31963 * malloc/hooks.c: Likewise.
31964 * malloc/malloc.c: Likewise.
31965 * resolv/res-state.c: Likewise.
31966 * resolv/res_libc.c: Likewise.
31967 * sysdeps/i386/dl-machine.h: Likewise.
31968 * sysdeps/ia64/dl-machine.h: Likewise.
31969 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31970 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31971 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31972 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31973 * sysdeps/sh/dl-machine.h: Likewise.
31974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31976 * sysdeps/unix/i386/sysdep.S: Likewise.
31977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31978 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31988 * sysdeps/x86_64/dl-machine.h: Likewise.
31989 * tls.make.c: Likewise.
31990
3ce1f295
UD
31991 * configure.in: Remove --with-__thread option. Make tests for
31992 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31993 tls_model attribute fail if no support is available. Remove
31994 USE_IN_LIBIO.
31995 * Makeconfig: Adjust for dropped configure option. All features are
31996 now mandatory.
31997 * Makerules: Likewise.
31998 * Versions.def: Likewise.
31999 * argp/argp-fmtstream.c: Likewise.
32000 * argp/argp-fmtstream.h: Likewise.
32001 * argp/argp-help.c: Likewise.
32002 * assert/assert.c: Likewise.
32003 * config.h.in: Likewise.
32004 * config.make.in: Likewise.
32005 * configure: Likewise.
32006 * configure.in: Likewise.
32007 * csu/Versions: Likewise.
32008 * csu/init.c: Likewise.
32009 * elf/tst-audit2.c: Likewise.
32010 * elf/tst-tls10.c: Likewise.
32011 * elf/tst-tls10.h: Likewise.
32012 * elf/tst-tls11.c: Likewise.
32013 * elf/tst-tls12.c: Likewise.
32014 * elf/tst-tls14.c: Likewise.
32015 * elf/tst-tlsmod11.c: Likewise.
32016 * elf/tst-tlsmod12.c: Likewise.
32017 * elf/tst-tlsmod13.c: Likewise.
32018 * elf/tst-tlsmod13a.c: Likewise.
32019 * elf/tst-tlsmod14a.c: Likewise.
32020 * elf/tst-tlsmod15b.c: Likewise.
32021 * elf/tst-tlsmod16a.c: Likewise.
32022 * elf/tst-tlsmod16b.c: Likewise.
32023 * elf/tst-tlsmod7.c: Likewise.
32024 * elf/tst-tlsmod8.c: Likewise.
32025 * elf/tst-tlsmod9.c: Likewise.
32026 * gmon/gmon.c: Likewise.
32027 * grp/fgetgrent_r.c: Likewise.
32028 * grp/putgrent.c: Likewise.
32029 * hurd/fopenport.c: Likewise.
32030 * include/libc-symbols.h: Likewise.
32031 * include/tls.h: Likewise.
32032 * intl/gettextP.h: Likewise.
32033 * intl/loadinfo.h: Likewise.
32034 * locale/global-locale.c: Likewise.
32035 * locale/localeinfo.h: Likewise.
32036 * mach/devstream.c: Likewise.
32037 * malloc/arena.c: Likewise.
32038 * malloc/set-freeres.c: Likewise.
32039 * misc/err.c: Likewise.
32040 * misc/getttyent.c: Likewise.
32041 * misc/mntent_r.c: Likewise.
32042 * posix/getopt.c: Likewise.
32043 * posix/wordexp.c: Likewise.
32044 * pwd/fgetpwent_r.c: Likewise.
32045 * resolv/Versions: Likewise.
32046 * resolv/res_hconf.c: Likewise.
32047 * shadow/fgetspent_r.c: Likewise.
32048 * shadow/putspent.c: Likewise.
32049 * stdio-common/printf_fphex.c: Likewise.
32050 * stdio-common/tmpfile.c: Likewise.
32051 * stdlib/abort.c: Likewise.
32052 * stdlib/fmtmsg.c: Likewise.
32053 * sunrpc/auth_unix.c: Likewise.
32054 * sunrpc/clnt_perr.c: Likewise.
32055 * sunrpc/clnt_tcp.c: Likewise.
32056 * sunrpc/clnt_udp.c: Likewise.
32057 * sunrpc/clnt_unix.c: Likewise.
32058 * sunrpc/openchild.c: Likewise.
32059 * sunrpc/svc_simple.c: Likewise.
32060 * sunrpc/svc_tcp.c: Likewise.
32061 * sunrpc/svc_udp.c: Likewise.
32062 * sunrpc/svc_unix.c: Likewise.
32063 * sunrpc/xdr.c: Likewise.
32064 * sunrpc/xdr_array.c: Likewise.
32065 * sunrpc/xdr_rec.c: Likewise.
32066 * sunrpc/xdr_ref.c: Likewise.
32067 * sunrpc/xdr_stdio.c: Likewise.
32068
1248c1c4
PB
320692011-09-09 Ulrich Drepper <drepper@gmail.com>
32070
32071 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32072
320732011-07-03 Andreas Jaeger <aj@suse.de>
32074
32075 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32077 regenerate with gen-libm-tests.pl.
32078
320792010-05-12 Petr Baudis <pasky@suse.cz>
32080
32081 [BZ #11589]
32082 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32083 around j0() zero points by switching to j1().
32084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32088
f22e1074
UD
320892011-09-09 Ulrich Drepper <drepper@gmail.com>
32090
f19009c1
UD
32091 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32092 instead of 0.
32093 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32094 instead of 0.
f19009c1
UD
32095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32096 Patch in part by Pavel Roskin <proski@gnu.org>.
32097
3f8cc204
UD
32098 [BZ #13138]
32099 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32100 realloc.
32101 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32102 Free memory block if necessary.
32103
f22e1074
UD
32104 [BZ #12847]
32105 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32106 be NULL. Don't lock in this case.
32107
0a2349f9
RM
321082011-09-09 Roland McGrath <roland@hack.frob.com>
32109
32110 * elf/elf.h (ELFOSABI_GNU): New macro.
32111 (ELFOSABI_LINUX): Define to that.
32112
f3cdd467
DZ
321132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32114
32115 * string/strncat.c (strncat): Undef the symbol in case it has been
32116 defined in bits/string.h.
32117
74718d13
UD
321182011-09-09 Ulrich Drepper <drepper@gmail.com>
32119
633e9e0f
UD
32120 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32121
0a2349f9 32122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32123 link map.
32124
f9924780
AJ
321252011-08-17 Andreas Jaeger <aj@suse.de>
32126
32127 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32128
7f5517aa
PP
321292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32130 Ian Lance Taylor <iant@google.com>
32131
32132 * math/libm-test.inc (lround_test): New testcase.
32133 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32134
762011fe
UD
321352011-09-08 Ulrich Drepper <drepper@gmail.com>
32136
92963737
UD
32137 * Makefile: Remove support for automatic cvs check-ins.
32138 * Makerules: Likewise.
32139 * config.make.in: Likewise.
32140 * configure.in: Likewise.
32141 * intl/Makefile: Likewise.
32142 * locale/Makefile: Likewise.
32143 * po/Makefile: Likewise.
32144 * posix/Makefile: Likewise.
32145 * sysdeps/gnu/Makefile: Likewise.
32146 * sysdeps/mach/hurd/Makefile: Likewise.
32147 * sysdeps/sparc/sparc32/Makefile: Likewise.
32148
b0727fd8
JS
32149 [BZ #13118]
32150 * posix/Makefile (bug-regex32-ENV): Define.
32151 Patch by John Stanley <jpsinthemix@verizon.net>.
32152
a0f33f99
UD
32153 * misc/Makefile (headers): Add bits/select2.h.
32154 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32155 * misc/bits/select2.h: New file.
32156 * include/bits/select2.h: New file.
32157 * debug/Makefile (routines): Add fdelt_chk.
32158 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32159 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32160 FD_ISSET.
32161 * debug/fdelt_chk.c: New file.
32162
762011fe
UD
32163 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32164 * wcsmbs/test-wmemcmp.c: Likewise.
32165 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32166 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32167
321682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32169
32170 * string/Makefile (strop-tests): Add memcmp.
32171 * string/test-wmemcmp.c: New file.
32172 * string/test-memcmp.c: Add wmemcmp support.
32173
7f513ec8
RM
321742011-09-08 Roland McGrath <roland@hack.frob.com>
32175
0442afb4
RM
32176 [BZ #13153]
32177 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32178 2011-07-19 change.
32179
7f513ec8
RM
32180 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32181 garbage value in a __mach_port_mod_refs call in the cases of the
32182 task-self and thread-self ports.
32183
a12b2239
ST
321842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32185
32186 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32187
610f9ab4
AS
321882011-09-08 Andreas Schwab <schwab@redhat.com>
32189
7f513ec8 32190 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32191
48882a1a
LD
321922011-09-07 Ulrich Drepper <drepper@gmail.com>
32193
b49865be
UD
32194 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32195
fdc86bc9
UD
32196 * elf/dl-libc.c (dlerror_run): Pass back error code from
32197 dl_catch_error.
32198
c966526a
UD
32199 [BZ #13123]
32200 * elf/dl-load.c (lose): Free l_origin if it is valid.
32201
48882a1a
LD
32202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32203 names.
32204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32209 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32210
77a2a8b4
AZ
322112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32212
32213 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32214 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32217 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32218 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32219 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32220 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32221 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32222 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32223
24f579d8
AM
322242011-08-15 Alan Modra <amodra@gmail.com>
32225
32226 [BZ #13092]
32227 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32228 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32229 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32230 ppc_mcount to static-only-routines.
32231 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32232 __mcount_internal.
32233 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32234 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32235
3d4837df
UD
322362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32237
32238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32239 for finite and infinity parameters.
32240
22700377
WS
322412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32242
32243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32244 and add nop instructions for throughput optimization.
32245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32246
5025581e
WS
322472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32248
32249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32250 aligned copy for power7 with vector-scalar instructions.
32251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32252
08a300c9
L
322532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32256 AVX check.
32257
59178ef9
AS
322582011-09-07 Andreas Schwab <schwab@redhat.com>
32259
32260 [BZ #13144]
32261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32262 last change.
32263
e38ba7ab
UD
322642011-09-07 Ulrich Drepper <drepper@gmail.com>
32265
32266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32267 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32268 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32270 clock_gettime.
32271
d53a73ac
UD
322722011-09-06 Ulrich Drepper <drepper@gmail.com>
32273
fc8bffcc
UD
32274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32275 Forgot to demangle the pointer.
32276
ceaa0c5d
UD
32277 * sysdeps/i386/sysdep.h: Define atom_text_section.
32278 * sysdeps/x86_64/sysdep.h: Likewise.
32279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32280 section with atom_text_section.
32281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32286
a77d3c17
UD
32287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32289 already be defined. Change to take two parameters and don't assign
32290 result to variable. Adjust all users.
32291 Define INTERNAL_GETTIME if not already defined.
32292 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32293 call.
32294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32295 HAVE_CLOCK_GETTIME_VSYSCALL.
32296 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32297
d53a73ac
UD
32298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32299 gettimeofday vsyscall, just use time.
32300
a8f84144
AS
323012011-09-06 Andreas Schwab <schwab@redhat.com>
32302
32303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32304 <errno.h>.
32305
ef606249
UD
323062011-09-06 Ulrich Drepper <drepper@gmail.com>
32307
32308 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32309 syscall on x86-64.
32310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32311 syscall.
32312 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32314 syscall if possible.
32315
6585cb60
UD
323162011-09-05 Ulrich Drepper <drepper@gmail.com>
32317
32318 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32319 e_ident. Don't pass to find_mapsXX.
32320 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32321
a5f524e4
LD
323222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32323
32324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32325 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32326 * sysdeps/x86_64/multiarch/strchr.S: Update.
32327 Check bit_slow_BSF bit.
32328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32331
554881ef
UD
323322011-09-05 Ulrich Drepper <drepper@gmail.com>
32333
d96de963
UD
32334 [BZ #13134]
32335 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32336 before glibc 2.15.
32337 (tryshell): Define.
32338 (__spawni): Change last parameter to be flag. Test
32339 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32340 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32341 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32342 * posix/spawni.c: Likewise.
32343 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32344 * posix/spawnp.c: Likewise. Change normal version to use
32345 SPAWN_XFLAGS_USE_PATH.
32346 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32347 SPAWN_XFLAGS_TRY_SHELL.
32348
d48e5868
UD
32349 [BZ #13150]
32350 * posix/glob.h: Remove gcc 1.x support.
32351
554881ef
UD
32352 [BZ #13068]
32353 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32354
693fb948
LD
323552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32356
32357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32358 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32359 strrchr-sse2-bsf
32360 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32361 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32366
1b48c537
UD
323672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32368
49d42c37
UD
32369 * sysdeps/x86_64/wcscmp.S: New file.
32370
1b48c537
UD
32371 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32372 wcscmp-c wcscmp-sse2
32373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32374 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32376 * wcsmbs/wcscmp.c: Allow renaming.
32377
15c95c5d
DM
323782011-09-05 David S. Miller <davem@davemloft.net>
32379
32380 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32381 stack slot, rather than the struct return pointer slot.
32382 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32383 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32386
2f0ad8f3
UD
323872011-09-05 Ulrich Drepper <drepper@gmail.com>
32388
d88ae418
UD
32389 * po/ja.po: Update from translation team.
32390
2f0ad8f3
UD
32391 [BZ #13144]
32392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32393 kernel in 64-bit binaries.
32394
5f4318d1
DM
323952011-09-01 David S. Miller <davem@davemloft.net>
32396
32397 * elf/elf.h (HWCAP_SPARC_*): Move to..
32398 * sysdeps/sparc/sysdep.h: this new file and add new values.
32399 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32400 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32401 _DL_HWCAP_COUNT to 24.
32402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32403 entries.
32404 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32405 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32406 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32408 instead of magic constants.
32409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32410
3ba57516
DM
324112011-08-31 David S. Miller <davem@davemloft.net>
32412
32413 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32415 Reimplement to do errno handling inline.
32416 (SYSCALL_ERROR_HANDLER): New macro.
32417 (__SYSCALL_STRING): Do not do errno handling in asm.
32418 (__CLONE_SYSCALL_STRING): Delete.
32419 (__INTERNAL_SYSCALL_STRING): Delete.
32420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32421 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32422 (PSEUDO): Reimplement to do errno handling inline.
32423 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32424 (SYSCALL_ERROR_HANDLER): New macro.
32425 (__SYSCALL_STRING): Do not do errno handling in asm.
32426 (__CLONE_SYSCALL_STRING): Delete.
32427 (__INTERNAL_SYSCALL_STRING): Delete.
32428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32429 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32430 i386.
32431 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32432 (inline_syscall*): Add 'err' argument.
32433 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32434 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32435 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32436 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32437
32438 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32440
2bc17433
AS
324412011-08-30 Andreas Schwab <schwab@redhat.com>
32442
32443 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32444
fbeb5f4d
JO
324452011-08-29 Jiri Olsa <jolsa@redhat.com>
32446
32447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32448 directive.
32449
ad69cc26
DM
324502011-08-24 David S. Miller <davem@davemloft.net>
32451
32452 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32453
39dd69df
AS
324542011-08-24 Andreas Schwab <schwab@redhat.com>
32455
32456 * elf/Makefile: Add rules to build and run unload8 test.
32457 * elf/unload8.c: New file.
32458 * elf/unload8mod1.c: New file.
32459 * elf/unload8mod1x.c: New file.
32460 * elf/unload8mod2.c: New file.
32461 * elf/unload8mod3.c: New file.
32462
32463 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32464 it wasn't used.
32465
2c0b250a
DM
324662011-08-23 David S. Miller <davem@davemloft.net>
32467
32468 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32469 subtract stack bias.
32470 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32471 %sp not %fp in calculations.
32472 (_JMPBUF_UNWINDS_ADJ): Likewise.
32473
22044b48
DM
32474 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32475 (aio_suspend): Call it to force an exception region around the
32476 AIO_MISC_WAIT() invocation.
32477
2cae4995
AS
324782011-08-23 Andreas Schwab <schwab@redhat.com>
32479
32480 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32481 backslash.
32482
873a772e
AJ
324832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32484
32485 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32486 protection macro.
32487 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32488 and <dl-machine.h>.
32489 (Elf64_FuncDesc): Remove.
32490
25ad0df1
DM
324912011-08-22 David S. Miller <davem@davemloft.net>
32492
32493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32494 sigaltstack check, add missing cfi directives.
32495 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32496 missing cfi directives, and sigaltstack handling.
32497
e888bcbe
AS
324982011-08-16 Andreas Schwab <schwab@redhat.com>
32499
32500 [BZ #11724]
32501 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32502 object is seen twice.
32503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32504
32505 * elf/Makefile (distribute): Add tst-initorder2.c.
32506 (tests): Add tst-initorder2.
32507 (modules-names): Add tst-initorder2a tst-initorder2b
32508 tst-initorder2c tst-initorder2d. Add rules to build them.
32509 ($(objpfx)tst-initorder2.out): New rule.
32510 * elf/tst-initorder2.c: New file.
32511 * elf/tst-initorder2.exp: New file.
32512
87162f46
AS
325132011-08-22 Andreas Schwab <schwab@redhat.com>
32514
70538b7f
AS
32515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32516
f55ffe58
AS
32517 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32518 dependencies back to end of function.
32519
87162f46
AS
32520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32521 $(elfobjdir)/ld.so.
32522
91b392a4
UD
325232011-08-21 Ulrich Drepper <drepper@gmail.com>
32524
32525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32526 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32528 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32530 of __vdso_gettimeofday.
32531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32532 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32533 attribute_hidden.
32534 (_libc_vdso_platform_setup): Remove initialization of
32535 __vdso_gettimeofday and __vdso_time.
32536
5c43483f
UD
325372011-08-20 Ulrich Drepper <drepper@gmail.com>
32538
775a77e7
UD
32539 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32540 and fgetc_unlocked.
32541 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32542 getc_unlocked.
89f447ed 32543
49c74ba9
UD
32544 * elf/dl-open.c (add_to_global): Report additions to the global scope
32545 for LD_DEBUG=scopes.
32546 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32547 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32548
5c43483f
UD
32549 [BZ #13114]
32550 * stdio-common/Makefile (tests): Add bug24.
32551 * stdio-common/bug24.c: New file.
32552
a101b025
AJ
325532011-08-19 Andreas Jaeger <aj@suse.de>
32554
32555 [BZ #13114]
32556 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32557 non-existant file when using close-on-exec mode.
32558
c88f1766
UD
325592011-08-20 Ulrich Drepper <drepper@gmail.com>
32560
0276a718
UD
32561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32562 the very first instruction.
32563
c88f1766
UD
32564 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32565 the CFI state in the end.
32566 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32567 inclusion of dl-trampoline.h.
32568 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32569
51ccffa0
AS
325702011-08-19 Andreas Schwab <schwab@redhat.com>
32571
94d7165f
AS
32572 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32573 expectations for long double.
32574
51ccffa0
AS
32575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32576 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32577
fd708658 325782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32579
32580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32581 artificual limit depends upon the system page size.
32582
44f0a71e
UD
325832011-08-17 Ulrich Drepper <drepper@gmail.com>
32584
32585 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32586 * resolv/Makefile: Define CFLAGS-libresolv.
32587
8de79a24
AS
325882011-08-17 Andreas Schwab <schwab@redhat.com>
32589
32590 * nss/makedb.c (compute_tables): Make variables used in nested
32591 function static.
32592
27724598
UD
325932011-08-17 Ulrich Drepper <drepper@gmail.com>
32594
c5305d88
UD
32595 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32596 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32597 if buffer was too small.
32598
27724598
UD
32599 * elf/pldd.c (main): Attach to all threads in the process.
32600 Rewrite /proc handling to use *at functions.
32601
076fe015
UD
326022011-08-16 Ulrich Drepper <drepper@gmail.com>
32603
174baab3
UD
32604 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32605 specifies first scope to show.
32606 (dl_open_worker): Update callers. Move printing scope of new
32607 object to before the relocation.
44f0a71e 32608 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32609 * sysdeps/generic/ldsodefs.h: Update declaration.
32610
076fe015
UD
32611 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32612 string for the scope number.
32613
a60df2c3
UD
326142011-08-14 Ulrich Drepper <drepper@gmail.com>
32615
32616 * nscd/servicescache.c (cache_addserv): Make sure written is always
32617 initialized.
32618
5e4287d1
RM
326192011-08-14 Roland McGrath <roland@hack.frob.com>
32620
85ae0589
RM
32621 * sysdeps/i386/i486/bits/atomic.h
32622 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32623 statement expression, so as to suppress "set but not used" warning.
32624 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32625
69f63097
RM
32626 * string/strncat.c (STRNCAT): Use prototype definition.
32627
675456ef
RM
32628 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32629 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32630 -Iprograms here.
32631 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32632 (localedef-modules): Add localedef.
32633 (locale-modules): Add locale.
32634
5e4287d1
RM
32635 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32636 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32637 to avoid a warning.
32638
9c96ff23
DM
326392011-08-14 David S. Miller <davem@davemloft.net>
32640
32641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32642 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32643
f9ddf089
UD
326442011-08-13 Ulrich Drepper <drepper@gmail.com>
32645
44f0a71e 32646 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32647 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32648 * elf/rtld.c (dl_main): Set l_name of vDSO.
32649 Call _dl_show_scope when DL_DEBUG_SCOPES.
32650 (process_dl_debug): Recognize scopes flag and also set it for all.
32651 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32652 Declare _dl_show_scope.
32653
1dc27704
UD
32654 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32655 (do_dlopen): Pass caller_dlopen to dl_open.
32656 (__libc_dlopen_mode): Initialize caller_dlopen.
32657
f9ddf089
UD
32658 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32659 of libc. Make tolower call locale-independent. Optimize a bit by
32660 using isdigit instead of isalnum.
32661 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32662
9ac533d3
UD
326632011-08-12 Ulrich Drepper <drepper@gmail.com>
32664
32665 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32666 was a dependency or dynamically loaded.
32667
89edf2e9
UD
326682011-08-11 Ulrich Drepper <drepper@gmail.com>
32669
8e999d29
UD
32670 * intl/l10nflist.c: Allow architecture-specific pop function.
32671 * sysdeps/x86_64/l10nflist.c: New file.
32672
89edf2e9
UD
32673 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32674 classification.
32675
14d96785
AS
326762011-08-10 Andreas Schwab <schwab@redhat.com>
32677
32678 * include/dirent.h: Add libc_hidden_proto for scandirat and
32679 scandirat64. Don't declare __scandirat64.
32680 * dirent/scandirat.c: Add libc_hidden_def.
32681 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32682 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32683
6761ac04
DM
326842011-08-10 David S. Miller <davem@davemloft.net>
32685
32686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32687 enum.
32688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32691
c55fbd1e
UD
326922011-08-09 Ulrich Drepper <drepper@gmail.com>
32693
32694 * Versions.def [libc]: Add GLIBC_2.15.
32695 * dirent/Makefile (routines): Add scandirat and scandirat64.
32696 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32697 GLIBC_2.15.
32698 * dirent/dirent.h: Declare scandirat and scandirat64.
32699 * dirent/scandirat.c: New file.
32700 * dirent/scandirat64.c: New file.
32701 * sysdeps/wordsize-64/scandirat.c: New file.
32702 * sysdeps/wordsize-64/scandirat64.c: New file.
32703 * dirent/opendir.c: Define opendirat.
32704 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32705 using scandirat.
32706 * dirent/scandir64.c: Adjust for scandir.c change.
32707 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32708 __scandirat64, and __scandir_cancel_handler.
32709 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32710 additional parameter and use openat instead of open (outside of ld.so).
32711 Add new __opendir as wrapper around __opendirat.
32712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32713 here without requiring old scandirat implementation.
32714
879165f2
UD
327152011-08-08 Ulrich Drepper <drepper@gmail.com>
32716
32717 * dirent/scandir.c (cancel_handler): Renamed to
32718 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32719 defined. Adjust users.
32720 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32721 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32722
cb7e923b
UD
327232011-08-04 Ulrich Drepper <drepper@gmail.com>
32724
16292edd
UD
32725 * string/test-string.h (IMPL): Use __STRING to expand name and then
32726 stringify it.
32727
cb7e923b
UD
32728 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32729 of cleanups.
32730
cff82933
LD
327312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32732
32733 * string/Makefile: Update.
32734 (strop-tests): Append strncat.
32735 * string/test-wcscmp.c: New file.
32736 New comprehensive test for wcscmp.
32737 * string/test-strcmp.c: Update.
32738 (WIDE): New define.
32739
9be9bfcc
AS
327402011-07-22 Andreas Schwab <schwab@redhat.com>
32741
32742 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32743 line.
32744
2e96f1c7
AS
327452011-07-26 Andreas Schwab <schwab@redhat.com>
32746
32747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32748 encoding to ACE if AI_IDN.
32749
85188888
JJ
327502011-08-01 Jakub Jelinek <jakub@redhat.com>
32751
32752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32753 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32754
5fa16e9b
LD
327552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32756
32757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32758 Fix overflow bug in strncat.
32759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32760
32761 * string/test-strncat.c: Update.
32762 Add new tests for checking overflow bugs.
32763
327642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32765
32766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32767 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32768 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32769 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32771 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32772 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32773 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32774 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32775
32776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32777 (USE_AS_STRCAT): Define.
32778 Add strcat and strncat support.
32779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32780
8c1a459f
AS
327812011-07-25 Andreas Schwab <schwab@redhat.com>
32782
32783 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32784 __n bigger than INT_MAX+1.
32785 (__strncmp_g): Likewise.
32786
bba33c28
UD
327872011-07-23 Ulrich Drepper <drepper@gmail.com>
32788
798be72d
UD
32789 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32790 * libio/stido.h: Likewise.
32791
8accd4dc
UD
32792 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32793 (AF_NFC): Define.
32794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32795 (AF_NFC): Define.
32796
cbff0d96
UD
32797 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32802
9191c04a
UD
32803 [BZ #13021]
32804 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32805 installed.
32806
bba33c28
UD
32807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32808 typo.
32809 (_dl_x86_64_save_sse): Likewise.
32810
90f139dd
UD
328112011-07-22 Ulrich Drepper <drepper@gmail.com>
32812
1aae088a
UD
32813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32814 OSXSAVE.
32815 (_dl_x86_64_save_sse): Likewise.
32816
8e2045f5
UD
32817 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32818
90f139dd
UD
32819 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32820
1d002f25
AS
328212011-07-21 Andreas Schwab <schwab@redhat.com>
32822
32823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32824 change.
32825 (_dl_x86_64_save_sse): Use correct AVX check.
32826
21137f89
UD
328272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32828
32829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32830 bug in strncpy/strncat.
32831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32832
a65c0b7a
UD
328332011-07-21 Ulrich Drepper <drepper@gmail.com>
32834
32835 * string/tester.c (test_strcat): Add tests for different alignments
32836 of source and destination.
32837 (test_strncat): Likewise.
32838
6986b98a
UD
328392011-07-20 Ulrich Drepper <drepper@gmail.com>
32840
90bb2039
UD
32841 [BZ #12852]
32842 * posix/glob.c (glob): Check passed in values before using them in
32843 expressions to avoid some overflows.
32844 (glob_in_dir): Likewise.
32845
5644ef54
UD
32846 [BZ #13007]
32847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32848 check for AVX enablement so that we don't crash with old kernels and
32849 new hardware.
32850 * elf/tst-audit4.c: Add same checks here.
32851 * elf/tst-audit6.c: Likewise.
32852
32853 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32854
bfc9dc9b
AS
328552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32856
32857 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32858
702e64bb
UD
328592011-07-20 Ulrich Drepper <drepper@gmail.com>
32860
32861 * po/cs.po: Update from translation team.
32862 * po/bg.po: Likewise.
32863
295e904f
MP
328642011-07-12 Marek Polacek <mpolacek@redhat.com>
32865
32866 * misc/sys/cdefs.h: Add support for const attribute.
32867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32868 to gnu_dev_{major,minor,makedev} functions.
32869
3ff94596
MP
328702011-07-20 Marek Polacek <mpolacek@redhat.com>
32871
32872 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32873
28b59fca
AS
328742011-07-20 Andreas Schwab <schwab@redhat.com>
32875
32876 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32877 strlen results.
32878
19df733e
AK
328792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32880
32881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32882 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32883 register in order to avoid conflicts with the soft frame pointer
32884 being held in r11 when necessary.
32885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32886 (INTERNAL_VSYSCALL_NCS): Likewise.
32887
c8835729
MP
328882011-07-14 Marek Polacek <mpolacek@redhat.com>
32889
32890 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32891 * elf/dl-fini.c (_dl_fini): Adjust caller.
32892 * elf/dl-close.c (_dl_close_worker): Likewise.
32893 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32894
b902330c
MP
328952011-07-15 Marek Polacek <mpolacek@redhat.com>
32896
8991e135
MP
32897 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32898 "aux_cache->nlibs < 0".
32899
b902330c
MP
32900 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32901 in the reload-count case.
32902
99710781
LD
329032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32904
32905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32906 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32907 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32908 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32909 * sysdeps/x86_64/multiarch/strcat.S: New file.
32910 * sysdeps/x86_64/multiarch/strncat.S: New file.
32911 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32913 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32914 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32916 (USE_AS_STRCAT): Define.
32917 Add strcat and strncat support.
32918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32921 * string/strncat.c: Update.
32922 (USE_AS_STRNCAT): Define.
32923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32924 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32925 and i7.
32926 * sysdeps/x86_64/multiarch/init-arch.h
32927 (bit_Prefer_PMINUB_for_stringop): New.
32928 (index_Prefer_PMINUB_for_stringop): Likewise.
32929 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32930 bit_Prefer_PMINUB_for_stringop.
32931
7dc6bd90
UD
329322011-07-19 Ulrich Drepper <drepper@gmail.com>
32933
32934 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32935 buffer64.
32936 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32937 of casting of buffer.
32938 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32939 buffer32 and buffer64.
32940 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32941 writes instead of casting of buffer.
32942 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32943 buffer32.
32944 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32945 casting of buffer.
32946
e0e72284
AS
329472011-07-19 Andreas Schwab <schwab@redhat.com>
32948
32949 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32950
feb1eb0b
UD
329512011-07-19 Ulrich Drepper <drepper@gmail.com>
32952
32953 * nscd/nscd.c (termination_handler): Don't do anything for a database
32954 if it has not yet been initialized.
32955
298711ff
UD
329562011-07-18 Ulrich Drepper <drepper@gmail.com>
32957
32958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32959
329602011-07-15 Marek Polacek <mpolacek@redhat.com>
32961
32962 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32963
f9d68389
UD
329642011-07-18 Ulrich Drepper <drepper@gmail.com>
32965
32966 * po/nl.po: Update from translation team.
32967 * po/sv.po: Likewise.
32968
db290cf5
RM
329692011-07-16 Roland McGrath <roland@hack.frob.com>
32970
32971 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32972 now disallowed by GCC.
5c550700 32973
fd5e21c7
RM
32974 * configure.in (use-default-link): Default to yes if a test -shared
32975 link meets our qualifications.
32976 * configure: Regenerated.
32977
5c550700
RM
32978 * config.make.in (output-format): New variable.
32979 * configure.in: Check for ld --print-output-format support.
32980 * configure: Regenerated.
32981 * Makerules ($(common-objpfx)format.lds)
32982 [$(output-format) != unknown]: Just use $(output-format),
32983 instead of the linker-script munging.
32984
9fa2c032
RM
329852011-07-14 Roland McGrath <roland@hack.frob.com>
32986
a6928d51
RM
32987 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32988 of $(common-objpfx)shlib.lds.
32989 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32990
661607b3
RM
32991 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32992 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32993
9fa2c032
RM
32994 * configure.in (-z relro check): Adjust test code to add a large
32995 writable data section after it.
32996 * configure: Regenerated.
32997
defe9061
RM
329982011-07-11 Roland McGrath <roland@hack.frob.com>
32999
33000 * configure.in (-z relro check): Fix test code to make the variable
33001 truly const.
33002 * configure: Regenerated.
33003
319b9ad4
UD
330042011-07-11 Ulrich Drepper <drepper@gmail.com>
33005
33006 * nscd/nscd.h (struct traced_file): Define.
33007 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33008 elements. Add traced_files.
33009 (inotify_fd): Declare.
33010 (register_traced_file): Declare.
33011 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33012 (inotify_fd): Export.
33013 (resolv_conf_descr): Remove.
33014 (nscd_init): Move inotify descriptor creation to main.
33015 Don't register files for notification here.
33016 (register_traced_file): New function.
33017 (invalidate_cache): Don't use reset_res to determine whether to call
33018 res_init, go through the list of registered files.
33019 (main_loop_poll): The inotify descriptors are now stored in the
33020 structures for the traced files.
33021 (main_loop_epoll): Likewise
33022 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33023 to __nss_disable_nscd.
33024 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33025 for a database anymore. Check the records for all the registered
33026 files instead.
33027 * nss/Makefile (libnss_files-routines): Add files-init.
33028 (libnss_db-routines): Add db-init.
33029 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33030 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33031 * nss/nss_db/db-init.c: New file.
33032 * nss/nss_files/files-init.c: New file.
33033 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33034 __nss_lookup_function.
33035 (__nss_lookup_function): Call nss_load_library.
33036 (nss_load_all_libraries): New function.
33037 (__nss_disable_nscd): Take parameter with callback function for files
33038 to register. Set is_nscd. Load all the DSOs for the NSS modules
33039 used for the cached services.
33040 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33041 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33042 options for features to all the files in nscd.
33043
33044 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33045
23bee3e8
RM
330462011-07-10 Roland McGrath <roland@hack.frob.com>
33047
33048 * csu/elf-init.c (__libc_csu_init): Comment typo.
33049
46a5b7f0
UD
330502011-07-09 Ulrich Drepper <drepper@gmail.com>
33051
33052 * po/pl.po: Update from translation team.
33053 * po/ja.po: Likewise.
33054 * po/ru.po: Likewise.
33055 * po/ko.po: Likewise.
33056 * po/fr.po: Likewise.
33057
d30cf5bb
RM
330582011-07-09 Roland McGrath <roland@hack.frob.com>
33059
113ddea4
RM
33060 * configure.in (.ctors/.dtors header and trailer check):
33061 Use an empirical test on a built program.
33062 * configure: Regenerated.
33063
574920b4
RM
33064 * configure.in (-z relro check): Use an empirical test on a built DSO.
33065 Detect, but do not require, on ia64.
33066 * configure: Regenerated.
33067
d30cf5bb
RM
33068 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33069 Update tests that use readelf to use $READELF instead.
33070 * configure: Regenerated.
33071
8538fdb3
UD
330722011-07-08 Ulrich Drepper <drepper@gmail.com>
33073
33074 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33075 if the result is not used.
33076
04d08991
AJ
330772011-07-05 Andreas Jaeger <aj@suse.de>
33078
33079 [BZ#9696]
33080 * stdlib/tst-strtod.c: Add testcase.
33081
de283087
AD
330822011-07-07 Ulrich Drepper <drepper@gmail.com>
33083
4e5f31c8 33084 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33085 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33086 The latter has a higher limit. Take additional parameter to pass to
33087 the new function.
33088 (__pathconf): Pass file to __statfs_link_max.
33089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33090 __statfs_link_max.
33091 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33092 __statfs_link_max.
33093
de283087
AD
33094 [BZ #12868]
33095 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33097 Handle Lustre.
33098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33099 (__statfs_filesize_max): Likewise.
33100 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33101
c75fa153
AJ
331022011-07-05 Andreas Jaeger <aj@suse.de>
33103
33104 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33105
1a544854
UD
331062011-07-06 Marek Polacek <mpolacek@redhat.com>
33107
33108 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33109 `status' variable.
33110 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33111 Likewise.
33112
6f0eec67
UD
331132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33114
33115 * Makefile (strop-tests): Add strncat.
33116 * string/test-strncat.c: New file.
33117
aae30307
UD
331182011-06-30 Marek Polacek <mpolacek@redhat.com>
33119
33120 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33121
c0cfb5eb
UD
331222011-06-21 Andreas Jaeger <aj@suse.de>
33123
33124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33125 Copy rule from iconvdata/Makefile.
33126
01636b21
UD
331272011-07-06 Ulrich Drepper <drepper@gmail.com>
33128
33129 [BZ #12922]
33130 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33131 but no long options are defined, just return 'W'.
33132
9895c8bc
UD
331332011-06-22 Marek Polacek <mpolacek@redhat.com>
33134
33135 [BZ #9696]
33136 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33137
5d4cf042
UD
331382011-07-06 Ulrich Drepper <drepper@gmail.com>
33139
33140 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33141 netgroups to read.
960e5535 33142 (innetgr): Likewise.
5d4cf042 33143
751eb97e
RM
331442011-07-05 Roland McGrath <roland@hack.frob.com>
33145
33146 * config.make.in (install_root): Default to $(DESTDIR).
33147
f15f1e45
UD
331482011-07-05 Ulrich Drepper <drepper@gmail.com>
33149
33150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33151
4e34ac6a
RM
331522011-07-02 Roland McGrath <roland@hack.frob.com>
33153
5e9b6af4
RM
33154 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33155
84f9ea0f
RM
33156 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33157 containing directory rather than embedding absolute directory names.
33158
ea5ee9f7
RM
33159 * scripts/check-local-headers.sh: Rewritten using awk.
33160 Match by word, not by line. Print error messages for matches.
33161 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33162
1b74661a
RM
33163 * Makerules [shlib-lds-flags empty]:
33164 ($(common-objpfx)libc_pic.opts): New target.
33165 ($(common-objpfx)libc_pic.os.clean): New target.
33166 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33167
33168 * config.make.in (OBJCOPY): New variable.
33169 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33170 * configure: Regenerated.
33171
f781ef40
RM
33172 * config.make.in (use-default-link): New variable.
33173 * configure.in (use_default_link): Grok --with-default-link to set it.
33174 * configure: Regenerated.
33175 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33176 (shlib-lds, shlib-lds-flags): Define to empty.
33177
2d4fa81e
RM
33178 * Makerules (shlib-lds): New variable.
33179 (shlib-lds-flags): New variable.
33180 (build-shlib, build-moduile, build-module-asneeded): Use it.
33181 ($(common-objpfx)libc.so): Use $(shlib-lds).
33182 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33183 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33184
31fffa6b
RM
33185 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33186 DT_FLAGS/DT_FLAGS_1 with zero flags.
33187
4e34ac6a
RM
33188 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33189 linker script munging.
33190
fcfc776b
UD
331912011-07-02 Ulrich Drepper <drepper@gmail.com>
33192
33193 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33194 as 128-bit value.
33195 * crypt/sha512.c (sha512_process_block): Perform total addition using
33196 128-bit if possible.
33197 (__sha512_finish_ctx): Likewise.
33198 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33199 as 64-bit value.
33200 * crypt/sha256.c (SWAP64): Define.
33201 (sha256_process_block): Perform total addition using 64-bit if
33202 possible.
33203 (__sha256_finish_ctx): Likewise.
33204
99231d9a
UD
332052011-07-01 Ulrich Drepper <drepper@gmail.com>
33206
33207 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33209 * nscd/hstcache.c (cache_addhst): Likewise.
33210 * nscd/grpcache.c (cache_addgr): Likewise.
33211 * nscd/aicache.c (addhstaiX): Likewise
33212 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33213
445b4a53
TK
332142011-07-01 Thorsten Kukuk <kukuk@suse.de>
33215
33216 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33218 * nscd/hstcache.c (cache_addhst): Likewise.
33219 * nscd/grpcache.c (cache_addgr): Likewise.
33220 * nscd/aicache.c (addhstaiX): Likewise
33221
6d4d8e8e
AS
332222011-07-01 Andreas Schwab <schwab@redhat.com>
33223
33224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33225 domain only when needed.
33226
89f654c5
AS
332272011-06-30 Andreas Schwab <schwab@redhat.com>
33228
33229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33230 is always restored.
33231
cf3b23ff
UD
332322011-06-29 Ulrich Drepper <drepper@gmail.com>
33233
33234 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33235 are re-adding the entry.
33236 * nscd/servicescache.c (cache_addserv): Likewise.
33237
751626f9
AJ
332382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33239
33240 * sysdeps/generic/dl-irel.h: fix protection against multiple
33241 inclusions.
33242 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33243
9113ea1f
UD
332442011-06-28 Ulrich Drepper <drepper@gmail.com>
33245
5c0b8d90
UD
33246 [BZ #12935]
33247 * malloc/memusage.sh: Fix quoting in message.
33248 * debug/xtrace.sh: Likewise.
33249
9113ea1f
UD
33250 * configure.in: Remove support for --experimental-malloc option, make
33251 it the default.
33252 * config.make.in: Likewise.
33253 * malloc/Makefile: Likewise.
33254
a4172181
AS
332552011-06-27 Andreas Schwab <schwab@redhat.com>
33256
33257 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33258 two-byte characters.
33259
78a7eee7
RM
332602011-06-27 Roland McGrath <roland@hack.frob.com>
33261
62bede13
RM
33262 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33263 AC_CACHE_CHECK invocation.
33264 * configure: Regenerated.
33265
78a7eee7
RM
33266 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33267
5ce33a62
UD
332682011-06-27 Ulrich Drepper <drepper@gmail.com>
33269
034807a9
UD
33270 [BZ #12350]
33271 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33272 bit from old_res_options.
33273
4902da17
UD
33274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33275
5ce33a62
UD
33276 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33277 value type for setfct.
33278
c2344f56
L
332792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33280
33281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33282 __gettimeofday instead of gettimeofday.
33283
68468076
UD
332842011-06-26 Ulrich Drepper <drepper@gmail.com>
33285
33286 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33287
acb0d739
L
332882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33289
33290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33291
33292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33293 info.
33294
8912479f
L
332952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33296
33297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33298 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33299 strcpy-sse2-unaligned strncpy-sse2-unaligned
33300 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33301 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33302 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33303 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33304 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33307 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33308 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33309 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33310 (STRCPY): Support SSE2 and SSSE3 versions.
33311
d5495a11
UD
333122011-06-24 Ulrich Drepper <drepper@gmail.com>
33313
33314 [BZ #12874]
33315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33316 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33317 kernels which artificially limit size of requests.
33318
0b1cbaae
L
333192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33320
33321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33322 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33323 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33324 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33325 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33326 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33327 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33328 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33331 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33332 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33333 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33334 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33335 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33337 Enable unaligned load optimization for Intel Core i3, i5 and i7
33338 processors.
33339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33340 Define.
33341 (index_Fast_Unaligned_Load): Define.
33342 (HAS_FAST_UNALIGNED_LOAD): Define.
33343
07f494a0
MP
333442011-06-23 Marek Polacek <mpolacek@redhat.com>
33345
33346 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33347
fa3fc0fe
UD
333482011-06-22 Ulrich Drepper <drepper@gmail.com>
33349
33350 [BZ #12907]
33351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33352 until it is clear that the information is realy needed.
33353 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33354
e12df166
AS
333552011-06-22 Andreas Schwab <schwab@redhat.com>
33356
33357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33358
852eb34d
UD
333592011-06-22 Ulrich Drepper <drepper@gmail.com>
33360
84e2a551
UD
33361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33362 /sys/devices/system/cpu/online if it is usable.
33363
852eb34d
UD
33364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33365 reading the information from the /proc filesystem to once a second.
33366
6e502e19
UD
333672011-06-21 Andreas Jaeger <aj@suse.de>
33368
33369 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33370 NULL after inclusion of kernel headers.
33371
75d39ff2
UD
333722011-06-21 Ulrich Drepper <drepper@gmail.com>
33373
51f9aa6a
UD
33374 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33375 calls to internal_setent.
33376
c0244a9d
UD
33377 [BZ #12885]
33378 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33379 addresses using gethostbyname4_r ignore IPv4 addresses.
33380
c5e3c2ae
UD
33381 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33382 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33383
75d39ff2
UD
33384 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33385
42675c6f
DM
333862011-06-20 David S. Miller <davem@davemloft.net>
33387
33388 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33389 inclusions.
33390 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33391
33392 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33393 (elf_irel): Use it.
33394 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33395 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33396 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33397 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33398 * sysdeps/x86_64/dl-irel.h: Likewise.
33399
33400 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33401 * elf/dl-sym.c: Likewise.
33402
57912a71
UD
334032011-06-15 Ulrich Drepper <drepper@gmail.com>
33404
33405 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33406 need to dereference resplen2.
33407
ee22793d
AS
334082011-06-14 Andreas Schwab <schwab@redhat.com>
33409
33410 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33411
a9e836b0
UD
334122011-06-15 Ulrich Drepper <drepper@gmail.com>
33413
77fb9117
UD
33414 * Makeconfig: Define vardbdir and inst_vardbdir.
33415 * nss/Makefile: Add rules to install db-Makefile.
33416
40c1b22c
UD
33417 * nss/nss_db/db-XXX.c: Cleanup.
33418
9f2da732
UD
33419 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33420 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33421 GLIBC_PRIVATE.
33422 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33423 * nss/makedb.c: Implement -g option to specify that value strings
33424 are generated and should not be added to table iterated over for
33425 get*ent calls.
33426 * nss/nss_db/db-initgroups.c: New file.
33427
82e9a1f7
UD
33428 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33429 interface.
33430
c41af17e
UD
33431 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33432 (internal_getgrouplist): Adjust to name change.
33433 Update use_initgroups_entry if this is not the first call.
33434 * nss/databases.def: Add initgroups entry.
33435
a9e836b0
UD
33436 * nss/makedb.c (compute_tables): Check result of multiple hash table
33437 sizes to minimize maximum chain length.
33438
2666d441
UD
334392011-06-14 Ulrich Drepper <drepper@gmail.com>
33440
33441 * Versions.def: Add entry for libnss_db.
33442 * shlib-versions: Likewise.
33443 * nss/Makefile: Add rules to build libnss_db.
33444 * nss/Versions: Add libnss_db information. Organize libnss_files
33445 entries better.
33446 * nss/db-Makefile: Add gshadow support. Change rules for the new
33447 makedb progra. Some minor improvements to generate smaller files.
33448 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33449 here from...
33450 * nss/makedb.c: ...here.
33451 Improve database format to be smaller and require less memory at
33452 runtime.
33453 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33454 db anymore.
33455 * nss/nss_db/db-netgrp.c: Likewise.
33456 * nss/nss_db/db-open.c: Likewise.
33457 * nss/nss_files/flies-XXX.x: Adjust comments.
33458 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33459 * nss/nss_files/files-grp.c: Likewise.
33460 * nss/nss_files/files-hosts.c: Likewise.
33461 * nss/nss_files/files-network.c: Likewise.
33462 * nss/nss_files/files-proto.c: Likewise.
33463 * nss/nss_files/files-pwd.c: Likewise.
33464 * nss/nss_files/files-rpc.c: Likewise.
33465 * nss/nss_files/files-service.c: Likewise.
33466 * nss/nss_files/files-sgrp.c: Likewise.
33467 * nss/nss_files/files-spwd.c: Likewise.
33468 * nss/nss_db/db-alias.c: Removed.
33469 * nss/nss_db/dummy-db.h: Removed.
33470
9ee76b5a
UD
334712011-06-02 Ulrich Drepper <drepper@gmail.com>
33472
33473 * nss/makedb.c: Rewritten to not use database library.
33474 * nss/Makefile: Update to build new makedb program.
33475
c71ca1f8
AJ
334762011-06-14 Andreas Jaeger <aj@suse.de>
33477
33478 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33479 memset declaration.
33480
3154bfb8
UD
334812011-06-10 Andreas Schwab <schwab@redhat.com>
33482
33483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33484 tmpbuf.
33485
b350afab
RM
334862011-06-10 Roland McGrath <roland@hack.frob.com>
33487
decd4e50
RM
33488 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33489 * elf/Makefile ($(objpfx)ld.so): Likewise.
33490
5615eaf2
RM
33491 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33492 Don't list ld.so twice in dependencies.
33493
33494 * posix/bug-regex31.c: Include <stdlib.h>.
33495
33496 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33497
33498 * nis/nss_compat/compat-spwd.c
33499 (getspent_next_nss_netgr): Remove unused variable.
33500 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33501
33502 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33503 nonmembers" output to use the right array.
33504
33505 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33506
33507 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33508
33509 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33510 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33511 * catgets/gencat.c (read_input_file): Likewise.
33512 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33513
33514 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33515 variable definition inside #if's controlling its use.
33516
33517 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33518
33519 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33520
33521 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33522
33523 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33524 unreachable code.
33525
33526 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33527
b68e08db
RM
33528 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33529 * configure: Regenerated.
33530
b350afab
RM
33531 * Makerules: Revert last change.
33532 * elf/Makefile: Likewise.
33533
28368601
RM
335342011-06-09 Roland McGrath <roland@hack.frob.com>
33535
33536 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33537 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33538 (reloc-link): Likewise.
33539
11988f8f
UD
335402011-06-09 Ulrich Drepper <drepper@gmail.com>
33541
33542 * elf/Makefile: Add rules to build pldd.
33543 * elf/pldd.c: New file.
33544 * elf/pldd-xx.c: New file.
33545
e80fab37
UD
335462011-06-07 Ulrich Drepper <drepper@gmail.com>
33547
33548 * version.h: Update for 2.15 development version.
33549
9b849836
DM
335502011-06-07 David S. Miller <davem@davemloft.net>
33551
33552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33553 ifuncs.
33554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33555 elf_machine_lazy_rel): Likewise.
33556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33558 elf_machine_lazy_rel): Likewise.
33559 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33560 dl_hwcap via passed in argument.
33561 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33562 Likewise.
33563
5a31b283
AK
335642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33565
33566 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33567
069e52f8
RM
335682011-06-06 Roland McGrath <roland@hack.frob.com>
33569
33570 [BZ #12849]
33571 * manual/fdl-1.1.texi: New file, verbatim from:
33572 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33573 * manual/lgpl-2.1.texi: New file, verbatim from:
33574 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33575 * manual/Makefile (licenses): New variable, list those new file names.
33576 (texis): Use it.
33577 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33578
33579 * manual/fdl.texi: File removed.
33580 * manual/lesser.texi: File removed.
33581 * manual/libc.texinfo (Copying, Documentation License):
33582 Use new @include file names, put @appendix directive before @include.
33583
f16846a5
JJ
335842011-06-04 Jakub Jelinek <jakub@redhat.com>
33585
33586 [BZ #12841]
33587 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33588 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33589 (mq_open): Add __NTH.
33590
3d29045b
L
335912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33592
33593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33594 Assume Intel Core i3/i5/i7 processor if AVX is available.
33595
8c297311
UD
335962011-05-31 Ulrich Drepper <drepper@gmail.com>
33597
33598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33599 typo.
33600
c8fc0c91
UD
336012011-05-31 Andreas Schwab <schwab@redhat.com>
33602
33603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33604 memory. Use alloca_account. Fix memory leak when retrying.
33605
5b27a807
UD
336062011-05-31 Ulrich Drepper <drepper@gmail.com>
33607
356f8bc6
UD
33608 * version.h (RELEASE): Bump for 2.14 release.
33609 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33610
5b27a807
UD
33611 * config.make.in (RANLIB): Remove entry.
33612
01f16ab0
UD
336132011-05-30 Ulrich Drepper <drepper@gmail.com>
33614
41fce8bd
UD
33615 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33616 (libc.pot): Work around missing support for .ksh extension in xgettext.
33617
4769ae77
UD
33618 [BZ #12684]
33619 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33620 if both request failed.
33621 (send_dg): In case of server errors clear resplen or *resplen2.
33622
6b1e7d19
UD
33623 [BZ #12454]
33624 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33625 when there are multiple maps.
33626 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33627 (_dl_fini): Remove test here.
33628
01f16ab0
UD
33629 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33630
b1ebd700
UD
336312011-05-29 Ulrich Drepper <drepper@gmail.com>
33632
7ae22829
UD
33633 [BZ #12350]
33634 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33635 bit from old_res_options.
33636 (gaih_inet): Likewise.
33637
553149f6 33638 [BZ #11099]
18a84741 33639 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33640 as signed.
33641
652ffab1
UD
33642 * resolv/res_init.c (res_setoptions): Make the code more compact.
33643
16985fd0
UD
33644 [BZ #11558]
33645 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33646 set RES_USEVC.
33647
0464f746
UD
33648 [BZ #11634]
33649 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33650
7d17596c
UD
33651 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33652
cf6bbbd7
UD
33653 [BZ #11781]
33654 * malloc/malloc.h: Declare malloc hook variables as volatile.
33655
13f1ab36
UD
33656 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33657 in last patch.
33658
b1ebd700
UD
33659 [BZ #11799]
33660 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33661 raise in the comment.
80e2212d
UD
33662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33664 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33665
ce67228d
UD
336662011-05-28 Ulrich Drepper <drepper@gmail.com>
33667
8887a920
UD
33668 [BZ #12811]
33669 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33670 grow the buffers more if it already has to be sufficient.
33671 (build_wcs_upper_buffer): Likewise.
33672 * posix/regexec.c (check_matching): Likewise.
33673 (clean_state_log_if_needed): Likewise.
33674 (extend_buffers): Don't enlarge buffers beyond size of the input
33675 buffer.
33676 Patches mostly by Emil Wojak <emil@wojak.eu>.
33677 * posix/bug-regex32.c: New file.
33678 * posix/Makefile (tests): Add bug-regex32.
33679
4f031072
UD
33680 * locale/findlocale.c (_nl_find_locale): Return right away if
33681 _nl_explode_name failed.
33682 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33683
d0478f0c
UD
33684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33685
de81b246
UD
33686 * debug/xtrace.sh: Unify messages.
33687 * malloc/memusage.sh: Likewise.
33688
c738465a
UD
33689 [BZ #12813]
33690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33691 time symbol from vDSO. Substitute with vsyscall if not available.
33692 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33693 __vdso_time.
33694
f1f929d7
UD
33695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33696 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33697 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33698 Add sendmmsg and internal_sendmmsg.
33699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33702
ce67228d
UD
33703 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33704 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33706
e57420c6
UD
337072011-05-27 Ulrich Drepper <drepper@gmail.com>
33708
a8509ca5
UD
33709 [BZ #12813]
33710 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33711 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33712 available.
33713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33714 __vdso_getcpu.
33715
e57420c6
UD
33716 [BZ #12814]
33717 * iconvdata/Makefile (tests): Add bug-iconv9.
33718 * iconvdata/bug-iconv9.c: New file.
33719
4d07db15
AS
337202011-05-27 Andreas Schwab <schwab@redhat.com>
33721
33722 [BZ #12814]
33723 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33724
ea486f69
JJ
337252011-05-25 Jakub Jelinek <jakub@redhat.com>
33726
33727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33728 (struct user_regs_struct): Change intcs field back to cs.
33729
6f038433
UD
337302011-05-25 Ulrich Drepper <drepper@gmail.com>
33731
33732 * po/ja.po: Update from translation team.
33733
67f86a25
UD
337342011-05-23 Ulrich Drepper <drepper@gmail.com>
33735
33736 [BZ #12795]
33737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33739
def7fbd6
AS
337402011-05-20 Andreas Schwab <schwab@redhat.com>
33741
33742 * stdlib/longlong.h: Update from GCC.
33743
f50ef8f1
AS
337442011-05-23 Andreas Schwab <schwab@redhat.com>
33745
33746 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33747 parameter name.
33748 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33749 Add parameter name.
33750 (__sysconf): Pass it down.
33751
de7ce8f1
UD
337522011-05-22 Ulrich Drepper <drepper@gmail.com>
33753
f2962a71
UD
33754 [BZ #12671]
33755 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33756 some situations.
33757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33758 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33759 add in in __libc_use_alloca calls. Adjust callers.
33760 (glob): Use malloc in some situations.
33761
de7ce8f1
UD
33762 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33763 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33764 pltexit.
33765
aec84f53
UD
337662011-05-21 Ulrich Drepper <drepper@gmail.com>
33767
05bb4a68
UD
33768 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33769 and CLOCK_BOOTTIME_ALARM.
33770
7ea72f99
UD
33771 [BZ #12782]
33772 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33773 is returned.
33774
7e4afad5
UD
33775 * string/_strerror.c (__strerror_r): Print negative errors as signed
33776 numbers.
33777
8e211fec
UD
33778 [BZ #12777]
33779 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33780 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33781 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33782
f7d82dc9
UD
33783 * configure.in: Fix typo in redirection and correct removal of test
33784 files in two cases.
33785
cc9e536d
UD
33786 [BZ #12788]
33787 * locale/setlocale.c (new_composite_name): Fix test to check for
33788 identical name of all categories.
33789
aec84f53
UD
33790 [BZ #12792]
33791 * libio/filedoalloc.c (local_isatty): New function.
33792 (_IO_file_doallocate): Use local_isatty.
33793 * stdio-common/perror.c (perror): In case a new stream is used
33794 forward the stream error.
33795 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33796 error flag.
33797
78e64fdc
RT
337982011-05-20 Ulrich Drepper <drepper@gmail.com>
33799
34a9094f
UD
33800 [BZ #11869]
33801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33802 alloca.
33803 * include/alloca.h (extend_alloca_account): Define.
33804
78e64fdc
RT
33805 [BZ #11857]
33806 * posix/regex.h: Fix comments with documentation of user-accessible
33807 fields after compilation and describe correct free'ing of pattern
33808 after re_compile_pattern.
33809 Patch by Reuben Thomas <rrt@sc3d.org>.
33810
457bddfc
RA
338112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33812
33813 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33814 and -mno-altivec to prevent the compiler from using Altivec and/or
33815 VSX instructions when the corresponding registers are not available.
33816
a4527b51
AS
338172011-05-19 Andreas Schwab <schwab@redhat.com>
33818
33819 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33820
ed690b2f
UD
338212011-05-19 Ulrich Drepper <drepper@gmail.com>
33822
33823 * libio/freopen.c (freopen): Use __dup2, not dup2.
33824 * libio/freopen64.c (freopen64): Likewise.
33825
8db73634
L
338262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33827
33828 [BZ #12775]
33829 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33830 * math/Makefile (tests): Add test-powl.
33831 (CFLAGS-test-powl.c): Define.
33832 * math/test-powl.c: New file.
33833
0a197a9d
L
338342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33835
33836 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33837
ee30c380
UD
338382011-05-17 Ulrich Drepper <drepper@gmail.com>
33839
33840 [BZ #11837]
33841 * iconvdata/gb18030.c: Update to GB18020-2005.
33842
6ce75379
UD
338432011-05-16 Ulrich Drepper <drepper@gmail.com>
33844
a4b89fd8
AR
33845 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33846 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33847 Patch by Aharon Robbins <arnold@skeeve.com>.
33848
ea389b12
UD
33849 [BZ #11892]
33850 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33851 on the stack.
33852
68a3f91f
UD
33853 [BZ #11895]
33854 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33855 through underflows.
33856
15cc7dd1
UD
33857 [BZ #12766]
33858 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33859 point to strings before performing equality test for error_one_per_line
33860 mode.
33861
f3799213
UD
33862 [BZ #11697]
33863 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33864
d79a9c94
UD
33865 [BZ #11820]
33866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33867 (struct user_fpregs_struct): Avoid __uint*_t types.
33868
56e5eb46
UD
33869 [BZ #6420]
33870 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33871 symbol info. Use it instead of calling _dl_addr locally.
33872 (lock_and_info): New function.
33873 (tr_freehook): Call lock_and_info and pass symbol info as additional
33874 parameter to tr_where.
33875 (tr_mallochook): Likewise.
33876 (tr_reallochook): Likewise.
33877 (tr_memalignhook): Likewise.
33878
6ce75379
UD
33879 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33880 used and couldn't be at all thread-safe.
33881
f8a3b5bf
UD
338822011-05-15 Ulrich Drepper <drepper@gmail.com>
33883
94b7cc37
UD
33884 * libio/freopen.c (freopen): Don't close old file descriptor
33885 before the new one is opened. Instead dup the new file descriptor
33886 to the old one after the new stream is created.
33887 * libio/freopen64.c (freopen64): Likewise.
33888 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33889 * libio/fileops.c (_IO_new_file_close_it): Handle new
33890 _IO_FLAGS2_NOCLOSE flag.
33891 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33892 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33893 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33894 _IO_FLAGS2_NOCLOSE flag.
33895 * include/unistd.h: Add hidden_proto for dup3.
33896 Define __have_dup3.
33897 * io/dup3.c: Define hidden symbol.
33898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33899
bd25564e
UD
33900 [BZ #7101]
33901 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33902 when an incomplete long option is used.
33903 * posix/tst-getopt_long1.c: New file.
33904 * posix/Makefile (tests): Add tst-getopt_long1.
33905
c84cfef4
UD
33906 [BZ #10138]
33907 * scripts/config.guess: Update from autoconf-2.68.
33908 * scripts/config.sub: Likewise.
33909
3b85df27
UD
33910 [BZ #10157]
33911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33912 tests into ...
33913 (has_cpuclock): ...this. New function.
33914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33915 macro here based on has_cpuclock code.
33916
15a856b1
UD
33917 [BZ #10149]
33918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33919 First byte (not low byte) is now always NUL.
33920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33921
05f399e6
UD
33922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33923 Use non-cancelable interfaces.
33924
10a52685 33925 [BZ #9809]
94ecc67d
UD
33926 * locale/iso-639.def: Add entry for Sorani.
33927
f8a3b5bf
UD
33928 [BZ #11901]
33929 * include/stdlib.h: Move include protection to the right place.
33930 Define abort_msg_s. Declare __abort_msg with it.
33931 * stdlib/abort.c (__abort_msg): Adjust type.
33932 * assert/assert.c (__assert_fail_base): New function. Majority
33933 of code from __assert_fail. Allocate memory for __abort_msg with
33934 mmap.
33935 (__assert_fail): Now call __assert_fail_base.
33936 * assert/assert-perr.c: Remove bulk of implementation. Use
33937 __assert_fail_base.
33938 * include/assert.hL Declare __assert_fail_base.
33939 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33940 mmap.
33941 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33942
1af4e298
UD
339432011-05-14 Ulrich Drepper <drepper@gmail.com>
33944
f8a3b5bf 33945 [BZ #11952]
d26dfc60
MG
33946 [BZ #12453]
33947 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33948 until all modules are registered in the DTV.
33949 * elf/Makefile: Add rules to build and run tst-tls19.
33950 * elf/tst-tls19.c: New file.
33951 * elf/tst-tls19mod1.c: New file.
33952 * elf/tst-tls19mod2.c: New file.
33953 * elf/tst-tls19mod3.c: New file.
33954 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33955
2fc54d6f
UD
33956 [BZ #12083]
33957 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33958 correctly.
33959
98d76b46
UD
33960 [BZ #12601]
33961 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33962 two-byte sequence errors.
33963 * iconvdata/Makefile (tests): Add bug-iconv8.
33964 * iconvdata/bug-iconv8.c: New file.
33965
da3c19ef
UD
33966 [BZ #12626]
33967 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33968 buf2 definition.
33969
ca408c15
UD
33970 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33971
d6f67f7d
UD
33972 [BZ #12432]
33973 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33974 (dummy_getcfa): New function.
33975 (init): Get _Unwind_GetCFA address, use dummy if not found.
33976 (backtrace_helper): In recursion check, also check whether CFA changes.
33977 (__backtrace): Completely initialize arg.
33978
1af4e298 33979 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33980 storing incomplete byte sequence in state object. Avoid testing for
33981 guaranteed too small input if we know there is enough data available.
1af4e298 33982
da62f81b
AS
339832011-05-11 Andreas Schwab <schwab@redhat.com>
33984
33985 * Makeconfig (+link-pie): Indent.
33986 * Rules (binaries-pie): Define if $(have-fpie) and
33987 $(build-shared).
33988 (binaries-shared): Also filter out $(binaries-pie).
33989 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33990 * nscd/Makefile (others-pie): Add nscd.
33991 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33992 ($(objpfx)nscd): Remove command override.
33993 * login/Makefile (others-pie): Add pt_chown.
33994 ($(objpfx)pt_chown): Remove command override.
33995 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33996 remove command overrides.
33997
fcabc0f8
UD
339982011-05-13 Ulrich Drepper <drepper@gmail.com>
33999
20030ae6
UD
34000 * libio/tst_putwc.c: Fix error messages.
34001
fcabc0f8
UD
34002 [BZ #12724]
34003 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34004 currently writing and seek to current position when not.
34005 * libio/Makefile (tests): Add bug-fclose1.
34006 * libio/bug-fclose1.c: New file.
34007
320a5dc0
PB
340082011-05-12 Ulrich Drepper <drepper@gmail.com>
34009
34010 [BZ #12511]
34011 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34012 don't set DF_1_NODELETE here.
34013 (do_lookup_x): When entering new entry test for copy relocation
34014 and if necessary set DF_1_NODELETE flag.
34015 * elf/tst-unique4.cc: New file.
34016 * elf/tst-unique4.h: New file.
34017 * elf/tst-unique4lib.cc: New file.
34018 * elf/Makefile: Add rules to build and run tst-unique4.
34019 Patch by Piotr Bury <pbury@goahead.com>.
34020
22836f52
UD
340212011-05-11 Ulrich Drepper <drepper@gmail.com>
34022
f574184a
UD
34023 [BZ #12052]
34024 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34025
e1fb097f
UD
34026 [BZ #12625]
34027 * misc/mntent_r.c (addmntent): Flush the stream after the output
34028
22836f52
UD
34029 [BZ #12393]
34030 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34031 (is_trusted_path_normalize): Skip initial colon. Append slash
34032 to empty buffer. Duplicate is_trusted_path code but allow
34033 constructed patch to be prefix.
34034 (is_dst): Allow $ORIGIN followed by /.
34035 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34036 Correct testing of result of is_trusted_path_normalize
34037 (decompose_rpath): Fix warning.
34038
7b3b0b2a
UD
340392011-05-10 Ulrich Drepper <drepper@gmail.com>
34040
34041 [BZ #11257]
34042 * grp/initgroups.c (internal_getgrouplist): When we found the service
34043 list through the initgroups entry in nsswitch.conf do not always
34044 continue on a successful lookup. Don't always use the
eac80ce2 34045 __nss_group_database value if it is set.
7b3b0b2a
UD
34046 * nss/nsswitch.conf (initgroups): Change action for successful db
34047 lookup to continue for compatibility.
34048
2a81eaa5
UD
340492011-05-09 Ulrich Drepper <drepper@gmail.com>
34050
be97a69e
UD
34051 [BZ #11532]
34052 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34053 and CP774 modules.
34054 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34055 and CP774 modules.
34056 * iconvdata/tst-tables.sh: Likewise.
34057 * iconvdata/cp770.c: New file.
34058 * iconvdata/cp771.c: New file.
34059 * iconvdata/cp772.c: New file.
34060 * iconvdata/cp773.c: New file.
34061 * iconvdata/cp774.c: New file.
34062 * iconvdata/testdata/CP770: New file.
34063 * iconvdata/testdata/CP770..UTF8: New file.
34064 * iconvdata/testdata/CP771: New file.
34065 * iconvdata/testdata/CP771..UTF8: New file.
34066 * iconvdata/testdata/CP772: New file.
34067 * iconvdata/testdata/CP772..UTF8: New file.
34068 * iconvdata/testdata/CP773: New file.
34069 * iconvdata/testdata/CP773..UTF8: New file.
34070 * iconvdata/testdata/CP774: New file.
34071 * iconvdata/testdata/CP774..UTF8: New file.
34072
34073 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34074 END CHARMAP line.
34075 * iconvdata/gen-8bit-gap.sh: Likewise.
34076 * iconvdata/gen-8bit.sh: Likewise.
34077
c1e9e399
UD
34078 * locale/iso-639.def: Add ary entry.
34079
24c55fb3 34080 [BZ #11258]
96b4b1b0
UD
34081 * locale/C-translit.h.in: Add U20A1 transliteration.
34082
bdc2f971
KB
34083 [BZ #12178]
34084 * locale/iso-639.def: Add wae entry.
34085 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34086
2952b117
UD
34087 [BZ #12545]
34088 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34089 for n.
34090
2a81eaa5
UD
34091 [BZ #12711]
34092 * locale/C-translit.h.in: Add entry for U20B9.
34093 Patch by pravin.d.s@gmail.com.
34094
28377d1b
UD
340952011-05-08 Ulrich Drepper <drepper@gmail.com>
34096
7fb90fb8
UD
34097 [BZ #12713]
34098 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34099 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34100 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34101 in rtld. Use *stat64.
7fb90fb8 34102 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34103 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34104 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34105 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34106 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34107 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34108 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34109 __fstatat64 macros.
7fb90fb8
UD
34110 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34111 * dirent/rewinddir.c: Add libc_hidden_def.
34112 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34113 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34114
28377d1b
UD
34115 * include/dirent.h (__alloc_dir): Add flags parameter.
34116 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34117 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34118 __alloc_dir.
34119 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34120 from fdopendir if O_CLOEXEC is already set.
34121
66bdbaa4
AM
341222011-03-15 Alan Modra <amodra@gmail.com>
34123
34124 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34125 l_tls_firstbyte_offset non-zero. Save padding offset in
34126 l_tls_firstbyte_offset for later use.
34127 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34128 freeing static tls block.
34129
95721191
JN
341302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34131
34132 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34133 where #ifdef was intended. The intent is to prevent ARG_MAX from
34134 being defined by the kernel headers.
34135
f87dfb1f
UD
341362011-05-07 Ulrich Drepper <drepper@gmail.com>
34137
34138 [BZ #12734]
34139 * resolv/resolv.h: Define RES_NOTLDQUERY.
34140 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34141 no-tld-query and set RES_NOTLDQUERY.
34142 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34143 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34144 modern BIND to search name as TLD unless forbidden.
34145
47c3cd7a
UD
341462011-05-07 Petr Baudis <pasky@suse.cz>
34147 Ulrich Drepper <drepper@gmail.com>
34148
34149 [BZ #12393]
34150 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34151 (is_trusted_path): ...to here.
c1e9ea35 34152 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34153 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34154 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34155
8a35c912
PP
341562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34157
34158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34159 __BEGIN/__END_DECLS.
34160
acd41f47
UD
341612011-05-06 Ulrich Drepper <drepper@gmail.com>
34162
34163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34164 NSS_STATUS_NOTFOUND if no record was found.
34165
597df647
AS
341662011-05-05 Andreas Schwab <schwab@redhat.com>
34167
34168 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34169 (headers-not-in-tirpc): Remove rpc/netdb.h
34170 * resolv/netdb.h: Revert last change.
34171
b9af1301
PP
341722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34173
34174 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34175 circular dependency between libgcc.a and libc.a.
34176
4e34d5f5
AS
341772011-05-05 Andreas Schwab <schwab@redhat.com>
34178
34179 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34180 * nis/Makefile: Don't install rpcsvc/*.
34181 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34182 instead of <rpc/types.h>.
34183 (MAXHOSTNAMELEN): Define.
34184
00ee369c
AS
341852011-05-03 Andreas Schwab <schwab@redhat.com>
34186
34187 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34188
0b592a30
MB
341892011-04-28 Maciej Babinski <mbabinski@google.com>
34190
34191 [BZ #12714]
34192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34193 gethostbyname4_r when IPv6 results are possible.
34194
6e04cbbe
UD
341952011-05-02 Ulrich Drepper <drepper@gmail.com>
34196
34197 [BZ #12723]
34198 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34199 _PC_PIPE_BUF handling.
34200
e4ecafe0
BH
342012011-04-30 Bruno Haible <bruno@clisp.org>
34202
34203 [BZ #12717]
34204 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34205 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34206 to 'int'.
34207 * inet/getnameinfo.c (getnameinfo): Likewise.
34208
125ee683
UD
342092011-04-29 Ulrich Drepper <drepper@gmail.com>
34210
34211 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34212 to groups setting in database lookup.
34213 * nss/nsswitch.conf: Add initgroups entry.
34214
b722481a
EB
342152011-04-22 Ulrich Drepper <drepper@gmail.com>
34216
34217 [BZ #12685]
34218 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34219 mode string.
34220 Patch by Eric Blake <eblake@redhat.com>.
34221
4df46dbd
L
342222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34223
34224 * sunrpc/Makefile (need-export-routines): Add svc_run.
34225 (routines): Remove svc_run.
34226 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34227 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34228 * sunrpc/svc_run.c (svc_run): Likewise.
34229 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34230
e84142d2
UD
342312011-04-21 Ulrich Drepper <drepper@gmail.com>
34232
34233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34234 problem in reallocation in last patch.
34235
877175d8
UD
342362011-04-20 Ulrich Drepper <drepper@gmail.com>
34237
34238 * sunrpc/Makefile: Move inclusion of Rules.
34239
ab8eed78
UD
342402011-04-19 Ulrich Drepper <drepper@gmail.com>
34241
34242 * nss/nss_files/files-initgroups.c: New file.
34243 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34244 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34245 _nss_files_initgroups_dyn.
34246
e3d8f584
RS
342472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34248
34249 * elf/elf.h (R_ARM_IRELATIVE): Define.
34250
af190f45
UD
342512011-04-19 Ulrich Drepper <drepper@gmail.com>
34252
34253 * po/ru.po: Update from translation team.
34254
53cf59ef
UD
342552011-04-17 Ulrich Drepper <drepper@gmail.com>
34256
34257 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34258 dependencies.
34259
4c559bcd
MF
342602011-02-06 Mike Frysinger <vapier@gentoo.org>
34261
34262 [BZ #12653]
34263 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34264 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34265 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34268
4420675c
AS
342692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34270
34271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34272 differing bytes.
34273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34276
75ea32ab
UD
342772011-04-17 Ulrich Drepper <drepper@gmail.com>
34278
34279 [BZ #12420]
34280 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34281 storing it.
34282 * stdlib/bug-getcontext.c: New file.
34283 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34284
27390476
AK
342852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34286
34287 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34288 instructions into .machine "z9-109".
34289 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34290 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34291
10442705
AK
342922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34293
34294 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34295 between environment variables and auxiliary vector.
34296
7b57bfe5
UD
342972011-04-16 Ulrich Drepper <drepper@gmail.com>
34298
34299 * Makefile: Add rules to build linkobj/libc.so.
34300 * include/libc-symbols.h: Define libc_hidden_nolink.
34301 * include/rpc/auth.h: Mark functions which are to be hidden.
34302 * include/rpc/auth_des.h: Likewise.
34303 * include/rpc/auth_unix.h: Likewise.
34304 * include/rpc/clnt.h: Likewise.
34305 * include/rpc/des_crypt.h: Likewise.
34306 * include/rpc/key_prot.h: Likewise.
34307 * include/rpc/pmap_clnt.h: Likewise.
34308 * include/rpc/pmap_prot.h: Likewise.
34309 * include/rpc/pmap_rmt.h: Likewise.
34310 * include/rpc/rpc_msg.h: Likewise.
34311 * include/rpc/svc.h: Likewise.
34312 * include/rpc/svc_auth.h: Likewise.
34313 * include/rpc/xdr.h: Likewise.
34314 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34315 * nss/Makefile: Likewise.
34316 * sunrpc/Makefile: Don't install headers. Build library with normal
34317 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34318 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34319 for the compat linking library. Remove use of INTDEF/INTUSE.
34320 * sunrpc/auth_none.c: Likewise.
34321 * sunrpc/auth_unix.c: Likewise.
34322 * sunrpc/authdes_prot.c: Likewise.
34323 * sunrpc/authuxprot.c: Likewise.
34324 * sunrpc/clnt_gen.c: Likewise.
34325 * sunrpc/clnt_perr.c: Likewise.
34326 * sunrpc/clnt_raw.c: Likewise.
34327 * sunrpc/clnt_simp.c: Likewise.
34328 * sunrpc/clnt_tcp.c: Likewise.
34329 * sunrpc/clnt_udp.c: Likewise.
34330 * sunrpc/clnt_unix.c: Likewise.
34331 * sunrpc/des_crypt.c: Likewise.
34332 * sunrpc/des_soft.c: Likewise.
34333 * sunrpc/get_myaddr.c: Likewise.
34334 * sunrpc/key_call.c: Likewise.
34335 * sunrpc/key_prot.c: Likewise.
34336 * sunrpc/netname.c: Likewise.
34337 * sunrpc/pm_getmaps.c: Likewise.
34338 * sunrpc/pm_getport.c: Likewise.
34339 * sunrpc/pmap_clnt.c: Likewise.
34340 * sunrpc/pmap_prot.c: Likewise.
34341 * sunrpc/pmap_prot2.c: Likewise.
34342 * sunrpc/pmap_rmt.c: Likewise.
34343 * sunrpc/publickey.c: Likewise.
34344 * sunrpc/rpc_cmsg.c: Likewise.
34345 * sunrpc/rpc_common.c: Likewise.
34346 * sunrpc/rpc_dtable.c: Likewise.
34347 * sunrpc/rpc_prot.c: Likewise.
34348 * sunrpc/rpc_thread.c: Likewise.
34349 * sunrpc/rtime.c: Likewise.
34350 * sunrpc/svc.c: Likewise.
34351 * sunrpc/svc_auth.c: Likewise.
34352 * sunrpc/svc_authux.c: Likewise.
34353 * sunrpc/svc_raw.c: Likewise.
34354 * sunrpc/svc_run.c: Likewise.
34355 * sunrpc/svc_simple.c: Likewise.
34356 * sunrpc/svc_tcp.c: Likewise.
34357 * sunrpc/svc_udp.c: Likewise.
34358 * sunrpc/svc_unix.c: Likewise.
34359 * sunrpc/svcauth_des.c: Likewise.
34360 * sunrpc/xcrypt.c: Likewise.
34361 * sunrpc/xdr.c: Likewise.
34362 * sunrpc/xdr_array.c: Likewise.
34363 * sunrpc/xdr_float.c: Likewise.
34364 * sunrpc/xdr_intXX_t.c: Likewise.
34365 * sunrpc/xdr_mem.c: Likewise.
34366 * sunrpc/xdr_rec.c: Likewise.
34367 * sunrpc/xdr_ref.c: Likewise.
34368 * sunrpc/xdr_sizeof.c: Likewise.
34369 * sunrpc/xdr_stdio.c: Likewise.
34370
e6c61494
UD
343712011-04-10 Ulrich Drepper <drepper@gmail.com>
34372
34373 [BZ #12650]
34374 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34375 * sysdeps/ia64/dl-tls.h: Likewise.
34376 * sysdeps/powerpc/dl-tls.h: Likewise.
34377 * sysdeps/s390/dl-tls.h: Likewise.
34378 * sysdeps/sh/dl-tls.h: Likewise.
34379 * sysdeps/sparc/dl-tls.h: Likewise.
34380 * sysdeps/x86_64/dl-tls.h: Likewise.
34381 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34382
34fe483e
AS
343832011-03-14 Andreas Schwab <schwab@redhat.com>
34384
34385 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34386 rpath element also skip the following colon.
34387 (expand_dynamic_string_token): Add is_path parameter and pass
34388 down to DL_DST_REQUIRED and _dl_dst_substitute.
34389 (decompose_rpath): Call expand_dynamic_string_token with
34390 non-zero is_path. Ignore empty rpaths.
34391 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34392 with zero is_path.
34393
f12a32e6
AS
343942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34395
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34397 Make cancelable.
34398
38a7d692
UD
343992011-04-09 Ulrich Drepper <drepper@gmail.com>
34400
34401 [BZ #12655]
34402 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34403 Patch by Filipe David Manana <fdmanana@apache.org>.
34404
e451d22b
AS
344052011-04-07 Andreas Schwab <schwab@redhat.com>
34406
34407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34408 Maintain aligned stack.
34409 (CHECK_RSP): Remove unused macro.
34410
dedc7c7b
UD
344112011-04-03 Ulrich Drepper <drepper@gmail.com>
34412
34413 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34415
94521213
UD
344162011-04-02 Ulrich Drepper <drepper@gmail.com>
34417
34418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34419
8cb700c0 34420 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34421
0354e355
L
344222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34423
34424 [BZ #12518]
34425 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34426 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34427 * sysdeps/x86_64/memmove.c: New file.
34428 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34429 (memcpy): Renamed to ...
34430 (__new_memcpy): This.
34431 (memcpy): Provide GLIBC_2_14 memcpy.
34432 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34433 (memcpy): Provide GLIBC_2_2_5 memcpy.
34434
8593482f
UD
344352011-04-01 Ulrich Drepper <drepper@gmail.com>
34436
34437 [BZ #12631]
34438 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34439
81a5726b
AS
344402011-03-30 Andreas Schwab <schwab@redhat.com>
34441
34442 * misc/syncfs.c: New file.
34443 * misc/Makefile (routines): Add syncfs.
34444 * posix/unistd.h: Declare syncfs.
34445 * sysdeps/unix/syscalls.list: Add syncfs.
34446
00e5419f
AS
344472011-04-01 Andreas Schwab <schwab@redhat.com>
34448
34449 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34450 open_by_handle_at.
34451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34458
748876bf
UD
344592011-04-01 Ulrich Drepper <drepper@gmail.com>
34460
658e451d
UD
34461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34468
748876bf
UD
34469 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34470 sync_file_range.c with -fexceptions.
34471 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34472 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34473 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34474 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34475 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34478 sync_file_range as cancellation point
34479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34480 now a wrapper around __call_sync_file_range with cancellation handling.
34481 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34483 function name to __call_sync_file_range.
34484 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34485 Add call_sync_file_range.
748876bf 34486
6e63d5e1
AS
344872011-04-01 Andreas Schwab <schwab@redhat.com>
34488
34489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34490 bits/timex.h.
6e63d5e1 34491
46998f74
UD
344922011-04-01 Ulrich Drepper <drepper@gmail.com>
34493
4c1423ed
UD
34494 * iconv/iconv.h: Fix typo in comment.
34495 * io/fcntl.h: Likewise.
34496 * libio/stdio.h: Likewise.
34497 * posix/spawn.h: Likewise.
34498 * posix/unistd.h: Likewise.
34499 * stdlib/stdlib.h: Likewise.
34500 * time/time.h: Likewise.
34501 * wcsmbs/wchar.h: Likewise.
34502
158648c0
UD
34503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34504 open_by_handle): Add.
34505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34506 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34507 Augment a few comments.
34508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34513 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34514 open_by_handle.
34515
46998f74
UD
34516 * io/fcntl.h (AT_EMPTY_PATH): Define.
34517
83fe108b
UD
345182011-03-30 Ulrich Drepper <drepper@gmail.com>
34519
34520 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34521 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34522 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34523 to...
34524 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34525 * Versions.def: Add GLIBC_2.14.
34526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34527 Export.
83fe108b 34528
bb242059
UD
345292011-03-22 Ulrich Drepper <drepper@gmail.com>
34530
34531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34532 round counter.
34533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34534
c97a1282
L
345352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 [BZ #12597]
34538 * string/test-strncmp.c (do_page_test): New function.
34539 (check2): Likewise.
34540 (test_main): Call check2.
34541 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34542
2a115601
UD
345432011-03-20 Ulrich Drepper <drepper@gmail.com>
34544
34545 [BZ #12587]
34546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34547 Handle cache information in CPU leaf 4.
34548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34549
8126d904
UD
345502011-03-18 Ulrich Drepper <drepper@gmail.com>
34551
042c49c6 34552 [BZ #12583]
8126d904
UD
34553 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34554 character representation.
34555 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34556
ccfe366e
RA
345572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34558
34559 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34560 END(__isnan) to END(__isnanf) to match function entry point/label
34561 EALIGN(__isnanf,...).
34562
c6e13027
JJ
345632011-03-10 Jakub Jelinek <jakub@redhat.com>
34564
34565 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34566
33f85a3f
UD
345672011-03-10 Ulrich Drepper <drepper@gmail.com>
34568
028478fa
UD
34569 [BZ #12510]
34570 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34571 copy from the symbol referenced in the relocation to initialize the
34572 used variable.
34573 Patch by Piotr Bury <pbury@goahead.com>.
34574 * elf/Makefile: Add rules to build and tst-unique3.
34575 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34576 * elf/tst-unique3.cc: New file.
34577 * elf/tst-unique3.h: New file.
34578 * elf/tst-unique3lib.cc: New file.
34579 * elf/tst-unique3lib2.cc: New file.
34580
33f85a3f
UD
34581 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34582
03592fc7
MF
345832011-03-10 Mike Frysinger <vapier@gentoo.org>
34584
34585 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34586 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34587 to _start.
03592fc7 34588
6a5ee102
UD
345892011-03-06 Ulrich Drepper <drepper@gmail.com>
34590
34591 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34592 to-be-loaded object along a path to loader is ld.so.
34593
7e4ba49c
HJ
345942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34595 Ulrich Drepper <drepper@gmail.com>
34596
34597 * sysdeps/x86_64/memset.S: After aligning destination, code
34598 branches to different locations depending on the value of
34599 misalignment, when multiarch is enabled. Fix this.
34600
346012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34602
34603 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34604 Set _x86_64_preferred_memory_instruction for AMD processsors.
34605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34606 Set bit_Prefer_SSE_for_memop for AMD processors.
34607
13a804de
UD
346082011-03-04 Ulrich Drepper <drepper@gmail.com>
34609
34610 * libio/fmemopen.c (fmemopen): Optimize a bit.
34611
9d25c392
AS
346122011-03-03 Andreas Schwab <schwab@redhat.com>
34613
34614 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34615
a5543c6a
RM
346162011-03-03 Roland McGrath <roland@redhat.com>
34617
34618 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34619
012d35f7
DM
346202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34621
7e4ba49c 34622 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34623 __bzero_ultra1 instead of __memset_ultra1.
34624
4bff6e01
AS
346252011-02-23 Andreas Schwab <schwab@redhat.com>
34626 Ulrich Drepper <drepper@gmail.com>
34627
34628 [BZ #12509]
34629 * include/link.h (struct link_map): Add l_orig_initfini.
34630 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34631 returning unsuccessfully.
34632 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34633 close of a file loaded at startup, restore the original l_initfini
34634 list.
34635 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34636 list, store the pointer.
34637 * elf/Makefile ($(objpfx)noload-mem): New rule.
34638 (noload-ENV): Define.
34639 (tests): Add $(objpfx)noload-mem.
34640 * elf/noload.c: Include <memcheck.h>.
34641 (main): Call mtrace. Close all opened handles.
34642
f2092faf
AS
346432011-02-17 Andreas Schwab <schwab@redhat.com>
34644
34645 [BZ #12454]
34646 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34647 dependencies are missing.
34648
6c8a2e88
ST
346492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34650
f2092faf 34651 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34652 Hurd needs munmap.
34653 * sysdeps/mach/hurd/ifreq.h: New file.
34654
84a42118
PB
346552011-01-27 Petr Baudis <pasky@suse.cz>
34656 Ulrich Drepper <drepper@gmail.com>
34657
071f805e 34658 [BZ 12445]#
84a42118
PB
34659 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34660 to extend_alloca().
34661 * stdio-common/bug23.c: New file.
34662 * stdio-common/Makefile (tests): Add bug23.
34663
e23fe25b
AS
346642010-09-28 Andreas Schwab <schwab@redhat.com>
34665 Ulrich Drepper <drepper@gmail.com>
34666
34667 [BZ #12489]
34668 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34669 before performing relro protection. At old place add assertion
34670 to make sure nothing changed.
34671
d3f02e10
NS
346722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34673 Glauber de Oliveira Costa <glommer@gmail.com>
34674
34675 * elf/elf.h: Add new ARM TLS relocs.
34676
d55fd7a5
RA
346772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34678
34679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34680 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34681 cast from r3.
34682 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34683 'tests' variable.
34684 * sysdeps/wordsize-64/tst-writev.c: New file.
34685
2206397e
RA
346862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34687
34688 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34689 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34690 insns in _dl_start to prevent a TOC reference before relocs are
34691 resolved.
34692
e9433893
UD
346932011-02-15 Ulrich Drepper <drepper@gmail.com>
34694
34695 [BZ #12469]
34696 * Makeconfig: Remove RANLIB definition.
34697 * Makerules: Don't use RANLIB.
34698 * aclocal.m4: Remove ranlib test.
34699 * configure.in: No need to check for ranlib.
34700 * elf/rtld-Rules: Don't use RANLIB.
34701
f75286c6
ST
347022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34703
8e31c82d
ST
34704 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34705 protection macro.
34706 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34707 inclusion protection macro.
34708
f75286c6
ST
34709 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34710 SIGRTMIN and SIGRTMAX and print information in that case only when
34711 SIGRTMIN is defined.
34712
c1d0e639
JJ
347132011-02-11 Jakub Jelinek <jakub@redhat.com>
34714
34715 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34716 arginfo fn returning -1.
34717
34718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34719 and thousands string is zero terminated.
34720
edf9294e
AS
347212011-02-03 Andreas Schwab <schwab@redhat.com>
34722
34723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34724 sysdeps/unix/sysv/linux/bits/socket.h.
34725
2b7e92df
ST
347262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34727
edf9294e
AS
34728 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34729 (__CPU_COUNT): Remove old macros.
34730 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34731 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34732 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34733 (__sched_cpualloc, __sched_cpufree): Add declarations.
34734
a4c7ea7b
UD
347352011-02-05 Ulrich Drepper <drepper@gmail.com>
34736
34737 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34738 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34739 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34740 (readdhstai): Return value of addhstaiX call.
34741 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34742 (addgrbyX): Return value returned by cache_addgr.
34743 (readdgrbyname): Return value returned by addgrbyX.
34744 (readdgrbygid): Likewise.
34745 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34746 (addpwbyX): Return value returned by cache_addpw.
34747 (readdpwbyname): Return value returned by addhstbyX.
34748 (readdpwbyuid): Likewise.
34749 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34750 (addservbyX): Return value returned by cache_addserv.
34751 (readdservbyname): Return value returned by addservbyX:
34752 (readdservbyport): Likewise.
34753 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34754 (addhstbyX): Return value returned by cache_addhst.
34755 (readdhstbyname): Return value returned by addhstbyX.
34756 (readdhstbyaddr): Likewise.
34757 (readdhstbynamev6): Likewise.
34758 (readdhstbyaddrv6): Likewise.
34759 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34760 (readdinitgroups): Return value returned by addinitgroupsX.
34761 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34762 (prune_cache): Keep track of timeout value of re-added entries.
34763 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34764 * nscd/nscd.h: Adjust prototypes of readd* functions.
34765
a0bf67cc
RM
347662011-02-04 Roland McGrath <roland@redhat.com>
34767
34768 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34769 (nis_stats): Likewise.
34770 * nis/nis_modify.c (nis_modify): Likewise.
34771 * nis/nis_remove.c (nis_remove): Likewise.
34772 * nis/nis_add.c (nis_add): Likewise.
34773
34774 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34775
34776 * posix/fnmatch_loop.c: Add some consts.
34777
34778 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34779
435b95eb
L
347802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34781
34782 [BZ #12460]
34783 * config.make.in (config-cflags-novzeroupper): Define.
34784 * configure.in: Substitute libc_cv_cc_novzeroupper.
34785 * elf/Makefile (AVX-CFLAGS): Define.
34786 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34787 (CFLAGS-tst-auditmod4a.c): Likewise.
34788 (CFLAGS-tst-auditmod4b.c): Likewise.
34789 (CFLAGS-tst-auditmod6b.c): Likewise.
34790 (CFLAGS-tst-auditmod6c.c): Likewise.
34791 (CFLAGS-tst-auditmod7b.c): Likewise.
34792 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34793
8517b15e
UD
347942011-02-02 Ulrich Drepper <drepper@gmail.com>
34795
34796 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34797 function to the callback.
34798 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34799
10a656fe
AS
348002011-02-02 Andreas Schwab <schwab@redhat.com>
34801
34802 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34803 of errno.
34804
968dad0a
UD
348052011-01-19 Ulrich Drepper <drepper@gmail.com>
34806
9f94d2ea 34807 [BZ #11724]
968dad0a
UD
34808 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34809 of constructors.
34810 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34811 of destructors.
34812 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34813
34814 [BZ #11724]
34815 * elf/Makefile: Add rules to build and run new test.
34816 * elf/tst-initorder.c: New file.
34817 * elf/tst-initorder.exp: New file.
34818 * elf/tst-initordera1.c: New file.
34819 * elf/tst-initordera2.c: New file.
34820 * elf/tst-initordera3.c: New file.
34821 * elf/tst-initordera4.c: New file.
34822 * elf/tst-initorderb1.c: New file.
34823 * elf/tst-initorderb2.c: New file.
34824 * elf/tst-order-a1.c: New file.
34825 * elf/tst-order-a2.c: New file.
34826 * elf/tst-order-a3.c: New file.
34827 * elf/tst-order-a4.c: New file.
34828 * elf/tst-order-b1.c: New file.
34829 * elf/tst-order-b2.c: New file.
34830 * elf/tst-order-main.c: New file.
34831 New test case by George Gensure <werkt0@gmail.com>.
34832
86e92359
UD
348332010-10-01 Andreas Schwab <schwab@redhat.com>
34834
34835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34836 decoding ACE if AI_CANONIDN.
34837
5d5732b0
UD
348382011-01-18 Ulrich Drepper <drepper@gmail.com>
34839
34840 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34841
a77e8cbc
UD
348422011-01-17 Ulrich Drepper <drepper@gmail.com>
34843
6392473f
UD
34844 * version.h (RELEASE): Bump for 2.13 release.
34845 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34846
620a0529
UD
34847 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34848
18ba70a5
UD
34849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34850 MADV_NOHUGEPAGE.
32465c3e
UD
34851 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34857
c0dafcf1
UD
34858 * posix/getconf.c: Update copyright year.
34859 * catgets/gencat.c: Likewise.
34860 * csu/version.c: Likewise.
34861 * debug/catchsegv.sh: Likewise.
34862 * debug/xtrace.sh: Likewise.
34863 * elf/ldconfig.c: Likewise.
34864 * elf/ldd.bash.in: Likewise.
34865 * elf/sprof.c (print_version): Likewise.
34866 * iconv/iconv_prog.c: Likewise.
34867 * iconv/iconvconfig.c: Likewise.
34868 * locale/programs/locale.c: Likewise.
34869 * locale/programs/localedef.c: Likewise.
34870 * malloc/memusage.sh: Likewise.
34871 * malloc/mtrace.pl: Likewise.
34872 * nscd/nscd.c (print_version): Likewise.
34873 * nss/getent.c: Likewise.
34874
a77e8cbc
UD
34875 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34876 PF_CAIF, and PF_ALG.
34877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34878
77e8bddf
AS
348792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34880
1f20b93a
AS
34881 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34882 (modules-names): Use them.
34883 (ifunc-test-modules, ifunc-pie-tests): Define.
34884 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34885 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34886 (test-extras): Likewise.
34887 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34888 $(compile-command.c).
34889 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34890 (all-built-dso): Define.
34891 (check-textrel.out, check-execstack.out): Depend on it.
34892
77e8bddf
AS
34893 * configure.in: Don't override --enable-multi-arch.
34894
bc425b33
UD
348952011-01-15 Ulrich Drepper <drepper@gmail.com>
34896
34897 [BZ #6812]
34898 * nscd/hstcache.c (tryagain): Define.
34899 (cache_addhst): Return tryagain not notfound for temporary errors.
34900 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34901 failed.
34902
794c3ad3
UD
349032011-01-14 Ulrich Drepper <drepper@gmail.com>
34904
70181fdd
UD
34905 [BZ #10563]
34906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34907 to make the syscall.
34908 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34909
794c3ad3
UD
34910 [BZ #12378]
34911 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34912 and fall back to matching as normal character if the string ends before
34913 the matching ']' is found. This is what POSIX requires.
34914 * posix/testfnm.c: Adjust test result.
34915 * posix/globtest.sh: Adjust test result. Add new test.
34916 * posix/tst-fnmatch.input: Likewise.
34917 * posix/tst-fnmatch2.c: Add new test.
34918
68dc9497
AS
349192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34920
34921 * elf/Makefile (check-execstack): Revert last change. Depend on
34922 check-execstack.h.
34923 (check-execstack.h): New target.
34924 (generated): Add check-execstack.h.
34925 * elf/check-execstack.c: Include "check-execstack.h".
34926 (main): Revert last change.
34927 (handle_file): Return zero if GNU_STACK is absent and
34928 DEFAULT_STACK_PERMS doesn't include PF_X.
34929
451f001b
UD
349302011-01-13 Ulrich Drepper <drepper@gmail.com>
34931
cfa28e56
UD
34932 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34933 in child fails because the descriptor is already closed.
8cf8ce17
UD
34934 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34935 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34937
1086d70d
UD
34938 [BZ #12397]
34939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34940 syscall.
34941
451f001b
UD
34942 [BZ #10484]
34943 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34944 temporary buffer used to handle multi lookups locally.
a85b5cb4 34945 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34946
08769175
UD
349472011-01-12 Ulrich Drepper <drepper@gmail.com>
34948
34949 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34950 loader is ld.so.
34951
5e49c52e
UD
349522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34953
34954 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34955 alignment for SSE2.
34956
60522a5f
UD
349572011-01-12 Ulrich Drepper <drepper@gmail.com>
34958
34959 [BZ #12394]
34960 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34961 characters. When rounding increased number of integer digits recompute
34962 number of groups.
34963 * stdio-common/tst-grouping.c: New file.
34964 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34965
f257bbd7
UD
349662011-01-09 Ulrich Drepper <drepper@gmail.com>
34967
34968 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34969 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34970
34971 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34972 void.
34973 * bits/select.h: Likewise.
34974
fa9c15cb
UD
349752011-01-08 Ulrich Drepper <drepper@gmail.com>
34976
34977 * po/ja.po: Update from translation team.
34978
16c2895f
DM
349792011-01-04 David S. Miller <davem@sunset.davemloft.net>
34980
34981 [BZ #11155]
34982 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34983 implementation just like for lxstat, fxstatat, et al.
34984
2543fef2
JM
349852010-12-27 Jim Meyering <meyering@redhat.com>
34986
34987 [BZ #12348]
34988 * posix/regexec.c (build_trtable): Return failure indication upon
34989 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34990
98727dbe
UD
349912010-12-25 Ulrich Drepper <drepper@gmail.com>
34992
5bd6dc5c
UD
34993 [BZ #12201]
34994 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34995 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34998
97983464
UD
34999 [BZ #12207]
35000 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35001
98727dbe
UD
35002 [BZ #12204]
35003 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35004 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35005
4a531bb0
L
350062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35007
35008 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35009 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35010 script has SORT_BY_INIT_PRIORITY.
35011 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35012 NO_CTORS_DTORS_SECTIONS is defined.
35013 * elf/soinit.c: Likewise.
35014 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35015 NO_CTORS_DTORS_SECTIONS is defined.
35016 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35017 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35018 * sysdeps/sh/init-first.c: Likewise.
35019 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35020
07eb4b71
UD
350212010-12-24 Ulrich Drepper <drepper@gmail.com>
35022
35023 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35024 always use the slow path.
35025
30950a5f
RA
350262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35027
35028 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35029 similar rule which adds the sysdep directories to the header search in
35030 order to pick up the correct platform stackinfo.h.
35031 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35032 perform test if it is, otherwise return successfully without testing.
35033 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35034 DEFAULT_STACK_PERMS define in stackinfo.h.
35035 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35036 defined in stackinfo.h.
35037 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35038 DEFAULT_STACK_PERMS defined in stackinfo.h.
35039 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35040 * sysdeps/ia64/stackinfo.h: Likewise.
35041 * sysdeps/s390/stackinfo.h: Likewise.
35042 * sysdeps/sh/stackinfo.h: Likewise.
35043 * sysdeps/sparc/stackinfo.h: Likewise.
35044 * sysdeps/x86_64/stackinfo.h: Likewise.
35045 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35046 PF_X for powerpc64. Retain PF_X for powerpc32.
35047
db753e2c
UD
350482010-12-19 Ulrich Drepper <drepper@gmail.com>
35049
14b697f7
UD
35050 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35051 accurately.
db753e2c
UD
35052 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35053 GETDENTS_64BIT_ALIGNED.
35054
28300719
UD
350552010-12-14 Ulrich Drepper <dreper@gmail.com>
35056
14b697f7 35057 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35058
4f197237
AS
350592010-12-10 Andreas Schwab <schwab@redhat.com>
35060
dbb0472f
AS
35061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35062 _GNU_SOURCE.
35063
4f197237
AS
35064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35065 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35066 Remove __restrict.
35067 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35068 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35069
fb88ac72
UD
350702010-12-09 Ulrich Drepper <drepper@gmail.com>
35071
35072 [BZ #11655]
35073 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35074 are initialized.
35075
42acbb92
JJ
350762010-12-09 Jakub Jelinek <jakub@redhat.com>
35077
35078 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35079
c038d98d
UD
350802010-12-03 Ulrich Drepper <drepper@gmail.com>
35081
35082 * po/it.po: Update from translation team.
35083
3a4a2499
L
350842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35085
35086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35087 unused codes.
35088
1e24cf6e
UD
350892010-11-30 Ulrich Drepper <drepper@gmail.com>
35090
35091 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35092
a7690819
AS
350932010-11-24 Andreas Schwab <schwab@redhat.com>
35094
35095 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35096 specially.
35097 (gaih_getanswer_slice): Likewise.
35098
3bf8d1b1
JJ
350992010-10-20 Jakub Jelinek <jakub@redhat.com>
35100
35101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35102
6db52fbb
PB
351032010-05-31 Petr Baudis <pasky@suse.cz>
35104
35105 [BZ #11149]
35106 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35107 silently even in the chroot mode.
35108
eaca7569
UD
351092010-11-22 Ulrich Drepper <drepper@gmail.com>
35110
35111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35112 last patch a bit. Pretty printing
35113
3056dcdb
UD
351142010-05-31 Petr Baudis <pasky@suse.cz>
35115
35116 [BZ #10085]
35117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35118 initialization of skip_initgroups_dyn.
35119
cf7c9078
UD
351202010-11-19 Ulrich Drepper <drepper@gmail.com>
35121
35122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35124
a1fb5e3e
UD
351252010-11-16 Ulrich Drepper <drepper@gmail.com>
35126
35127 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35128
3540d66b
AS
351292010-11-11 Andreas Schwab <schwab@redhat.com>
35130
35131 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35132 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35133 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35134 ($(objpfx)tst-fnmatch-mem): New rule.
35135 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35136 * posix/tst-fnmatch.c (main): Call mtrace.
35137
13b69574
L
351382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35141 Support Intel processor model 6 and model 0x2c.
35142
da93d214
LM
351432010-11-10 Luis Machado <luisgpm@br.ibm.com>
35144
35145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35146 signed comparison.
35147
8ca52c6e
L
351482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35149
35150 [BZ #12205]
35151 * string/test-strncasecmp.c (check_result): New function.
35152 (do_one_test): Use it.
35153 (check1): New function.
35154 (test_main): Use it.
35155 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35156 Support strcasecmp and strncasecmp.
35157
69da074d
UD
351582010-11-08 Ulrich Drepper <drepper@gmail.com>
35159
35160 [BZ #12194]
35161 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35163
ff02d528
L
351642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35165
35166 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35167 IFUNC support.
35168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35169 memset-x86-64.
35170 * sysdeps/x86_64/multiarch/bzero.S: New file.
35171 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35172 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35173 * sysdeps/x86_64/multiarch/memset.S: New file.
35174 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35176 Set bit_Prefer_SSE_for_memop for Intel processors.
35177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35178 Define.
35179 (index_Prefer_SSE_for_memop): Define.
35180 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35181
344d0b54
LM
351822010-11-04 Luis Machado <luisgpm@br.ibm.com>
35183
35184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35186
c0dde15b
UD
351872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35188
35189 [BZ #12191]
35190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35191 (__x86_64_raw_data_cache_size_half): Likewise.
35192 (__x86_64_raw_shared_cache_size): Likewise.
35193 (__x86_64_raw_shared_cache_size_half): Likewise.
35194
35195 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35196 (__x86_64_raw_data_cache_size_half): Likewise.
35197 (__x86_64_raw_shared_cache_size): Likewise.
35198 (__x86_64_raw_shared_cache_size_half): Likewise.
35199 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35200 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35201 and __x86_64_raw_shared_cache_size_half. Round
35202 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35203 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35204 to multiple of 256 bytes.
35205
0e516e0e
MS
352062010-11-03 Ulrich Drepper <drepper@gmail.com>
35207
35208 [BZ #12167]
35209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35210 of inacessible symlinks. Verify result of symlink before returning it.
35211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35212 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35213
0e012e87
ER
352142010-10-28 Erich Ritz <erichritz@gmail.com>
35215
35216 * math/math.h (isinf): Fix typo in comment.
35217
de0ff7bc
UD
352182010-11-01 Ulrich Drepper <drepper@gmail.com>
35219
35220 * po/da.po: Update from translation team.
35221
fa41c84d
UD
352222010-10-26 Ulrich Drepper <drepper@gmail.com>
35223
35224 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35225 is added to the list.
35226
f0967738
AK
352272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35228 Ulrich Drepper <drepper@gmail.com>
35229
35230 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35231 the global list here. Move code to...
35232 (_dl_add_to_namespace_list): ...here. New function.
35233 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35234 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35235 * elf/dl-load.c (lose): Don't remove the element from the list.
35236 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35237 (_dl_map_object): Likewise.
35238
352392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35240
35241 [BZ #12159]
35242 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35243 into all bytes of SSE register.
35244 Patch by Richard Li <richardpku@gmail.com>.
35245
f0967738 352462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35247
35248 [BZ #12140]
35249 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35250 perturbing.
35251
d0b9e94f
MB
352522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35253
35254 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35255 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35259 submachine.
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35261
8e9f92e9
AS
352622010-10-22 Andreas Schwab <schwab@redhat.com>
35263
35264 * include/dlfcn.h (__RTLD_SECURE): Define.
35265 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35266 mode & __RTLD_SECURE instead.
35267 (open_path): Rename preloaded parameter to secure.
35268 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35269 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35270 * elf/dl-deps.c (openaux): Likewise.
35271 * elf/rtld.c (struct map_args): Remove is_preloaded.
35272 (map_doit): Don't use it.
35273 (dl_main): Likewise.
35274 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35275 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35276
bc96fbda
AS
352772010-09-09 Andreas Schwab <schwab@redhat.com>
35278
35279 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35280 (sysd-rules-targets): Remove duplicates.
35281 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35282 rtld-%.$o dependency.
35283
22cd1c9b
AS
352842010-10-18 Andreas Schwab <schwab@redhat.com>
35285
35286 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35287 _dl_map_object do it.
35288
18edac48
UD
352892010-10-19 Ulrich Drepper <drepper@gmail.com>
35290
35291 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35292 fast fma builtins, define the macros in the C99 standard.
35293 (FP_FAST_FMAF): Likewise.
35294 (FP_FAST_FMAL): Likewise.
35295 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35296
35297 * bits/mathdef.h: Update copyright year.
35298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35299
d2050124
MM
353002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35301
35302 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35303 builtins, define the macros in the C99 standard.
35304 (FP_FAST_FMAF): Likewise.
35305 (FP_FAST_FMAL): Likewise.
35306 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35307 multiply/add.
35308 (FP_FAST_FMAF): Likewise.
35309
475facd1
JJ
353102010-10-15 Jakub Jelinek <jakub@redhat.com>
35311
35312 [BZ #3268]
35313 * math/libm-test.inc (fma_test): Some new testcases.
35314 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35316 y and infinite z. Do multiplication by C already in long double.
35317 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35319 y and infinite z. Do bitwise or of inexact bit into u.d.
35320 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35321 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35322 * sysdeps/i386/fpu/s_fma.S: Removed.
35323 * sysdeps/i386/fpu/s_fmal.S: Removed.
35324
7c08a05c
JJ
353252010-10-16 Jakub Jelinek <jakub@redhat.com>
35326
35327 [BZ #3268]
35328 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35330 computation is not scheduled after fetestexcept. Fix value
35331 of minimum denormal long double.
35332
f3f7372d
JJ
353332010-10-14 Jakub Jelinek <jakub@redhat.com>
35334
35335 [BZ #3268]
35336 * math/libm-test.inc (fma_test): Add some more tests.
35337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35338 correctly.
35339
14d43591
AS
353402010-10-15 Andreas Schwab <schwab@redhat.com>
35341
35342 * scripts/data/localplt-s390-linux-gnu.data: New file.
35343 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35344
5e908464
JJ
353452010-10-13 Jakub Jelinek <jakub@redhat.com>
35346
35347 [BZ #3268]
35348 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35349 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35350 instead of dbl-64.
35351 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35352 inlines.
35353 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35355 if one of x and y is very large and the other is subnormal.
35356 * sysdeps/s390/fpu/s_fmaf.c: New file.
35357 * sysdeps/s390/fpu/s_fma.c: New file.
35358 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35359 * sysdeps/powerpc/fpu/s_fma.S: New file.
35360 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35361 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35362 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35363
353642010-10-12 Jakub Jelinek <jakub@redhat.com>
35365
35366 [BZ #3268]
35367 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35368 fma tests.
35369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35370 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35371 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35372 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35373 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35376
b833d51f
UD
353772010-10-12 Ulrich Drepper <drepper@redhat.com>
35378
35379 [BZ #12078]
35380 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35381 * posix/bug-regex31.input: Add test case.
35382
1751705d
UD
353832010-10-11 Ulrich Drepper <drepper@gmail.com>
35384
e9b9cbf5
UD
35385 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35386 * posix/bug-regex31.input: New file.
35387
35388 [BZ #12078]
35389 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35390 (parse_sub_exp): Fix last change, use postorder.
35391
ef06edbe
UD
35392 * posix/bug-regex31.c: New file.
35393 * posix/Makefile: Add rules to build and run bug-regex31.
35394
a129c80d
UD
35395 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35396
35397 [BZ #12078]
35398 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35399
b76b818e
UD
35400 [BZ #12108]
35401 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35402 to have entries in sys_siglist.
35403
1751705d
UD
35404 [BZ #12093]
35405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35406 be NULL.
35407
9ff8d36f
JJ
354082010-10-07 Jakub Jelinek <jakub@redhat.com>
35409
35410 [BZ #3268]
35411 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35412 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35413 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35414 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35416 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35417 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35418 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35419 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35420 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35421 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35424 * math/ftestexcept.c (fetestexcept): Likewise.
35425 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35426 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35427 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35428 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35429 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35430 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35432
af325969
UD
354332010-10-11 Ulrich Drepper <drepper@gmail.com>
35434
c579b202 35435 [BZ #12107]
af325969
UD
35436 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35437 newline.
35438
67a67b95
UD
354392010-10-06 Ulrich Drepper <drepper@gmail.com>
35440
35441 * string/bug-strstr1.c: New file.
35442 * string/Makefile: Add rules to build and run bug-strstr1.
35443
5fb308bc
EB
354442010-10-05 Eric Blake <eblake@redhat.com>
35445
35446 [BZ #12092]
35447 * string/str-two-way.h (two_way_long_needle): Always clear memory
35448 when skipping input due to the shift table.
35449
45db99c7
UD
354502010-10-03 Ulrich Drepper <drepper@gmail.com>
35451
3b111893
UD
35452 [BZ #12005]
35453 * malloc/mcheck.c: Handle large requests.
35454
45db99c7
UD
35455 [BZ #12077]
35456 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35457 for strncmp and strncasecmp.
35458 * string/stratcliff.c: Add tests for strcmp and strncmp.
35459 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35460
cf7a1eb8
NI
354612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35462
35463 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35464 __set_fpscr.
35465
6484ba5e
AJ
354662010-09-30 Andreas Jaeger <aj@suse.de>
35467
35468 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35469 (CGROUP_SUPER_MAGIC): Define.
35470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35471 Handle btrfs and cgroup file systems.
35472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35473 Likewise.
35474
91c42559
LM
354752010-09-27 Luis Machado <luisgpm@br.ibm.com>
35476
35477 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35478 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35479
87a97932
AK
354802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35481
35482 [BZ #12067]
35483 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35484 trying to locate the ELF header.
35485
c21cc9bc
AS
354862010-09-27 Andreas Schwab <schwab@redhat.com>
35487
35488 [BZ #11611]
35489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35490 Mask out sign-bit copies when constructing f_fsid.
35491
315970f6
PB
354922010-09-24 Petr Baudis <pasky@suse.cz>
35493
35494 * debug/stack_chk_fail_local.c: Add missing licence exception.
35495 * debug/warning-nop.c: Likewise.
35496
1ac7a2c7
JM
354972010-09-15 Joseph Myers <joseph@codesourcery.com>
35498
35499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35500 implementing getdents64 using getdents syscall, set d_type if
35501 __ASSUME_GETDENTS32_D_TYPE.
35502
56801c50
AS
355032010-09-16 Andreas Schwab <schwab@redhat.com>
35504
35505 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35506 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35507
dda51327
UD
355082010-09-21 Ulrich Drepper <drepper@redhat.com>
35509
35510 [BZ #12037]
35511 * posix/unistd.h: Undo change of feature selection for ftruncate from
35512 2010-01-11.
35513
8ffcee4a
UD
355142010-09-20 Ulrich Drepper <drepper@redhat.com>
35515
a545ecd9 35516 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35517 detection.
35518
e24f0a8b
AS
355192010-09-20 Andreas Schwab <schwab@redhat.com>
35520
35521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35522 fanotify_mark.
35523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35524
7291c56f
AS
355252010-09-14 Andreas Schwab <schwab@redhat.com>
35526
35527 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35528 variables after CHECK_SP call.
35529 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35530
bc5fb037
AS
355312010-09-13 Andreas Schwab <schwab@redhat.com>
35532 Ulrich Drepper <drepper@redhat.com>
35533
35534 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35535 re-relocationg ld.so.
35536 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35537 _dl_init_paths call.
35538 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35539 here anymore.
35540
e66e7419
UD
355412010-09-14 Ulrich Drepper <drepper@redhat.com>
35542
35543 * resolv/res_init.c (__res_vinit): Count the default server we added.
35544
c044aa75
CLT
355452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35546 Ulrich Drepper <drepper@redhat.com>
35547
35548 [BZ #11968]
35549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35550 (____longjmp_chk): Use %ebx for saving value across system call.
35551 Add unwind info.
35552
32cf4069
AS
355532010-09-06 Andreas Schwab <schwab@redhat.com>
35554
35555 * manual/Makefile: Don't mix pattern rules with normal rules.
35556
817328ee
AS
355572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35558
35559 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35560 operation.
35561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35562 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35563 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35564 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35566 Likewise.
35567
29fddf61
UD
355682010-09-04 Ulrich Drepper <drepper@redhat.com>
35569
35570 [BZ #11979]
35571 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35572 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35573
0959ffc9
UD
355742010-09-02 Ulrich Drepper <drepper@redhat.com>
35575
35576 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35577 * sysdeps/x86_64/addmul_1.S: Likewise.
35578 * sysdeps/x86_64/lshift.S: Likewise.
35579 * sysdeps/x86_64/mul_1.S: Likewise.
35580 * sysdeps/x86_64/rshift.S: Likewise.
35581 * sysdeps/x86_64/sub_n.S: Likewise.
35582 * sysdeps/x86_64/submul_1.S: Likewise.
35583
ece29840
ST
355842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35585
0959ffc9
UD
35586 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35587 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35588 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35589 * bits/sched.h [__need_schedparam]
ece29840 35590 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35591 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35592 (__defined_schedparam): Define to 1.
ece29840
ST
35593 (__sched_param): New structure, identical to sched_param.
35594 (__need_schedparam): Undefine.
35595
e53a31fe
MF
355962010-08-31 Mike Frysinger <vapier@gentoo.org>
35597
fdc0c10d
MF
35598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35599 (epoll_create1): Declare.
35600
e53a31fe
MF
35601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35602
a726d796
AS
356032010-08-31 Andreas Schwab <schwab@redhat.com>
35604
35605 [BZ #7066]
35606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35607 shifting retval into place.
35608
2f3e3dc7
UD
356092010-09-01 Ulrich Drepper <drepper@redhat.com>
35610
f2933da9
UD
35611 * nis/rpcsvc/nis.h: Update copyright notice.
35612 * nis/rpcsvc/nis.x: Likewise.
35613 * nis/rpcsvc/nis_callback.h: Likewise.
35614 * nis/rpcsvc/nis_callback.x: Likewise.
35615 * nis/rpcsvc/nis_object.x: Likewise.
35616 * nis/rpcsvc/nis_tags.h: Likewise.
35617 * nis/rpcsvc/yp.h: Likewise.
35618 * nis/rpcsvc/yp.x: Likewise.
35619 * nis/rpcsvc/ypupd.h: Likewise.
35620 * nis/yp_xdr.c: Likewise.
35621 * nis/ypupdate_xdr.c: Likewise.
35622
2f3e3dc7
UD
35623 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35624 mainly the body of pmap_getport. Add parameters to specify timeouts.
35625 (pmap_getport): Use __libc_rpc_getport.
35626 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35627 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35628 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35629
f3dcc2f9
AS
356302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35631
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35633 fanotify_mark.
35634
6d34eb5b
RM
356352010-08-27 Roland McGrath <roland@redhat.com>
35636
35637 * sysdeps/i386/i686/multiarch/Makefile
35638 (CFLAGS-varshift.c): New variable.
35639
9ea3de11
UD
356402010-08-27 Ulrich Drepper <drepper@redhat.com>
35641
c96d23fc
UD
35642 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35643 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35644
9ea3de11
UD
35645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35646
35647 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35648
623aac7f
L
356492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35650
35651 * sysdeps/x86_64/strlen.S: Unroll the loop.
35652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35653 strlen-sse2 strlen-sse2-bsf.
35654 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35655 __strlen_no_bsf if bit_Slow_BSF is set.
35656 (__strlen_sse42): Removed.
35657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35658 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35659
8b2b7715
RM
356602010-08-25 Roland McGrath <roland@redhat.com>
35661
35662 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35663 * sysdeps/x86_64/multiarch/varshift.c: New file.
35664 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35665 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35666 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35667 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35668
e73015f2
L
356692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35670
35671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35672 strlen-sse2 strlen-sse2-bsf.
35673 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35674 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35675 (__strlen_sse2): Removed.
35676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35679 bit_Slow_BSF for Atom.
35680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35681 (index_Slow_BSF): Define.
35682 (HAS_SLOW_BSF): Define.
35683
df24a73e
UD
356842010-08-25 Ulrich Drepper <drepper@redhat.com>
35685
35686 [BZ #10851]
35687 * resolv/res_init.c (__res_vinit): When no server address at all
35688 is given default to loopback.
35689
f2ac4868
RM
356902010-08-24 Roland McGrath <roland@redhat.com>
35691
09055553
RM
35692 * configure.in: Remove config-name.h generation.
35693 * configure: Regenerated.
35694 * config-name.in: File removed.
35695 * scripts/config-uname.sh: New file.
35696 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35697 ($(objdir)config-name.h): New target.
35698
f2ac4868
RM
35699 * sunrpc/rpc_parse.h: Avoid nested comment.
35700
73f27d5e
RH
357012010-08-24 Richard Henderson <rth@redhat.com>
35702 Ulrich Drepper <drepper@redhat.com>
35703 H.J. Lu <hongjiu.lu@intel.com>
35704
35705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35707 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35708 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35709 _mm_alignr_epi8 with _mm_loadu_si128.
35710 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35711 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35712 (__m128i_shift_right): Removed.
35713 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35714 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35715 * sysdeps/x86_64/multiarch/varshift.h: New file.
35716 * sysdeps/x86_64/multiarch/varshift.S: New file.
35717
84b9230c
MF
357182010-08-21 Mike Frysinger <vapier@gentoo.org>
35719
35720 * configure.in: Move assembler checks to before sysdep dir checking.
35721
9bbd0ddc
PB
357222010-08-20 Petr Baudis <pasky@suse.cz>
35723
35724 * LICENSES: Sync the sunrpc license.
35725
9da4bb31
UD
357262010-08-19 Ulrich Drepper <drepper@redhat.com>
35727
a7ab6ec8
UD
35728 * sunrpc/auth_des.c: Update copyright notice once again.
35729 * sunrpc/auth_none.c: Likewise.
35730 * sunrpc/auth_unix.c: Likewise.
35731 * sunrpc/authdes_prot.c: Likewise.
35732 * sunrpc/authuxprot.c: Likewise.
35733 * sunrpc/bindrsvprt.c: Likewise.
35734 * sunrpc/clnt_gen.c: Likewise.
35735 * sunrpc/clnt_perr.c: Likewise.
35736 * sunrpc/clnt_raw.c: Likewise.
35737 * sunrpc/clnt_simp.c: Likewise.
35738 * sunrpc/clnt_tcp.c: Likewise.
35739 * sunrpc/clnt_udp.c: Likewise.
35740 * sunrpc/clnt_unix.c: Likewise.
35741 * sunrpc/des_crypt.c: Likewise.
35742 * sunrpc/des_soft.c: Likewise.
35743 * sunrpc/get_myaddr.c: Likewise.
35744 * sunrpc/getrpcport.c: Likewise.
35745 * sunrpc/key_call.c: Likewise.
35746 * sunrpc/key_prot.c: Likewise.
35747 * sunrpc/openchild.c: Likewise.
35748 * sunrpc/pm_getmaps.c: Likewise.
35749 * sunrpc/pm_getport.c: Likewise.
35750 * sunrpc/pmap_clnt.c: Likewise.
35751 * sunrpc/pmap_prot.c: Likewise.
35752 * sunrpc/pmap_prot2.c: Likewise.
35753 * sunrpc/pmap_rmt.c: Likewise.
35754 * sunrpc/rpc/auth.h: Likewise.
35755 * sunrpc/rpc/auth_unix.h: Likewise.
35756 * sunrpc/rpc/clnt.h: Likewise.
35757 * sunrpc/rpc/des_crypt.h: Likewise.
35758 * sunrpc/rpc/key_prot.h: Likewise.
35759 * sunrpc/rpc/netdb.h: Likewise.
35760 * sunrpc/rpc/pmap_clnt.h: Likewise.
35761 * sunrpc/rpc/pmap_prot.h: Likewise.
35762 * sunrpc/rpc/pmap_rmt.h: Likewise.
35763 * sunrpc/rpc/rpc.h: Likewise.
35764 * sunrpc/rpc/rpc_des.h: Likewise.
35765 * sunrpc/rpc/rpc_msg.h: Likewise.
35766 * sunrpc/rpc/svc.h: Likewise.
35767 * sunrpc/rpc/svc_auth.h: Likewise.
35768 * sunrpc/rpc/types.h: Likewise.
35769 * sunrpc/rpc/xdr.h: Likewise.
35770 * sunrpc/rpc_clntout.c: Likewise.
35771 * sunrpc/rpc_cmsg.c: Likewise.
35772 * sunrpc/rpc_common.c: Likewise.
35773 * sunrpc/rpc_cout.c: Likewise.
35774 * sunrpc/rpc_dtable.c: Likewise.
35775 * sunrpc/rpc_hout.c: Likewise.
35776 * sunrpc/rpc_main.c: Likewise.
35777 * sunrpc/rpc_parse.c: Likewise.
35778 * sunrpc/rpc_parse.h: Likewise.
35779 * sunrpc/rpc_prot.c: Likewise.
35780 * sunrpc/rpc_sample.c: Likewise.
35781 * sunrpc/rpc_scan.c: Likewise.
35782 * sunrpc/rpc_scan.h: Likewise.
35783 * sunrpc/rpc_svcout.c: Likewise.
35784 * sunrpc/rpc_tblout.c: Likewise.
35785 * sunrpc/rpc_util.c: Likewise.
35786 * sunrpc/rpc_util.h: Likewise.
35787 * sunrpc/rpcinfo.c: Likewise.
35788 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35789 * sunrpc/rpcsvc/key_prot.x: Likewise.
35790 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35791 * sunrpc/rpcsvc/mount.x: Likewise.
35792 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35793 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35794 * sunrpc/rpcsvc/rex.x: Likewise.
35795 * sunrpc/rpcsvc/rstat.x: Likewise.
35796 * sunrpc/rpcsvc/rusers.x: Likewise.
35797 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35798 * sunrpc/rpcsvc/spray.x: Likewise.
35799 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35800 * sunrpc/rtime.c: Likewise.
35801 * sunrpc/svc.c: Likewise.
35802 * sunrpc/svc_auth.c: Likewise.
35803 * sunrpc/svc_authux.c: Likewise.
35804 * sunrpc/svc_raw.c: Likewise.
35805 * sunrpc/svc_run.c: Likewise.
35806 * sunrpc/svc_simple.c: Likewise.
35807 * sunrpc/svc_tcp.c: Likewise.
35808 * sunrpc/svc_udp.c: Likewise.
35809 * sunrpc/svc_unix.c: Likewise.
35810 * sunrpc/svcauth_des.c: Likewise.
35811 * sunrpc/xcrypt.c: Likewise.
35812 * sunrpc/xdr.c: Likewise.
35813 * sunrpc/xdr_array.c: Likewise.
35814 * sunrpc/xdr_float.c: Likewise.
35815 * sunrpc/xdr_mem.c: Likewise.
35816 * sunrpc/xdr_rec.c: Likewise.
35817 * sunrpc/xdr_ref.c: Likewise.
35818 * sunrpc/xdr_sizeof.c: Likewise.
35819 * sunrpc/xdr_stdio.c: Likewise.
35820
9da4bb31
UD
35821 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35822 handling.
35823
bdaa77bc
AS
358242010-08-19 Andreas Schwab <schwab@redhat.com>
35825
35826 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35827
fe2f79db
LM
358282010-08-19 Luis Machado <luisgpm@br.ibm.com>
35829
35830 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35831 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35833 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35835 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35837 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35840 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35842 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35844
b9b42ee0
AB
358452010-07-26 Anton Blanchard <anton@samba.org>
35846
35847 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35848 * malloc/arena.c (heap_trim): Likewise.
35849
1c06ba31
UD
358502010-08-16 Ulrich Drepper <drepper@redhat.com>
35851
35852 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35853 here. Not...
35854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35855 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35856
f8392f40
L
358572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35858
35859 * sysdeps/i386/elf/Makefile: New file.
35860
3162f12e
AS
358612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35862
35863 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35864 from fanotify_init.
35865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35867
28c90b2c
UD
358682010-08-15 Ulrich Drepper <drepper@redhat.com>
35869
35870 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35871 of strncasecmp_l.
1feccb6c 35872 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35873
ca6bb004
UD
358742010-08-14 Ulrich Drepper <drepper@redhat.com>
35875
e9f82e0d
UD
35876 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35877 strncase_l-nonascii.
35878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35879 Add strncase_l-ssse3.
35880 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35881 * sysdeps/x86_64/strcmp.S: Likewise.
35882 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35883 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35884 * sysdeps/x86_64/strncase.S: New file.
35885 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35886 * sysdeps/x86_64/strncase_l.S: New file.
35887 * string/Makefile (strop-tests): Add strncasecmp.
35888 * string/test-strncasecmp.c: New file.
35889
35890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35891 warning.
35892
ca6bb004
UD
35893 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35895
052fa7b3
AS
358962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35897
35898 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35899
962dba78
UD
359002010-08-12 Ulrich Drepper <drepper@redhat.com>
35901
35902 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35905
bebff237
AM
359062010-05-01 Alan Modra <amodra@gmail.com>
35907
35908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35909 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35910 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35911 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35912 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35913 tidying. Don't tail-call __sigjmp_save for static lib.
35914 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35915 save location.
35916 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35917 (CALL_MCOUNT): Add eh info, and nop after bl.
35918 (TAIL_CALL_SYSCALL_ERROR): New macro.
35919 (PSEUDO_RET): Use it.
35920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35921 Correct save location of integer regs and cr.
35922 (_dl_profile_resolve): Correct cr save location. Delete nops
35923 after bl when SHARED. Reduce cfi size a little by better
35924 placement of cfi directives.
35925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35926 make a stack frame. Instead use parm save area as a temp.
35927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35928 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35930 Don't make a stack frame for parent, use parm save area.
35931 Increase child stack frame to 112 bytes. Don't save unused reg,
35932 and adjust reg usage. Set up cfi on error recovery and
35933 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35935 (__makecontext): Add dummy nop after jump to exit.
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35937 Use correct parm save area and cr save, reduce stack frame.
35938 Correct cfi for possible PSEUDO_RET frame setup.
35939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35940 Branch to local label emitted by PSEUDO_RET rather than
35941 __syscall_error.
35942
02637374
AS
359432010-08-12 Andreas Schwab <schwab@redhat.com>
35944
35945 [BZ #11904]
35946 * locale/programs/locale.c (print_assignment): New function.
35947 (show_locale_vars): Use it.
35948
c3e2f19b
UD
359492010-08-11 Ulrich Drepper <drepper@redhat.com>
35950
3cdaa6ad
UD
35951 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35952 field.
35953 (struct statfs64): Likewise.
35954 (_STATFS_F_FLAGS): Define.
35955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35957 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35958 (ST_VALID): Define locally.
35959 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35960 __statvfs_getflags, use the provided value.
35961 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35962 __ASSUME_STATFS_F_FLAGS.
35963
754f7da3
UD
35964 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35965
10b3bedc
UD
35966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35967 Add sys/fanotify.h.
35968 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35969 fanotify_mask for GLIBC_2.13.
35970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35971 fanotify_init and fanotify_mark.
35972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35973 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35974
c08fb0d7
UD
35975 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35976 Add prlimit.
35977 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35978 prlimit64 for GLIBC_2.13.
35979 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35980 prlimit64.
35981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35982 syscall.
35983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35984 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35988 add prlimit alias.
35989 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35990
15bac72b
UD
35991 [BZ #11903]
35992 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35993 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35994
c3e2f19b
UD
35995 * nss/Makefile: Add rules to build and run tst-nss-test1.
35996 * shlib-versions: Add entry for libnss_test1.
35997 * nss/nss_test1.c: New file.
35998 * nss/tst-nss-test1.c: New file.
35999
36000 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36001 (__nss_configure_lookup): Set appropriate entry in
36002 __nss_configure_lookup to true.
36003 * nss/nsswitch.h: Define enum with indeces of databases in
36004 databases and __nss_database_custom arrays. Declare
36005 __nss_database_custom.
36006 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36007 to avoid using nscd when custom rules are installed.
36008 * nss/getXXbyYY_r.c: Likewise.
36009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36010
36011 * nss/nss_files/files-parse.c: Whitespace fixes.
36012
f15ce4d8
UD
360132010-08-09 Ulrich Drepper <drepper@redhat.com>
36014
36015 [BZ #11883]
36016 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36017 * posix/fnmatch_loop.c: Likewise.
36018
d22e4cc9
AK
360192010-07-17 Andi Kleen <ak@linux.intel.com>
36020
36021 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36022 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36023 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36024 * Versions.def [GLIBC_2.13]: Add.
36025
805bc17d
UD
360262010-08-06 Ulrich Drepper <drepper@redhat.com>
36027
36028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36029 Also fail if tpwd after pwuid call is NULL.
36030
5a42321d
ST
360312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36032
36033 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36034 when converting to ms.
36035
fd3ebeda
ST
360362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36037
36038 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36039 EOPNOTSUPP errors with ENOTTY.
36040 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36041 EOPNOTSUPP errors with ENOTTY.
36042
73507d3a
UD
360432010-07-31 Ulrich Drepper <drepper@redhat.com>
36044
36045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36046 Add strcasecmp_l-ssse3.
36047 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36048 strcasecmp.
36049 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36052
fe36dd02
UD
360532010-07-30 Ulrich Drepper <drepper@redhat.com>
36054
66f6765a
UD
36055 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36056
42e08a54
UD
36057 * string/Makefile (strop-tests): Add strcasecmp.
36058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36059 strcasecmp_l-nonascii.
36060 (gen-as-const-headers): Add locale-defines.sym.
36061 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36062 * sysdeps/x86_64/strcasecmp.S: New file.
36063 * sysdeps/x86_64/strcasecmp_l.S: New file.
36064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36065 * sysdeps/x86_64/locale-defines.sym: New file.
36066 * string/test-strcasecmp.c: New file.
36067
fe36dd02
UD
36068 * string/test-strcasestr.c: Test both ends of the range of characters.
36069 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36070
48cbc0d6
RM
360712010-07-29 Roland McGrath <roland@redhat.com>
36072
76e6d6bc 36073 [BZ #11856]
48cbc0d6
RM
36074 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36075
880113d9
UD
360762010-07-27 Ulrich Drepper <drepper@redhat.com>
36077
36078 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36079 for ld.so.
36080
deb9cabb
AS
360812010-07-27 Andreas Schwab <schwab@redhat.com>
36082
36083 * manual/memory.texi (Malloc Tunable Parameters): Document
36084 M_PERTURB.
36085
1c7570ff
RM
360862010-07-26 Roland McGrath <roland@redhat.com>
36087
36088 [BZ #11840]
36089 * configure.in (-fgnu89-inline check): Set and substitute
36090 gnu89_inline, not libc_cv_gnu89_inline.
36091 * configure: Regenerated.
36092 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36093
24fb0f88
UD
360942010-07-26 Ulrich Drepper <drepper@redhat.com>
36095
36096 * string/test-strnlen.c: New file.
36097 * string/Makefile (strop-tests): Add strnlen.
36098 * string/tester.c (test_strnlen): Add a few more test cases.
36099 * string/tst-strlen.c: Better error reporting.
36100
36101 * sysdeps/x86_64/strnlen.S: New file.
36102
8e96b93a
UD
361032010-07-24 Ulrich Drepper <drepper@redhat.com>
36104
36105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36106 lower-latency instructions.
36107
dbc676d4
UD
361082010-07-23 Ulrich Drepper <drepper@redhat.com>
36109
36110 * string/test-strcasestr.c: New file.
36111 * string/test-strstr.c: New file.
36112 * string/Makefile (strop-tests): Add strstr and strcasestr.
36113 * string/str-two-way.h: Don't undefine MAX.
36114 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36115
f6a31e0e
AS
361162010-07-21 Andreas Schwab <schwab@redhat.com>
36117
36118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36119 strcasestr-nonascii.
36120 (CFLAGS-strcasestr-nonascii.c): Define.
36121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36123 Remove unused attribute.
36124
5dbc3b6c
RM
361252010-07-20 Roland McGrath <roland@redhat.com>
36126
36127 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36128 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36129 ld.so.cache was broken. With it, there is no way to disable dsocaps
36130 like LD_HWCAP_MASK can disable hwcaps.
36131
23d101d8
EPM
361322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36133
36134 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36135
cc9f2e47
UD
361362010-07-16 Ulrich Drepper <drepper@redhat.com>
36137
36138 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36139 call in strcasestr.
36140 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36141 __strcasestr_sse42_nonascii.
36142 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36143 strcasestr-nonascii.c.
36144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36145
77c1b069
LM
361462010-06-15 Luis Machado <luisgpm@br.ibm.com>
36147
36148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36152
440566c3
UD
361532010-07-09 Ulrich Drepper <drepper@redhat.com>
36154
36155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36156 fcntl.
36157
5be9d05d
AS
361582010-07-06 Andreas Schwab <schwab@redhat.com>
36159
c30b7ee2 36160 [BZ #11577]
5be9d05d
AS
36161 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36162 dl_signal_cerror.
36163
8a492a67
UD
361642010-07-06 Ulrich Drepper <drepper@redhat.com>
36165
36166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36167 _PC_PIPE_BUF using F_GETPIPE_SZ.
36168
713df3d5
RM
361692010-07-05 Roland McGrath <roland@redhat.com>
36170
36171 * manual/arith.texi (Rounding Functions): Fix rint description
36172 implicit in round description.
36173
702e8f14
UD
361742010-07-02 Ulrich Drepper <drepper@redhat.com>
36175
36176 * elf/Makefile: Fix linking for a few tests to make recent linker
36177 happy.
36178
52ed8be9
AS
361792010-06-30 Andreas Schwab <schwab@redhat.com>
36180
36181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36182 $(common-objpfx)libc_nonshared.a.
36183
f47c9a11
LM
361842010-06-21 Luis Machado <luisgpm@br.ibm.com>
36185
36186 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36187 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36188 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36190 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36191 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36208 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36209 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36210 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36211 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36212 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36213 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36214 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36215 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36216 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36217 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36218 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36219 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36234
6fb8cbcb
L
362352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36236
36237 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36238 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36239 * string/memmove.c (memmove): Renamed to ...
36240 (MEMMOVE): ...this. Default to memmove.
36241 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36242 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36243 (END_CHK): Define.
36244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36245 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36246 mempcpy-ssse3-back memmove-ssse3-back.
36247 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36250 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36251 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36252 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36253 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36254 * sysdeps/x86_64/multiarch/memmove.c: New file.
36255 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36256 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36257 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36258 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36261 Define.
36262 (index_Fast_Copy_Backward): Define.
36263 (HAS_ARCH_FEATURE): Define.
36264 (HAS_FAST_REP_STRING): Define.
36265 (HAS_FAST_COPY_BACKWARD): Define.
36266
4e733bac 362672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36268
36269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36270 Restore proper fallback handling.
36271
63c4ed22
UD
362722010-06-19 Ulrich Drepper <drepper@redhat.com>
36273
ac2b484c
UD
36274 [BZ #11701]
36275 * posix/group_member.c (__group_member): Correct checking loop.
36276
63c4ed22
UD
36277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36278 OOM in getpwuid_r correctly. Return error number when the caller
36279 should return, otherwise -1.
36280 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36281 call returning > 0 value.
36282 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36283
765ade4b
AS
362842010-06-07 Andreas Schwab <schwab@redhat.com>
36285
36286 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36287 libc_nonshared.a from targets in modules-names.
36288
80da2e09
KS
362892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36290
36291 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36292 requires it.
36293
158db122
LM
362942010-06-10 Luis Machado <luisgpm@br.ibm.com>
36295
36296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36300
caa78cf8
AS
363012010-06-02 Andreas Schwab <schwab@redhat.com>
36302
36303 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36304
b2ef2c01
UD
363052010-06-14 Ulrich Drepper <drepper@redhat.com>
36306
36307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36308 and F_GETPIPE_SZ.
36309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36315
fbd643b6
RM
363162010-06-14 Roland McGrath <roland@redhat.com>
36317
36318 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36319
f32f2869
JJ
363202010-06-07 Jakub Jelinek <jakub@redhat.com>
36321
36322 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36323 __REDIRECT followed by __THROW.
36324 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36325 * posix/getopt.h (getopt): Likewise.
36326
2a50c078
EPM
363272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36328
36329 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36330 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36331 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36332 in AT_FLAGS.
36333 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36334 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36335
eb5ad2eb
LM
363362010-05-28 Luis Machado <luisgpm@br.ibm.com>
36337
36338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36339
3c88fe1e
L
363402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36341
36342 [BZ #11640]
36343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36344 Properly check family and model.
36345
d2f73151
TY
363462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36347
36348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36349
ebd2e13d
LM
363502010-05-24 Luis Machado <luisgpm@br.ibm.com>
36351
36352 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36353
b32b8b45
UD
363542010-05-21 Ulrich Drepper <drepper@redhat.com>
36355
36356 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36357 symbol reference.
36358
9acbe24d
AS
363592010-05-19 Andreas Schwab <schwab@redhat.com>
36360
36361 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36362 symbol reference.
36363
f0ccf6ea
AS
363642010-05-21 Andreas Schwab <schwab@redhat.com>
36365
3d04ff3a
AS
36366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36367 and internal_recvmmsg.
36368 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36371 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36372
f0ccf6ea
AS
36373 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36376
5b08ac57
AS
363772010-05-20 Andreas Schwab <schwab@redhat.com>
36378
36379 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36380
4828935d
LM
363812010-05-17 Luis Machado <luisgpm@br.ibm.com>
36382
36383 POWER7 optimizations.
36384 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36385 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36386
373d545e
UD
363872010-05-19 Ulrich Drepper <drepper@redhat.com>
36388
36389 * version.h: Update for 2.13 development version.
36390
21a2b1ae
AS
363912010-05-12 Andrew Stubbs <ams@codesourcery.com>
36392
36393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36394 exceptions. Return 0.
36395
3f7dcb2b
RM
363962010-05-07 Roland McGrath <roland@redhat.com>
36397
36398 * elf/ldconfig.c (main): Add a const.
36399
5f24d53a 364002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36401
a160f8d8
UD
36402 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36403 (args_options): Add no-idn option.
36404 (ahosts_keys_int): Add idn_flags to ai_flags.
36405 (parse_option): Handle 'i' option to clear idn_flags.
36406
5f24d53a
UD
36407 * malloc/malloc.c (_int_free): Possible race in the most recently
36408 added check. Only act on the data if no current modification
36409 happened.
265bb1ce
UD
36410
36411See ChangeLog.17 for earlier changes.
This page took 4.85851 seconds and 5 git commands to generate.