]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
PowerPC: multiarch wcsrchr for PowerPC32
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5 file.
6 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7 file.
8 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9 file.
10 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11 multiarch wcsrchr for PPC32.
12 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13 multiarch objects.
14 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15 (__libc_ifunc_impl_list): Likewise.
16 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19 sysdeps/powerpc/power6/wcsrchr.c.
20
212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22
23 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24 file.
25 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26 file.
27 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29 multiarch wcschr for PPc32.
30 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
31 multiarch objects.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33 (__libc_ifunc_impl_list): Likewise.
34 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35 * sysdeps/powerpc/power6/wcschr.c: ... to here.
36 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37 sysdeps/powerpc/power6/wcschr.c.
38
392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40
41 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43 file.
44 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46 file: multiarch strchr for PPC32.
47 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48 multiarch objects.
49 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50 (__libc_ifunc_impl_list): Likewise.
51
522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53
54 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55 name.
56 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57 file.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59 file.
60 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
61 multiarch strchrnul for PPC32.
62 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
63 multiarch objects.
64 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
65 (__libc_ifunc_impl_list): Likewise.
66
672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
70 file.
71 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
72 multiarch strncasecmp for PPC32.
73 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
74 file.
75 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
76 multiarch strncasecmp_l for PPC32.
77 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
78 strncasecmp multiarch objects.
79 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
80 (__libc_ifunc_impl_list): Likewise.
81
822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83
84 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
85 file.
86 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
87 multiarch strncasecmp for PPC32.
88 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
89 New file.
90 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
91 multiarch strcasecmp_l for PPC32.
92 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
93 multiarch objects.
94 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
95 (__libc_ifunc_impl_list): Likewise.
96
972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
100 file.
101 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
102 file.
103 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
104 multiarch strncmp for PPC32.
105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
106 multiarch objects.
107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
108 (__libc_ifunc_impl_list): Likewise.
109
1102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
111
112 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
113 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
114 file.
115 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
116 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
118 multiarch objects.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
120 (__libc_ifunc_impl_list): Likewise.
121
1222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
123
124 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
125 file.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
127 file.
128 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
130 multiarch objects.
131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
132 (__libc_ifunc_impl_list): Likewise.
133
1342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135
136 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
137 file.
138 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
139 file.
140 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
141 multiarch rawmemchr for PPC32.
142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
143 multiarch objects.
144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
145 (__libc_ifunc_impl_list): Likewise.
146
1472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148
149 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
150 file.
151 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
152 file.
153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
154 file: memrchr multiarch for PPC32.
155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
156 multiarch objects.
157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
158 (__libc_ifunc_impl_list): Likewise.
159
1602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * string/memchr.c (__memchr): Using macro to redefine symbol name.
163 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
164 file.
165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
167 multiarch memchr for PPC32.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
169 multiarch objects.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
171 (__libc_ifunc_impl_list): Likewise.
172
1732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
176 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
177 file.
178 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
179 file.
180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
181 file: multiarch mempcpy for PPC32.
182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
183 multiarch objects.
184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Likewise.
186
1872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188
189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
191 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
192 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
193 multiarch bzero for PPC32.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
195 file.
196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
197 file.
198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
199 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
200 file: multiarch memset for PPC32.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
203 memset multiarch objects.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
205 (__libc_ifunc_impl_list): Likewise.
206
2072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208
209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
210 file.
211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
212 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
213 memcmp for PPC32.
214 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
216 multiarch objects.
217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
218 (__libc_ifunc_impl_list): Likewise.
219
2202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
225 file.
226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
227 file.
228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
229 file.
230 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
231 multiarch memcpy for PPC32.
232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
233 multiarch objects.
234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
235 (__libc_ifunc_impl_list): Likewise.
236
2372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
240 support multiarch for POWER/PPC32.
241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
242 Likewise.
243 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
245 Implies file to make multiarch folder appers before the fpu and
246 default folder for power4 configuration.
247
2482013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
249
250 * scripts/bench.pl: Append volatile keyword to type.
251
2522013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
253
254 * sysdeps/sh/sotruss-lib.c: New file.
255 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
256
2572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258
259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
260
2612013-12-05 Joseph Myers <joseph@codesourcery.com>
262
263 [BZ #6810]
264 * math/w_tgamma.c: Include <errno.h>.
265 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
266 * math/w_tgammaf.c: Include <errno.h>.
267 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
268 * math/w_tgammal.c: Include <errno.h>.
269 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
270 * math/auto-libm-test-in: Do not allow missing errno on tgamma
271 underflow. Add more tgamma tests.
272 * math/auto-libm-test-out: Regenerated.
273 * sysdeps/i386/fpu/libm-test-ulps: Update.
274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
275
276 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
277 sin, sinh, tan, tanh, tgamma, y0 and y1.
278 * math/auto-libm-test-out: Regenerated.
279 * math/libm-test.inc (TEST_COND_x86_64): New macro.
280 (TEST_COND_x86): Likewise.
281 (M_E2l): Remove macro.
282 (M_E3l): Likewise.
283 (M_2_SQRT_PIl): Likewise.
284 (M_SQRT_PIl): Likewise.
285 (M_1_DIV_El): Likewise.
286 (log_test_data): Use AUTO_TESTS_f_f.
287 (log10_test_data): Likewise.
288 (log1p_test_data): Likewise.
289 (log2_test_data): Likewise.
290 (sin_test_data): Likewise.
291 (sin_tonearest_test_data): Likewise.
292 (sin_towardzero_test_data): Likewise.
293 (sin_downward_test_data): Likewise.
294 (sin_upward_test_data): Likewise.
295 (sinh_test_data): Likewise.
296 (sinh_tonearest_test_data): Likewise.
297 (sinh_towardzero_test_data): Likewise.
298 (sinh_downward_test_data): Likewise.
299 (sinh_upward_test_data): Likewise.
300 (tan_test_data): Likewise.
301 (tan_tonearest_test_data): Likewise.
302 (tan_towardzero_test_data): Likewise.
303 (tan_downward_test_data): Likewise.
304 (tan_upward_test_data): Likewise.
305 (tanh_test_data): Likewise.
306 (tgamma_test_data): Likewise.
307 (y0_test_data): Likewise.
308 (y1_test_data): Likewise.
309 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
310 (special_real_inputs): Add pi/4.
311 * sysdeps/i386/fpu/libm-test-ulps: Update.
312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
313
3142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
317 "longjmp_target" static probes.
318 (__longjmp): Rename to __longjmp_symbol.
319 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
320 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
321 on which longjmp to generate.
322 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
324 probe.
325 (__sigsetjmp): Rename to __sigsetjmp_symbol.
326 (__sigjmp_save): Rename to __sigjmp_save_symbol.
327 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
328 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
329 and __sigjmp_save_symbol based on which sigsetjmp to generated.
330 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
332 __longjmp_symbol based on which __longjmp to generate.
333 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
334 probe.
335 (setjmp): Rename to setjmp_symbol.
336 (__sigsetjmp): Rename to __sigsetjmp_symbol.
337 (_setjmp): Rename to _setjmp_symbol.
338 (__sigsetjmp): Rename to __sigsetjmp_symbol.
339 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
340 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
341 which setjmp to generate.
342 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
343 "longjmp_target" static probes.
344
3452013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
346
347 * benchtests/README: Add note about output arguments.
348 * benchtests/bench-sincos.c: Remove file.
349 * benchtests/sincos-inputs: New file.
350 * scripts/bench.pl: Identify output arguments and define
351 static variables for them.
352
353 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
354
355 [BZ #15941]
356 * Makefile (INSTALL): Add install-plain.texi as the primary
357 dependency.
358 * manual/install-plain.texi: New file.
359 * manual/install.texi: Include node directive only for
360 non-plaintext output.
361
3622013-12-04 Joseph Myers <joseph@codesourcery.com>
363
364 * stdlib/longlong.h: Update from GCC.
365
366 [BZ #6807]
367 [BZ #15901]
368 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
369 * math/w_j0f.c (y0f): Likewise.
370 * math/w_j0l.c (__y0l): Likewise.
371 * math/w_j1.c (y1): Likewise.
372 * math/w_j1f.c (y1f): Likewise.
373 * math/w_j1l.c (__y1l): Likewise
374 * math/w_jn.c (yn): Likewise.
375 * math/w_jnf.c (ynf): Likewise.
376 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
377 Bessel function pole errors in _POSIX_ mode. Use NAN as return
378 value for Bessel function domain errors outside _SVID_ mode.
379 Adjust sign of return value for yn (negative integer, 0).
380 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
381 by zero in return for negative x and set sign appropriately for
382 negative n.
383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
384 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
385 * math/libm-test.inc (y0_test_data): Add more tests and adjust
386 expectations in error cases.
387 (y1_test_data): Likewise.
388 (yn_test_data): Likewise.
389 * sysdeps/i386/fpu/libm-test-ulps: Update.
390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
391
3922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
393
394 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
395 "64" to "64-v1". Add "64-v2".
396 (abi-64-options): Rename to ...
397 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
398 (abi-64-condition): Rename to ...
399 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
400 (abi-64-ld-soname): Rename to ...
401 (abi-64-v1-ld-soname): ... this.
402 (abi-64-v2-options): Define.
403 (abi-64-v2-condition): Likewise.
404 (abi-64-v2-ld-soname): Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
406 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
410
4112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
412 Alan Modra <amodra@gmail.com>
413
414 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
415 New versions for use with the ELFv2 ABI.
416 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
417 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
418 declaration.
419 (struct La_ppc64v2_retval): Likewise.
420 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
421 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
422 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
423 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
424 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
425 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
426 Do not save or restore CR.
427 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
428 (_dl_profile_resolve): Do no save or restore CR. Support extended
429 return values for ELFv2 ABI. Fix location of FPR return registers.
430 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
431 updated values for _CALL_ELF == 2.
432 (La_regs, La_retval, int_retval): Likewise.
433
4342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
435
436 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
437 (FRAME_MIN_SIZE_PARM): Likewise.
438 (FRAME_BACKCHAIN): Likewise.
439 (FRAME_CR_SAVE): Likewise.
440 (FRAME_LR_SAVE): Likewise.
441 (FRAME_TOC_SAVE): Likewise.
442 (FRAME_PARM_SAVE): Likewise.
443 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
444 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
445 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
446 (call_mcount_parm_offset): New macro.
447 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
448 (PROF): Use symbolic stack frame offsets.
449 (TAIL_CALL_SYSCALL_ERROR): Likewise.
450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
451 Redefine in terms of FRAME_MIN_SIZE.
452 (_dl_runtime_resolve): Use symbolic stack frame offsets.
453 (_dl_profile_resolve): Likewise. Update comment.
454 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
455 symbols stack frame offsets.
456 (__sigsetjmp): Likewise.
457 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
458 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
459 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
460 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
461
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
463 (FRAME_BACKCHAIN): Remove.
464 (FRAME_CR_SAVE): Likewise.
465 (FRAME_LR_SAVE): Likewise.
466 (FRAME_COMPILER_DW): Likewise.
467 (FRAME_LINKER_DW): Likewise.
468 (FRAME_TOC_SAVE): Likewise.
469 (FRAME_PARM_SAVE): Likewise.
470 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
471 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
472 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
474 (CHECK_SP): Use symbolic stack frame offsets.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
476 zone" instead of caller's parameter save area for temp storage.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
478 Likewise. Also, use symbolic stack frame offsets.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
480 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
481 our own stack frame instead of the caller's.
482 (__socket): Use symbolic stack frame offsets.
483
4842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
485 Alan Modra <amodra@gmail.com>
486
487 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
488 Define.
489 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
490 PPC64_LOCAL_ENTRY_OFFSET): Define.
491 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
492 New function.
493 (elf_machine_fixup_plt): Call it.
494 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
495 reloc arguments.
496 (elf_machine_rela): Update call to elf_machine_plt_conflict.
497 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
498 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
499 r2 before calling target.
500
5012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
502 Alan Modra <amodra@gmail.com>
503
504 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
505 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
506 versions of macros to support ELFv2 ABI.
507 (LOCALENTRY): New macro.
508 (ENTRY, EALIGN): Use it.
509 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
510 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
511 fall through into ENTRY entry point.
512 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
513 Only define if _CALL_ELF != 2.
514
515 (elf_machine_matches_host): Verify ABI version matches.
516 (RTLD_START): Use LOCALENTRY.
517 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
518 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
519 (PLT_ENTRY_WORDS): New macro.
520 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
521 (elf_machine_runtime_setup): Support ELFv2 ABI.
522 (elf_machine_fixup_plt): Likewise.
523 (elf_machine_plt_conflict): Likewise.
524 (resolve_ifunc): Likewise.
525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
527 Likewise.
528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
529 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
531 (makecontext): Support ELFv2 ABI.
532 * elf/elf.h (EF_PPC64_ABI): Define.
533
5342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
535
536 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
537 New assembler macro.
538 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
539 [ASSEMBLER] (ENTRY): ... but instead here ...
540 [ASSEMBLER] (EALIGN): ... and here.
541 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
542 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
543 [!ASSEMBLER] (ENTRY_2): Use it.
544 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
545 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
546 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
547 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
548 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
550 Use PPC64_LOAD_FUNCPTR.
551
5522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
553
554 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
555
5562013-12-04 Alan Modra <amodra@gmail.com>
557
558 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
559 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
560 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
561 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
562
563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
564 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
565 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
566 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
567 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
568 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
569
5702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
571
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
573 (__makecontext): Fix incorrect CFI when backtracing out of
574 context created via makecontext.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
576 (__setcontext): Fix incorrect CFI during switch to new context.
577 (__novec_setcontext): Likewise.
578
5792013-12-04 Ondřej Bílka <neleai@seznam.cz>
580
581 [BZ #4772]
582 * time/strptime_l.c (__strptime_internal): Allow modifiers
583 in strptime.
584 * time/tst-strptime.c (day_tests): Add testcase.
585
586
5872013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
588
589 * scripts/bench.pl: Skip over blank lines.
590
5912013-12-04 Paul Eggert <eggert@cs.ucla.edu>
592
593 [BZ #926]
594 * manual/time.texi (Calendar Time): Clarify what timezone functions
595 use.
596
5972013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598
599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
600
6012013-12-04 Ondřej Bílka <neleai@seznam.cz>
602
603 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
604 implementation.
605 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
606 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
607 * debug/memset_chk.c (__memset_chk): Likewise.
608 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
609 * debug/strncpy_chk.c: Likewise.
610
6112013-12-03 Joseph Myers <joseph@codesourcery.com>
612
613 [BZ #15268]
614 [BZ #15425]
615 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
616 (__ieee754_exp): For possibly underflowing results, check size of
617 result and force underflow exception if required.
618 * math/auto-libm-test-in: Add more tests of exp.
619 * math/auto-libm-test-out: Regenerated.
620 * sysdeps/i386/fpu/libm-test-ulps: Update.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622
623 [BZ #16283]
624 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
625 * math/w_exp2f.c (__exp2f): Likewise.
626 * math/w_exp2l.c (__exp2l): Likewise.
627 * math/auto-libm-test-in: Do not allow missing errno on exp2
628 underflow.
629 * math/auto-libm-test-out: Regenerated.
630
6312013-12-03 Ondřej Bílka <neleai@seznam.cz>
632
633 [BZ #16274]
634 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
635 handle filename validation.
636 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
637 (do_open): Delete.
638
6392013-12-03 Joseph Myers <joseph@codesourcery.com>
640
641 [BZ #6786]
642 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
643 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
644 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
645 <float.h>.
646 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
648 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
650 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
652 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
653 * math/auto-libm-test-in: Don't allow missing errno from erfc.
654 Add more erfc tests.
655 * math/auto-libm-test-out: Regenerated.
656 * sysdeps/i386/fpu/libm-test-ulps: Update.
657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658
659 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
660 exp2, expm1, j0 and j1.
661 * math/auto-libm-test-out: Regenerated.
662 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
663 (erfc_test_data): Likewise.
664 (exp_test_data): Likewise.
665 (exp_tonearest_test_data): Likewise.
666 (exp_towardzero_test_data): Likewise.
667 (exp_downward_test_data): Likewise.
668 (exp_upward_test_data): Likewise.
669 (exp10_test_data): Likewise.
670 (exp2_test_data): Likewise.
671 (expm1_test_data): Likewise.
672 (j0_test_data): Likewise.
673 (j1_test_data): Likewise.
674 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
675 (input_flag_type): Add flag_xfail_rounding.
676 (input_flags): Add xfail-rounding.
677 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
678 (output_for_one_input_case): Handle flag_xfail_rounding.
679 * sysdeps/i386/fpu/libm-test-ulps: Update.
680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681
6822013-12-03 Aurelien Jarno <aurelien@aurel32.net>
683
684 [BZ #16289]
685 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
686 division by 0.
687
6882013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
689
690 [BZ #16195]
691 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
692 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
693 (STAP_PROBE0): New macro.
694 (STAP_PROBE1): Likewise.
695 (STAP_PROBE2): Likewise.
696 (STAP_PROBE3): Likewise.
697 (STAP_PROBE4): Likewise.
698
6992013-12-02 Ondřej Bílka <neleai@seznam.cz>
700
701 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
702
7032013-12-02 Steve Ellcey <sellcey@mips.com>
704
705 * benchtests/Makefile (bench): Add sqrt.
706 (LDLIBS-bench-sqrt): New.
707 * benchtests/sqrt-input: New.
708
7092013-12-02 Pavel Simerda <psimerda@redhat.com>
710
711 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
712 (GAIH_EAI): Likewise.
713 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
714 (gaih_inet): Likewise.
715 (getaddrinfo): Don't use GAIH_EAI.
716
717 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
718 (struct gaih): Remove definition.
719
7202013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
721
722 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
723 Use HERRNOP directly.
724
7252013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
728
7292013-11-30 Joseph Myers <joseph@codesourcery.com>
730
731 * math/gen-auto-libm-tests.c (test_functions): Add more
732 single-argument functions.
733 (special_fill_pi_2): New function.
734 (special_fill_minus_pi_2): Likewise.
735 (special_fill_pi_6): Likewise.
736 (special_fill_minus_pi_6): Likewise.
737 (special_fill_pi_3): Likewise.
738 (special_fill_2pi_3): Likewise.
739 (special_fill_e): Likewise.
740 (special_fill_1_e): Likewise.
741 (special_fill_e_minus_1): Likewise.
742 (special_real_inputs): Add more special inputs.
743 (output_for_one_input_case): Do not require ERANGE on underflow to
744 zero if round-to-nearest result does not underflow to zero, unless
745 exact results required.
746 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
747 atan, atanh, cbrt, cos and cosh.
748 * math/auto-libm-test-out: Regenerated.
749 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
750 (acos_tonearest_test_data): Likewise.
751 (acos_towardzero_test_data): Likewise.
752 (acos_downward_test_data): Likewise.
753 (acos_upward_test_data): Likewise.
754 (acosh_test_data): Likewise.
755 (asin_test_data): Likewise.
756 (asin_tonearest_test_data): Likewise.
757 (asin_towardzero_test_data): Likewise.
758 (asin_upward_test_data): Likewise.
759 (asinh_test_data): Likewise.
760 (atan_test_data): Likewise.
761 (atanh_test_data): Likewise.
762 (cbrt_test_data): Likewise.
763 (cos_test_data): Likewise.
764 (cos_tonearest_test_data): Likewise.
765 (cos_towardzero_test_data): Likewise.
766 (cos_downward_test_data): Likewise.
767 (cos_upward_test_data): Likewise.
768 (cosh_test_data): Likewise.
769 (cosh_tonearest_test_data): Likewise.
770 (cosh_towardzero_test_data): Likewise.
771 (cosh_downward_test_data): Likewise.
772 (cosh_upward_test_data): Likewise.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
775
7762013-11-29 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #6787]
779 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
780 * math/w_exp10f.c (__exp10f): Likewise.
781 * math/w_exp10l.c (__exp10l): Likewise.
782 * math/libm-test.inc (exp10_test_data): Add more tests and expect
783 errno settings in existing tests.
784
785 [BZ #14032]
786 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
787 precision control set to double precision.
788 * sysdeps/i386/fpu/w_sqrt.c: New file.
789 * math/auto-libm-test-in: Add more tests.
790 * math/auto-libm-test-out: Update.
791
792 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
793 (sqrt_test_tonearest): New function.
794 (sqrt_towardzero_test_data): New variable.
795 (sqrt_test_towardzero): New function.
796 (sqrt_downward_test_data): New variable.
797 (sqrt_test_downward): New function.
798 (sqrt_upward_test_data): New variable.
799 (sqrt_test_upward): New function.
800 (main): Call the new functions.
801
802 * math/gen-auto-libm-tests.c: New file.
803 * math/auto-libm-test-in: Likewise.
804 * math/auto-libm-test-out: New generated file.
805 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
806 variables.
807 (%beautify): Add generated representations of zero.
808 (top level): Set $auto_input and call parse_auto_input.
809 (beautify): Remove trailing "f" from hex float constants.
810 (parse_args): Handle XFAIL_TEST.
811 (convert_condition): New function.
812 (or_value): Likewise.
813 (or_cond_value): Likewise.
814 (generate_testfile): Handle AUTO_TESTS_* lines.
815 (parse_auto_input): New function.
816 * math/libm-test.inc (XFAIL_TEST): New macro.
817 (ERRNO_UNCHANGED): Update value.
818 (ERRNO_EDOM): Likewise.
819 (ERRNO_ERANGE): Likewise.
820 (IGNORE_RESULT): Likewise.
821 (TEST_COND_flt_32): New macro.
822 (TEST_COND_dbl_64): Likewise.
823 (TEST_COND_ldbl_96_intel): Likewise.
824 (TEST_COND_ldbl_96_m68k): Likewise.
825 (TEST_COND_ldbl_128): Likewise.
826 (TEST_COND_ldbl_128ibm): Likewise.
827 (TEST_COND_long32): Likewise.
828 (TEST_COND_long64): Likewise.
829 (TEST_COND_before_rounding): Likewise.
830 (TEST_COND_after_rounding): Likewise.
831 (enable_test): Handle XFAIL_TEST flag.
832 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
833 with finite results.
834 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
835 auto-libm-test-out.
836
8372013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
838 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
839
840 [BZ #16214]
841 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
842 __tls_get_addr_internal instead of __tls_get_offset in order to
843 avoid GOT pointer dependency. Make rtld export
844 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
845 __tls_get_addr since we are a __tls_get_offset platform.
846 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
847 GOT pointer being set up before.
848 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
849
8502013-11-28 Joseph Myers <joseph@codesourcery.com>
851
852 * manual/math.texi (Errors in Math Functions): Document accuracy
853 goals.
854
855 [BZ #15004]
856 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
857 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
858 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
859 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
864 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
865 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
866 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
867 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
868 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
869 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
871 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
872
873 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
874 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
875 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
876 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
877 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
878 Likewise.
879 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
880 Likewise.
881 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
882 Likewise.
883 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
884 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
885 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
886 atomic-feupdateenv and flt-rounds.
887 * sysdeps/powerpc/nofpu/Versions (libc): Add
888 __atomic_feholdexcept, __atomic_feclearexcept,
889 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
890 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
891 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
892 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
893 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
894 here.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
896 Update.
897
898 * manual/arith.texi (FP Exceptions): Document that exceptions may
899 not be raised when matherr is used.
900 (Math Error Reporting): Document overflow in directed rounding
901 modes. Document that errno may not be set when finite values are
902 returned on overflow. Document intent to set errno on underflow
903 only for underflow to zero.
904
905 [BZ #16271]
906 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
907 round-to-nearest then adjust result for other rounding modes.
908 * include/fenv.h (fegetround): Use libm_hidden_proto.
909 * math/fegetround.c (fegetround): Use libm_hidden_def.
910 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
911 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
912 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
913 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
914 Likewise.
915 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
916 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
917 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
918 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
919
9202013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
921
922 [BZ #16077]
923 * nss/Versions (libnss_files): Add
924 _nss_files_gethostbyname3_r.
925 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
926 New function.
927 (HOST_DB_LOOKUP): Remove macro.
928 (_nss_files_gethostbyname_r): Implement function without the
929 HOST_DB_LOOKUP macro.
930 (_nss_files_gethostbyname2_r): Likewise.
931
9322013-11-28 Ondřej Bílka <neleai@seznam.cz>
933
934 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
935
9362013-11-26 Uros Bizjak <ubizjak@gmail.com>
937
938 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
939 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
940 warning.
941
9422013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943
944 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
945 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
946 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
947 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
948 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
949 __fe_nomask_env_priv and attribute_hidden.
950 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
951 (libc_feupdateenv_test_ppc): Likewise.
952 (libc_feresetround_ppc): Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
954 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
955 compat_symbol macro.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
957 (__fe_nomask_env): Likewise.
958 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
959
9602013-11-26 Ondřej Bílka <neleai@seznam.cz>
961
962 * string/Makefile: Remove ifunc tests.
963 * string/test-string.h: Define TEST_IFUNC.
964 * string/test-bcopy-ifunc.c: Remove.
965 * string/test-bzero-ifunc.c: Likewise.
966 * string/test-memccpy-ifunc.c: Likewise.
967 * string/test-memchr-ifunc.c: Likewise.
968 * string/test-memcmp-ifunc.c: Likewise.
969 * string/test-memcpy-ifunc.c: Likewise.
970 * string/test-memmem-ifunc.c: Likewise.
971 * string/test-memmove-ifunc.c: Likewise.
972 * string/test-mempcpy-ifunc.c: Likewise.
973 * string/test-memrchr-ifunc.c: Likewise.
974 * string/test-memset-ifunc.c: Likewise.
975 * string/test-rawmemchr-ifunc.c: Likewise.
976 * string/test-stpcpy-ifunc.c: Likewise.
977 * string/test-stpncpy-ifunc.c: Likewise.
978 * string/test-strcasecmp-ifunc.c: Likewise.
979 * string/test-strcasestr-ifunc.c: Likewise.
980 * string/test-strcat-ifunc.c: Likewise.
981 * string/test-strchr-ifunc.c: Likewise.
982 * string/test-strchrnul-ifunc.c: Likewise.
983 * string/test-strcmp-ifunc.c: Likewise.
984 * string/test-strcpy-ifunc.c: Likewise.
985 * string/test-strcspn-ifunc.c: Likewise.
986 * string/test-strlen-ifunc.c: Likewise.
987 * string/test-strncasecmp-ifunc.c: Likewise.
988 * string/test-strncat-ifunc.c: Likewise.
989 * string/test-strncmp-ifunc.c: Likewise.
990 * string/test-strncpy-ifunc.c: Likewise.
991 * string/test-strnlen-ifunc.c: Likewise.
992 * string/test-strpbrk-ifunc.c: Likewise.
993 * string/test-strrchr-ifunc.c: Likewise.
994 * string/test-strspn-ifunc.c: Likewise.
995 * string/test-strstr-ifunc.c: Likewise.
996
9972013-11-26 Ondřej Bílka <neleai@seznam.cz>
998
999 * benchtests/Makefile: Remove ifunc tests.
1000 * benchtests/bench-string.h: Define TEST_IFUNC.
1001 * benchtests/bench-bcopy-ifunc.c: Remove.
1002 * benchtests/bench-bzero-ifunc.c: Likewise.
1003 * benchtests/bench-memccpy-ifunc.c: Likewise.
1004 * benchtests/bench-memchr-ifunc.c: Likewise.
1005 * benchtests/bench-memcmp-ifunc.c: Likewise.
1006 * benchtests/bench-memcpy-ifunc.c: Likewise.
1007 * benchtests/bench-memmem-ifunc.c: Likewise.
1008 * benchtests/bench-memmove-ifunc.c: Likewise.
1009 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1010 * benchtests/bench-memrchr-ifunc.c: Likewise.
1011 * benchtests/bench-memset-ifunc.c: Likewise.
1012 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1013 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1014 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1015 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1016 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1017 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1018 * benchtests/bench-strcat-ifunc.c: Likewise.
1019 * benchtests/bench-strchr-ifunc.c: Likewise.
1020 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1021 * benchtests/bench-strcmp-ifunc.c: Likewise.
1022 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1023 * benchtests/bench-strcpy-ifunc.c: Likewise.
1024 * benchtests/bench-strcspn-ifunc.c: Likewise.
1025 * benchtests/bench-strlen-ifunc.c: Likewise.
1026 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1027 * benchtests/bench-strncat-ifunc.c: Likewise.
1028 * benchtests/bench-strncmp-ifunc.c: Likewise.
1029 * benchtests/bench-strncpy-ifunc.c: Likewise.
1030 * benchtests/bench-strnlen-ifunc.c: Likewise.
1031 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1032 * benchtests/bench-strrchr-ifunc.c: Likewise.
1033 * benchtests/bench-strsep-ifunc.c: Likewise.
1034 * benchtests/bench-strspn-ifunc.c: Likewise.
1035 * benchtests/bench-strstr-ifunc.c: Likewise.
1036
10372013-11-26 Ondřej Bílka <neleai@seznam.cz>
1038
1039 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1040
10412013-11-26 Ondřej Bílka <neleai@seznam.cz>
1042
1043 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1044 * rt/aio.h: Likewise.
1045 * sysdeps/gnu/bits/utmp.h: Likewise.
1046 * sysdeps/gnu/bits/utmpx.h: Likewise.
1047 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1048 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1049 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1050 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1051 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1052 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1053 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1054 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1063 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1064 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1065 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1066 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1067 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1068 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1071 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1082 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1084 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1085 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1086 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1087 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1088 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1089
10902013-11-25 Carlos O'Donell <carlos@redhat.com>
1091
1092 [BZ #16245]
1093 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1094 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1095
10962013-11-25 Joseph Myers <joseph@codesourcery.com>
1097
1098 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1099 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1100 Likewise.
1101
11022013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103
1104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1105 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1106 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1107 (__fesetround): Remove define.
1108 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1109 rounding and exceptions handling.
1110 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1111 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1112 (__fe_nomask_env): Likewise.
1113 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1114 __fegetround instead of fegetround.
1115 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1116 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1117
11182013-11-21 Roland McGrath <roland@hack.frob.com>
1119
1120 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1121 it's there.
1122
1123 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1124
11252013-11-21 Meador Inge <meadori@codesourcery.com>
1126
1127 [BZ #11157]
1128 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1129 (encrypt_r): Likewise.
1130 * malloc/obstack.h (obstack_free): Likewise.
1131 * posix/unistd.h (encrypt): Likewise.
1132
11332013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1134
1135 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1136 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1137 DL_CALL_DT_FINI() that call the functions directly.
1138 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1139 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1140 * elf/dl-fini.c: Likewise.
1141
11422013-11-20 Ondřej Bílka <neleai@seznam.cz>
1143
1144 * malloc/hooks.c (memalign_check): Add alignment rounding.
1145 * malloc/malloc.c (_mid_memalign): New function.
1146 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1147 Implement by calling _mid_memalign.
1148 * manual/probes.texi (Memory Allocation Probes): Remove
1149 memory_valloc_retry and memory_pvalloc_retry.
1150
11512013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1152
1153 * locale/programs/locarchive.c (open_archive): Add const
1154 qualifier to ARCHIVEFNAME and copy default fname to
1155 DEFAULT_FNAME.
1156
1157 [BZ #15601]
1158 * libio/tst-widetext.input: Rename Oriya to Odia.
1159 * locale/iso-639.def: Likewise.
1160
1161 * manual/probes.texi (Mathematical Function Probes): Add
1162 documentation for sin, cos, asin and acos probes.
1163 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1164 (__sin32): Add slowasin probe.
1165 (__cos32): Add slowacos probe.
1166 (__mpsin): Add slowsin probe.
1167 (__mpcos): Add slowcos probe.
1168
11692013-11-19 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #15483]
1172 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1173 thread-local __sim_exceptions_thread and global
1174 __sim_exceptions_global.
1175 (__sim_disabled_exceptions): Change to thread-local
1176 __sim_disabled_exceptions_thread and global
1177 __sim_disabled_exceptions_global.
1178 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1179 and global __sim_round_mode_global.
1180 (__simulate_exceptions): Use thread-local floating-point state and
1181 set global state from it as needed.
1182 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1183 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1184 __sim_round_mode_thread.
1185 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1186 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1187 and global __sim_exceptions_global.
1188 (__sim_disabled_exceptions): Change to thread-local
1189 __sim_disabled_exceptions_thread and global
1190 __sim_disabled_exceptions_global.
1191 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1192 and global __sim_round_mode_global.
1193 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1194 (SIM_SET_GLOBAL): Likewise.
1195 * sysdeps/powerpc/soft-fp/sfp-machine.h
1196 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1197 __sim_round_mode_thread.
1198 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1199 __sim_disabled_exceptions_thread.
1200 (__sim_exceptions): Change to __sim_exceptions_thread.
1201 (__sim_disabled_exceptions): Change to
1202 __sim_disabled_exceptions_thread.
1203 (__sim_round_mode): Change to __sim_round_mode_thread.
1204 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1205 thread-local floating-point state and set global state from it as
1206 needed.
1207 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1208 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1209 (__sim_disabled_exceptions): Remove extern declaration.
1210 (feenableexcept): Use thread-local floating-point state and set
1211 global state from it as needed.
1212 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1213 extern declaration.
1214 (__sim_disabled_exceptions): Likewise.
1215 (__sim_round_mode): Likewise.
1216 (__fegetenv): Use thread-local floating-point state.
1217 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1218 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1219 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1220 floating-point state and set global state from it as needed.
1221 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1222 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1223 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1224 Likewise.
1225 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1226 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1227 Likewise.
1228 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1229 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1230 Use __sim_round_mode_thread.
1231 * math/test-fenv-tls.c: New file.
1232 * math/Makefile (tests): Add test-fenv-tls.
1233 ($(objpfx)test-fenv-tls): Depend on
1234 $(common-objpfx)nptl/libpthread.so.
1235
12362013-11-19 Andreas Schwab <schwab@suse.de>
1237
1238 * locale/programs/locale.c (show_info): Decode wordarray elements.
1239 * locale/categories.def (LC_MONETARY): Add element for
1240 _NL_MONETARY_CRNCYSTR.
1241 * locale/C-monetary.c (conversion_rate): New variable.
1242 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1243 element.
1244
12452013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1246
1247 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1248 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1249
12502013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1251
1252 * elf/Makefile (tst-auxv): New test.
1253 * elf/tst-auxv.c: New
1254 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1255
12562013-11-18 Joseph Myers <joseph@codesourcery.com>
1257
1258 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1259 (hidden_proto): Caller changed.
1260 (hidden_tls_proto): New macro.
1261 (libc_hidden_tls_proto): Likewise.
1262 (rtld_hidden_tls_proto): Likewise.
1263 (libm_hidden_tls_proto): Likewise.
1264 (libresolv_hidden_tls_proto): Likewise.
1265 (librt_hidden_tls_proto): Likewise.
1266 (libdl_hidden_tls_proto): Likewise.
1267 (libnss_files_hidden_tls_proto): Likewise.
1268 (libnsl_hidden_tls_proto): Likewise.
1269 (libnss_nisplus_hidden_tls_proto): Likewise.
1270 (libutil_hidden_tls_proto): Likewise.
1271
12722013-11-18 Ondřej Bílka <neleai@seznam.cz>
1273
1274 [BZ #10253]
1275 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1276 (decompose_rpath): Defer expansion to fillin_rpath.
1277 (_dl_init_paths): Pass linkmap to fillin_rpath.
1278
12792013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1280
1281 * benchtests/Makefile: Add strsep.
1282 * benchtests/bench-strsep.c: New file: strsep benchtest.
1283 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1284
12852013-11-18 Andreas Schwab <schwab@suse.de>
1286
1287 * locale/programs/locale.c (show_info) [case byte]: Check for
1288 '\377' instead of '\177'.
1289 * locale/C-monetary.c (not_available): Always use "\377".
1290 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1291 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1292 detect unavailable sign_posn locale elements.
1293 * locale/localeconv.c (__localeconv): For grouping and
1294 mon_grouping handle "\177" and "\377" like no grouping.
1295 (INT_ELEM): New macro. Use it to set all numeric members.
1296 * locale/programs/ld-monetary.c (monetary_read)
1297 <tok_mon_grouping>: Normalize single -1 to the empty string.
1298 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1299 Likewise.
1300
13012013-11-07 Ondřej Bílka <neleai@seznam.cz>
1302
1303 [BZ #16055]
1304 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1305 when we match (nil).
1306 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1307
13082013-11-16 Joseph Myers <joseph@codesourcery.com>
1309
1310 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1311 (NO_TEST_INLINE): Update value.
1312 (ERRNO_UNCHANGED): Likewise.
1313 (ERRNO_EDOM): Likewise.
1314 (ERRNO_ERANGE): Likewise.
1315 (IGNORE_RESULT): Likewise.
1316 (check_float_internal): Check signs of NaN results if
1317 TEST_NAN_SIGN used.
1318 (check_complex): Pass TEST_NAN_SIGN flag through to second
1319 check_float_internal call.
1320 (copysign_test_data): Add tests with quiet NaNs as second
1321 argument. Use TEST_NAN_SIGN.
1322 (fabs_test_data): Add test of negative quiet NaN argument. Use
1323 TEST_NAN_SIGN.
1324 (signbit_test_data): Add tests of quiet NaN argument.
1325 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1326
1327 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1328 $ignore_result.
1329 (parse_args): Handle function results specified as IGNORE.
1330 * math/libm-test.inc (IGNORE_RESULT): New macro.
1331 (check_float_internal): Do not check numerical result if flag
1332 IGNORE_RESULT set.
1333 (check_complex): Pass through IGNORE_RESULT to second
1334 check_float_internal call.
1335 (check_int): Do not check numerical result if flag IGNORE_RESULT
1336 set.
1337 (check_long): Likewise.
1338 (check_bool): Likewise.
1339 (check_longlong): Likewise.
1340 (lrint_test_data): Add tests of infinite and NaN arguments.
1341 (lrint_tonearest_test_data): Likewise.
1342 (lrint_towardzero_test_data): Likewise.
1343 (lrint_downward_test_data): Likewise.
1344 (lrint_upward_test_data): Likewise.
1345 (llrint_test_data): Likewise.
1346 (llrint_tonearest_test_data): Likewise.
1347 (llrint_towardzero_test_data): Likewise.
1348 (llrint_downward_test_data): Likewise.
1349 (llrint_upward_test_data): Likewise.
1350 (lround_test_data): Likewise.
1351 (llround_test_data): Likewise.
1352
1353 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1354 (ERRNO_UNCHANGED): Update value.
1355 (ERRNO_EDOM): Likewise.
1356 (ERRNO_ERANGE): Likewise.
1357 (NO_TEST_INLINE_FLOAT): New macro.
1358 (NO_TEST_INLINE_DOUBLE): Likewise.
1359 (enable_test): New function.
1360 (RUN_TEST_f_f): Check enable_test before running test.
1361 (RUN_TEST_2_f): Likewise.
1362 (RUN_TEST_fff_f): Likewise.
1363 (RUN_TEST_c_f): Likewise.
1364 (RUN_TEST_f_f1): Likewise.
1365 (RUN_TEST_fF_f1): Likewise.
1366 (RUN_TEST_fI_f1): Likewise.
1367 (RUN_TEST_ffI_f1): Likewise.
1368 (RUN_TEST_c_c): Likewise.
1369 (RUN_TEST_cc_c): Likewise.
1370 (RUN_TEST_f_i): Likewise.
1371 (RUN_TEST_f_i_tg): Likewise.
1372 (RUN_TEST_ff_i_tg): Likewise.
1373 (RUN_TEST_f_b): Likewise.
1374 (RUN_TEST_f_b_tg): Likewise.
1375 (RUN_TEST_f_l): Likewise.
1376 (RUN_TEST_f_L): Likewise.
1377 (RUN_TEST_fFF_11): Likewise.
1378 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1379 conditionals.
1380 (cosh_test_data): Likewise.
1381 (exp_test_data): Likewise.
1382 (expm1_test_data): Likewise.
1383 (hypot_test_data): Likewise.
1384 (pow_test_data): Likewise.
1385 (sinh_test_data): Likewise.
1386 (tanh_test_data): Likewise.
1387 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1388 flags argument.
1389
1390 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1391 tests with quiet NaN input and output.
1392 (acosh_test_data): Likewise.
1393 (asin_test_data): Likewise.
1394 (asinh_test_data): Likewise.
1395 (atan_test_data): Likewise.
1396 (atanh_test_data): Likewise.
1397 (atan2_test_data): Likewise.
1398 (cbrt_test_data): Likewise.
1399 (cos_test_data): Likewise.
1400 (cosh_test_data): Likewise.
1401 (erf_test_data): Likewise.
1402 (erfc_test_data): Likewise.
1403 (exp_test_data): Likewise.
1404 (exp10_test_data): Likewise.
1405 (exp2_test_data): Likewise.
1406 (expm1_test_data): Likewise.
1407 (hypot_test_data): Likewise.
1408 (j0_test_data): Likewise.
1409 (j1_test_data): Likewise.
1410 (jn_test_data): Likewise.
1411 (lgamma_test_data): Likewise.
1412 (log_test_data): Likewise.
1413 (log10_test_data): Likewise.
1414 (log1p_test_data): Likewise.
1415 (log2_test_data): Likewise.
1416 (pow_test_data): Likewise.
1417 (scalb_test_data): Likewise.
1418 (sin_test_data): Likewise.
1419 (sincos_test_data): Likewise.
1420 (sinh_test_data): Likewise.
1421 (tan_test_data): Likewise.
1422 (tanh_test_data): Likewise.
1423 (tgamma_test_data): Likewise.
1424 (y0_test_data): Likewise.
1425 (y1_test_data): Likewise.
1426 (yn_test_data): Likewise.
1427
1428 [BZ #16167]
1429 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1430 argument being NaN and avoid computations with second argument in
1431 that case.
1432 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1433 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1434 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1435
14362013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1437
1438 * locale/iso-639.def: Add Chitwani Tharu (the).
1439
14402013-11-14 Andreas Schwab <schwab@suse.de>
1441
1442 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1443 word instead of empty string.
1444
14452013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1448 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1450 (__fe_nomask_env): Likewise.
1451
14522013-11-13 Steve Ellcey <sellcey@mips.com>
1453
1454 * benchtests/bench-timing.h: Include time.h.
1455
14562013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 [BZ #15997]
1459 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1460 to 3.4.0 for x32.
1461 * sysdeps/unix/sysv/linux/configure: Regenerated.
1462
14632013-11-13 Joseph Myers <joseph@codesourcery.com>
1464
1465 [BZ #16151]
1466 * stdlib/strtod_l.c (round_and_return): Do not consider
1467 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1468 exponent one less than half the least subnormal exponent.
1469 * stdlib/test-strtod-round-data: Add more tests.
1470 * stdlib/tst-strtod-round.c (tests): Regenerated.
1471
14722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473
1474 [BZ #14143]
1475 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1476 (__fe_mask_env): Likewise.
1477 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1478 libm_hidden_proto and add function prototype.
1479 (__fe_mask_env): Add function prototype.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1481 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1483 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1485 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1486
14872013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1488
1489 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1490 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1491
14922013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1493
1494 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1495 of htab_find_slot().
1496
14972013-11-11 David S. Miller <davem@davemloft.net>
1498
1499 [BZ #16150]
1500 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1501 symbol in the non-vis3 case in static builds.
1502 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1503 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1504 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1505 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1506
15072013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1508
1509 [BZ #387]
1510 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1511 it is empty.
1512
15132013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * benchtests/Makefile: Add bench-strtod.
1516 * benchtests/bench-strtod.c: New file: strtod benchtest
1517
15182013-11-11 Andreas Schwab <schwab@suse.de>
1519
1520 [BZ #16153]
1521 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1522 terminating NUL in key length.
1523
15242013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525
1526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1527 Add artificial ODP entry for vDSO symbol for PPC64.
1528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1529 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1530
15312013-11-07 Ondřej Bílka <neleai@seznam.cz>
1532
1533 [BZ #15374]
1534 * nss/getent.c (services_keys): Recognize services starting with digit.
1535
15362013-11-06 David S. Miller <davem@davemloft.net>
1537
1538 [BZ #15985]
1539 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1540 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1541
15422013-11-06 Will Newton <will.newton@linaro.org>
1543
1544 * manual/memory.texi (Malloc Examples): Remove register
1545 keyword from examples.
1546
15472013-11-04 Chris Leonard <cjl@sugarlabs.org>
1548
1549 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1550
15512013-11-04 Joseph Myers <joseph@codesourcery.com>
1552
1553 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1554 depending on [__GCC_IEC_559 > 0].
1555 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1556 depending on [__GCC_IEC_559_COMPLEX > 0].
1557
15582013-11-03 Chris Leonard <cjl@sugarlabs.org>
1559
1560 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1561 to iso-639.def.
1562
15632013-11-03 Ondřej Bílka <neleai@seznam.cz>
1564
1565 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1566
15672013-11-01 Ondřej Bílka <neleai@seznam.cz>
1568
1569 [BZ #16112]
1570 * malloc/malloc (malloc_info): Do not handle first bin as
1571 special case.
1572
15732013-11-01 Chris Leonard <cjl@sugarlabs.org>
1574
1575 * locale/iso-639.def: Add Central Nahuatl (nhn).
1576
15772013-11-01 Bruno Haible <bruno@clisp.org>
1578
1579 [BZ #7003]
1580 * manual/math.texi (BSD Random): Specify range upper bound as
1581 in POSIX.
1582
15832013-10-31 Chris Leonard <cjl@sugarlabs.org>
1584
1585 * locale/iso-639.def: Add Meadow Mari (mhr).
1586
15872013-10-31 Ondřej Bílka <neleai@seznam.cz>
1588
1589 [BZ #14752], [BZ #15763]
1590 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1591 Validate name.
1592 * rt/tst_shm.c: Add test for escaping directory.
1593
15942013-10-31 Andreas Schwab <schwab@suse.de>
1595
1596 [BZ #15917]
1597 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1598 followed by 'x' as part of digit sequence.
1599 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1600
16012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1602
1603 [BZ #16037]
1604 * configure.ac: allow GNU Make 4.0 and greater.
1605 * configure: Regenerated.
1606
16072013-10-30 Will Newton <will.newton@linaro.org>
1608
1609 [BZ #16038]
1610 * malloc/hooks.c (memalign_check): Limit alignment to the
1611 maximum representable power of two.
1612 * malloc/malloc.c (__libc_memalign): Likewise.
1613 * malloc/tst-memalign.c (do_test): Add test for very
1614 large alignment values.
1615 * malloc/tst-posix_memalign.c (do_test): Likewise.
1616
16172013-10-30 Ondřej Bílka <neleai@seznam.cz>
1618
1619 [BZ #11087]
1620 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1621 (munmap_chunk): Likewise.
1622 (mremap_chunk): Likewise.
1623
16242013-10-30 Ondřej Bílka <neleai@seznam.cz>
1625
1626 [BZ #15799]
1627 * stdlib/div.c (div): Remove obsolete code.
1628 * stdlib/ldiv.c (ldiv): Likewise.
1629 * stdlib/lldiv.c (lldiv): Likewise.
1630
16312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1632
1633 [BZ #16071]
1634 * nss/nss_files/files-XXX.c (get_contents_ret): New
1635 enumerator.
1636 (get_contents): New function.
1637 (internal_getent): Use it. Expand size of LINEBUFLEN.
1638
16392013-10-30 Mike Frysinger <vapier@gentoo.org>
1640
1641 * configure.in: Moved to ...
1642 * configure.ac: ... here. Change reference to configure.in
1643 to configure.ac.
1644 * sysdeps/arm/preconfigure.ac: ... here.
1645 configure.in to configure.ac.
1646 * sysdeps/gnu/configure.in: Moved to ...
1647 * sysdeps/gnu/configure.ac: ... here.
1648 * sysdeps/i386/configure.in: Moved to ...
1649 * sysdeps/i386/configure.ac: ... here.
1650 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1651 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1652 * sysdeps/mach/configure.in: Moved to ...
1653 * sysdeps/mach/configure.ac: ... here.
1654 * sysdeps/mach/hurd/configure.in: Moved to ...
1655 * sysdeps/mach/hurd/configure.ac: ... here.
1656 * sysdeps/powerpc/configure.in: Moved to ...
1657 * sysdeps/powerpc/configure.ac: ... here.
1658 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1659 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1660 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1661 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1662 * sysdeps/s390/s390-32/configure.in: Moved to ...
1663 * sysdeps/s390/s390-32/configure.ac: ... here.
1664 * sysdeps/s390/s390-64/configure.in: Moved to ...
1665 * sysdeps/s390/s390-64/configure.ac: ... here.
1666 * sysdeps/sh/configure.in: Moved to ...
1667 * sysdeps/sh/configure.ac: ... here.
1668 * sysdeps/sparc/configure.in: Moved to ...
1669 * sysdeps/sparc/configure.ac: ... here.
1670 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1671 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1672 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1673 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1674 * sysdeps/x86_64/configure.in: Moved to ...
1675 * sysdeps/x86_64/configure.ac: ... here.
1676 * sysdeps/x86_64/preconfigure.in: Moved to ...
1677 * sysdeps/x86_64/preconfigure.ac: ... here.
1678 * aclocal.m4: Change reference to configure.in to configure.ac.
1679 * config.h.in: Likewise.
1680 * manual/install.texi: Likewise.
1681 * manual/maint.texi: Likewise.
1682 * Makefile: Likewise.
1683 * malloc/Makefile: Likewise.
1684 * nscd/Makefile: Likewise.
1685 * Makeconfig: Change reference to configure.in and
1686 preconfigure.in to configure.ac and preconfigure.ac
1687 respectively.
1688 * INSTALL: Regenerated.
1689 * configure: Likewise.
1690 * sysdeps/gnu/configure: Likewise.
1691 * sysdeps/i386/configure: Likewise.
1692 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1693 * sysdeps/mach/configure: Likewise.
1694 * sysdeps/mach/hurd/configure: Likewise.
1695 * sysdeps/powerpc/configure: Likewise.
1696 * sysdeps/powerpc/powerpc32/configure: Likewise.
1697 * sysdeps/powerpc/powerpc64/configure: Likewise.
1698 * sysdeps/s390/s390-32/configure: Likewise.
1699 * sysdeps/s390/s390-64/configure: Likewise.
1700 * sysdeps/sh/configure: Likewise.
1701 * sysdeps/sparc/configure: Likewise.
1702 * sysdeps/unix/sysv/linux/configure: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1704 * sysdeps/x86_64/configure: Likewise.
1705 * sysdeps/x86_64/preconfigure: Likewise.
1706
17072013-10-29 Andreas Schwab <schwab@suse.de>
1708
1709 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1710
17112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1712
1713 * benchtests/pow-inputs: Add new inputs.
1714
1715 * benchtests/exp-inputs: Add new inputs.
1716
1717 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1718 conditional check for return value.
1719 (__cos32): Likewise.
1720
17212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1724 to provide a boost for large inputs with word alignment.
1725 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1726 implementation based on optimized PPC64 strcpy.
1727 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1728 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1729 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1730 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1731
17322013-10-25 Ondřej Bílka <neleai@seznam.cz>
1733
1734 [BZ #2801]
1735 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1736
17372013-10-25 Ondřej Bílka <neleai@seznam.cz>
1738
1739 [BZ #14876]
1740 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1741 * time/tst-strptime.c (day_tests): Add testcase.
1742
17432013-10-25 Ondřej Bílka <neleai@seznam.cz>
1744
1745 [BZ #14029]
1746 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1747
17482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1749
1750 [BZ #16074]
1751 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1752 MAP_FAILED on error.
1753
17542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1755
1756 [BZ #16072]
1757 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1758 heap for large requests.
1759
17602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1761
1762 [BZ #9954]
1763 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1764 result if the result has no associated interface.
1765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1766 interface for all 127.X.Y.Z addresses.
1767
17682013-10-24 Chris Leonard <cjl@sugarlabs.org>
1769
1770 * locale/iso-639.def: Add Ligurian (lij)
1771
17722013-10-21 Ondřej Bílka <neleai@seznam.cz>
1773
1774 [BZ #15825]
1775 * sunrpc/rpc_main.c: Document rpcgen -5.
1776
17772013-10-19 Michael Stahl <mstahl@redhat.com>
1778
1779 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1780
17812013-10-19 Ondřej Bílka <neleai@seznam.cz>
1782
1783 [BZ #10278]
1784 * posix/glob.c: Match only directories when trailing slash is present.
1785 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1786 (main): Add testcase.
1787
17882013-10-19 Ondřej Bílka <neleai@seznam.cz>
1789
1790 [BZ #15670]
1791 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1792
17932013-10-18 Carlos O'Donell <carlos@redhat.com>
1794
1795 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1796 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1797 AUTH_DES and cindex for FIPS 140-2.
1798 (DES Encryption): Add cindex FIPS 46-3.
1799
1800 * locale/locarchive.h (struct locarhandle): Add fname.
1801 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1802 if an optional argument was specified to --list-archive,
1803 otherwise NULL.
1804 * locale/programs/locarchive.c (show_archive_content): Take new
1805 argument fname and pass it via ah.fname to open_archive.
1806 * locale/programs/localedef.h: Update decl.
1807 (open_archive): If AH->fname is non-null, open that file
1808 rather than the default file name, and don't ignore ENOENT.
1809 (create_archive): Set AH.fname to NULL.
1810 (delete_locales_from_archive): Likewise.
1811 (add_locales_to_archive): Likewise.
1812 * locale/programs/locfile.c (write_all_categories): Likewise.
1813
18142013-10-18 Joseph Myers <joseph@codesourcery.com>
1815 Aldy Hernandez <aldyh@redhat.com>
1816
1817 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1818 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1819 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1820 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1821 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1822 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1823 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1824 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1825 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1826 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1827 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1828 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1829 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1830 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1831 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1832 Likewise.
1833 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1834 Likewise.
1835 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1836 Likewise.
1837 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1838 Likewise.
1839 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1840 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1841 Likewise.
1842 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1844 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1845 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1846 Likewise.
1847 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1848 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1849 * sysdeps/powerpc/preconfigure: Likewise.
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1851 Likewise.
1852 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1853 Replace contents of file by #include of <fenv_libc.h>.
1854 * sysdeps/powerpc/soft-fp/sfp-machine.h
1855 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1856 and <sys/prctl.h>.
1857 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1862 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1865 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1866 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1868 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1870 Allow copysignl PLT reference to be missing.
1871
18722013-10-18 Richard Sandiford <richard@codesourcery.com>
1873 Joseph Myers <joseph@codesourcery.com
1874
1875 [BZ #15948]
1876 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1877 single character.
1878 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1879
18802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1881
1882 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1883 * elf/tst-tls1.c: Likewise.
1884 * elf/tst-tls10.h: Likewise.
1885 * elf/tst-tls14.c: Likewise.
1886 * elf/tst-tls2.c: Likewise.
1887 * elf/tst-tls3.c: Likewise.
1888 * elf/tst-tls4.c: Likewise.
1889 * elf/tst-tls5.c: Likewise.
1890 * elf/tst-tls6.c: Likewise.
1891 * elf/tst-tls7.c: Likewise.
1892 * elf/tst-tls8.c: Likewise.
1893 * elf/tst-tls9.c: Likewise.
1894 * elf/tst-tlsmod1.c: Likewise.
1895 * elf/tst-tlsmod13.c: Likewise.
1896 * elf/tst-tlsmod13a.c: Likewise.
1897 * elf/tst-tlsmod14a.c: Likewise.
1898 * elf/tst-tlsmod16a.c: Likewise.
1899 * elf/tst-tlsmod16b.c: Likewise.
1900 * elf/tst-tlsmod2.c: Likewise.
1901 * elf/tst-tlsmod3.c: Likewise.
1902 * elf/tst-tlsmod4.c: Likewise.
1903 * elf/tst-tlsmod5.c: Likewise.
1904 * elf/tst-tlsmod6.c: Likewise.
1905
19062013-10-18 Ondřej Bílka <neleai@seznam.cz>
1907
1908 [BZ #12486]
1909 * malloc/malloc.c: remove checks for statistics.
1910
19112013-10-17 Ondřej Bílka <neleai@seznam.cz>
1912
1913 [BZ #15277]
1914 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1915 * inet/tst-network.c: Add testcase.
1916
19172013-10-17 Andreas Schwab <schwab@suse.de>
1918
1919 [BZ #15218]
1920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1921 to determine canonical name.
1922
19232013-10-17 Ondřej Bílka <neleai@seznam.cz>
1924
1925 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1926 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1949 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1950 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1955 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1973 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1974 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1975 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1976 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1977 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1978 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1980 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1983
19842013-10-17 Joseph Myers <joseph@codesourcery.com>
1985
1986 [BZ #16041]
1987 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1988 make result into a quiet NaN.
1989
19902013-10-16 Joseph Myers <joseph@codesourcery.com>
1991
1992 * soft-fp/adddf3.c: Fix horizontal whitespace.
1993 * soft-fp/addsf3.c: Likewise.
1994 * soft-fp/addtf3.c: Likewise.
1995 * soft-fp/divdf3.c: Likewise.
1996 * soft-fp/divsf3.c: Likewise.
1997 * soft-fp/divtf3.c: Likewise.
1998 * soft-fp/double.h: Likewise.
1999 * soft-fp/eqdf2.c: Likewise.
2000 * soft-fp/eqsf2.c: Likewise.
2001 * soft-fp/eqtf2.c: Likewise.
2002 * soft-fp/extenddftf2.c: Likewise.
2003 * soft-fp/extended.h: Likewise.
2004 * soft-fp/extendsfdf2.c: Likewise.
2005 * soft-fp/extendsftf2.c: Likewise.
2006 * soft-fp/extendxftf2.c: Likewise.
2007 * soft-fp/fixdfdi.c: Likewise.
2008 * soft-fp/fixdfsi.c: Likewise.
2009 * soft-fp/fixdfti.c: Likewise.
2010 * soft-fp/fixsfdi.c: Likewise.
2011 * soft-fp/fixsfsi.c: Likewise.
2012 * soft-fp/fixsfti.c: Likewise.
2013 * soft-fp/fixtfdi.c: Likewise.
2014 * soft-fp/fixtfsi.c: Likewise.
2015 * soft-fp/fixtfti.c: Likewise.
2016 * soft-fp/fixunsdfdi.c: Likewise.
2017 * soft-fp/fixunsdfsi.c: Likewise.
2018 * soft-fp/fixunsdfti.c: Likewise.
2019 * soft-fp/fixunssfdi.c: Likewise.
2020 * soft-fp/fixunssfsi.c: Likewise.
2021 * soft-fp/fixunssfti.c: Likewise.
2022 * soft-fp/fixunstfdi.c: Likewise.
2023 * soft-fp/fixunstfsi.c: Likewise.
2024 * soft-fp/fixunstfti.c: Likewise.
2025 * soft-fp/floatdidf.c: Likewise.
2026 * soft-fp/floatdisf.c: Likewise.
2027 * soft-fp/floatditf.c: Likewise.
2028 * soft-fp/floatsidf.c: Likewise.
2029 * soft-fp/floatsisf.c: Likewise.
2030 * soft-fp/floatsitf.c: Likewise.
2031 * soft-fp/floattidf.c: Likewise.
2032 * soft-fp/floattisf.c: Likewise.
2033 * soft-fp/floattitf.c: Likewise.
2034 * soft-fp/floatundidf.c: Likewise.
2035 * soft-fp/floatundisf.c: Likewise.
2036 * soft-fp/floatunditf.c: Likewise.
2037 * soft-fp/floatunsidf.c: Likewise.
2038 * soft-fp/floatunsisf.c: Likewise.
2039 * soft-fp/floatunsitf.c: Likewise.
2040 * soft-fp/floatuntidf.c: Likewise.
2041 * soft-fp/floatuntisf.c: Likewise.
2042 * soft-fp/floatuntitf.c: Likewise.
2043 * soft-fp/fmadf4.c: Likewise.
2044 * soft-fp/fmasf4.c: Likewise.
2045 * soft-fp/fmatf4.c: Likewise.
2046 * soft-fp/gedf2.c: Likewise.
2047 * soft-fp/gesf2.c: Likewise.
2048 * soft-fp/getf2.c: Likewise.
2049 * soft-fp/ledf2.c: Likewise.
2050 * soft-fp/lesf2.c: Likewise.
2051 * soft-fp/letf2.c: Likewise.
2052 * soft-fp/muldf3.c: Likewise.
2053 * soft-fp/mulsf3.c: Likewise.
2054 * soft-fp/multf3.c: Likewise.
2055 * soft-fp/negdf2.c: Likewise.
2056 * soft-fp/negsf2.c: Likewise.
2057 * soft-fp/negtf2.c: Likewise.
2058 * soft-fp/op-1.h: Likewise.
2059 * soft-fp/op-2.h: Likewise.
2060 * soft-fp/op-4.h: Likewise.
2061 * soft-fp/op-8.h: Likewise.
2062 * soft-fp/op-common.h: Likewise.
2063 * soft-fp/quad.h: Likewise.
2064 * soft-fp/single.h: Likewise.
2065 * soft-fp/soft-fp.h: Likewise.
2066 * soft-fp/sqrtdf2.c: Likewise.
2067 * soft-fp/sqrtsf2.c: Likewise.
2068 * soft-fp/sqrttf2.c: Likewise.
2069 * soft-fp/subdf3.c: Likewise.
2070 * soft-fp/subsf3.c: Likewise.
2071 * soft-fp/subtf3.c: Likewise.
2072 * soft-fp/truncdfsf2.c: Likewise.
2073 * soft-fp/trunctfdf2.c: Likewise.
2074 * soft-fp/trunctfsf2.c: Likewise.
2075 * soft-fp/trunctfxf2.c: Likewise.
2076 * soft-fp/unorddf2.c: Likewise.
2077 * soft-fp/unordsf2.c: Likewise.
2078 * soft-fp/unordtf2.c: Likewise.
2079
20802013-10-15 Joseph Myers <joseph@codesourcery.com>
2081
2082 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2083 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2084
20852013-10-15 Ondřej Bílka <neleai@seznam.cz>
2086
2087 * elf/dl-libc.c: Clear initfini list after freeing.
2088
20892013-10-14 Joseph Myers <joseph@codesourcery.com>
2090
2091 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2092 * soft-fp/addsf3.c: Likewise.
2093 * soft-fp/addtf3.c: Likewise.
2094 * soft-fp/divdf3.c: Likewise.
2095 * soft-fp/divsf3.c: Likewise.
2096 * soft-fp/divtf3.c: Likewise.
2097 * soft-fp/double.h: Likewise.
2098 * soft-fp/eqdf2.c: Likewise.
2099 * soft-fp/eqsf2.c: Likewise.
2100 * soft-fp/eqtf2.c: Likewise.
2101 * soft-fp/extenddftf2.c: Likewise.
2102 * soft-fp/extended.h: Likewise.
2103 * soft-fp/extendsfdf2.c: Likewise.
2104 * soft-fp/extendsftf2.c: Likewise.
2105 * soft-fp/extendxftf2.c: Likewise.
2106 * soft-fp/fixdfdi.c: Likewise.
2107 * soft-fp/fixdfsi.c: Likewise.
2108 * soft-fp/fixdfti.c: Likewise.
2109 * soft-fp/fixsfdi.c: Likewise.
2110 * soft-fp/fixsfsi.c: Likewise.
2111 * soft-fp/fixsfti.c: Likewise.
2112 * soft-fp/fixtfdi.c: Likewise.
2113 * soft-fp/fixtfsi.c: Likewise.
2114 * soft-fp/fixtfti.c: Likewise.
2115 * soft-fp/fixunsdfdi.c: Likewise.
2116 * soft-fp/fixunsdfsi.c: Likewise.
2117 * soft-fp/fixunsdfti.c: Likewise.
2118 * soft-fp/fixunssfdi.c: Likewise.
2119 * soft-fp/fixunssfsi.c: Likewise.
2120 * soft-fp/fixunssfti.c: Likewise.
2121 * soft-fp/fixunstfdi.c: Likewise.
2122 * soft-fp/fixunstfsi.c: Likewise.
2123 * soft-fp/fixunstfti.c: Likewise.
2124 * soft-fp/floatdidf.c: Likewise.
2125 * soft-fp/floatdisf.c: Likewise.
2126 * soft-fp/floatditf.c: Likewise.
2127 * soft-fp/floatsidf.c: Likewise.
2128 * soft-fp/floatsisf.c: Likewise.
2129 * soft-fp/floatsitf.c: Likewise.
2130 * soft-fp/floattidf.c: Likewise.
2131 * soft-fp/floattisf.c: Likewise.
2132 * soft-fp/floattitf.c: Likewise.
2133 * soft-fp/floatundidf.c: Likewise.
2134 * soft-fp/floatundisf.c: Likewise.
2135 * soft-fp/floatunsidf.c: Likewise.
2136 * soft-fp/floatunsisf.c: Likewise.
2137 * soft-fp/floatuntidf.c: Likewise.
2138 * soft-fp/floatuntisf.c: Likewise.
2139 * soft-fp/floatuntitf.c: Likewise.
2140 * soft-fp/fmadf4.c: Likewise.
2141 * soft-fp/fmasf4.c: Likewise.
2142 * soft-fp/fmatf4.c: Likewise.
2143 * soft-fp/gedf2.c: Likewise.
2144 * soft-fp/gesf2.c: Likewise.
2145 * soft-fp/getf2.c: Likewise.
2146 * soft-fp/ledf2.c: Likewise.
2147 * soft-fp/lesf2.c: Likewise.
2148 * soft-fp/letf2.c: Likewise.
2149 * soft-fp/muldf3.c: Likewise.
2150 * soft-fp/mulsf3.c: Likewise.
2151 * soft-fp/multf3.c: Likewise.
2152 * soft-fp/negdf2.c: Likewise.
2153 * soft-fp/negsf2.c: Likewise.
2154 * soft-fp/negtf2.c: Likewise.
2155 * soft-fp/op-1.h: Likewise.
2156 * soft-fp/op-2.h: Likewise.
2157 * soft-fp/op-4.h: Likewise.
2158 * soft-fp/op-8.h: Likewise.
2159 * soft-fp/op-common.h: Likewise.
2160 * soft-fp/quad.h: Likewise.
2161 * soft-fp/single.h: Likewise.
2162 * soft-fp/soft-fp.h: Likewise.
2163 * soft-fp/sqrtdf2.c: Likewise.
2164 * soft-fp/sqrtsf2.c: Likewise.
2165 * soft-fp/sqrttf2.c: Likewise.
2166 * soft-fp/subdf3.c: Likewise.
2167 * soft-fp/subsf3.c: Likewise.
2168 * soft-fp/subtf3.c: Likewise.
2169 * soft-fp/truncdfsf2.c: Likewise.
2170 * soft-fp/trunctfdf2.c: Likewise.
2171 * soft-fp/trunctfsf2.c: Likewise.
2172 * soft-fp/trunctfxf2.c: Likewise.
2173 * soft-fp/unorddf2.c: Likewise.
2174 * soft-fp/unordsf2.c: Likewise.
2175 * soft-fp/unordtf2.c: Likewise.
2176
21772013-10-14 Ondřej Bílka <neleai@seznam.cz>
2178
2179 [BZ #15672]
2180 * misc/error.c (error_tail): Fix possible buffer overflow.
2181
21822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2183
2184 [BZ #13028]
2185 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2186 address.
2187
21882013-10-14 P. J. McDermott <pj@pehjota.net>
2189
2190 [BZ #832]
2191 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2192 testing pipefail option.
2193
21942013-10-12 Joseph Myers <joseph@codesourcery.com>
2195
2196 * soft-fp/double.h: Indent preprocessor directives inside #if.
2197 * soft-fp/extended.h: Likewise.
2198 * soft-fp/op-2.h: Likewise.
2199 * soft-fp/op-4.h: Likewise.
2200 * soft-fp/op-common.h: Likewise.
2201 * soft-fp/quad.h: Likewise.
2202 * soft-fp/single.h: Likewise.
2203 * soft-fp/soft-fp.h: Likewise.
2204
22052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2206
2207 * iconv/iconv_prog.c: Fix typos.
2208 * stdio-common/psiginfo-data.h: Likewise.
2209
22102013-10-12 Reuben Thomas <rrt@sc3d.org>
2211
2212 [BZ #15764]
2213 * locale/setlocale.c: Fix typo.
2214
22152013-10-12 Joseph Myers <joseph@codesourcery.com>
2216
2217 [BZ #16036]
2218 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2219 signaling NaN arguments.
2220 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2221 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2222
2223 [BZ #14910]
2224 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2225 unordered operands.
2226 * soft-fp/gesf2.c (__gesf2): Likewise.
2227 * soft-fp/getf2.c (__getf2): Likewise.
2228 * soft-fp/ledf2.c (__ledf2): Likewise.
2229 * soft-fp/lesf2.c (__lesf2): Likewise.
2230 * soft-fp/letf2.c (__letf2): Likewise.
2231
2232 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2233 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2234 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2235 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2236 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2237 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2238 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2239 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2240 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2241 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2242 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2243 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2244 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2245 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2246 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2247 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2248 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2249 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2250 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2251 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2252 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2253 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2254 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2255 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2256 * soft-fp/floattidf.c (__floattidf): Likewise.
2257 * soft-fp/floattisf.c (__floattisf): Likewise.
2258 * soft-fp/floattitf.c (__floattitf): Likewise.
2259 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2260 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2261 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2262 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2263 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2264 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2265 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2266 * soft-fp/gesf2.c (__gesf2): Likewise.
2267 * soft-fp/getf2.c (__getf2): Likewise.
2268 * soft-fp/ledf2.c (__ledf2): Likewise.
2269 * soft-fp/lesf2.c (__lesf2): Likewise.
2270 * soft-fp/letf2.c (__letf2): Likewise.
2271
2272 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2273 Undefine and redefine.
2274 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2275 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2276 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2277 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2278 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2279 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2280 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2281 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2282 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2283 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2284 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2285 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2286 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2287 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2288 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2289
2290 [BZ #16032]
2291 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2292 without decrementing exponent if mantissa >= that for the
2293 denominator, not >.
2294 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2295 denominator, not >. Decrement exponent in < case instead of
2296 incrementing in >= case.
2297 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2298 without decrementing exponent if mantissa >= that for the
2299 denominator, not >.
2300
2301 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2302 computing saturated result for unsigned overflow.
2303
23042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2305 Jeff Law <law@redhat.com>
2306
2307 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2308 (atan2Mp): Add systemtap probe marker.
2309 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2310 (__ieee754_log): Add systemtap probe marker.
2311 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2312 (atanMp): Add systemtap probe marker.
2313 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2314 (tanMp): Add systemtap probe marker.
2315 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2316 (__slowexp): Add systemtap probe marker.
2317 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2318 (__slowpow): Add systemtap probe marker.
2319 * manual/probes.texi: Document probes.
2320
23212013-10-11 Eric Biggers <ebiggers3@gmail.com>
2322
2323 [BZ #15362]
2324 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2325 written.
2326 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2327 written.
2328 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2329 written to buffer but not flushed.
2330 * libio/iofwrite_u.c: Likewise.
2331 * libio/iopadn.c: Return bytes returned even if EOF was
2332 encountered.
2333 * libio/iowpadn.c: Likewise.
2334 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2335 if _IO_padn does not write the whole buffer.
2336 [!COMPILE_WPRINTF] (PAD): Likewise.
2337
23382013-10-10 David S. Miller <davem@davemloft.net>
2339
2340 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2341 directory block.
2342
23432013-10-10 Joseph Myers <joseph@codesourcery.com>
2344
2345 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2346 instead of FSF address.
2347 * soft-fp/fixdfti.c: Likewise.
2348 * soft-fp/fixsfti.c: Likewise.
2349 * soft-fp/fixtfti.c: Likewise.
2350 * soft-fp/fixunsdfti.c: Likewise.
2351 * soft-fp/fixunssfti.c: Likewise.
2352 * soft-fp/fixunstfti.c: Likewise.
2353 * soft-fp/floattidf.c: Likewise.
2354 * soft-fp/floattisf.c: Likewise.
2355 * soft-fp/floattitf.c: Likewise.
2356 * soft-fp/floatuntidf.c: Likewise.
2357 * soft-fp/floatuntisf.c: Likewise.
2358 * soft-fp/floatuntitf.c: Likewise.
2359 * soft-fp/trunctfxf2.c: Likewise.
2360
2361 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2362 * soft-fp/fixdfti.c: Likewise.
2363 * soft-fp/fixsfti.c: Likewise.
2364 * soft-fp/fixtfti.c: Likewise.
2365 * soft-fp/fixunsdfti.c: Likewise.
2366 * soft-fp/fixunssfti.c: Likewise.
2367 * soft-fp/fixunstfti.c: Likewise.
2368 * soft-fp/floattidf.c: Likewise.
2369 * soft-fp/floattisf.c: Likewise.
2370 * soft-fp/floattitf.c: Likewise.
2371 * soft-fp/floatuntidf.c: Likewise.
2372 * soft-fp/floatuntisf.c: Likewise.
2373 * soft-fp/floatuntitf.c: Likewise.
2374 * soft-fp/trunctfxf2.c: Likewise.
2375
23762013-10-10 David S. Miller <davem@davemloft.net>
2377
2378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2379
23802013-10-10 Joseph Myers <joseph@codsourcery.com>
2381
2382 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2383 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2384 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2385 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2386 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2387 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2388 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2389
2390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2391 for NaNs before doing comparisons on argument.
2392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2393 Likewise.
2394
23952013-10-10 Will Newton <will.newton@linaro.org>
2396
2397 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2398 passed to _int_memalign does not overflow.
2399
24002013-10-10 Torvald Riegel <triegel@redhat.com>
2401
2402 * scripts/bench.pl: Add include-sources directive.
2403 * benchtests/README: Update documentation.
2404
24052013-10-10 Joseph Myers <joseph@codesourcery.com>
2406
2407 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2408 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2409 instead of FP_INIT_ROUNDMODE.
2410 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2411 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2412
2413 [BZ #16034]
2414 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2415 copy class of input value.
2416 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2417 not handle exceptions.
2418 * soft-fp/negsf2.c (__negsf2): Likewise.
2419 * soft-fp/negtf2.c (__negtf2): Likewise.
2420 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2421
24222013-10-09 Joseph Myers <joseph@codesourcery.com>
2423
2424 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2425 semicolon. From Linux kernel.
2426
24272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2428
2429 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2430
24312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2432
2433 [BZ #156]
2434 * manual/socket.texi: Added statement about buffer
2435 for gethostbyname2_r.
2436
24372013-10-08 Ondřej Bílka <neleai@seznam.cz>
2438
2439 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2440 Use .p2align directive instead, throughout.
2441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2442 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2443 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2445 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2446 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2447 * sysdeps/x86_64/strchr.S: Likewise.
2448 * sysdeps/x86_64/strrchr.S: Likewise.
2449
24502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2452 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2453
2454 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2455
2456 * sysdeps/generic/math_private.h (__mpsin1): Remove
2457 declaration.
2458 (__mpcos1): Likewise.
2459 (__mpsin): New argument __range_reduce.
2460 (__mpcos): Likewise.
2461 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2462 (slow): Use __mpsin and __mpcos.
2463 (slow1): Likewise.
2464 (slow2): Likewise.
2465 (sloww): Likewise.
2466 (sloww1): Likewise.
2467 (sloww2): Likewise.
2468 (bsloww): Likewise.
2469 (bsloww1): Likewise.
2470 (bsloww2): Likewise.
2471 (cslow2): Likewise.
2472 (csloww): Likewise.
2473 (csloww1): Likewise.
2474 (csloww2): Likewise.
2475 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2476 range_reduce. Merge in __mpsin1.
2477 (__mpcos): Likewise.
2478 (__mpsin1): Remove.
2479 (__mpcos1): Likewise.
2480
24812013-10-07 Joseph Myers <joseph@codesourcery.com>
2482
2483 * locale/loadlocale.c (_nl_intern_locale_data): Use
2484 LOCFILE_ALIGNED_P.
2485 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2486 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2487 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2488 obstack data is appropriately aligned.
2489 (obstack_int32_grow_fast): Likewise.
2490 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2491 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2492 (add_locale_uint32_array): Likewise.
2493
24942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2495
2496 * benchtests/Makefile: Remove ARGLIST and RET variables.
2497 ($(objpfx)bench-%.c): Pass only function name to the script.
2498 * benchtests/README: Update documentation.
2499 * benchtests/acos-inputs: Add new directives.
2500 * benchtests/acosh-inputs: Likewise.
2501 * benchtests/asin-inputs: Likewise.
2502 * benchtests/asinh-inputs: Likewise.
2503 * benchtests/atan-inputs: Likewise.
2504 * benchtests/atanh-inputs: Likewise.
2505 * benchtests/cos-inputs: Likewise.
2506 * benchtests/cosh-inputs: Likewise.
2507 * benchtests/exp-inputs: Likewise.
2508 * benchtests/log-inputs: Likewise.
2509 * benchtests/pow-inputs: Likewise.
2510 * benchtests/rint-inputs: Likewise.
2511 * benchtests/sin-inputs: Likewise.
2512 * benchtests/sinh-inputs: Likewise.
2513 * benchtests/tan-inputs: Likewise.
2514 * benchtests/tanh-inputs: Likewise.
2515 * scripts/bench.pl: Add support for new directives.
2516
25172013-10-07 Alan Modra <amodra@gmail.com>
2518
2519 * README: Fix careless merge.
2520
25212013-10-05 Alan Modra <amodra@gmail.com>
2522
2523 * NEWS: Mention powerpc64le support and bugs fixed.
2524 * README: Both big-endian and little-endian powerpc64 supported.
2525
25262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2527
2528 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2529 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2530 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2531 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2532
25332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2534
2535 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2536 match prototype.
2537
25382013-10-04 Joseph Myers <joseph@codesourcery.com>
2539
2540 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2541 Move -mhard-float appending from
2542 ports/sysdeps/powerpc/powerpc32/Makefile.
2543 [$(with-fp) = yes] (ASFLAGS): Likewise.
2544 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2545 * sysdeps/powerpc/nofpu: Move directory from
2546 ports/sysdeps/powerpc/nofpu.
2547 * sysdeps/powerpc/soft-fp: Move directory from
2548 ports/sysdeps/powerpc/soft-fp.
2549 * sysdeps/powerpc/powerpc32/405: Move directory from
2550 ports/sysdeps/powerpc/powerpc32/405.
2551 * sysdeps/powerpc/powerpc32/440: Move directory from
2552 ports/sysdeps/powerpc/powerpc32/440.
2553 * sysdeps/powerpc/powerpc32/464: Move directory from
2554 ports/sysdeps/powerpc/powerpc32/464.
2555 * sysdeps/powerpc/powerpc32/476: Move directory from
2556 ports/sysdeps/powerpc/powerpc32/476.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2558 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2560 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2562 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2564 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2566 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2567 * README: Update for powerpc-*-linux-gnu software floating point
2568 support in libc.
2569
2570 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2571 case to powerpc/powerpc32*.
2572 * sysdeps/unix/sysv/linux/configure: Regenerated.
2573
2574 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2575 (_FPU_MASK_OM): Define as 0x04.
2576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2578 0x00c10080.
2579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2580 0x0000003c.
2581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2582
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2584 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2585 getcontext_e500.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2587 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2588 setcontext_e500.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2590 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2591 and setcontext_e500.
2592
25932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2594
2595 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2596
25972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
2599 * manual/threads.texi (Default Thread Attributes): Fix typo.
2600
26012013-10-04 Will Newton <will.newton@linaro.org>
2602
2603 * malloc/Makefile: Add tst-memalign.
2604 * malloc/tst-memalign.c: New file.
2605
2606 * malloc/tst-posix_memalign.c: Add comments.
2607 (do_test): Add comments and call free on all potentially
2608 allocated pointers. Add space after cast.
2609
2610 * malloc/tst-pvalloc.c: Add comments.
2611 (do_test): Add comments and call free on all potentially
2612 allocated pointers. Remove duplicate check for NULL pointer.
2613 Add space after cast.
2614
2615 * malloc/tst-valloc.c: Add comments.
2616 (do_test): Add comments and call free on all potentially
2617 allocated pointers. Remove duplicate check for NULL pointer.
2618 Add space after cast.
2619
26202013-10-04 Alan Modra <amodra@gmail.com>
2621
2622 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2623 Use stdint types in rather than __attribute__((mode())).
2624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2625
26262013-10-04 Alan Modra <amodra@gmail.com>
2627
2628 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2629 Correct handling of unaligned relocs for little-endian.
2630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2631
26322013-10-04 Alan Modra <amodra@gmail.com>
2633
2634 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2635 * configure: Regenerate.
2636 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2637 * shlib-versions: Likewise.
2638
26392013-10-04 Alan Modra <amodra@gmail.com>
2640
2641 * string/tester.c (test_memrchr): Increment reported test cycle.
2642
26432013-10-04 Alan Modra <amodra@gmail.com>
2644
2645 * string/test-memcpy.c (do_one_test): When reporting errors, print
2646 string address and don't overrun end of string.
2647
26482013-10-04 Alan Modra <amodra@gmail.com>
2649
2650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2651 insrdi. Make better use of reg selection to speed exit slightly.
2652 Schedule entry path a little better. Remove useless "are we done"
2653 checks on entry to main loop. Handle wrapping around zero address.
2654 Correct main loop count. Handle single left-over word from main
2655 loop inline rather than by using loop_small. Remove extra word
2656 case in loop_small caused by wrong loop count. Add little-endian
2657 support.
2658 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2660 cache hint.
2661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2663 support. Avoid rlwimi.
2664 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2665
26662013-10-04 Alan Modra <amodra@gmail.com>
2667
2668 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2669 insrdi. Formatting.
2670 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2673 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2674 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2675 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2676
26772013-10-04 Alan Modra <amodra@gmail.com>
2678
2679 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2680 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2682 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2683 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2684 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2685 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2686 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2688 use of regs. Use power7 mtocrf. Tidy function tails.
2689
26902013-10-04 Alan Modra <amodra@gmail.com>
2691
2692 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2693 Formatting. Consistently use rXXX register defines or rN defines.
2694 Use early exit labels that avoid restoring unused non-volatile regs.
2695 Make cr field use more consistent with rWORDn compares. Rename
2696 regs used as shift registers for unaligned loop, using rN defines
2697 for short lifetime/multiple use regs.
2698 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2700 addi 1,1,64 to pop stack frame. Simplify return value code.
2701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2702
27032013-10-04 Alan Modra <amodra@gmail.com>
2704
2705 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2706 support. Correct typos, formatting. Optimize tail. Use insrdi
2707 rather than rlwimi.
2708 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2710 little-endian support. Correct typos.
2711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2712 rather than rlwimi.
2713 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2714 in loop and entry code to keep "and." results.
2715 (strchr): Add little-endian support. Comment. Move cntlzd
2716 earlier in tail.
2717 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2718
27192013-10-04 Alan Modra <amodra@gmail.com>
2720
2721 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2722 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2725
27262013-10-04 Alan Modra <amodra@gmail.com>
2727
2728 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2729 (rTMP): Define as r11.
2730 (strcmp): Add little-endian support. Optimise tail.
2731 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2732 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2733 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2736 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2738
27392013-10-04 Alan Modra <amodra@gmail.com>
2740
2741 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2742 little-endian support. Remove unnecessary "are we done" tests.
2743 Handle "s" wrapping around zero and extremely large "size".
2744 Correct main loop count. Handle single left-over word from main
2745 loop inline rather than by using small_loop. Correct comments.
2746 Delete "zero" tail, use "end_max" instead.
2747 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2748
27492013-10-04 Alan Modra <amodra@gmail.com>
2750
2751 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2752 support. Don't branch over align.
2753 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2755 support. Rearrange tmp reg use to suit. Comment.
2756 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2757
27582013-10-04 Alan Modra <amodra@gmail.com>
2759
2760 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2761
27622013-10-04 Alan Modra <amodra@gmail.com>
2763
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2765 conditional form of branch and link when obtaining pc.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2767
27682013-10-04 Alan Modra <amodra@gmail.com>
2769
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2771 HIWORD/LOWORD.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2774
27752013-10-04 Alan Modra <amodra@gmail.com>
2776
2777 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2778 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2779 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2780 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2781 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2782 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2783 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2786 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2787
27882013-10-04 Anton Blanchard <anton@au1.ibm.com>
2789 Alistair Popple <alistair@ozlabs.au.ibm.com>
2790 Alan Modra <amodra@gmail.com>
2791
2792 [BZ #15723]
2793 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2794 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2795 _dl_hwcap access for little-endian.
2796 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2797 destroy vmx regs when saving unaligned.
2798 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2799 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2800 destroy vmx regs when saving unaligned.
2801
28022013-10-04 Alan Modra <amodra@gmail.com>
2803
2804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2805 Don't use a union to pack hi/low value.
2806
28072013-10-04 Anton Blanchard <anton@au1.ibm.com>
2808
2809 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2810 for little-endian.
2811 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2815 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2816
28172013-10-04 Alan Modra <amodra@gmail.com>
2818
2819 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2820 constants to usual value for .cst8 section, and remove redundant
2821 high address load.
2822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2823 constant for 0x1p52. Load little-endian words of double from
2824 correct stack offsets.
2825
28262013-10-04 Alan Modra <amodra@gmail.com>
2827
2828 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2829 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2830 words of double from correct stack offsets.
2831 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2832 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2833 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2835 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2838 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2839 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2841 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2843 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2845 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2847 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2848
28492013-10-04 Alan Modra <amodra@gmail.com>
2850
2851 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2852 64-bit int/double union.
2853 (_FPU_SETCW): Likewise.
2854 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2855 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2856
28572013-10-04 Alan Modra <amodra@gmail.com>
2858
2859 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2860 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2861
28622013-10-04 Alan Modra <amodra@gmail.com>
2863
2864 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2865 use vector int constants.
2866 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2867
28682013-10-04 Anton Blanchard <anton@au1.ibm.com>
2869
2870 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2871 array with long long.
2872 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2873 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2874 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2875 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2876 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2877 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2878 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2879 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2880 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2881 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2882 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2883 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2884 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2885
28862013-10-04 Anton Blanchard <anton@au1.ibm.com>
2887
2888 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2889 (__signbit): Likewise. Correct for little-endian.
2890 (__signbitl): Call __signbit.
2891 (lrint): Correct for little-endian.
2892 (lrintf): Call lrint.
2893
28942013-10-04 Alan Modra <amodra@gmail.com>
2895
2896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2897 union 32-bit int array member with 64-bit int array.
2898 (t515, tm256): Double rather than long double.
2899 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2900
29012013-10-04 Alan Modra <amodra@gmail.com>
2902
2903 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2904 Delete.
2905 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2907 version of math_ldbl.h.
2908
29092013-10-04 Alan Modra <amodra@gmail.com>
2910
2911 [BZ #15734], [BZ #15735]
2912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2913 all uses of ieee875 long double macros and unions. Simplify test
2914 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2915 ldbl_extract_mantissa value for ix,iy exponents. Properly
2916 normalize after ldbl_extract_mantissa, and don't add hidden bit
2917 already handled. Don't treat low word of ieee854 mantissa like
2918 low word of IBM long double and mask off bit when testing for
2919 zero.
2920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2921 all uses of ieee875 long double macros and unions. Simplify tests
2922 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2923 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2924 two1022, instead use their values. Recognise that tests for large
2925 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2926 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2927 Rewrite all uses of ieee875 long double macros and unions. Simplify
2928 test for 0.0L and nan. Correct negation.
2929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2930 ieee875 long double macros and unions. Correct output for large
2931 magnitude x. Correct absolute value calculation.
2932 (__erfcl): Likewise.
2933 * math/libm-test.inc: Add tests for errors discovered in IBM long
2934 double versions of fmodl, remainderl, erfl and erfcl.
2935
29362013-10-04 Alan Modra <amodra@gmail.com>
2937
2938 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2939 all uses of ieee854 long double macros and unions. Simplify tests
2940 for long doubles that are fully specified by the high double.
2941 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2942 Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2944 Remove dead code too.
2945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2946 (__ieee754_ynl): Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2950 Remove dead code too.
2951 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2955 Simplify.
2956 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2957 Simplify.
2958 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2961 Comment on variable precision.
2962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2964 Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2966 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2969 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2970
29712013-10-04 Alan Modra <amodra@gmail.com>
2972
2973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2975 all uses of ieee854 long double macros and unions.
2976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2982 Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2987 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2989 Simplify sign and nan test too.
2990 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2992 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2993 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2994 Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2996 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2997 Likewise.
2998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2999 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3000 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3001 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3002 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3004
30052013-10-04 Alan Modra <amodra@gmail.com>
3006
3007 * stdio-common/printf_size.c (__printf_size): Don't use
3008 union ieee854_long_double in fpnum union.
3009 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3010 signbit macro to retrieve sign from long double.
3011 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3012 retrieve sign from long double.
3013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3014 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3015 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3016 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3017 * math/test-misc.c (main): Don't use union ieee854_long_double.
3018
30192013-10-04 Alan Modra <amodra@gmail.com>
3020
3021 [BZ #15680]
3022 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3023 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3024 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3025 calculation. Remove unnecessary test for denormal exponent.
3026 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3027 Correct handling of denormals. Avoid undefined shift behaviour.
3028 Correct normalisation of low mantissa when low double is denormal.
3029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3030 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3031 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3032 Correct normalisation of low mantissa. Test for overflow of high
3033 mantissa and normalise.
3034 (ldbl_nearbyint): Use more readable constant for two52.
3035 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3036 (__mpn_construct_long_double): Fix test for overflow of high
3037 mantissa and correct normalisation. Avoid undefined shift.
3038
30392013-10-04 Alan Modra <amodra@gmail.com>
3040
3041 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3042 (union ibm_extended_long_double): Define as an array of ieee754_double.
3043 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3044 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3045 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3046 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3048 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3050 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3052 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3053 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3054
30552013-10-03 Joseph Myers <joseph@codesourcery.com>
3056
3057 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3058 page size instead of calling getpagesize.
3059
3060 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3061 (LOCFILE_ALIGN_MASK): Likewise.
3062 (LOCFILE_ALIGN_UP): Likewise.
3063 (LOCFILE_ALIGNED_P): Likewise.
3064 * locale/programs/ld-collate.c (collate_output): Use the new
3065 macros instead of __alignof__ (int32_t).
3066 * locale/weight.h (findidx): Likewise.
3067
30682013-10-03 Ondřej Bílka <neleai@seznam.cz>
3069
3070 [BZ #431]
3071 * manual/string.texi: Fix strncat and wcsncat.
3072
30732013-10-03 Brooks Moses <bmoses@google.com>
3074
3075 [BZ #15915]
3076 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3077 * Makerules: ...here, and adjust associated comments.
3078
30792013-10-02 Will Newton <will.newton@linaro.org>
3080
3081 * malloc/Makefile: Add tst-pvalloc.
3082 * malloc/tst-pvalloc.c: New file.
3083
30842013-10-02 Will Newton <will.newton@linaro.org>
3085
3086 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3087 improve test coverage.
3088
30892013-10-02 Will Newton <will.newton@linaro.org>
3090
3091 * malloc/Makefile: Add tst-posix_memalign.
3092 * malloc/tst-posix_memalign.c: New file.
3093
30942013-10-01 Eric Blake <eblake@redhat.com>
3095
3096 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3097 Use __THROWNL rather than __THROW on static functions.
3098
30992013-09-30 Petr Machata <pmachata@redhat.com>
3100
3101 * elf/elf.h (R_AARCH64_ABS16): New macro.
3102 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3103 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3104 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3105 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3106 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3107 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3108 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3109 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3110 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3111 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3112 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3113 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3114 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3115 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3116 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3117 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3118 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3119 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3120 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3121 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3122 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3123 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3124 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3125 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3126 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3127 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3128 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3129 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3130 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3131 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3132 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3133 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3134 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3135 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3136 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3137 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3138 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3139 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3140 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3141 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3142 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3143 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3144 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3145 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3146 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3147 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3148 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3149 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3150 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3151 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3152 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3153 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3154 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3155 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3156 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3157 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3158 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3159 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3160 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3161 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3162 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3163 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3164 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3165 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3166 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3167 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3168 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3169 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3170 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3171 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3172 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3173 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3174 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3175 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3176 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3177 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3178 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3179 (R_AARCH64_TLSDESC_LDR): Likewise.
3180 (R_AARCH64_TLSDESC_ADD): Likewise.
3181 (R_AARCH64_TLSDESC_CALL): Likewise.
3182
31832013-09-30 Andreas Schwab <schwab@suse.de>
3184
3185 [BZ #15048]
3186 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3187 the nss database lookup.
3188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3190
31912013-09-28 Mike Frysinger <vapier@gentoo.org>
3192
3193 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3194
31952013-09-28 P. J. McDermott <pj@pehjota.net>
3196
3197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3198 ${Bash-specific parameter/pattern/string} parameter expansion.
3199 * sysdeps/unix/make-syscalls.sh: Likewise.
3200
32012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3202
3203 * sysdeps/sh/stackguard-macros.h: New file.
3204
32052013-09-26 Ondřej Bílka <neleai@seznam.cz>
3206
3207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3209 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3210 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3211 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3212 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3213
32142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215
3216 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3217 Fix thread ID register.
3218
32192013-09-25 Joseph Myers <joseph@codesourcery.com>
3220
3221 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3222 [POSIX || UNIX98]: Require rather than permitting all symbols from
3223 <time.h>.
3224 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3225 element of struct sched_param.
3226 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3227 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3228 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3229 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3230 constant.
3231
32322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3233
3234 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3235 argument calculation.
3236
32372013-09-24 Joseph Myers <joseph@codesourcery.com>
3238
3239 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3240 Expect macro.
3241 [POSIX] (pthread_attr_t): Do not require type.
3242 [POSIX] (pthread_cond_t): Likewise.
3243 [POSIX] (pthread_condattr_t): Likewise.
3244 [POSIX] (pthread_key_t): Likewise.
3245 [POSIX] (pthread_mutex_t): Likewise.
3246 [POSIX] (pthread_mutexattr_t): Likewise.
3247 [POSIX] (pthread_once_t): Likewise.
3248 [POSIX] (pthread_t): Likewise.
3249 [POSIX-based standards] (pthread_atfork): Expect function.
3250
32512013-09-24 Joseph Myers <joseph@codesourcery.com>
3252 Richard Sandiford <richard@codesourcery.com>
3253
3254 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3255 (swap_endianness_p): New extern variable.
3256 (set_big_endian): New inline function.
3257 (maybe_swap_uint32): Likewise.
3258 (maybe_swap_uint32_array): Likewise.
3259 (maybe_swap_uint32_obstack): Likewise.
3260 * locale/programs/locfile.c: Include <stdbool.h>.
3261 (swap_endianness_p): New variable.
3262 (add_locale_uint32): Call maybe_swap_uint32.
3263 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3264 (write_locale_data): Call maybe_swap_uint32_array.
3265 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3266 maybe_swap_uint32.
3267 (obstack_int32_grow_fast): Likewise.
3268 (output_weightwc): Call maybe_swap_uint32_obstack.
3269 (collate_output): Likewise.
3270 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3271 (OPT_LITTLE_ENDIAN): Likewise.
3272 (options): Add --little-endian and --big-endian options.
3273 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3274 * locale/programs/locarchive.c: Include "locfile.h".
3275 (GET): New macro.
3276 (SET): Likewise.
3277 (INC): Likewise.
3278 (create_archive): Use the new macros to access fields of
3279 structures directly mapped from or written to locale archives.
3280 (oldlocrecentcmp): Likewise.
3281 (enlarge_archive): Likewise.
3282 (insert_name): Likewise.
3283 (add_alias): Likewise.
3284 (add_locale): Likewise.
3285 (delete_locales_from_archive): Likewise.
3286 (show_archive_content): Likewise.
3287 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3288 locale data.
3289
32902013-09-24 Roland McGrath <roland@hack.frob.com>
3291
3292 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3293 http://www.gnu.org/doc/freemanuals.texi.
3294 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3295
32962013-09-24 Will Newton <will.newton@linaro.org>
3297
3298 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3299 macro.
3300
33012013-09-23 Joseph Myers <joseph@codesourcery.com>
3302
3303 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3304 unsigned char.
3305
33062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3307
3308 * manual/threads.texi (POSIX Threads): Fix a typo.
3309
33102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3311
3312 [BZ #14547]
3313 * string/tst-strcoll-overflow.c: New test case.
3314 * string/Makefile (xtests): Add tst-strcoll-overflow.
3315 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3316 cache if string sizes may cause integer overflow.
3317
3318 [BZ #14547]
3319 * string/strcoll_l.c (coll_seq): New members rule, idx,
3320 save_idx and back_us.
3321 (get_next_seq_nocache): New function.
3322 (do_compare_nocache): New function.
3323 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3324 when malloc fails.
3325
33262013-09-23 Carlos O'Donell <carlos@redhat.com>
3327
3328 [BZ #15754]
3329 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3330 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3331 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3332
3333 [BZ #15754]
3334 * elf/Makefile (tests): Add tst-ptrguard1.
3335 (tests-static): Add tst-ptrguard1-static.
3336 (tst-ptrguard1-ARGS): Define.
3337 (tst-ptrguard1-static-ARGS): Define.
3338 * elf/tst-ptrguard1.c: New file.
3339 * elf/tst-ptrguard1-static.c: New file.
3340 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3341 * sysdeps/i386/stackguard-macros.h: Likewise.
3342 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3343 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3344 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3345 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3346 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3347 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3348
33492013-09-23 Hector Marco <hecmargi@upv.es>
3350 Ismael Ripoll <iripoll@disca.upv.es>
3351 Carlos O'Donell <carlos@redhat.com>
3352
3353 [BZ #15754]
3354 * sysdeps/generic/stackguard-macros.h: Define
3355 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3356 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3357 Define __pointer_chk_guard_local.
3358 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3359 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3360
33612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3362
3363 [BZ #15859]
3364 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3365
33662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3367
3368 * include/string.h (__ffs): Declare as hidden.
3369 * string/ffs.c (__ffs): Define as hidden.
3370 * sysdeps/i386/ffs.c (__ffs): Likewise.
3371 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3372 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3373 * sysdeps/s390/ffs.c (__ffs): Likewise.
3374 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3375
33762013-09-20 Alexandre Oliva <aoliva@redhat.com>
3377
3378 * NEWS: Mention malloc probes.
3379
3380 * malloc/arena.c (new_heap): New memory_heap_new probe.
3381 (grow_heap): New memory_heap_more probe.
3382 (shrink_heap): New memory_heap_less probe.
3383 (heap_trim): New memory_heap_free probe.
3384 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3385 (systrim): New memory_sbrk_less probe.
3386 * manual/probes.texi: Document them.
3387
3388 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3389 * manual/probes.texi: Document it.
3390
3391 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3392 (__libc_realloc): Add memory_realloc_retry probe.
3393 (__libc_memalign): Add memory_memalign_retry probe.
3394 (__libc_valloc): Add memory_valloc_retry probe.
3395 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3396 (__libc_calloc): Add memory_calloc_retry probe.
3397 * manual/probes.texi: Document them.
3398
3399 * malloc/arena.c (get_free_list): Add probe
3400 memory_arena_reuse_free_list.
3401 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3402 and memory_arena_reuse.
3403 (arena_get2) [!PER_THREAD]: Likewise.
3404 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3405 memory_arena_reuse_realloc.
3406 * manual/probes.texi: Document them.
3407
3408 * malloc/malloc.c (__libc_free): Add
3409 memory_mallopt_free_dyn_thresholds probe.
3410 (__libc_mallopt): Add multiple memory_mallopt probes.
3411 * manual/probes.texi: Document them.
3412
3413 * malloc/malloc.c: Include stap-probe.h.
3414 (__libc_mallopt): Add memory_mallopt probe.
3415 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3416 * manual/probes.texi: New.
3417 * manual/Makefile (chapters): Add probes.
3418 * manual/threads.texi: Set next node.
3419
34202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3421
3422 [BZ #15963, #13985]
3423 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3424 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3425 Add `Chinese' to `nan' entry name.
3426
34272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
3429 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3430 (POLYNOMIAL): Likewise.
3431 (TAYLOR_SINCOS): Likewise.
3432 (TAYLOR_SLOW): Likewise.
3433 (__sin): Use TAYLOR_SINCOS.
3434 (__cos): Likewise.
3435 (slow): Use TAYLOR_SLOW.
3436 (sloww): Likewise.
3437 (bsloww): Likewise.
3438 (csloww): Likewise.
3439
34402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3441
3442 * stdlib/strtod_l.c: Fix buffer overrun.
3443
34442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3445
3446 * benchtests/Makefile (bench): Add sincos.
3447 * benchtests/bench-sincos.c: New file.
3448
3449 * math/libm-test.inc (cos_test_data): New test inputs.
3450 (sin_test_data): Likewise.
3451
3452 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3453 macro.
3454 (__sin): Use it.
3455 (__cos): Likewise.
3456 (slow1): Likewise.
3457 (slow2): Likewise.
3458 (sloww1): Likewise.
3459 (sloww2): Likewise.
3460 (bsloww1): Likewise.
3461 (bsloww2): Likewise.
3462 (cslow2): Likewise.
3463 (csloww1): Likewise.
3464 (csloww2): Likewise.
3465
3466 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3467 function.
3468 (__sin): Use it.
3469 (__cos): Likewise.
3470
3471 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3472 gotos.
3473 (__cos): Likewise.
3474
34752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3476
3477 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3478 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3479 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3480 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3481 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3482 * elf/cache.c (print_entry): Handle the new cache flags.
3483
34842013-09-18 Joseph Myers <joseph@codesourcery.com>
3485 Aldy Hernandez <aldyh@redhat.com>
3486
3487 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3488 Change condition to [_SOFT_FLOAT].
3489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3501 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3504 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3505 declaration.
3506
35072013-09-18 Joseph Myers <joseph@codesourcery.com>
3508
3509 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3510 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3511 (__longjmp): Use LOAD_GP to load saved GPRs.
3512 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3513 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3514 (__sigsetjmp): Use SAVE_GP to save GPRs.
3515
3516 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3517 Do not append -msoft-float.
3518 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3519
35202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3521
3522 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3523
35242013-09-17 Joseph Myers <joseph@codesourcery.com>
3525
3526 [BZ #15966]
3527 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3528 (_FPU_GETCW): Use initial "__" on variable and field names but not
3529 on macro parameter name.
3530 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3531 parentheses around reference to macro parameter.
3532
35332013-09-13 Richard Sandiford <richard@codesourcery.com>
3534
3535 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3536 prototype.
3537 (ctype_startup): Use uint32_t in cast and sizeof for
3538 ctype->charnames.
3539
35402013-09-11 Jia Liu <proljc@gmail.com>
3541
3542 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3543 __daddr_t_defined.
3544 [__FreeBSD__]: Likewise.
3545
35462013-09-11 Ondřej Bílka <neleai@seznam.cz>
3547
3548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3549 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3550 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3551 (strchr): Remove __strchr_sse42 ifunc selection.
3552 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3553 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3554
35552013-09-11 Will Newton <will.newton@linaro.org>
3556
3557 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3558 parameter to RES. Remove hardcoded 1000 value.
3559 * benchtests/bench-skeleton.c (main): Pass RES parameter
3560 to TIMING_INIT and multiply result by 1000.
3561
35622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3565
35662013-09-11 Andreas Schwab <schwab@suse.de>
3567
3568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3569 if not defined.
3570 (O_TMPFILE) [__USE_GNU]: Define.
3571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3572 Define.
3573
35742013-09-11 Will Newton <will.newton@linaro.org>
3575
3576 [BZ #15857]
3577 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3578 does not overflow.
3579
35802013-09-11 Will Newton <will.newton@linaro.org>
3581
3582 [BZ #15856]
3583 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3584 does not overflow.
3585
35862013-09-11 Will Newton <will.newton@linaro.org>
3587
3588 [BZ #15855]
3589 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3590 does not overflow.
3591
35922013-09-10 Ondřej Bílka <neleai@seznam.cz>
3593
3594 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3599
36002013-09-10 Allan McRae <allan@archlinux.org>
3601
3602 [BZ #15748]
3603 * manual/arith.texi (Parsing of Floats): Clarify
3604 cross-reference.
3605
3606 [BZ #15849]
3607 * manual/install.texi (Running make install): Mention
3608 --enable-pt-chown.
3609 * INSTALL: Regenerated.
3610
36112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3612
3613 * csu/init-first.c (_init): Remove the !SHARED condition around
3614 FPU control word initialization.
3615 * elf/dl-support.c (_dl_fpu_control): New variable.
3616 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3617 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3618 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3619 * math/test-fpucw-static.c: New file.
3620 * math/test-fpucw-ieee.c: New file.
3621 * math/test-fpucw-ieee-static.c: New file.
3622 * math/Makefile (tests): Add `test-fpucw-ieee' and
3623 `$(tests-static)'.
3624 (tests-static): New variable.
3625 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3626 dependency to...
3627 [($(build-shared),yes)]
3628 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3629 ... this.
3630 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3631 New dependency.
3632
36332013-09-09 Allan McRae <allan@archlinux.org>
3634
3635 [BZ #15939]
3636 * manual/string.texi (Collation Functions): Fix typo in
3637 strcoll example.
3638 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3639
3640 [BZ #15893]
3641 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3642
3643 [BZ #15892]
3644 * libio/memstream.c (open_memstream): Fix memory leak.
3645 * libio/wmemstream.c (open_wmemstream): Likewise.
3646
3647 [BZ #15895]
3648 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3649
36502013-09-09 Will Newton <will.newton@linaro.org>
3651
3652 * malloc/Makefile: Add tst-realloc to tests.
3653 * malloc/tst-realloc.c: New file.
3654
36552013-09-09 Allan McRae <allan@archlinux.org>
3656
3657 [BZ #15844]
3658 * COPYING: Update from GNU website to fix FSF address.
3659 * COPYING.LIB: Likewise.
3660
36612013-09-06 David S. Miller <davem@davemloft.net>
3662
3663 * po/zh_TW.po: Update Chinese (traditional) translation from
3664 translation project.
3665
36662013-09-06 Richard Sandiford <richard@codesourcery.com>
3667 Joseph Myers <joseph@codesourcery.com>
3668
3669 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3670 "localeinfo.h".
3671 (obstack_chunk_alloc): New macro.
3672 (obstack_chunk_free): Likewise.
3673 (record_offset): New function.
3674 (init_locale_data): Likewise.
3675 (align_locale_data): Likewise.
3676 (add_locale_empty): Likewise.
3677 (add_locale_raw_data): Likewise.
3678 (add_locale_raw_obstack): Likewise.
3679 (add_locale_string): Likewise.
3680 (add_locale_wstring): Likewise.
3681 (add_locale_uint32): Likewise.
3682 (add_locale_uint32_array): Likewise.
3683 (add_locale_char): Likewise.
3684 (start_locale_structure): Likewise.
3685 (end_locale_structure): Likewise.
3686 (start_locale_prelude): Likewise.
3687 (end_locale_prelude): Likewise.
3688 (write_locale_data): Take locale_file structure rather than an
3689 iovec.
3690 * locale/programs/locfile.h: Include "obstack.h".
3691 (struct locale_file): Change to store locale file contents instead
3692 of header.
3693 (init_locale_data): New prototype.
3694 (align_locale_data): Likewise.
3695 (add_locale_empty): Likewise.
3696 (add_locale_raw_data): Likewise.
3697 (add_locale_raw_obstack): Likewise.
3698 (add_locale_string): Likewise.
3699 (add_locale_wstring): Likewise.
3700 (add_locale_uint32): Likewise.
3701 (add_locale_uint32_array): Likewise.
3702 (add_locale_char): Likewise.
3703 (start_locale_structure): Likewise.
3704 (end_locale_structure): Likewise.
3705 (start_locale_prelude): Likewise.
3706 (end_locale_prelude): Likewise.
3707 (write_locale_data): Update prototype.
3708 * locale/programs/3level.h (struct TABLE): Remove result field.
3709 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3710 Use new locale_file interface.
3711 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3712 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3713 * locale/programs/ld-address.c (address_output): Use new
3714 locale_file interface.
3715 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3716 NO_ADD_LOCALE.
3717 (collate_finish): Don't call collseq_table_finalize.
3718 (collate_output): Use new locale_file interface.
3719 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3720 in file.
3721 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3722 (TABLE): Move defines earlier in file.
3723 (ELEMENT): Likewise.
3724 (DEFAULT): Likewise.
3725 (wctrans_table_add): Move macro and inline function earlier in
3726 file.
3727 (struct wctype_table): Move type earlier in file.
3728 (add_locale_wctype_table): New static prototype.
3729 (struct locale_ctype_t): Use logical types instead of struct iovec
3730 pointers for members.
3731 (ctype_output): Use new locale_file interface.
3732 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3733 new locale_file interface.
3734 (allocate_arrays): Update for use of new locale_file interface.
3735 * locale/programs/ld-identification.c (identification_output): Use
3736 new locale_file interface.
3737 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3738 * locale/programs/ld-messages.c (messages_output): Likewise.
3739 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3740 * locale/programs/ld-name.c (name_output): Likewise.
3741 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3742 * locale/programs/ld-paper.c (paper_output): Likewise.
3743 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3744 * locale/programs/ld-time.c (time_output): Likewise.
3745
37462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747
3748 * benchtests/Makefile: Add memrchr benchmark.
3749 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3750 benchmark as memrchr.
3751 * benchtests/bench-memrchr-ifunc.c: New file.
3752 * benchtests/bench-memrchr.c: New file.
3753
37542013-09-06 Will Newton <will.newton@linaro.org>
3755
3756 * benchtests/Makefile (string-bench): Add memcpy.
3757
37582013-09-05 Carlos O'Donell <carlos@redhat.com>
3759 Cong Wang <amwang@redhat.com>
3760
3761 * sysdeps/unix/sysv/linux/bits/in.h
3762 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3763 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3764 before __USE_KERNEL_IPV6_DEFS uses.
3765 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3766 IPPROTO_BEETPH.
3767 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3768 sockaddr_in6, or ipv6_mreq.
3769
37702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771
3772 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3773 memory access for final bytes in some large inputs.
3774 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3775
37762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777
3778 * string/test-memrchr.c: New file.
3779 * string/test-memrchr-ifunc.c: New file.
3780 * string/Makefile: Add new memrchr testcase.
3781
37822013-09-05 Mike Frysinger <vapier@gentoo.org>
3783
3784 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3785 fanotify_init returns EPERM.
3786
37872013-09-04 Joseph Myers <joseph@codesourcery.com>
3788
3789 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3790 errors.
3791 (top level): Treat second token from macro or constant entries for
3792 allowed headers as allowed.
3793 * include/complex.h: Condition internal declarations on
3794 [!_ISOMAC].
3795 * include/fenv.h: Condition include of <stdbool.h> and internal
3796 declarations on [!_ISOMAC].
3797
37982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3799
3800 [BZ #15923]
3801 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3802
38032013-09-04 Joseph Myers <joseph@codesourcery.com>
3804
3805 * configure.in (--enable-versioning): Remove configure option.
3806 (libc_cv_asm_symver_directive): Remove configure test.
3807 (libc_cv_ld_version_script_option): Likewise.
3808 (VERSIONING): Remove variable and AC_SUBST.
3809 (DO_VERSIONING): Remove AC_DEFINE.
3810 * configure: Regenerated.
3811 * config.h.in (DO_VERSIONING): Remove macro.
3812 * Makerules [$(versioning) = yes]: Change conditionals to
3813 [$(build-shared) = yes].
3814 * config.make.in (versioning): Remove variable.
3815 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3816 [$(build-shared) = yes].
3817 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3818 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3819 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3820 [$(build-shared) = yes].
3821 * extra-lib.mk [$(versioning) = yes]: Likewise.
3822 * hurd/Makefile [$(versioning) = yes]: Likewise.
3823 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3824 [SHARED].
3825 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3826 [SHARED].
3827 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3828 [SHARED && !NO_HIDDEN].
3829 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3830 [SHARED].
3831 [SHARED && DO_VERSIONING]: Likewise..
3832 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3833 [$(build-shared) = yes].
3834 * manual/install.texi (--disable-versioning): Remove
3835 documentation.
3836 * INSTALL: Regenerated.
3837 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3838 to [SHARED].
3839 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3840 [$(build-shared) = yes].
3841 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3842 * sysdeps/i386/i686/multiarch/strstr-c.c
3843 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3844 [SHARED && !NO_HIDDEN].
3845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3846 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3847 * sysdeps/powerpc/powerpc32/dl-machine.c
3848 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3849 * sysdeps/powerpc/powerpc32/sysdep.h
3850 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3851 to [SHARED && PIC && !NO_HIDDEN].
3852 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3853 conditional to [SHARED].
3854
38552013-09-04 Will Newton <will.newton@linaro.org>
3856
3857 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3858 * benchtests/bench-string.h: Include bench-timing.h instead
3859 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3860 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3861 call to HP_TIMING_DIFF_INIT.
3862 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3863 instead of hp-timing.h macros.
3864 * benchtests/bench-memchr.c: Likewise.
3865 * benchtests/bench-memcmp.c: Likewise.
3866 * benchtests/bench-memcpy.c: Likewise.
3867 * benchtests/bench-memmem.c: Likewise.
3868 * benchtests/bench-memmove.c: Likewise.
3869 * benchtests/bench-memset.c: Likewise.
3870 * benchtests/bench-rawmemchr.c: Likewise.
3871 * benchtests/bench-strcasecmp.c: Likewise.
3872 * benchtests/bench-strcasestr.c: Likewise.
3873 * benchtests/bench-strcat.c: Likewise.
3874 * benchtests/bench-strchr.c: Likewise.
3875 * benchtests/bench-strcmp.c: Likewise.
3876 * benchtests/bench-strcpy.c: Likewise.
3877 * benchtests/bench-strcpy_chk.c: Likewise.
3878 * benchtests/bench-strlen.c: Likewise.
3879 * benchtests/bench-strncasecmp.c: Likewise.
3880 * benchtests/bench-strncat.c: Likewise.
3881 * benchtests/bench-strncmp.c: Likewise.
3882 * benchtests/bench-strncpy.c: Likewise.
3883 * benchtests/bench-strnlen.c: Likewise.
3884 * benchtests/bench-strpbrk.c: Likewise.
3885 * benchtests/bench-strrchr.c: Likewise.
3886 * benchtests/bench-strspn.c: Likewise.
3887 * benchtests/bench-strstr.c: Likewise.
3888
38892013-09-04 Will Newton <will.newton@linaro.org>
3890
3891 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3892
38932013-09-03 Joseph Myers <joseph@codesourcery.com>
3894
3895 [BZ #15427]
3896 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3897 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3898 * math/libm-test.inc (lgamma_test_data): Add more tests.
3899 * sysdeps/i386/fpu/libm-test-ulps: Update.
3900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3901
39022013-09-03 Ondřej Bílka <neleai@seznam.cz>
3903
3904 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3906 Add ifunc.
3907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3908 Add strcmp-sse2-unaligned
3909 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3910
39112013-09-02 Mike Frysinger <vapier@gentoo.org>
3912
3913 * Versions.def (libc): Add GLIBC_2.19.
3914
39152013-09-02 Mike Frysinger <vapier@gentoo.org>
3916
3917 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3918 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3919
39202013-09-02 Joseph Myers <joseph@codesourcery.com>
3921
3922 [BZ #14155]
3923 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3924 intermediate calculations in recurrence.
3925 (__ieee754_ynf): Likewise.
3926 * math/libm-test.inc (jn_test_data): Do not allow spurious
3927 underflow exception. Add more tests.
3928 (yn_test_data): Add more tests.
3929 * sysdeps/i386/fpu/libm-test-ulps: Update.
3930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931
39322013-09-02 Ondřej Bílka <neleai@seznam.cz>
3933
3934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3935
39362013-08-30 Ondřej Bílka <neleai@seznam.cz>
3937
3938 * csu/init-first.c: Fix then/than typos.
3939 * locale/programs/ld-collate.c: Likewise.
3940 * locale/programs/linereader.h: Likewise.
3941 * manual/charset.texi: Likewise.
3942 * manual/filesys.texi: Likewise.
3943 * manual/stdio.texi: Likewise.
3944 * manual/string.texi: Likewise.
3945 * stdlib/fmtmsg.c: Likewise.
3946 * sysdeps/i386/stpncpy.S: Likewise.
3947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3948 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3950 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3951
39522013-08-30 Ondřej Bílka <neleai@seznam.cz>
3953
3954 * elf/dl-open.c: Fix typos.
3955 * iconvdata/gbbig5.c: Likewise.
3956 * iconvdata/iso-2022-jp.c: Likewise.
3957 * iconv/gconv_int.h: Likewise.
3958 * iconv/loop.c: Likewise.
3959 * nis/rpcsvc/nis.h: Likewise.
3960 * resolv/ns_name.c: Likewise.
3961 * stdio-common/vfscanf.c: Likewise.
3962 * streams/stropts.h: Likewise.
3963 * sunrpc/rpc_thread.c: Likewise.
3964 * sysdeps/i386/strpbrk.S: Likewise.
3965 * sysdeps/ieee754/k_standard.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3968 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3969 * sysdeps/mach/hurd/profil.c: Likewise.
3970 * sysdeps/s390/dl-procinfo.h: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3974 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3976
39772013-08-30 Ondřej Bílka <neleai@seznam.cz>
3978
3979 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3981
39822013-08-29 Ondřej Bílka <neleai@seznam.cz>
3983
3984 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3985 aix specific files.
3986 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3987 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3990 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3992 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3994
39952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3996 Roland McGrath <roland@hack.frob.com>
3997
3998 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3999 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4000
40012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4002
4003 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4004 __executable_start symbol instead of _start.
4005
40062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4007
4008 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4009 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4010 Move macros to...
4011 * sysdeps/gnu/ldsodefs.h: ... this new file.
4012
4013 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4014 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4015 instead of ELFOSABI_LINUX.
4016
4017 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4018 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4019 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4020 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4021 Likewise.
4022 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4023 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4025 Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4027 (ibm_extended_long_double): Add ieee_nan member.
4028 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4029 (do_test): New function.
4030
4031 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4032 TEST_TRUNC.
4033 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4034 functions, renamed from truncdfsf_test, trunctfsf_test,
4035 trunctfdf_test.
4036 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4037 functions.
4038 (do_test): Run all these.
4039
40402013-08-29 Ondřej Bílka <neleai@seznam.cz>
4041
4042 * argp/argp-help.c: Fix typos.
4043 * argp/argp-parse.c: Likewise.
4044 * debug/backtracesyms.c: Likewise.
4045 * elf/elf.h: Likewise.
4046 * malloc/malloc.c: Likewise.
4047 * nis/nis_print.c: Likewise.
4048 * resolv/res_comp.c: Likewise.
4049 * stdlib/stdlib.h: Likewise.
4050 * sunrpc/clnt_tcp.c: Likewise.
4051 * sunrpc/clnt_udp.c: Likewise.
4052 * sunrpc/clnt_unix.c: Likewise.
4053 * sysdeps/unix/bsd/ptsname.c: Likewise.
4054 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4055 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4057 Likewise.
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4059 Likewise.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4061 Likewise.
4062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4063
40642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
4066 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4068
40692013-08-27 Mike Frysinger <vapier@gentoo.org>
4070
4071 [BZ #15897]
4072 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4073 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4074 ($(objpfx)bug-dl-leaf): New rule.
4075 ($(objpfx)bug-dl-leaf.so): Likewise.
4076 ($(objpfx)bug-dl-leaf.out): Likewise.
4077 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4078 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4079 * dlfcn/bug-dl-leaf.c: New test.
4080 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4081 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4082 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4083 (dlclose): Likewise.
4084 (dlmopen): Likewise.
4085
40862013-08-27 Roland McGrath <roland@hack.frob.com>
4087
4088 * include/netdb.h [!_ISOMAC]:
4089 Don't include <tls.h>.
4090 (h_errno, __libc_h_errno): Move declaration and macros out of
4091 [_LIBC_REENTRANT].
4092
4093 * include/resolv.h [_RESOLV_H_]:
4094 Don't include <tls.h>.
4095 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4096 * resolv/res_libc.c: Don't include <tls.h>.
4097 (_res): Use __attribute__ ((nocommon)) in place of
4098 __attribute__ ((section (".bss"))).
4099
4100 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4101 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4102
4103 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4104
4105 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4106 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4107
4108 * resolv/res_mkquery.c: Include <sys/time.h>.
4109
4110 * inet/ifreq.c: Moved to ...
4111 * sysdeps/unix/ifreq.c: ... here.
4112 * inet/ifreq.c: New file, true stub version.
4113
4114 * socket/sa_len.c: New file.
4115 * socket/Makefile (aux): Add it.
4116 * sysdeps/unix/sysv/linux/Makefile
4117 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4118 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4119 and #include <socket/sa_len.c>.
4120 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4121 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4122
4123 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4124 * bits/socket.h: ... here.
4125
4126 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4127 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4128 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4129
41302013-08-27 Andreas Schwab <schwab@suse.de>
4131
4132 [BZ #15736]
4133 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4134 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4135 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4136 * string/test-strcasecmp.c (test_main): Run tests in several
4137 locales.
4138 * string/test-strncasecmp.c (test_main): Likewise.
4139
4140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4141 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4142 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4144 (__strncasecmp_ssse3) [PIC]: Likewise.
4145
41462013-08-26 Roland McGrath <roland@hack.frob.com>
4147
4148 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4149
4150 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4151 instead of explicitly declaring xdecrypt.
4152 * nis/nss_nis/nis-publickey.c: Likewise.
4153
41542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4155
4156 [BZ #15890]
4157 * nscd/aicache.c: Include res_hconf.h.
4158 (addhstaiX): Initialize res_hconf.
4159
41602013-08-26 Andreas Schwab <schwab@suse.de>
4161
4162 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4163 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4164
41652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
4167 * nscd/aicache.c (addhstaiX): Fix indentation.
4168
41692013-08-25 Mike Frysinger <vapier@gentoo.org>
4170
4171 * configure.ac: Quote $build_pt_chown test.
4172 * configure: Regenerated.
4173
41742013-08-23 Joseph Myers <joseph@codesourcery.com>
4175
4176 [BZ #15532]
4177 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4178 * math/s_cexpf.c (__cexpf): Likewise.
4179 * math/s_cexpl.c (__cexpl): Likewise.
4180 * math/libm-test.inc (cexp_test_data): Correct expected return
4181 value for NaN + i0. Add another test.
4182
41832013-08-22 David S. Miller <davem@davemloft.net>
4184
4185 * po/ca.po: Update Catalan translation from translation project.
4186 * po/uk.po: Add Ukrainian translations from translation project.
4187
41882013-08-21 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #15797]
4191 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4192 is infinite, not alongside NaN test.
4193 * math/s_fdimf.c (__fdimf): Likewise.
4194 * math/s_fdiml.c (__fdiml): Likewise.
4195 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4196 errno is unchanged.
4197
41982013-08-21 Ondřej Bílka <neleai@seznam.cz>
4199
4200 * argp/argp-help.c: Fix typos.
4201 * crypt/speeds.c: Likewise.
4202 * csu/check_fds.c: Likewise.
4203 * elf/dl-load.c: Likewise.
4204 * elf/dl-open.c: Likewise.
4205 * elf/reldep3.c: Likewise.
4206 * elf/reldep.c: Likewise.
4207 * elf/sprof.c: Likewise.
4208 * iconv/iconv_charmap.c: Likewise.
4209 * iconv/skeleton.c: Likewise.
4210 * iconv/strtab.c: Likewise.
4211 * io/lockf64.c: Likewise.
4212 * libio/libioP.h: Likewise.
4213 * resolv/gai_notify.c: Likewise.
4214 * resolv/ns_name.c: Likewise.
4215 * resolv/ns_samedomain.c: Likewise.
4216 * resolv/res_send.c: Likewise.
4217 * stdlib/random.c: Likewise.
4218 * sunrpc/rpc/xdr.h: Likewise.
4219 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4221 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4222 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4227 * sysdeps/mach/hurd/check_fds.c: Likewise.
4228 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4229 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4232 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4233 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4234 * sysdeps/pthread/aio_notify.c: Likewise.
4235 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4236 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4237 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4239 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4240
42412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4242
4243 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4244 version if bit_Slow_SSE4_2 is set.
4245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4246 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4247
42482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249
4250 [BZ #15867]
4251 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4252 trampoline stack frame information.
4253 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4255 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4256 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4257 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4258 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4259 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4260 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4261 sa_flags value.
4262 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4263 interrupting a syscall and set with option SA_SIGINFO.
4264
42652013-08-20 Joseph Myers <joseph@codesourcery.com>
4266
4267 [BZ #15531]
4268 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4269 argument is infinite.
4270 * math/s_cprojf.c (__cprojf): Likewise.
4271 * math/s_cprojl.c (__cprojl): Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4273 * math/libm-test.inc (cproj_test_data): Add more tests.
4274
4275 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4276
4277 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4278 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4279 size. Use __ffs to determine corresponding shift.
4280
42812013-08-20 Joseph Myers <joseph@codesourcery.com>
4282 Roland McGrath <roland@hack.frob.com>
4283
4284 * Makefile (INSTALL): Remove trailing blank lines from output of
4285 makeinfo.
4286
42872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4288
4289 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4290 Align 32 bit compat elf_greg to 8 bytes.
4291
42922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293
4294 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4295
42962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4297
4298 * string/strcoll_l.c (coll_seq): New structure.
4299 (get_next_seq_cached): New function.
4300 (get_next_seq): New function.
4301 (do_compare): New function.
4302 (STRCOLL): Use GNU style definition. Simplify implementation
4303 by using get_next_seq, get_next_seq_cached and do_compare.
4304
43052013-08-16 Florian Weimer <fweimer@redhat.com>
4306
4307 [BZ #14699]
4308 CVE-2013-4237
4309 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4310 member.
4311 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4312 member.
4313 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4314 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4315 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4316 conditional.
4317 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4318 GETDENTS_64BIT_ALIGNED.
4319 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4320 * manual/filesys.texi (Reading/Closing Directory): Document
4321 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4322 strongly.
4323 * manual/conf.texi (Limits for Files): Add portability note to
4324 NAME_MAX, PATH_MAX.
4325 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4326
43272013-08-13 Andreas Schwab <schwab@suse.de>
4328
4329 [BZ #15749]
4330 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4331 of fabs.
4332 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4333 LDBL_MAX_EXP >= 16384]: Add tests for it.
4334
43352013-08-12 David S. Miller <davem@davemloft.net>
4336
4337 * version.h (RELEASE): Set to "development".
4338 (VERSION): Set to "2.18.90".
4339 * NEWS: Add 2.19 section.
4340
43412013-08-03 David S. Miller <davem@davemloft.net>
4342
4343 * po/ko.po: Update Korean translation from translation project.
4344
43452013-08-01 David S. Miller <davem@davemloft.net>
4346
4347 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4348 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4349 Bilka.
4350
43512013-07-30 David S. Miller <davem@davemloft.net>
4352
4353 * po/fr.po: Update French translation from translation project.
4354
43552013-07-28 David S. Miller <davem@davemloft.net>
4356
4357 * po/cs.po: Update Czech translation from translation project.
4358
4359 * po/sv.po: Update Swedish translation from translation project.
4360
43612013-07-27 David S. Miller <davem@davemloft.net>
4362
4363 * po/eo.po: Update Esperanto translation from translation project.
4364
4365 * po/vi.po: Update Vietnamese translation from translation project.
4366
4367 * po/de.po: Update German translation from translation project.
4368
43692013-07-26 David S. Miller <davem@davemloft.net>
4370
4371 * po/bg.po: Update Bulgarian translation from translation project.
4372
4373 * po/nl.po: Update Dutch translation from translation project.
4374 * po/pl.po: Update Polish translation from translation project.
4375 * po/ru.po: Update Russian translation from translation project.
4376
43772013-07-24 David S. Miller <davem@davemloft.net>
4378
4379 * po/libc.pot: Update.
4380
43812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4382
4383 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4384 variable page size.
4385 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4387 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4388
43892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4390
4391 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4392
43932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4394 Andreas Schwab <schwab@suse.de>
4395 Roland McGrath <roland@hack.frob.com>
4396 Joseph Myers <joseph@codesourcery.com>
4397 Carlos O'Donell <carlos@redhat.com>
4398
4399 [BZ #15755]
4400 * config.h.in: Define HAVE_PT_CHOWN.
4401 * config.make.in (build-pt-chown): New variable.
4402 * configure.in (--enable-pt_chown): New configure option.
4403 * configure: Regenerate.
4404 * login/Makefile: Include Makeconfig. Build pt_chown only if
4405 build-pt-chown is enabled.
4406 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4407 pt_chown to fix pty ownership.
4408 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4409 CLOSE_ALL_FDS.
4410 * manual/install.texi (Configuring and compiling): Mention
4411 --enable-pt_chown. Add @findex for grantpt.
4412 * INSTALL: Regenerate.
4413
44142013-07-20 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4417 difference between 32-bit and 64-bit.
4418
44192013-07-15 Carlos O'Donell <carlos@redhat.com>
4420
4421 [BZ #15711]
4422 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4423 Avoid system header dependency with -ffreestanding.
4424 ($(objpfx)bits/syscall%d): Likewise.
4425
44262013-07-13 David S. Miller <davem@davemloft.net>
4427
4428 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4429 underflows from atanl/atan2l due to bug 15319.
4430 (casinh_test_data): Likewise.
4431
44322013-07-07 David S. Miller <davem@davemloft.net>
4433
4434 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4435
44362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4437
4438 * sysdeps/i386/fpu/libm-test-ulps: Update.
4439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440
44412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4442
4443 * configure.in (--enable-lock-elision): Fix message text.
4444 * INSTALL: Regenerate.
4445 * configure: Regenerate.
4446
44472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
4449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4450
44512013-07-03 Andreas Jaeger <aj@suse.de>
4452
4453 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4454 define.
4455 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4456 (ptrace_peeksiginfo_args): Add.
4457 (__ptrace_peeksiginfo_flags): Add.
4458 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4461
44622013-07-03 Allan McRae <allan@archlinux.org>
4463
4464 * sysdeps/i386/fpu/libm-test-ulps: Update.
4465
44662013-07-02 David S. Miller <davem@davemloft.net>
4467
4468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4469
44702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4471
4472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4473
44742013-07-02 Joseph Myers <joseph@codesourcery.com>
4475
4476 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4478
44792013-07-02 Andi Kleen <ak@linux.intel.com>
4480
4481 * config.h.in (ENABLE_LOCK_ELISION): Add.
4482 * configure.in (--enable-lock-elision): Add option.
4483 * manual/install.texi: Document --enable lock elision.
4484 * configure: Regenerate
4485 * INSTALL: Regenerate.
4486
44872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4490 SSE4.2 strcasecmp for libc.a.
4491 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4492
44932013-07-02 Joseph Myers <joseph@codesourcery.com>
4494
4495 [BZ #13304]
4496 * soft-fp/op-common.h (_FP_FMA): New macro.
4497 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4498 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4499 (_FP_MUL_MEAT_1_imm): ... here.
4500 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4501 (_FP_MUL_MEAT_1_wide): ... here.
4502 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4503 (_FP_MUL_MEAT_1_hard): ... here.
4504 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4505 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4506 (_FP_MUL_MEAT_2_wide): ... here.
4507 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4508 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4509 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4510 (_FP_MUL_MEAT_2_gmp): ... here.
4511 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4512 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4513 (_FP_MUL_MEAT_4_wide): ... here.
4514 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4515 (_FP_MUL_MEAT_4_gmp): ... here.
4516 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4517 (_FP_WFRACBITS_DW_S): Likewise.
4518 (_FP_WFRACXBITS_DW_S): Likewise.
4519 (_FP_HIGHBIT_DW_S): Likewise.
4520 (FP_FMA_S): Likewise.
4521 (_FP_FRAC_HIGH_DW_S): Likewise.
4522 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4523 (_FP_WFRACBITS_DW_D): Likewise.
4524 (_FP_WFRACXBITS_DW_D): Likewise.
4525 (_FP_HIGHBIT_DW_D): Likewise.
4526 (FP_FMA_D): Likewise.
4527 (_FP_FRAC_HIGH_DW_D): Likewise.
4528 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4529 (_FP_WFRACBITS_DW_E): Likewise.
4530 (_FP_WFRACXBITS_DW_E): Likewise.
4531 (_FP_HIGHBIT_DW_E): Likewise.
4532 (FP_FMA_E): Likewise.
4533 (_FP_FRAC_HIGH_DW_E): Likewise.
4534 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4535 (_FP_WFRACBITS_DW_Q): Likewise.
4536 (_FP_WFRACXBITS_DW_Q): Likewise.
4537 (_FP_HIGHBIT_DW_Q): Likewise.
4538 (FP_FMA_Q): Likewise.
4539 (_FP_FRAC_HIGH_DW_Q): Likewise.
4540 * soft-fp/fmasf4.c: New file.
4541 * soft-fp/fmadf4.c: Likewise.
4542 * soft-fp/fmatf4.c: Likewise.
4543
45442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4545
4546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4547 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4548 Silvermont.
4549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4550 macro.
4551 (index_Slow_SSE4_2): Likewise.
4552 (index_Prefer_PMINUB_for_stringop): Likewise.
4553 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4554 bit_Slow_SSE4_2 is set.
4555 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4557
45582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4559
4560 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4561 rtld_global._dl_hwcap2.
4562 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4563 POWER8.
4564 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4565 POWER8 feature descriptions defined in _dl_hwcap2.
4566 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4567 string handling for POWER8 feature bits.
4568 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4569 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4570 _dl_powerpc_cap_flags.
4571 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4572 * sysdeps/powerpc/rtld-global-offsets.sym
4573 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4574 _dl_hwcap2 in the rtld_global_ro structure.
4575
45762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4577
4578 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4579 hardware capabilities in support of AT_HWCAP2.
4580 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4581 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4582 GLRO(dl_hwcap2).
4583 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4584 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4585 explicitly the unknown a_type display mechanism is used.
4586 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4587 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4588 struct member.
4589 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4590 to macro prototype for AT_HWCAP2 support.
4591 * sysdeps/i386/dl-procinfo.h: Likewise.
4592 * sysdeps/s390/dl-procinfo.h: Likewise.
4593 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4594 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4595 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4596 return -1 for unknown a_type display fallback.
4597 * sysdeps/sparc/dl-procinfo.h: Likewise.
4598 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4599 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4600
46012013-06-28 Joseph Myers <joseph@codesourcery.com>
4602
4603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4604 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4605
46062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4607
4608 [BZ #12492]
4609 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4610 mprotect making __stack_prot writable.
4611
46122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4613 Joseph Myers <joseph@codesourcery.com>
4614
4615 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4616 as being properly aligned.
4617
46182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4619
4620 * dlfcn/modstatic5.c: New file.
4621 * dlfcn/tststatic5.c: New file.
4622 * dlfcn/Makefile (tests): Add tststatic5.
4623 (tests-static): Likewise.
4624 (modules-names): Add modstatic5.
4625 (tststatic5-ENV): New variable.
4626 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4627
4628 [BZ #15022]
4629 * elf/dl-support.c (_dl_main_map): New variable.
4630 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4631 (_dl_nns, _dl_load_adds): Set to 1.
4632 (_dl_initial_searchlist): Refer to _dl_main_map.
4633 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4634 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4635 call to _dl_get_origin.
4636 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4637 around call_map.
4638 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4639 * dlfcn/modstatic3.c: New file.
4640 * dlfcn/tststatic3.c: New file.
4641 * dlfcn/tststatic4.c: New file.
4642 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4643 (tests-static): Likewise.
4644 (modules-names): Add modstatic3.
4645 (tststatic3-ENV, tststatic4-ENV): New variables.
4646 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4647 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4648
46492013-06-26 Joseph Myers <joseph@codesourcery.com>
4650
4651 * configure.in (CC): Require GCC version 4.4 or later.
4652 * configure: Regenerated.
4653 * manual/install.texi (Tools for Compilation): Update GCC version
4654 requirement.
4655 * INSTALL: Regenerated.
4656
46572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4658
4659 [BZ #15674]
4660 * string/test-memcmp.c (check2): New.
4661 (main): Call check2.
4662
4663 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4664
46652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4666
4667 [BZ #15022]
4668 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4669 over to...
4670 (dl_open_worker) [!SHARED]: ... here.
4671
46722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4673
4674 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4675
46762013-06-25 Richard Henderson <rth@redhat.com>
4677
4678 * locale/programs/locarchive.c: Include <libc-internal.h>
4679
46802013-06-25 Joseph Myers <joseph@codesourcery.com>
4681
4682 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4683 trailing whitespace removed.
4684
46852013-06-24 Mike Frysinger <vapier@gentoo.org>
4686
4687 [BZ #10283]
4688 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4689 * locale/programs/locarchive.c: Include libc-mmap.h.
4690 (prepare_address_space): Take two new outputs (the mmap base and len).
4691 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4692 values.
4693 (create_archive): Declare new mmap base and len values for
4694 prepare_address_space, and store the result in ah.
4695 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4696 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4697 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4698 Declare new mmap base and len values for
4699 prepare_address_space, and store the result in new_ah.
4700 (open_archive): Declare new mmap base and len values for
4701 prepare_address_space, and store the result in ah.
4702 (close_archive): If ah->mmap_base is not NULL, use that and
4703 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4704 * sysdeps/generic/libc-mmap.h: New file.
4705
47062013-06-24 Mike Frysinger <vapier@gentoo.org>
4707
4708 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4709 (ALIGN_UP): Likewise.
4710 (PTR_ALIGN_DOWN): Likewise.
4711 (PTR_ALIGN_UP): Likewise.
4712
47132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4714
4715 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4716 entry mapped to PPC_PLATFORM_POWER8.
4717 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4718 POWER8.
4719 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4720 (_dl_string_platform): Add case for exporting platform position for
4721 POWER8.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4723 search path to sysdeps/powerpc/powerpc32/power8 directory.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4725 search path to sysdeps/powerpc/powerpc64/power8 directory.
4726 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4727 power7 directories.
4728 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4729 power7 directories.
4730
47312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4732
4733 * INSTALL: Regenerate.
4734
4735 * nscd/connections.c (nscd_init): Fix comment.
4736
47372013-06-22 Joseph Myers <joseph@codesourcery.com>
4738
4739 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4740
4741 [BZ #15667]
4742 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4743 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4744
47452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4746
4747 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4748 DL_DST_REQ_STATIC.
4749 (DL_DST_REQ_STATIC): Remove macro.
4750
47512013-06-21 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #7006]
4754 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4755 with a shift of 0 bits.
4756
47572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4758
4759 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4760 $(tststatic-ENV).
4761
47622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4763
4764 [BZ #15655]
4765 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4766
47672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4768
4769 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4770 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4771 accepts -fno-tree-loop-distribute-patterns.
4772 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4773 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4774 recursive call.
4775 * string/memset.c (memset): Likewise.
4776 * string/test-memmove.c (simple_memmove): Disable loop transformation
4777 to library calls.
4778 * string/test-memset.c (simple_memset): Likewise.
4779 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4780 * benchtests/bench-memset.c (simple_memset): Likewise.
4781 * configure: Regenerated.
4782
47832013-06-20 Joseph Myers <joseph@codesourcery.com>
4784
4785 * math/test-misc.c (main): Ignore fesetround failure when failures
4786 of subsequent rounding tests would be ignored.
4787
4788 [BZ #15654]
4789 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4790 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4791 * math/fegetenv.c (__fegetenv): Return 0.
4792 * math/fegetexcept.c (fegetexcept): Return 0.
4793 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4794 FE_TONEAREST.
4795 * math/feholdexcpt.c (feholdexcept): Return 0.
4796 * math/fesetenv.c (__fesetenv): Return 0.
4797 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4798 argument FE_TONEAREST.
4799 * math/feupdateenv.c (__feupdateenv): Return 0.
4800 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4801
48022013-06-18 Roland McGrath <roland@hack.frob.com>
4803
4804 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4805 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4806 ($(objpfx)rtld-%.os rules): Use them.
4807
48082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4809
4810 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4811 fields.
4812
48132013-06-17 Roland McGrath <roland@hack.frob.com>
4814
4815 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4816 length of target pattern, then descending length of dependency pattern.
4817 * configure.in (AWK): Require gawk 3.1.2 or newer.
4818 * manual/install.texi (Tools for Compilation): Say that we do.
4819 * configure: Regenerated.
4820
4821 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4822 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4823 * scripts/sysd-rules.awk: ... this new script.
4824 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4825 than a glob-style pattern.
4826
48272013-06-17 Joseph Myers <joseph@codesourcery.com>
4828
4829 * math/test-misc.c (main): Do not treat incorrectly rounded
4830 conversions as failure unless ROUNDING_TESTS passes.
4831
48322013-06-15 Joseph Myers <joseph@codesourcery.com>
4833
4834 [BZ #15631]
4835 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4836 restore exception state around main square root computation, then
4837 check for inexactness explicitly.
4838
4839 * math/libm-test.inc (fma_test_data): Add another test.
4840
48412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * manual/threads.texi (Non-POSIX Extensions): New document
4844 node. Document pthread_getattr_default_np and
4845 pthread_setattr_default_np.
4846
4847 * Versions.def (libpthread): Add GLIBC_2.18.
4848 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4850 Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4852 Likewise.
4853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4854 Likewise.
4855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4856 Likewise.
4857 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4858 Likewise.
4859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4860 Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4862 Likewise.
4863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4866 Likewise.
4867
48682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4869
4870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4871 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4872
48732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4874 H.J. Lu <hjl.tools@gmail.com>
4875
4876 [BZ #15627]
4877 * sysdeps/x86_64/rtld-memset.c: Remove file.
4878 * sysdeps/x86_64/rtld-memset.S: New file.
4879
48802013-06-14 Joseph Myers <joseph@codesourcery.com>
4881
4882 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4883 (test_in_one_mode): Take arguments for whether the rounding mode
4884 is supported for each floating-point type.
4885 (do_test): Pass new arguments to test_in_one_mode using
4886 ROUNDING_TESTS.
4887
48882013-06-13 Roland McGrath <roland@hack.frob.com>
4889
4890 * posix/tst-waitid.c (do_test): Distinguish different instances of
4891 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4892 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4893 before entering the kernel for waitpid.
4894
48952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4896
4897 * NEWS: Fix note on clock function precision. Text by Roland
4898 McGrath.
4899
49002013-06-13 Roland McGrath <roland@hack.frob.com>
4901
4902 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4903 it into place only when and if the sanity check passes.
4904
49052013-06-13 Joseph Myers <joseph@codesourcery.com>
4906
4907 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4908 output for whether conversion result is exact. Take argument
4909 indicating whether type is IBM long double.
4910 (round_for_all): Change need_exact field to ibm_ld.
4911 * stdlib/tst-strtod-round.c (struct exactness): New type.
4912 (struct test): Change bool ld_ok field to struct exactness exact.
4913 (TEST): Update all definitions for change to field.
4914 (tests): Regenerate array contents.
4915 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4916 field value. Check for IBM long double here.
4917 (do_test): Update calls to test_in_one_mode.
4918
49192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4920
4921 [BZ #12515]
4922 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4923 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4924
49252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 [BZ #15605]
4928 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4929 generated by the compiler on loop optimizations.
4930 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4931 general definitions.
4932
49332013-06-12 Joseph Myers <joseph@codesourcery.com>
4934
4935 * math/bug-nextafter.c: Include <math-tests.h>.
4936 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4937 the relevant type.
4938 * math/bug-nexttoward.c: Include <math-tests.h>.
4939 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4940 the relevant type.
4941 * math/test-misc.c: Include <math-tests.h>.
4942 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4943 the relevant type.
4944
49452013-06-12 Andreas Jaeger <aj@suse.de>
4946
4947 * po/ia.po: Update Interlingua translation from translation
4948 project.
4949
49502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
4952 * include/fenv.h: Include stdbool.h.
4953 (struct rm_ctx): New structure.
4954 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4955 Define macro.
4956 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4957 (SET_RESTORE_ROUNDF): Likewise.
4958 (SET_RESTORE_ROUNDL): Likewise.
4959 (SET_RESTORE_ROUND_NOEX): Likewise.
4960 (SET_RESTORE_ROUND_NOEXF): Likewise.
4961 (SET_RESTORE_ROUND_NOEXL): Likewise.
4962 (SET_RESTORE_ROUND_53BIT): Likewise.
4963 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4964 (libc_feresetround_noexf_ctx): Likewise.
4965 (libc_feresetround_noexl_ctx): Likewise.
4966 (libc_feholdsetround_53bit_ctx): Likewise.
4967 (libc_feresetround_53bit_ctx): Likewise.
4968 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4969 (libc_feholdexcept_setround_sse_ctx): New function.
4970 (libc_fesetenv_sse_ctx): Likewise.
4971 (libc_feupdateenv_sse_ctx): Likewise.
4972 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4973 (libc_feholdexcept_setround_387_ctx): Likewise.
4974 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4975 (libc_feholdsetround_387_prec_ctx): Likewise.
4976 (libc_feholdsetround_387_ctx): Likewise.
4977 (libc_feholdsetround_387_53bit_ctx): Likewise.
4978 (libc_feholdsetround_sse_ctx): Likewise.
4979 (libc_feresetround_sse_ctx): Likewise.
4980 (libc_feresetround_387_ctx): Likewise.
4981 (libc_feupdateenv_387_ctx): Likewise.
4982 (libc_feholdexcept_setroundf_ctx): Define macro.
4983 (libc_fesetenvf_ctx): Likewise.
4984 (libc_feupdateenvf_ctx): Likewise.
4985 (libc_feholdsetroundf_ctx): Likewise.
4986 (libc_feresetroundf_ctx): Likewise.
4987 (libc_feholdexcept_setround_ctx): Likewise.
4988 (libc_fesetenv_ctx): Likewise.
4989 (libc_feupdateenv_ctx): Likewise.
4990 (libc_feholdsetround_ctx): Likewise.
4991 (libc_feresetround_ctx): Likewise.
4992 (libc_feholdexcept_setroundl_ctx): Likewise.
4993 (libc_feupdateenvl_ctx): Likewise.
4994 (libc_feholdsetroundl_ctx): Likewise.
4995 (libc_feresetroundl_ctx): Likewise.
4996 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4997 (libc_feresetround_53bit_ctx): Likewise.
4998
49992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5000
5001 * locale/iso-639.def: Convert to UTF-8.
5002
50032013-06-11 Joseph Myers <joseph@codesourcery.com>
5004
5005 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5006 (EXCEPTION_TESTS_double): Likewise.
5007 (EXCEPTION_TESTS_long_double): Likewise.
5008 (EXCEPTION_TESTS): Likewise.
5009 * math/libm-test.inc (test_exceptions): Only test exceptions if
5010 EXCEPTION_TESTS (FLOAT).
5011
50122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5013
5014 * benchtests/Makefile (string-bench): Add strcpy_chk and
5015 stpcpy_chk.
5016 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5017 * benchtests/bench-stpcpy_chk.c: New file.
5018 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5019 * benchtests/bench-strcpy_chk.c: New file.
5020 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5021 code.
5022 (do_test): Likewise.
5023
50242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5025
5026 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5027 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5028 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5029 with tabs where appropriate.
5030 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5031 dl-procinfo.h.
5032 [PPC_PLATFORM_PPC440]: Likewise.
5033 [PPC_PLATFORM_PPC464]: Likewise.
5034 [PPC_PLATFORM_PPC476]: Likewise.
5035 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5036 ppc464, and ppc476 platform strings merging from ports/
5037 dl-procinfo.h.
5038
50392013-06-11 Andreas Schwab <schwab@suse.de>
5040
5041 [BZ #14991]
5042 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5043 (from_ucs4_idx): Regenerate.
5044 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5045 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5046 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5047 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5048 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5049 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5050 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5051 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5052 from FROM_LOOP and TO_LOOP specific macros.
5053 (BODY): Handle combining characters.
5054 * iconvdata/BIG5HKSCS.irreversible: Update.
5055 * iconvdata/BIG5HKSCS.precomposed: New file.
5056 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5057 characters.
5058 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5059
50602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5061
5062 * include/sys/time.h: Fix indentation and add copyright header.
5063
5064 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5065 (do_test): Likewise.
5066 * string/test-memchr.c (do_one_test): Likewise.
5067 (do_test): Likewise.
5068 * string/test-memcmp.c (do_one_test): Likewise.
5069 (do_test): Likewise.
5070 * string/test-memcpy.c (do_one_test): Likewise.
5071 (do_test): Likewise.
5072 * string/test-memmem.c (do_one_test): Likewise.
5073 (do_test): Likewise.
5074 (do_random_tests): Likewise.
5075 * string/test-memmove.c (do_one_test): Likewise.
5076 (do_test): Likewise.
5077 * string/test-memset.c (do_one_test): Likewise.
5078 (do_test): Likewise.
5079 * string/test-rawmemchr.c (do_one_test): Likewise.
5080 (do_test): Likewise.
5081 * string/test-strcasecmp.c (do_one_test): Likewise.
5082 (do_test): Likewise.
5083 * string/test-strcasestr.c (do_one_test): Likewise.
5084 (do_test): Likewise.
5085 * string/test-strcat.c (do_one_test): Likewise.
5086 (do_test): Likewise.
5087 * string/test-strchr.c (do_one_test): Likewise.
5088 (do_test): Likewise.
5089 * string/test-strcmp.c (do_one_test): Likewise.
5090 (do_test): Likewise.
5091 * string/test-strcpy.c (do_one_test): Likewise.
5092 (do_test): Likewise.
5093 * string/test-string.h: Likewise.
5094 (test_init): Likewise.
5095 * string/test-strlen.c (do_one_test): Likewise.
5096 (do_test): Likewise.
5097 * string/test-strncasecmp.c (do_one_test): Likewise.
5098 (do_test): Likewise.
5099 * string/test-strncat.c (do_one_test): Likewise.
5100 (do_test): Likewise.
5101 * string/test-strncmp.c (do_one_test): Likewise.
5102 (do_test_limit): Likewise.
5103 (do_test): Likewise.
5104 * string/test-strncpy.c (do_one_test): Likewise.
5105 (do_test): Likewise.
5106 * string/test-strnlen.c (do_one_test): Likewise.
5107 (do_test): Likewise.
5108 * string/test-strpbrk.c (do_one_test): Likewise.
5109 (do_test): Likewise.
5110 * string/test-strrchr.c (do_one_test): Likewise.
5111 (do_test): Likewise.
5112 * string/test-strspn.c (do_one_test): Likewise.
5113 (do_test): Likewise.
5114 * string/test-strstr.c (do_one_test): Likewise.
5115 (do_test): Likewise.
5116
5117 * benchtests/Makefile (string-bench): Add string benchmarks.
5118 * benchtests/bench-bcopy-ifunc.c: New file.
5119 * benchtests/bench-bcopy.c: New file.
5120 * benchtests/bench-bzero-ifunc.c: New file.
5121 * benchtests/bench-bzero.c: New file.
5122 * benchtests/bench-memccpy-ifunc.c: New file.
5123 * benchtests/bench-memccpy.c: New file.
5124 * benchtests/bench-memchr-ifunc.c: New file.
5125 * benchtests/bench-memchr.c: New file.
5126 * benchtests/bench-memcmp-ifunc.c: New file.
5127 * benchtests/bench-memcmp.c: New file.
5128 * benchtests/bench-memmem-ifunc.c: New file.
5129 * benchtests/bench-memmem.c: New file.
5130 * benchtests/bench-memmove-ifunc.c: New file.
5131 * benchtests/bench-memmove.c: New file.
5132 * benchtests/bench-mempcpy-ifunc.c: New file.
5133 * benchtests/bench-mempcpy.c: New file.
5134 * benchtests/bench-memset-ifunc.c: New file.
5135 * benchtests/bench-memset.c: New file.
5136 * benchtests/bench-rawmemchr-ifunc.c: New file.
5137 * benchtests/bench-rawmemchr.c: New file.
5138 * benchtests/bench-stpcpy-ifunc.c: New file.
5139 * benchtests/bench-stpcpy.c: New file.
5140 * benchtests/bench-stpncpy-ifunc.c: New file.
5141 * benchtests/bench-stpncpy.c: New file.
5142 * benchtests/bench-strcasecmp-ifunc.c: New file.
5143 * benchtests/bench-strcasecmp.c: New file.
5144 * benchtests/bench-strcasestr-ifunc.c: New file.
5145 * benchtests/bench-strcasestr.c: New file.
5146 * benchtests/bench-strcat-ifunc.c: New file.
5147 * benchtests/bench-strcat.c: New file.
5148 * benchtests/bench-strchr-ifunc.c: New file.
5149 * benchtests/bench-strchr.c: New file.
5150 * benchtests/bench-strchrnul-ifunc.c: New file.
5151 * benchtests/bench-strchrnul.c: New file.
5152 * benchtests/bench-strcmp-ifunc.c: New file.
5153 * benchtests/bench-strcmp.c: New file.
5154 * benchtests/bench-strcpy-ifunc.c: New file.
5155 * benchtests/bench-strcpy.c: New file.
5156 * benchtests/bench-strcspn-ifunc.c: New file.
5157 * benchtests/bench-strcspn.c: New file.
5158 * benchtests/bench-strlen-ifunc.c: New file.
5159 * benchtests/bench-strlen.c: New file.
5160 * benchtests/bench-strncasecmp-ifunc.c: New file.
5161 * benchtests/bench-strncasecmp.c: New file.
5162 * benchtests/bench-strncat-ifunc.c: New file.
5163 * benchtests/bench-strncat.c: New file.
5164 * benchtests/bench-strncmp-ifunc.c: New file.
5165 * benchtests/bench-strncmp.c: New file.
5166 * benchtests/bench-strncpy-ifunc.c: New file.
5167 * benchtests/bench-strncpy.c: New file.
5168 * benchtests/bench-strnlen-ifunc.c: New file.
5169 * benchtests/bench-strnlen.c: New file.
5170 * benchtests/bench-strpbrk-ifunc.c: New file.
5171 * benchtests/bench-strpbrk.c: New file.
5172 * benchtests/bench-strrchr-ifunc.c: New file.
5173 * benchtests/bench-strrchr.c: New file.
5174 * benchtests/bench-strspn-ifunc.c: New file.
5175 * benchtests/bench-strspn.c: New file.
5176 * benchtests/bench-strstr-ifunc.c: New file.
5177 * benchtests/bench-strstr.c: New file.
5178
5179 * benchtests/Makefile: Disable parallel execution of targets.
5180 (string-bench): Add memcpy.
5181 (benchset): New variable to store a list of benchmark sets.
5182 (bench-func): Renamed from bench.
5183 (bench-set): New target.
5184 (bench): Depend on bench-func and bench-set.
5185 * benchtests/README: Add section on benchmark sets.
5186 * benchtests/bench-memcpy-ifunc.c: New file.
5187 * benchtests/bench-memcpy.c: New file.
5188 * benchtests/bench-string.h: New file.
5189
51902013-06-11 Andreas Schwab <schwab@suse.de>
5191
5192 [BZ #15577]
5193 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5194 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5195 values in the triple.
5196 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5197 terminator in the group key.
5198
51992013-06-11 Andreas Jaeger <aj@suse.de>
5200
5201 * po/zh_TW.po: Update Chinese (traditional) translation from
5202 translation project.
5203
52042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
5206 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5207 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5208 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5210 (clock_getcpuclockid): Likewise.
5211 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5212 Add weak_alias and libc_hidden_def.
5213 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5214 * rt/clock_gettime.c (clock_gettime): Rename to
5215 __clock_gettime. Add weak_alias and libc_hidden_def.
5216 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5217 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5218 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5219 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5220 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5221 Likewise.
5222 * rt/clock_settime.c (clock_settime): Rename to
5223 __clock_settime. Add weak_alias and libc_hidden_def.
5224 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5225
52262013-06-10 Joseph Myers <joseph@codesourcery.com>
5227
5228 * mach/err_boot.sub: Remove trailing whitespace.
5229 * mach/err_ipc.sub: Likewise.
5230 * mach/err_mach.sub: Likewise.
5231
5232 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5233 (ROUNDING_TESTS_double): Likewise.
5234 (ROUNDING_TESTS_long_double): Likewise.
5235 (ROUNDING_TESTS): Likewise.
5236 * math/libm-test.inc: Include <math-tests.h>.
5237 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5238 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5239 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5240 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5241
52422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
5244 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5245 of assigning.
5246
52472013-06-08 Joseph Myers <joseph@codesourcery.com>
5248
5249 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5250 otherwise empty TRANS lines.
5251 * sysdeps/gnu/errlist.c: Regenerated.
5252
5253 * catgets/gencat.c (error_print): Use (void) in function
5254 definition.
5255 * crypt/crypt_util.c (__init_des): Likewise.
5256 * crypt/speeds.c (Stop): Likewise.
5257 (main): Likewise.
5258 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5259 * inet/ruserpass.c (token): Likewise.
5260 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5261 * intl/localealias.c (extend_alias_table): Likewise.
5262 * intl/plural-exp.c (init_germanic_plural): Likewise.
5263 * libio/fcloseall.c (__fcloseall): Likewise.
5264 * libio/genops.c (_IO_flush_all): Likewise.
5265 (_IO_flush_all_linebuffered): Likewise.
5266 (_IO_cleanup): Likewise.
5267 (_IO_iter_begin): Likewise.
5268 (_IO_iter_end): Likewise.
5269 (_IO_list_lock): Likewise.
5270 (_IO_list_unlock): Likewise.
5271 (_IO_list_resetlock): Likewise.
5272 * libio/getchar.c (getchar): Likewise.
5273 * libio/getchar_u.c (getchar_unlocked): Likewise.
5274 * libio/getwchar.c (getwchar): Likewise.
5275 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5276 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5277 * login/getpt.c (__getpt): Likewise.
5278 * login/tst-utmp.c (main): Likewise.
5279 * malloc/hooks.c (__malloc_check_init): Likewise.
5280 * malloc/malloc.c (__malloc_stats): Likewise.
5281 * malloc/mtrace.c (tr_break): Likewise.
5282 (mtrace): Likewise.
5283 (muntrace): Likewise.
5284 * misc/fstab.c (endfsent): Likewise.
5285 * misc/getclktck.c (__getclktck): Likewise.
5286 * misc/getdtsz.c (__getdtablesize): Likewise.
5287 * misc/gethostid.c (gethostid): Likewise.
5288 * misc/getpagesize.c (__getpagesize): Likewise.
5289 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5290 (__get_nprocs): Likewise.
5291 (__get_phys_pages): Likewise.
5292 (__get_avphys_pages): Likewise.
5293 * misc/getttyent.c (getttyent): Likewise.
5294 (setttyent): Likewise.
5295 (endttyent): Likewise.
5296 * misc/getusershell.c (getusershell): Likewise.
5297 (endusershell): Likewise.
5298 (setusershell): Likewise.
5299 (initshells): Likewise.
5300 * misc/hsearch.c (__hdestroy): Likewise.
5301 * misc/sync.c (sync): Likewise.
5302 * misc/syslog.c (closelog_internal): Likewise.
5303 (closelog): Likewise.
5304 * misc/ttyslot.c (ttyslot): Likewise.
5305 * misc/vhangup.c (vhangup): Likewise.
5306 * posix/fork.c (__fork): Likewise.
5307 * posix/getegid.c (__getegid): Likewise.
5308 * posix/geteuid.c (__geteuid): Likewise.
5309 * posix/getgid.c (__getgid): Likewise.
5310 * posix/getpid.c (__getpid): Likewise.
5311 * posix/getppid.c (__getppid): Likewise.
5312 * posix/getuid.c (__getuid): Likewise.
5313 * posix/pause.c (pause): Likewise.
5314 * posix/setpgrp.c (setpgrp): Likewise.
5315 * posix/setsid.c (__setsid): Likewise.
5316 * posix/test-vfork.c (noop): Likewise.
5317 * resolv/gethnamaddr.c (_endhtent): Likewise.
5318 (_gethtent): Likewise.
5319 (ht_endhostent): Likewise.
5320 (gethostent): Likewise.
5321 (dns_service): Likewise.
5322 * stdlib/drand48.c (drand48): Likewise.
5323 * stdlib/lrand48.c (lrand48): Likewise.
5324 * stdlib/mrand48.c (mrand48): Likewise.
5325 * stdlib/rand.c (rand): Likewise.
5326 * stdlib/random.c (__random): Likewise.
5327 * stdlib/setenv.c (clearenv): Likewise.
5328 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5329 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5330 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5331 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5332 (__get_nprocs): Likewise.
5333 (__get_phys_pages): Likewise.
5334 (__get_avphys_pages): Likewise.
5335 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5336 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5337 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5338 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5339 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5340 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5341 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5342 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5343 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5344 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5345 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5346 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5347 * sysdeps/posix/clock.c (clock): Likewise.
5348 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5349 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5350 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5351 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5352 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5354 (__get_nprocs_conf): Likewise.
5355 (__get_phys_pages): Likewise.
5356 (__get_avphys_pages): Likewise.
5357 * time/clock.c (clock): Likewise.
5358 * time/tzset.c (__tzname_max): Likewise.
5359
53602013-06-07 Joseph Myers <joseph@codesourcery.com>
5361
5362 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5363 (__bswap_32): Do not use "register".
5364 * crypt/crypt.c (_ufc_doit_r): Likewise.
5365 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5366 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5367 * gmon/gmon.c (__monstartup): Likewise.
5368 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5369 * hurd/hurdmalloc.c (more_memory): Likewise.
5370 (malloc): Likewise.
5371 (free): Likewise.
5372 (realloc): Likewise.
5373 (malloc_fork_prepare): Likewise.
5374 (malloc_fork_parent): Likewise.
5375 (malloc_fork_child): Likewise.
5376 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5377 (_svcauth_des): Likewise.
5378 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5379 * inet/inet_net.c (inet_network): Likewise.
5380 * inet/inet_netof.c (inet_netof): Likewise.
5381 * inet/rcmd.c (__validuser2_sa): Likewise.
5382 * io/fts.c (fts_open): Likewise.
5383 (fts_load): Likewise.
5384 (fts_close): Likewise.
5385 (fts_read): Likewise.
5386 (fts_children): Likewise.
5387 (fts_build): Likewise.
5388 (fts_stat): Likewise.
5389 (fts_sort): Likewise.
5390 (fts_alloc): Likewise.
5391 (fts_lfree): Likewise.
5392 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5393 (_IO_file_xsgetn): Likewise.
5394 (_IO_file_xsgetn_mmap): Likewise.
5395 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5396 (_IO_cookie_write): Likewise.
5397 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5398 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5399 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5400 * malloc/obstack.c (_obstack_begin): Likewise.
5401 (_obstack_begin_1): Likewise.
5402 (_obstack_newchunk): Likewise.
5403 (_obstack_allocated_p): Likewise.
5404 (obstack_free): Likewise.
5405 (_obstack_memory_used): Likewise.
5406 * misc/getttyent.c (getttynam): Likewise.
5407 (getttyent): Likewise.
5408 (skip): Likewise.
5409 (value): Likewise.
5410 * misc/getusershell.c (initshells): Likewise.
5411 * misc/syslog.c (__vsyslog_chk): Likewise.
5412 * misc/ttyslot.c (ttyslot): Likewise.
5413 * nis/nis_hash.c (__nis_hash): Likewise.
5414 * posix/fnmatch_loop.c (FCT): Likewise.
5415 * posix/getconf.c (print_all): Likewise.
5416 (main): Likewise.
5417 * posix/getopt.c (exchange): Likewise.
5418 * posix/glob.c (globfree): Likewise.
5419 (prefix_array): Likewise.
5420 (__glob_pattern_type): Likewise.
5421 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5422 (NS_GET32): Likewise.
5423 (NS_PUT16): Likewise.
5424 (NS_PUT32): Likewise.
5425 * resolv/gethnamaddr.c (getanswer): Likewise.
5426 (gethostbyname2): Likewise.
5427 (gethostbyaddr): Likewise.
5428 (_gethtent): Likewise.
5429 (_gethtbyname2): Likewise.
5430 (_gethtbyaddr): Likewise.
5431 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5432 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5433 * resolv/res_init.c (__res_vinit): Likewise.
5434 (net_mask): Likewise.
5435 * resolv/res_mkquery.c (outchar): Likewise.
5436 (PRINT): Likewise.
5437 * stdio-common/printf_fp.c (outchar): Likewise.
5438 (PRINT): Likewise.
5439 * stdio-common/printf_fphex.c (outchar): Likewise.
5440 (PRINT): Likewise.
5441 * stdio-common/printf_size.c (outchar): Likewise.
5442 (PRINT): Likewise.
5443 * stdio-common/test_rdwr.c (main): Likewise.
5444 * stdio-common/tfformat.c (matches): Likewise.
5445 * stdio-common/vfprintf.c (outchar): Likewise.
5446 (printf_unknown): Likewise.
5447 (buffered_vfprintf): Likewise.
5448 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5449 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5450 (ReadFile): Likewise.
5451 * stdlib/qsort.c (SWAP): Likewise.
5452 (_quicksort): Likewise.
5453 * stdlib/setenv.c (__add_to_environ): Likewise.
5454 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5455 * stdlib/strtol_l.c (__strtol_l): Likewise.
5456 * stdlib/tst-strtod.c (main): Likewise.
5457 * stdlib/tst-strtol.c (main): Likewise.
5458 * stdlib/tst-strtoll.c (main): Likewise.
5459 * string/bits/string2.h (__strcmp_cc): Likewise.
5460 (__strcmp_cg): Likewise.
5461 (__strcspn_c1): Likewise.
5462 (__strcspn_c2): Likewise.
5463 (__strcspn_c3): Likewise.
5464 (__strspn_c1): Likewise.
5465 (__strspn_c2): Likewise.
5466 (__strspn_c3): Likewise.
5467 (__strsep_1c): Likewise.
5468 (__strsep_2c): Likewise.
5469 (__strsep_3c): Likewise.
5470 * string/memccpy.c (__memccpy): Likewise.
5471 * string/stpcpy.c (__stpcpy): Likewise.
5472 * string/strcmp.c (strcmp): Likewise.
5473 * string/strrchr.c (strrchr): Likewise.
5474 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5475 Likewise.
5476 * sysdeps/mach/hurd/getcwd.c
5477 (_hurd_canonicalize_directory_name_internal): Likewise.
5478 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5479 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5480 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5481 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5482 Likewise, in both definitions.
5483 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5484 definitions.
5485 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5486 64] (__bswap_64): Likewise.
5487 * time/test_time.c (main): Likewise.
5488 * time/tzfile.c (__tzfile_read): Likewise.
5489 (__tzfile_compute): Likewise.
5490 * time/tzset.c (__tzset_parse_tz): Likewise.
5491 (tzset_internal): Likewise.
5492 (compute_change): Likewise.
5493 * wcsmbs/wcscat.c (__wcscat): Likewise.
5494 * wcsmbs/wcschr.c (wcschr): Likewise.
5495 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5496 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5497 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5498 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5499 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5500 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5501 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5502 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5503 * wcsmbs/wmemset.c (wmemset): Likewise.
5504
55052013-06-06 Joseph Myers <joseph@codesourcery.com>
5506
5507 * scripts/config.guess: Update to version 2013-05-16.
5508 * scripts/config.sub: Update to version 2013-04-24.
5509 * scripts/install-sh: Update to version 2011-11-20.07.
5510 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5511 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5512
55132013-06-06 Ondřej Bílka <neleai@seznam.cz>
5514
5515 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5516 * elf/sln.c: Likewise.
5517 * hurd/hurd/ioctl.h: Likewise.
5518 * hurd/hurdmalloc.c: Likewise.
5519 * hurd/xattr.c: Likewise.
5520 * include/shlib-compat.h: Likewise.
5521 * inet/ruserpass.c: Likewise.
5522 * libio/iofgets_u.c: Likewise.
5523 * libio/iofgetws_u.c: Likewise.
5524 * locale/programs/ld-identification.c: Likewise.
5525 * locale/programs/ld-time.c: Likewise.
5526 * mach/msg-destroy.c: Likewise.
5527 * nss/nss_files/files-netgrp.c: Likewise.
5528 * resolv/res_data.c: Likewise.
5529 * soft-fp/op-1.h: Likewise.
5530 * soft-fp/op-2.h: Likewise.
5531 * soft-fp/op-4.h: Likewise.
5532 * soft-fp/op-common.h: Likewise.
5533 * stdio-common/printf_fphex.c: Likewise.
5534 * stdlib/strtod_l.c: Likewise.
5535 * sunrpc/rpc/clnt.h: Likewise.
5536 * sysdeps/generic/framestate.c: Likewise.
5537 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5538 * sysdeps/i386/bsd-setjmp.S: Likewise.
5539 * sysdeps/i386/__longjmp.S: Likewise.
5540 * sysdeps/i386/setjmp.S: Likewise.
5541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5559 * sysdeps/ieee754/support.c: Likewise.
5560 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5561 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5562 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5563 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5564 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5565 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5566 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5567 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5568 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5569 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5570 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5571 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5572 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5573 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5574 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5575 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5576 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5578
55792013-06-05 Ondřej Bílka <neleai@seznam.cz>
5580
5581 * posix/transbug.c: Remove executable mode.
5582
55832013-06-05 Joseph Myers <joseph@codesourcery.com>
5584
5585 * crypt/speeds.c: Remove trailing whitespace.
5586 * dlfcn/default.c: Likewise.
5587 * elf/ifuncdep2.c: Likewise.
5588 * elf/ifuncmain1.c: Likewise.
5589 * elf/ifuncmain1vis.c: Likewise.
5590 * elf/testobj.h: Likewise.
5591 * elf/tst-stackguard1.c: Likewise.
5592 * gmon/sys/gmon.h: Likewise.
5593 * hurd/hurdmsg.c: Likewise.
5594 * hurd/new-fd.c: Likewise.
5595 * hurd/ports-get.c: Likewise.
5596 * iconvdata/ibm1008_420.c: Likewise.
5597 * inet/tst-getni1.c: Likewise.
5598 * inet/tst-getni2.c: Likewise.
5599 * libio/ioungetc.c: Likewise.
5600 * libio/wfiledoalloc.c: Likewise.
5601 * manual/libm-err-tab.pl: Likewise.
5602 * math/w_dremf.c: Likewise.
5603 * misc/ftruncate.c: Likewise.
5604 * posix/bug-glob2.c: Likewise.
5605 * posix/tst-pcre.c: Likewise.
5606 * posix/wait4.c: Likewise.
5607 * resolv/README: Likewise.
5608 * resolv/res_debug.h: Likewise.
5609 * resolv/tst-inet_ntop.c: Likewise.
5610 * setjmp/bug269-setjmp.c: Likewise.
5611 * soft-fp/extended.h: Likewise.
5612 * soft-fp/op-1.h: Likewise.
5613 * soft-fp/op-2.h: Likewise.
5614 * soft-fp/op-4.h: Likewise.
5615 * soft-fp/op-8.h: Likewise.
5616 * soft-fp/testit.c: Likewise.
5617 * stdio-common/bug16.c: Likewise.
5618 * stdlib/random.c: Likewise.
5619 * sunrpc/rpcsvc/rquota.x: Likewise.
5620 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5624 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5626 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5627 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5628 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5630 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5649 * sysdeps/ieee754/s_lib_version.c: Likewise.
5650 * sysdeps/mach/hurd/check_fds.c: Likewise.
5651 * sysdeps/mach/hurd/getsockname.c: Likewise.
5652 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5653 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5654 * sysdeps/powerpc/bits/link.h: Likewise.
5655 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5656 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5657 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5658 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5659 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5661 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5662 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5663 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5664 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5665 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5666 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5667 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5668 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5669 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5670 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5673 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5674 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5675 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5676 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5677 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5678 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5679 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5682 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5683 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5688 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5689 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5690 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5691 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5694 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5695 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5696 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5697 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5698 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5699 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5700 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5701 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5702 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5703 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5704 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5707 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5708 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5710 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5711 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5715 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5716 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5717 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5718 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5719 * sysdeps/powerpc/sysdep.h: Likewise.
5720 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5721 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5722 * sysdeps/sh/dl-trampoline.S: Likewise.
5723 * sysdeps/sh/memset.S: Likewise.
5724 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5725 * sysdeps/sh/strlen.S: Likewise.
5726 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5727 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5728 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5729 * sysdeps/sparc/sparc32/rem.S: Likewise.
5730 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5731 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5732 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5733 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5734 * sysdeps/sparc/sparc32/urem.S: Likewise.
5735 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5736 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5737 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5738 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5739 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5740 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5741 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5742 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5743 * sysdeps/unix/bsd/times.c: Likewise.
5744 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5745 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5749 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5750 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5751 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5753 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5756 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5757 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5758 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5760 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5762 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5763 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5764 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5765 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5766 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5767 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5768 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5769 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5770 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5771 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5772 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5773 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5774 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5775 * sysdeps/x86_64/strcspn.S: Likewise.
5776
57772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5778
5779 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5780 generated file. Regenerate properly from gen-translit.pl.
5781 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5782 locale/C-translit.h.
5783
57842013-06-05 Andreas Schwab <schwab@suse.de>
5785
5786 [BZ #15100]
5787 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5788 week as 6 instead of -1.
5789 * time/tst-strptime.c (day_tests): Add test case.
5790
57912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5792
5793 * sysdeps/generic/math_private.h
5794 (libc_feholdexcept_setround_53bit): Replace with
5795 libc_feholdsetround_53bit.
5796 (libc_feupdateenv_53bit): Replace with
5797 libc_feresetround_53bit.
5798 (SET_RESTORE_ROUND_53BIT): Adjust.
5799
58002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5801
5802 * string/test-strchrnul.c: Add copyright header.
5803
5804 * posix/tst-getaddrinfo4.c: Increase test timeout.
5805
58062013-06-03 Carlos O'Donell <carlos@redhat.com>
5807
5808 [BZ #15536]
5809 * math/libm-test.inc (MAX_EXP): Remove
5810 (MIN_EXP): Define.
5811 (ulp): Use MIN_EXP - MANT_DIG.
5812 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5813
58142013-05-31 Carlos O'Donell <carlos@redhat.com>
5815
5816 * po/be.po: Revert last change.
5817 * po/zh_CN.po: Likewise.
5818 * po/header.pot: Likewise.
5819
58202013-05-31 Joseph Myers <joseph@codesourcery.com>
5821
5822 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5823 link-libc-deps to empty as target-specific variable.
5824 * Makerules (link-libc-args): New variable.
5825 (libc-for-link): Likewise.
5826 (link-libc-deps): Likewise.
5827 (lib%.so): Depend on $(link-libc-deps). Link with
5828 $(link-libc-args).
5829 (build-module): Link with $(link-libc-args).
5830 (build-module-asneeded): Likewise.
5831 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5832 list of objects.
5833 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5834 target-specific variable.
5835 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5836 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5837 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5838 libc.
5839 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5840 libc and ld.so.
5841 ($(objpfx)libpcprofile.so): Likewise.
5842 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5843 libc_nonshared.a.
5844 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5845 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5846 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5847 $(link-libc-deps).
5848 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5849 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5850 * login/Makefile ($(objpfx)libutil.so): Likewise.
5851 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5852 * math/Makefile ($(objpfx)libm.so): Likewise.
5853 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5854 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5855 variable instead of depending directly on libc.
5856 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5857 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5858 $(link-libc-deps).
5859 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5860 libc.
5861 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5862 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5863 ($(objpfx)libanl.so): Likewise.
5864 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5865 ld.so.
5866 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5867 $(link-libc-deps).
5868 * sysdeps/i386/fpu/Makefile: Remove file.
5869 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5870 ($(objpfx)libm.so): Remove dependency on ld.so.
5871
58722013-05-30 Patsy Franklin <pfrankli@redhat.com>
5873
5874 [BZ # 15553]
5875 * nis/yp_xdr.c (XDRMAXNAME): Define.
5876 (XDRMAXRECORD): Define.
5877 (xdr_domainname): Use XDRMAXNAME.
5878 (xdr_mapname): Likewise.
5879 (xdr_peername): Likewise.
5880 (xdr_keydat): Use XDRMAXRECORD.
5881 (xdr_valdat): Likewise.
5882
58832013-05-30 Jeff Law <law@redhat.com>
5884
5885 [BZ #14256]
5886 * manual/errno.texi (ESTALE): Update to account for more than
5887 just NFS file systems.
5888 * sysdeps/gnu/errlist.c: Regenerated.
5889
58902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5891
5892 [BZ #15465]
5893 * elf/Makefile (tests): Add tst-null-argv.
5894 (modules-names): Add tst-null-argv-lib.
5895 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5896 (tst-null-argv-ENV): Set environment for tst-null-argv.
5897 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5898 (RTLD_PROGNAME): New macro.
5899 * elf/tst-null-argv.c: New test case.
5900 * elf/tst-null-argv-lib.c: Library for test case.
5901 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5902 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5903 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5904 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5905 * elf/dl-init.c (call_init): Likewise.
5906 (_dl_init): Likewise.
5907 * elf/dl-load.c (print_search_path): Likewise.
5908 (_dl_map_object): Likewise.
5909 * elf/dl-lookup.c (do_lookup_x): Likewise.
5910 (add_dependency): Likewise.
5911 (_dl_lookup_symbol_x): Likewise.
5912 (_dl_debug_bindings): Likewise.
5913 * elf/dl-open.c (_dl_show_scope): Likewise.
5914 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5915 * elf/dl-version.c (match_symbol): Likewise.
5916 (_dl_check_map_versions): Likewise.
5917 * elf/rtld.c (dl_main): Likewise.
5918 (print_unresolved): Use RTLD_PROGNAME.
5919 (print_missing_version): Likewise.
5920 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5921 (elf_machine_rela): Likewise.
5922 * sysdeps/powerpc/powerpc32/dl-machine.c
5923 (__process_machine_rela): Likewise.
5924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5925 Likewise.
5926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5927 Likewise.
5928 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5929 Likewise.
5930 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5932 Likewise.
5933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5934 Likewise.
5935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5936
59372013-05-28 Carlos O'Donell <carlos@redhat.com>
5938
5939 * po/be.po: Add descriptive title.
5940 * po/zh_CN.po: Likewise.
5941 * po/header.pot: Likewise.
5942
59432013-05-28 Mike Frysinger <vapier@gentoo.org>
5944
5945 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5946 error message.
5947 (enlarge_archive): Likewise.
5948
59492013-05-28 Ben North <ben@redfrontdoor.org>
5950
5951 * manual/arith.texi (frexp): It is the magnitude of the return
5952 value which lies in [0.5, 1), not the return value itself.
5953
59542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955
5956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5957
59582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5959
5960 * stdio-common/bug26.c (main): Correct fscanf template.
5961
5962 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5963 declare _dl_skip_args.
5964
5965 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5966 Don't declare.
5967
5968 * manual/platform.texi: Add missing @end deftypefun.
5969
59702013-05-24 Joseph Myers <joseph@codesourcery.com>
5971
5972 [BZ #15529]
5973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5974 bit of mantissa of 2^16382.
5975 * math/libm-test.inc (hypot_test_data): Add more tests.
5976
5977 * math/libm-test.inc: Add drem and pow10 to list of tested
5978 functions.
5979 (pow10_test): New function.
5980 (drem_test): Likewise.
5981 (drem_test_tonearest): Likewise.
5982 (drem_test_towardzero): Likewise.
5983 (drem_test_downward): Likewise.
5984 (drem_test_upward): Likewise.
5985 (main): Call the new functions.
5986
5987 * math/libm-test.inc (finite_test_data): Remove.
5988 (finite_test): Run tests from isfinite_test_data.
5989 (gamma_test_data): Remove.
5990 (gamma_test): Run tests from lgamma_test_data.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
59942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5995
5996 * manual/platform.texi: Add PowerPC PPR function set documentation.
5997 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5998 implementation.
5999
60002013-05-24 Carlos O'Donell <carlos@redhat.com>
6001
6002 * math/libm-test.inc (MAX_EXP): Define.
6003 (ULPDIFF): Define.
6004 (ulp): New function.
6005 (check_float_internal): Use ULPDIFF.
6006 (cpow_test): Disable failing test.
6007 (check_ulp): Test ulp() implemetnation.
6008 (main): Call check_ulp before starting tests.
6009
60102013-05-24 Joseph Myers <joseph@codesourcery.com>
6011
6012 * math/gen-libm-test.pl (generate_testfile): Do not handle
6013 START_DATA and END_DATA.
6014 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6015 END_DATA.
6016 (acos_tonearest_test_data): Likewise.
6017 (acos_towardzero_test_data): Likewise.
6018 (acos_downward_test_data): Likewise.
6019 (acos_upward_test_data): Likewise.
6020 (acosh_test_data): Likewise.
6021 (asin_test_data): Likewise.
6022 (asin_tonearest_test_data): Likewise.
6023 (asin_towardzero_test_data): Likewise.
6024 (asin_downward_test_data): Likewise.
6025 (asin_upward_test_data): Likewise.
6026 (asinh_test_data): Likewise.
6027 (atan_test_data): Likewise.
6028 (atanh_test_data): Likewise.
6029 (atan2_test_data): Likewise.
6030 (cabs_test_data): Likewise.
6031 (cacos_test_data): Likewise.
6032 (cacosh_test_data): Likewise.
6033 (carg_test_data): Likewise.
6034 (casin_test_data): Likewise.
6035 (casinh_test_data): Likewise.
6036 (catan_test_data): Likewise.
6037 (catanh_test_data): Likewise.
6038 (cbrt_test_data): Likewise.
6039 (ccos_test_data): Likewise.
6040 (ccosh_test_data): Likewise.
6041 (ceil_test_data): Likewise.
6042 (cexp_test_data): Likewise.
6043 (cimag_test_data): Likewise.
6044 (clog_test_data): Likewise.
6045 (clog10_test_data): Likewise.
6046 (conj_test_data): Likewise.
6047 (copysign_test_data): Likewise.
6048 (cos_test_data): Likewise.
6049 (cos_tonearest_test_data): Likewise.
6050 (cos_towardzero_test_data): Likewise.
6051 (cos_downward_test_data): Likewise.
6052 (cos_upward_test_data): Likewise.
6053 (cosh_test_data): Likewise.
6054 (cosh_tonearest_test_data): Likewise.
6055 (cosh_towardzero_test_data): Likewise.
6056 (cosh_downward_test_data): Likewise.
6057 (cosh_upward_test_data): Likewise.
6058 (cpow_test_data): Likewise.
6059 (cproj_test_data): Likewise.
6060 (creal_test_data): Likewise.
6061 (csin_test_data): Likewise.
6062 (csinh_test_data): Likewise.
6063 (csqrt_test_data): Likewise.
6064 (ctan_test_data): Likewise.
6065 (ctan_tonearest_test_data): Likewise.
6066 (ctan_towardzero_test_data): Likewise.
6067 (ctan_downward_test_data): Likewise.
6068 (ctan_upward_test_data): Likewise.
6069 (ctanh_test_data): Likewise.
6070 (ctanh_tonearest_test_data): Likewise.
6071 (ctanh_towardzero_test_data): Likewise.
6072 (ctanh_downward_test_data): Likewise.
6073 (ctanh_upward_test_data): Likewise.
6074 (erf_test_data): Likewise.
6075 (erfc_test_data): Likewise.
6076 (exp_test_data): Likewise.
6077 (exp_tonearest_test_data): Likewise.
6078 (exp_towardzero_test_data): Likewise.
6079 (exp_downward_test_data): Likewise.
6080 (exp_upward_test_data): Likewise.
6081 (exp10_test_data): Likewise.
6082 (exp2_test_data): Likewise.
6083 (expm1_test_data): Likewise.
6084 (fabs_test_data): Likewise.
6085 (fdim_test_data): Likewise.
6086 (finite_test_data): Likewise.
6087 (floor_test_data): Likewise.
6088 (fma_test_data): Likewise.
6089 (fma_towardzero_test_data): Likewise.
6090 (fma_downward_test_data): Likewise.
6091 (fma_upward_test_data): Likewise.
6092 (fmax_test_data): Likewise.
6093 (fmin_test_data): Likewise.
6094 (fmod_test_data): Likewise.
6095 (fpclassify_test_data): Likewise.
6096 (frexp_test_data): Likewise.
6097 (gamma_test_data): Likewise.
6098 (hypot_test_data): Likewise.
6099 (ilogb_test_data): Likewise.
6100 (isfinite_test_data): Likewise.
6101 (isgreater_test_data): Likewise.
6102 (isgreaterequal_test_data): Likewise.
6103 (isinf_test_data): Likewise.
6104 (isless_test_data): Likewise.
6105 (islessequal_test_data): Likewise.
6106 (islessgreater_test_data): Likewise.
6107 (isnan_test_data): Likewise.
6108 (isnormal_test_data): Likewise.
6109 (issignaling_test_data): Likewise.
6110 (isunordered_test_data): Likewise.
6111 (j0_test_data): Likewise.
6112 (j1_test_data): Likewise.
6113 (jn_test_data): Likewise.
6114 (ldexp_test_data): Likewise.
6115 (lgamma_test_data): Likewise.
6116 (lrint_test_data): Likewise.
6117 (lrint_tonearest_test_data): Likewise.
6118 (lrint_towardzero_test_data): Likewise.
6119 (lrint_downward_test_data): Likewise.
6120 (lrint_upward_test_data): Likewise.
6121 (llrint_test_data): Likewise.
6122 (llrint_tonearest_test_data): Likewise.
6123 (llrint_towardzero_test_data): Likewise.
6124 (llrint_downward_test_data): Likewise.
6125 (llrint_upward_test_data): Likewise.
6126 (log_test_data): Likewise.
6127 (log10_test_data): Likewise.
6128 (log1p_test_data): Likewise.
6129 (log2_test_data): Likewise.
6130 (logb_test_data): Likewise.
6131 (logb_downward_test_data): Likewise.
6132 (lround_test_data): Likewise.
6133 (llround_test_data): Likewise.
6134 (modf_test_data): Likewise.
6135 (nearbyint_test_data): Likewise.
6136 (nextafter_test_data): Likewise.
6137 (nexttoward_test_data): Likewise.
6138 (pow_test_data): Likewise.
6139 (pow_tonearest_test_data): Likewise.
6140 (pow_towardzero_test_data): Likewise.
6141 (pow_downward_test_data): Likewise.
6142 (pow_upward_test_data): Likewise.
6143 (remainder_test_data): Likewise.
6144 (remainder_tonearest_test_data): Likewise.
6145 (remainder_towardzero_test_data): Likewise.
6146 (remainder_downward_test_data): Likewise.
6147 (remainder_upward_test_data): Likewise.
6148 (remquo_test_data): Likewise.
6149 (rint_test_data): Likewise.
6150 (rint_tonearest_test_data): Likewise.
6151 (rint_towardzero_test_data): Likewise.
6152 (rint_downward_test_data): Likewise.
6153 (rint_upward_test_data): Likewise.
6154 (round_test_data): Likewise.
6155 (scalb_test_data): Likewise.
6156 (scalbn_test_data): Likewise.
6157 (scalbln_test_data): Likewise.
6158 (signbit_test_data): Likewise.
6159 (sin_test_data): Likewise.
6160 (sin_tonearest_test_data): Likewise.
6161 (sin_towardzero_test_data): Likewise.
6162 (sin_downward_test_data): Likewise.
6163 (sin_upward_test_data): Likewise.
6164 (sincos_test_data): Likewise.
6165 (sinh_test_data): Likewise.
6166 (sinh_tonearest_test_data): Likewise.
6167 (sinh_towardzero_test_data): Likewise.
6168 (sinh_downward_test_data): Likewise.
6169 (sinh_upward_test_data): Likewise.
6170 (sqrt_test_data): Likewise.
6171 (tan_test_data): Likewise.
6172 (tan_tonearest_test_data): Likewise.
6173 (tan_towardzero_test_data): Likewise.
6174 (tan_downward_test_data): Likewise.
6175 (tan_upward_test_data): Likewise.
6176 (tanh_test_data): Likewise.
6177 (tgamma_test_data): Likewise.
6178 (trunc_test_data): Likewise.
6179 (y0_test_data): Likewise.
6180 (y1_test_data): Likewise.
6181 (yn_test_data): Likewise.
6182 (significand_test_data): Likewise.
6183
6184 * math/gen-libm-test.pl (@functions): Remove variable.
6185 (generate_testfile): Don't handle START and END lines.
6186 * math/libm-test.inc (START): New macro.
6187 (END): Likewise.
6188 (END_COMPLEX): Likewise.
6189 (acos_test): Use END macro without arguments.
6190 (acos_test_tonearest): Likewise.
6191 (acos_test_towardzero): Likewise.
6192 (acos_test_downward): Likewise.
6193 (acos_test_upward): Likewise.
6194 (acosh_test): Likewise.
6195 (asin_test): Likewise.
6196 (asin_test_tonearest): Likewise.
6197 (asin_test_towardzero): Likewise.
6198 (asin_test_downward): Likewise.
6199 (asin_test_upward): Likewise.
6200 (asinh_test): Likewise.
6201 (atan_test): Likewise.
6202 (atanh_test): Likewise.
6203 (atan2_test): Likewise.
6204 (cabs_test): Likewise.
6205 (cacos_test): Use END_COMPLEX macro without arguments.
6206 (cacosh_test): Likewise.
6207 (carg_test): Use END macro without arguments.
6208 (casin_test): Use END_COMPLEX macro without arguments.
6209 (casinh_test): Likewise.
6210 (catan_test): Likewise.
6211 (catanh_test): Likewise.
6212 (cbrt_test): Use END macro without arguments.
6213 (ccos_test): Use END_COMPLEX macro without arguments.
6214 (ccosh_test): Likewise.
6215 (ceil_test): Use END macro without arguments.
6216 (cexp_test): Use END_COMPLEX macro without arguments.
6217 (cimag_test): Use END macro without arguments.
6218 (clog_test): Use END_COMPLEX macro without arguments.
6219 (clog10_test): Likewise.
6220 (conj_test): Likewise.
6221 (copysign_test): Use END macro without arguments.
6222 (cos_test): Likewise.
6223 (cos_test_tonearest): Likewise.
6224 (cos_test_towardzero): Likewise.
6225 (cos_test_downward): Likewise.
6226 (cos_test_upward): Likewise.
6227 (cosh_test): Likewise.
6228 (cosh_test_tonearest): Likewise.
6229 (cosh_test_towardzero): Likewise.
6230 (cosh_test_downward): Likewise.
6231 (cosh_test_upward): Likewise.
6232 (cpow_test): Use END_COMPLEX macro without arguments.
6233 (cproj_test): Likewise.
6234 (creal_test): Use END macro without arguments.
6235 (csin_test): Use END_COMPLEX macro without arguments.
6236 (csinh_test): Likewise.
6237 (csqrt_test): Likewise.
6238 (ctan_test): Likewise.
6239 (ctan_test_tonearest): Likewise.
6240 (ctan_test_towardzero): Likewise.
6241 (ctan_test_downward): Likewise.
6242 (ctan_test_upward): Likewise.
6243 (ctanh_test): Likewise.
6244 (ctanh_test_tonearest): Likewise.
6245 (ctanh_test_towardzero): Likewise.
6246 (ctanh_test_downward): Likewise.
6247 (ctanh_test_upward): Likewise.
6248 (erf_test): Use END macro without arguments.
6249 (erfc_test): Likewise.
6250 (exp_test): Likewise.
6251 (exp_test_tonearest): Likewise.
6252 (exp_test_towardzero): Likewise.
6253 (exp_test_downward): Likewise.
6254 (exp_test_upward): Likewise.
6255 (exp10_test): Likewise.
6256 (exp2_test): Likewise.
6257 (expm1_test): Likewise.
6258 (fabs_test): Likewise.
6259 (fdim_test): Likewise.
6260 (finite_test): Likewise.
6261 (floor_test): Likewise.
6262 (fma_test): Likewise.
6263 (fma_test_towardzero): Likewise.
6264 (fma_test_downward): Likewise.
6265 (fma_test_upward): Likewise.
6266 (fmax_test): Likewise.
6267 (fmin_test): Likewise.
6268 (fmod_test): Likewise.
6269 (fpclassify_test): Likewise.
6270 (frexp_test): Likewise.
6271 (gamma_test): Likewise.
6272 (hypot_test): Likewise.
6273 (ilogb_test): Likewise.
6274 (isfinite_test): Likewise.
6275 (isgreater_test): Likewise.
6276 (isgreaterequal_test): Likewise.
6277 (isinf_test): Likewise.
6278 (isless_test): Likewise.
6279 (islessequal_test): Likewise.
6280 (islessgreater_test): Likewise.
6281 (isnan_test): Likewise.
6282 (isnormal_test): Likewise.
6283 (issignaling_test): Likewise.
6284 (isunordered_test): Likewise.
6285 (j0_test): Likewise.
6286 (j1_test): Likewise.
6287 (jn_test): Likewise.
6288 (ldexp_test): Likewise.
6289 (lgamma_test): Likewise.
6290 (lrint_test): Likewise.
6291 (lrint_test_tonearest): Likewise.
6292 (lrint_test_towardzero): Likewise.
6293 (lrint_test_downward): Likewise.
6294 (lrint_test_upward): Likewise.
6295 (llrint_test): Likewise.
6296 (llrint_test_tonearest): Likewise.
6297 (llrint_test_towardzero): Likewise.
6298 (llrint_test_downward): Likewise.
6299 (llrint_test_upward): Likewise.
6300 (log_test): Likewise.
6301 (log10_test): Likewise.
6302 (log1p_test): Likewise.
6303 (log2_test): Likewise.
6304 (logb_test): Likewise.
6305 (logb_test_downward): Likewise.
6306 (lround_test): Likewise.
6307 (llround_test): Likewise.
6308 (modf_test): Likewise.
6309 (nearbyint_test): Likewise.
6310 (nextafter_test): Likewise.
6311 (nexttoward_test): Likewise.
6312 (pow_test): Likewise.
6313 (pow_test_tonearest): Likewise.
6314 (pow_test_towardzero): Likewise.
6315 (pow_test_downward): Likewise.
6316 (pow_test_upward): Likewise.
6317 (remainder_test): Likewise.
6318 (remainder_test_tonearest): Likewise.
6319 (remainder_test_towardzero): Likewise.
6320 (remainder_test_downward): Likewise.
6321 (remainder_test_upward): Likewise.
6322 (remquo_test): Likewise.
6323 (rint_test): Likewise.
6324 (rint_test_tonearest): Likewise.
6325 (rint_test_towardzero): Likewise.
6326 (rint_test_downward): Likewise.
6327 (rint_test_upward): Likewise.
6328 (round_test): Likewise.
6329 (scalb_test): Likewise.
6330 (scalbn_test): Likewise.
6331 (scalbln_test): Likewise.
6332 (signbit_test): Likewise.
6333 (sin_test): Likewise.
6334 (sin_test_tonearest): Likewise.
6335 (sin_test_towardzero): Likewise.
6336 (sin_test_downward): Likewise.
6337 (sin_test_upward): Likewise.
6338 (sincos_test): Likewise.
6339 (sinh_test): Likewise.
6340 (sinh_test_tonearest): Likewise.
6341 (sinh_test_towardzero): Likewise.
6342 (sinh_test_downward): Likewise.
6343 (sinh_test_upward): Likewise.
6344 (sqrt_test): Likewise.
6345 (tan_test): Likewise.
6346 (tan_test_tonearest): Likewise.
6347 (tan_test_towardzero): Likewise.
6348 (tan_test_downward): Likewise.
6349 (tan_test_upward): Likewise.
6350 (tanh_test): Likewise.
6351 (tgamma_test): Likewise.
6352 (trunc_test): Likewise.
6353 (y0_test): Likewise.
6354 (y1_test): Likewise.
6355 (yn_test): Likewise.
6356 (significand_test): Likewise.
6357
63582013-05-24 Ondřej Bílka <neleai@seznam.cz>
6359
6360 [BZ #15381]
6361 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6362
63632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6364
6365 [BZ #14894]
6366 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6367 __ppc_mdoio and __ppc_mdoom.
6368 * manual/platform.texi: Document new functions __ppc_yield,
6369 __ppc_mdoio and __ppc_mdoom.
6370
63712013-05-22 Carlos O'Donell <carlos@redhat.com>
6372
6373 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6374 (main): Mention "tls" pseudo-hwcap is legacy.
6375 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6376
63772013-05-22 Joseph Myers <joseph@codesourcery.com>
6378
6379 * math/gen-libm-test.pl (parse_args): Output only string of
6380 arguments as text for test name, not full call or descriptions of
6381 tests for extra outputs.
6382 (generate_testfile): Do not pass function name to parse_args.
6383 Generate this_func variable from START.
6384 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6385 field to arg_str.
6386 (struct test_ff_f_data): Likewise.
6387 (test_ff_f_data_nexttoward): Likewise.
6388 (struct test_fi_f_data): Likewise.
6389 (struct test_fl_f_data): Likewise.
6390 (struct test_if_f_data): Likewise.
6391 (struct test_fff_f_data): Likewise.
6392 (struct test_c_f_data): Likewise.
6393 (struct test_f_f1_data): Likewise. Remove field extra_name.
6394 (struct test_fF_f1_data): Likewise.
6395 (struct test_ffI_f1_data): Likewise.
6396 (struct test_c_c_data): Rename test_name field to arg_str.
6397 (struct test_cc_c_data): Likewise.
6398 (struct test_f_i_data): Likewise.
6399 (struct test_ff_i_data): Likewise.
6400 (struct test_f_l_data): Likewise.
6401 (struct test_f_L_data): Likewise.
6402 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6403 and extra2_name.
6404 (COMMON_TEST_SETUP): New macro.
6405 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6406 (COMMON_TEST_CLEANUP): Likewise.
6407 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6408 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6409 macros.
6410 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6411 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6412 macros.
6413 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6414 (RUN_TEST_fff_f): Take argument string. Call new setup and
6415 cleanup macros.
6416 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6417 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6418 macros.
6419 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6420 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6421 macros.
6422 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6423 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6424 cleanup macros.
6425 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6426 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6427 cleanup macros.
6428 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6429 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6430 cleanup macros.
6431 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6432 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6433 macros.
6434 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6435 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6436 macros.
6437 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6438 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6439 macros.
6440 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6441 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6442 cleanup macros.
6443 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6444 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6445 cleanup macros.
6446 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6447 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6448 macros.
6449 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6450 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6451 cleanup macros.
6452 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6453 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6454 macros.
6455 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6456 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6457 macros.
6458 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6459 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6460 cleanup macros.
6461 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6462
64632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6464
6465 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6466 to _sifields.sigfault.
6467 (si_addr_lsb): Define new macro.
6468 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6469 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6470 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6471
64722013-05-03 Carlos O'Donell <carlos at redhat.com>
6473
6474 [BZ #15441]
6475 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6476 returns -1.
6477 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6478 null return -1.
6479 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6480 loading the domain.
6481
64822013-05-22 Joseph Myers <joseph@codesourcery.com>
6483
6484 * math/gen-libm-test.pl (parse_args): Do not include expected
6485 result in test name.
6486 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6488 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6489 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6490 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6492
64932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6494
6495 * benchtests/Makefile: Sort function entries.
6496
6497 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6498 tanh, asinh, acosh, atanh.
6499 * benchtests/acos-inputs: New file.
6500 * benchtests/acosh-inputs: New file.
6501 * benchtests/asin-inputs: New file.
6502 * benchtests/asinh-inputs: New file.
6503 * benchtests/atanh-inputs: New file.
6504 * benchtests/cosh-inputs: New file.
6505 * benchtests/log-inputs: New file.
6506 * benchtests/sinh-inputs: New file.
6507 * benchtests/tanh-inputs: New file.
6508
65092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6510
6511 [BZ #15339]
6512 * posix/tst-getaddrinfo4.c: New test.
6513 * posix/Makefile (tests): Add it.
6514
65152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6516
6517 [BZ #15339]
6518 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6519 when no services were used.
6520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6521 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6522
65232013-05-21 Andreas Schwab <schwab@suse.de>
6524
6525 [BZ #15014]
6526 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6527 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6528 successful.
6529 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6530 redundant variable declarations and reallocation of buffer when
6531 parsing as IPv6 address. Always set NSS status when called from
6532 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6533 buffer too small. Correct computation of needed size.
6534 * nss/Makefile (tests): Add test-digits-dots.
6535 * nss/test-digits-dots.c: New test.
6536
65372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
6539 * benchtests/Makefile: Remove instructions for adding
6540 benchmark tests.
6541 * benchtests/README: New file to explain how to execute and
6542 enhance the benchmark tests.
6543
65442013-05-21 Andreas Schwab <schwab@suse.de>
6545
6546 [BZ #15493]
6547 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6548 * setjmp/tst-sigsetjmp.c: New test.
6549
65502013-05-20 Ondřej Bílka <neleai@seznam.cz>
6551
6552 * sysdeps/x86_64/memset.S (memset): New implementation.
6553 (__bzero): Likewise.
6554 (__memset_tail): New function.
6555
65562013-05-20 Ondřej Bílka <neleai@seznam.cz>
6557
6558 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6559 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6560 __memcpy_sse2_unaligned ifunc selection.
6561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6562 Add memcpy-sse2-unaligned.S.
6563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6564 Add: __memcpy_sse2_unaligned.
6565
65662013-05-19 Joseph Myers <joseph@codesourcery.com>
6567
6568 [BZ #15490]
6569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6570 math_force_eval before restoring floating-point envrionment.
6571 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6573 Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6575 <math_private.h>.
6576 (__nearbyintl): Use math_force_eval before restoring
6577 floating-point environment.
6578 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6579
6580 * math/gen-libm-test.pl (special_functions): Remove.
6581 (parse_args): Don't handle TEST_extra. Handle functions with no
6582 return value.
6583 * math/libm-test.inc (struct test_sincos_data): Replace with
6584 struct test_fFF_11_data.
6585 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6586 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6587 (sincos_test_data): Change element type to struct
6588 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6589 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6590 RUN_TEST_LOOP_sincos.
6591 * math/README.libm-test: Don't mention special handling of
6592 individual functions.
6593 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6595 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6596 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6597 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6599
6600 * math/gen-libm-test.pl (get_variable): Remove function.
6601 (parse_args): Don't show pointer parameters to call in test
6602 names. Use "extra output N" in test names for extra outputs
6603 rather than naming variables.
6604
66052013-05-18 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #15488]
6608 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6609 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6610 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6611 double tests.
6612 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6613 disable.
6614 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6615 check_long_double.
6616
6617 * math/gen-libm-test.pl (@tests): Remove variable.
6618 ($count): Likewise.
6619 (new_test): Remove function.
6620 (show_exceptions): New function.
6621 (special_functions): Use show_exceptions instead of new_test.
6622 (parse_args): Likewise.
6623 (generate_testfile): Pass only function name in generated call to
6624 print_max_error or print_complex_max_error.
6625 (get_ulps): Do not handle complex tests specially.
6626 (output_test): Rename to ...
6627 (get_all_ulps_for_test): ... this. Return a string rather than
6628 printing to a file. Require ulps to be present.
6629 (output_ulps): Generate arrays rather than #defines.
6630 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6631 (struct ulp_data): New type.
6632 (BUILD_COMPLEX_ULP): Remove macro.
6633 (compare_ulp_data): New function.
6634 (find_ulps): Likewise.
6635 (find_test_ulps): Likewise.
6636 (find_function_ulps): Likewise.
6637 (find_complex_function_ulps): Likewise.
6638 (print_max_error): Determine allowed ulps using
6639 find_function_ulps.
6640 (print_complex_max_error): Determine allowed ulps using
6641 find_complex_function_ulps.
6642 (check_float_internal): Determine max ulps using find_test_ulps.
6643 (check_float): Do not take max_ulp parameter. Update call to
6644 check_float_internal.
6645 (check_complex): Likewise.
6646 (check_int): Do not take max_ulp parameter.
6647 (check_long): Likewise.
6648 (check_bool): Likewise.
6649 (check_longlong): Likewise.
6650 (struct test_f_f_data): Remove max_ulp field.
6651 (struct test_ff_f_data): Likewise.
6652 (struct test_ff_f_data_nexttoward): Likewise.
6653 (struct test_fi_f_data): Likewise.
6654 (struct test_fl_f_data): Likewise.
6655 (struct test_if_f_data): Likewise.
6656 (struct test_fff_f_data): Likewise.
6657 (struct test_c_f_data): Likewise.
6658 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6659 (struct test_fF_f1_data): Likewise.
6660 (struct test_ffI_f1_data): Likewise.
6661 (struct test_c_c_data): Remove max_ulp field.
6662 (struct test_cc_c_data): Likewise.
6663 (struct test_f_i_data): Likewise.
6664 (struct test_ff_i_data): Likewise.
6665 (struct test_f_l_data): Likewise.
6666 (struct test_f_L_data): Likewise.
6667 (struct test_sincos_data): Likewise.
6668 (RUN_TEST_f_f): Do not handle ulps.
6669 (RUN_TEST_LOOP_f_f): Likewise.
6670 (RUN_TEST_2_f): Likewise.
6671 (RUN_TEST_LOOP_2_f): Likewise.
6672 (RUN_TEST_fff_f): Likewise.
6673 (RUN_TEST_LOOP_fff_f): Likewise.
6674 (RUN_TEST_c_f): Likewise.
6675 (RUN_TEST_LOOP_c_f): Likewise.
6676 (RUN_TEST_f_f1): Likewise.
6677 (RUN_TEST_LOOP_f_f1): Likewise.
6678 (RUN_TEST_fF_f1): Likewise.
6679 (RUN_TEST_LOOP_fF_f1): Likewise.
6680 (RUN_TEST_fI_f1): Likewise.
6681 (RUN_TEST_LOOP_fI_f1): Likewise.
6682 (RUN_TEST_ffI_f1): Likewise.
6683 (RUN_TEST_LOOP_ffI_f1): Likewise.
6684 (RUN_TEST_c_c): Likewise.
6685 (RUN_TEST_LOOP_c_c): Likewise.
6686 (RUN_TEST_cc_c): Likewise.
6687 (RUN_TEST_LOOP_cc_c): Likewise.
6688 (RUN_TEST_f_i): Likewise.
6689 (RUN_TEST_LOOP_f_i): Likewise.
6690 (RUN_TEST_f_i_tg): Likewise.
6691 (RUN_TEST_LOOP_f_i_tg): Likewise.
6692 (RUN_TEST_ff_i_tg): Likewise.
6693 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6694 (RUN_TEST_f_b): Likewise.
6695 (RUN_TEST_LOOP_f_b): Likewise.
6696 (RUN_TEST_f_b_tg): Likewise.
6697 (RUN_TEST_LOOP_f_b_tg): Likewise.
6698 (RUN_TEST_f_l): Likewise.
6699 (RUN_TEST_LOOP_f_l): Likewise.
6700 (RUN_TEST_f_L): Likewise.
6701 (RUN_TEST_LOOP_f_L): Likewise.
6702 (RUN_TEST_sincos): Likewise.
6703 (RUN_TEST_LOOP_sincos): Likewise.
6704
67052013-05-17 Joseph Myers <joseph@codesourcery.com>
6706
6707 [BZ #15480]
6708 [BZ #15485]
6709 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6710 main case of finite arguments, set rounding mode to FE_TONEAREST
6711 and discard exceptions.
6712 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6713 exceptions.
6714 (remainder_tonearest_test_data): New variable.
6715 (remainder_test_tonearest): New function.
6716 (remainder_towardzero_test_data): New variable.
6717 (remainder_test_towardzero): New function.
6718 (remainder_downward_test_data): New variable.
6719 (remainder_test_downward): New function.
6720 (remainder_upward_test_data): New variable.
6721 (remainder_test_upward): New function.
6722 (main): Call the new test functions.
6723
6724 * math/libm-test.inc (struct test_f_f1_data): Remove field
6725 extra_init.
6726 (struct test_fF_f1_data): Likewise.
6727 (struct test_ffI_f1_data): Likewise.
6728 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6729 based on value of EXTRA_EXPECTED.
6730 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6731 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6732 EXTRA_VAR based on value of EXTRA_EXPECTED.
6733 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6734 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6735 EXTRA_VAR based on value of EXTRA_EXPECTED.
6736 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6737 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6738 EXTRA_VAR based on value of EXTRA_EXPECTED.
6739 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6740 * math/gen-libm-test.pl (parse_args): Don't output initializers
6741 for extra output values.
6742
6743 * math/libm-test.inc (check_int): Expect result to be exactly
6744 equal to expected value and do not handle ulps.
6745 (check_long): Likewise.
6746 (check_longlong): Likewise.
6747
6748 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6749 exceptions.
6750 (cimag_test_data): Likewise.
6751 (conj_test_data): Likewise.
6752 (copysign_test_data): Likewise.
6753 (cproj_test_data): Likewise.
6754 (creal_test_data): Likewise.
6755 (fabs_test_data): Likewise.
6756 (fdim_test_data): Likewise.
6757 (finite_test_data): Likewise.
6758 (floor_test_data): Likewise.
6759 (fmax_test_data): Likewise.
6760 (fmin_test_data): Likewise.
6761 (fmod_test_data): Likewise.
6762 (fpclassify_test_data): Likewise.
6763 (frexp_test_data): Likewise.
6764 (ilogb_test_data): Likewise.
6765 (isfinite_test_data): Likewise.
6766 (isgreater_test_data): Likewise.
6767 (isgreaterequal_test_data): Likewise.
6768 (isinf_test_data): Likewise.
6769 (isless_test_data): Likewise.
6770 (islessequal_test_data): Likewise.
6771 (islessgreater_test_data): Likewise.
6772 (isnan_test_data): Likewise.
6773 (isnormal_test_data): Likewise.
6774 (issignaling_test_data): Likewise.
6775 (isunordered_test_data): Likewise.
6776 (ldexp_test_data): Likewise.
6777 (lrint_test_data): Likewise.
6778 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6779 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6780 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6781 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6782 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6783 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6784 test input.
6785 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6786 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6787 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6788 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6789 that test input.
6790 (lrint_downward_test_data): Test for "inexact" exceptions.
6791 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6792 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6793 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6794 test input.
6795 (lrint_upward_test_data): Test for "inexact" exceptions.
6796 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6797 test input.
6798 (llrint_test_data): Test for "inexact" exceptions.
6799 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6800 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6801 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6802 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6803 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6804 (llrint_downward_test_data): Test for "inexact" exceptions.
6805 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6806 (llrint_upward_test_data): Test for "inexact" exceptions.
6807 (logb_test_data): Likewise.
6808 (logb_downward_test_data): Likewise.
6809 (nextafter_test_data): Likewise.
6810 (nexttoward_test_data): Likewise.
6811 (remainder_test_data): Likewise.
6812 (remquo_test_data): Likewise.
6813 (scalbn_test_data): Likewise.
6814 (scalbln_test_data): Likewise.
6815 (signbit_test_data): Likewise.
6816 (sqrt_test_data): Likewise.
6817 (significand_test_data): Likewise.
6818
68192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6820
6821 [BZ #15424]
6822 * benchtests/bench-modf.c (struct args): Mark arg0 as
6823 volatile.
6824 * scripts/bench.pl: Mark members of struct args as volatile.
6825
68262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6827
6828 [BZ # 15497]
6829 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6830 negative infinity on POWER6 or lower.
6831 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6832
68332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6834
6835 [BZ #15442]
6836 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6837 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6838 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6839 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6840 (_FP_SETQNAN): New macro.
6841 (_FP_SETQNAN_SEMIRAW): Likewise.
6842 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6843 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6844 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6845 (FP_EXTEND): Use _FP_FRAC_SNANP.
6846 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6847 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6848 into account.
6849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6850 New macro.
6851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6852 Likewise.
6853
68542013-05-16 Joseph Myers <joseph@codesourcery.com>
6855
6856 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6857 with DIVIDE_BY_ZERO_EXCEPTION.
6858 (gamma_test_data): Likewise.
6859 (lgamma_test_data): Likewise.
6860 (log_test_data): Likewise.
6861 (log10_test_data): Likewise.
6862 (log2_test_data): Likewise.
6863 (tgamma_test_data): Likewise.
6864
6865 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6866 (acos_test_tonearest): Likewise.
6867 (acos_test_towardzero): Likewise.
6868 (acos_test_downward): Likewise.
6869 (acos_test_upward): Likewise.
6870 (acosh_test): Likewise.
6871 (asin_test): Likewise.
6872 (asin_test_tonearest): Likewise.
6873 (asin_test_towardzero): Likewise.
6874 (asin_test_downward): Likewise.
6875 (asin_test_upward): Likewise.
6876 (asinh_test): Likewise.
6877 (atan_test): Likewise.
6878 (atanh_test): Likewise.
6879 (atan2_test): Likewise.
6880 (cabs_test): Likewise.
6881 (cacos_test): Likewise.
6882 (cacosh_test): Likewise.
6883 (casin_test): Likewise.
6884 (casinh_test): Likewise.
6885 (catan_test): Likewise.
6886 (catanh_test): Likewise.
6887 (cbrt_test): Likewise.
6888 (ccos_test): Likewise.
6889 (ccosh_test): Likewise.
6890 (cexp_test): Likewise.
6891 (clog_test): Likewise.
6892 (clog10_test): Likewise.
6893 (cos_test): Likewise.
6894 (cos_test_tonearest): Likewise.
6895 (cos_test_towardzero): Likewise.
6896 (cos_test_downward): Likewise.
6897 (cos_test_upward): Likewise.
6898 (cosh_test): Likewise.
6899 (cosh_test_tonearest): Likewise.
6900 (cosh_test_towardzero): Likewise.
6901 (cosh_test_downward): Likewise.
6902 (cosh_test_upward): Likewise.
6903 (cpow_test): Likewise.
6904 (csin_test): Likewise.
6905 (csinh_test): Likewise.
6906 (csqrt_test): Likewise.
6907 (ctan_test): Likewise.
6908 (ctan_test_tonearest): Likewise.
6909 (ctan_test_towardzero): Likewise.
6910 (ctan_test_downward): Likewise.
6911 (ctan_test_upward): Likewise.
6912 (ctanh_test): Likewise.
6913 (ctanh_test_tonearest): Likewise.
6914 (ctanh_test_towardzero): Likewise.
6915 (ctanh_test_downward): Likewise.
6916 (ctanh_test_upward): Likewise.
6917 (erf_test): Likewise.
6918 (erfc_test): Likewise.
6919 (exp_test): Likewise.
6920 (exp_test_tonearest): Likewise.
6921 (exp_test_towardzero): Likewise.
6922 (exp_test_downward): Likewise.
6923 (exp_test_upward): Likewise.
6924 (exp10_test): Likewise.
6925 (exp2_test): Likewise.
6926 (expm1_test): Likewise.
6927 (fmod_test): Likewise.
6928 (gamma_test): Likewise.
6929 (hypot_test): Likewise.
6930 (j0_test): Likewise.
6931 (j1_test): Likewise.
6932 (jn_test): Likewise.
6933 (lgamma_test): Likewise.
6934 (log_test): Likewise.
6935 (log10_test): Likewise.
6936 (log1p_test): Likewise.
6937 (log2_test): Likewise.
6938 (logb_test_downward): Likewise.
6939 (pow_test): Likewise.
6940 (pow_test_tonearest): Likewise.
6941 (pow_test_towardzero): Likewise.
6942 (pow_test_downward): Likewise.
6943 (pow_test_upward): Likewise.
6944 (remainder_test): Likewise.
6945 (remquo_test): Likewise.
6946 (sin_test): Likewise.
6947 (sin_test_tonearest): Likewise.
6948 (sin_test_towardzero): Likewise.
6949 (sin_test_downward): Likewise.
6950 (sin_test_upward): Likewise.
6951 (sincos_test): Likewise.
6952 (sinh_test): Likewise.
6953 (sinh_test_tonearest): Likewise.
6954 (sinh_test_towardzero): Likewise.
6955 (sinh_test_downward): Likewise.
6956 (sinh_test_upward): Likewise.
6957 (sqrt_test): Likewise.
6958 (tan_test): Likewise.
6959 (tan_test_tonearest): Likewise.
6960 (tan_test_towardzero): Likewise.
6961 (tan_test_downward): Likewise.
6962 (tan_test_upward): Likewise.
6963 (tanh_test): Likewise.
6964 (tgamma_test): Likewise.
6965 (y0_test): Likewise.
6966 (y1_test): Likewise.
6967 (yn_test): Likewise.
6968
6969 * math/gen-libm-test.pl (adjust_arg): Remove function.
6970 (special_function): Remove argument $in_func. Only handle
6971 generating output for tables of tests, not inside functions.
6972 (parse_args): Likewise.
6973 (generate_testfile): Remove variable $in_func. Update call to
6974 parse_args.
6975 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6976 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6977 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6978 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6979 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6980 (MAX_VALUE_INIT): Rename macro to max_value.
6981 (MIN_VALUE_INIT): Rename macro to min_value.
6982 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6983 (plus_zero): Remove variable.
6984 (minus_zero): Likewise.
6985 (plus_infty): Likewise.
6986 (minus_infty): Likewise.
6987 (qnan_value): Likewise.
6988 (max_value): Likewise.
6989 (min_value): Likewise.
6990 (min_subnorm_value): Likewise.
6991
69922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6993
6994 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6995 uint64_t or uint32_t usage.
6996 * crypt/sha256-block.c: Likewise.
6997 * crypt/sha256-crypt.c: Likewise.
6998 * crypt/sha256.c: Likewise.
6999 * crypt/sha512-block.c: Likewise.
7000 * crypt/sha512-crypt.c: Likewise.
7001 * crypt/sha512.c: Likewise.
7002 * debug/backtrace-tst.c: Likewise.
7003 * debug/pcprofiledump.c: Likewise.
7004 * elf/cache.c: Likewise.
7005 * elf/dl-cache.c: Likewise.
7006 * elf/dl-misc.c: Likewise.
7007 * elf/dl-profile.c: Likewise.
7008 * elf/dl-support.c: Likewise.
7009 * elf/ldconfig.c: Likewise.
7010 * elf/sprof.c: Likewise.
7011 * iconv/dummy-repertoire.c: Likewise.
7012 * iconv/iconv_charmap.c: Likewise.
7013 * iconv/skeleton.c: Likewise.
7014 * iconvdata/8bit-generic.c: Likewise.
7015 * iconvdata/cp737.h: Likewise.
7016 * iconvdata/cp775.h: Likewise.
7017 * iconvdata/ibm1008.h: Likewise.
7018 * iconvdata/ibm1025.h: Likewise.
7019 * iconvdata/ibm1046.h: Likewise.
7020 * iconvdata/ibm1097.h: Likewise.
7021 * iconvdata/ibm1112.h: Likewise.
7022 * iconvdata/ibm1122.h: Likewise.
7023 * iconvdata/ibm1123.h: Likewise.
7024 * iconvdata/ibm1124.h: Likewise.
7025 * iconvdata/ibm1129.h: Likewise.
7026 * iconvdata/ibm1130.h: Likewise.
7027 * iconvdata/ibm1132.h: Likewise.
7028 * iconvdata/ibm1133.h: Likewise.
7029 * iconvdata/ibm1137.h: Likewise.
7030 * iconvdata/ibm1140.h: Likewise.
7031 * iconvdata/ibm1141.h: Likewise.
7032 * iconvdata/ibm1142.h: Likewise.
7033 * iconvdata/ibm1143.h: Likewise.
7034 * iconvdata/ibm1144.h: Likewise.
7035 * iconvdata/ibm1145.h: Likewise.
7036 * iconvdata/ibm1146.h: Likewise.
7037 * iconvdata/ibm1147.h: Likewise.
7038 * iconvdata/ibm1148.h: Likewise.
7039 * iconvdata/ibm1149.h: Likewise.
7040 * iconvdata/ibm1153.h: Likewise.
7041 * iconvdata/ibm1154.h: Likewise.
7042 * iconvdata/ibm1155.h: Likewise.
7043 * iconvdata/ibm1156.h: Likewise.
7044 * iconvdata/ibm1157.h: Likewise.
7045 * iconvdata/ibm1158.h: Likewise.
7046 * iconvdata/ibm1160.h: Likewise.
7047 * iconvdata/ibm1161.h: Likewise.
7048 * iconvdata/ibm1162.h: Likewise.
7049 * iconvdata/ibm1163.h: Likewise.
7050 * iconvdata/ibm1164.h: Likewise.
7051 * iconvdata/ibm1166.h: Likewise.
7052 * iconvdata/ibm1167.h: Likewise.
7053 * iconvdata/ibm12712.h: Likewise.
7054 * iconvdata/ibm1390.h: Likewise.
7055 * iconvdata/ibm1399.h: Likewise.
7056 * iconvdata/ibm16804.h: Likewise.
7057 * iconvdata/ibm4517.h: Likewise.
7058 * iconvdata/ibm4899.h: Likewise.
7059 * iconvdata/ibm4909.h: Likewise.
7060 * iconvdata/ibm4971.h: Likewise.
7061 * iconvdata/ibm5347.h: Likewise.
7062 * iconvdata/ibm803.h: Likewise.
7063 * iconvdata/ibm856.h: Likewise.
7064 * iconvdata/ibm901.h: Likewise.
7065 * iconvdata/ibm902.h: Likewise.
7066 * iconvdata/ibm9030.h: Likewise.
7067 * iconvdata/ibm9066.h: Likewise.
7068 * iconvdata/ibm921.h: Likewise.
7069 * iconvdata/ibm922.h: Likewise.
7070 * iconvdata/ibm9448.h: Likewise.
7071 * iconvdata/isiri-3342.h: Likewise.
7072 * iconvdata/jis0201.h: Likewise.
7073 * include/link.h: Likewise.
7074 * include/netdb.h: Likewise.
7075 * inet/check_native.c: Likewise.
7076 * inet/check_pf.c: Likewise.
7077 * inet/getipv4sourcefilter.c: Likewise.
7078 * inet/getnameinfo.c: Likewise.
7079 * inet/getsourcefilter.c: Likewise.
7080 * inet/htonl.c: Likewise.
7081 * inet/setipv4sourcefilter.c: Likewise.
7082 * inet/setsourcefilter.c: Likewise.
7083 * inet/test-inet6_opt.c: Likewise.
7084 * inet/tst-network.c: Likewise.
7085 * locale/C-collate.c: Likewise.
7086 * locale/C-ctype.c: Likewise.
7087 * locale/C-time.c: Likewise.
7088 * locale/C-translit.h: Likewise.
7089 * locale/loadarchive.c: Likewise.
7090 * locale/programs/3level.h: Likewise.
7091 * locale/programs/charmap.c: Likewise.
7092 * locale/programs/charmap.h: Likewise.
7093 * locale/programs/ld-address.c: Likewise.
7094 * locale/programs/ld-collate.c: Likewise.
7095 * locale/programs/ld-ctype.c: Likewise.
7096 * locale/programs/ld-identification.c: Likewise.
7097 * locale/programs/ld-measurement.c: Likewise.
7098 * locale/programs/ld-messages.c: Likewise.
7099 * locale/programs/ld-monetary.c: Likewise.
7100 * locale/programs/ld-name.c: Likewise.
7101 * locale/programs/ld-numeric.c: Likewise.
7102 * locale/programs/ld-paper.c: Likewise.
7103 * locale/programs/ld-telephone.c: Likewise.
7104 * locale/programs/ld-time.c: Likewise.
7105 * locale/programs/linereader.c: Likewise.
7106 * locale/programs/locale.c: Likewise.
7107 * locale/programs/locarchive.c: Likewise.
7108 * locale/programs/locfile.h: Likewise.
7109 * locale/programs/repertoire.c: Likewise.
7110 * locale/programs/simple-hash.c: Likewise.
7111 * locale/programs/simple-hash.h: Likewise.
7112 * malloc/memusage.c: Likewise.
7113 * malloc/memusagestat.c: Likewise.
7114 * nis/nis_defaults.c: Likewise.
7115 * nis/nis_hash.c: Likewise.
7116 * nis/nis_print.c: Likewise.
7117 * nis/nis_xdr.c: Likewise.
7118 * nscd/connections.c: Likewise.
7119 * nscd/hstcache.c: Likewise.
7120 * nscd/nscd_gethst_r.c: Likewise.
7121 * nscd/nscd_getserv_r.c: Likewise.
7122 * nscd/nscd_helper.c: Likewise.
7123 * nscd/servicescache.c: Likewise.
7124 * nss/makedb.c: Likewise.
7125 * nss/nss_db/db-XXX.c: Likewise.
7126 * nss/nss_db/db-initgroups.c: Likewise.
7127 * nss/nss_db/db-netgrp.c: Likewise.
7128 * nss/nss_files/files-network.c: Likewise.
7129 * nss/nss_files/files-parse.c: Likewise.
7130 * posix/bug-regex5.c: Likewise.
7131 * posix/fnmatch_loop.c: Likewise.
7132 * posix/regcomp.c: Likewise.
7133 * posix/regexec.c: Likewise.
7134 * posix/tst-rfc3484-2.c: Likewise.
7135 * posix/tst-rfc3484-3.c: Likewise.
7136 * posix/tst-rfc3484.c: Likewise.
7137 * resolv/nss_dns/dns-canon.c: Likewise.
7138 * resolv/nss_dns/dns-network.c: Likewise.
7139 * resolv/res_init.c: Likewise.
7140 * resolv/res_mkquery.c: Likewise.
7141 * resolv/tst-aton.c: Likewise.
7142 * stdlib/cxa_atexit.c: Likewise.
7143 * stdlib/cxa_finalize.c: Likewise.
7144 * stdlib/gen-fpioconst.c: Likewise.
7145 * stdlib/strtol_l.c: Likewise.
7146 * string/tst-endian.c: Likewise.
7147 * sunrpc/auth_des.c: Likewise.
7148 * sunrpc/clnt_udp.c: Likewise.
7149 * sunrpc/rtime.c: Likewise.
7150 * sunrpc/svcauth_des.c: Likewise.
7151 * sunrpc/xdr.c: Likewise.
7152 * sunrpc/xdr_intXX_t.c: Likewise.
7153 * sunrpc/xdr_rec.c: Likewise.
7154 * sysdeps/generic/ldconfig.h: Likewise.
7155 * sysdeps/generic/ldsodefs.h: Likewise.
7156 * sysdeps/generic/memusage.h: Likewise.
7157 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7160 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7167 * sysdeps/posix/getaddrinfo.c: Likewise.
7168 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7169 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7170 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7172 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7173 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7174 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7175 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7176 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7178 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7179 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7180 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7181 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7183 * sysdeps/x86_64/dl-tls.h: Likewise.
7184 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7185 * time/alt_digit.c: Likewise.
7186 * time/era.c: Likewise.
7187 * wcsmbs/tst-c16c32-1.c: Likewise.
7188
71892013-05-16 Joseph Myers <joseph@codesourcery.com>
7190
7191 * math/libm-test.inc (struct test_sincos_data): New type.
7192 (RUN_TEST_LOOP_sincos): New macro.
7193 (sincos_test_data): New variable.
7194 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7195
71962013-05-16 Richard Henderson <rth@redhat.com>
7197
7198 * math/atest-exp2.c (LIMB64): New macro.
7199 (CONSTSZ): New macro.
7200 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7201 (hexdig): Move ...
7202 (print_mpn_fp): ... to function scope.
7203 (read_mpn_hex): Remove.
7204 (get_log2): Remove.
7205 (exp2_mpn): Use mp_log2.
7206 (main): Use mp_exp1.
7207
72082013-05-16 Joseph Myers <joseph@codesourcery.com>
7209
7210 * math/libm-test.inc: Remove comment about not testing "inexact"
7211 exceptions.
7212 (INEXACT_EXCEPTION): New macro.
7213 (NO_INEXACT_EXCEPTION): Likewise.
7214 (INVALID_EXCEPTION_OK): Update value.
7215 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7216 (OVERFLOW_EXCEPTION_OK): Likewise.
7217 (UNDERFLOW_EXCEPTION_OK): Likewise.
7218 (IGNORE_ZERO_INF_SIGN): Likewise.
7219 (ERRNO_UNCHANGED): Likewise.
7220 (ERRNO_EDOM): Likewise.
7221 (ERRNO_ERANGE): Likewise.
7222 (test_exceptions): Handle testing "inexact" exceptions.
7223 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7224 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7225 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7226 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7227 INEXACT_EXCEPTION.
7228 (rint_towardzero_test_data): Likewise.
7229 (rint_downward_test_data): Likewise.
7230 (rint_upward_test_data): Likewise.
7231
7232 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7233 with OVERFLOW_EXCEPTION.
7234 (exp10_test_data): Likewise.
7235 (exp2_test_data): Likewise.
7236 (expm1_test_data): Likewise.
7237 (lgamma_test_data): Likewise.
7238 (pow_test_data): Likewise.
7239 (tgamma_test_data): Likewise.
7240 (yn_test_data): Remove duplicate test of overflow.
7241
7242 * math/libm-test.inc (struct test_cc_c_data): New type.
7243 (RUN_TEST_LOOP_cc_c): New macro.
7244 (cpow_test_data): New variable.
7245 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7246
7247 * math/libm-test.inc (struct test_f_L_data): New type.
7248 (RUN_TEST_LOOP_f_L): New macro.
7249 (llrint_test_data): New variable.
7250 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7251 (llrint_tonearest_test_data): New variable.
7252 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7253 (llrint_towardzero_test_data): New variable.
7254 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7255 (llrint_downward_test_data): New variable.
7256 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7257 (llrint_upward_test_data): New variable.
7258 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7259 (llround_test_data): New variable.
7260 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7261
72622013-05-13 Peter Collingbourne <pcc@google.com>
7263
7264 * math/atest-exp2.c (get_log2): Remove const attribute.
7265
72662013-05-15 Joseph Myers <joseph@codesourcery.com>
7267
7268 * math/libm-test.inc (struct test_f_l_data): New type.
7269 (RUN_TEST_LOOP_f_l): New macro.
7270 (lrint_test_data): New variable.
7271 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7272 (lrint_tonearest_test_data): New variable.
7273 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7274 (lrint_towardzero_test_data): New variable.
7275 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7276 (lrint_downward_test_data): New variable.
7277 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7278 (lrint_upward_test_data): New variable.
7279 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7280 (lround_test_data): New variable.
7281 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7282
72832013-05-15 Peter Collingbourne <pcc@google.com>
7284
7285 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7286 (EXTRACT_WORDS64) Use where appropriate.
7287 (INSERT_WORDS64) Likewise.
7288
7289 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7290 constraints with x constraints.
7291 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7292
7293 * malloc/obstack.c (_obstack_compat): Add initializer.
7294
72952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7296
7297 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7298 si_trapno and add si_addr_lsb to _sifields.sigfault.
7299 (si_trapno): Remove macro.
7300 (si_addr_lsb): Define new macro.
7301 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7302
73032013-05-15 Joseph Myers <joseph@codesourcery.com>
7304
7305 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7306 instead of TEST_f_l.
7307 (llrint_test_tonearest): Likewise.
7308 (llrint_test_towardzero): Likewise.
7309 (llrint_test_downward): Likewise.
7310 (llrint_test_upward): Likewise.
7311 (llround_test): Likewise.
7312
7313 * math/libm-test.inc (struct test_f_i_data): Add comment.
7314 (RUN_TEST_LOOP_f_b): New macro.
7315 (RUN_TEST_LOOP_f_b_tg): Likewise.
7316 (finite_test_data): New variable.
7317 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7318 (isfinite_test_data): New variable.
7319 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7320 (isinf_test_data): New variable.
7321 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7322 (isnan_test_data): New variable.
7323 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7324 (isnormal_test_data): New variable.
7325 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7326 (issignaling_test_data): New variable.
7327 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7328 (signbit_test_data): New variable.
7329 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7330
7331 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7332 with INVALID_EXCEPTION.
7333 (acosh_test_data): Likewise.
7334 (asin_test_data): Likewise.
7335 (atanh_test_data): Likewise.
7336 (fmod_test_data): Likewise.
7337 (log_test_data): Likewise.
7338 (log10_test_data): Likewise.
7339 (log2_test_data): Likewise.
7340 (pow_test_data): Likewise.
7341 (sqrt_test_data): Likewise.
7342 (y0_test_data): Likewise.
7343 (y1_test_data): Likewise.
7344 (yn_test_data): Likewise.
7345
7346 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7347 function contents.
7348
7349 * math/libm-test.inc (struct test_ff_i_data): New type.
7350 (RUN_TEST_LOOP_ff_i_tg): New macro.
7351 (isgreater_test_data): New variable.
7352 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7353 (isgreaterequal_test_data): New variable.
7354 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7355 (isless_test_data): New variable.
7356 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7357 (islessequal_test_data): New variable.
7358 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7359 (islessgreater_test_data): New variable.
7360 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7361 (isunordered_test_data): New variable.
7362 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7363
73642013-05-14 David S. Miller <davem@davemloft.net>
7365
7366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7367
73682013-05-14 Joseph Myers <joseph@codesourcery.com>
7369
7370 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7371
7372 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7373 extra_test to int.
7374 (struct test_f_i_data): Change type of max_ulp to int.
7375
7376 * math/libm-test.inc (test_ffI_f1_data): New type.
7377 (RUN_TEST_LOOP_ffI_f1): New macro.
7378 (remquo_test_data): New variable.
7379 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7380
7381 * setjmp/tst-setjmp-fp.c: New file.
7382 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7383 (link-libm): New variable.
7384 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7385
7386 * math/libm-test.inc (struct test_f_i_data): New type.
7387 (RUN_TEST_LOOP_f_i): New macro.
7388 (RUN_TEST_LOOP_f_i_tg): Likewise.
7389 (fpclassify_test_data): New variable.
7390 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7391 (ilogb_test_data): New variable.
7392 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7393
7394 * math/libm-test.inc (scalbln_test): Correct function name in END
7395 call.
7396
7397 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7398 (RUN_TEST_LOOP_fI_f1): New macro.
7399 (frexp_test_data): New variable.
7400 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7401
7402 * math/libm-test.inc (struct test_fF_f1_data): New type.
7403 (RUN_TEST_LOOP_fF_f1): New macro.
7404 (modf_test_data): New variable.
7405 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7406
7407 * math/libm-test.inc (struct test_f_f1_data): New type.
7408 (RUN_TEST_LOOP_f_f1): New macro.
7409 (gamma_test_data): New variable.
7410 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7411 (lgamma_test_data): New variable.
7412 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7413
74142013-05-13 Carlos O'Donell <carlos@redhat.com>
7415
7416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7417 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7418 (main): Comment "tls" pseudo-hwcap.
7419
74202013-05-13 Joseph Myers <joseph@codesourcery.com>
7421
7422 * math/libm-test.inc (struct test_fl_f_data): New type.
7423 (RUN_TEST_LOOP_fl_f): New variable.
7424 (scalbln_test_data): New variable.
7425 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7426
7427 * math/libm-test.inc (struct test_fi_f_data): New type.
7428 (RUN_TEST_LOOP_fi_f): New macro.
7429 (ldexp_test_data): New variable.
7430 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7431 (scalbn_test_data): New variable.
7432 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7433
7434 * math/libm-test.inc (struct test_c_f_data): New type.
7435 (RUN_TEST_LOOP_c_f): New macro.
7436 (cabs_test_data): New variable.
7437 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7438 (carg_test_data): New variable.
7439 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7440 (cimag_test_data): New variable.
7441 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7442 (creal_test_data): New variable.
7443 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7444
7445 * math/libm-test.inc (struct test_if_f_data): New type.
7446 (RUN_TEST_LOOP_if_f): New macro.
7447 (jn_test_data): New variable.
7448 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7449 (yn_test_data): New variable.
7450 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7451
7452 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7453
74542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455
7456 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7457 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7458
74592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7462 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7463 (bench-deps): Add bench-timing.h.
7464 * benchtests-bench-skeleton.c: Include bench-timing.h.
7465 (main): Use TIMING_* macros instead of clock_gettime.
7466 * benchtests/bench-timing.h: New file.
7467
7468 [BZ #14582]
7469 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7470 Renamed from _LIB_VERSION.
7471 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7472
74732013-05-12 Joseph Myers <joseph@codesourcery.com>
7474
7475 * math/libm-test.inc (struct test_fff_f_data): New type.
7476 (RUN_TEST_LOOP_fff_f): New macro.
7477 (fma_test_data): New variable.
7478 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7479 (fma_towardzero_test_data): New variable.
7480 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7481 (fma_downward_test_data): New variable.
7482 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7483 (fma_upward_test_data): New variable.
7484 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7485
7486 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7487 (struct test_c_c_data): New type.
7488 (RUN_TEST_LOOP_c_c): New macro.
7489 (cacos_test_data): New variable.
7490 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7491 (cacosh_test_data): New variable.
7492 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7493 (casin_test_data): New variable.
7494 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7495 (casinh_test_data): New variable.
7496 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7497 (catan_test_data): New variable.
7498 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7499 (catanh_test_data): New variable.
7500 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7501 (ccos_test_data): New variable.
7502 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7503 (ccosh_test_data): New variable.
7504 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7505 (cexp_test_data): New variable.
7506 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7507 (clog_test_data): New variable.
7508 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7509 (clog10_test_data): New variable.
7510 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7511 (conj_test_data): New variable.
7512 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7513 (cproj_test_data): New variable.
7514 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7515 (csin_test_data): New variable.
7516 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7517 (csinh_test_data): New variable.
7518 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7519 (csqrt_test_data): New variable.
7520 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7521 (ctan_test_data): New variable.
7522 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7523 (ctan_tonearest_test_data): New variable.
7524 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7525 (ctan_towardzero_test_data): New variable.
7526 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7527 (ctan_downward_test_data): New variable.
7528 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7529 (ctan_upward_test_data): New variable.
7530 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7531 (ctanh_test_data): New variable.
7532 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7533 (ctanh_tonearest_test_data): New variable.
7534 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7535 (ctanh_towardzero_test_data): New variable.
7536 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7537 (ctanh_downward_test_data): New variable.
7538 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7539 (ctanh_upward_test_data): New variable.
7540 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7541 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7542 of BUILD_COMPLEX.
7543
7544 * math/libm-test.inc (struct test_ff_f_data): New type.
7545 (struct test_ff_f_data_nexttoward): Likewise.
7546 (RUN_TEST_LOOP_2_f): New macro.
7547 (RUN_TEST_LOOP_ff_f): Likewise.
7548 (atan2_test_data): New variable.
7549 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7550 (copysign_test_data): New variable.
7551 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7552 (fdim_test_data): New variable.
7553 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7554 (fmax_test_data): New variable.
7555 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7556 (fmin_test_data): New variable.
7557 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7558 (fmod_test_data): New variable.
7559 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7560 (hypot_test_data): New variable.
7561 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7562 (nextafter_test_data): New variable.
7563 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7564 (nexttoward_test_data): New variable.
7565 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7566 (pow_test_data): New variable.
7567 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7568 (pow_tonearest_test_data): New variable.
7569 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7570 (pow_towardzero_test_data): New variable.
7571 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7572 (pow_downward_test_data): New variable.
7573 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7574 (pow_upward_test_data): New variable.
7575 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7576 (remainder_test_data): New variable.
7577 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7578 (scalb_test_data): New variable.
7579 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7580 * sysdeps/i386/fpu/libm-test-ulps: Update.
7581
75822013-05-11 Joseph Myers <joseph@codesourcery.com>
7583
7584 * math/libm-test.inc (fma_test): Use max_value instead of local
7585 variable fltmax.
7586 (nextafter_test): Likewise.
7587
7588 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7589 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7590 (acos_downward_test_data): New variable.
7591 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7592 (acos_upward_test_data): New variable.
7593 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7594 (acosh_test_data): New variable.
7595 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7596 (asin_test_data): New variable.
7597 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7598 (asin_tonearest_test_data): New variable.
7599 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7600 (asin_towardzero_test_data): New variable.
7601 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7602 (asin_downward_test_data): New variable.
7603 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7604 (asin_upward_test_data): New variable.
7605 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7606 (asinh_test_data): New variable.
7607 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7608 (atan_test_data): New variable.
7609 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7610 (atanh_test_data): New variable.
7611 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7612 (cbrt_test_data): New variable.
7613 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7614 (ceil_test_data): New variable.
7615 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7616 (cos_test_data): New variable.
7617 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7618 (cos_tonearest_test_data): New variable.
7619 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7620 (cos_towardzero_test_data): New variable.
7621 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7622 (cos_downward_test_data): New variable.
7623 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7624 (cos_upward_test_data): New variable.
7625 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7626 (cosh_test_data): New variable.
7627 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7628 (cosh_tonearest_test_data): New variable.
7629 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7630 (cosh_towardzero_test_data): New variable.
7631 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7632 (cosh_downward_test_data): New variable.
7633 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7634 (cosh_upward_test_data): New variable.
7635 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7636 (erf_test_data): New variable.
7637 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7638 (erfc_test_data): New variable.
7639 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7640 (exp_test_data): New variable.
7641 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7642 (exp_tonearest_test_data): New variable.
7643 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7644 (exp_towardzero_test_data): New variable.
7645 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7646 (exp_downward_test_data): New variable.
7647 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7648 (exp_upward_test_data): New variable.
7649 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7650 (exp10_test_data): New variable.
7651 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7652 (exp2_test_data): New variable.
7653 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7654 (expm1_test_data): New variable.
7655 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7656 (fabs_test_data): New variable.
7657 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7658 (floor_test_data): New variable.
7659 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7660 (j0_test_data): New variable.
7661 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7662 (j1_test_data): New variable.
7663 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7664 (log_test_data): New variable.
7665 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7666 (log10_test_data): New variable.
7667 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7668 (log1p_test_data): New variable.
7669 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7670 (log2_test_data): New variable.
7671 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7672 (logb_test_data): New variable.
7673 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7674 (logb_downward_test_data): New variable.
7675 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7676 (nearbyint_test_data): New variable.
7677 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7678 (rint_test_data): New variable.
7679 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7680 (rint_tonearest_test_data): New variable.
7681 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7682 (rint_towardzero_test_data): New variable.
7683 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7684 (rint_downward_test_data): New variable.
7685 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7686 (rint_upward_test_data): New variable.
7687 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7688 (round_test_data): New variable.
7689 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7690 (sin_test_data): New variable.
7691 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7692 (sin_tonearest_test_data): New variable.
7693 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7694 (sin_towardzero_test_data): New variable.
7695 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7696 (sin_downward_test_data): New variable.
7697 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7698 (sin_upward_test_data): New variable.
7699 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7700 (sinh_test_data): New variable.
7701 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7702 (sinh_tonearest_test_data): New variable.
7703 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7704 (sinh_towardzero_test_data): New variable.
7705 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7706 (sinh_downward_test_data): New variable.
7707 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7708 (sinh_upward_test_data): New variable.
7709 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7710 (sqrt_test_data): New variable.
7711 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7712 (tan_test_data): New variable.
7713 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7714 (tan_tonearest_test_data): New variable.
7715 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7716 (tan_towardzero_test_data): New variable.
7717 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7718 (tan_downward_test_data): New variable.
7719 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7720 (tan_upward_test_data): New variable.
7721 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7722 (tanh_test_data): New variable.
7723 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7724 (tgamma_test_data): New variable.
7725 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7726 (trunc_test_data): New variable.
7727 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7728 (y0_test_data): New variable.
7729 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7730 (y1_test_data): New variable.
7731 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7732 (significand_test_data): New variable.
7733 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7734
77352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7736
7737 [BZ #12387]
7738 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7739
77402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7741
7742 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7743
77442013-05-10 Andreas Jaeger <aj@suse.de>
7745
7746 [BZ #15448]
7747 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7748 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7749
77502013-05-10 Joseph Myers <joseph@codesourcery.com>
7751
7752 * math/gen-libm-test.pl (adjust_arg): New function.
7753 (special_functions): Handle generating output in both functions
7754 and arrays.
7755 (parse_args): Likewise.
7756 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7757 $in_func argument to parse_args.
7758 * math/libm-test.inc (struct test_f_f_data): New type.
7759 (IF_ROUND_INIT_): New macro.
7760 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7761 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7762 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7763 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7764 (ROUND_RESTORE_): Likewise.
7765 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7766 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7767 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7768 (ROUND_RESTORE_FE_UPWARD): Likewise.
7769 (RUN_TEST_LOOP_f_f): New macro.
7770 (acos_test_data): New variable.
7771 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7772 (acos_tonearest_test_data): New variable.
7773 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7774
77752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7776
7777 * benchtests/bench-skeleton.c (startup): Fix coding style.
7778
77792013-05-10 Joseph Myers <joseph@codesourcery.com>
7780
7781 [BZ #6809]
7782 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7783 negative infinity argument.
7784 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7785 negative infinity argument.
7786 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7787 negative infinity argument.
7788 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7789 domain errors.
7790
77912013-05-10 Florian Weimer <fweimer@redhat.com>
7792
7793 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7794 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7795 * iconv/iconv_prog.c (main): Likewise.
7796 * locale/programs/charmap-dir.c (charmap_readdir)
7797 (fopen_uncompressed): Likewise.
7798 * locale/programs/locfile.c (siblings_uncached)
7799 (write_locale_data): Use lstat64 instead of lstat.
7800 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7801 stat.
7802
78032013-05-10 Andreas Jaeger <aj@suse.de>
7804
7805 [BZ #15395]
7806 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7807 localization.
7808 Include <locale.h>.
7809
78102013-05-09 Carlos O'Donell <carlos@redhat.com>
7811
7812 * elf/dl-close.c (_dl_close_worker): Add comments.
7813
78142013-05-09 Joseph Myers <joseph@codesourcery.com>
7815
7816 [BZ #15359]
7817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7818 high part of pi/2.
7819 (__ieee754_rem_pio2l): Update comments.
7820
7821 [BZ #15429]
7822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7823 high part of pi/2.
7824 (__ieee754_rem_pio2l): Update comments.
7825
7826 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7827 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7828
7829 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7830 M_PI_4l.
7831
7832 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7833 (M_PI_34_LOG10El): Likewise.
7834 (M_PI2_LOG10El): Likewise.
7835 (M_PI4_LOG10El): Likewise.
7836 (M_PI_LOG10El): Likewise.
7837
78382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841
78422013-05-08 Joseph Myers <joseph@codesourcery.com>
7843
7844 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7845 (MINUS_ZERO_INIT): Likewise.
7846 (PLUS_INFTY_INIT): Likewise.
7847 (MINUS_INFTY_INIT): Likewise.
7848 (QNAN_VALUE_INIT): Likewise.
7849 (MAX_VALUE_INIT): Likewise.
7850 (MIN_VALUE_INIT): Likewise.
7851 (MIN_SUBNORM_VALUE_INIT): Likewise.
7852 (plus_zero): Initialize with PLUS_ZERO_INIT.
7853 (minus_zero): Initialize with MINUS_ZERO_INIT.
7854 (plus_infty): Initialize with PLUS_INFTY_INIT.
7855 (minus_infty): Initialize with MINUS_INFTY_INIT.
7856 (qnan_value): Initialize with QNAN_VALUE_INIT.
7857 (max_value): Initialize with MAX_VALUE_INIT.
7858 (min_value): Initialize with MIN_VALUE_INIT.
7859 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7860
7861 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7862 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7863 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7864 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7865
7866 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7867 (RUN_TEST_2_f): Likewise.
7868 (RUN_TEST_ff_f): Likewise.
7869 (RUN_TEST_fi_f): Likewise.
7870 (RUN_TEST_fl_f): Likewise.
7871 (RUN_TEST_fff_f): Likewise.
7872 (RUN_TEST_c_f): Likewise.
7873 (RUN_TEST_f_f1): Likewise.
7874 (RUN_TEST_fF_f1): Likewise.
7875 (RUN_TEST_fI_f1): Likewise.
7876 (RUN_TEST_ffI_f1): Likewise.
7877 (RUN_TEST_c_c): Likewise.
7878 (RUN_TEST_cc_c): Likewise.
7879 (RUN_TEST_f_i): Likewise.
7880 (RUN_TEST_f_i_tg): Likewise.
7881 (RUN_TEST_ff_i_tg): Likewise.
7882 (RUN_TEST_f_b): Likewise.
7883 (RUN_TEST_f_b_tg): Likewise.
7884 (RUN_TEST_f_l): Likewise.
7885 (RUN_TEST_f_L): Likewise.
7886 (RUN_TEST_sincos): Likewise.
7887 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7888 whether to show exceptions. Do not include ");\n" in return
7889 value.
7890 (special_functions): Output call to RUN_TEST_sincos instead of
7891 check_float calls. Update calls to new_test.
7892 (parse_args): Output call to single RUN_TEST_* macro instead of
7893 check_* calls and other assignments. Update calls to new_test.
7894
7895 [BZ #2546]
7896 [BZ #2560]
7897 [BZ #5159]
7898 [BZ #15426]
7899 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7900 input to result for tgamma overflow.
7901 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7902 (gamma_coeff): New variable.
7903 (NCOEFF): New macro.
7904 (gamma_positive): New function.
7905 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7906 underflow here. Use gamma_positive instead of exp (lgamma) for
7907 other arguments.
7908 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7909 (gamma_coeff): New variable.
7910 (NCOEFF): New macro.
7911 (gammaf_positive): New function.
7912 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7913 underflow here. Use gamma_positive instead of exp (lgamma) for
7914 other arguments.
7915 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7916 (gamma_coeff): New variable.
7917 (NCOEFF): New macro.
7918 (gammal_positive): New function.
7919 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7920 underflow here. Use gamma_positive instead of exp (lgamma) for
7921 other arguments.
7922 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7923 (gamma_coeff): New variable.
7924 (NCOEFF): New macro.
7925 (gammal_positive): New function.
7926 (__ieee754_gammal_r): Handle positive infinity, overflow and
7927 underflow here. Handle NaN the same as positive infinity. Remove
7928 check x < 0xffffffff for negative integers. Use gamma_positive
7929 instead of exp (lgamma) for other arguments.
7930 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7931 (gamma_coeff): New variable.
7932 (NCOEFF): New macro.
7933 (gammal_positive): New function.
7934 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7935 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7939 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7940 * sysdeps/generic/math_private.h (__gamma_productf): New
7941 prototype.
7942 (__gamma_product): Likewise.
7943 (__gamma_productl): Likewise.
7944 * math/Makefile (libm-calls): Add gamma_product.
7945 * math/libm-test.inc (tgamma_test): Add more tests.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
79492013-05-08 Ondřej Bílka <neleai@seznam.cz>
7950
7951 * benchtests/bench-skeleton.c (main): Preheat CPU.
7952
79532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7954
7955 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7956
79572013-05-07 Roland McGrath <roland@hack.frob.com>
7958
7959 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7960 and _dl_skip_args_internal.
7961
79622013-05-07 Carlos O'Donell <carlos@redhat.com>
7963
7964 * manual/message.texi (Message Translation): Talk about users.
7965 Message to key mapping impacts design.
7966
79672013-05-06 Roland McGrath <roland@hack.frob.com>
7968
7969 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7970
7971 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7972
7973 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7974 * sysdeps/wordsize-64/glob64.c: ... here.
7975
7976 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7977 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7978 New macros.
7979
7980 * debug/getlogin_r_chk.c: Moved to ...
7981 * login/getlogin_r_chk.c: ... here.
7982 * debug/Makefile (routines): Move getlogin_r_chk to ...
7983 * login/Makefile (routines): ... here.
7984 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7985 * login/Versions (libc: GLIBC_2.4): ... here.
7986
7987 * io/poll.c (__poll): Renamed from poll.
7988 Add libc_hidden_def.
7989 (poll): Define as weak alias.
7990
7991 * debug/ptsname_r_chk.c: Moved to ...
7992 * login/ptsname_r_chk.c: ... here.
7993 * debug/Makefile (routines): Move ptsname_r_chk to ...
7994 * login/Makefile (routines): ... here.
7995 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7996 * login/Versions (libc: GLIBC_2.4): ... here.
7997
7998 * posix/getlogin.c: Moved to ...
7999 * login/getlogin.c: ... here.
8000 * posix/getlogin_r.c: Moved to ...
8001 * login/getlogin_r.c: ... here.
8002 * posix/getlogin_r.c: Moved to ...
8003 * login/getlogin_r.c: ... here.
8004 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8005 * login/Makefile (routines): ... here.
8006 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8007 * login/Versions (libc: GLIBC_2.0): ... here.
8008
8009 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8010 (setrlimit): Define as weak alias.
8011
8012 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8013 Call __ names for open, ftruncate, and close.
8014 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8015 (truncate): Define as weak alias.
8016
80172013-05-06 Joseph Myers <joseph@codesourcery.com>
8018
8019 * math/gen-libm-test.pl (parse_args): Initialize x before each
8020 test of frexp, modf and remquo.
8021
8022 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8023 test signgam value.
8024
80252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8026
8027 [BZ #15418]
8028 [BZ #15419]
8029 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8030 internal tests.
8031 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8032
80332013-05-06 Roland McGrath <roland@hack.frob.com>
8034
8035 * elf/dl-writev.h: New file.
8036 * elf/dl-misc.c: Include it.
8037 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8038 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8039
80402013-05-04 Joseph Myers <joseph@codesourcery.com>
8041
8042 * math/libm-test.inc (noXFails): Remove variable.
8043 (noXPasses): Likewise.
8044 (BUILD_COMPLEX_INT): Remove macro.
8045 (print_screen): Remove xfail argument.
8046 (print_screen_max_error): Likewise.
8047 (update_stats): Likewise.
8048 (print_max_error): Likewise. Update calls to other affected
8049 functions.
8050 (print_complex_max_error): Likewise.
8051 (test_single_exception): Update calls to print_screen.
8052 (test_single_errno): Likewise.
8053 (check_float_internal): Remove xfail argument. Update calls to
8054 other affected functions.
8055 (check_float): Likewise.
8056 (check_complex): Likewise.
8057 (check_int): Likewise.
8058 (check_long): Likewise.
8059 (check_bool): Likewise.
8060 (check_longlong): Likewise.
8061 (main): Don't print noXFails and noXPasses.
8062 * math/gen-libm-test.pl (top level): Don't mention expected
8063 failure handling in comment.
8064 (new_test): Don't handle expected failures.
8065 (parse_args): Don't mention expected failure handling in comment.
8066 (generate_testfile): Don't handle expected failures.
8067 (parse_ulps): Likewise.
8068 (print_ulps_file): Likewise.
8069 (get_failure): Remove function.
8070 (output_test): Don't handle expected failures.
8071 * make/README.libm-test: Don't mention expected failure handling.
8072
8073 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8074 (minus_zero): Likewise.
8075 (plus_infty): Likewise.
8076 (minus_infty): Likewise.
8077 (qnan_value): Likewise.
8078 (max_value): Likewise.
8079 (min_value): Likewise.
8080 (min_subnorm_value): Likewise.
8081 (initialize): Do not initialize those variables dynamically.
8082
80832013-05-03 Roland McGrath <roland@hack.frob.com>
8084
8085 * io/open.c (__open_2): Moved to ...
8086 * io/open_2.c: ... this new file.
8087 * io/open64.c (__open64_2): Moved to ...
8088 * io/open64_2.c: ... this new file.
8089 * io/openat.c (__openat_2): Moved to ...
8090 * io/openat_2.c: ... this new file.
8091 * io/openat64.c (__openat64_2): Moved to ...
8092 * io/openat64_2.c: ... this new file.
8093 * io/Makefile (routines): Add them.
8094 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8095 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8096 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8097 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8098 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8099 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8100 (__openat64): Add hidden_ver.
8101 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8102 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8103
8104 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8105 Separately conditionalize setting of GLRO(dl_sysinfo) so
8106 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8107 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8108
81092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8113 definition.
8114 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8115 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8116 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8117 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8118 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8119
81202013-05-03 Joseph Myers <joseph@codesourcery.com>
8121
8122 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8123 test signgam value.
8124
8125 * math/libm-test.inc (hypot_test): Do not use
8126 IGNORE_ZERO_INF_SIGN.
8127
81282013-05-03 Andreas Jaeger <aj@suse.de>
8129
8130 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8131 Linux 3.9.
8132 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8133 (PF_MAX): Adjust for VSOCK change.
8134
81352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8136
8137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8138
81392013-05-02 Carlos O'Donell <carlos@redhat.com>
8140
8141 [BZ #15264]
8142 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8143 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8144 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8145
81462013-05-02 David S. Miller <davem@davemloft.net>
8147
8148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8149
81502013-05-01 Ondřej Bílka <neleai@seznam.cz>
8151
8152 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8153
81542013-05-01 Roland McGrath <roland@hack.frob.com>
8155
8156 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8157
81582013-05-01 Richard Smith <richard@metafoo.co.uk>
8159
8160 [BZ #14952]
8161 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8162 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8163 Use __attribute__ ((__gnu_inline__)).
8164 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8165 Don't use __attribute__ ((__gnu_inline__)).
8166
81672013-05-01 Joseph Myers <joseph@codesourcery.com>
8168
8169 [BZ #15423]
8170 * math/s_catan.c (__catan): Handle small real or imaginary part of
8171 input specially to avoid spurious underflow.
8172 * math/s_catanf.c (__catanf): Likewise.
8173 * math/s_catanh.c (__catanh): Likewise.
8174 * math/s_catanhf.c (__catanhf): Likewise.
8175 * math/s_catanhl.c (__catanhl): Likewise.
8176 * math/s_catanl.c (__catanl): Likewise.
8177 * math/libm-test.inc (catan_test): Add more tests.
8178 (catanh_test): Likewise.
8179 * sysdeps/i386/fpu/libm-test-ulps: Update.
8180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8181
81822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183
8184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8185
81862013-04-30 Joseph Myers <joseph@codesourcery.com>
8187
8188 [BZ #15416]
8189 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8190 accurately for denominator in atan2.
8191 * math/s_catanf.c (__catanf): Likewise.
8192 * math/s_catanh.c (__catanh): Likewise.
8193 * math/s_catanhf.c (__catanhf): Likewise.
8194 * math/s_catanhl.c (__catanhl): Likewise.
8195 * math/s_catanl.c (__catanl): Likewise.
8196 * math/libm-test.inc (catan_test): Add more tests.
8197 (catanh_test): Likewise.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200
82012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8202
8203 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8204
8205 * benchtests/Makefile (bench): Remove slow benchmarks.
8206 * benchtests/atan-inputs: Add slow benchmark inputs.
8207 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8208 (BENCH_FUNC): Accept variant offset.
8209 (VARIANT): Define.
8210 * benchtests/bench-skeleton.c (main): Run benchmark for each
8211 variant.
8212 * benchtests/cos-inputs: Add slow benchmark inputs.
8213 * benchtests/exp-inputs: Likewise.
8214 * benchtests/pow-inputs: Likewise.
8215 * benchtests/sin-inputs: Likewise.
8216 * benchtests/slowatan-inputs: Remove.
8217 * benchtests/slowatan.c: Remove.
8218 * benchtests/slowcos-inputs: Remove.
8219 * benchtests/slowcos.c: Remove.
8220 * benchtests/slowexp-inputs: Remove.
8221 * benchtests/slowexp.c: Remove.
8222 * benchtests/slowpow-inputs: Remove.
8223 * benchtests/slowpow.c: Remove.
8224 * benchtests/slowsin-inputs: Remove.
8225 * benchtests/slowsin.c: Remove.
8226 * benchtests/slowtan-inputs: Remove.
8227 * benchtests/slowtan.c: Remove.
8228 * benchtests/tan-inputs: Add slow benchmark inputs.
8229 * scripts/bench.pl: Parse comments and directives.
8230
8231 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8232 in CPPFLAGS.
8233 ($(objpfx)bench-%.c): Remove *-ITER.
8234 * benchtests/bench-modf.c: Remove definition of ITER.
8235 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8236 (main): Loop for DURATION seconds instead of fixed number of
8237 iterations.
8238 * scripts/bench.pl: Don't expect iterations in parameters.
8239
82402013-04-29 Roland McGrath <roland@hack.frob.com>
8241
8242 * io/fchdir.c (__fchdir): Renamed from fchdir.
8243 (fchdir): Define as weak alias.
8244
82452013-04-29 Joseph Myers <joseph@codesourcery.com>
8246
8247 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8248 (ERRNO_EDOM): Likewise.
8249 (ERRNO_ERANGE): Likewise.
8250 (noErrnoTests): New variable.
8251 (init_max_error): Set errno to 0.
8252 (test_single_errno): New function.
8253 (test_errno): Likewise.
8254 (check_float_internal): Call test_errno. Set errno to 0.
8255 (check_complex): Refer to errno tests in comment.
8256 (check_int): Call test_errno. Set errno to 0.
8257 (check_long): Likewise.
8258 (check_bool): Likewise.
8259 (check_longlong): Likewise.
8260 (cos_test): Use ERRNO_* flags for errno tests instead of
8261 check_int.
8262 (expm1_test): Likewise.
8263 (fmod_test): Likewise.
8264 (ilogb_test): Likewise.
8265 (lgamma_test): Likewise.
8266 (pow_test): Likewise.
8267 (remainder_test): Likewise.
8268 (sin_test): Likewise.
8269 (tan_test): Likewise.
8270 (yn_test): Likewise.
8271 (initialize): Set errno to 0.
8272 (main): Print number of errno tests.
8273 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8274
82752013-04-29 Andreas Jaeger <aj@suse.de>
8276
8277 [BZ #15084]
8278 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8279 and RES_USEVC.
8280
8281 [BZ #15085]
8282 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8283 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8284 unimplemented.
8285
8286 [BZ #15380]
8287 * stdlib/random.c (__initstate): Return NULL if
8288 __initstate fails.
8289
8290 [BZ #15086]
8291 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8292 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8293 RES_SNGLKUPREOP.
8294
82952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8298
82992013-04-29 Joseph Myers <joseph@codesourcery.com>
8300
8301 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8302 of individual tests.
8303 (casin_test): Likewise.
8304 (casinh_test): Likewise.
8305
83062013-04-27 Joseph Myers <joseph@codesourcery.com>
8307
8308 [BZ #15409]
8309 * math/s_catan.c (__catan): Handle arguments with large real or
8310 imaginary part separately without squaring.
8311 * math/s_catanf.c (__catanf): Likewise.
8312 * math/s_catanh.c (__catanh): Likewise.
8313 * math/s_catanhf.c (__catanhf): Likewise.
8314 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8315 and redefine.
8316 (__catanhl): Handle arguments with large real or imaginary part
8317 separately without squaring.
8318 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8319 and redefine.
8320 (__catanl): Handle arguments with large real or imaginary part
8321 separately without squaring.
8322 * math/libm-test.inc (catan_test): Add more tests.
8323 (catanh_test): Likewise.
8324 * sysdeps/i386/fpu/libm-test-ulps: Update.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8326
83272013-04-27 Andreas Jaeger <aj@suse.de>
8328
8329 [BZ #15007]
8330 * stdlib/stdlib.h: Update guards for qecvt.
8331 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8332 <stdlib.h>.
8333
83342013-04-27 Allan McRae <allan@archlinux.org>
8335
8336 * sysdeps/i386/fpu/libm-test-ulps: Update.
8337
83382013-04-26 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #15406]
8341 * math/s_catan.c: Include <float.h>.
8342 (__catan): Ensure underflow exception occurs for underflowed
8343 result.
8344 * math/s_catanf.c: Include <float.h>.
8345 (__catanf): Ensure underflow exception occurs for underflowed
8346 result.
8347 * math/s_catanh.c: Include <float.h>.
8348 (__catanh): Ensure underflow exception occurs for underflowed
8349 result.
8350 * math/s_catanhf.c: Include <float.h>.
8351 (__catanhf): Ensure underflow exception occurs for underflowed
8352 result.
8353 * math/s_catanhl.c: Include <float.h>.
8354 (__catanhl): Ensure underflow exception occurs for underflowed
8355 result.
8356 * math/s_catanl.c: Include <float.h>.
8357 (__catanl): Ensure underflow exception occurs for underflowed
8358 result.
8359 * math/libm-test.inc (catan_test): Add more tests.
8360 (catanh_test): Likewise.
8361
8362 [BZ #15405]
8363 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8364 underflowed result.
8365 * math/s_ccoshf.c (__ccoshf): Likewise.
8366 * math/s_ccoshl.c (__ccoshl): Likewise.
8367 * math/s_csin.c (__csin): Likewise.
8368 * math/s_csinf.c (__csinf): Likewise.
8369 * math/s_csinh.c (__csinh): Likewise.
8370 * math/s_csinhf.c (__csinhf): Likewise.
8371 * math/s_csinhl.c (__csinhl): Likewise.
8372 * math/s_csinl.c (__csinl): Likewise.
8373 * math/libm-test.inc (ccos_test): Add more tests.
8374 (ccosh_test): Likewise.
8375 (csin_test): Likewise.
8376 (csinh_test): Likewise.
8377
83782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8379
8380 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8381 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8382 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8383 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8384 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8385 powerpc/power5+/fpu folders.
8386 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8387
8388
83892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8390
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8392
83932013-04-25 Joseph Myers <joseph@codesourcery.com>
8394
8395 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8396 additions to variable.
8397 [$(config-machine) = x86_64] (modules-names): Likewise.
8398 ($(objpfx)tst-audit3): Remove dependency.
8399 ($(objpfx)tst-audit3.out): Likewise.
8400 ($(objpfx)tst-audit4): Likewise.
8401 ($(objpfx)tst-audit4.out): Likewise.
8402 ($(objpfx)tst-audit5): Likewise.
8403 ($(objpfx)tst-audit5.out): Likewise.
8404 ($(objpfx)tst-audit6): Likewise.
8405 ($(objpfx)tst-audit6.out): Likewise.
8406 ($(objpfx)tst-audit7): Likewise.
8407 ($(objpfx)tst-audit7.out): Likewise.
8408 (tst-audit3-ENV): Remove variable.
8409 (tst-audit4-ENV): Likewise.
8410 (tst-audit5-ENV): Likewise.
8411 (tst-audit6-ENV): Likewise.
8412 (tst-audit7-ENV): Likewise.
8413 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8414 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8415 addition to variable.
8416 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8417 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8418 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8419 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8420 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8421 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8422 tst-audit3, tst-audit4 and tst-audit5.
8423 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8424 tst-audit6 and tst-audit7.
8425 [$(subdir) = elf] (modules-names): Add audit modules for those
8426 tests.
8427 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8428 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8429 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8430 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8431 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8432 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8433 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8434 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8435 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8436 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8437 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8438 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8439 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8440 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8441 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8442 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8443 Likewise.
8444 [$(subdir) = elf && $(config-cflags-avx) = yes]
8445 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8446 [$(subdir) = elf && $(config-cflags-avx) = yes]
8447 (CFLAGS-tst-auditmod4a.c): Likewise.
8448 [$(subdir) = elf && $(config-cflags-avx) = yes]
8449 (CFLAGS-tst-auditmod4b.c): Likewise.
8450 [$(subdir) = elf && $(config-cflags-avx) = yes]
8451 (CFLAGS-tst-auditmod6b.c): Likewise.
8452 [$(subdir) = elf && $(config-cflags-avx) = yes]
8453 (CFLAGS-tst-auditmod6c.c): Likewise.
8454 [$(subdir) = elf && $(config-cflags-avx) = yes]
8455 (CFLAGS-tst-auditmod7b.c): Likewise.
8456 * elf/tst-audit3.c: Move to ...
8457 * sysdeps/x86_64/tst-audit3.c: ... here.
8458 * elf/tst-audit4.c: Move to ...
8459 * sysdeps/x86_64/tst-audit4.c: ... here.
8460 * elf/tst-audit5.c: Move to ...
8461 * sysdeps/x86_64/tst-audit5.c: ... here.
8462 * elf/tst-audit6.c: Move to ...
8463 * sysdeps/x86_64/tst-audit6.c: ... here.
8464 * elf/tst-audit7.c: Move to ...
8465 * sysdeps/x86_64/tst-audit7.c: ... here.
8466 * elf/tst-auditmod3a.c: Move to ...
8467 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8468 * elf/tst-auditmod3b.c: Move to ...
8469 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8470 * elf/tst-auditmod4a.c: Move to ...
8471 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8472 * elf/tst-auditmod4b.c: Move to ...
8473 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8474 * elf/tst-auditmod5a.c: Move to ...
8475 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8476 * elf/tst-auditmod5b.c: Move to ...
8477 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8478 * elf/tst-auditmod6a.c: Move to ...
8479 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8480 * elf/tst-auditmod6b.c: Move to ...
8481 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8482 * elf/tst-auditmod6c.c: Move to ...
8483 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8484 * elf/tst-auditmod7a.c: Move to ...
8485 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8486 * elf/tst-auditmod7b.c: Move to ...
8487 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8488
84892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8490
8491 [BZ #15366]
8492 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8493 define unconditionally.
8494 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8495 define unconditionally.
8496 (INT8_C, INT16_C, etc.): Likewise.
8497
84982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8499
8500 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8501 __ehdr_start with hidden visibility.
8502
8503 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8504
85052013-04-24 Carlos O'Donell <carlos@redhat.com>
8506
8507 * math/libm-test.inc (cos_test): Use accurate hex constants.
8508 (sincost_test): Likewise.
8509
85102013-04-24 Joseph Myers <joseph@codesourcery.com>
8511
8512 * math/libm-test.inc (catan_test): Add more tests.
8513 (catanh_test): Likewise.
8514
8515 * math/s_catanf.c (__catanf): Use suffixed floating-point
8516 constants.
8517 * math/s_catanhf.c (__catanhf): Likewise.
8518 * math/s_catanhl.c (__catanhl): Likewise.
8519 * math/s_catanl.c (__catanl): Likewise.
8520
8521 [BZ #15394]
8522 * math/s_catan.c (__catan): Calculate imaginary part of result
8523 with log1p not log unless computing log of number close to 0.
8524 * math/s_catanf.c (__catanf): Likewise.
8525 * math/s_catanl.c (__catanl): Likewise.
8526 * math/s_catanh.c (__catanh): Calculate real part of result with
8527 log1p not log unless computing log of number close to 0.
8528 * math/s_catanhf.c (__catanhf): Likewise.
8529 * math/s_catanhl.c (__catanhl): Likewise.
8530 * math/libm-test.inc (catan_test): Add more tests.
8531 (catanh_test): Likewise.
8532 * sysdeps/i386/fpu/libm-test-ulps: Update.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8534
85352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8536
8537 * benchtests/Makefile: Mention files in which fast and slow
8538 paths of math functions are implemented.
8539
85402013-04-23 Roland McGrath <roland@hack.frob.com>
8541
8542 * sysdeps/posix/timespec_get.c: New file.
8543
85442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8545
8546 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8547 POWER.
8548 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8549 for POWER.
8550 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8551 powerpc/power5/fpu folders.
8552 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8553 * benchtests/Makefile: Add modf testcase.
8554 * benchtests/bench-modf.c: New file: Benchmark test for mo
8555
85562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8557
8558 [BZ #14888]
8559 * time/Makefile (tests): Add tst-strptime-whitespace.
8560 * time/strptime_l.c (get_number): Use ISSPACE.
8561 (__strptime_internal): Likewise.
8562 * time/tst-strptime-whitespace.c: New test case.
8563
85642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8565
8566 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8567 member.
8568 (_nss_files_init): Set it here.
8569
85702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8571
8572 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8573 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8574 unsigned.
8575
85762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8577
8578 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8579
85802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8581
8582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8583 size just once.
8584
85852013-04-21 David S. Miller <davem@davemloft.net>
8586
8587 * po/ru.po: Update Russion translation from translation project.
8588
85892013-04-17 Adam Conrad <adconrad@0c3.net>
8590
8591 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8592 and setfsgid.
8593
85942013-04-17 Carlos O'Donell <carlos@redhat.com>
8595
8596 * configure.in: Remove i386 configure warning. Remove i386 case.
8597 * configure: Regenerate.
8598 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8599 Add example to error message.
8600 * sysdeps/i386/configure: Regenerate.
8601
86022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8603
8604 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8605 slowtan.
8606 * benchtests/cos-inputs: New file.
8607 * benchtests/slowcos-inputs: New file.
8608 * benchtests/slowcos.c: New file.
8609 * benchtests/slowtan-inputs: New file.
8610 * benchtests/slowtan.c: New file.
8611 * benchtests/tan-inputs: New file.
8612
86132013-04-16 Roland McGrath <roland@hack.frob.com>
8614
8615 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8616 considered kosher.
8617
86182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8619
8620 * benchtests/Makefile: Include cppflags-iterator.mk to add
8621 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8622
8623 * Makefile.in (bench-clean): New target.
8624 * benchtests/Makefile (bench-clean): Likewise.
8625
86262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8627
8628 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8629
86302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8631
8632 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8633
86342013-04-15 Andreas Schwab <schwab@suse.de>
8635
8636 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8638 * nscd/pwdcache.c (cache_addpw): Likewise.
8639 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8640 more than recsize.
8641
86422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
8644 * benchtests/Makefile (bench): Write all output to
8645 bench-out.tmp together.
8646
86472013-04-15 Andreas Schwab <schwab@suse.de>
8648
8649 * nscd/nscd.c (main): Don't fork again after closing files.
8650
86512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8652
8653 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8654
8655 * benchtests/Rules (bench-deps): Collect dependencies into a
8656 single variable. Add Makefile to dependencies.
8657 ($(objpfx)bench-%.c): Depend on bench-deps.
8658
86592013-04-12 Roland McGrath <roland@hack.frob.com>
8660 Xavier Roche <roche+kml2@exalead.com>
8661
8662 [BZ #15361]
8663 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8664 just that it's a file descriptor.
8665 * manual/llio.texi (Synchronizing AIO Operations): Update description
8666 for EBADF error from aio_fsync.
8667
86682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8669
8670 * Rules (bench): Move target definition...
8671 * benchtests/Makefile: ... here.
8672
86732013-04-11 Carlos O'Donell <carlos@redhat.com>
8674
8675 * math/libm-test.inc (cos_test): Fix PI/2 test.
8676 (sincos_test): Likewise.
8677 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8678 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8679
86802013-04-11 Andreas Schwab <schwab@suse.de>
8681
8682 [BZ #13988]
8683 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8684 accept exponent character only when digits were seen.
8685 * stdio-common/Makefile (tests): Add bug26.
8686 * stdio-common/bug26.c: New file.
8687
8688 [BZ #14293]
8689 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8690 non-freeable.
8691
86922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8693
8694 * Makeconfig (rtld-prefix): Define built linker prefix.
8695 * Rules (run-bench): Use it.
8696 * math/Makefile (run-regen-ulps): Likewise.
8697
8698 * Rules (bench): Remove eval.
8699
87002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8701 Roland McGrath <roland@hack.frob.com>
8702 Ondrej Bilka <neleai@seznam.cz>
8703
8704 [BZ #15346]
8705 * time/getdate.c: Include ctype.h and alloca.h.
8706 (__getdate_r): Trim leading and trailing spaces of input.
8707 * time/tst-getdate.c (tests): Add tests with leading and
8708 trailing spaces.
8709
87102013-04-08 Roland McGrath <roland@hack.frob.com>
8711
8712 [BZ #14280]
8713 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8714 when computing value.
8715
87162013-04-06 Carlos O'Donell <carlos@redhat.com>
8717
8718 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8719 Use testrun.sh to run libm tests.
8720
8721 [BZ #15309]
8722 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8723
87242013-04-06 Marko Myllynen <myllynen@redhat.com>
8725
8726 [BZ #15264]
8727 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8728
87292013-04-06 Carlos O'Donell <carlos@redhat.com>
8730
8731 * Makefile.in (regen-ulps): New target.
8732 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8733 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8734 [ifneq (no,$(PERL)] (regen-ulps): New target.
8735 [ifeq (no,$(PERL)] (regen-ulps): New target.
8736 * math/libm-test.inc (ulps_file_name): Define.
8737 (output_dir): New variable.
8738 (options): Add "output-dir" option.
8739 (parse_opt): Handle 'o' case.
8740 (main): If output_dir is non-NULL use it as a prefix
8741 otherwise use "".
8742 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8743
87442013-04-06 Carlos O'Donell <carlos@redhat.com>
8745
8746 [BZ #10060, #10062]
8747 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8748 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8749 fail configure if __sync_val_compare_and_swap is not inlined.
8750 * sysdeps/i386/configure: Regenerate.
8751 * configure.in: Build for i686 when configured for i386.
8752 * configure: Regenerate.
8753 * README: Remove i386 reference.
8754
87552013-04-06 Carlos O'Donell <carlos@redhat.com>
8756
8757 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8758 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8759
87602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8761
8762 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8763 (lmsnanval): New variables.
8764 (F): Add conversion tests.
8765 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8766 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8767
8768 * stdio-common/tstdiomisc.c (F): Properly collect individual
8769 tests' results.
8770
8771 [BZ #14686, #15336]
8772 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8773 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8774 Instead, use input NaN values or generate a qNaN by arithmetic
8775 operation. Also fix bugs to comply with the standard.
8776 * math/libm-test.inc (remainder_test): Add more tests.
8777
8778 [BZ #15335, #15342]
8779 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8781 input NaN values or generate a qNaN by arithmetic operation.
8782
8783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8784 unreachable code.
8785
8786 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8787 definitions.
8788
87892013-04-03 Joseph Myers <joseph@codesourcery.com>
8790
8791 [BZ #14478]
8792 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8793 underflowed result.
8794 * math/s_cexpf.c (__cexpf): Likewise.
8795 * math/s_cexpl.c (__cexpl): Likewise.
8796 * math/libm-test.inc (cexp_test): Add more tests.
8797
87982013-04-03 Andreas Schwab <schwab@suse.de>
8799
8800 [BZ #15330]
8801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8802 order arrays from heap if bigger than alloca cutoff.
8803
88042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8805
8806 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8807 (SNAN_TESTS_double): Refer to GCC PR56831.
8808 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8809 GCC PR56828.
8810
88112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8812
8813 * Rules (bench): Move bench.out after the run is complete.
8814
8815 * Rules (bench): Echo currently running benchmark.
8816
8817 * benchtests/Makefile (bench): Add atan and slowatan.
8818 * benchtests/atan-inputs: New file.
8819 * benchtests/slowatan-inputs: New file.
8820 * benchtests/slowatan.c: New file.
8821
8822 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8823 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8824 its value.
8825
8826 [BZ #15305]
8827 * sysdeps/unix/sysv/linux/kernel-features.h
8828 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8829 __ASSUME_XFS_RESTRICTED_CHOWN.
8830 * sysdeps/unix/sysv/linux/pathconf.c
8831 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8832 Save and restore errno.
8833
88342013-04-02 Joseph Myers <joseph@codesourcery.com>
8835
8836 [BZ #15327]
8837 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8838 arguments using __kernel_casinh.
8839 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8840 arguments using __kernel_casinhf.
8841 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8842 arguments using __kernel_casinhl.
8843 * math/libm-test.inc (cacosh_test): Add more tests.
8844 * sysdeps/i386/fpu/libm-test-ulps: Update.
8845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846
88472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8848
8849 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8851
8852 * bench/Makefile (bench): Add sin and slowsin.
8853 * benchtests/sin-inputs: New file.
8854 * benchtests/slowsin-inputs: New file.
8855 * benchtests/slowsin.c: New file.
8856
8857 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8858 (bench): Add slowexp and slowpow.
8859 (exp-ITER): Increase iterations.
8860 (pow-ITER): Likewise.
8861 * benchtests/exp-inputs: Change input.
8862 * benchtests/pow-inputs: Likewise.
8863 * benchtests/slowexp-inputs: New file.
8864 * benchtests/slowexp.c: New file.
8865 * benchtests/slowpow-inputs: New file.
8866 * benchtests/slowpow.c: New file.
8867
88682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8869
8870 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8871 instructions.
8872 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8873 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8874 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8875 * benchtests/Makefile: Add rint benchtest.
8876 * benchtests/rint-inputs: Input for rint benchtest.
8877
88782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8879
8880 * Versions.def (libm): Add GLIBC_2.18.
8881 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8882 hidden libm prototypes.
8883 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8884 * math/Makefile (libm-calls): Add s_issignaling.
8885 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8886 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8887 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8888 declaration.
8889 * math/math.h [__USE_GNU] (issignaling): New macro.
8890 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8891 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8896 * manual/arith.texi (issignaling): New section.
8897 * manual/libm-err-tab.pl (@all_functions): Update comment.
8898 * math/gen-libm-test.pl (parse_args): Apply special handling for
8899 issignaling.
8900 * math/libm-test.inc (print_float, issignaling_test): New
8901 functions.
8902 (check_float_internal): Add issignaling checks.
8903 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8904 default definition.
8905 * sysdeps/powerpc/math-tests.h: New file.
8906 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8907 tests.
8908 * math/test-snan.c (TEST_FUNC): Likewise.
8909
89102013-03-30 David S. Miller <davem@davemloft.net>
8911
8912 * po/de.po: Update from translation team.
8913
89142013-03-30 Joseph Myers <joseph@codesourcery.com>
8915
8916 [BZ #10357]
8917 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8918 imaginary part less than 1.0 and real part less than 0.5
8919 specially.
8920 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8921 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8922 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8923 (cacos_test): Add more tests.
8924 (casin_test): Likewise.
8925 (casinh_test): Likewise.
8926 * sysdeps/i386/fpu/libm-test-ulps: Update.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928
89292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8930
8931 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8932 ONE with its value.
8933
8934 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8935 (__pow_mp): Replace ONE and MONE with their values.
8936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8939 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8940 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8941 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8942
8943 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8944
8945 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8946 (__pow_mp): Replace ZERO and MZERO with their values.
8947 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8951 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8952 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8953 (__sqr): Likewise.
8954
8955 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8956
8957 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8958
89592013-03-28 Roland McGrath <roland@hack.frob.com>
8960
8961 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8962 Declare with __attribute__ ((weak)).
8963 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8964 Call __call_tls_dtors only if it's not NULL.
8965
89662013-03-28 Roland McGrath <roland@hack.frob.com>
8967
8968 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8969 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8970 magic __ehdr_start linker symbol if it's defined.
8971 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8972 them up here if it was already done.
8973
8974 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8975 (_dl_aux_init): Use const in cast when setting it.
8976 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8977 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8978 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8979
8980 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8981 Declare them here.
8982 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8983 * csu/libc-tls.c: Nor here.
8984 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8985
8986 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8987 (__libc_message): Never call vsyslog.
8988
89892013-03-28 Alan Modra <amodra@gmail.com>
8990
8991 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8992 Define as empty.
8993 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8994 Likewise.
8995
89962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997
8998 [BZ #15214]
8999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9000 underflow.
9001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9002
90032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9004
9005 [BZ #15304]
9006 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9007 Don't add gid passed as argument.
9008
9009 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9010
90112013-03-27 Joseph Myers <joseph@codesourcery.com>
9012
9013 [BZ #15307]
9014 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9015 imaginary part between 1.0 and 1.5 and real part less than 0.5
9016 specially.
9017 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9018 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9019 * math/libm-test.inc (cacos_test): Add more tests.
9020 (casin_test): Likewise.
9021 (casinh_test): Likewise.
9022 * sysdeps/i386/fpu/libm-test-ulps: Update.
9023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9024
90252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9026
9027 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9028 constants.
9029 (norm): Likewise.
9030 (denorm): Likewise.
9031 (__dbl_mp): Likewise.
9032 (add_magnitudes): Likewise.
9033 (sub_magnitudes): Likewise.
9034 (__add): Likewise.
9035 (__sub): Likewise.
9036 (__mul): Likewise.
9037 (__sqr): Likewise.
9038 (__inv): Likewise.
9039 (__dvd): Likewise.
9040
9041 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9042 commented code.
9043 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9044 (__dubcos): Likewise.
9045 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9046 (__ieee754_acos): Likewise.
9047 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9048 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9049 (__exp1): Likewise.
9050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9052 (log1): Likewise.
9053 (my_log2): Likewise.
9054 (checkint): Likewise.
9055 * sysdeps/ieee754/dbl-64/e_remainder.c
9056 (__ieee754_remainder): Likewise.
9057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9059 (bsloww): Likewise.
9060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9061
9062 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9064 MANTISSA_STORE_T to store computations on mantissa. Use
9065 macros for rounding and division.
9066 (denorm): Likewise.
9067 (__dbl_mp): Likewise.
9068 (add_magnitudes): Likewise.
9069 (sub_magnitudes): Likewise.
9070 (__mul): Likewise.
9071 (__sqr): Likewise.
9072 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9073 powers of two in terms of TWOPOW macro.
9074 (mp_no): Make type of mantissa as MANTISSA_T.
9075 [!RADIXI]: Define RADIXI.
9076 [!TWO52]: Define TWO52.
9077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9078
90792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9080
9081 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9082 llroundl symbol when building for PPC32.
9083
90842013-03-24 Mark H Weaver <mhw@netris.org>
9085
9086 * manual/arith.texi (Normalization Functions): Fix prototypes for
9087 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9088
90892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090
9091 [BZ #13889]
9092 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9093 high value to check if expl overflow.
9094 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9095 to check for underflow and overflow.
9096 * math/libm-test.inc: Add exp test.
9097
90982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9099
9100 [BZ #11120]
9101 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9102 with NOT_IN_libc.
9103
91042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9105
9106 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9107 symbol.
9108
91092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9110
9111 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9112 wrap blocks consisting of several statements.
9113
9114 * sysdeps/generic/math-tests.h: New file.
9115 * sysdeps/i386/fpu/math-tests.h: Likewise.
9116 * math/test-snan.c: Include it.
9117 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9118
91192013-03-21 Joseph Myers <joseph@codesourcery.com>
9120
9121 [BZ #15285]
9122 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9123 (__ieee754_j0l): Do not improve calculations using cos of twice
9124 input for inputs above LDBL_MAX / 2.0L.
9125 (__ieee754_y0l): Likewise.
9126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9127 (__ieee754_j1l): Do not improve calculations using cos of twice
9128 input for inputs above LDBL_MAX / 2.0L.
9129 (__ieee754_y1l): Likewise.
9130 * math/libm-test.inc (j0_test): Add another test.
9131 (j1_test): Likewise.
9132 (y0_test): Likewise.
9133 (y1_test): Likewise.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135
91362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
9138 * Rules ($(objpfx)bench-%.c): Include code from a C source
9139 file.
9140
91412013-03-21 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #15287]
9144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9145 imaginary part 1.0 and real part less than 0.5 specially.
9146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9148 * math/libm-test.inc (cacos_test): Add more tests.
9149 (casin_test): Likewise.
9150 (casinh_test): Likewise.
9151 * sysdeps/i386/fpu/libm-test-ulps: Update.
9152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9153
91542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9155
9156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9157 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9158
91592013-03-20 Joseph Myers <joseph@codesourcery.com>
9160
9161 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9162 * config.make.in (config-cflags-sse4): Remove variable.
9163 (config-cflags-avx): Likewise.
9164 (config-cflags-sse2avx): Likewise.
9165 (config-cflags-novzeroupper): Likewise.
9166 (config-asflags-i686): Likewise.
9167 (have-mfma4): Likewise.
9168 (have-as-vis3): Likewise.
9169 (MIG): Likewise.
9170 * configure.in (MIG): Do not AC_SUBST.
9171 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9172 (libc_cv_cc_sse4): Do not AC_SUBST.
9173 (libc_cv_cc_avx): Likewise.
9174 (libc_cv_cc_sse2avx): Likewise.
9175 (libc_cv_cc_novzeroupper): Likewise.
9176 (libc_cv_cc_fma4): Likewise.
9177 (libc_cv_as_i686): Likewise.
9178 (libc_cv_sparc_as_vis3): Likewise.
9179 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9180 LIBC_CONFIG_VAR.
9181 (config-asflags-i686): Likewise.
9182 (config-cflags-avx): Likewise.
9183 (config-cflags-sse2avx): Likewise.
9184 (have-mfma4): Likewise.
9185 (config-cflags-novzeroupper): Likewise.
9186 * sysdeps/mach/configure.in (MIG): Likewise.
9187 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9188 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9189 LIBC_CONFIG_VAR.
9190 (config-cflags-avx): Likewise.
9191 (config-cflags-sse2avx): Likewise.
9192 (have-mfma4): Likewise.
9193 (config-cflags-novzeroupper): Likewise.
9194 * configure: Regenerated.
9195 * sysdeps/i386/configure: Likewise.
9196 * sysdeps/mach/configure: Likewise.
9197 * sysdeps/sparc/configure: Likewise.
9198 * sysdeps/x86_64/configure: Likewise.
9199
92002013-03-20 Roland McGrath <roland@hack.frob.com>
9201
9202 [BZ #14812]
9203 * locale/programs/localedef.c (options): Put N_ translation marker
9204 on argument names, not just descriptions.
9205
92062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9207
9208 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9209
92102013-03-20 Ondřej Bílka <neleai@seznam.cz>
9211
9212 [BZ #14176]
9213 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9214
92152013-03-19 Roland McGrath <roland@hack.frob.com>
9216
9217 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9218 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9219 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9220 [!BEFORE_ABORT] (before_abort): New function.
9221 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9222 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9223 (writev_for_fatal): New function.
9224 (WRITEV_FOR_FATAL): New macro; call that.
9225 (backtrace_and_maps): New function.
9226 (BEFORE_ABORT): New macro; call that.
9227 (struct str_list): Type removed.
9228 (__libc_message, __libc_fatal): Functions removed.
9229 Include <sysdeps/posix/libc_fatal.c> instead.
9230
92312013-03-19 Joseph Myers <joseph@codesourcery.com>
9232
9233 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9234 constants.
9235 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9236 double constants.
9237
92382013-03-19 Andreas Schwab <schwab@suse.de>
9239
9240 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9241 * sysdeps/gnu/configure: Regenerate.
9242
9243 * configure.in: Substitute libc_cv_rtlddir.
9244 * configure: Regenerate.
9245 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9246 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9247 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9248 * elf/Makefile (install-others, CFLAGS-interp.c)
9249 (ldso_install, common-ldd-rewrite): Likewise.
9250 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9251 $(inst_slibdir)/$(rtld-installed-name).
9252 * scripts/rellns-sh: Add -p option.
9253 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9254 for source.
9255
92562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9257
9258 * manual/nptl.texi: Renamed to ...
9259 * manual/threads.texi: ... this.
9260 * manual/Makefile (chapters): Update.
9261
92622013-03-18 Roland McGrath <roland@hack.frob.com>
9263
9264 [BZ #14812]
9265 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9266 on argument names, not just descriptions.
9267 * malloc/memusagestat.c (options): Likewise.
9268 * nss/getent.c (options): Likewise.
9269
92702013-03-18 Benno Schulenberg <bensberg@justemail.net>
9271
9272 [BZ #14812]
9273 * iconv/iconv_prog.c (options): Put N_ translation marker
9274 on argument names, not just descriptions.
9275 * iconv/iconvconfig.c (options): Likewise.
9276
92772013-03-18 Ondrej Bilka <neleai@seznam.cz>
9278
9279 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9280 implementation which is faster on all x86_64 architectures.
9281 Tested on AMD, Intel Nehalem, SNB, IVB.
9282 * sysdeps/x86_64/strnlen.S: Likewise.
9283
9284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9285 Remove all multiarch strlen and strnlen versions.
9286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9287 Remove strlen and strnlen related parts.
9288
9289 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9290 Inline strlen part.
9291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9292
9293 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9294 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9295 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9296 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9297 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9298 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9299
93002013-03-17 Carlos O'Donell <carlos@redhat.com>
9301
9302 * manual/memory.texi (Malloc Tunable Parameters):
9303 Sort parameters alphabetically. Add comments for missing entries.
9304
93052013-03-17 David S. Miller <davem@davemloft.net>
9306
9307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9308
93092013-03-16 Joseph Myers <joseph@codesourcery.com>
9310
9311 [BZ #15283]
9312 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9313 for arguments at most half maximum finite value.
9314 * math/libm-test.inc (j0_test): Add more tests.
9315 (j1_test): Likewise.
9316 (y0_test): Likewise.
9317 (y1_test): Likewise.
9318 * sysdeps/i386/fpu/libm-test-ulps: Update.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320
9321 [BZ #14155]
9322 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9323 1 / x and functions P and Q for arguments above 0x1p256L.
9324 (__ieee754_y0l): Likewise.
9325 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9326 (__ieee754_y1l): Likewise.
9327 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9328 (j1_test): Likewise.
9329 (y0_test): Likewise.
9330 (y1_test): Likewise.
9331
93322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9333
9334 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9335 variable.
9336
93372013-03-15 Roland McGrath <roland@hack.frob.com>
9338
9339 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9340 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9341 zero since it's initialized to EXEC_PAGESIZE.
9342
9343 * sysdeps/unix/sysv/linux/ldsodefs.h
9344 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9345 * sysdeps/generic/ldsodefs.h: ... here.
9346
93472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9348
9349 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9350
9351 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9352 math/test-snan.c.
9353 * math/test-snan.c: Renamed from
9354 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9355 * math/Makefile (tests): Add test-snan.
9356 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9357 test-powerpc-snan.
9358
9359 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9360 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9361 functions.
9362 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9363 __builtin_nan family of functions.
9364 * math/libm-test.inc (initialize): Initialize qnan_value with
9365 __builtin_nan family of functions.
9366 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9367 Remove variables.
9368 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9369 Remove functions.
9370 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9371 storage class. Initialize qNaN_var and sNaN_var with
9372 __builtin_nan and __builtin_nans families of functions,
9373 respectively.
9374
9375 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9376 (sqrt_test): Remove duplicate test with qNaN input.
9377 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9378 (round_test, signbit_test, significand_test): Note missing +/-Inf
9379 as well as qNaN tests.
9380
9381 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9382 qNaN_var. Fix a few strings, too.
9383 * math/libm-test.inc (nan_value): Rename to qnan_value.
9384 * math/gen-libm-test.pl (%beautify): Adjust to that.
9385 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9386 * math/test-misc.c (main): Likewise.
9387 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9388 to __qnan_bytes, and __qnan_union, respectively.
9389 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9390 Likewise.
9391 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9392 and lqnanval, respectively.
9393 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9394 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9396 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9397
9398 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9399 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9400 doubles.
9401
9402 * math/test-misc.c (main): Fix copy'n'pastos.
9403 * misc/tst-efgcvt.c (special): Likewise.
9404
9405 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9406 Remove declarations.
9407
94082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9409
9410 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9411 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9412 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9413 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9414
94152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9416
9417 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9418 macro to return vdso values correctly in IFUNC implementations.
9419 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9420 Optimization by using IFUNC.
9421
94222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9423 Richard Henderson <rth@redhat.com>
9424 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9425
9426 * Makefile.in (bench): New target.
9427 * NEWS: Mention the benchmark framework.
9428 * Rules (bench): Likewise.
9429 (binaries-bench): Generate binaries for functions to
9430 benchmark.
9431 * benchtests/Makefile: New makefile for benchmark tests.
9432 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9433 programs.
9434 * benchtests/exp-inputs: New input file for EXP function.
9435 * benchtests/pow-inputs: New input file for POW function.
9436 * scripts/bench.pl: New script to generate source files for
9437 benchmark programs.
9438
94392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9440
9441 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9443 computations on mantissa. Use macros for rounding and
9444 division.
9445 (denorm): Likewise.
9446 (__dbl_mp): Likewise.
9447 (add_magnitudes): Likewise.
9448 (sub_magnitudes): Likewise.
9449 (__mul): Likewise.
9450 (__sqr): Likewise.
9451 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9452 powers of two in terms of TWOPOW macro.
9453 (mp_no): Make type of mantissa as MANTISSA_T.
9454 [!RADIXI]: Define RADIXI.
9455 [!TWO52]: Define TWO52.
9456 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9457
9458 * manual/nptl.texi (cindex): Modify threads to pthreads.
9459
94602013-03-15 Joseph Myers <joseph@codesourcery.com>
9461
9462 * sysdeps/x86_64/preconfigure: Regenerated.
9463
94642013-03-14 Joseph Myers <joseph@codesourcery.com>
9465
9466 [BZ #14155]
9467 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9468 0x1p28 and above.
9469 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9470 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9471 0x1p28 and above.
9472 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9473 * math/libm-test.inc (j0_test): Do not allow one spurious
9474 underflow exception.
9475 (y1_test): Likewise.
9476
94772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9478
9479 * manual/Makefile (chapters): Add nptl.
9480 * manual/debug.texi (Debugging Support): Add link to Threads
9481 chapter.
9482 * manual/nptl.texi: New file.
9483
9484 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9485
94862013-03-14 Petr Baudis <pasky@ucw.cz>
9487
9488 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9489 for non-NULL pointer before the memory validity test. Pointed
9490 out by Holger Brunck <holger.brunck@keymile.com>.
9491
94922013-03-13 Andreas Schwab <schwab@suse.de>
9493
9494 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9495 instead of .os.
9496
94972013-03-13 Joseph Myers <joseph@codesourcery.com>
9498
9499 * timezone/zic.c: Update from tzcode 2013b.
9500
95012013-03-12 Carlos O'Donell <carlos@redhat.com>
9502
9503 * manual/install.texi (Configuring and compiling):
9504 Mention i686 and i586.
9505 * INSTALL: Regenerate.
9506
95072013-03-12 Roland McGrath <roland@hack.frob.com>
9508
9509 * sysdeps/init_array/elf-init.c: New file.
9510 * csu/elf-init.c
9511 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9512 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9513
9514 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9515 __gmon_start__ as global, but as static with a .preinit_array pointer.
9516 * sysdeps/init_array/gmon-start.c: New file. Use that.
9517 * sysdeps/init_array/crti.S: New file, empty except for comments.
9518 * sysdeps/init_array/crtn.S: Likewise.
9519
95202013-03-11 Ondřej Bílka <neleai@seznam.cz>
9521
9522 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9523 definining bcopy.
9524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9525 Remove Prefer_SSE_for_memop.
9526 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9527 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9528 HAS_PREFER_SSE_FOR_MEMOP.
9529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9530 memset-x86-64.
9531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9532 Remove bzero, memset ifunc support.
9533 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9534 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9535 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9537
95382013-03-11 Andreas Schwab <schwab@suse.de>
9539
9540 [BZ #15234]
9541 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9542 by SHLIB_COMPAT.
9543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9544 (GLIBC_2.16): Remove pthread_atfork.
9545
95462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9547
9548 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9549 (ptestcases.h): Likewise.
9550
95512013-03-08 Roland McGrath <roland@hack.frob.com>
9552
9553 * Makeconfig ($(common-objpfx)config.status): Depend on
9554 sysdeps/*/preconfigure{,.in} too.
9555
95562013-03-08 Joseph Myers <joseph@codesourcery.com>
9557
9558 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9559 (__free_hook): Use void * instead of __malloc_ptr_t.
9560 (__malloc_hook): Likewise.
9561 (__realloc_hook): Likewise.
9562 (__memalign_hook): Likewise.
9563 (__after_morecore_hook): Likewise.
9564 * malloc/arena.c (save_malloc_hook): Likewise.
9565 (save_free_hook): Likewise.
9566 * malloc/hooks.c (malloc_hook_ini): Likewise.
9567 (realloc_hook_ini): Likewise.
9568 (memalign_hook_ini): Likewise.
9569 * malloc/malloc.c (malloc_hook_ini): Likewise.
9570 (realloc_hook_ini): Likewise.
9571 (memalign_hook_ini): Likewise.
9572 (__free_hook): Likewise.
9573 (__malloc_hook): Likewise.
9574 (__realloc_hook): Likewise.
9575 (__memalign_hook): Likewise.
9576 (__libc_malloc): Likewise.
9577 (__libc_free): Likewise.
9578 (__libc_realloc): Likewise.
9579 (__libc_memalign): Likewise.
9580 (__libc_valloc): Likewise.
9581 (__libc_pvalloc): Likewise.
9582 (__libc_calloc): Likewise.
9583 (__posix_memalign): Likewise.
9584 * malloc/morecore.c (__sbrk): Likewise.
9585 (__default_morecore): Likewise.
9586
9587 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9588
9589 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9590 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9591 __malloc_ptrdiff_t.
9592
9593 * malloc/malloc.h (__malloc_size_t): Remove macro.
9594 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9595 __malloc_size_t.
9596 (old_memalign_hook): Likewise.
9597 (old_realloc_hook): Likewise.
9598 (struct hdr): Likewise.
9599 (flood): Likewise.
9600 (mallochook): Likewise.
9601 (memalignhook): Likewise.
9602 (reallochook): Likewise.
9603 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9604 (tr_old_realloc_hook): Likewise.
9605 (tr_old_memalign_hook): Likewise.
9606 (tr_mallochook): Likewise.
9607 (tr_reallochook): Likewise.
9608 (tr_memalignhook): Likewise.
9609
96102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9611
9612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9613 default_ldbl_pack and using as default implementation.
9614 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9615 implementation.
9616 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9617 redundant definition.
9618 (ldbl_insert_mantissa): Likewise.
9619 (ldbl_canonicalize): Likewise.
9620 (ldbl_nearbyint): Likewise.
9621 (ldbl_pack): Rename to ldbl_pack_ppc.
9622 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9623 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9624 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9625
96262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9627
9628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9629 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9631 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9634 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9635 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9636
96372013-03-07 Andreas Jaeger <aj@suse.de>
9638
9639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9640 bits/mman-linux.h.
9641
96422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9643
9644 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9645 Include mpa.h and declare __MPEXP.
9646 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9648 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9651 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9653
9654 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9655 (__slowpow): Use long double EXPL and LOGL functions to
9656 compute POW.
9657 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9658 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9659 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9660 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9661 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9663
9664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9665 intermediate variable to calculate exponent.
9666 (__sqr): Likewise.
9667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9668 Likewise.
9669 (__sqr): Likewise.
9670
9671 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9672 [!NO__SQR]: Define __sqr.
9673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9674 and NO__SQR. Remove all code except __mul and __sqr. Include
9675 sysdeps/ieee754/dbl-64/mpa.c.
9676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9677
9678 [BZ #12723]
9679 * posix/Makefile (tests): Add tst-pathconf.
9680 * posix/tst-pathconf.c: New test case.
9681 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9682 _PC_PIPE_BUF.
9683 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9684
96852013-03-06 Patsy Franklin <pfrankli@redhat.com>
9686
9687 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9688
96892013-03-06 Andreas Jaeger <aj@suse.de>
9690
9691 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9692 definition via __MAP_ANONYMOUS.
9693
9694 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9695 it's not part of Linux headers.
9696
9697 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9698 (MAP_HUGE_MASK): Define.
9699
9700 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9701 Define.
9702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9704 Define.
9705 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9706 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9707 Define.
9708 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9710 Define.
9711 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9712
9713 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9714 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9715 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9716 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9717 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9719
9720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9721 Handle f2fs.
9722
9723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9724 Handle f2fs and efivarfs.
9725
9726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9727 f2fs.
9728
9729 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9730 (EFIVARFS_MAGIC): Add.
9731 (F2FS_LINK_MAX): Add.
9732
97332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9734
9735 * stdio-common/vfprintf.c: Replace __builtin_expect with
9736 __glibc_unlikely.
9737
97382013-03-06 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #13550]
9741 * sysdeps/generic/bp-sym.h: Remove file.
9742 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9743 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9744 <bp-sym.h> and <bp-asm.h>.
9745 (__longjmp): Don't use BP_SYM.
9746 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9747 and <bp-asm.h>.
9748 (memcpy): Don't use BP_SYM.
9749 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9750 <bp-sym.h> and <bp-asm.h>.
9751 (memcpy): Don't use BP_SYM.
9752 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9753 <bp-asm.h>.
9754 (memcpy): Don't use BP_SYM.
9755 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9756 <bp-asm.h>.
9757 (memset): Don't use BP_SYM.
9758 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9759 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9760 (__bzero): Don't use BP_SYM.
9761 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9762 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9763 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9764 <bp-sym.h> and <bp-asm.h>.
9765 (memcmp): Don't use BP_SYM. Remove comment about bounded
9766 pointers.
9767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9768 <bp-sym.h> and <bp-asm.h>.
9769 (memcpy): Don't use BP_SYM.
9770 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9771 <bp-sym.h> and <bp-asm.h>.
9772 (memset): Don't use BP_SYM.
9773 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9774 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9775 (__bzero): Don't use BP_SYM.
9776 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9777 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9779 <bp-sym.h> and <bp-asm.h>.
9780 (strncmp): Don't use BP_SYM. Remove comment about bounded
9781 pointers.
9782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9783 <bp-sym.h> and <bp-asm.h>.
9784 (memcpy): Don't use BP_SYM.
9785 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9786 <bp-sym.h> and <bp-asm.h>.
9787 (memset): Don't use BP_SYM.
9788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9790 (__bzero): Don't use BP_SYM.
9791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9794 <bp-sym.h> and <bp-asm.h>.
9795 (__memchr): Don't use BP_SYM.
9796 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9797 <bp-sym.h> and <bp-asm.h>.
9798 (memcmp): Don't use BP_SYM. Remove comment about bounded
9799 pointers.
9800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9801 <bp-sym.h> and <bp-asm.h>.
9802 (memcpy): Don't use BP_SYM.
9803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9804 <bp-sym.h> and <bp-asm.h>.
9805 (__mempcpy): Don't use BP_SYM.
9806 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9807 <bp-sym.h> and <bp-asm.h>.
9808 (__memrchr): Don't use BP_SYM.
9809 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9810 <bp-sym.h> and <bp-asm.h>.
9811 (memset): Don't use BP_SYM.
9812 (__bzero): Likewise.
9813 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9814 <bp-sym.h> and <bp-asm.h>.
9815 (__rawmemchr): Don't use BP_SYM.
9816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9817 <bp-sym.h> and <bp-asm.h>.
9818 (__STRCMP): Don't use BP_SYM.
9819 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9820 <bp-sym.h> and <bp-asm.h>.
9821 (strchr): Don't use BP_SYM.
9822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9823 <bp-sym.h> and <bp-asm.h>.
9824 (__strchrnul): Don't use BP_SYM.
9825 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9826 <bp-sym.h> and <bp-asm.h>.
9827 (strlen): Don't use BP_SYM.
9828 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9829 <bp-sym.h> and <bp-asm.h>.
9830 (strncmp): Don't use BP_SYM. Remove comment about bounded
9831 pointers.
9832 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9833 <bp-sym.h> and <bp-asm.h>.
9834 (__strnlen): Don't use BP_SYM.
9835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9836 <bp-sym.h> and <bp-asm.h>.
9837 (__GI__setjmp): Don't use BP_SYM.
9838 (_setjmp): Likewise.
9839 (__sigsetjmp): Likewise.
9840 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9841 (L(start_addresses)): Don't use BP_SYM.
9842 (_start): Likewise.
9843 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9844 <bp-asm.h>.
9845 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9846 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9847 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9848 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9849 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9850 <bp-asm.h>.
9851 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9852 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9853 about bounded pointers.
9854 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9855 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9856 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9857 <bp-asm.h>.
9858 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9859 about bounded pointers. Remove GKM FIXME comments.
9860 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9861 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9862 <bp-asm.h>.
9863 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9864 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9865 Remove GKM FIXME comments.
9866 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9867 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9868 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9869 <bp-asm.h>.
9870 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9871 about bounded pointers. Remove GKM FIXME comment.
9872 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9873 and <bp-asm.h>.
9874 (strncmp): Don't use BP_SYM. Remove comment about bounded
9875 pointers.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9877 <bp-sym.h> and <bp-asm.h>.
9878 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9880 <bp-sym.h> and <bp-asm.h>.
9881 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9882 comment.
9883
98842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9885
9886 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9887 call free(NULL).
9888
98892013-03-05 David S. Miller <davem@davemloft.net>
9890
9891 * po/es.po: Update from translation team.
9892
98932013-03-05 Andreas Jaeger <aj@suse.de>
9894
9895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9896 <bits/mman-linux.h>.
9897 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9898 is fine.
9899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9900 <bits/mman-linux.h> to end of file.
9901 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9902 is fine.
9903 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9904 <bits/mman-linux.h> to end of file.
9905 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9906 is fine.
9907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9908 <bits/mman-linux.h> to end of file.
9909
9910 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9911 (MCL_CURRENT, MCL_FUTURE): Define here.
9912
99132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9914
9915 [BZ #15232]
9916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9917 attribute_hidden.
9918 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9919
99202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9921
9922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9923 fourth parameter needed for rt_sigprocmask syscall.
9924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9927 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9929 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9930
99312013-03-04 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #13550]
9934 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9935 comment about bounded pointers.
9936 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9937 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9938
99392013-03-04 Andreas Jaeger <aj@suse.de>
9940
9941 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9942 common definitions.
9943
9944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9945 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9946 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9950
99512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9952
9953 [BZ #15055]
9954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9955 __ieee754_sqrl instead of __sqrl.
9956
99572013-03-01 Joseph Myers <joseph@codesourcery.com>
9958
9959 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9960 * sysdeps/powerpc/fpu_control.h: ... here.
9961 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9962 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9963 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9964 * sysdeps/powerpc/bits/mathinline.h: ... here.
9965
99662013-03-01 Roland McGrath <roland@hack.frob.com>
9967
9968 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9969 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9970 to just [NEED_DL_SYSINFO_DSO].
9971 * elf/dl-support.c: Likewise.
9972 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9973 * elf/rtld.c (dl_main): Likewise.
9974 * elf/setup-vdso.h (setup_vdso): Likewise.
9975 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9976 * sysdeps/unix/sysv/linux/dl-sysdep.c
9977 (_dl_discover_osversion): Likewise.
9978
99792013-03-01 Carlos O'Donell <carlos@redhat.com>
9980
9981 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9983
99842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
9986 * NEWS: Mention libm performance improvements and non-x86 PI
9987 futex support.
9988
9989 * csu/libc-start.c (__pthread_initialize_minimal): Change
9990 function arguments.
9991 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9992
99932013-02-28 Joseph Myers <joseph@codesourcery.com>
9994
9995 [BZ #13550]
9996 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9998 <bp-sym.h> and <bp-asm.h>.
9999 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10001 and <bp-asm.h>.
10002 (memcpy): Don't use BP_SYM.
10003 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10004 <bp-asm.h>.
10005 (__mpn_add_n): Don't use BP_SYM.
10006 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10007 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10008 and <bp-asm.h>.
10009 (__mpn_addmul_1): Don't use BP_SYM.
10010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10012 <bp-sym.h>.
10013 (_setjmp): Don't use BP_SYM.
10014 (__novmx_setjmp): Likewise.
10015 (__GI__setjmp): Likewise.
10016 (__vmx_setjmp): Likewise.
10017 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10018 <bp-sym.h>.
10019 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10020 (__bzero): Don't use BP_SYM.
10021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10023 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10024 <bp-sym.h> and <bp-asm.h>.
10025 (memcpy): Don't use BP_SYM.
10026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10027 <bp-sym.h> and <bp-asm.h>.
10028 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10029 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10030 <bp-sym.h> and <bp-asm.h>.
10031 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10032 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10033 <bp-asm.h>.
10034 (__mpn_lshift): Don't use BP_SYM.
10035 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10036 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10037 <bp-asm.h>.
10038 (memset): Don't use BP_SYM.
10039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10041 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10042 <bp-asm.h>.
10043 (__mpn_mul_1): Don't use BP_SYM.
10044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10045 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10046 <bp-sym.h> and <bp-asm.h>.
10047 (memcmp): Don't use BP_SYM.
10048 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10049 <bp-sym.h> and <bp-asm.h>.
10050 (memcpy): Don't use BP_SYM.
10051 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10052 <bp-sym.h> and <bp-asm.h>.
10053 (memset): Don't use BP_SYM.
10054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10055 <bp-sym.h> and <bp-asm.h>.
10056 (strncmp): Don't use BP_SYM.
10057 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10058 <bp-sym.h> and <bp-asm.h>.
10059 (memcpy): Don't use BP_SYM.
10060 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10061 <bp-sym.h> and <bp-asm.h>.
10062 (memset): Don't use BP_SYM.
10063 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10064 <bp-sym.h> and <bp-asm.h>.
10065 (__memchr): Don't use BP_SYM.
10066 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10067 <bp-sym.h> and <bp-asm.h>.
10068 (memcmp): Don't use BP_SYM.
10069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10070 <bp-sym.h> and <bp-asm.h>.
10071 (memcpy): Don't use BP_SYM.
10072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10073 <bp-sym.h> and <bp-asm.h>.
10074 (__mempcpy): Don't use BP_SYM.
10075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10076 <bp-sym.h> and <bp-asm.h>.
10077 (__memrchr): Don't use BP_SYM.
10078 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10079 <bp-sym.h> and <bp-asm.h>.
10080 (memset): Don't use BP_SYM.
10081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10082 <bp-sym.h> and <bp-asm.h>.
10083 (__rawmemchr): Don't use BP_SYM.
10084 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10085 <bp-sym.h> and <bp-asm.h>.
10086 (__STRCMP): Don't use BP_SYM.
10087 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10088 <bp-sym.h> and <bp-asm.h>.
10089 (strchr): Don't use BP_SYM.
10090 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10091 <bp-sym.h> and <bp-asm.h>.
10092 (__strchrnul): Don't use BP_SYM.
10093 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10094 <bp-sym.h> and <bp-asm.h>.
10095 (strlen): Don't use BP_SYM.
10096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10097 <bp-sym.h> and <bp-asm.h>.
10098 (strncmp): Don't use BP_SYM.
10099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10100 <bp-sym.h> and <bp-asm.h>.
10101 (__strnlen): Don't use BP_SYM.
10102 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10103 <bp-asm.h>.
10104 (__mpn_rshift): Don't use BP_SYM.
10105 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10106 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10107 <bp-sym.h> and <bp-asm.h>.
10108 (__sigsetjmp): Don't use BP_SYM.
10109 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10110 (L(start_addresses)): Don't use BP_SYM.
10111 (_start): Likewise.
10112 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10113 <bp-asm.h>.
10114 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10115 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10116 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10117 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10118 <bp-asm.h>.
10119 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10120 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10121 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10122 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10123 <bp-asm.h>.
10124 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10125 comments.
10126 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10127 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10128 <bp-asm.h>.
10129 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10130 FIXME comments.
10131 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10132 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10133 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10134 <bp-asm.h>.
10135 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10136 comment.
10137 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10138 and <bp-asm.h>.
10139 (strncmp): Don't use BP_SYM,
10140 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10141 <bp-asm.h>.
10142 (__mpn_sub_n): Don't use BP_SYM.
10143 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10144 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10145 and <bp-asm.h>.
10146 (__mpn_submul_1): Don't use BP_SYM.
10147 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10149 <bp-sym.h> and <bp-asm.h>.
10150 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10152 <bp-sym.h> and <bp-asm.h>.
10153 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10154 comment.
10155
101562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10157
10158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10159 Use ZK to minimize writes to Z.
10160 (sub_magnitudes): Simplify code a bit.
10161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10162 Use ZK to minimize writes to Z.
10163 (sub_magnitudes): Simplify code a bit.
10164
101652013-02-27 Roland McGrath <roland@hack.frob.com>
10166
10167 * csu/gmon-start.c: Add special exception to license text.
10168
101692013-02-27 Richard Henderson <rth@redhat.com>
10170
10171 * scripts/config.guess: Update from config.git.
10172 * scripts/config.sub: Likewise.
10173
101742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10175
10176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10177
10178 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10179
10180 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10181
10182 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10183
10184 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10185
101862013-02-26 Roland McGrath <roland@hack.frob.com>
10187
10188 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10189 [$(build-shared = yes].
10190
101912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10192
10193 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10194 (__mul): Reduce iterations for calculating mantissa.
10195
10196 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10197 MPTWO.
10198 (__mpranred): Likewise.
10199
10200 [BZ #15160]
10201 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10202 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10203
102042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10205
10206 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10207 Define __attribute__.
10208
102092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10210
10211 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10212 unused.
10213 * posix/regex_internal.h (__attribute): Remove.
10214 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10215 (re_string_context_at): Likewise.
10216 (bitset_not): Use __attribute__ and mark function as possibly
10217 unused.
10218 (bitset_merge): Likewise.
10219 (bitset_mask): Likewise.
10220 (re_string_char_size_at): Likewise.
10221 (re_string_wchar_at): Likewise.
10222 (re_string_elem_size_at): Likewise.
10223
102242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10225
10226 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10227 code.
10228 (cc32): Likewise.
10229
10230 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10231 (__acr): Likewise.
10232 (__cpy): Likewise.
10233 (norm): Likewise.
10234 (denorm): Likewise.
10235 (__dbl_mp): Likewise.
10236 (add_magnitudes): Likewise.
10237 (sub_magnitudes): Likewise.
10238 (__mul): Likewise.
10239 (__inv): Likewise.
10240
10241 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10242 style.
10243
10244 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10245 style.
10246
10247 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10248 code.
10249
10250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10251 up changes with default code.
10252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10253 Likewise.
10254
102552013-02-24 Allan McRae <allan@archlinux.org>
10256
10257 * manual/socket.texi (The Internet Namespace): Order menu items
10258 to match that in the file.
10259
10260 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10261 node listing of the info page menu.
10262
102632013-02-21 Joseph Myers <joseph@codesourcery.com>
10264
10265 [BZ #13550]
10266 * sysdeps/i386/bp-asm.h: Remove file.
10267 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10268 (PARMS): Do not use macros from bp-asm.h.
10269 (S1): Likewise.
10270 (S2): Likewise.
10271 (SIZE): Likewise.
10272 (__mpn_add_n): Do not use BP_SYM
10273 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10274 "bp-asm.h".
10275 (PARMS): Do not use macros from bp-asm.h.
10276 (S1): Likewise.
10277 (SIZE): Likewise.
10278 (__mpn_addmul_1): Do not use BP_SYM
10279 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10280 "bp-asm.h".
10281 (PARMS): Do not use macros from bp-asm.h.
10282 (SIGMSK): Likewise.
10283 (_setjmp): Likewise. Do not use BP_SYM.
10284 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10285 "bp-asm.h".
10286 (PARMS): Do not use macros from bp-asm.h.
10287 (SIGMSK): Likewise.
10288 (setjmp): Likewise. Do not use BP_SYM.
10289 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10290 "bp-asm.h".
10291 (PARMS): Do not use macros from bp-asm.h.
10292 (__frexp): Do not use BP_SYM.
10293 (frexp): Likewise.
10294 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10295 "bp-asm.h".
10296 (PARMS): Do not use macros from bp-asm.h.
10297 (__frexpf): Do not use BP_SYM.
10298 (frexpf): Likewise.
10299 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10300 "bp-asm.h".
10301 (PARMS): Do not use macros from bp-asm.h.
10302 (__frexpl): Do not use BP_SYM.
10303 (frexpl): Likewise.
10304 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10305 "bp-asm.h".
10306 (PARMS): Do not use macros from bp-asm.h.
10307 (__remquo): Do not use BP_SYM.
10308 (remquo): Likewise.
10309 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10310 "bp-asm.h".
10311 (PARMS): Do not use macros from bp-asm.h.
10312 (__remquof): Do not use BP_SYM.
10313 (remquof): Likewise.
10314 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10315 "bp-asm.h".
10316 (PARMS): Do not use macros from bp-asm.h.
10317 (__remquol): Do not use BP_SYM.
10318 (remquol): Likewise.
10319 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10320 "bp-asm.h".
10321 (PARMS): Do not use macros from bp-asm.h.
10322 (DEST): Likewise.
10323 (SRC): Likewise.
10324 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10325 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10326 "bp-asm.h".
10327 (PARMS): Do not use macros from bp-asm.h.
10328 (strlen): Do not use BP_SYM.
10329 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10330 "bp-asm.h".
10331 (PARMS): Do not use macros from bp-asm.h.
10332 (S1): Likewise.
10333 (S2): Likewise.
10334 (SIZE): Likewise.
10335 (__mpn_add_n): Do not use BP_SYM.
10336 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10337 "bp-asm.h".
10338 (PARMS): Do not use macros from bp-asm.h.
10339 (S1): Likewise.
10340 (SIZE): Likewise.
10341 (__mpn_addmul_1): Do not use BP_SYM.
10342 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10343 weak_alias.
10344 (bzero): Likewise.
10345 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10346 "bp-asm.h".
10347 (PARMS): Do not use macros from bp-asm.h.
10348 (S): Likewise.
10349 (SIZE): Likewise.
10350 (__mpn_lshift): Do not use BP_SYM.
10351 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10352 "bp-asm.h".
10353 (PARMS): Do not use macros from bp-asm.h.
10354 (DEST): Likewise.
10355 (SRC): Likewise.
10356 (LEN): Likewise.
10357 (memcpy): Likewise. Do not use BP_SYM.
10358 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10359 libc_hidden_def and weak_alias.
10360 (mempcpy): Do not use BP_SYM in weak_alias.
10361 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10362 "bp-asm.h".
10363 (PARMS): Do not use macros from bp-asm.h.
10364 (DEST): Likewise.
10365 (LEN): Likewise.
10366 [!BZERO_P] (CHR): Likewise.
10367 (memset): Likewise. Do not use BP_SYM.
10368 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10369 "bp-asm.h".
10370 (PARMS): Do not use macros from bp-asm.h.
10371 (S1): Likewise.
10372 (SIZE): Likewise.
10373 (__mpn_mul_1): Do not use BP_SYM.
10374 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10375 "bp-asm.h".
10376 (PARMS): Do not use macros from bp-asm.h.
10377 (S): Likewise.
10378 (SIZE): Likewise.
10379 (__mpn_rshift): Do not use BP_SYM.
10380 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10381 "bp-asm.h".
10382 (PARMS): Do not use macros from bp-asm.h.
10383 (STR): Likewise.
10384 (CHR): Likewise.
10385 (strchr): Likewise. Do not use BP_SYM.
10386 (index): Do not use BP_SYM in weak_alias.
10387 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10388 "bp-asm.h".
10389 (PARMS): Do not use macros from bp-asm.h.
10390 (DEST): Likewise.
10391 (SRC): Likewise.
10392 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10393 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10394 "bp-asm.h".
10395 (PARMS): Do not use macros from bp-asm.h.
10396 (strlen): Do not use BP_SYM.
10397 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10398 "bp-asm.h".
10399 (PARMS): Do not use macros from bp-asm.h.
10400 (S1): Likewise.
10401 (S2): Likewise.
10402 (SIZE): Likewise.
10403 (__mpn_sub_n): Do not use BP_SYM.
10404 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10405 "bp-asm.h".
10406 (PARMS): Do not use macros from bp-asm.h.
10407 (S1): Likewise.
10408 (SIZE): Likewise.
10409 (__mpn_submul_1): Do not use BP_SYM.
10410 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10411 "bp-asm.h".
10412 (PARMS): Do not use macros from bp-asm.h.
10413 (S1): Likewise.
10414 (S2): Likewise.
10415 (SIZE): Likewise.
10416 (__mpn_add_n): Do not use BP_SYM.
10417 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10418 weak_alias.
10419 (bzero): Likewise.
10420 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10421 "bp-asm.h".
10422 (PARMS): Do not use macros from bp-asm.h.
10423 (BLK2): Likewise.
10424 (LEN): Likewise.
10425 (memcmp): Do not use BP_SYM.
10426 (bcmp): Do not use BP_SYM in weak_alias.
10427 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10428 "bp-asm.h".
10429 (PARMS): Do not use macros from bp-asm.h.
10430 (DEST): Likewise.
10431 (SRC): Likewise.
10432 (LEN): Likewise.
10433 (memcpy): Likewise. Do not use BP_SYM.
10434 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10435 "bp-asm.h".
10436 (PARMS): Do not use macros from bp-asm.h.
10437 (DEST): Likewise.
10438 (SRC): Likewise.
10439 (LEN): Likewise.
10440 (memmove): Likewise. Do not use BP_SYM.
10441 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10442 "bp-asm.h".
10443 (PARMS): Do not use macros from bp-asm.h.
10444 (DEST): Likewise.
10445 (SRC): Likewise.
10446 (LEN): Likewise.
10447 (__mempcpy): Likewise. Do not use BP_SYM.
10448 (mempcpy): Do not use BP_SYM in weak_alias.
10449 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10450 "bp-asm.h".
10451 (PARMS): Do not use macros from bp-asm.h.
10452 (DEST): Likewise.
10453 (LEN): Likewise.
10454 [!BZERO_P] (CHR): Likewise.
10455 (memset): Likewise. Do not use BP_SYM.
10456 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10457 "bp-asm.h".
10458 (PARMS): Do not use macros from bp-asm.h.
10459 (STR2): Likewise.
10460 (strcmp): Do not use BP_SYM.
10461 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10462 "bp-asm.h".
10463 (PARMS): Do not use macros from bp-asm.h.
10464 (STR): Likewise.
10465 (DELIM): Likewise.
10466 [USE_AS_STRTOK_R] (SAVE): Likewise.
10467 (FUNCTION): Likewise. Do not use BP_SYM.
10468 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10469 aliases.
10470 (strtok_r): Likewise.
10471 (__GI___strtok_r): Likewise.
10472 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10473 (PARMS): Do not use macros from bp-asm.h.
10474 (S): Likewise.
10475 (SIZE): Likewise.
10476 (__mpn_lshift): Do not use BP_SYM.
10477 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10478 (PARMS): Do not use macros from bp-asm.h.
10479 (STR): Likewise.
10480 (CHR): Likewise.
10481 (__memchr): Do not use BP_SYM.
10482 (memchr): Do not use BP_SYM in weak_alias.
10483 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10484 (PARMS): Do not use macros from bp-asm.h.
10485 (BLK2): Likewise.
10486 (LEN): Likewise.
10487 (memcmp): Do not use BP_SYM.
10488 (bcmp): Do not use BP_SYM in weak_alias.
10489 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10490 (PARMS): Do not use macros from bp-asm.h.
10491 (S1): Likewise.
10492 (SIZE): Likewise.
10493 (__mpn_mul_1): Do not use BP_SYM.
10494 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10495 "bp-asm.h".
10496 (PARMS): Do not use macros from bp-asm.h.
10497 (STR): Likewise.
10498 (CHR): Likewise.
10499 (__rawmemchr): Do not use BP_SYM.
10500 (rawmemchr): Do not use BP_SYM in weak_alias.
10501 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10502 (PARMS): Do not use macros from bp-asm.h.
10503 (S): Likewise.
10504 (SIZE): Likewise.
10505 (__mpn_rshift): Do not use BP_SYM.
10506 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10507 (PARMS): Do not use macros from bp-asm.h.
10508 (SIGMSK): Likewise.
10509 (__sigsetjmp): Likewise. Do not use BP_SYM.
10510 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10511 (_start): Do not use BP_SYM.
10512 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10513 (PARMS): Do not use macros from bp-asm.h.
10514 (DEST): Likewise.
10515 (SRC): Likewise.
10516 (__stpcpy): Likewise. Do not use BP_SYM.
10517 (stpcpy): Do not use BP_SYM in weak_alias.
10518 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10519 "bp-asm.h".
10520 (PARMS): Do not use macros from bp-asm.h.
10521 (DEST): Likewise.
10522 (SRC): Likewise.
10523 (LEN): Likewise.
10524 (__stpncpy): Likewise. Do not use BP_SYM.
10525 (stpncpy): Do not use BP_SYM in weak_alias.
10526 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10527 (PARMS): Do not use macros from bp-asm.h.
10528 (STR): Likewise.
10529 (CHR): Likewise.
10530 (strchr): Likewise. Do not use BP_SYM.
10531 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10532 "bp-asm.h".
10533 (PARMS): Do not use macros from bp-asm.h.
10534 (STR): Likewise.
10535 (CHR): Likewise.
10536 (__strchrnul): Likewise. Do not use BP_SYM.
10537 (strchrnul): Do not use BP_SYM in weak_alias.
10538 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10539 "bp-asm.h".
10540 (PARMS): Do not use macros from bp-asm.h.
10541 (STOP): Likewise.
10542 (strcspn): Do not use BP_SYM.
10543 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10544 "bp-asm.h".
10545 (PARMS): Do not use macros from bp-asm.h.
10546 (STR): Likewise.
10547 (STOP): Likewise.
10548 (strpbrk): Likewise. Do not use BP_SYM.
10549 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10550 "bp-asm.h".
10551 (PARMS): Do not use macros from bp-asm.h.
10552 (STR): Likewise.
10553 (CHR): Likewise.
10554 (strrchr): Likewise. Do not use BP_SYM.
10555 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10556 (PARMS): Do not use macros from bp-asm.h.
10557 (SKIP): Likewise.
10558 (strspn): Do not use BP_SYM.
10559 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10560 (PARMS): Do not use macros from bp-asm.h.
10561 (STR): Likewise.
10562 (DELIM): Likewise.
10563 (SAVE): Likewise.
10564 (FUNCTION): Likewise. Do not use BP_SYM.
10565 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10566 aliases.
10567 (strtok_r): Likewise.
10568 (__GI___strtok_r): Likewise.
10569 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10570 (PARMS): Do not use macros from bp-asm.h.
10571 (S1): Likewise.
10572 (S2): Likewise.
10573 (SIZE): Likewise.
10574 (__mpn_sub_n): Do not use BP_SYM.
10575 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10576 "bp-asm.h".
10577 (PARMS): Do not use macros from bp-asm.h.
10578 (S1): Likewise.
10579 (SIZE): Likewise.
10580 (__mpn_submul_1): Do not use BP_SYM.
10581 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10582 <bp-sym.h>.
10583 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10584 and <bp-asm.h>.
10585 (PARMS): Do not use macros from bp-asm.h.
10586 (FLAGS): Likewise.
10587 (PTID): Likewise.
10588 (TLS): Likewise.
10589 (CTID): Likewise.
10590 (__clone): Do not use BP_SYM.
10591 (clone): Do not use BP_SYM in weak_alias.
10592 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10593 and <bp-asm.h>.
10594 (PARMS): Do not use macros from bp-asm.h.
10595 (LEN): Likewise.
10596 (__mmap64): Do not use BP_SYM.
10597 (mmap64): Do not use BP_SYM in weak_alias.
10598 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10599 <bp-sym.h> and <bp-asm.h>.
10600 (PARMS): Do not use macros from bp-asm.h.
10601 (__posix_fadvise64_l64): Do not use BP_SYM.
10602 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10603 (PARMS): Do not use macros from bp-asm.h.
10604 (NSOPS): Likewise.
10605 (semtimedop): Do not use BP_SYM.
10606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10607 and <bp-asm.h>.
10608
106092013-02-21 Allan McRae <allan@archlinux.org>
10610
10611 * manual/message.texi (Charset conversion in gettext):
10612 Move @end statement to beginning of line.
10613
106142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10615
10616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10617 static.
10618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10619 Likewise.
10620
10621 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10622 (denorm): Likewise.
10623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10625
106262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10627
10628 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10629 tail-call to the resolved function if pltexit isn't needed.
10630
106312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10632
10633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10634 or Y being zero as being unlikely.
10635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10636 Likewise.
10637
106382013-02-20 Carlos O'Donell <carlos@redhat.com>
10639
10640 * manual/nss.texi (System Databases and Name Service Switch):
10641 Remove frobnicate @pxref.
10642
106432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10644
10645 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10646 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10647
106482013-02-20 Petr Machata <pmachata@redhat.com>
10649
10650 * elf/elf.h (R_ARM_TARGET1): New macro.
10651 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10652 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10653 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10654 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10655 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10656 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10657 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10658 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10659 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10660 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10661 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10662 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10663 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10664 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10665 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10666 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10667 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10668 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10669 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10670 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10671 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10672 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10673 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10674 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10675 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10676 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10677 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10678 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10679 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10680 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10681 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10682 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10683 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10684 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10685 (R_ARM_THM_GOT_BREL12): Likewise.
10686 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10687 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10688 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10689 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10690 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10691 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10692 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10693 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10694 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10695
106962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10697
10698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10699 __attribute_used__ to __attribute__ ((unused)).
10700
107012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10702
10703 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10704 powerpc mpa.c.
10705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10706 comment formatting.
10707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10708
107092013-02-19 Joseph Myers <joseph@codesourcery.com>
10710
10711 [BZ #13550]
10712 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10713 Remove macro.
10714 (ENTER): Remove both macro definitions.
10715 (LEAVE): Likewise.
10716 (CHECK_BOUNDS_LOW): Likewise.
10717 (CHECK_BOUNDS_HIGH): Likewise.
10718 (CHECK_BOUNDS_BOTH): Likewise.
10719 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10720 (RETURN_BOUNDED_POINTER): Likewise.
10721 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10722 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10723 (POP_ERRNO_LOCATION_RETURN): Likewise.
10724 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10725 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10726 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10727 macros.
10728 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10729 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10730 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10731 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10732 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10733 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10734 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10735 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10736 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10737 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10738 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10739 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10740 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10741 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10742 removed macros.
10743 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10744 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10745 macros.
10746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10747 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10748 * sysdeps/i386/i586/memset.S (memset): Likewise.
10749 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10750 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10751 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10752 macros.
10753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10754 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10755 Change uses of L(2) to L(out).
10756 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10757 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10758 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10759 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10760 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10761 removed macros.
10762 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10763 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10764 macros.
10765 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10766 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10767 (RETURN): Do not use macro LEAVE.
10768 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10769 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10770 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10771 * sysdeps/i386/i686/memset.S (memset): Likewise.
10772 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10773 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10774 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10775 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10776 Likewise.
10777 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10778 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10779 L(1_2) and L(1_3) into L(1).
10780 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10781 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10782 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10783 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10784 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10785 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10786 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10787 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10788 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10789 macros.
10790 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10791 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10792 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10793 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10794 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10795 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10796 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10797 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10798 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10799 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10800 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10801 * sysdeps/i386/strspn.S (strspn): Likewise.
10802 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10803 conditional code.
10804 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10805 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10806 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10807 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10808 L(1_3) into L(1_1).
10809 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10810 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10811 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10812 macros.
10813 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10814
108152013-02-19 Jakub Jelinek <jakub@redhat.com>
10816
10817 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10818 macro.
10819
108202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10821
10822 * math/atest-exp.c (exp_mpn): Remove ROUND.
10823 * math/atest-exp2.c (exp_mpn): Likewise.
10824 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10825
10826 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10827 * stdlib/tst-tls-atexit-lib.c: Likewise.
10828 * stdlib/tst-tls-atexit.c: Likewise.
10829
108302013-02-18 Mike Frysinger <vapier@gentoo.org>
10831
10832 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10833 and __attribute_alloc_size__.
10834
108352013-02-18 Mike Frysinger <vapier@gentoo.org>
10836
10837 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10838 __attribute_alloc_size__.
10839 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10840 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10841
108422013-02-18 Mike Frysinger <vapier@gentoo.org>
10843
10844 * include/programs/xmalloc.h: New file.
10845 * catgets/gencat.c: Include it.
10846 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10847 * elf/pldd.c: Likewise.
10848 * iconv/iconv_charmap.c: Likewise.
10849 * iconv/iconvconfig.c: Likewise.
10850 * iconv/strtab.c: Likewise.
10851 * locale/programs/locale.c: Likewise.
10852 * locale/programs/localedef.h: Likewise.
10853 * locale/programs/simple-hash.c: Likewise.
10854 * nscd/nscd.h: Likewise.
10855 * nss/makedb.c: Likewise.
10856 * sysdeps/generic/ldconfig.h: Likewise.
10857
108582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10859
10860 * Versions.def: Add GLIBC_2.18.
10861 * include/link.h (struct link_map): New member l_tls_dtor_count.
10862 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10863 (__call_tls_dtors): Likewise.
10864 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10865 __cxa_thread_atexit_impl.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10867 Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10869 Likewise.
10870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10871 Likewise.
10872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10873 Likewise.
10874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10876 Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10878 Likewise.
10879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10881 Likewise.
10882 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10883 (tests): Add test case tst-tls-atexit.
10884 (modules-names): Add shared library for tst-tls-atexit.
10885 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10886 (GLIBC_PRIVATE): Add __call_tls_dtors.
10887 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10888 for libstdc++.
10889 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10890 * stdlib/tst-tls-atexit.c: New test case.
10891 * stdlib/tst-tls-atexit-lib.c: New test case.
10892
10893 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10894
10895 * elf/Versions (ld): Add _dl_find_dso_for_object.
10896 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10897 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10898 (dl_open_worker): Use _dl_find_dso_for_object.
10899 * elf/dl-sym.c (do_sym): Likewise.
10900 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10901
109022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10903
10904 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10905 Syntactic changes only.
10906 (_dl_runtime_profile): Do a tail-call to the resolved function.
10907
109082013-02-17 Joseph Myers <joseph@codesourcery.com>
10909
10910 [BZ #13550]
10911 * sysdeps/x86_64/bp-asm.h: Remove file.
10912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10913 <bp-sym.h> and <bp-asm.h>.
10914 (__clone): Do not use BP_SYM.
10915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10916 <bp-sym.h> and <bp-asm.h>.
10917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10918 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10919 "bp-asm.h".
10920 (_setjmp): Do not use BP_SYM.
10921 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10922 "bp-asm.h".
10923 (setjmp): Do not use BP_SYM.
10924 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10925 libc_hidden_def.
10926 (mempcpy): Do not use BP_SYM in weak_alias.
10927 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10928 "bp-asm.h".
10929 (strchr): Do not use BP_SYM.
10930 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10931 "bp-asm.h".
10932 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10933 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10934 (_start): Do not use BP_SYM.
10935 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10936 "bp-asm.h".
10937 (strcat): Do not use BP_SYM.
10938 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10939 "bp-asm.h".
10940 (STRCMP): Do not use BP_SYM.
10941 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10942 "bp-asm.h".
10943 (STRCPY): Do not use BP_SYM.
10944 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10945 "bp-asm.h".
10946 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10947 "bp-asm.h".
10948 (FUNCTION): Do not use BP_SYM.
10949 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10950 weak_alias.
10951 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10952
109532013-02-17 Andreas Jaeger <aj@suse.de>
10954
10955 * time/Versions: Sort entries.
10956 * string/Versions: Likewise.
10957 * resolv/Versions: Likewise.
10958 * posix/Versions: Likewise.
10959 * iconv/Versions: Likewise.
10960 * elf/Versions: Likewise.
10961 * wcsmbs/Versions: Likewise.
10962
109632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10964
10965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10966 loop termination condition.
10967
10968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10969 variable to calculate EZ.
10970 (__sqr): Likewise.
10971
10972 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10973 the lower precision input.
10974
109752013-02-15 Joseph Myers <joseph@codesourcery.com>
10976
10977 [BZ #13550]
10978 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10979 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10980 (run-via-rtld-prefix): Do not handle %-bp tests.
10981 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10982 (all-object-suffixes): Remove .ob.
10983 (bppfx): Remove variable.
10984 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10985 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10986 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10987 [$(build-bounded) = yes] (libtype.ob): Likewise.
10988 * Makerules (elide-routines.ob): Remove variable.
10989 (do-tests-clean): Do not handle *-bp.out.
10990 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10991 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10992 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10993 (tests): Do not include $(tests-bp.out).
10994 (xtests): Do not include $(xtests-bp.out).
10995 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10996 [$(build-bounded) = yes] ($(addprefix
10997 $(objpfx),$(binaries-bounded))): Remove rule.
10998 ($(objpfx)%-bp.out): Remove rule.
10999 * config.make.in (build-bounded): Remove variable.
11000 * crypt/Makefile [$(build-bounded) = yes]
11001 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11002 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11003 append to variable.
11004 [$(build-bounded) = yes] (install-lib): Likewise.
11005 [$(build-bounded) = yes] (generated): Likewise.
11006 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11007 Remove rule.
11008 * intl/Makefile [$(build-bounded) = yes]
11009 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11010 * math/Makefile [$(build-bounded) = yes]
11011 ($(tests:%=$(objpfx)%-bp): Likewise.
11012 * misc/Makefile [$(build-bounded) = yes]
11013 ($(objpfx)tst-tsearch-bp): Likewise.
11014 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11015 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11016 Remove dependency.
11017 * string/Makefile (o-objects.ob): Remove variable.
11018 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11019 (CFLAGS-.ob): Remove variable.
11020 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11021 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11022 both definitions of variable.
11023 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11024 (ASFLAGS-.ob): Remove variable.
11025
110262013-02-14 Joseph Myers <joseph@codesourcery.com>
11027
11028 [BZ #13550]
11029 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11030 Remove __BOUNDED_POINTERS__ from condition.
11031 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11032 * string/bits/string2.h [!__NO_STRING_INLINES &&
11033 !__BOUNDED_POINTERS__]: Likewise.
11034 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11035 Likewise.
11036 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11037 Remove conditional code.
11038 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11039 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11040 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11041 condition.
11042
11043 [BZ #13550]
11044 * csu/libc-start.c: Do not include <bp-sym.h>.
11045 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11046 * elf/dl-open.c: Do not include <bp-sym.h>.
11047 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11048 * math/fegetenv.c: Do not include <bp-sym.h>.
11049 (fegetenv): Do not use BP_SYM in versioned symbols.
11050 * nptl/sysdeps/pthread/bits/libc-lockP.h
11051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11052 <bp-sym.h>.
11053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11054 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11056 (__pthread_mutex_destroy): Likewise.
11057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11058 (__pthread_mutex_lock): Likewise.
11059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11060 (__pthread_mutex_trylock): Likewise.
11061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11062 (__pthread_mutex_unlock): Likewise.
11063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11064 (__pthread_mutexattr_init): Likewise.
11065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11066 (__pthread_mutexattr_destroy): Likewise.
11067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11068 (__pthread_mutexattr_settype): Likewise.
11069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11070 (__pthread_rwlock_init): Likewise.
11071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11072 (__pthread_rwlock_destroy): Likewise.
11073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11074 (__pthread_rwlock_rdlock): Likewise.
11075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11076 (__pthread_rwlock_tryrdlock): Likewise.
11077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11078 (__pthread_rwlock_wrlock): Likewise.
11079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11080 (__pthread_rwlock_trywrlock): Likewise.
11081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11082 (__pthread_rwlock_unlock): Likewise.
11083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11084 (__pthread_key_create): Likewise.
11085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11086 (__pthread_setspecific): Likewise.
11087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11088 (__pthread_getspecific): Likewise.
11089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11090 Likewise.
11091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11092 (_pthread_cleanup_push_defer): Likewise.
11093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11094 (_pthread_cleanup_pop_restore): Likewise.
11095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11096 (pthread_setcancelstate): Likewise.
11097 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11098 <bp-sym.h>.
11099 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11100 (memchr): Do not use BP_SYM in weak_alias.
11101 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11102 (fegetenv): Do not use BP_SYM in versioned symbols.
11103 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11104 (fesetenv): Do not use BP_SYM in versioned symbols.
11105 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11106 (feupdateenv): Do not use BP_SYM in versioned symbols.
11107 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11108 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11109 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11110 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11111 (open64): Do not use BP_SYM in weak_alias.
11112 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11113 (fegetenv): Do not use BP_SYM in versioned symbols.
11114 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11115 (fesetenv): Do not use BP_SYM in versioned symbols.
11116 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11117 (feupdateenv): Do not use BP_SYM in versioned symbols.
11118 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11119 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11120 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11121 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11122 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11123 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11125 <bp-sym.h>.
11126 (__libc_start_main): Do not use BP_SYM.
11127
111282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11129
11130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11131 redundant return line.
11132 (norm): Likewise.
11133 (denorm): Likewise.
11134 (dbl_mp): Likewise.
11135 (sub_magnitudes): Likewise.
11136 (__add): Likewise.
11137 (__sub): Likewise.
11138 (__mul): Likewise.
11139 (__inv): Likewise.
11140 (__dvd): Likewise.
11141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11142 (norm): Likewise.
11143 (denorm): Likewise.
11144 (dbl_mp): Likewise.
11145 (sub_magnitudes): Likewise.
11146 (__add): Likewise.
11147 (__sub): Likewise.
11148 (__mul): Likewise.
11149 (__inv): Likewise.
11150 (__dvd): Likewise.
11151
11152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11153 instead of __mul.
11154 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11155 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11156 (cc32): Likewise.
11157
11158 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11159 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11161 of __mul for squares.
11162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11163 function
11164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11165 Likewise.
11166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11168
111692013-02-13 Joseph Myers <joseph@codesourcery.com>
11170
11171 [BZ #13550]
11172 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11173 code.
11174 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11175 prototype or function definition. Rename ubp_* variables and
11176 parameters. Remove argv definitions conditional on
11177 [__BOUNDED_POINTERS__].
11178 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11179 * elf/dl-runtime.c (_dl_fixup): Likewise.
11180 * include/set-hooks.h (RUN_HOOK): Likewise.
11181 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11182 definition.
11183 * string/strcpy.c (strcpy): Do not use __unbounded.
11184 * sysdeps/generic/frame.h (struct layout): Likewise.
11185 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11186 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11187 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11188 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11189 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11190 (__backtrace): Likewise.
11191 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11192 use __ptrvalue.
11193 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11194 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11195 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11196 Likewise.
11197 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11198 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11199 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11200 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11201 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11202 Do not use __unbounded.
11203 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11204 Rename __unboundedrlimits parameter to rlimits in prototype.
11205 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11206 Do not use __unbounded.
11207 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11208 not use __ptrvalue.
11209 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11210 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11211 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11212 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11213 __ptrvalue or __unbounded.
11214 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11215 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11216 use __unbounded.
11217 (__new_msgctl): Do not use __ptrvalue.
11218 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11219 __unbounded.
11220 (__libc_msgrcv): Do not use __ptrvalue.
11221 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11222 startup_info): Do not use __unbounded.
11223 (__libc_start_main): Likewise. Rename ubp_* variables and
11224 parameters. Remove argv definitions conditional on
11225 [__BOUNDED_POINTERS__].
11226 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11227 __ptrvalue.
11228 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11229 use __unbounded.
11230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11231 or __ptrvalue.
11232 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11233 use __unbounded.
11234 (__new_shmctl): Do not use __ptrvalue.
11235 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11236 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11237 Likewise.
11238 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11240 (__libc_sigaction): Likewise.
11241 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11242 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11243 Likewise.
11244 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11245
112462013-02-13 Ondřej Bílka <neleai@seznam.cz>
11247
11248 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11249
11250 * string/mempcpy.c: Implement by calling memcpy.
11251
112522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11253
11254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11255
11256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11257 evaluation.
11258
11259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11260 values in the mantissa.
11261
11262 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11263 minimize writes to Z.
11264 (sub_magnitudes): Simplify code a bit.
11265
112662013-02-12 Roland McGrath <roland@hack.frob.com>
11267
11268 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11269 from the message. The linker prefixes all warnings with that already.
11270
112712013-02-12 Andreas Schwab <schwab@suse.de>
11272
11273 [BZ #15078]
11274 * posix/regexec.c (extend_buffers): Add parameter min_len.
11275 (check_matching): Pass minimum needed length.
11276 (clean_state_log_if_needed): Likewise.
11277 (get_subexp): Likewise.
11278 * posix/Makefile (tests): Add bug-regex34.
11279 (bug-regex34-ENV): Define.
11280 * posix/bug-regex34.c: New file.
11281
11282 [BZ #11561]
11283 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11284 elements compare against the byte sequence of it, not its name.
11285 * posix/Makefile (tests): Add bug-regex35.
11286 (bug-regex35-ENV): Define.
11287 * posix/bug-regex35.c: New file.
11288
112892013-02-11 Tom de Vries <tom@codesourcery.com>
11290
11291 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11292 comment.
11293 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11294 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11295 (CHECK_EOL): Add undef.
11296
112972013-02-11 Ondřej Bílka <neleai@seznam.cz>
11298
11299 * bits/stdlib-bsearch.h: New file.
11300 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11301 * stdlib/stdlib.h: Likewise.
11302
113032013-02-11 Roland McGrath <roland@hack.frob.com>
11304
11305 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11306 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11307 declaration.
11308 * manual/search.texi (Array Search Function): Add missing const in
11309 lfind prototype.
11310 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11311 declaration to use rlim_t.
11312 (Basic Scheduling Functions): Remove erroneous const from
11313 sched_getparam prototype. Remove erroneous * from
11314 sched_get_priority_max and sched_get_priority_min prototypes.
11315 (Resource Usage): Fix summary @comment on vtimes to refer to
11316 sys/vtimes.h rather than vtimes.h.
11317 Add missing *s in vtimes prototype.
11318 (Limits on Resources): Fix ulimit prototype to return long int.
11319 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11320 prototypes to use long int rather than double.
11321 (BSD Random): Fix initstate and setstate to use char *, not void *.
11322 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11323 prototype to make second argument 'struct aiocb64 *const[]'.
11324 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11325 (Status of AIO Operations): Remove erroneous const in aio_return and
11326 aio_return64 prototypes.
11327 (Synchronizing I/O): Fix sync prototype to return void.
11328 * manual/startup.texi (Suboptions): Remove an erroneous const in
11329 getsubopt prototype.
11330 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11331 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11332 use size_t rather than int.
11333 (Scanning All Users): Likewise for getpwent_r.
11334 (Setting Groups): Add missing const to setgroups prototype.
11335 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11336 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11337 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11338 'const void *' rather than 'const char *'.
11339 (Host Address Functions): Likewise for inet_ntop.
11340 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11341 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11342 ssize_t for return value.
11343 (Sending Data): Likewise for send, sendto, sendmsg.
11344 (Socket Option Functions): Add a missing const in setsockopt prototype.
11345 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11346 use wchar_t for the argument.
11347 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11348 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11349 take no arguments.
11350 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11351 double/float/long double for second argument.
11352 Fix return types of significand, significandf, significandl.
11353 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11354 argument in fchmod prototype.
11355 (File Owner): Use uid_t and gid_t in fchown prototype.
11356 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11357 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11358 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11359 use 'const struct dirent **' as argument types to CMP function pointer
11360 argument.
11361 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11362 (File Times): Fix summary magic @comment for struct utimbuf and utime
11363 to refer to utime.h, not time.h.
11364 * manual/string.texi (Argz Functions): Add missing const in
11365 argz_extract and argz_next prototypes.
11366 (Finding Tokens in a String): Likewise for basename.
11367 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11368 (Copying and Concatenation): Fix typo in wmemmove prototype.
11369 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11370 (Signal Stack): Remove erroneous const in sigstack prototype.
11371 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11372 prototype.
11373 (Simple Calendar Time): Likewise for stime.
11374 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11375 prototype.
11376 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11377 say sys/sysctl.h instead.
11378 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11379 and vsyslog prototypes.
11380
113812013-02-11 Tom de Vries <tom@codesourcery.com>
11382
11383 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11384 Remove.
11385
113862013-02-11 Roland McGrath <roland@hack.frob.com>
11387
11388 * misc/sys/mman.h: Fix typo in mremap comment.
11389
113902013-02-08 Roland McGrath <roland@hack.frob.com>
11391
11392 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11393 the '\0' terminator.
11394
113952013-02-08 Joseph Myers <joseph@codesourcery.com>
11396
11397 [BZ #13550]
11398 * debug/segfault.c: Don't include <bp-checks.h>.
11399 * sysdeps/generic/bp-checks.h: Remove file.
11400 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11401 (__GETDENTS): Don't use CHECK_N.
11402 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11403 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11404 (__getgroups): Don't use CHECK_N.
11405 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11406 (setgroups): Don't use CHECK_N.
11407 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11408 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11409 (__libc_msgrcv): Don't use CHECK_N.
11410 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11411 (__libc_msgsnd): Don't use CHECK_N.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11413 <bp-checks.h>.
11414 (__libc_pread): Don't use CHECK_N.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11416 include <bp-checks.h>.
11417 (__libc_pread64): Don't use CHECK_N.
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11419 include <bp-checks.h>.
11420 (__libc_pwrite): Don't use CHECK_N.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11422 include <bp-checks.h>.
11423 (__libc_pwrite64): Don't use CHECK_N.
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11425 <bp-checks.h>.
11426 (__libc_pread): Don't use CHECK_N.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11428 include <bp-checks.h>.
11429 (__libc_pread64): Don't use CHECK_N.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11431 include <bp-checks.h>.
11432 (__libc_pwrite): Don't use CHECK_N.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11434 include <bp-checks.h>.
11435 (__libc_pwrite64): Don't use CHECK_N.
11436 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11437 (do_pread): Don't use CHECK_N.
11438 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11439 (do_pread64): Don't use CHECK_N.
11440 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11441 (do_pwrite): Don't use CHECK_N.
11442 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11443 (do_pwrite64): Don't use CHECK_N.
11444 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11445 (__libc_readv): Don't use CHECK_N.
11446 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11447 (semop): Don't use CHECK_N.
11448 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11449 <bp-checks.h>.
11450 (semtimedop): Don't use CHECK_N.
11451 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11452 (__libc_pread): Don't use CHECK_N.
11453 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11454 <bp-checks.h>.
11455 (__libc_pread64): Don't use CHECK_N.
11456 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11457 <bp-checks.h>.
11458 (__libc_pwrite): Don't use CHECK_N.
11459 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11460 <bp-checks.h>.
11461 (__libc_pwrite64): Don't use CHECK_N.
11462 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11463 <bp-checks.h>.
11464 (__libc_msgrcv): Don't use CHECK_N.
11465 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11466 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11467 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11468 (__libc_writev): Don't use CHECK_N.
11469
114702013-02-08 Roland McGrath <roland@hack.frob.com>
11471
11472 * string/strcpy.c: Removed unused variable.
11473
11474 * Makeconfig (+sysdep-includes): Define with := rather than =.
11475 Use an existing include/ subdir of each sysdeps dir before it.
11476
114772013-02-08 Carlos O'Donell <carlos@redhat.com>
11478
11479 * nscd/connection.c (register_traced_file): Comment function.
11480 [HAVE_INOTIFY] (union __inev): Define.
11481 [HAVE_INOTIFY] (inotify_check_files): New function.
11482 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11483 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11484 clear_db_cache.
11485 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11486
114872013-02-08 Carlos O'Donell <carlos@redhat.com>
11488
11489 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11490 loaded if not already and that a failure is permanent.
11491
114922013-02-08 Carlos O'Donell <carlos@redhat.com>
11493
11494 [BZ #15006]
11495 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11496 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11497
114982013-02-08 Joseph Myers <joseph@codesourcery.com>
11499
11500 [BZ #13550]
11501 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11502 (CHECK_1_NULL_OK): Likewise.
11503 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11504 (__fxstat): Do not use CHECK_1.
11505 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11506 <bp-checks.h>.
11507 (___fxstat64): Do not use CHECK_1.
11508 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11509 <bp-checks.h>.
11510 (__fxstatat): Do not use CHECK_1.
11511 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11512 <bp-checks.h>.
11513 (__fxstatat64): Do not use CHECK_1.
11514 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11515 <bp-checks.h>.
11516 (__fxstat): Do not use CHECK_1.
11517 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11518 <bp-checks.h>.
11519 (__fxstatat): Do not use CHECK_1.
11520 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11521 <bp-checks.h>.
11522 (__getresgid): Do not use CHECK_1.
11523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11524 <bp-checks.h>.
11525 (__getresuid): Do not use CHECK_1.
11526 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11527 <bp-checks.h>.
11528 (__lxstat): Do not use CHECK_1.
11529 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11530 <bp-checks.h>.
11531 (__old_msgctl): Do not use CHECK_1.
11532 (__new_msgctl): Likewise.
11533 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11534 <bp-checks.h>.
11535 (__new_setrlimit): Do not use CHECK_1.
11536 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11537 <bp-checks.h>.
11538 (__old_shmctl): Do not use CHECK_1.
11539 (__new_shmctl): Likewise.
11540 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11541 <bp-checks.h>.
11542 (__xstat): Do not use CHECK_1.
11543 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11544 (__lxstat): Do not use CHECK_1.
11545 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11546 <bp-checks.h>.
11547 (___lxstat64): Do not use CHECK_1.
11548 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11549 (__old_msgctl): Do not use CHECK_1.
11550 (__new_msgctl): Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11552 <bp-checks.h>.
11553 (__gettimeofday): Do not use CHECK_1.
11554 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11555 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11556 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11557 <bp-checks.h>.
11558 (__gettimeofday): Do not use CHECK_1.
11559 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11560 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11561 (__new_shmctl): Do not use CHECK_1.
11562 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11563 <bp-checks.h>.
11564 (do_sigtimedwait): Do not use CHECK_1.
11565 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11566 <bp-checks.h>.
11567 (do_sigwaitinfo): Do not use CHECK_1.
11568 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11569 <bp-checks.h>.
11570 (msgctl): Do not use CHECK_1.
11571 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11572 <bp-checks.h>.
11573 (shmctl): Do not use CHECK_1.
11574 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11575 (ustat): Do not use CHECK_1.
11576 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11577 <bp-checks.h>.
11578 (__fxstat): Do not use CHECK_1.
11579 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11580 <bp-checks.h>.
11581 (__fxstatat): Do not use CHECK_1.
11582 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11583 <bp-checks.h>.
11584 (__lxstat): Do not use CHECK_1.
11585 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11586 <bp-checks.h>.
11587 (__xstat): Do not use CHECK_1.
11588 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11589 (__xstat): Do not use CHECK_1.
11590 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11591 (___xstat64): Do not use CHECK_1.
11592
11593 [BZ #13550]
11594 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11595 definitions.
11596 (CHECK_BOUNDS_HIGH): Likewise.
11597 * string/strcpy.c: Do not include <bp-checks.h>.
11598 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11599
116002013-02-07 Roland McGrath <roland@hack.frob.com>
11601
11602 * nscd/nscd-client.h (__nscd_drop_map_ref):
11603 Add __attribute__ ((unused)).
11604 * nis/nss-nisplus.h (niserr2nss): Likewise.
11605
11606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11607 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11608
11609 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11610 Remove inline keyword.
11611 * include/rounding-mode.h (round_away): Likewise.
11612 * libio/wfileops.c (adjust_wide_data): Likewise.
11613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11614 (__m128i_strloadu_tolower): Likewise.
11615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11616 (__m128i_strloadu_tolower): Likewise.
11617 * time/mktime.c (ydhms_diff): Likewise.
11618 * locale/elem-hash.h (elem_hash): Likewise.
11619 * locale/setlocale.c (setdata): Likewise.
11620 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11621 (re_string_wchar_at): Likewise.
11622 (bitset_not, bitset_merge, bitset_mask): Likewise.
11623 [!(__GNUC__ > 3)] (inline): Remove macro.
11624 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11625 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11626 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11627 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11628 * string/memcmp.c (memcmp_bytes): Likewise.
11629 * locale/programs/locarchive.c (compute_hashval): Likewise.
11630 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11631 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11632 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11633 * nss/getent.c (print_rpc, print_protocols): Likewise.
11634 (print_passwd, print_group, print_aliases): Likewise.
11635 * nis/nss-nisplus.h (niserr2nss): Likewise.
11636 * nscd/connections.c (restart_p): Likewise.
11637 Change return type to bool.
11638
116392013-02-05 Roland McGrath <roland@hack.frob.com>
11640
11641 * Makeconfig (all-Depend-files): Add existing
11642 $(sorted-subdirs:=/Depend) files.
11643 (all-subdirs): Remove nss.
11644 * sysdeps/unix/inet/Subdirs: Add it here instead.
11645 * hesiod/Depend: New file.
11646
11647 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11648 instead of calling alloca.
11649
11650 * io/lseek.c (__lseek): Rename to __libc_lseek.
11651 Define __lseek as an alias.
11652
11653 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11654
116552013-02-04 Carlos O'Donell <carlos@redhat.com>
11656
11657 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11658 else clause and remove check for non-standard endianness.
11659
116602013-02-04 David S. Miller <davem@davemloft.net>
11661
11662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11663
116642013-02-04 Joseph Myers <joseph@codesourcery.com>
11665
11666 [BZ #13550]
11667 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11668 (__ubp_memchr): Remove prototype.
11669 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11670 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11671 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11672 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11673 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11674 Remove alias.
11675 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11676 (__ubp_memchr): Likewise.
11677 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11678 (__ubp_memchr): Likewise.
11679 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11680 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11681 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11683 CHECK_STRING.
11684 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11685 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11686 (__getcwd): Do not use CHECK_STRING.
11687 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11688 <bp-checks.h>.
11689 (__real_chown): Do not use CHECK_STRING.
11690 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11691 <bp-checks.h>.
11692 (fchownat): Do not use CHECK_STRING.
11693 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11694 CHECK_STRING.
11695 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11696 <bp-checks.h>.
11697 (__lchown): Do not use CHECK_STRING.
11698 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11699 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11700 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11701 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11703 include <bp-checks.h>.
11704 (truncate64): Do not use CHECK_STRING.
11705 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11706 <bp-checks.h>.
11707 (__real_chown): Do not use CHECK_STRING.
11708 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11709 <bp-checks.h>.
11710 (__lchown): Do not use CHECK_STRING.
11711 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11712 <bp-checks.h>.
11713 (__chown): Do not use CHECK_STRING.
11714 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11715 <bp-checks.h>.
11716 (truncate64): Do not use CHECK_STRING.
11717 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11718 Likewise.
11719 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11720 (__xmknod): Do not use CHECK_STRING.
11721 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11722 <bp-checks.h>.
11723 (__xmknodat): Do not use CHECK_STRING.
11724 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11725 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11726
117272013-02-04 Andreas Schwab <schwab@suse.de>
11728
11729 [BZ #14142]
11730 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11731 * include/netdb.h: Likewise for h_errno.
11732 * elf/tst-stackguard1.c: Include <tls.h>.
11733
117342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11735
11736 * elf/link.h (struct link_map): Extend the l_addr comment.
11737 * include/link.h (struct link_map): Likewise.
11738
117392013-02-01 Joseph Myers <joseph@codesourcery.com>
11740
11741 [BZ #13550]
11742 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11743 (BOUNDED_1): Remove macro.
11744 * debug/backtrace.c: Don't include <bp-checks.h>.
11745 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11746 (__backtrace): Likewise.
11747 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11748 <bp-checks.h>.
11749 (__backtrace): Don't use BOUNDED_1.
11750 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11751 <bp-checks.h>.
11752 (__backtrace): Don't use BOUNDED_1.
11753 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11754 (__backtrace): Don't use BOUNDED_1.
11755 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11756 (shmat): Don't use BOUNDED_N.
11757
117582013-01-31 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #13550]
11761 * sysdeps/generic/bp-start.h: Remove file.
11762 * csu/libc-start.c: Don't include <bp-start.h>.
11763 (LIBC_START_MAIN): Set up __environ directly instead of using
11764 INIT_ARGV_and_ENVIRON.
11765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11766 <bp-start.h>.
11767
11768 [BZ #13550]
11769 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11770 definitions.
11771 (CHECK_FCNTL): Likewise.
11772 (CHECK_N_PAGES): Likewise.
11773
11774 [BZ #13550]
11775 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11776 definitions.
11777 (CHECK_SIGSET_NULL_OK): Likewise.
11778 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11779 <bp-checks.h>.
11780 (sigpending): Don't use CHECK_SIGSET.
11781 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11782 <bp-checks.h>.
11783 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11784 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11785 <bp-checks.h>.
11786 (do_sigsuspend): Don't use CHECK_SIGSET.
11787 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11788 use CHECK_SIGSET.
11789 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11790 (do_sigwait): Don't use CHECK_SIGSET.
11791 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11792 use CHECK_SIGSET.
11793 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11794 include <bp-checks.h>.
11795 (sigpending): Don't use CHECK_SIGSET.
11796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11797 include <bp-checks.h>.
11798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11799 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11800 <bp-checks.h>.
11801 (sigpending): Don't use CHECK_SIGSET.
11802 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11803 <bp-checks.h>.
11804 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11805
11806 [BZ #13550]
11807 * sysdeps/generic/bp-semctl.h: Remove file.
11808 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11809 <bp-checks.h> and <bp-semctl.h>.
11810 (__old_semctl): Don't use CHECK_SEMCTL.
11811 (__new_semctl): Likewise.
11812 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11813 and <bp-semctl.h>.
11814 (__old_semctl): Don't use CHECK_SEMCTL.
11815 (__new_semctl): Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11817 <bp-checks.h> and <bp-semctl.h>.
11818 (__old_semctl): Don't use CHECK_SEMCTL.
11819 (__new_semctl): Likewise.
11820 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11821 <bp-checks.h> and <bp-semctl.h>.
11822 (semctl): Don't use CHECK_SEMCTL.
11823
11824 [BZ #13550]
11825 * Makerules (elide-bp-thunks): Remove variable.
11826 (elide-routines.oS): Don't use $(elide-bp-thunks).
11827 (elide-routines.os): Likewise.
11828 (elide-routines.o): Likewise.
11829 (elide-routines.op): Likewise.
11830 (elide-routines.og): Likewise.
11831 (objects): Don't use $(bp-thunks).
11832 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11833 include.
11834 (common-generated): Do not add s-proto-bp.d.
11835 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11836 (int): Likewise.
11837 (typ): Likewise.
11838 Do not generate makefile rules for bounded-pointer thunks.
11839 * sysdeps/generic/bp-thunks.h: Remove file.
11840 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11841 * sysdeps/unix/s-proto-bp.S: Likewise.
11842
11843 [BZ #15062]
11844 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11845 parts of result separately when argument is not close to line from
11846 -i to i and one part of argument is small.
11847 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11848 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11849 * math/libm-test.inc (cacos_test): Add more tests.
11850 (casin_test): Likewise.
11851 (casinh_test): Likewise.
11852 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11854
118552013-01-31 David S. Miller <davem@davemloft.net>
11856
11857 * po/de.po: Update from translation team.
11858
118592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11860
11861 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11862
118632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11864
11865 * configure.in (_AC_PROG_CC_C89): New definition.
11866 * configure: Regenerate.
11867
11868 * configure.in (AC_PROG_CPP): New definition.
11869 * configure: Regenerate.
11870
118712013-01-23 Joseph Myers <joseph@codesourcery.com>
11872
11873 * debug/tst-backtrace.h: New file.
11874 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11875 (ret): Remove variable.
11876 (x): Likewise.
11877 (FAIL): Remove macro.
11878 (NO_INLINE): Likewise.
11879 (fn1): Use match function instead of strstr.
11880 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11881 (ret): Remove variable.
11882 (x): Likewise.
11883 (FAIL): Remove macro.
11884 (NO_INLINE): Likewise.
11885 (fn): Use match function instead of strstr.
11886 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11887 (ret): Remove variable.
11888 (x): Likewise.
11889 (FAIL): Remove macro.
11890 (NO_INLINE): Likewise.
11891 (handle_signal): Use match function instead of strstr.
11892 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11893 (ret): Remove variable.
11894 (x): Likewise.
11895 (FAIL): Remove macro.
11896 (NO_INLINE): Likewise.
11897 (handle_signal): Use match function instead of strstr.
11898
118992013-01-23 Roland McGrath <roland@hack.frob.com>
11900
11901 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11902
119032013-01-23 David S. Miller <davem@davemloft.net>
11904
11905 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11906 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11907 argument of CAS if possible.
11908 * sysdeps/sparc/sparc64/bits/atomic.h
11909 (__arch_compare_and_exchange_val_32_acq): Likewise.
11910 (__arch_compare_and_exchange_val_64_acq): Likewise.
11911
119122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11913
11914 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11915 * sysdeps/posix/ulimit.c: ... this.
11916 Include <limits.h>.
11917 * sysdeps/unix/bsd/ulimit.c: Remove file.
11918
119192013-01-23 Adam Conrad <adconrad@0c3.net>
11920
11921 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11922 (LDFLAGS-tst-array5): Likewise.
11923
119242013-01-23 Joseph Myers <joseph@codesourcery.com>
11925
11926 [BZ #15036]
11927 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11928 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11929 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11930 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11931
119322013-01-21 David S. Miller <davem@davemloft.net>
11933
11934 * sysdeps/sparc/backtrace.c: New file.
11935 * sysdeps/sparc/sparc32/backtrace.h: New file.
11936 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11937 * sysdeps/sparc/sparc64/backtrace.h: New file.
11938 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11939 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11940 -funwind-tables.
11941
119422013-01-21 Andreas Schwab <schwab@suse.de>
11943
11944 [BZ #15020]
11945 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11946 closed its stdout.
11947
119482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11949
11950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11951 "mpa2.h".
11952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11953
119542013-01-18 Joseph Myers <joseph@codesourcery.com>
11955 Mark Mitchell <mark@codesourcery.com>
11956 Tom de Vries <tom@codesourcery.com>
11957 Paul Pluzhnikov <ppluzhnikov@google.com>
11958
11959 * debug/tst-backtrace2.c: New file.
11960 * debug/tst-backtrace3.c: Likewise.
11961 * debug/tst-backtrace4.c: Likewise.
11962 * debug/tst-backtrace5.c: Likewise.
11963 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11964 (CFLAGS-tst-backtrace3.c): Likewise.
11965 (CFLAGS-tst-backtrace4.c): Likewise.
11966 (CFLAGS-tst-backtrace5.c): Likewise.
11967 (LDFLAGS-tst-backtrace2): Likewise.
11968 (LDFLAGS-tst-backtrace3): Likewise.
11969 (LDFLAGS-tst-backtrace4): Likewise.
11970 (LDFLAGS-tst-backtrace5): Likewise.
11971 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11972 tst-backtrace4 and tst-backtrace5.
11973
119742013-01-18 Anton Blanchard <anton@samba.org>
11975 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11976
11977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11978 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11979 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11980 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11982 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11983 "+r" and remove output regs list as redundant. Add explicit inline
11984 asm to specify register of return val to work around compiler codegen
11985 bug. Remove (int) cast on return value. Add return type parameter to
11986 use in macro so that this macro does not truncate return value for
11987 64-bit values.
11988 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11989 pass to INTERNAL_VSYSCALL_NCS.
11990 (INLINE_VSYSCALL): Add 'long int' as return type to
11991 INTERNAL_VSYSCALL_NCS macro invocation.
11992 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11993 INTERNAL_VSYSCALL_NCS macro invocation.
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11995
119962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11997
11998 [BZ #14496]
11999 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12000 Fix application of SIMD FP exception mask.
12001
12002 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12003 mp_no from a power of two.
12004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12005 __mpexp_twomm1. Use __pow_mp.
12006
12007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12008 multiplication.
12009
120102013-01-17 David S. Miller <davem@davemloft.net>
12011
12012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12013
120142013-01-17 Joseph Myers <joseph@codesourcery.com>
12015
12016 [BZ #15023]
12017 * include/complex.h: Condition contents on [!_COMPLEX_H].
12018 (__kernel_casinhf): New prototype.
12019 (__kernel_casinh): Likewise.
12020 (__kernel_casinhl): Likewise.
12021 * math/Makefile (libm_calls): Add k_casinh.
12022 * math/k_casinh.c: New file.
12023 * math/k_casinhf.c: Likewise.
12024 * math/k_casinhl.c: Likewise.
12025 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12026 finite nonzero arguments.
12027 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12028 finite nonzero arguments.
12029 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12030 finite nonzero arguments.
12031 * math/s_casinh.c: Do not include <float.h>.
12032 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12033 * math/s_casinhf.c: Do not include <float.h>.
12034 (__casinhf): Move code for finite nonzero arguments to
12035 k_casinhf.c.
12036 * math/s_casinhl.c: Do not include <float.h>.
12037 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12038 redefine.
12039 (__casinhl): Move code for finite nonzero arguments to
12040 k_casinhl.c.
12041 * math/libm-test.inc (cacos_test): Add more tests.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12044
120452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12046
12047 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12048 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12049 [!HAVE_MREMAP]: Remove [defined linux] case.
12050 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12051
120522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12053
12054 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12055
120562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * elf/elf.h (R_386_SIZE32): New relocation.
12059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12060 R_386_SIZE32.
12061 (elf_machine_rela): Likewise.
12062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12063 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12064
120652013-01-17 Joseph Myers <joseph@codesourcery.com>
12066
12067 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12068 (FP_FAST_FMA): Do not define.
12069 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12070 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12071 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12072 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12073 !_SOFT_FLOAT]: Likewise.
12074 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12075 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12076 value.
12077 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12078 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12079 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12080 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12081 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12082 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12083 file.
12084
120852013-01-16 Andreas Schwab <schwab@suse.de>
12086
12087 [BZ #14327]
12088 * include/stdlib.h (__mktemp): Add declaration.
12089 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12090 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12091
120922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12093
12094 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12095 definitions.
12096 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12097 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12098 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12099 definitions here.
12100 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12101 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12102 definitions.
12103 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12104 and ONE.
12105 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12106 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12107 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12108 definitions.
12109 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12110 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12111 definitions.
12112 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12113
12114 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12115
121162013-01-15 David S. Miller <davem@davemloft.net>
12117
12118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12119 trunc{,f} to libm-sysdep_routes.
12120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12122 file.
12123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12125 file.
12126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12127 file.
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12130 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12132 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12133 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12134 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12135 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12136
12137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12138 nearbyint{,f} to libm-sysdep_routes.
12139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12141 New file.
12142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12143 file.
12144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12145 New file.
12146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12147 file.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12150 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12151 file.
12152 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12153 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12154 file.
12155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12156 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12157 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12158
12159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12160 libc_feholdexcept and libc_fesetenv.
12161
121622013-01-15 Mike Frysinger <vapier@gentoo.org>
12163
12164 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12165
121662013-01-14 David S. Miller <davem@davemloft.net>
12167
12168 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12169 (SPARC_ASM_VIS2_IFUNC): Likewise.
12170 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12172 use of 'siam' instruction.
12173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12174 Likewise.
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12176 Likewise.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12178 Likewise.
12179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12184 file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12186 file.
12187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12188 file.
12189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12190 file.
12191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12196 new VIS2 routines.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12200 Likewise.
12201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12206 routines to libm-sysdep_routines.
12207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12208
12209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12210 fdim/fdimf to libm-sysdep_routines.
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12212 file.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12215 file.
12216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12219 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12220 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12221 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12222 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12223
122242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12225
12226 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12227 to optimize copies.
12228
12229 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12232
12233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12234 local variable MPTWO.
12235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12236 Likewise.
12237
122382013-01-13 Mike Frysinger <vapier@gentoo.org>
12239
12240 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12241 GLOB_NOESCAPE.
12242
122432013-01-13 Mike Frysinger <vapier@gentoo.org>
12244
12245 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12246
122472013-01-13 Mike Frysinger <vapier@gentoo.org>
12248
12249 * manual/pattern.texi (glob_t): Document gl_flags.
12250 (glob64_t): Likewise.
12251
122522013-01-11 David S. Miller <davem@davemloft.net>
12253
12254 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12255 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12256 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12257 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12258 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12259 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12260 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12261 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12262 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12263 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12264 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12265 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12266 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12267
12268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12269 sparc V9 rather than using V8 code.
12270 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12271 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12272
12273 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12274 Move to...
12275 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12276 Here.
12277
122782013-01-11 Roland McGrath <roland@hack.frob.com>
12279
12280 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12281 not in the main loop.
12282 * configure: Regenerated.
12283
122842013-01-11 Joseph Myers <joseph@codesourcery.com>
12285
12286 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12287 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12288 to just #else.
12289 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12290 [!__GLIBC_HAVE_LONG_LONG] case.
12291 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12292 condition to just #else.
12293 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12294 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12295 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12296 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12297 unconditional.
12298 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12299 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12300 #elif condition to just #else.
12301 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12302 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12303 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12304 #elif condition to just #else.
12305
123062013-01-11 Steve Ellcey <sellcey@mips.com>
12307
12308 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12309 (EF_MIPS_ARCH_64): Fix value.
12310 (EF_MIPS_ARCH_32R2): New.
12311 (EF_MIPS_ARCH_64R2): New.
12312
123132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 * Makeconfig (+link-pie-before-libc): New.
12316 (+link-pie-after-libc): Likewise.
12317 (+link-pie-tests): Likewise.
12318 (+link-pie): Rewritten.
12319 (link-before-libc): Remove $(config-LDFLAGS).
12320 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12321 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12322 (config-LDFLAGS): Renamed to ...
12323 (rtld-LDFLAGS): This.
12324 (rtld-tests-LDFLAGS): New macro.
12325 (link-libc-rpath-link): Likewise.
12326 (link-libc-tests-rpath-link): Likewise.
12327 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12328 (link-libc): Prepand $(link-libc-rpath-link).
12329 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12330 (test-program-prefix): New macro.
12331 (test-via-rtld-prefix): Likewise.
12332 (test-program-cmd): Likewise.
12333 (host-test-program-cmd): Likewise.
12334 * Makefile ($(common-objpfx)testrun.sh): Replace
12335 $(run-program-prefix) with $(test-program-prefix).
12336 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12337 $(rtld-LDFLAGS).
12338 ($(common-objpfx)shlib.lds): Likewise.
12339 (build-module-helper): Likewise.
12340 ($(common-objpfx)format.lds): Likewise.
12341 * Rules (binaries-pie-tests): New.
12342 (binaries-pie-notests): Likewise.
12343 (binaries-pie): Rewritten.
12344 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12345 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12346 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12347 (make-test-out): Replace $(host-built-program-cmd) with
12348 $(host-test-program-cmd).
12349 * config.make.in (build-hardcoded-path-in-tests): New variable.
12350 * configure.in (--enable-hardcoded-path-in-tests): New configure
12351 option.
12352 (hardcoded_path_in_tests): New AC_SUBST.
12353 * configure: Regenerated.
12354 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12355 $(built-program-cmd) with $(test-program-cmd).
12356 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12357 (test_program_cmd): This.
12358 * elf/Makefile ($(objpfx)order.out): Run test with
12359 $(test-program-prefix).
12360 ($(objpfx)order2.out): Likewise.
12361 ($(objpfx)tst-initorder.out): Likewise.
12362 ($(objpfx)tst-initorder2.out): Likewise.
12363 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12364 $(test-program-cmd).
12365 ($(objpfx)tst-array1-static.out): Likewise.
12366 ($(objpfx)tst-array2.out): Likewise.
12367 ($(objpfx)tst-array3.out): Likewise.
12368 ($(objpfx)tst-array4.out): Likewise.
12369 ($(objpfx)tst-array5.out): Likewise.
12370 ($(objpfx)tst-array5-static.out): Likewise.
12371 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12372 $(test-program-cmd).
12373 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12374 $(run-program-prefix) with $(test-program-prefix).
12375 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12376 (test_program_prefix): This.
12377 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12378 $(run-program-prefix) with $(test-program-prefix).
12379 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12380 (test_program_prefix): This.
12381 * iconvdata/tst-tables.sh: Likewise.
12382 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12383 $(run-program-prefix) with $(test-program-prefix).
12384 ($(objpfx)tst-translit.out): Likewise.
12385 ($(objpfx)tst-gettext2.out): Likewise.
12386 ($(objpfx)tst-gettext4.out): Likewise.
12387 ($(objpfx)tst-gettext6.out): Likewise.
12388 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12389 (test_program_prefix): This.
12390 * intl/tst-gettext2.sh: Likewise.
12391 * intl/tst-gettext4.sh Likewise.
12392 * intl/tst-gettext6.sh: Likewise.
12393 * intl/tst-translit.sh: Likewise.
12394 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12395 with $(test-program-cmd).
12396 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12397 $(run-program-prefix) with $(test-program-prefix).
12398 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12399 (test_program_prefix): This.
12400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12401 $(run-program-prefix) with $(test-program-prefix).
12402 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12403 (test_program_prefix): This.
12404 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12405 * posix/Makefile ($(objpfx)globtest.out): Replace
12406 $(run-via-rtld-prefix) and $(test-wrapper) with
12407 $(test-program-prefix) and $(test-via-rtld-prefix).
12408 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12409 $(test-program-prefix).
12410 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12411 $(host-test-program-cmd).
12412 (tst-spawn-ARGS): Likewise.
12413 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12414 $(test-program-prefix).
12415 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12416 (test_via_rtld_prefix): This.
12417 (test_wrapper): Renamed to ...
12418 (test_program_prefix): This.
12419 (run_program_prefix): Replaced by test_program_prefix.
12420 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12421 (test_program_prefix): This.
12422 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12423 with $(host-test-program-cmd).
12424 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12425 $(run-program-prefix) with $(test-program-prefix).
12426 ($(objpfx)tst-printf.out): Likewise.
12427 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12428 $(test-program-cmd).
12429 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12430 (test_program_prefix): This.
12431 * stdio-common/tst-unbputc.sh: Likewise.
12432 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12433 $(run-program-prefix) with $(test-program-prefix).
12434 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12435 (test_program_prefix): This.
12436 * string/Makefile ($(objpfx)tst-svc.out): Replace
12437 $(built-program-cmd) with $(test-program-cmd).
12438
124392013-01-11 Andreas Jaeger <aj@suse.de>
12440
12441 [BZ #15003]
12442 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12443 value. Sync with Linux 3.7.
12444
124452013-01-10 David S. Miller <davem@davemloft.net>
12446
12447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12448 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12449 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12450
124512013-01-10 Roland McGrath <roland@hack.frob.com>
12452
12453 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12454 never set.
12455 * configure: Regenerated.
12456
124572013-01-10 David S. Miller <davem@davemloft.net>
12458
12459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12460 sparc V9 rather than using V8 code.
12461 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12462 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12463
124642013-01-10 Roland McGrath <roland@hack.frob.com>
12465
12466 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12467 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12468 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12469 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12470 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12471 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12472 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12473 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12474 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12475 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12476 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12477 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12478 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12479 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12480 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12481 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12482 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12483 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12484 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12485 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12486 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12487 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12488 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12489 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12490 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12491 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12492 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12493
124942013-01-10 David S. Miller <davem@davemloft.net>
12495
12496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12497
124982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 * posix/Makefile (tests-static): New variable.
12501 (tests): Add $(tests-static).
12502 (tst-exec-static-ARGS): New variable.
12503 (tst-spawn-static-ARGS): Likewise.
12504 * posix/tst-exec-static.c: New file.
12505 * posix/tst-spawn-static.c: Likewise.
12506 * posix/tst-exec.c: Support run directly.
12507 * posix/tst-spawn.c: Likewise.
12508
125092013-01-10 Joseph Myers <joseph@codesourcery.com>
12510
12511 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12512 long.
12513 * math/bits/mathcalls.h (llrint): Likewise.
12514 (llround): Likewise.
12515 * stdlib/stdlib.h (struct drand48_data): Likewise.
12516 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12517 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12523 (elf_greg_t): Likewise.
12524 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12525 (__jmp_buf): Likewise.
12526 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12527 definitions.
12528 (llrint): Likewise, for all definitions.
12529 (llrintl): Likewise.
12530
12531 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12532 Remove [__GNUC__] condition.
12533 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12534 condition to just [__USE_ISOC99].
12535 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12536
125372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 [BZ #14200]
12540 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12541 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12542 defined.
12543 (_POSIX_V6_ILP32_OFF32): Likewise.
12544 (_XBS5_ILP32_OFF32): Likewise.
12545 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12546 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12547
125482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12549
12550 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12551
12552 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12553 doubles __mpexp_twomm1. Adjust usage.
12554 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12555 Remove.
12556
125572013-01-10 Andreas Schwab <schwab@suse.de>
12558
12559 [BZ #14964]
12560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12561 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12562
125632013-01-09 David S. Miller <davem@davemloft.net>
12564
12565 [BZ #15003]
12566 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12567 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12568 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12569 TCP_FASTOPEN): Define.
12570 (tcp_repair_opt): New structure.
12571 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12572 enum values.
12573 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12574 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12575 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12576 (tcp_cookie_transactions): New structure.
12577
125782013-01-09 Anton Blanchard <anton@samba.org>
12579
12580 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12581 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12583 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12584
125852013-01-09 Joseph Myers <joseph@codesourcery.com>
12586
12587 * include/features.h (__USE_ANSI): Remove.
12588
125892013-01-09 Roland McGrath <roland@hack.frob.com>
12590
12591 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12592
12593 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12594
125952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12596
12597 * sysdeps/s390/fpu/libm-test-ulps: Update.
12598
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
12601 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12602 (__acr): Likewise.
12603 (__cpy): Likewise.
12604 (norm): Likewise.
12605 (denorm): Likewise.
12606 (__mp_dbl): Likewise.
12607 (__dbl_mp): Likewise.
12608 (add_magnitudes): Likewise.
12609 (sub_magnitudes): Likewise.
12610 (__add): Likewise.
12611 (__sub): Likewise.
12612 (__mul): Likewise.
12613 (__inv): Likewise.
12614 (__dvd): Likewise.
12615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12616 (__acr): Likewise.
12617 (__cpy): Likewise.
12618 (norm): Likewise.
12619 (denorm): Likewise.
12620 (__mp_dbl): Likewise.
12621 (__dbl_mp): Likewise.
12622 (add_magnitudes): Likewise.
12623 (sub_magnitudes): Likewise.
12624 (__add): Likewise.
12625 (__sub): Likewise.
12626 (__mul): Likewise.
12627 (__inv): Likewise.
12628 (__dvd): Likewise.
12629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12630 (__acr): Likewise.
12631 (__cpy): Likewise.
12632 (norm): Likewise.
12633 (denorm): Likewise.
12634 (__mp_dbl): Likewise.
12635 (__dbl_mp): Likewise.
12636 (add_magnitudes): Likewise.
12637 (sub_magnitudes): Likewise.
12638 (__add): Likewise.
12639 (__sub): Likewise.
12640 (__mul): Likewise.
12641 (__inv): Likewise.
12642 (__dvd): Likewise.
12643
126442013-01-08 Joseph Myers <joseph@codesourcery.com>
12645
12646 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12647 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12648 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12649 2 && __USE_EXTERN_INLINES]: Likewise.
12650
126512013-01-08 Andreas Jaeger <aj@suse.de>
12652
12653 [BZ# 14985]
12654 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12655 Remove.
12656 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12657 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12658
126592013-01-07 Anton Blanchard <anton@samba.org>
12660
12661 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12662 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12663 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12664 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12666 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12667 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12668 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12671 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12672 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12674 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12676 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12677 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12679 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12680 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12682 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12683 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12684 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12685 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12688 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12690 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12691 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12693 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12694 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12695 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12697 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12701 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12703 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12704
127052013-01-07 Joseph Myers <joseph@codesourcery.com>
12706
12707 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12708 (__MALLOC_PMT): Likewise.
12709 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12710 [__GNUC__], only on [_LIBC].
12711 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12712 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12713 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12714 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12715 forward declaration.
12716 (realloc_hook_ini): Likewise.
12717 (memalign_hook_ini): Likewise.
12718 (__libc_memalign): Do not use __MALLOC_PMT in variable
12719 declaration.
12720 (__libc_valloc): Likewise.
12721 (__libc_pvalloc): Likewise.
12722 (__libc_calloc): Likewise.
12723 (__posix_memalign): Likewise.
12724
12725 [BZ #14996]
12726 * math/s_casinh.c: Include <float.h>.
12727 (__casinh): Do not do computation with squaring and square root
12728 for large arguments.
12729 * math/s_casinhf.c: Include <float.h>.
12730 (__casinhf): Do not do computation with squaring and square root
12731 for large arguments.
12732 * math/s_casinhl.c: Include <float.h>.
12733 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12734 (__casinhl): Do not do computation with squaring and square root
12735 for large arguments.
12736 * math/libm-test.inc (casin_test): Add more tests.
12737 (casinh_test): Likewise.
12738 * sysdeps/i386/fpu/libm-test-ulps: Update.
12739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12740
127412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12742
12743 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12744 (__x86_64_raw_data_cache_size): Likewise.
12745 (__x86_64_data_cache_size_half): Likewise.
12746 (__x86_64_raw_data_cache_size_half): Likewise.
12747 (__x86_64_shared_cache_size): Likewise.
12748 (__x86_64_raw_shared_cache_size): Likewise.
12749 (__x86_64_shared_cache_size_half): Likewise.
12750 (__x86_64_raw_shared_cache_size_half): Likewise.
12751 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12752 to ...
12753 (__x86_data_cache_size): This.
12754 (__x86_64_raw_data_cache_size): Renamed to ...
12755 (__x86_raw_data_cache_size): This.
12756 (__x86_64_data_cache_size_half): Renamed to ...
12757 (__x86_data_cache_size_half): This.
12758 (__x86_64_raw_data_cache_size_half): Renamed to ...
12759 (__x86_raw_data_cache_size_half): This.
12760 (__x86_64_shared_cache_size): Renamed to ...
12761 (__x86_shared_cache_size): This.
12762 (__x86_64_raw_shared_cache_size): Renamed to ...
12763 (__x86_raw_shared_cache_size): This.
12764 (__x86_64_shared_cache_size_half): Renamed to ...
12765 (__x86_shared_cache_size_half): This.
12766 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12767 (__x86_raw_shared_cache_size_half): This.
12768 * sysdeps/x86_64/memcpy.S: Updated.
12769 * sysdeps/x86_64/memset.S: Likewise.
12770 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12773
127742013-01-04 David S. Miller <davem@davemloft.net>
12775
12776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12777
127782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12779
12780 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12781 1 to avoid redefinition warning.
12782 (__USE_GNU): Don't define.
12783 (init_signaling_nan): Protoize.
12784
12785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12786
127872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12788
12789 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12791 (__cpymn): Likewise.
12792 (norm): Remove commented code.
12793 (denorm): Likewise.
12794 (__mp_dbl): Likewise.
12795 (__inv): Likewise.
12796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12797 (__cpymn): Likewise.
12798 (norm): Remove commented code.
12799 (denorm): Likewise.
12800 (__mp_dbl): Likewise.
12801 (__inv): Likewise.
12802
12803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12804 mp_no value for 1.0 and 2.0.
12805 (norm): Use RADIXI instead of radixi.d.
12806 (denorm): Likewise.
12807 (__mul): Use 0.0 instead of zero.d.
12808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12809 mp_no value for 1.0 and 2.0.
12810 (norm): Use RADIXI instead of radixi.d.
12811 (denorm): Likewise.
12812 (__mul): Use 0.0 instead of zero.d.
12813
128142013-01-04 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #14994]
12817 * math/s_casinh.c (__casinh): Reduce finite argument to first
12818 quadrant then set signs of results at the end.
12819 * math/s_casinhf.c (__casinhf): Likewise.
12820 * math/s_casinhl.c (__casinhl): Likewise.
12821 * math/libm-test.inc (casin_test): Add more tests.
12822 (casinh_test): Likewise.
12823 * sysdeps/i386/fpu/libm-test-ulps: Update.
12824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825
128262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12827
12828 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12829
12830 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12831
12832 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12833 declarations.
12834 (denorm): Likewise.
12835 (__mp_dbl): Likewise.
12836 (__inv): Likewise.
12837
12838 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12839 and adjust the header comment.
12840
12841 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12842 variable name from declaration.
12843
128442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12847 Initialize COMMON_CPUID_INDEX_7 element.
12848 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12849 (CPUID_RTM): Likewise.
12850 (HAS_RTM): Likewise.
12851 (COMMON_CPUID_INDEX_7): New enum.
12852
128532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12854
12855 [BZ #14981]
12856 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12857 size is zero, record memory as freed.
12858
128592013-01-03 Andreas Jaeger <aj@suse.de>
12860
12861 * po/ia.po: Add new Interlingua translation.
12862
128632012-01-03 Allan McRae <allan@archlinux.org>
12864
12865 * locale/programs/localedef.c: Fix description of '--posix' flag.
12866
128672013-01-02 Joseph Myers <joseph@codesourcery.com>
12868
12869 * NEWS: Update dates in second copyright notice.
12870 * README: Update copyright dates in example.
12871 * manual/libc.texinfo: Update copyright dates.
12872 * scripts/test-installation.pl: Update copyright date in --version
12873 output.
12874
12875 * hurd/ctty-input.c: Fix copyright notice formatting.
12876 * hurd/ctty-output.c: Likewise.
12877 * hurd/dtable.c: Likewise.
12878 * hurd/hurd-raise.c: Likewise.
12879 * hurd/hurdprio.c: Likewise.
12880 * hurd/msgportdemux.c: Likewise.
12881 * misc/sys/file.h: Likewise.
12882 * misc/sys/ioctl.h: Likewise.
12883 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12884 * sysdeps/mach/hurd/chdir.c: Likewise.
12885 * sysdeps/mach/hurd/fchdir.c: Likewise.
12886 * sysdeps/mach/hurd/rename.c: Likewise.
12887 * sysdeps/mach/hurd/rmdir.c: Likewise.
12888 * sysdeps/mach/hurd/seekdir.c: Likewise.
12889 * sysdeps/mach/hurd/setsid.c: Likewise.
12890 * sysdeps/posix/wait3.c: Likewise.
12891
12892 * All files with FSF copyright notices: Update copyright dates
12893 using scripts/update-copyrights.
12894 * intl/plural.c: Regenerated.
12895 * locale/programs/charmap-kw.h: Likewise.
12896 * locale/programs/locfile-kw.h: Likewise.
12897
128982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12899
12900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12901 four values.
12902
12903 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12904 calculation loop and add branch prediction.
12905
12906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12907 check access beyond bounds of m1np.
12908
12909 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12910 MPTWO.
12911 (__inv): Remove local variable MPTWO to use the global
12912 constant.
12913 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12914 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12915 variable MPTWO.
12916 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12917 MP3HALFS static const.
12918
129192013-01-01 David S. Miller <davem@davemloft.net>
12920
12921 * po/ca.po: Update from translation team.
12922
129232013-01-01 Joseph Myers <joseph@codesourcery.com>
12924
12925 * scripts/update-copyrights: New file.
12926 * Makeconfig: Reformat copyright notice.
12927 * ctype/ctype.h: Likewise.
12928 * debug/swprintf_chk.c: Likewise.
12929 * elf/dl-cache.c: Likewise.
12930 * elf/dl-debug.c: Likewise.
12931 * elf/dl-object.c: Likewise.
12932 * grp/initgroups.c: Likewise.
12933 * hurd/Makefile: Likewise.
12934 * hurd/hurd/signal.h: Likewise.
12935 * hurd/hurdfault.c: Likewise.
12936 * hurd/hurdioctl.c: Likewise.
12937 * hurd/hurdlookup.c: Likewise.
12938 * hurd/intr-msg.c: Likewise.
12939 * iconv/gconv_open.c: Likewise.
12940 * libio/swprintf.c: Likewise.
12941 * locale/lc-ctype.c: Likewise.
12942 * locale/nl_langinfo.c: Likewise.
12943 * mach/Machrules: Likewise.
12944 * mach/Makefile: Likewise.
12945 * malloc/obstack.h: Likewise.
12946 * manual/Makefile: Likewise.
12947 * manual/tsort.awk: Likewise.
12948 * misc/bits/stab.def: Likewise.
12949 * nis/nis_print_group_entry.c: Likewise.
12950 * nis/nis_table.c: Likewise.
12951 * nis/nss_compat/compat-pwd.c: Likewise.
12952 * nis/nss_compat/compat-spwd.c: Likewise.
12953 * po/Makefile: Likewise.
12954 * posix/fnmatch.c: Likewise.
12955 * posix/regex.h: Likewise.
12956 * resolv/Makefile: Likewise.
12957 * resolv/nss_dns/dns-network.c: Likewise.
12958 * resolv/res_hconf.c: Likewise.
12959 * scripts/gen-sorted.awk: Likewise.
12960 * soft-fp/soft-fp.h: Likewise.
12961 * stdio-common/printf.h: Likewise.
12962 * stdlib/monetary.h: Likewise.
12963 * stdlib/random.c: Likewise.
12964 * stdlib/random_r.c: Likewise.
12965 * sysdeps/generic/Makefile: Likewise.
12966 * sysdeps/gnu/Makefile: Likewise.
12967 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12977 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12978 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12979 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12980 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12981 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12982 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12983 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12995 * sysdeps/mach/hurd/errnos.awk: Likewise.
12996 * sysdeps/mach/hurd/fork.c: Likewise.
12997 * sysdeps/mach/hurd/getcwd.c: Likewise.
12998 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12999 * sysdeps/mach/hurd/mmap.c: Likewise.
13000 * sysdeps/mach/hurd/utimes.c: Likewise.
13001 * sysdeps/mach/hurd/xmknod.c: Likewise.
13002 * sysdeps/posix/profil.c: Likewise.
13003 * sysdeps/posix/readdir_r.c: Likewise.
13004 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13005 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13006 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13011 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13013 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13014 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13015 * sysdeps/pthread/lio_listio.c: Likewise.
13016 * sysdeps/sparc/dl-procinfo.h: Likewise.
13017 * sysdeps/unix/i386/sysdep.S: Likewise.
13018 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13019 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13020 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13021 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13023 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13024 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13025 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13026 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13027 * sysdeps/wordsize-32/divdi3.c: Likewise.
13028 * time/sys/time.h: Likewise.
13029 * wcsmbs/Makefile: Likewise.
13030
130312013-01-01 David S. Miller <davem@davemloft.net>
13032
13033 * po/fr.po: Update from translation team.
13034
13035 * catgets/gencat.c: Update copyright year.
13036 * csu/version.c: Likewise.
13037 * debug/catchsegv.sh: Likewise.
13038 * debug/pcprofiledump.c: Likewise.
13039 * debug/xtrace.sh: Likewise.
13040 * elf/ldconfig.c: Likewise.
13041 * elf/ldd.bash.in: Likewise.
13042 * elf/pldd.c: Likewise.
13043 * elf/sotruss.ksh: Likewise.
13044 * elf/sprof.c: Likewise.
13045 * iconv/iconv_prog.c: Likewise.
13046 * iconv/iconvconfig.c: Likewise.
13047 * locale/programs/locale.c: Likewise.
13048 * locale/programs/localedef.c: Likewise.
13049 * login/programs/pt_chown.c: Likewise.
13050 * malloc/memusage.sh: Likewise.
13051 * malloc/memusagestat.c: Likewise.
13052 * malloc/mtrace.pl: Likewise.
13053 * nscd/nscd.c: Likewise.
13054 * nss/getent.c: Likewise.
13055 * nss/makedb.c: Likewise.
13056 * posix/getconf.c: Likewise.
13057
130582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13059
13060 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13061 numbers.
13062
130632012-12-30 Mike Frysinger <vapier@gentoo.org>
13064
13065 * math/bits/mathcalls.h (modf): Use __nonnull.
13066
130672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13068
13069 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13070 (split): Use macro CN instead of the bare value.
13071 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13072 could be used.
13073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13074 instead of the bare value.
13075 (power1): Likewise.
13076
130772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13078
13079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13080 __ATAN_TWOM.
13081 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13082
13083 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13084 their values.
13085 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13087 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13088 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13089
130902012-12-28 Andreas Jaeger <aj@suse.de>
13091
13092 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13093 values are from Linux 3.7.
13094
13095 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13096 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13097
130982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13099
13100 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13101 TRUE case.
13102
13103 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13104 (norm): Likewise.
13105 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13106 variables with preprocessor constants.
13107 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13108 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13109 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13110
131112012-12-27 Bruno Haible <bruno@clisp.org>
13112
13113 [BZ #14317]
13114 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13115 only if needed.
13116
131172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13118
13119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13120 and use variable directly.
13121 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13122
13123 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13124 MPONE.
13125 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13127 variable MPONE.
13128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13130 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13131 include directive. Remove local variable MPONE.
13132 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13133 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13134 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13135
131362012-12-25 David S. Miller <davem@davemloft.net>
13137
13138 * version.h (RELEASE): Set to "development".
13139 (VERSION): Set to "2.17.90".
13140 * NEWS: Add 2.18 section.
13141
131422012-12-21 David S. Miller <davem@davemloft.net>
13143
13144 * po/hr.po: Update from translation team.
13145
131462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13147
13148 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13149
131502012-12-19 Steve Ellcey <sellcey@mips.com>
13151
13152 * NEWS: Mention new memcpy for MIPS.
13153
131542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13155
13156 * manual/contrib.texi (Contributors): Spelling correction.
13157
131582012-12-15 David S. Miller <davem@davemloft.net>
13159
13160 * po/ru.po: Update from translation team.
13161
131622012-12-13 David S. Miller <davem@davemloft.net>
13163
13164 * NEWS: Mention IFUNC testsuite enhancements.
13165
13166 * po/pl.po: Update from translation team.
13167 * po/bg.po: Likewise.
13168
13169 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13170 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13171
131722012-12-11 David S. Miller <davem@davemloft.net>
13173
13174 * po/sv.po: Update from translation team.
13175
13176 * po/vi.po: Update from translation team.
13177
13178 * po/cs.po: Update from translation team.
13179
13180 * po/de.po: Update from translation team.
13181 * po/eo.po: Likewise.
13182 * po/nl.po: Likewise.
13183
131842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13185
13186 [BZ #14246]
13187 * manual/argp.texi (Argp Helper Functions): Move node to follow
13188 Argp Parsing State.
13189
13190 [BZ #14872]
13191 * manual/conf.texi (Limits on File System Capacity): Mention if
13192 terminating null is included in the max size.
13193
131942012-12-10 Andreas Jaeger <aj@suse.de>
13195
13196 * po/cs.po: Update from translation team.
13197
131982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13199
13200 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13201 void pointer and cast to uintptr_t.
13202 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13203 path.
13204 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13205 * sysdeps/s390/s390-64/memset.S: Likewise.
13206
132072012-12-08 Benno Schulenberg <bensberg@justemail.net>
13208
13209 [BZ #14833]
13210 * menual/message.texi (Message Translation): Fix typos.
13211 (Helper programs for gettext): Likewise.
13212
132132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13214
13215 [BZ #14898]
13216 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13217 Change to -1.
13218
132192012-12-07 David S. Miller <davem@davemloft.net>
13220
13221 * po/libc.pot: Update.
13222
132232012-12-07 Richard Henderson <rth@redhat.com>
13224
13225 [BZ #10114]
13226 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13227 normal/normal case to before the switch.
13228 (_FP_DIV): Likewise.
13229
132302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13231 Mike Frysinger <vapier@gentoo.org>
13232
13233 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13234 check for __NR_fadvise64_64.
13235
132362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13237
13238 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13239 0, not just to plain "0" as a statement.
13240 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13241 with cw.
13242
132432012-12-06 Joseph Myers <joseph@codesourcery.com>
13244
13245 * NEWS: Use sourceware.org in Bugzilla URL.
13246
132472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13248
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13250 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13251
13252 * stdio-common/tst-put-error.c (do_test): Add newline to the
13253 padded test to ensure flush.
13254
132552012-12-05 Jeff Law <law@redhat.com>
13256
13257 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13258
132592012-12-05 Joseph Myers <joseph@codesourcery.com>
13260
13261 * README: Don't refer to ports add-on as distributed separately.
13262 Mention AArch64 in list of systems supported in the ports add-on.
13263
13264 * LICENSES: Add more non-FSF copyright and license notices.
13265
13266 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13267 ((unused)).
13268
13269 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13270
13271 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13272 10000 as width of padded output.
13273
132742012-12-04 Joseph Myers <joseph@codesourcery.com>
13275
13276 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13277
13278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13279 variable LX with __attribute__ ((unused)).
13280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13281 Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13285 with __attribute__ ((unused)).
13286
132872012-12-04 David S. Miller <davem@abraco.davemloft.net>
13288
13289 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13290
132912012-12-04 Joseph Myers <joseph@codesourcery.com>
13292
13293 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13294 (CFLAGS-nldbl-acos.c): New variable.
13295 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13296 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13297 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13298 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13299 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13300 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13301 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13302 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13303 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13304 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13305 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13306 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13307 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13308 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13309 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13310 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13311 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13312 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13313 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13314 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13315 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13316 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13317 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13318 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13319 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13320 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13321 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13322 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13323 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13324 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13325 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13326 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13327 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13328 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13329 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13330 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13331 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13332 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13333 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13334 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13335 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13336 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13337 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13338 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13339 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13340 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13341 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13342 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13343 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13344 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13345 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13346 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13347 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13348 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13349 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13350 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13351 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13352 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13353 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13354 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13355 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13356 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13357 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13358 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13359 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13360 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13361 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13362 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13363 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13364 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13365 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13366 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13367 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13368 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13369 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13370 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13371 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13372 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13373 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13374 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13375 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13376 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13377 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13378 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13379 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13380 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13381 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13382 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13383 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13384 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13385 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13386 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13387 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13388 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13389 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13390 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13391 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13392
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13394 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13395
13396 [BZ #14914]
13397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13398 whole low double instead of just low 47 bits when splitting values
13399 into two parts.
13400
134012012-12-03 Allan McRae <allan@archlinux.org>
13402
13403 * manual/stdio.texi (Predefined Printf Handlers): Remove
13404 @hsep and @vsep usage.
13405
134062012-12-03 Mike Frysinger <vapier@gentoo.org>
13407
13408 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13409 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13410
134112012-12-03 Jeff Law <law@redhat.com>
13412
13413 * time/sys/time.h (settimeofday): Do not mark TV argument
13414 as __nonnull.
13415
134162012-12-01 Mike Frysinger <vapier@gentoo.org>
13417
13418 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13419 when currently writing and seek to current position when not.
13420 * libio/Makefile (tests): Remove bug-fclose1.
13421 * libio/bug-fclose1.c: Delete.
13422
134232012-12-01 Joseph Myers <joseph@codesourcery.com>
13424
13425 * manual/arith.texi (feenableexcept): Fix typo.
13426 (fedisableexcept): Likewise.
13427
134282012-11-30 Roland McGrath <roland@hack.frob.com>
13429
13430 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13431 second, differently-typed declaration, rather than a cast.
13432
134332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13434
13435 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13436 * include/rpc/svc.h: ... here.
13437
134382012-11-30 Aurelien Jarno <aurel32@debian.org>
13439
13440 [BZ #13013]
13441 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13442 depending n and resplen2 to catch cases where answer
13443 equals answerp2.
13444
134452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13446
13447 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13448 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13449
134502012-11-29 Mike Frysinger <vapier@gentoo.org>
13451
13452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13453
134542012-11-29 Roland McGrath <roland@hack.frob.com>
13455
13456 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13457
134582012-11-28 Jeff Law <law@redhat.com>
13459
13460 [BZ #13761]
13461 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13462 dataset_temporary. Track alloca usage into alloca_used.
13463 If dataset is large allocate and release it via malloc/free.
13464
134652012-06-04 Florian Weimer <fweimer@redhat.com>
13466
13467 [BZ #14197]
13468 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13469
134702012-11-28 David S. Miller <davem@davemloft.net>
13471
13472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13473
134742012-11-28 Joseph Myers <joseph@codesourcery.com>
13475
13476 [BZ #14803]
13477 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13478 of pi/2 rounded to nearest to 64 bits.
13479 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13480 nearest to 64 bits.
13481 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13482 bits.
13483
134842012-11-28 Jeff Law <law@redhat.com>
13485 Martin Osvald <mosvald@redhat.com>
13486
13487 [BZ #14889]
13488 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13489 * sunrpc/svc.c: Include time.h.
13490 (__svc_accept_failed): New function.
13491 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13492 any reason other than EINTR, call __svc_accept_failed.
13493 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13494 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13495
134962012-11-28 Andreas Schwab <schwab@suse.de>
13497
13498 * scripts/abilist.awk: Also handle indirect functions in .opd
13499 section.
13500
135012012-11-28 Joseph Myers <joseph@codesourcery.com>
13502
13503 [BZ #13881]
13504 * sysdeps/x86/fpu/powl_helper.c: New file.
13505 * sysdeps/x86/fpu/Makefile: Likewise.
13506 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13507 (p3): New object.
13508 (__ieee754_powl): Use __powl_helper for finite arguments except
13509 integer exponents below 8.
13510 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13511 (p3): New object.
13512 (__ieee754_powl): Use __powl_helper for finite arguments except
13513 integer exponents below 8.
13514 * math/libm-test.inc (pow_test): Add more tests and enable some
13515 previously disabled tests.
13516 * sysdeps/i386/fpu/libm-test-ulps: Update.
13517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518
135192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13520 Carlos O'Donell <carlos_odonell@mentor.com>
13521
13522 * nss/makedb.c (is_prime): Assert that input is odd and greater
13523 than 4. Note that fact in a comment too.
13524 (next_prime): Add 4 to input.
13525
135262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13527
13528 [BZ #11741]
13529 * libio/Makefile (tests): Add test case tst-fwrite-error.
13530 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13531 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13532 * libio/tst-fwrite-error.c: New test case.
13533
135342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13535
13536 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13537 before casting to void *.
13538 * include/libc-internal.h (__pointer_type): New macro.
13539 (__integer_if_pointer_type_sub): Likewise.
13540 (__integer_if_pointer_type): Likewise.
13541 (cast_to_integer): Likewise.
13542 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13543 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13544 before casting to atomic64_t.
13545 (atomic_exchange_acq): Likewise.
13546 (__arch_exchange_and_add_body): Likewise.
13547 (__arch_add_body): Likewise.
13548 (atomic_add_negative): Likewise.
13549 (atomic_add_zero): Likewise.
13550
135512012-11-26 Joseph Myers <joseph@codesourcery.com>
13552
13553 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13554 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13555 (add_fdes): Likewise.
13556 (linear_search_fdes): Likewise.
13557 (binary_search_unencoded_fdes): Likewise.
13558
135592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13560
13561 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13562
135632012-11-24 Adam Conrad <adconrad@0c3.net>
13564
13565 * configure.in: Autodetect C++ header directories.
13566 * configure: Regenerated.
13567
135682012-11-23 Mike Frysinger <vapier@gentoo.org>
13569
13570 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13571
135722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13573
13574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13575
135762012-11-22 Joseph Myers <joseph@codesourcery.com>
13577
13578 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13579 LDBL_MANT_DIG == 106]: Disable some tests.
13580 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13581 Likewise.
13582 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13583 Likewise.
13584
13585 [BZ #14871]
13586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13587 input for small inputs. Return +/- pi/2 for large inputs.
13588 * math/libm-test.inc (atan_test): Add more tests.
13589
13590 * sysdeps/generic/unwind-dw2-fde-glibc.c
13591 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13592 __attribute__ ((unused)).
13593
13594 [BZ #14645]
13595 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13596 x * y if x and y are nonzero and z is zero.
13597
13598 [BZ #14811]
13599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13600 nonzero exponents with absolute value below 0x1p-117 to +/-
13601 0x1p-117.
13602
13603 [BZ #14869]
13604 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13605 up arguments below 2**-450, not just those below 2**-500.
13606 * math/libm-test.inc (hypot_test): Add another test.
13607
13608 [BZ #14868]
13609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13610 Return a+b for ratio over 2**120, not 2**60.
13611 * math/libm-test.inc (hypot_test): Add another test.
13612
13613 * math/libm-test.inc (clog_test): Use
13614 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13615 (clog10_test): Likewise.
13616
13617 [BZ #6778]
13618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13619
136202012-11-22 Andreas Schwab <schwab@suse.de>
13621
13622 * sysdeps/i386/fpu/libm-test-ulps: Update.
13623
136242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13625
13626 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13627 printf output with newline.
13628
136292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 [BZ #14865]
13632 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13633 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13634 -z nodlopen, -z initfirst and -z execstack support.
13635 * configure: Regenerated.
13636
13637 * elf/elf.h (DF_1_NODIRECT): New macro.
13638 (DF_1_IGNMULDEF): Likewise.
13639 (DF_1_NOKSYMS): Likewise.
13640 (DF_1_NOHDR): Likewise.
13641 (DF_1_EDITED): Likewise.
13642 (DF_1_NORELOC): Likewise.
13643 (DF_1_SYMINTPOSE): Likewise.
13644 (DF_1_GLOBAUDIT): Likewise.
13645 (DF_1_SINGLETON): Likewise.
13646 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13647 DT_1_SUPPORTED_MASK bits.
13648 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13649
136502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13651
13652 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13653
136542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13655
13656 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13657 macro.
13658
13659 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13660 (sendmmsg): Move declarations...
13661 * socket/sys/socket.h: ... here.
13662 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13663 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13664 include it from...
13665 * socket/recvmmsg.c: ... this new file.
13666 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13667 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13668 definition of __sendmmsg hidden.
13669 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13670 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13671 Move ENOSYS stub into and include it from...
13672 * socket/sendmmsg.c: ... this new file.
13673 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13674 (sysdep_routines): Move recvmmsg and sendmmsg...
13675 * socket/Makefile (routines): ... here.
13676 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13677 (GLIBC_PRIVATE): Add __sendmmsg.
13678 * include/sys/socket.h (__sendmmsg): Add declarations.
13679 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13680 sendmmsg.
13681
136822012-11-20 Joseph Myers <joseph@codesourcery.com>
13683
13684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13685 variable I1 with __attribute__ ((unused)).
13686 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13687
136882012-11-19 Joseph Myers <joseph@codesourcery.com>
13689
13690 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13691 DUMMY variables with __attribute__ ((unused)).
13692
13693 * bits/byteswap.h: Include <bits/types.h>.
13694 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13695
136962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13697
13698 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13699 string_t. Do not manually set errno.
13700 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13701 length with __strnlen. Make sure to both set errno and return it on
13702 failure.
13703
137042012-11-19 David S. Miller <davem@davemloft.net>
13705
13706 With help from Joseph Myers.
13707 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13708 very large arguments properly.
13709 * math/libm-test.inc (atan_test): New tests.
13710 (atan2_test): New tests.
13711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13713
137142012-11-19 Joseph Myers <joseph@codesourcery.com>
13715
13716 [BZ #14856]
13717 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13718 Define to 3.
13719
13720 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13721 [POSIX] (EADDRNOTAVAIL): Likewise.
13722 [POSIX] (EAFNOSUPPORT): Likewise.
13723 [POSIX] (EALREADY): Likewise.
13724 [POSIX] (ECONNABORTED): Likewise.
13725 [POSIX] (ECONNREFUSED): Likewise.
13726 [POSIX] (ECONNRESET): Likewise.
13727 [POSIX] (EDESTADDRREQ): Likewise.
13728 [POSIX] (EDQUOT): Likewise.
13729 [POSIX] (EHOSTUNREACH): Likewise.
13730 [POSIX] (EIDRM): Likewise.
13731 [POSIX] (EISCONN): Likewise.
13732 [POSIX] (ELOOP): Likewise.
13733 [POSIX] (EMULTIHOP): Likewise.
13734 [POSIX] (ENETDOWN): Likewise.
13735 [POSIX] (ENETUNREACH): Likewise.
13736 [POSIX] (ENOBUFS): Likewise.
13737 [POSIX] (ENODATA): Likewise.
13738 [POSIX] (ENOLINK): Likewise.
13739 [POSIX] (ENOMSG): Likewise.
13740 [POSIX] (ENOPROTOOPT): Likewise.
13741 [POSIX] (ENOSR): Likewise.
13742 [POSIX] (ENOSTR): Likewise.
13743 [POSIX] (ENOTCONN): Likewise.
13744 [POSIX] (ENOTSOCK): Likewise.
13745 [POSIX] (EOPNOTSUPP): Likewise.
13746 [POSIX] (EOVERFLOW): Likewise.
13747 [POSIX] (EPROTO): Likewise.
13748 [POSIX] (EPROTONOSUPPORT): Likewise.
13749 [POSIX] (EPROTOTYPE): Likewise.
13750 [POSIX] (ESTALE): Likewise.
13751 [POSIX] (ETIME): Likewise.
13752 [POSIX] (ETXTBSY): Likewise.
13753 [POSIX] (EWOULDBLOCK): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13755 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13756 [POSIX] (SEEK_CUR): Likewise.
13757 [POSIX] (SEEK_END): Likewise.
13758 [POSIX || UNIX98] (mode_t): Do not require.
13759 [POSIX] (off_t): Likewise.
13760 [POSIX] (pid_t): Likewise.
13761 [POSIX] (sys/stat.h): Do not allow header.
13762 [POSIX] (unistd.h): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13764 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13766 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13767 require.
13768 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13769 sigevent): Specify elements.
13770 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13771 entry.
13772 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13773 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13774
13775 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13776 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13777 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13778 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13779 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13780 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13781 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13782 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13784 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13785 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13786 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13787 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13789 Likewise.
13790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13791 Likewise.
13792 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13793 Likewise.
13794 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13795 Likewise.
13796 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13797 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13798 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13799 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13800 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13801 Specify lower bound on value.
13802 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13803 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13804 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13805 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13806 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13807 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13808 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13809 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13810 value.
13811 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13812 as optional.
13813 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13814 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13815 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13816 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13817 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13818 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13819 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13820 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13821 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13822 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13823 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13824 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13825 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13826 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13827 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13828 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13829 entry.
13830 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13831 optional.
13832 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13833 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13834 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13835 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13836 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13837 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13838 Likewise.
13839 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13840 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13841 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13842 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13843 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13844 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13845 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13846 as optional.
13847 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13848 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13849 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13850 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13851 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13852 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13853 specify as optional.
13854 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13855 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13856 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13857 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13858 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13859 [XPG3] (NL_LANGMAX): Likewise.
13860 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13861 [POSIX || XPG3] (NL_NMAX): Likewise.
13862 [POSIX || XPG3] (NL_SETMAX): Likewise.
13863 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13864 [XPG3] (NZERO): Likewise.
13865 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13866 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13867 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13868 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13869 (REG_ERANGE): Expect.
13870 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13871 optional-constant.
13872 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13873 Use (void) in prototype.
13874 [POSIX] (*_t): Allow.
13875 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13876 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13877 (WRDE_BADVAL): Expect.
13878
13879 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13880 expect.
13881 [XPG3 || XPG4] (O_RSYNC): Likewise.
13882 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13883 Likewise.
13884 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13885 [XPG3 || XPG4] (sigqueue): Likewise.
13886 [XPG3 || XPG4] (sigtimedwait): Likewise.
13887 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13888 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13889 [XPG3 || XPG4] (vsnprintf): Likewise.
13890 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13891 Likewise.
13892 [XPG3 || XPG4] (blksize_t): Likewise.
13893 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13894 Likewise.
13895 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13896 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13897 [XPG3 || XPG4] (struct itimerspec): Likewise.
13898 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13899 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13900 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13901 [XPG3 || XPG4] (clockid_t): Likewise.
13902 [XPG3 || XPG4] (timer_t): Likewise.
13903 [XPG3 || XPG4] (clock_getres): Likewise.
13904 [XPG3 || XPG4] (clock_gettime): Likewise.
13905 [XPG3 || XPG4] (clock_settime): Likewise.
13906 [XPG3 || XPG4] (nanosleep): Likewise.
13907 [XPG3 || XPG4] (timer_create): Likewise.
13908 [XPG3 || XPG4] (timer_delete): Likewise.
13909 [XPG3 || XPG4] (timer_gettime): Likewise.
13910 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13911 [XPG3 || XPG4] (timer_settime): Likewise.
13912 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13913 [XPG3 || XPG4] (getlogin_r): Likewise.
13914 [XPG3 || XPG4] (pread): Likewise.
13915 [XPG3 || XPG4] (pthread_atfork): Likewise.
13916 [XPG3 || XPG4] (pwrite): Likewise.
13917
13918 [BZ #14835]
13919 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13920 <bits/siginfo.h>.
13921
139222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13923
13924 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13925 finalizing MALLSTREAM.
13926
13927 * sysdeps/mach/hurd/syncfs.c: New file.
13928
139292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13930
13931 [BZ #14719]
13932 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13933 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13934 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13935 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13936 (_nss_dns_gethostbyname4_r): Likewise.
13937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13938 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13939
139402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13941
13942 [BZ #13763]
13943 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13944
139452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13946
13947 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13948 * elf/cache.c (print_entry): Print ",AArch64" for
13949 FLAG_AARCH64_LIB64
13950
13951 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13952 * elf/cache.c (print_entry): Print ",hard-float" for
13953 FLAG_ARM_LIBHF.
13954
139552012-11-18 David S. Miller <davem@davemloft.net>
13956
13957 With help from Joseph Myers.
13958 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13959 cutoff to 2**-13.
13960 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13961 cutoff to 2**-25.
13962 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13963 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13964 small.
13965 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13966 * math/libm-test.inc (y0_test): New tests.
13967 (y1_test): New tests.
13968 * sysdeps/i386/fpu/libm-test-ulps: Update.
13969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13971
139722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13973
13974 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13975 64-bit targets.
13976 * configure: Regenerated.
13977
139782012-11-17 David S. Miller <davem@davemloft.net>
13979
13980 [BZ #14811]
13981 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13982 nonzero exponents with absolute value below 0x1p-128 to +/-
13983 0x1p-128.
13984
139852012-11-17 Joseph Myers <joseph@codesourcery.com>
13986
13987 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13988
13989 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13990
13991 * posix/getconf-speclist.c: New file.
13992 * posix/posix-envs.def: Likewise.
13993 * posix/confstr.c (START_ENV_GROUP): New macro.
13994 (END_ENV_GROUP): Likewise.
13995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13996 (KNOWN_PRESENT_ENV_STRING): Likewise.
13997 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13998 (UNKNOWN_ENVIRONMENT): Likewise.
13999 (confstr): Include posix-envs.def instead of handling
14000 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14001 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14002 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14003 (END_ENV_GROUP): Likewise.
14004 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14005 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14006 (UNKNOWN_ENVIRONMENT): Likewise.
14007 (__sysconf): Include posix-envs.def instead of handling associated
14008 cases directly here.
14009 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14010 preprocessing getconf-speclist.c rather than running getconf or
14011 generating empty file.
14012
140132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14014
14015 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14016
140172012-11-16 Andrej Lajovic <natrij@gmail.com>
14018
14019 [BZ #14672]
14020 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14021
140222012-11-16 David S. Miller <davem@davemloft.net>
14023
14024 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14025 smaller than LDBL_EPSILON/2.0L, just return xm1.
14026
140272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14028
14029 * elf/tst-array1.c (init): Set constructor priority to 1000.
14030 (fini): Set destructor priority to 1000.
14031 * elf/tst-array2dep.c: Likewise.
14032
140332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14034
14035 [BZ #11741]
14036 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14037 (_IO_new_file_xsputn): Also return EOF if none of the input
14038 data was written when overflow failed.
14039 * libio/iopadn.c (_IO_padn): Likewise.
14040 * libio/iowpadn.c (_IO_wpadn): Likewise.
14041 * stdio-common/tst-put-error.c: Add copyright notice.
14042 (do_test): Add case for printing padded string.
14043 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14044 _IO_padn returned error.
14045 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14046 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14047 return EOF.
14048
140492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14050
14051 * libio/libioP.h: Add comment note that the references to C++
14052 bits are now obsolete.
14053
140542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14055
14056 * math/libm-test.inc (check_complex): Use asprintf.
14057
140582012-11-14 Joseph Myers <joseph@codesourcery.com>
14059
14060 * debug/pcprofiledump.c (print_version): Update copyright year.
14061 * malloc/memusagestat.c (print_version): Likewise.
14062
140632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14064
14065 [BZ #14831]
14066 * elf/Makefile (tests): Add tst-audit8.
14067 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14068 ($(objpfx)tst-audit8.out): New target.
14069 (tst-audit8-ENV): New variable.
14070 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14071 audit if l_reloc_result is NULL.
14072 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14073 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14074 * elf/tst-audit8.c: New file.
14075
140762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14077
14078 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14079 * misc/Makefile (CFLAGS-select.c): Define.
14080 * posix/Makefile (CFLAGS-pause.c): Define.
14081
140822012-11-13 David S. Miller <davem@davemloft.net>
14083
14084 * crypt/Makefile: Move test targets after toplevel Rules
14085 inclusion. Grab any necessary sysdep routines when linking.
14086 * crypt/md5.c (md5_process_block): Remove define, we will always
14087 name it __md5_process_block.
14088 (md5_finish_ctx): Update md5_process_block call.
14089 (md5_stream): Likewise.
14090 (md5_process_bytes): Likewise.
14091 (md5_process_block): Rename to __md5_process_block and move to ...
14092 * crypt/md5-block.c: ... here.
14093 * crypt/sha256.c (sha256_process_block): Move to ...
14094 * crypt/sha256-block.c: ... here.
14095 * crypt/sha512.c (sha512_process_block): Move to ...
14096 * crypt/sha512-block.c: ... here.
14097 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14098 path.
14099 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14100 * sysdeps/sparc/sparc64/multiarch/Makefile
14101 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14102 crypt subdir.
14103 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14104 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14105 multiarch changes.
14106 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14107 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14108 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14109 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14110 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14111 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14112 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14113 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14114 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14115 file.
14116 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14117 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14118 file.
14119 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14120
141212012-11-13 Joseph Myers <joseph@codesourcery.com>
14122
14123 * timezone/tzselect.ksh: Update from tzcode git revision
14124 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14125 * timezone/zdump.c: Likewise.
14126 * timezone/zic.c: Likewise.
14127 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14128 in TZVERSION setting, not $(PKGVERSION).
14129 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14130 REPORT_BUGS_TO settings.
14131
14132 [BZ #14838]
14133 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14134 macro.
14135
141362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14137
14138 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14139 detection to immediately after _FP_ROUND().
14140 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14141 bits are 0.
14142
141432012-11-11 David S. Miller <davem@davemloft.net>
14144
14145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14146 inttypes.h
14147 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14148 __close rather than their public counterparts.
14149
141502012-11-10 Joseph Myers <joseph@codesourcery.com>
14151
14152 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14153 file.
14154 [UNIX98] (sem_timedwait): Do not expect.
14155 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14156 [XPG4 || UNIX98] (sockatmark): Do not expect.
14157 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14158 (clock_getcpuclockid): Do not expect.
14159 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14160 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14161 Do not expect.
14162 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14163 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14164 [UNIX98] (vwscanf): Likewise.
14165 [UNIX98] (vswscanf): Likewise.
14166
141672012-11-09 Joseph Myers <joseph@codesourcery.com>
14168
14169 * timezone/version.h: Remove file.
14170 * timezone/README: Do not refer to version.h.
14171 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14172 $(objpfx)version.h.
14173 ($(objpfx)zdump.o): Likewise.
14174 ($(objpfx)version.h): New target.
14175
14176 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14177 2012i.
14178 * timezone/README: Don't mention modification to tzselect.ksh.
14179 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14180 work on unmodified tzselect.ksh. Substitute version numbers in
14181 tzselect.ksh.
14182
14183 * Makefile (format-me): Remove.
14184 (INSTALL): Adjust indentation. Use commands directly instead of
14185 using $(format-me).
14186
14187 * aclocal.m4 (ACX_PKGVERSION): New macro.
14188 (ACX_BUGURL): Likewise.
14189 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14190 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14191 (REPORT_BUGS_TO): Likewise.
14192 * configure: Regenerated.
14193 * config.h.in (PKGVERSION): New macro.
14194 (REPORT_BUGS_TO): Likewise.
14195 * config.make.in (PKGVERSION): New variable.
14196 (PKGVERSION_TEXI): Likewise.
14197 (REPORT_BUGS_TO): Likewise.
14198 (REPORT_BUGS_TEXI): Likewise.
14199 * Makefile (format-me): Use -I$(common-objpfx)manual.
14200 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14201 ($(common-objpfx)manual/%): New target.
14202 (manual/%): Remove target.
14203 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14204 (print_version): Use PKGVERSION.
14205 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14206 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14207 and REPORT_BUGS_TO.
14208 ($(objpfx)xtrace): Likewise.
14209 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14210 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14211 (print_version): Use PKGVERSION.
14212 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14213 (do_version): Use PKGVERSION.
14214 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14215 REPORT_BUGS_TO.
14216 (common-ldd-rewrite): Likewise.
14217 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14218 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14219 (print_version): Use PKGVERSION.
14220 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14221 * elf/pldd.c (argp_program_bug_address): Remove variable.
14222 (more_help): New function.
14223 (argp): Use more_help.
14224 (print_version): Use PKGVERSION.
14225 * elf/sln.c (main): Use PKGVERSION.
14226 (usage): Use REPORT_BUGS_TO.
14227 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14228 (top level): Use PKGVERSION.
14229 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14230 (print_version): Use PKGVERSION.
14231 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14232 (print_version): Use PKGVERSION.
14233 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14234 (print_version): Use PKGVERSION.
14235 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14236 (print_version): Use PKGVERSION.
14237 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14238 (print_version): Use PKGVERSION.
14239 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14240 (print_version): Use PKGVERSION.
14241 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14242 and BUGURL.
14243 ($(objpfx)memusage): Likewise.
14244 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14245 (do_version): Use PKGVERSION.
14246 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14247 (print_version): Use PKGVERSION.
14248 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14249 ($PKGVERSION): New variable.
14250 ($REPORT_BUGS_TO): Likewise.
14251 (usage): Use $REPORT_BUGS_TO.
14252 (top level): Use $PKGVERSION.
14253 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14254 ($(objpfx)pkgvers.texi): New rule.
14255 ($(objpfx)stamp-pkgvers): Likewise.
14256 * manual/install.texi: Include pkgvers.texi.
14257 (--with-pkgversion): Document new configure option.
14258 (--with-bugurl): Likewise.
14259 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14260 than necessarily for this particular distribution. Use
14261 REPORT_BUGS_TO for where to report bugs.
14262 * INSTALL: Regenerated.
14263 * manual/libc.texinfo: Include pkgvers.texi.
14264 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14265 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14266 (print_version): Use PKGVERSION.
14267 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14268 (print_version): Use PKGVERSION.
14269 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14270 (print_version): Use PKGVERSION.
14271 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14272 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14273 macro.
14274 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14275 (print_version): Use PKGVERSION.
14276 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14277 (print_version): Use PKGVERSION.
14278 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14279 and PKGVERSION.
14280
14281 * timezone/checktab.awk: Update from tzcode 2012i.
14282 * timezone/ialloc.c: Likewise.
14283 * timezone/private.h: Likewise.
14284 * timezone/scheck.c: Likewise.
14285 * timezone/tzfile.h: Likewise.
14286 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14287 (TZVERSION): Hardcode tzcode version number.
14288 * timezone/zdump.c: Update from tzcode 2012i.
14289 * timezone/zic.c: Likewise.
14290 * timezone/version.h: New file.
14291 * timezone/README: Describe version.h. Update upstream location.
14292
14293 [BZ #14824]
14294 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14295 (mktemp): Enable declaration.
14296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14300 Likewise.
14301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14302 Likewise.
14303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14304 Likewise.
14305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14306 Likewise.
14307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14308 Likewise.
14309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14310 Likewise.
14311
14312 [BZ #14821]
14313 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14314 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14315 for copies of such integer values.
14316 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14317 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14318
143192012-11-09 Andreas Jaeger <aj@suse.de>
14320
14321 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14322 definitions and declarations that are provided by
14323 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14324
143252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14326
14327 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14328 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14329 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14330 definition.
14331
143322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14333
14334 * elf/elf.h: Update comment before AArch64 relocations.
14335
143362012-11-07 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14339 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14340 (__start_context): Declare.
14341 (__makecontext_ret): Delete.
14342 (__makecontext): Hook up __start_context instead of
14343 __makecontext_ret.
14344 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14345 (sysdep_routines): Add __start_context when in stdlib.
14346
143472012-11-07 Joseph Myers <joseph@codesourcery.com>
14348
14349 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14350 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14351 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14352 hardcoded "nm".
14353 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14354 (READELF): New variable. Use it instead of hardcoded "readelf".
14355
143562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14359 * sysdeps/x86/Makefile: Here.
14360 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14361 * sysdeps/x86/tst-xmmymm.sh: This.
14362
143632012-11-07 Joseph Myers <joseph@codesourcery.com>
14364
14365 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14366 expectations.
14367 [UNIX98] (pthread_barrier_t): Do not expect.
14368 [UNIX98] (pthread_barrierattr_t): Likewise.
14369 [UNIX98] (pthread_spinlock_t): Likewise.
14370 [UNIX98] (pthread_barrier_destroy): Likewise.
14371 [UNIX98] (pthread_barrier_init): Likewise.
14372 [UNIX98] (pthread_barrier_wait): Likewise.
14373 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14374 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14375 [UNIX98] (pthread_barrierattr_init): Likewise.
14376 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14377 [UNIX98] (pthread_getcpuclockid): Likewise.
14378 [UNIX98] (pthread_mutex_timedlock): Likewise.
14379 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14380 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14381 [UNIX98] (pthread_sigmask): Likewise.
14382 [UNIX98] (pthread_spin_destroy): Likewise.
14383 [UNIX98] (pthread_spin_init): Likewise.
14384 [UNIX98] (pthread_spin_lock): Likewise.
14385 [UNIX98] (pthread_spin_trylock): Likewise.
14386 [UNIX98] (pthread_spin_unlock): Likewise.
14387 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14388 Do not expect.
14389 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14391 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14392 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14393 [XPG3 || XPG4] (pthread_key_t): Likewise.
14394 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14395 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14396 [XPG3 || XPG4] (pthread_once_t): Likewise.
14397 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14398 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14400 [XPG3 || XPG4] (pthread_t): Likewise.
14401
14402 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14403 not expect.
14404 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14405
14406 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14407 Change function return type to int.
14408
14409 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14410 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14411 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14412 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14413 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14414 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14415 [!POSIX] (posix_madvise): Likewise.
14416 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14417 && !UNIX98].
14418 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14419 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14420 (mode_t): Likewise.
14421 (posix_mem_offset): Likewise.
14422 (posix_typed_mem_get_info): Likewise.
14423 (posix_typed_mem_open): Likewise.
14424
14425 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14426 Change condition to [XOPEN2K8].
14427
14428 * conform/conformtest.pl: Preprocess allow-header data with -x c
14429 instead of from stdin.
14430 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14431 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14432 [C99-based standards] (cerfc): Likewise.
14433 [C99-based standards] (cexp2): Likewise.
14434 [C99-based standards] (cexpm1): Likewise.
14435 [C99-based standards] (clog10): Likewise.
14436 [C99-based standards] (clog1p): Likewise.
14437 [C99-based standards] (clog2): Likewise.
14438 [C99-based standards] (clgamma): Likewise.
14439 [C99-based standards] (ctgamma): Likewise.
14440 [C99-based standards] (cerff): Likewise.
14441 [C99-based standards] (cerfcf): Likewise.
14442 [C99-based standards] (cexp2f): Likewise.
14443 [C99-based standards] (cexpm1f): Likewise.
14444 [C99-based standards] (clog10f): Likewise.
14445 [C99-based standards] (clog1pf): Likewise.
14446 [C99-based standards] (clog2f): Likewise.
14447 [C99-based standards] (clgammaf): Likewise.
14448 [C99-based standards] (ctgammaf): Likewise.
14449 [C99-based standards] (cerfl): Likewise.
14450 [C99-based standards] (cerfcl): Likewise.
14451 [C99-based standards] (cexp2l): Likewise.
14452 [C99-based standards] (cexpm1l): Likewise.
14453 [C99-based standards] (clog10l): Likewise.
14454 [C99-based standards] (clog1pl): Likewise.
14455 [C99-based standards] (clog2l): Likewise.
14456 [C99-based standards] (clgammal): Likewise.
14457 [C99-based standards] (ctgammal): Likewise.
14458 * conform/data/inttypes.h-data [C99-based standards]: Include
14459 stdint.h-data. Remove all expectations for stdint.h contents.
14460 [C99-based standards] (PRI*): Do not allow.
14461 [C99-based standards] (SCN*): Likewise.
14462 [C99-based standards] (*_t): Likewise.
14463 [C99-based-standards] (PRId8): Expect macro.
14464 [C99-based-standards] (PRIi8): Likewise.
14465 [C99-based-standards] (PRIo8): Likewise.
14466 [C99-based-standards] (PRIu8): Likewise.
14467 [C99-based-standards] (PRIx8): Likewise.
14468 [C99-based-standards] (PRIX8): Likewise.
14469 [C99-based-standards] (SCNd8): Likewise.
14470 [C99-based-standards] (SCNi8): Likewise.
14471 [C99-based-standards] (SCNo8): Likewise.
14472 [C99-based-standards] (SCNu8): Likewise.
14473 [C99-based-standards] (SCNx8): Likewise.
14474 [C99-based-standards] (PRIdLEAST8): Likewise.
14475 [C99-based-standards] (PRIiLEAST8): Likewise.
14476 [C99-based-standards] (PRIoLEAST8): Likewise.
14477 [C99-based-standards] (PRIuLEAST8): Likewise.
14478 [C99-based-standards] (PRIxLEAST8): Likewise.
14479 [C99-based-standards] (PRIXLEAST8): Likewise.
14480 [C99-based-standards] (SCNdLEAST8): Likewise.
14481 [C99-based-standards] (SCNiLEAST8): Likewise.
14482 [C99-based-standards] (SCNoLEAST8): Likewise.
14483 [C99-based-standards] (SCNuLEAST8): Likewise.
14484 [C99-based-standards] (SCNxLEAST8): Likewise.
14485 [C99-based-standards] (PRIdFAST8): Likewise.
14486 [C99-based-standards] (PRIiFAST8): Likewise.
14487 [C99-based-standards] (PRIoFAST8): Likewise.
14488 [C99-based-standards] (PRIuFAST8): Likewise.
14489 [C99-based-standards] (PRIxFAST8): Likewise.
14490 [C99-based-standards] (PRIXFAST8): Likewise.
14491 [C99-based-standards] (SCNdFAST8): Likewise.
14492 [C99-based-standards] (SCNiFAST8): Likewise.
14493 [C99-based-standards] (SCNoFAST8): Likewise.
14494 [C99-based-standards] (SCNuFAST8): Likewise.
14495 [C99-based-standards] (SCNxFAST8): Likewise.
14496 [C99-based-standards] (PRId16): Likewise.
14497 [C99-based-standards] (PRIi16): Likewise.
14498 [C99-based-standards] (PRIo16): Likewise.
14499 [C99-based-standards] (PRIu16): Likewise.
14500 [C99-based-standards] (PRIx16): Likewise.
14501 [C99-based-standards] (PRIX16): Likewise.
14502 [C99-based-standards] (SCNd16): Likewise.
14503 [C99-based-standards] (SCNi16): Likewise.
14504 [C99-based-standards] (SCNo16): Likewise.
14505 [C99-based-standards] (SCNu16): Likewise.
14506 [C99-based-standards] (SCNx16): Likewise.
14507 [C99-based-standards] (PRIdLEAST16): Likewise.
14508 [C99-based-standards] (PRIiLEAST16): Likewise.
14509 [C99-based-standards] (PRIoLEAST16): Likewise.
14510 [C99-based-standards] (PRIuLEAST16): Likewise.
14511 [C99-based-standards] (PRIxLEAST16): Likewise.
14512 [C99-based-standards] (PRIXLEAST16): Likewise.
14513 [C99-based-standards] (SCNdLEAST16): Likewise.
14514 [C99-based-standards] (SCNiLEAST16): Likewise.
14515 [C99-based-standards] (SCNoLEAST16): Likewise.
14516 [C99-based-standards] (SCNuLEAST16): Likewise.
14517 [C99-based-standards] (SCNxLEAST16): Likewise.
14518 [C99-based-standards] (PRIdFAST16): Likewise.
14519 [C99-based-standards] (PRIiFAST16): Likewise.
14520 [C99-based-standards] (PRIoFAST16): Likewise.
14521 [C99-based-standards] (PRIuFAST16): Likewise.
14522 [C99-based-standards] (PRIxFAST16): Likewise.
14523 [C99-based-standards] (PRIXFAST16): Likewise.
14524 [C99-based-standards] (SCNdFAST16): Likewise.
14525 [C99-based-standards] (SCNiFAST16): Likewise.
14526 [C99-based-standards] (SCNoFAST16): Likewise.
14527 [C99-based-standards] (SCNuFAST16): Likewise.
14528 [C99-based-standards] (SCNxFAST16): Likewise.
14529 [C99-based-standards] (PRId32): Likewise.
14530 [C99-based-standards] (PRIi32): Likewise.
14531 [C99-based-standards] (PRIo32): Likewise.
14532 [C99-based-standards] (PRIu32): Likewise.
14533 [C99-based-standards] (PRIx32): Likewise.
14534 [C99-based-standards] (PRIX32): Likewise.
14535 [C99-based-standards] (SCNd32): Likewise.
14536 [C99-based-standards] (SCNi32): Likewise.
14537 [C99-based-standards] (SCNo32): Likewise.
14538 [C99-based-standards] (SCNu32): Likewise.
14539 [C99-based-standards] (SCNx32): Likewise.
14540 [C99-based-standards] (PRIdLEAST32): Likewise.
14541 [C99-based-standards] (PRIiLEAST32): Likewise.
14542 [C99-based-standards] (PRIoLEAST32): Likewise.
14543 [C99-based-standards] (PRIuLEAST32): Likewise.
14544 [C99-based-standards] (PRIxLEAST32): Likewise.
14545 [C99-based-standards] (PRIXLEAST32): Likewise.
14546 [C99-based-standards] (SCNdLEAST32): Likewise.
14547 [C99-based-standards] (SCNiLEAST32): Likewise.
14548 [C99-based-standards] (SCNoLEAST32): Likewise.
14549 [C99-based-standards] (SCNuLEAST32): Likewise.
14550 [C99-based-standards] (SCNxLEAST32): Likewise.
14551 [C99-based-standards] (PRIdFAST32): Likewise.
14552 [C99-based-standards] (PRIiFAST32): Likewise.
14553 [C99-based-standards] (PRIoFAST32): Likewise.
14554 [C99-based-standards] (PRIuFAST32): Likewise.
14555 [C99-based-standards] (PRIxFAST32): Likewise.
14556 [C99-based-standards] (PRIXFAST32): Likewise.
14557 [C99-based-standards] (SCNdFAST32): Likewise.
14558 [C99-based-standards] (SCNiFAST32): Likewise.
14559 [C99-based-standards] (SCNoFAST32): Likewise.
14560 [C99-based-standards] (SCNuFAST32): Likewise.
14561 [C99-based-standards] (SCNxFAST32): Likewise.
14562 [C99-based-standards] (PRId64): Likewise.
14563 [C99-based-standards] (PRIi64): Likewise.
14564 [C99-based-standards] (PRIo64): Likewise.
14565 [C99-based-standards] (PRIu64): Likewise.
14566 [C99-based-standards] (PRIx64): Likewise.
14567 [C99-based-standards] (PRIX64): Likewise.
14568 [C99-based-standards] (SCNd64): Likewise.
14569 [C99-based-standards] (SCNi64): Likewise.
14570 [C99-based-standards] (SCNo64): Likewise.
14571 [C99-based-standards] (SCNu64): Likewise.
14572 [C99-based-standards] (SCNx64): Likewise.
14573 [C99-based-standards] (PRIdLEAST64): Likewise.
14574 [C99-based-standards] (PRIiLEAST64): Likewise.
14575 [C99-based-standards] (PRIoLEAST64): Likewise.
14576 [C99-based-standards] (PRIuLEAST64): Likewise.
14577 [C99-based-standards] (PRIxLEAST64): Likewise.
14578 [C99-based-standards] (PRIXLEAST64): Likewise.
14579 [C99-based-standards] (SCNdLEAST64): Likewise.
14580 [C99-based-standards] (SCNiLEAST64): Likewise.
14581 [C99-based-standards] (SCNoLEAST64): Likewise.
14582 [C99-based-standards] (SCNuLEAST64): Likewise.
14583 [C99-based-standards] (SCNxLEAST64): Likewise.
14584 [C99-based-standards] (PRIdFAST64): Likewise.
14585 [C99-based-standards] (PRIiFAST64): Likewise.
14586 [C99-based-standards] (PRIoFAST64): Likewise.
14587 [C99-based-standards] (PRIuFAST64): Likewise.
14588 [C99-based-standards] (PRIxFAST64): Likewise.
14589 [C99-based-standards] (PRIXFAST64): Likewise.
14590 [C99-based-standards] (SCNdFAST64): Likewise.
14591 [C99-based-standards] (SCNiFAST64): Likewise.
14592 [C99-based-standards] (SCNoFAST64): Likewise.
14593 [C99-based-standards] (SCNuFAST64): Likewise.
14594 [C99-based-standards] (SCNxFAST64): Likewise.
14595 [C99-based-standards] (PRIdMAX): Likewise.
14596 [C99-based-standards] (PRIiMAX): Likewise.
14597 [C99-based-standards] (PRIoMAX): Likewise.
14598 [C99-based-standards] (PRIuMAX): Likewise.
14599 [C99-based-standards] (PRIxMAX): Likewise.
14600 [C99-based-standards] (PRIXMAX): Likewise.
14601 [C99-based-standards] (SCNdMAX): Likewise.
14602 [C99-based-standards] (SCNiMAX): Likewise.
14603 [C99-based-standards] (SCNoMAX): Likewise.
14604 [C99-based-standards] (SCNuMAX): Likewise.
14605 [C99-based-standards] (SCNxMAX): Likewise.
14606 [C99-based-standards] (PRIdPTR): Likewise.
14607 [C99-based-standards] (PRIiPTR): Likewise.
14608 [C99-based-standards] (PRIoPTR): Likewise.
14609 [C99-based-standards] (PRIuPTR): Likewise.
14610 [C99-based-standards] (PRIxPTR): Likewise.
14611 [C99-based-standards] (PRIXPTR): Likewise.
14612 [C99-based-standards] (SCNdPTR): Likewise.
14613 [C99-based-standards] (SCNiPTR): Likewise.
14614 [C99-based-standards] (SCNoPTR): Likewise.
14615 [C99-based-standards] (SCNuPTR): Likewise.
14616 [C99-based-standards] (SCNxPTR): Likewise.
14617 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14618 allow.
14619 * conform/data/stdint.h-data: Update comments to clarify
14620 requirements.
14621 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14622 type.
14623 [C99-based standards] (INT8_MAX): Likewise.
14624 [C99-based standards] (INT16_MIN): Likewise.
14625 [C99-based standards] (INT16_MAX): Likewise.
14626 [C99-based standards] (INT32_MIN): Likewise.
14627 [C99-based standards] (INT32_MAX): Likewise.
14628 [C99-based standards] (INT64_MIN): Likewise.
14629 [C99-based standards] (INT64_MAX): Likewise.
14630 [C99-based standards] (UINT8_MAX): Likewise.
14631 [C99-based standards] (UINT16_MAX): Likewise.
14632 [C99-based standards] (UINT32_MAX): Likewise.
14633 [C99-based standards] (UINT64_MAX): Likewise.
14634 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14635 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14636 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14637 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14638 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14639 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14640 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14641 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14642 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14643 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14644 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14645 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14646 [C99-based standards] (INT_FAST8_MIN): Likewise.
14647 [C99-based standards] (INT_FAST8_MAX): Likewise.
14648 [C99-based standards] (INT_FAST16_MIN): Likewise.
14649 [C99-based standards] (INT_FAST16_MAX): Likewise.
14650 [C99-based standards] (INT_FAST32_MIN): Likewise.
14651 [C99-based standards] (INT_FAST32_MAX): Likewise.
14652 [C99-based standards] (INT_FAST64_MIN): Likewise.
14653 [C99-based standards] (INT_FAST64_MAX): Likewise.
14654 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14655 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14656 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14657 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14658 [C99-based standards] (INTPTR_MIN): Likewise.
14659 [C99-based standards] (INTPTR_MAX): Likewise.
14660 [C99-based standards] (UINTPTR_MAX): Likewise.
14661 [C99-based standards] (INTMAX_MIN): Likewise.
14662 [C99-based standards] (INTMAX_MAX): Likewise.
14663 [C99-based standards] (UINTMAX_MAX): Likewise.
14664 [C99-based standards] (PTRDIFF_MIN): Likewise.
14665 [C99-based standards] (PTRDIFF_MAX): Likewise.
14666 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14667 [C99-based standards] (SIZE_MAX): Likewise.
14668 [C99-based standards] (WCHAR_MAX): Likewise.
14669 [C99-based standards] (WINT_MAX): Likewise.
14670 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14671 constraint on value.
14672 [C99-based standards] (WCHAR_MIN): Likewise.
14673 [C99-based standards] (WINT_MIN): Likewise.
14674 [C99-based standards] (*_t): Allow.
14675 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14676 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14677 Include math.h-data and complex.h-data. Remove all expectations
14678 of math.h and complex.h contents.
14679 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14680 at end of line.
14681 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14682 (struct tm): Expect tag.
14683 [C99-based-standards] (wcstof): Expect function.
14684 [C99-based-standards] (wcstold): Likewise.
14685 [C99-based-standards] (wcstoll): Likewise.
14686 [C99-based-standards] (wcstoull): Likewise.
14687 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14688 macro-int-constant. Specify type.
14689 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14690 constraint on value.
14691 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14692 Specify type.
14693 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14694 Specify value.
14695 [ISO C standards]: Do not allow headers.
14696 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14697 wcs[abcdefghijklmnopqrstuvwxyz]*.
14698 [ISO C standards] (*_t): Do not allow.
14699 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14700 Expect function.
14701 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14702 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14703 Specify type.
14704 [ISO C standards]: Do not allow headers.
14705 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14706 is[abcdefghijklmnopqrstuvwxyz]*.
14707 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14708 to[abcdefghijklmnopqrstuvwxyz]*.
14709 [ISO C standards] (*_t): Do not allow.
14710 * conform/data/stdalign.h-data: New file.
14711 * conform/data/stdbool.h-data: Likewise.
14712 * conform/data/stdnoreturn.h-data: Likewise.
14713
147142012-11-07 Roland McGrath <roland@hack.frob.com>
14715
14716 [BZ #14815]
14717 * manual/filesys.texi (Directory Entries): Typo fix.
14718 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14719
147202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14721
14722 * elf/elf.h (EM_AARCH64): New macro.
14723 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14724 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14725 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14726 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14727 (R_AARCH64_TLSDESC): Likewise.
14728 (NT_ARM_TLS): Likewise.
14729 (NT_ARM_HW_BREAK): Likewise.
14730 (NT_ARM_HW_WATCH): Likewise.
14731
147322012-11-07 Joseph Myers <joseph@codesourcery.com>
14733
14734 [BZ #14811]
14735 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14736 (__ieee754_powl): Saturate nonzero exponents with absolute value
14737 below 0x1p-79 to +/- 0x1p-79.
14738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14739 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14740 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14741 nonzero exponents with absolute value below 0x1p-32 to +/-
14742 0x1p-32.
14743 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14744 (__ieee754_powl): Saturate nonzero exponents with absolute value
14745 below 0x1p-79 to +/- 0x1p-79.
14746 * math/libm-test.inc (pow_test): Add more tests.
14747
147482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14749
14750 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14751 _dl_s390_cap_flags with kernel. Increase string length.
14752 (_dl_s390_platforms): Add z196 and zEC12.
14753
147542012-11-07 Joseph Myers <joseph@codesourcery.com>
14755
14756 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14757 Change XOPEN21K to XOPEN2K.
14758
147592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14760
14761 * string/memmove.c: Use memcpy when possible.
14762
147632012-11-06 Andreas Jaeger <aj@suse.de>
14764
14765 * po/eo.po: Update from translation team.
14766
147672012-11-06 Joseph Myers <joseph@codesourcery.com>
14768
14769 [BZ #14793]
14770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14771 exponent and small x and y exponents, scale x or y up. Increase
14772 by 2 the exponent used in scaling up.
14773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14775 * math/libm-test.inc (fma_test): Add more tests.
14776 (fma_test_towardzero): Likewise.
14777 (fma_test_downward): Likewise.
14778 (fma_test_upward): Likewise.
14779
147802012-11-05 Joseph Myers <joseph@codesourcery.com>
14781
14782 [BZ #14805]
14783 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14784 fenv_t *.
14785
14786 [BZ #14801]
14787 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14788 namespace for names of struct fields.
14789 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14790 fenv_t fields.
14791 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14792 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14793
147942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14795
14796 [BZ #3665]
14797 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14798
147992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14800
14801 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14802 PTR_DEMANGLE.
14803
14804 [BZ #5246]
14805 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14806 PTR_DEMANGLE.
14807
148082012-11-04 Joseph Myers <joseph@codesourcery.com>
14809
14810 [BZ #14797]
14811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14812 definitely overflow as x * y not x * y + z.
14813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14815 * math/libm-test.inc (fma_test): Add more tests.
14816 (fma_test_towardzero): Likewise.
14817 (fma_test_downward): Likewise.
14818 (fma_test_upward): Likewise.
14819
148202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14821
14822 [BZ #157]
14823
14824 * include/stub-tag.h: Remove file.
14825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14826 '#include' of it.
14827 * manual/maint.texi (Porting): Don't reference it.
14828 * Makerules ($(objpfx)stubs): Likewise.
14829 * dirent/closedir.c: Don't include <stub-tag.h>.
14830 * dirent/dirfd.c: Likewise.
14831 * dirent/fdopendir.c: Likewise.
14832 * dirent/getdents.c: Likewise.
14833 * dirent/getdents64.c: Likewise.
14834 * dirent/opendir.c: Likewise.
14835 * dirent/readdir.c: Likewise.
14836 * dirent/readdir64.c: Likewise.
14837 * dirent/readdir64_r.c: Likewise.
14838 * dirent/readdir_r.c: Likewise.
14839 * dirent/rewinddir.c: Likewise.
14840 * dirent/seekdir.c: Likewise.
14841 * dirent/telldir.c: Likewise.
14842 * gmon/profil.c: Likewise.
14843 * grp/setgroups.c: Likewise.
14844 * inet/if_index.c: Likewise.
14845 * io/access.c: Likewise.
14846 * io/chdir.c: Likewise.
14847 * io/chmod.c: Likewise.
14848 * io/chown.c: Likewise.
14849 * io/close.c: Likewise.
14850 * io/dup.c: Likewise.
14851 * io/dup2.c: Likewise.
14852 * io/dup3.c: Likewise.
14853 * io/euidaccess.c: Likewise.
14854 * io/faccessat.c: Likewise.
14855 * io/fchdir.c: Likewise.
14856 * io/fchmod.c: Likewise.
14857 * io/fchmodat.c: Likewise.
14858 * io/fchown.c: Likewise.
14859 * io/fchownat.c: Likewise.
14860 * io/fcntl.c: Likewise.
14861 * io/flock.c: Likewise.
14862 * io/fstatfs.c: Likewise.
14863 * io/fstatfs64.c: Likewise.
14864 * io/fstatvfs.c: Likewise.
14865 * io/fstatvfs64.c: Likewise.
14866 * io/futimens.c: Likewise.
14867 * io/fxstat.c: Likewise.
14868 * io/fxstat64.c: Likewise.
14869 * io/fxstatat.c: Likewise.
14870 * io/fxstatat64.c: Likewise.
14871 * io/getcwd.c: Likewise.
14872 * io/isatty.c: Likewise.
14873 * io/lchmod.c: Likewise.
14874 * io/lchown.c: Likewise.
14875 * io/link.c: Likewise.
14876 * io/linkat.c: Likewise.
14877 * io/lseek.c: Likewise.
14878 * io/lseek64.c: Likewise.
14879 * io/lxstat64.c: Likewise.
14880 * io/mkdir.c: Likewise.
14881 * io/mkdirat.c: Likewise.
14882 * io/mkfifo.c: Likewise.
14883 * io/mkfifoat.c: Likewise.
14884 * io/open.c: Likewise.
14885 * io/open64.c: Likewise.
14886 * io/openat.c: Likewise.
14887 * io/openat64.c: Likewise.
14888 * io/pipe.c: Likewise.
14889 * io/pipe2.c: Likewise.
14890 * io/poll.c: Likewise.
14891 * io/posix_fadvise.c: Likewise.
14892 * io/posix_fadvise64.c: Likewise.
14893 * io/posix_fallocate.c: Likewise.
14894 * io/posix_fallocate64.c: Likewise.
14895 * io/read.c: Likewise.
14896 * io/readlink.c: Likewise.
14897 * io/readlinkat.c: Likewise.
14898 * io/rmdir.c: Likewise.
14899 * io/sendfile.c: Likewise.
14900 * io/sendfile64.c: Likewise.
14901 * io/statfs.c: Likewise.
14902 * io/statfs64.c: Likewise.
14903 * io/statvfs.c: Likewise.
14904 * io/statvfs64.c: Likewise.
14905 * io/symlink.c: Likewise.
14906 * io/symlinkat.c: Likewise.
14907 * io/ttyname.c: Likewise.
14908 * io/ttyname_r.c: Likewise.
14909 * io/umask.c: Likewise.
14910 * io/unlink.c: Likewise.
14911 * io/unlinkat.c: Likewise.
14912 * io/utime.c: Likewise.
14913 * io/utimensat.c: Likewise.
14914 * io/write.c: Likewise.
14915 * io/xmknod.c: Likewise.
14916 * io/xmknodat.c: Likewise.
14917 * io/xstat.c: Likewise.
14918 * io/xstat64.c: Likewise.
14919 * login/getpt.c: Likewise.
14920 * login/grantpt.c: Likewise.
14921 * login/unlockpt.c: Likewise.
14922 * math/e_acoshl.c: Likewise.
14923 * math/e_acosl.c: Likewise.
14924 * math/e_asinl.c: Likewise.
14925 * math/e_atan2l.c: Likewise.
14926 * math/e_atanhl.c: Likewise.
14927 * math/e_coshl.c: Likewise.
14928 * math/e_expl.c: Likewise.
14929 * math/e_fmodl.c: Likewise.
14930 * math/e_gammal_r.c: Likewise.
14931 * math/e_hypotl.c: Likewise.
14932 * math/e_j0l.c: Likewise.
14933 * math/e_j1l.c: Likewise.
14934 * math/e_jnl.c: Likewise.
14935 * math/e_lgammal_r.c: Likewise.
14936 * math/e_log10l.c: Likewise.
14937 * math/e_log2l.c: Likewise.
14938 * math/e_logl.c: Likewise.
14939 * math/e_powl.c: Likewise.
14940 * math/e_rem_pio2l.c: Likewise.
14941 * math/e_sinhl.c: Likewise.
14942 * math/e_sqrtl.c: Likewise.
14943 * math/fclrexcpt.c: Likewise.
14944 * math/fedisblxcpt.c: Likewise.
14945 * math/feenablxcpt.c: Likewise.
14946 * math/fegetenv.c: Likewise.
14947 * math/fegetexcept.c: Likewise.
14948 * math/fegetround.c: Likewise.
14949 * math/feholdexcpt.c: Likewise.
14950 * math/fesetenv.c: Likewise.
14951 * math/fesetround.c: Likewise.
14952 * math/feupdateenv.c: Likewise.
14953 * math/fgetexcptflg.c: Likewise.
14954 * math/fraiseexcpt.c: Likewise.
14955 * math/fsetexcptflg.c: Likewise.
14956 * math/ftestexcept.c: Likewise.
14957 * math/k_cosl.c: Likewise.
14958 * math/k_rem_pio2l.c: Likewise.
14959 * math/k_sinl.c: Likewise.
14960 * math/k_tanl.c: Likewise.
14961 * math/s_asinhl.c: Likewise.
14962 * math/s_atanl.c: Likewise.
14963 * math/s_cbrtl.c: Likewise.
14964 * math/s_erfl.c: Likewise.
14965 * math/s_expm1l.c: Likewise.
14966 * math/s_log1pl.c: Likewise.
14967 * math/s_tanhl.c: Likewise.
14968 * misc/acct.c: Likewise.
14969 * misc/brk.c: Likewise.
14970 * misc/chflags.c: Likewise.
14971 * misc/chroot.c: Likewise.
14972 * misc/fchflags.c: Likewise.
14973 * misc/fgetxattr.c: Likewise.
14974 * misc/flistxattr.c: Likewise.
14975 * misc/fremovexattr.c: Likewise.
14976 * misc/fsetxattr.c: Likewise.
14977 * misc/fsync.c: Likewise.
14978 * misc/ftruncate.c: Likewise.
14979 * misc/futimes.c: Likewise.
14980 * misc/futimesat.c: Likewise.
14981 * misc/getdomain.c: Likewise.
14982 * misc/getdtsz.c: Likewise.
14983 * misc/gethostid.c: Likewise.
14984 * misc/gethostname.c: Likewise.
14985 * misc/getloadavg.c: Likewise.
14986 * misc/getpagesize.c: Likewise.
14987 * misc/getsysstats.c: Likewise.
14988 * misc/getxattr.c: Likewise.
14989 * misc/gtty.c: Likewise.
14990 * misc/ioctl.c: Likewise.
14991 * misc/lgetxattr.c: Likewise.
14992 * misc/listxattr.c: Likewise.
14993 * misc/llistxattr.c: Likewise.
14994 * misc/lremovexattr.c: Likewise.
14995 * misc/lsetxattr.c: Likewise.
14996 * misc/lutimes.c: Likewise.
14997 * misc/madvise.c: Likewise.
14998 * misc/mincore.c: Likewise.
14999 * misc/mlock.c: Likewise.
15000 * misc/mlockall.c: Likewise.
15001 * misc/mmap.c: Likewise.
15002 * misc/mprotect.c: Likewise.
15003 * misc/msync.c: Likewise.
15004 * misc/munlock.c: Likewise.
15005 * misc/munlockall.c: Likewise.
15006 * misc/munmap.c: Likewise.
15007 * misc/preadv.c: Likewise.
15008 * misc/preadv64.c: Likewise.
15009 * misc/ptrace.c: Likewise.
15010 * misc/pwritev.c: Likewise.
15011 * misc/pwritev64.c: Likewise.
15012 * misc/readv.c: Likewise.
15013 * misc/reboot.c: Likewise.
15014 * misc/remap_file_pages.c: Likewise.
15015 * misc/removexattr.c: Likewise.
15016 * misc/revoke.c: Likewise.
15017 * misc/select.c: Likewise.
15018 * misc/setdomain.c: Likewise.
15019 * misc/setegid.c: Likewise.
15020 * misc/seteuid.c: Likewise.
15021 * misc/sethostid.c: Likewise.
15022 * misc/sethostname.c: Likewise.
15023 * misc/setregid.c: Likewise.
15024 * misc/setreuid.c: Likewise.
15025 * misc/setxattr.c: Likewise.
15026 * misc/sstk.c: Likewise.
15027 * misc/stty.c: Likewise.
15028 * misc/swapoff.c: Likewise.
15029 * misc/swapon.c: Likewise.
15030 * misc/sync.c: Likewise.
15031 * misc/syncfs.c: Likewise.
15032 * misc/syscall.c: Likewise.
15033 * misc/truncate.c: Likewise.
15034 * misc/ualarm.c: Likewise.
15035 * misc/usleep.c: Likewise.
15036 * misc/ustat.c: Likewise.
15037 * misc/utimes.c: Likewise.
15038 * misc/vhangup.c: Likewise.
15039 * misc/writev.c: Likewise.
15040 * posix/_exit.c: Likewise.
15041 * posix/alarm.c: Likewise.
15042 * posix/execve.c: Likewise.
15043 * posix/fexecve.c: Likewise.
15044 * posix/fork.c: Likewise.
15045 * posix/fpathconf.c: Likewise.
15046 * posix/getaddrinfo.c: Likewise.
15047 * posix/getegid.c: Likewise.
15048 * posix/geteuid.c: Likewise.
15049 * posix/getgid.c: Likewise.
15050 * posix/getgroups.c: Likewise.
15051 * posix/getlogin.c: Likewise.
15052 * posix/getlogin_r.c: Likewise.
15053 * posix/getpgid.c: Likewise.
15054 * posix/getpid.c: Likewise.
15055 * posix/getppid.c: Likewise.
15056 * posix/getresgid.c: Likewise.
15057 * posix/getresuid.c: Likewise.
15058 * posix/getsid.c: Likewise.
15059 * posix/getuid.c: Likewise.
15060 * posix/glob64.c: Likewise.
15061 * posix/nanosleep.c: Likewise.
15062 * posix/pathconf.c: Likewise.
15063 * posix/pause.c: Likewise.
15064 * posix/posix_madvise.c: Likewise.
15065 * posix/pread.c: Likewise.
15066 * posix/pread64.c: Likewise.
15067 * posix/pwrite.c: Likewise.
15068 * posix/pwrite64.c: Likewise.
15069 * posix/sched_getaffinity.c: Likewise.
15070 * posix/sched_getp.c: Likewise.
15071 * posix/sched_gets.c: Likewise.
15072 * posix/sched_primax.c: Likewise.
15073 * posix/sched_primin.c: Likewise.
15074 * posix/sched_rr_gi.c: Likewise.
15075 * posix/sched_setaffinity.c: Likewise.
15076 * posix/sched_setp.c: Likewise.
15077 * posix/sched_sets.c: Likewise.
15078 * posix/sched_yield.c: Likewise.
15079 * posix/setgid.c: Likewise.
15080 * posix/setlogin.c: Likewise.
15081 * posix/setpgid.c: Likewise.
15082 * posix/setresgid.c: Likewise.
15083 * posix/setresuid.c: Likewise.
15084 * posix/setsid.c: Likewise.
15085 * posix/setuid.c: Likewise.
15086 * posix/sleep.c: Likewise.
15087 * posix/spawni.c: Likewise.
15088 * posix/sysconf.c: Likewise.
15089 * posix/times.c: Likewise.
15090 * posix/wait.c: Likewise.
15091 * posix/wait3.c: Likewise.
15092 * posix/wait4.c: Likewise.
15093 * posix/waitpid.c: Likewise.
15094 * resolv/gai_sigqueue.c: Likewise.
15095 * resource/getpriority.c: Likewise.
15096 * resource/getrlimit.c: Likewise.
15097 * resource/getrusage.c: Likewise.
15098 * resource/nice.c: Likewise.
15099 * resource/setpriority.c: Likewise.
15100 * resource/setrlimit.c: Likewise.
15101 * resource/ulimit.c: Likewise.
15102 * rt/aio_cancel.c: Likewise.
15103 * rt/aio_fsync.c: Likewise.
15104 * rt/aio_read.c: Likewise.
15105 * rt/aio_sigqueue.c: Likewise.
15106 * rt/aio_suspend.c: Likewise.
15107 * rt/aio_write.c: Likewise.
15108 * rt/clock_getres.c: Likewise.
15109 * rt/clock_gettime.c: Likewise.
15110 * rt/clock_nanosleep.c: Likewise.
15111 * rt/clock_settime.c: Likewise.
15112 * rt/lio_listio.c: Likewise.
15113 * rt/mq_close.c: Likewise.
15114 * rt/mq_getattr.c: Likewise.
15115 * rt/mq_notify.c: Likewise.
15116 * rt/mq_open.c: Likewise.
15117 * rt/mq_receive.c: Likewise.
15118 * rt/mq_send.c: Likewise.
15119 * rt/mq_setattr.c: Likewise.
15120 * rt/mq_timedreceive.c: Likewise.
15121 * rt/mq_timedsend.c: Likewise.
15122 * rt/mq_unlink.c: Likewise.
15123 * rt/shm_open.c: Likewise.
15124 * rt/shm_unlink.c: Likewise.
15125 * rt/timer_create.c: Likewise.
15126 * rt/timer_delete.c: Likewise.
15127 * rt/timer_getoverr.c: Likewise.
15128 * rt/timer_gettime.c: Likewise.
15129 * rt/timer_settime.c: Likewise.
15130 * setjmp/__longjmp.c: Likewise.
15131 * setjmp/setjmp.c: Likewise.
15132 * signal/kill.c: Likewise.
15133 * signal/killpg.c: Likewise.
15134 * signal/raise.c: Likewise.
15135 * signal/sigaction.c: Likewise.
15136 * signal/sigaltstack.c: Likewise.
15137 * signal/sigblock.c: Likewise.
15138 * signal/sigignore.c: Likewise.
15139 * signal/sigintr.c: Likewise.
15140 * signal/signal.c: Likewise.
15141 * signal/sigpause.c: Likewise.
15142 * signal/sigpending.c: Likewise.
15143 * signal/sigqueue.c: Likewise.
15144 * signal/sigreturn.c: Likewise.
15145 * signal/sigset.c: Likewise.
15146 * signal/sigsetmask.c: Likewise.
15147 * signal/sigstack.c: Likewise.
15148 * signal/sigsuspend.c: Likewise.
15149 * signal/sigtimedwait.c: Likewise.
15150 * signal/sigvec.c: Likewise.
15151 * signal/sigwait.c: Likewise.
15152 * signal/sigwaitinfo.c: Likewise.
15153 * signal/sysv_signal.c: Likewise.
15154 * socket/accept.c: Likewise.
15155 * socket/accept4.c: Likewise.
15156 * socket/bind.c: Likewise.
15157 * socket/connect.c: Likewise.
15158 * socket/getpeername.c: Likewise.
15159 * socket/getsockname.c: Likewise.
15160 * socket/getsockopt.c: Likewise.
15161 * socket/isfdtype.c: Likewise.
15162 * socket/listen.c: Likewise.
15163 * socket/recv.c: Likewise.
15164 * socket/recvfrom.c: Likewise.
15165 * socket/recvmsg.c: Likewise.
15166 * socket/send.c: Likewise.
15167 * socket/sendmsg.c: Likewise.
15168 * socket/sendto.c: Likewise.
15169 * socket/setsockopt.c: Likewise.
15170 * socket/shutdown.c: Likewise.
15171 * socket/sockatmark.c: Likewise.
15172 * socket/socket.c: Likewise.
15173 * socket/socketpair.c: Likewise.
15174 * stdio-common/ctermid.c: Likewise.
15175 * stdio-common/cuserid.c: Likewise.
15176 * stdio-common/remove.c: Likewise.
15177 * stdio-common/rename.c: Likewise.
15178 * stdio-common/renameat.c: Likewise.
15179 * stdio-common/tempname.c: Likewise.
15180 * stdlib/getcontext.c: Likewise.
15181 * stdlib/makecontext.c: Likewise.
15182 * stdlib/setcontext.c: Likewise.
15183 * stdlib/swapcontext.c: Likewise.
15184 * stdlib/system.c: Likewise.
15185 * streams/fattach.c: Likewise.
15186 * streams/fdetach.c: Likewise.
15187 * streams/getmsg.c: Likewise.
15188 * streams/getpmsg.c: Likewise.
15189 * streams/putmsg.c: Likewise.
15190 * streams/putpmsg.c: Likewise.
15191 * sysdeps/unix/bsd/getpt.c: Likewise.
15192 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15193 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15194 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15196 Likewise.
15197 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15198 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15199 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15200 * sysvipc/msgctl.c: Likewise.
15201 * sysvipc/msgget.c: Likewise.
15202 * sysvipc/msgrcv.c: Likewise.
15203 * sysvipc/msgsnd.c: Likewise.
15204 * sysvipc/semctl.c: Likewise.
15205 * sysvipc/semget.c: Likewise.
15206 * sysvipc/semop.c: Likewise.
15207 * sysvipc/semtimedop.c: Likewise.
15208 * sysvipc/shmat.c: Likewise.
15209 * sysvipc/shmctl.c: Likewise.
15210 * sysvipc/shmdt.c: Likewise.
15211 * sysvipc/shmget.c: Likewise.
15212 * termios/tcdrain.c: Likewise.
15213 * termios/tcflow.c: Likewise.
15214 * termios/tcflush.c: Likewise.
15215 * termios/tcgetattr.c: Likewise.
15216 * termios/tcgetpgrp.c: Likewise.
15217 * termios/tcsendbrk.c: Likewise.
15218 * termios/tcsetattr.c: Likewise.
15219 * termios/tcsetpgrp.c: Likewise.
15220 * time/adjtime.c: Likewise.
15221 * time/clock.c: Likewise.
15222 * time/getitimer.c: Likewise.
15223 * time/gettimeofday.c: Likewise.
15224 * time/setitimer.c: Likewise.
15225 * time/settimeofday.c: Likewise.
15226 * time/stime.c: Likewise.
15227 * time/time.c: Likewise.
15228
152292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15230
15231 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15232 /usr/old/bin.
15233
15234 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15235 instead of spaces.
15236 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15237
152382012-11-03 Joseph Myers <joseph@codesourcery.com>
15239
15240 [BZ #14796]
15241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15242 FE_TONEAREST before applying Dekker multiplication and Knuth
15243 addition. Clear inexact exceptions and check for exact zero
15244 results afterwards.
15245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15248 * math/libm-test.inc (fma_test): Add more tests.
15249 (fma_test_towardzero): Likewise.
15250 (fma_test_downward): Likewise.
15251 (fma_test_upward): Likewise.
15252 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15253 function.
15254 (libc_fesetround): New macro.
15255 (libc_fesetroundf): Likewise.
15256 (libc_fesetroundl): Likewise.
15257 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15258 function.
15259 (libc_fesetround_387): Likewise.
15260 (libc_fesetroundf): New macro.
15261 (libc_fesetround): Likewise.
15262 (libc_fesetroundl): Likewise.
15263 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15264 function.
15265 (libc_fesetroundf): New macro.
15266 (libc_fesetround): Likewise.
15267 (libc_fesetroundl): Likewise.
15268 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15269 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15270 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15271 libm_hidden_ver.
15272 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15273 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15274 libm_hidden_def.
15275 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15276 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15277 libm_hidden_ver.
15278 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15279 libm_hidden_def.
15280
15281 [BZ #3439]
15282 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15283 integer constant usable in #if and use that to give value to enum
15284 constant.
15285 (FE_DIVBYZERO): Likewise.
15286 (FE_UNDERFLOW): Likewise.
15287 (FE_OVERFLOW): Likewise.
15288 (FE_INVALID): Likewise.
15289 (FE_INVALID_SNAN): Likewise.
15290 (FE_INVALID_ISI): Likewise.
15291 (FE_INVALID_IDI): Likewise.
15292 (FE_INVALID_ZDZ): Likewise.
15293 (FE_INVALID_IMZ): Likewise.
15294 (FE_INVALID_COMPARE): Likewise.
15295 (FE_INVALID_SOFTWARE): Likewise.
15296 (FE_INVALID_SQRT): Likewise.
15297 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15298 (FE_TONEAREST): Likewise.
15299 (FE_TOWARDZERO): Likewise.
15300 (FE_UPWARD): Likewise.
15301 (FE_DOWNWARD): Likewise.
15302 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15303 (FE_DIVBYZERO): Likewise.
15304 (FE_OVERFLOW): Likewise.
15305 (FE_UNDERFLOW): Likewise.
15306 (FE_INEXACT): Likewise.
15307 (FE_TONEAREST): Likewise.
15308 (FE_DOWNWARD): Likewise.
15309 (FE_UPWARD): Likewise.
15310 (FE_TOWARDZERO): Likewise.
15311 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15312 (FE_UNDERFLOW): Likewise.
15313 (FE_OVERFLOW): Likewise.
15314 (FE_DIVBYZERO): Likewise.
15315 (FE_INVALID): Likewise.
15316 (FE_TONEAREST): Likewise.
15317 (FE_TOWARDZERO): Likewise.
15318 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15319 (FE_OVERFLOW): Likewise.
15320 (FE_UNDERFLOW): Likewise.
15321 (FE_DIVBYZERO): Likewise.
15322 (FE_INEXACT): Likewise.
15323 (FE_TONEAREST): Likewise.
15324 (FE_TOWARDZERO): Likewise.
15325 (FE_UPWARD): Likewise.
15326 (FE_DOWNWARD): Likewise.
15327 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15328 (FE_DIVBYZERO): Likewise.
15329 (FE_OVERFLOW): Likewise.
15330 (FE_UNDERFLOW): Likewise.
15331 (FE_INEXACT): Likewise.
15332 (FE_TONEAREST): Likewise.
15333 (FE_DOWNWARD): Likewise.
15334 (FE_UPWARD): Likewise.
15335 (FE_TOWARDZERO): Likewise.
15336
153372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15338
15339 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15340
153412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15342
15343 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15344 commands. Quote $PWD.
15345 (blacklist_exports): Don't use remove_newlines. Replace "declare
15346 -x" by "export".
15347 (remove_newlines): Remove.
15348
153492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15350
15351 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15352 * stdlib/stdlib.h (atof): Moved to ...
15353 * include/bits/stdlib-float.h: Here. New file.
15354 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15355 * stdlib/bits/stdlib-float.h: New file.
15356 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15357 -mno-sse -mno-mmx.
15358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15359 <xmmintrin.h>.
15360
153612012-11-02 Joseph Myers <joseph@codesourcery.com>
15362
15363 * conform/conformtest.pl (@headers): Add fenv.h.
15364 * conform/data/fenv.h-data: New file.
15365 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15366 include of <math/fenv.h>.
15367
15368 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15369 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15370 && !UNIX98]. Enables tests for XOPEN2K8.
15371 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15372 POSIX2008]: Likewise.
15373
15374 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15375 (struct rusage): Do not expect type or its members.
15376
15377 [BZ #3439]
15378 * math/math.h (FP_NAN): Define macro to integer constant usable in
15379 #if and use that to give value to enum constant.
15380 (FP_INFINITE): Likewise.
15381 (FP_ZERO): Likewise.
15382 (FP_SUBNORMAL): Likewise.
15383 (FP_NORMAL): Likewise.
15384
153852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15386
15387 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15388 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15389 arguments.
15390
153912012-11-02 Roland McGrath <roland@hack.frob.com>
15392
15393 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15394 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15395 autoconf-time if not.
15396 * configure.in: Remove AC_PREREQ.
15397
153982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15399
15400 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15401 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15402 of the internal implementation.
15403
154042012-11-02 Joseph Myers <joseph@codesourcery.com>
15405
15406 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15407 except include of <misc/sys/syslog.h>.
15408
154092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15410
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15412 function returns with a NULL context exit with zero.
15413
154142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15415
15416 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15417
154182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15419
15420 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15421 (run_program_cmd): This.
15422 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15423 (tst_langinfo): New variable. Use it.
15424
154252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15426
15427 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15428 floating point opcodes.
15429
154302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15431
15432 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15433 variable.
15434
15435 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15436
15437 * sysdeps/mach/hurd/powerpc: Remove directory.
15438 * sysdeps/mach/powerpc: Likewise.
15439
154402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15441
15442 * scripts/check-local-headers.sh: Ignore c++ headers.
15443
154442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15445
15446 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15447 __libc_cleanup_region_start argument.
15448
154492012-11-01 Joseph Myers <joseph@codesourcery.com>
15450
15451 [BZ #14784]
15452 [BZ #14785]
15453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15454 x * y using scaling, not as x * y + z.
15455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15457 * math/libm-test.inc (fma_test): Add more tests.
15458 (fma_test_towardzero): Likewise.
15459 (fma_test_downward): Likewise.
15460 (fma_test_upward): Likewise.
15461
154622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15463
15464 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15465
154662012-10-31 Joseph Myers <joseph@codesourcery.com>
15467
15468 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15469 New variable.
15470
154712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15472
15473 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15474
154752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15476
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15478 Fix sort order.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15480 Likewise.
15481
154822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15483
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15485 Fix the order of the list for glibc 2.17.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15487 Likewise.
15488
154892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15490
15491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15492
154932012-10-31 Joseph Myers <joseph@codesourcery.com>
15494
15495 [BZ #14610]
15496 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15497 for low part of x being zero before using __atanl (y).
15498 * math/libm-test.inc (atan2_test): Add another test.
15499
15500 * manual/install.texi (Configuring and compiling): Document
15501 general use of test-wrapper and test-wrapper-env.
15502 * INSTALL: Regenerated.
15503
15504 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15505 (__fma): Do not extract and scale down low bits on after-rounding
15506 systems when result rounded to normal precision would have normal
15507 exponent.
15508 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15509 (__fmal): Do not extract and scale down low bits on after-rounding
15510 systems when result rounded to normal precision would have normal
15511 exponent.
15512 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15513 (__fmal): Do not extract and scale down low bits on after-rounding
15514 systems when result rounded to normal precision would have normal
15515 exponent.
15516 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15517 macro.
15518 (fma_test): Add more tests.
15519 (fma_test_towardzero): Likewise.
15520 (fma_test_downward): Likewise.
15521 (fma_test_upward): Likewise.
15522
155232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15524
15525 * sysdeps/i386/tininess.h: Renamed to ...
15526 * sysdeps/x86/tininess.h: This.
15527 * sysdeps/x86_64/tininess.h: Removed.
15528
155292012-10-30 Joseph Myers <joseph@codesourcery.com>
15530
15531 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15532 input. Use $(build-program-cmd).
15533 ($(objpfx)tst-array1-static.out): Likewise.
15534 ($(objpfx)tst-array2.out): Likewise.
15535 ($(objpfx)tst-array3.out): Likewise.
15536 ($(objpfx)tst-array4.out): Likewise.
15537 ($(objpfx)tst-array5.out): Likewise.
15538 ($(objpfx)tst-array5-static.out): Likewise.
15539
155402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15541
15542 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15543 if defined.
15544
15545 * nss/nsswitch.h (nss_interface_function): Provide new
15546 macro for use with NSS functions.
15547 * grp/initgroups.c: Use new macro.
15548 * nss/getXXbyYY.c: Likewise.
15549 * nss/getXXbyYY_r.c: Likewise.
15550 * nss/getXXent.c: Likewise.
15551 * nss/getXXent_r.c: Likewise.
15552 * sysdeps/posix/getaddrinfo.c: Likewise.
15553
155542012-10-30 Andreas Jaeger <aj@suse.de>
15555
15556 * po/ru.po: Update Russion translation from translation project.
15557
155582012-10-30 Joseph Myers <joseph@codesourcery.com>
15559
15560 [BZ #14152]
15561 [BZ #14783]
15562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15563 result and shift together with sticky bit instead of replicating
15564 round-to-nearest rounding.
15565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15567 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15568 missing underflow exceptions.
15569 (fma_test_towardzero): Add more tests.
15570 (fma_test_downward): Likewise.
15571 (fma_test_upward): Likewise.
15572
15573 [BZ #14047]
15574 * sysdeps/generic/tininess.h: New file.
15575 * sysdeps/i386/tininess.h: Likewise.
15576 * sysdeps/sh/tininess.h: Likewise.
15577 * sysdeps/x86_64/tininess.h: Likewise.
15578 * stdlib/tst-strtod-underflow.c: Likewise.
15579 * stdlib/tst-tininess.c: Likewise.
15580 * stdlib/strtod_l.c: Include <tininess.h>.
15581 (round_and_return): Do not set errno for exact underflow cases.
15582 Force an underflow exception when setting errno for underflow.
15583 Determine underflow based on rounding to normal precision if
15584 TININESS_AFTER_ROUNDING.
15585 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15586 ERANGE for exact underflow cases.
15587 * stdlib/Makefile (tests): Add tst-tininess and
15588 tst-strtod-underflow.
15589 ($(objpfx)tst-tininess): Use $(link-libm).
15590 ($(objpfx)tst-strtod-underflow): Likewise.
15591
155922012-10-30 Andreas Jaeger <aj@suse.de>
15593
15594 [BZ#14767]
15595 * elf/Makefile (tests): Remove conditional for have-initfini-array
15596 since this is now always required and the variable does not exist
15597 anymore.
15598 (tests-static): Likewise.
15599 (modules-names): Likewise.
15600
15601 * po/eo.po: Add Esperanto translation from translation project.
15602
15603 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15604 merged with constructor/destructor.
15605 (init_array): Likewise.
15606 * elf/tst-array2dep.c (fini_array): Likewise.
15607 (init_array): Likewise.
15608
156092012-10-29 Mike Frysinger <vapier@gentoo.org>
15610
15611 * manual/message.texi: Delete @cartouche tags.
15612
156132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15614
15615 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15616 EOPNOTSUPP.
15617 * sysdeps/mach/hurd/fsync.c: Likewise.
15618
15619 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15620 [_POSIX_REALTIME_SIGNALS]: Change condition to
15621 [_POSIX_REALTIME_SIGNALS > 0].
15622
156232012-10-27 Andreas Jaeger <aj@suse.de>
15624
15625 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15626 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15628 [__WORDSIZE != 64]: Likewise.
15629
156302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15631
15632 * iconvdata/tst-table.sh: Remove ${SHELL}.
15633 * iconvdata/tst-tables.sh: Likewise.
15634
156352012-10-25 David S. Miller <davem@davemloft.net>
15636
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15638 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15639 of strtoull.
15640
15641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15642 ifunc-impl-list.c
15643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15644 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15645 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15646 file.
15647
156482012-10-25 Roland McGrath <roland@hack.frob.com>
15649
15650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15651 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15652 __getdirentries.
15653
156542012-10-25 Joseph Myers <joseph@codesourcery.com>
15655 Jim Blandy <jimb@codesourcery.com>
15656
15657 * scripts/cross-test-ssh.sh: New file.
15658 * manual/install.texi (Configuring and compiling): Document use of
15659 cross-test-ssh.sh.
15660 * INSTALL: Regenerated.
15661
156622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15663
15664 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15665 EOPNOTSUPP.
15666
156672012-10-25 Joseph Myers <joseph@codesourcery.com>
15668
15669 * Makeconfig (run-program-prefix): Fix comment.
15670
156712012-10-24 Joseph Myers <joseph@codesourcery.com>
15672 Jim Blandy <jimb@codesourcery.com>
15673
15674 * Makeconfig (test-wrapper): New variable,
15675 (test-wrapper-env): Likewise.
15676 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15677 (run-built-tests): Define to yes.
15678 (run-program-prefix): Use $(test-wrapper).
15679 (built-program-cmd): Likewise.
15680 * Rules (make-test-out): Use $(test-wrapper-env) and
15681 $(host-built-program-cmd).
15682 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15683 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15684 tst-pathopt.sh.
15685 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15686 $(test-wrapper-env) to tst-rtld-load-self.sh.
15687 ($(objpfx)order2.out): Use $(test-wrapper).
15688 ($(objpfx)tst-initorder.out): Likewise.
15689 ($(objpfx)tst-initorder2.out): Likewise.
15690 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15691 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15692 (test_wrapper_env): New variable. Use it to run ld.so.
15693 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15694 Use it to run ld.so.
15695 (test_wrapper_env): Likewise.
15696 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15697 $(test-wrapper) to run-iconv-test.sh.
15698 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15699 (ICONV): Use $test_wrapper.
15700 * posix/Makefile ($(objpfx)globtest.out): Pass
15701 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15702 globtest.sh, not $(run-program-prefix).
15703 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15704 (test_wrapper): Likewise.
15705 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15706 set together with run_via_rtld_prefix.
15707 (run_program_prefix): Define in terms of test_wrapper and
15708 run_via_rtld_prefix.
15709
157102012-10-24 Roland McGrath <roland@hack.frob.com>
15711
15712 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15713 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15714 Targets removed.
15715
15716 [BZ #14743]
15717 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15718 Declare __clock_getres, __clock_gettime, __clock_settime,
15719 __clock_nanosleep, and __clock_getcpuclockid.
15720 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15721 Remove librt_hidden_def (clock_gettime).
15722 * sysdeps/unix/clock_gettime.c: Likewise.
15723 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15725 * rt/clock_getres.c: Define __clock_getres as an alias.
15726 * sysdeps/posix/clock_getres.c: Likewise.
15727 * rt/clock_settime.c: Define __clock_settime as an alias.
15728 * sysdeps/unix/clock_settime.c: Likewise.
15729 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15730 * sysdeps/unix/clock_nanosleep.c: Likewise.
15731 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15732 * rt/clock-compat.c: New file.
15733 * rt/Makefile (librt-routines): Add clock-compat and move
15734 $(clock-routines) to ...
15735 (routines): ... here, new variable.
15736 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15737 Don't add get_clockfreq here.
15738 * rt/Versions (libc: GLIBC_2.17): New version set.
15739 Add clock_* symbols here.
15740 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15742 (GLIBC_2.17): Add clock_* symbols.
15743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15747 Likewise.
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15749 Likewise.
15750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15754 * NEWS: Mention the move.
15755
15756 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15757 Use __open, __read, __close rather than their public counterparts.
15758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15759 (__get_clockfreq_via_cpuinfo): Likewise.
15760 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15761 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15762
15763 * config.h.in (HAVE_IFUNC): New #undef.
15764 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15765 was successful.
15766 * configure: Regenerated.
15767
157682012-10-24 Mike Frysinger <vapier@gentoo.org>
15769
15770 * configure.in: Move READELF check to start of file.
15771 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15772 libc_cv_asm_gnu_indirect_function in the process.
15773 * configure: Regenerated.
15774
157752012-10-24 Mike Frysinger <vapier@gentoo.org>
15776
15777 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15778 send the output to /dev/null.
15779 (libc_cv_cc_with_libunwind): Likewise.
15780 (libc_cv_as_noexecstack): Likewise.
15781 * configure: Regenerate.
15782
157832012-10-24 Joseph Myers <joseph@codesourcery.com>
15784
15785 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15786
15787 * posix/globtest.sh (TMPDIR): Do not set.
15788 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15789 (testout): Likewise.
15790
157912012-10-24 Andreas Jaeger <aj@suse.de>
15792
15793 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15794 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15795 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15796 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15797 posix_fadvise64, posix_fallocate64.
15798
15799 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15800 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15801 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15802 Likewise.
15803 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15804 Likewise.
15805 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15806
15807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15808 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15809 <bits/fcntl-linux.h>.
15810 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15811
15812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15813 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15814 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15815 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15816 [__WORDSIZE != 64]: Likewise.
15817
158182012-10-23 Joseph Myers <joseph@codesourcery.com>
15819
15820 * Makeconfig (run-built-tests): New variable.
15821 * Rules [$(cross-compiling) = yes]: Change condition to
15822 [$(run-built-tests) = no].
15823 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15824 to [$(run-built-tests) = yes].
15825 * elf/Makefile [$(cross-compiling) = no]: Likewise
15826 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15827 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15828 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15829 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15830 * io/Makefile [$(cross-compiling) = no]: Likewise.
15831 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15832 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15833 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15834 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15835 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15836 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15837 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15838 * string/Makefile [$(cross-compiling) = no]: Likewise.
15839
15840 * posix/Makefile ($(objpfx)globtest.out): Pass
15841 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15842 $(rtld-installed-name).
15843 * posix/globtest.sh (elf_objpfx): Remove variable.
15844 (rtld_installed_name): Likewise.
15845 (library_path): Likewise.
15846 (run_program_prefix): New variable. Use for running globtest
15847 binary.
15848
158492012-10-23 Jim Blandy <jimb@codesourcery.com>
15850 Joseph Myers <joseph@codesourcery.com>
15851
15852 * Makeconfig (host-built-program-cmd): New variable.
15853 * elf/Makefile (tst-stackguard1-ARGS): Use
15854 $(host-built-program-cmd).
15855 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15856 (tst-spawn-ARGS): Likewise.
15857 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15858
158592012-10-23 Joseph Myers <joseph@codesourcery.com>
15860 Jim Blandy <jimb@codesourcery.com>
15861
15862 * Makeconfig (run-via-rtld-prefix): New variable.
15863 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15864 (built-program-cmd): Likewise.
15865
158662012-10-22 Andreas Jaeger <aj@suse.de>
15867
15868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15869 __O_RSYNC if it exists, otherwise to O_SYNC.
15870
158712012-10-22 Jim Blandy <jimb@codesourcery.com>
15872 Joseph Myers <joseph@codesourcery.com>
15873
15874 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15875 /dev/null.
15876 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15877 from /dev/null
15878 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15879 /dev/null.
15880
158812012-10-22 Andreas Jaeger <aj@suse.de>
15882
15883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15884 Define always.
15885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15886
15887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15888 bits/fcntl-linux.h.
15889
15890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15891 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15892
15893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15894 to __O_LARGEFILE.
15895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15896 to __O_LARGEFILE.
15897
158982012-10-21 Jim Blandy <jimb@codesourcery.com>
15899 Joseph Myers <joseph@codesourcery.com>
15900
15901 * config.make.in (NM): New variable.
15902
159032012-10-21 Andreas Jaeger <aj@suse.de>
15904
15905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15906 definitions and declarations that are provided by
15907 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15908
159092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15910
15911 [BZ #14683]
15912 * elf/Makefile (tests-static): Add tst-leaks1-static.
15913 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15914 ($(objpfx)tst-leaks1-static): New rule.
15915 ($(objpfx)tst-leaks1-static-mem): Likewise.
15916 (tst-leaks1-static-ENV): New macro.
15917 * elf/dl-open.c (dl_open_worker): Check the main application
15918 only if SHARED is defined.
15919 * elf/tst-leaks1-static.c: New file.
15920
159212012-10-20 Andreas Jaeger <aj@suse.de>
15922
15923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15924 generic values for Linux.
15925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15926 and declarations that are provided by <bits/fcntl-linux.h> and
15927 include <bits/fcntl-linux.h>.
15928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15930
159312012-10-20 Roland McGrath <roland@hack.frob.com>
15932
15933 * io/fcntl.h: Move include of <bits/types.h> to the top and
15934 include it unconditionally.
15935
159362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * wcsmbs/Makefile (tests-ifunc): New variable.
15939 (tests): Add $(tests-ifunc).
15940 * wcsmbs/test-wcschr-ifunc.c: New file.
15941 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15942 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15943 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15944 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15945 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15946
15947 * string/Makefile (tests-ifunc): New variable.
15948 (tests): Add $(tests-ifunc).
15949 * string/test-memccpy.c (TEST_NAME): New macro.
15950 * string/test-memchr.c (TEST_NAME): Likewise.
15951 * string/test-memcmp.c (TEST_NAME): Likewise.
15952 * string/test-memcpy.c (TEST_NAME): Likewise.
15953 * string/test-memmem.c (TEST_NAME): Likewise.
15954 * string/test-memmove.c (TEST_NAME): Likewise.
15955 * string/test-memset.c (TEST_NAME): Likewise.
15956 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15957 * string/test-stpcpy.c (TEST_NAME): Likewise.
15958 * string/test-stpncpy.c (TEST_NAME): Likewise.
15959 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15960 * string/test-strcasestr.c (TEST_NAME): Likewise.
15961 * string/test-strcat.c (TEST_NAME): Likewise.
15962 * string/test-strchr.c (TEST_NAME): Likewise.
15963 * string/test-strcmp.c(TEST_NAME): Likewise.
15964 * string/test-strcpy.c (TEST_NAME): Likewise.
15965 * string/test-strcspn.c (TEST_NAME): Likewise.
15966 * string/test-strlen.c (TEST_NAME): Likewise.
15967 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15968 * string/test-strncmp.c (TEST_NAME): Likewise.
15969 * string/test-strncpy.c (TEST_NAME): Likewise.
15970 * string/test-strnlen.c (TEST_NAME): Likewise.
15971 * string/test-strpbrk.c (TEST_NAME): Likewise.
15972 * string/test-strrchr.c (TEST_NAME): Likewise.
15973 * string/test-strspn.c (TEST_NAME): Likewise.
15974 * string/test-strstr.c (TEST_NAME): Likewise.
15975 * string/test-bcopy-ifunc.c: New file.
15976 * string/test-bzero-ifunc.c: Likewise.
15977 * string/test-memccpy-ifunc.c: Likewise.
15978 * string/test-memchr-ifunc.c: Likewise.
15979 * string/test-memcmp-ifunc.c: Likewise.
15980 * string/test-memcpy-ifunc.c: Likewise.
15981 * string/test-memmem-ifunc.c: Likewise.
15982 * string/test-memmove-ifunc.c: Likewise.
15983 * string/test-mempcpy-ifunc.c: Likewise.
15984 * string/test-memset-ifunc.c: Likewise.
15985 * string/test-rawmemchr-ifunc.c: Likewise.
15986 * string/test-stpcpy-ifunc.c: Likewise.
15987 * string/test-stpncpy-ifunc.c: Likewise.
15988 * string/test-strcasecmp-ifunc.c: Likewise.
15989 * string/test-strcasestr-ifunc.c: Likewise.
15990 * string/test-strcat-ifunc.c: Likewise.
15991 * string/test-strchr-ifunc.c: Likewise.
15992 * string/test-strchrnul-ifunc.c: Likewise.
15993 * string/test-strcmp-ifunc.c: Likewise.
15994 * string/test-strcpy-ifunc.c: Likewise.
15995 * string/test-strcspn-ifunc.c: Likewise.
15996 * string/test-strlen-ifunc.c: Likewise.
15997 * string/test-strncasecmp-ifunc.c: Likewise.
15998 * string/test-strncat-ifunc.c: Likewise.
15999 * string/test-strncmp-ifunc.c: Likewise.
16000 * string/test-strncpy-ifunc.c: Likewise.
16001 * string/test-strnlen-ifunc.c: Likewise.
16002 * string/test-strpbrk-ifunc.c: Likewise.
16003 * string/test-strrchr-ifunc.c: Likewise.
16004 * string/test-strspn-ifunc.c: Likewise.
16005 * string/test-strstr-ifunc.c: Likewise.
16006
16007 * debug/Makefile (tests-ifunc): New variable.
16008 (tests): Add $(tests-ifunc).
16009 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16010 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16011 * debug/test-stpcpy_chk-ifunc.c: New file.
16012 * debug/test-strcpy_chk-ifunc.c: Likewise.
16013
160142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16015
16016 [BZ #13601]
16017 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16018 header is not read in.
16019
160202012-10-19 Joseph Myers <joseph@codesourcery.com>
16021
16022 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16023 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16024 directly. Pass built executable to script as
16025 $(built-program-cmd).
16026 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16027 $testprogram without using LD_LIBRARY_PATH and $ldso.
16028
16029 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16030 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16031 $(rtld-installed-name).
16032 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16033 (rtld_installed_name): Likewise.
16034 (library_path): Likewise.
16035 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16036 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16037 $(run-program-prefix) to tst-tables.sh.
16038 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16039 it to run tst-table-from and tst-table-to.
16040 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16041 Pass it to tst-table.sh.
16042 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16043 $(run-program-prefix) to tst-gettext.sh.
16044 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16045 tst-translit.sh.
16046 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16047 tst-gettext2.sh.
16048 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16049 to run tst-gettext.
16050 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16051 to run tst-gettext2.
16052 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16053 to run tst-translit.
16054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16055 $(run-program-prefix) to tst-mtrace.sh.
16056 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16057 to run tst-mtrace.
16058 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16059 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16060 $(rtld-installed-name).
16061 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16062 (rtld_installed_name): Likewise.
16063 (run_program_prefix): New variable. Use it to run wordexp-test.
16064
16065 * Makeconfig (ARCH): Remove all definitions.
16066 (machine): Likewise.
16067 [ARCH]: Remove conditional code.
16068 [!objdir]: Give error.
16069 [!objdir] (objpfx): Remove.
16070 [!objdir] (common-objpfx): Likewise.
16071 [!objdir] (common-objdir): Likewise.
16072 * configure.in (config_makefile): Remove. Hardcode Makefile in
16073 AC_CONFIG_FILES call.
16074 * configure: Regenerated.
16075
16076 [BZ #13888]
16077 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16078 or TMPDIR.
16079 (testout): Likewise.
16080
16081 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16082 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16083 $(rtld-installed-name).
16084 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16085 (rtld_installed_name): Likwise.
16086 (runit): Remove function.
16087 (run_getconf): New variable, Use it for running getconf binary.
16088
160892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 [BZ #14716]
16092 * string/test-memmem.c (check_result): New function.
16093 (do_one_test): Use it.
16094 (check1): New function.
16095 (test_main): Use it.
16096
160972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16098
16099 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16100
161012012-10-18 Joseph Myers <joseph@codesourcery.com>
16102
16103 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16104 (_G_LSEEK64): Likewise.
16105 (_G_MMAP64): Likewise.
16106 (_G_FSTAT64): Likewise.
16107 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16108 (_G_LSEEK64): Likewise.
16109 (_G_MMAP64): Likewise.
16110 (_G_FSTAT64): Likewise.
16111 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16112 unconditional. Call __mmap64 directly.
16113 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16114 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16115 __lseek64 directly.
16116 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16117 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16118 __mmap64 directly.
16119 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16120 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16121 __lseek64 directly.
16122 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16123 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16124 __lseek64 directly.
16125 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16126 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16127 __lseek64 directly.
16128 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16129 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16130 __fxstat64 directly.
16131 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16132 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16133 unconditional.
16134 (freopen64) [!_G_OPEN64]: Remove conditional code.
16135 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16136 unconditional.
16137 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16138 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16139 unconditional.
16140 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16141 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16142 unconditional.
16143 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16144 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16145 unconditional.
16146 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16147 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16148 unconditional.
16149 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16150 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16151 unconditional.
16152 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16153 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16154 unconditional.
16155 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16156
161572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16158
16159 [BZ #12140]
16160 * manual/memory.texi (Malloc Tunable Parameters): Add note
16161 about free list pointers overwriting some perturb bytes.
16162 Wording suggested by Roland McGrath.
16163
161642012-10-17 Joseph Myers <joseph@codesourcery.com>
16165
16166 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16167 (lgamma_test): Likewise.
16168 (tgamma_test): Likewise.
16169
161702012-10-16 Florian Weimer <fweimer@redhat.com>
16171
16172 [BZ #14700]
16173 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16174 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16175
161762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16177
16178 * NEWS: Mention BZ #14716.
16179 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16180 when removing AVAILABLE1_USES_J macro.
16181
161822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16185 (__bswap_64): __uint64_t for unsigned 64-bit int.
16186
161872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16188
16189 * include/string.h (memmem): Declare libc hidden alias.
16190 * string/memmem.c (memmem): Define libc hidden alias.
16191 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16192 __read, __close instead of open, read, close.
16193
161942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16195
16196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16197 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16198 global and hidden.
16199 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16200 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16201 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16202 Likewise.
16203 (__rawmemchr_sse2): Likewise.
16204 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16205 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16206 (__strchr_sse2): Likewise.
16207 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16208 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16209 (__strcasecmp_sse2): Likewise.
16210 (__strncasecmp_sse2): Likewise.
16211 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16212 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16213 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16214 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16215 (__strrchr_sse2): Likewise.
16216 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16217 ifunc-impl-list.c.
16218 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16219 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16220 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16221 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16222 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16223 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16224 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16225 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16226 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16227 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16228 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16229 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16230 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16231 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16232 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16233 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16234 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16235 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16236 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16237 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16238 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16239 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16240 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16241 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16242 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16244 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16245 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16246 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16247 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16248
16249 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16250 global and hidden.
16251 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16252 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16253 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16254 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16255 Likewise.
16256 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16257 Likewise.
16258 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16259 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16260 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16261 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16262 ifunc-impl-list.c.
16263 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16265 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16266 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16267 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16268 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16269 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16270 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16271 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16272 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16273 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16277 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16278 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16280 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16281 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16282 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16283 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16284 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16285 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16286 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16287 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16288 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16289 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16290 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16291 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16292 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16293 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16294 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16295 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16296 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16303 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16304
16305 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16306 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16307 * include/ifunc-impl-list.h: New file.
16308 * misc/ifunc-impl-list.c: Likewise.
16309 * misc/Makefile (routines): Add ifunc-impl-list.
16310 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16311 * string/test-string.h: Include <ifunc-impl-list.h>.
16312 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16313 impl_array): New variables.
16314 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16315 are defined.
16316 (test_init): Call __libc_ifunc_impl_list to initialize
16317 func_list if TEST_IFUNC and TEST_NAME are defined.
16318
16319 * string/Makefile (strop-tests): Add bcopy and bzero.
16320 * string/test-bcopy.c: New file.
16321 * string/test-bzero.c: Likewise.
16322 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16323 defined.
16324 * string/test-memset.c: Support bzero test if TEST_BZERO is
16325 defined.
16326 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16327 __libc_memmove.
16328 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16329 __libc_memset.
16330 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16331 of memset.
16332
163332012-10-10 Joseph Myers <joseph@codesourcery.com>
16334
16335 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16336 * configure: Regenerated.
16337
16338 * Makeconfig (+link-static-before-libc): Don't include
16339 $(link-static-libc).
16340
16341 * libio/libio.h (_IO_pos_t): Remove.
16342
163432012-10-10 Alexandre Oliva <aoliva@redhat.com>
16344
16345 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16346 McGrath.
16347
163482012-10-10 Alexandre Oliva <aoliva@redhat.com>
16349
16350 * crypt/crypt-entry.c: Include fips-private.h.
16351 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16352 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16353 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16354 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16355
163562012-10-10 Alexandre Oliva <aoliva@redhat.com>
16357
16358 * crypt/crypt-private.h: Include stdbool.h.
16359 (_ufc_setup_salt_r): Return bool.
16360 * crypt/crypt-entry.c: Include errno.h.
16361 (__crypt_r): Return NULL with EINVAL for bad salt.
16362 * crypt/crypt_util.c (bad_for_salt): New.
16363 (_ufc_setup_salt_r): Check that salt is long enough and within
16364 the specified alphabet.
16365 * crypt/badsalttest.c: New file.
16366 * crypt/Makefile (tests): Add it.
16367 ($(objpfx)badsalttest): New.
16368
163692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16370
16371 * NEWS: Add entry for BZ #14602.
16372
163732012-10-09 Joseph Myers <joseph@codesourcery.com>
16374
16375 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16376 type-generic.
16377 * math/libm-test.inc: Update comment listing what functions and
16378 macros are tested.
16379 (isgreater_test): New function.
16380 (isgreaterequal_test): Likewise.
16381 (isless_test): Likewise.
16382 (islessequal_test): Likewise.
16383 (islessgreater_test): Likewise.
16384 (isunordered_test): Likewise.
16385 (main): Call the new functions.
16386
163872012-10-09 Roland McGrath <roland@hack.frob.com>
16388
16389 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16390 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16391 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16392 * sysdeps/i386/configure: Regenerated.
16393 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16394 * sysdeps/mach/configure: Regenerated.
16395 * sysdeps/mach/hurd/configure: Regenerated.
16396 * sysdeps/powerpc/configure: Regenerated.
16397 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16398 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16399 * sysdeps/s390/s390-32/configure: Regenerated.
16400 * sysdeps/s390/s390-64/configure: Regenerated.
16401 * sysdeps/sh/configure: Regenerated.
16402 * sysdeps/sparc/configure: Regenerated.
16403 * sysdeps/unix/sysv/linux/configure: Regenerated.
16404 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16405 * sysdeps/x86_64/configure: Regenerated.
16406
16407 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16408 defined. Don't check if MAP is NULL.
16409
164102012-10-09 Joseph Myers <joseph@codesourcery.com>
16411
16412 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16413 (_G_stat64): Likewise.
16414 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16415 (_G_stat64): Likewise.
16416 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16417 instead of struct _G_stat64.
16418 * libio/fileops.c (mmap_remap_check): Likewise.
16419 (decide_maybe_mmap): Likewise.
16420 (_IO_new_file_seekoff): Likewise.
16421 (_IO_file_stat): Likewise.
16422 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16423 _G_off64_t.
16424 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16425 instead of struct _G_stat64.
16426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16427
164282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16429
16430 [BZ #14602]
16431 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16432 Replace with ...
16433 (CHECK_EOL): New macro.
16434 (two_way_short_needle): Check beginning of haystack for EOL. Use
16435 CHECK_EOL.
16436 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16437 Replace with CHECK_EOL.
16438 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16439 Replace with CHECK_EOL.
16440
164412012-10-08 Joseph Myers <joseph@codesourcery.com>
16442
16443 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16444 type-generic.
16445 * math/libm-test.inc: Update comment listing what functions and
16446 macros are tested.
16447 (finite_test): New function.
16448 (isinf_test): Likewise.
16449 (isnan_test): Likewise.
16450 (fpclassify_test): Test subnormal input.
16451 (isfinite_test): Likewise.
16452 (isnormal_test): Likewise.
16453 (main): Call the new functions.
16454
164552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16456
16457 [BZ #14660]
16458 * Makerules (%.dynsym): Force C locale when running
16459 $(OBJDUMP) --dynamic-syms.
16460
164612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16462
16463 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16464 <stdint.h>.
16465
164662012-10-06 David S. Miller <davem@davemloft.net>
16467
16468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16469 upper 32-bits of the length value in %o2 since we use branch-on-register
16470 tests which consider the entire 64-bit register.
16471
164722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16473
16474 * string/test-strstr.c (check2): Add a test for page boundary.
16475
164762012-10-05 David S. Miller <davem@davemloft.net>
16477
16478 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16480 file.
16481 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16482 sysdep_routines.
16483 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16484 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16485 and bzero when HWCAP_SPARC_CRYPTO is present.
16486
164872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16488
16489 [BZ #14602]
16490 * string/test-strstr.c (check2): New function.
16491 (test_main): Call check2.
16492
16493 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16494 and bug-strchr1.
16495 * string/bug-strcasestr1.c (do_test): Moved to ...
16496 * string/test-strcasestr.c (check1): Here. New function.
16497 (do_one_test): Break out result checking code into ...
16498 (check_result): This. New function.
16499 (do_one_test): Call check_result.
16500 (test_main): Call check1.
16501 * string/bug-strchr1.c (do_test): Moved to ...
16502 * string/test-strchr.c (check1): Here. New function.
16503 (do_one_test): Break out result checking code into ...
16504 (check_result): This. New function.
16505 (do_one_test): Call check_result.
16506 (test_main): Call check1.
16507 * string/bug-strstr1.c (main): Moved to ...
16508 * string/test-strstr.c (check1): Here. New function.
16509 (do_one_test): Break out result checking code into ...
16510 (check_result): This. New function.
16511 (do_one_test): Call check_result.
16512 (test_main): Call check1.
16513 * string/bug-strcasestr1.c: Removed.
16514 * string/bug-strchr1.c: Likewise.
16515 * string/bug-strstr1.c: Likewise.
16516
16517 * elf/Makefile (dl-routines): Add hwcaps.
16518 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16519 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16520 (_dl_important_hwcaps): Moved to ...
16521 * elf/dl-hwcaps.c: Here. New file.
16522 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16523
16524 [BZ #14557]
16525 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16526 if IS_IN_rtld isn't defined.
16527
16528 * elf/dl-support.c (_dl_sysinfo_map): New.
16529 Include "get-dynamic-info.h" and "setup-vdso.h".
16530 (_dl_non_dynamic_init): Call setup_vdso.
16531 * elf/dynamic-link.h: Don't include <assert.h>.
16532 (elf_get_dynamic_info): Moved to ...
16533 * elf/get-dynamic-info.h: Here. New file.
16534 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16535 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16536 * elf/setup-vdso.h: Here. New file.
16537 * elf/rtld.c: Include "setup-vdso.h".
16538 (dl_main): Call setup_vdso.
16539
165402012-10-05 Joseph Myers <joseph@codesourcery.com>
16541
16542 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16543 creal in comment listing functions tested. List finite, isinf,
16544 isnan, isless, islessequal, isgreater, isgreaterequal,
16545 islessgreater, isunordered, lgamma_r and pow10 as functions and
16546 macros not tested. Mention which functions not tested are aliases
16547 for other functions. Fix typo. Note that signs of NaNs are not
16548 tested.
16549
16550 * scripts/config.guess: Update from config.git.
16551 * scripts/config.sub: Likewise.
16552
165532012-10-04 Roland McGrath <roland@hack.frob.com>
16554
16555 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16556 * misc/madvise.c (madvise): Renamed to __madvise.
16557 Make madvise a weak alias.
16558 * include/sys/mman.h: Declare __madvise.
16559 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16560 * sysdeps/unix/syscalls.list
16561 (madvise): Make __madvise the strong name, and madvise a weak alias.
16562 * sysdeps/unix/sysv/linux/syscalls.list
16563 (madvise, mmap): Remove redundant entries.
16564 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16565 * malloc/malloc.c (mtrim): Likewise.
16566 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16567
165682012-10-03 Roland McGrath <roland@hack.frob.com>
16569
16570 * sysdeps/mach/hurd/dl-cache.c: File removed.
16571 * config.h.in (USE_LDCONFIG): New #undef.
16572 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16573 * configure: Regenerated.
16574 * elf/Makefile (dl-routines): Add dl-cache only under
16575 [$(use-ldconfig) = yes].
16576 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16577 cache on [USE_LDCONFIG].
16578 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16579 [USE_LDCONFIG].
16580 * elf/rtld.c (dl_main): Likewise.
16581
165822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16583
16584 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16585 _SC_LEVEL4_CACHE_LINESIZE.
16586
165872012-10-03 Roland McGrath <roland@hack.frob.com>
16588
16589 * sysdeps/unix/bsd/confstr.h: File removed.
16590
165912012-10-02 Alexandre Oliva <aoliva@redhat.com>
16592
16593 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16594 sys/sdt-config.h.
16595
165962012-10-02 Roland McGrath <roland@hack.frob.com>
16597
16598 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16599 Make 'mapoff' field ElfW(Off) rather than off_t.
16600
166012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16602
16603 * nscd/Makefile: Remove nscd-cflags and all its users.
16604 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16605 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16606
16607 [BZ #10631]
16608 * malloc.c (malloc_printerr): Clarify error message.
16609
166102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 [BZ #14648]
16613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16614 Set bit_FMA_Usable if FMA is supported.
16615 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16616 macro.
16617 (bit_FMA4_Usable): Updated.
16618 (index_FMA_Usable): New macro.
16619 (CPUID_FMA): Likewise
16620 (HAS_FMA): Defined with bit_FMA_Usable.
16621
166222012-10-01 Roland McGrath <roland@hack.frob.com>
16623
16624 * bits/types.h (__swblk_t): Type removed.
16625 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16626 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16628 (__SWBLK_T_TYPE): Likewise.
16629 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16630 (__SWBLK_T_TYPE): Likewise.
16631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16632 (__SWBLK_T_TYPE): Likewise.
16633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16634 (__SWBLK_T_TYPE): Likewise.
16635
166362012-10-01 Patsy Franklin <pfrankli@redhat.com>
16637 Honza Horak <hhorak@redhat.com>
16638
16639 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16640 (xdr_mapname): Use YPMAXMAP as maxsize.
16641 (xdr_peername): Use YPMAXPEER as maxsize.
16642 (xdr_keydat): Use YPAXRECORD as maxsize.
16643 (xdr_valdat): Use YPMAXRECORD as maxsize.
16644
166452012-10-01 Roland McGrath <roland@hack.frob.com>
16646
16647 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16648
16649 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16650 * csu/init-first.c: ... here.
16651 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16652 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16654 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16655 * sysdeps/i386/init-first.c: File removed.
16656 * sysdeps/sh/init-first.c: File removed.
16657
166582012-10-01 Joseph Myers <joseph@codesourcery.com>
16659
16660 [BZ #14645]
16661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16662 if x * y might underflow to zero and z is zero.
16663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16665 * math/libm-test.inc (min_subnorm_value): New variable.
16666 (fma_test): Add more tests.
16667 (fma_test_towardzero): Likewise.
16668 (fma_test_downward): Likewise
16669 (fma_test_upward): Likewise.
16670 (initialize): Set min_subnorm_value.
16671
166722012-09-29 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #14638]
16675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16676 0 + 0.
16677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16678 mode for addition resulting in exact zero.
16679 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16681 exact 0 + 0.
16682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16684 * math/libm-test.inc (fma_test): Add more tests.
16685 (fma_test_towardzero): New function.
16686 (fma_test_downward): Likewise.
16687 (fma_test_upward): Likewise.
16688 (main): Call the new functions.
16689
166902012-09-28 David S. Miller <davem@davemloft.net>
16691
16692 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16693
166942012-09-28 Roland McGrath <roland@hack.frob.com>
16695
16696 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16697 instead of SIGALRM.
16698
16699 * sysdeps/gnu/_G_config.h: Moved to ...
16700 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16701 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16702 * sysdeps/generic/_G_config.h: ... here.
16703
16704 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16705
16706 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16707
16708 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16709 Conditionalize target on [libnss_test1.so-version].
16710
16711 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16712
16713 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16714 (elfobjdir): Move out of conditionals.
16715
16716 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16717 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16718 (__nss_lookup_function): Conditionalize label remove_from_tree on
16719 [!DO_STATIC_NSS || SHARED], matching its only use.
16720
167212012-09-28 David S. Miller <davem@davemloft.net>
16722
16723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16724 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16725 file.
16726 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16727 sysdep_routines.
16728 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16730 when HWCAP_SPARC_CRYPTO is present.
16731
167322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16733
16734 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16735
167362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16737
16738 [BZ #6530]
16739 * stdio-common/vfprintf.c (process_string_arg): Revert
16740 2000-07-22 change.
16741
167422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16743
16744 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16745 for testcase.
16746 * stdio-common/tst-sprintf.c: Include <locale.h>
16747 (main): Test sprintf's handling of incomplete multibyte
16748 characters.
16749
167502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16751
16752 * elf/dl-runtime.c (VERSYMIDX): Removed.
16753 * elf/dl-version.c (VERSYMIDX): Likewise.
16754 * elf/do-rel.h (VERSYMIDX): Likewise.
16755 (VALIDX): Likewise.
16756 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16757 * elf/rtld.c (VALIDX): Likewise.
16758 (ADDRIDX): Likewise.
16759 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16760 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16761 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16762 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16763 (VALIDX): Likewise.
16764 (ADDRIDX): Likewise.
16765
167662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16767
16768 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16769
167702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16771
16772 [BZ #11438]
16773 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16774 to global scope.
16775 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16776 addresses are in the same scope as 192.0.2/24.
16777 * posix/gai.conf: Document new scope table defaults.
16778
167792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16780
16781 [BZ #5298]
16782 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16783 for ftell. Compute offsets from write pointers instead.
16784 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16785
167862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16787
16788 [BZ #14543]
16789 * libio/Makefile (tests): New test case tst-fseek.
16790 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16791 combination works in wide mode.
16792 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16793 state when the external buffer state changes.
16794
167952012-09-27 David S. Miller <davem@davemloft.net>
16796
16797 [BZ #14376]
16798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16799 pass reloc->r_addend in as the 'high' argument to
16800 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16801
16802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16803
168042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16805
16806 * rt/tst-aio2.c: Include <pthread.h>.
16807 * rt/tst-aio3.c: Likewise.
16808
168092012-09-27 Steve Ellcey <sellcey@mips.com>
16810
16811 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16812
168132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16814
16815 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16816 contents on [SHARED].
16817
168182012-09-26 Marek Polacek <polacek@redhat.com>
16819
16820 [BZ #14530]
16821 [BZ #13741]
16822 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16823 for C++ and GCC <4.3 as well as for non GCC compilers.
16824
168252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16826
16827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16828
168292012-09-25 Roland McGrath <roland@hack.frob.com>
16830
16831 * Makefile.in (all, install): Declare with .PHONY.
16832 Reported by Michael Hope <michael.hope@linaro.org>.
16833
168342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16835
16836 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16837 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16838 system header.
16839 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16840 Likewise.
16841 (sydep_routines): Add the new and the internal functions.
16842 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16843 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16845 (GLIBC_2.17): Add the new function.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16847 (GLIBC_2.17): Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16849 (GLIBC_2.17): Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16851 (GLIBC_2.17): Likewise.
16852 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16853
168542012-09-25 Alan Modra <amodra@gmail.com>
16855
16856 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16857 Add release barrier before setting once_control to say
16858 initialisation is done. Add hints on lwarx. Use macro in
16859 place of isync.
16860 (clear_once_control): Add release barrier.
16861
168622012-09-25 Joseph Myers <joseph@codesourcery.com>
16863
16864 [BZ #13629]
16865 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16866 specially.
16867 * math/s_clog10.c (__clog10): Likewise.
16868 * math/s_clog10f.c (__clog10f): Likewise.
16869 * math/s_clog10l.c (__clog10l): Likewise.
16870 * math/s_clogf.c (__clogf): Likewise.
16871 * math/s_clogl.c (__clogl): Likewise.
16872 * math/Makefile (libm-calls): Add x2y2m1.
16873 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16874 (__x2y2m1): Likewise.
16875 (__x2y2m1l): Likewise.
16876 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16877 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16880 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16881 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16882 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16883 * sysdeps/i386/fpu/libm-test-ulps: Update.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16885
16886 [BZ #14621]
16887 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16888 int as type of variable DEPTH.
16889 (glob): Use size_t instead of int as type of variables NEWCOUNT
16890 and OLD_PATHC.
16891
168922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16893
16894 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16895 Add s_sincosf-sse2.
16896 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16897 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16898 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16899 macros for using routine as __sincosf_ia32.
16900 Use macro for function declaration and weak_alias.
16901 * sysdeps/i386/fpu/libm-test-ulps: Update.
16902
16903 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16905
16906 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16907 subnormal argument.
16908 * math/s_cexpf.c (__cexpf): Likewise.
16909 * math/s_csinf.c (__csinf): Likewise.
16910 * math/s_csinhf.c (__csinhf): Likewise.
16911 * math/s_ctanf.c (__ctanf): Likewise.
16912 * math/s_ctanhf.c (__ctanhf): Likewise.
16913 * math/s_ccosh.c (__ccoshf): Likewise.
16914 * math/s_cexp.c (__cexpl): Likewise.
16915 * math/s_csin.c (__csin): Likewise.
16916 * math/s_csinh.c (__csinh): Likewise.
16917 * math/s_ctan.c (__ctan): Likewise.
16918 * math/s_ctanh.c (ctanh): Likewise.
16919 * math/s_ccoshl.c (__ccoshl): Likewise.
16920 * math/s_cexpl.c (__cexpl): Likewise.
16921 * math/s_csinl.c (__csinl): Likewise.
16922 * math/s_csinhl.c (__csinhl): Likewise.
16923 * math/s_ctanl.c (__ctanl): Likewise.
16924 * math/s_ctanhl.c (__ctanhl): Likewise.
16925
169262012-09-25 Joseph Myers <joseph@codesourcery.com>
16927
16928 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16929 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16930 (_IO_off_t): Define to __off_t, not _G_off_t.
16931 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16932 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16933 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16934 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16935 type of __dummy and __dummy2 fields.
16936 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16937 (_G_ssize_t): Likewise.
16938 (_G_off_t): Likewise.
16939 (_G_pid_t): Likewise.
16940 (_G_uid_t): Likewise.
16941 (_G_wchar_t): Likewise.
16942 (_G_wint_t): Likewise.
16943 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16944 (_G_ssize_t): Likewise.
16945 (_G_off_t): Likewise.
16946 (_G_pid_t): Likewise.
16947 (_G_uid_t): Likewise.
16948 (_G_wchar_t): Likewise.
16949 (_G_wint_t): Likewise.
16950 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16951 (_G_ssize_t): Likewise.
16952 (_G_off_t): Likewise.
16953 (_G_pid_t): Likewise.
16954 (_G_uid_t): Likewise.
16955 (_G_wchar_t): Likewise.
16956 (_G_wint_t): Likewise.
16957
169582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 * malloc/arena.c: Include malloc-sysdep.h.
16961 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16962 is sufficient to shrink the heap or an unmap is needed.
16963 * sysdeps/generic/malloc-sysdep.h: New file. Define
16964 new function check_may_shrink_heap.
16965 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16966 new function check_may_shrink_heap.
16967
169682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16969
16970 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16971 comments.
16972
169732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16974
16975 * catgets/test-gencat.sh: Add "set -e".
16976 * elf/tst-pathopt.sh: Likewise.
16977 * grp/tst_fgetgrent.sh: Likewise.
16978 * iconvdata/run-iconv-test.sh: Likewise.
16979 * intl/tst-gettext.sh: Likewise.
16980 * intl/tst-gettext2.sh: Likewise.
16981 * intl/tst-gettext4.sh: Likewise.
16982 * intl/tst-gettext6.sh: Likewise.
16983 * intl/tst-translit.sh: Likewise.
16984 * io/ftwtest-sh: Likewise.
16985 * libio/test-freopen.sh: Likewise.
16986 * malloc/tst-mtrace.sh: Likewise.
16987 * posix/globtest.sh: Likewise.
16988 * posix/tst-getconf.sh: Likewise.
16989 * posix/wordexp-tst.sh: Likewise.
16990 * stdio-common/tst-printf.sh: Likewise.
16991 * stdio-common/tst-unbputc.sh: Likewise.
16992 * stdlib/tst-fmtmsg.sh: Likewise.
16993 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16994 * catgets/Makefile: Do not specify -e option when running
16995 testsuite shell scripts.
16996 * elf/Makefile: Likewise.
16997 * grp/Makefile: Likewise.
16998 * iconvdata/Makefile: Likewise.
16999 * intl/Makefile: Likewise.
17000 * io/Makefile: Likewise.
17001 * libio/Makefile: Likewise.
17002 * malloc/Makefile: Likewise.
17003 * posix/Makefile: Likewise.
17004 * stdio-common/Makefile: Likewise.
17005 * stdlib/Makefile: Likewise.
17006 * sysdeps/x86_64/Makefile: Likewise.
17007
17008 * io/ftwtest-sh: Add copyright header.
17009 * posix/globtest.sh: Likewise.
17010 * posix/tst-getconf.sh: Likewise.
17011 * posix/wordexp-tst.sh: Likewise.
17012 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17013
170142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17015
17016 [BZ #13679]
17017 * Makeconfig (+link): Defined as $(+link-static) if
17018 $(build-shared) isn't yes.
17019 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17020 isn't yes.
17021 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17022
17023 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17024
17025 [BZ #14562]
17026 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17027 new chunk size with MALLOC_ALIGN_MASK.
17028
170292012-09-24 Joseph Myers <joseph@codesourcery.com>
17030
17031 [BZ #5044]
17032 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17033 <rounding-mode.h>.
17034 (__printf_fphex): Determine rounding using get_rounding_mode and
17035 round_away.
17036 * stdio-common/tst-printf-round.c (struct hex_test): New
17037 structure.
17038 (hex_tests): New variable.
17039 (test_hex_in_one_mode): New function.
17040 (do_test): Also run tests for hex float output.
17041
170422012-09-21 Joseph Myers <joseph@codesourcery.com>
17043
17044 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17045 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17046 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17047 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17048 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17049 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17050 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17051 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17052
170532012-09-20 Joseph Myers <joseph@codesourcery.com>
17054
17055 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17056 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17057 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17058 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17059
170602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17061
17062 [BZ #14579]
17063 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17064 mode only.
17065 * elf/tst-rtld-load-self.sh: New test.
17066 * elf/Makefile: Run it.
17067
170682012-09-18 Joseph Myers <joseph@codesourcery.com>
17069
17070 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17071 (tst-writev-ENV): Remove.
17072 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17073
170742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17075
17076 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17077
170782012-09-17 Joseph Myers <joseph@codesourcery.com>
17079
17080 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17081 unconditional.
17082 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17083 Likewise.
17084 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17085 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17087 Likewise.
17088
170892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17090
17091 [BZ #14587]
17092 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17093 * config.make.in (have-cpp-asm-debuginfo): Removed.
17094 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17095 * configure: Regenerated.
17096
170972012-09-14 Joseph Myers <joseph@codesourcery.com>
17098
17099 [BZ #5044]
17100 * stdio-common/printf_fp.c: Include <stdbool.h> and
17101 <rounding-mode.h>.
17102 (___printf_fp): Determine rounding using get_rounding_mode and
17103 round_away.
17104 * stdio-common/tst-printf-round.c: New file.
17105 * stdio-common/Makefile (tests): Add tst-printf-round.
17106 (link-libm): New variable.
17107 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17108
171092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 [BZ #14576]
17112 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17113 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17114 Likewise.
17115 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17116 Likewise.
17117
171182012-09-13 Joseph Myers <joseph@codesourcery.com>
17119
17120 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17121 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17122 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17124
171252012-09-12 Joseph Myers <joseph@codesourcery.com>
17126
17127 [BZ #14518]
17128 * include/rounding-mode.h: New file.
17129 * sysdeps/generic/get-rounding-mode.h: Likewise.
17130 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17131 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17132 (MAX_VALUE): New macro.
17133 (MIN_VALUE): Likewise.
17134 (overflow_value): New function.
17135 (underflow_value): Likewise.
17136 (round_and_return): Use overflow_value and underflow_value to
17137 determine return values in overflow and underflow cases. Use
17138 round_away to determine rounding depending on rounding mode.
17139 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17140 determine return values in overflow and underflow cases.
17141 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17142 (struct test_results): New structure.
17143 (struct test): Use struct test_results to store expected results
17144 for all rounding modes.
17145 (TEST): Include expected results for all rounding modes.
17146 (test_in_one_mode): New function.
17147 (do_test): Use test_in_one_mode to compute and check results.
17148 Check results for all rounding modes.
17149 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17150 $(link-libm).
17151
171522012-12-09 Allan McRae <allan@archlinux.org>
17153
17154 * sysdeps/i386/fpu/libm-test-ulps: Update
17155
171562012-09-11 Joseph Myers <joseph@codesourcery.com>
17157
17158 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17159 (_G_int32_t): Likewise.
17160 (_G_uint16_t): Likewise.
17161 (_G_uint32_t): Likewise.
17162 (_G_HAVE_BOOL): Likewise.
17163 (_G_HAVE_ATEXIT): Likewise.
17164 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17165 (_G_HAVE_IO_FILE_OPEN): Likewise.
17166 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17167 (_G_int32_t): Likewise.
17168 (_G_uint16_t): Likewise.
17169 (_G_uint32_t): Likewise.
17170 (_G_HAVE_BOOL): Likewise.
17171 (_G_HAVE_ATEXIT): Likewise.
17172 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17173 (_G_HAVE_IO_FILE_OPEN): Likewise.
17174 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17175 (_G_int32_t): Likewise.
17176 (_G_uint16_t): Likewise.
17177 (_G_uint32_t): Likewise.
17178 (_G_HAVE_BOOL): Likewise.
17179 (_G_HAVE_ATEXIT): Likewise.
17180 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17181 (_G_HAVE_IO_FILE_OPEN): Likewise.
17182
171832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 * csu/libc-tls.c: Update copyright years.
17186
171872012-09-10 Joseph Myers <joseph@codesourcery.com>
17188
17189 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17190 [!_G_USING_THUNKS]: Remove conditional code.
17191 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17192 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17193
17194 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17195 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17196 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17197 (_G_VTABLE_LABEL_PREFIX): Likewise.
17198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17199 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17201 (_G_VTABLE_LABEL_PREFIX): Likewise.
17202 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17203 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17204 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17205 (_G_VTABLE_LABEL_PREFIX): Likewise.
17206 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17207
172082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17209
17210 * libio/Makefile: Include ../Makeconfig before tests.
17211 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17212 only if $(build-shared) is yes.
17213
17214 * iconv/gconv_db.c: Update copyright years.
17215
172162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17217
17218 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17219 unwind info if defined PIC. Fix special cases description.
17220 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17221
17222 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17223 DP_HI_MASK entry.
17224 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17225
172262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17229
17230 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17231 is NULL.
17232
17233 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17234 (LDLIBS-tst-chk4): This.
17235 (LDFLAGS-tst-chk5): Renamed to ...
17236 (LDLIBS-tst-chk5): This.
17237 (LDFLAGS-tst-chk6): Renamed to ...
17238 (LDLIBS-tst-chk6): This.
17239 (LDFLAGS-tst-lfschk4): Renamed to ...
17240 (LDLIBS-tst-lfschk4): This.
17241 (LDFLAGS-tst-lfschk5): Renamed to ...
17242 (LDLIBS-tst-lfschk5): This.
17243 (LDFLAGS-tst-lfschk6): Renamed to ...
17244 (LDLIBS-tst-lfschk6): This.
17245
17246 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17247 on $(common-objpfx)soversions.mk.
17248
172492012-09-07 Joseph Myers <joseph@codesourcery.com>
17250
17251 [BZ #10014]
17252 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17253 example host name.
17254
172552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17256
17257 * malloc/arena.c (arena_get_retry): New function that gets
17258 another arena for the caller to try its request on.
17259 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17260 current arena cannot fulfill the request.
17261 (__libc_memalign): Likewise.
17262 (__libc_memalign): Likewise.
17263 (__libc_pvalloc): Likewise.
17264 (__libc_calloc): Likewise.
17265
172662012-09-05 John Tobey <john.tobey@gmail.com>
17267
17268 [BZ #13542]
17269 * manual/arith.texi (Operations on Complex): Fix description
17270 of carg branch cut.
17271
172722012-09-06 Joseph Myers <joseph@codesourcery.com>
17273
17274 [BZ #10014]
17275 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17276 host name.
17277
17278 [BZ #10038]
17279 * manual/memory.texi (Memory): Make order of menu items match
17280 order of sections.
17281
172822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17283
17284 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17285 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17286 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17287
172882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17289
17290 * csu/libc-tls.c (static_dtv): Renamed to ...
17291 (_dl_static_dtv): This. Make it global.
17292 (_dl_initial_dtv): Removed.
17293 (__libc_setup_tls): Updated.
17294 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17295 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17296 DL_INITIAL_DTV.
17297
172982012-09-06 Petr Machata <pmachata@redhat.com>
17299
17300 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17301 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17302 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17303 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17304
173052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17306
17307 [BZ #14545]
17308 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17309 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17310 freeing dtv[-1].
17311
173122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 [BZ #14544]
17315 * Makeconfig (link-static-before-libc): Replace $(+prector)
17316 with $(+prectorT).
17317 (link-static-after-libc): Replace $(+postctor) with
17318 $(+postctorT).
17319 (link-bounded): Replace $(+prector)/$(+postctor) with
17320 $(+prectorT)/$(+postctorT).
17321 (+prectorT): New macro.
17322 (+postctorT): Likewise.
17323
173242012-09-06 Joseph Myers <joseph@codesourcery.com>
17325
17326 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17327 (round_str): Handle values above the maximum for IBM long double
17328 as inexact.
17329 * stdlib/tst-strtod-round.c (tests): Regenerated.
17330
173312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17332
17333 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17334 assembler flag.
17335 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17336 zarch_nohighgprs around the zarch optimized routines.
17337 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17338 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17339 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17340 for zarch.
17341
173422012-09-05 David S. Miller <davem@davemloft.net>
17343
17344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17345
17346 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17347 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17348 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17349 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17350 entries.
17351
173522012-09-05 Alexandre Oliva <aoliva@redhat.com>
17353
17354 * malloc/arena.c: Fold copyright years.
17355 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17356
173572012-09-05 Alexandre Oliva <aoliva@redhat.com>
17358
17359 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17360
173612012-09-05 Alexandre Oliva <aoliva@redhat.com>
17362
17363 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17364
173652012-09-05 Alexandre Oliva <aoliva@redhat.com>
17366
17367 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17368 change internal state upon failure.
17369
173702012-09-05 Alexandre Oliva <aoliva@redhat.com>
17371
17372 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17373 * malloc/memusage.c (mmap): Likewise.
17374 (mmap64, mremap): Likewise. Adjust name in comment.
17375
173762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17377
17378 * libio/fileops.c: Fix typos in comments.
17379 * libio/oldfileops.c: Likewise.
17380 * libio/wfileops.c: Likewise.
17381
173822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17383
17384 [BZ #1349]
17385 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17386 (tst-malloc-usable-ENV): Set environment for test case.
17387 * malloc/hooks.c (malloc_check_get_size): New function to get
17388 requested size.
17389 * malloc/malloc.c (musable): Use malloc_check_get_size.
17390 * malloc/tst-malloc-usable.c: New test case.
17391
173922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17393
17394 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17395
173962012-09-05 Allan McRae <allan@archlinux.org>
17397
17398 [BZ #13966]
17399 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17400 determine header location.
17401 * configure: Regenerated.
17402
174032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17404
17405 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17406 float format.
17407 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17408 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17409 format.
17410 (test): Regenerate.
17411
174122012-09-04 David S. Miller <davem@davemloft.net>
17413
17414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17417
174182012-09-04 Florian Weimer <fweimer@redhat.com>
17419
17420 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17421 failures.
17422
17423 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17424
174252012-09-04 Joseph Myers <joseph@codesourcery.com>
17426
17427 [BZ #9914]
17428 * libio/iogetdelim.c: Include <limits.h>.
17429 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17430 + len + 1 would overflow.
17431
174322012-09-03 Andreas Jaeger <aj@suse.de>
17433
17434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436
174372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17438
17439 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17440 Add s_sinf-sse2, s_conf-sse2.
17441
17442 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17443 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17444 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17445 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17446
17447 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17448 for using routine as __sinf_ia32.
17449 Use macro for function declaration and weak_alias.
17450 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17451 for using routine as __cosf_ia32.
17452 Use macro for function declaration and weak_alias.
17453
17454 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17455 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17456
17457 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17458 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17460
17461 * math/libm-test.inc (cos_test): Add more test cases.
17462 (sin_test): Likewise.
17463 (sincos_test): Likewise.
17464
174652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17466
17467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17468 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17469 hidden.
17470 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17471
174722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17473
17474 [BZ #14538]
17475 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17476 first element of the GOT.
17477 (elf_machine_load_address): Return the difference between
17478 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17479
174802012-09-01 Allan McRae <allan@archlinux.org>
17481
17482 [BZ #13412]
17483 * configure.in (AWK): Require gawk version 3.0 or later.
17484 * configure: Regenerated.
17485
174862012-09-01 Joseph Myers <joseph@codesourcery.com>
17487
17488 * sysdeps/unix/sysv/linux/kernel-features.h
17489 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17490 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17491 [__NR_clock_getres]: Make code unconditional.
17492 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17493 (clock_getcpuclockid): Remove code left unreachable by removal of
17494 conditionals.
17495 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17496 code unconditional.
17497 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17499 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17500 Make code unconditional.
17501 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17502 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17503 * sysdeps/unix/sysv/linux/clock_settime.c
17504 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17505 conditional code.
17506 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17507 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17508
175092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 [BZ #14476]
17512 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17513 scripts/test-installation.pl.
17514
17515 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17516 and $ld_so_version if it is set.
17517
175182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17519
17520 [BZ #14516]
17521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17522 failure if reading from procfs failed.
17523 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17524
175252012-08-27 Joseph Myers <joseph@codesourcery.com>
17526
17527 * sysdeps/unix/sysv/linux/kernel-features.h
17528 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17529 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17530 Remove conditional code.
17531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17532 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17533 Remove conditional code.
17534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17535 * sysdeps/unix/sysv/linux/i386/fxstat.c
17536 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17538 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17539 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17541 * sysdeps/unix/sysv/linux/i386/lxstat.c
17542 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17544 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17545 Remove conditional code.
17546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17547 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17548 Remove conditional code.
17549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17550 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17551 <kernel-features.h>.
17552 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17553 Remove.
17554 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17555 Remove conditional code.
17556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17557 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17558 Remove conditional.
17559
175602012-08-27 Mike Frysinger <vapier@gentoo.org>
17561
17562 [BZ #5400]
17563 * NEWS: Add fixed bug number.
17564
175652012-08-27 Joseph Myers <joseph@codesourcery.com>
17566
17567 [BZ #14519]
17568 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17569 underflowing exponent in case of negative sign.
17570 * stdlib/tst-strtod-round-data: Add more tests.
17571 * stdlib/tst-strtod-round.c (tests): Regenerated.
17572
17573 [BZ #3479]
17574 * stdlib/strtod_l.c (NDIG): Remove.
17575 (HEXNDIG): Likewise.
17576 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17577 smallest representable value.
17578 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17579 lie within an exact representation of 1/2 ulp of the result.
17580 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17581 unconditionally.
17582 (TENS_P9_IDX): Define unconditionally.
17583 (TENS_P9_SIZE): Likewise.
17584 (TENS_P10_IDX): Likewise.
17585 (TENS_P10_SIZE): Likewise.
17586 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17587 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17588 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17589 entries for 10^2^13 and 10^2^14.
17590 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17591 (TENS_P13_IDX): Define.
17592 (TENS_P13_SIZE): Likewise.
17593 (TENS_P14_IDX): Likewise.
17594 (TENS_P14_SIZE): Likewise.
17595 (_fpioconst_pow10): Change array size to
17596 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17597 unconditional.
17598 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17599 1024]: Add entries for 10^2^13 and 10^2^14.
17600 [LAST_POW10 > _LAST_POW10]: Remove #error.
17601 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17602 (_fpioconst_pow10): Change array size to
17603 FPIOCONST_POW10_ARRAY_SIZE.
17604 * stdlib/gen-fpioconst.c: New file.
17605 * stdlib/gen-tst-strtod-round.c: Likewise.
17606 * stdlib/tst-strtod-round-data: Likewise.
17607 * stdlib/tst-strtod-round.c: Likewise.
17608 * stdlib/Makefile (tests): Add tst-strtod-round.
17609
17610 [BZ #14459]
17611 * stdlib/strtod_l.c: Include <stdint.h>.
17612 (NDEBUG): Do not define.
17613 (round_and_return): Change EXPONENT parameter to type intmax_t.
17614 Rearrange calculations to avoid internal overflow possibilities.
17615 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17616 Rearrange calculations to avoid internal overflow possibilities.
17617 Assert that number fits inside MPNSIZE limbs.
17618 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17619 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17620 calculations and add assertions to avoid internal overflow
17621 possibilities. Add casts to avoid signed/unsigned operations.
17622 * stdlib/tst-strtod-overflow.c: New file.
17623 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17624
176252012-08-25 Marek Polacek <polacek@redhat.com>
17626
17627 * time/time.h: Fix some typos in comments.
17628
176292012-08-23 Roland McGrath <roland@hack.frob.com>
17630
17631 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17632 * posix/tst-rfc3484-2.c: Likewise.
17633 * posix/tst-rfc3484-3.c: Likewise.
17634
176352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17636
17637 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17638 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17639
176402012-08-23 Joseph Myers <joseph@codesourcery.com>
17641
17642 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17643 #include of fxstatat64.c.
17644
176452012-08-22 Roland McGrath <roland@hack.frob.com>
17646
17647 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17648 * shadow/getspent_r.c: Likewise.
17649 * shadow/getspnam.c: Likewise.
17650 * shadow/getspnam_r.c: Likewise.
17651 * gshadow/getsgent.c: Likewise.
17652 * gshadow/getsgent_r.c: Likewise.
17653 * gshadow/getsgnam.c: Likewise.
17654 * gshadow/getsgnam_r.c: Likewise.
17655 * inet/getnetbyad.c: Likewise.
17656 * inet/getnetbyad_r.c: Likewise.
17657 * inet/getnetbynm.c: Likewise.
17658 * inet/getnetbynm_r.c: Likewise.
17659 * inet/getnetent.c: Likewise.
17660 * inet/getnetent_r.c: Likewise.
17661 * inet/getproto.c: Likewise.
17662 * inet/getproto_r.c: Likewise.
17663 * inet/getprtent.c: Likewise.
17664 * inet/getprtent_r.c: Likewise.
17665 * inet/getprtname.c: Likewise.
17666 * inet/getprtname_r.c: Likewise.
17667 * inet/getrpcbyname.c: Likewise.
17668 * inet/getrpcbyname_r.c: Likewise.
17669 * inet/getrpcbynumber.c: Likewise.
17670 * inet/getrpcbynumber_r.c: Likewise.
17671 * inet/getrpcent.c: Likewise.
17672 * inet/getrpcent_r.c: Likewise.
17673 * inet/getaliasent.c: Likewise.
17674 * inet/getaliasent_r.c: Likewise.
17675 * inet/getaliasname.c: Likewise.
17676 * inet/getaliasname_r.c: Likewise.
17677 * nscd/getgrgid_r.c: Likewise.
17678 * nscd/getgrnam_r.c: Likewise.
17679 * nscd/gethstbyad_r.c: Likewise.
17680 * nscd/gethstbynm3_r.c: Likewise.
17681 * nscd/getpwnam_r.c: Likewise.
17682 * nscd/getpwuid_r.c: Likewise.
17683 * nscd/getsrvbynm_r.c: Likewise.
17684 * nscd/getsrvbypt_r.c: Likewise.
17685 * nscd/gai.c: Likewise.
17686
17687 * configure.in (build_nscd): New substituted variable, set
17688 by --disable-build-nscd and defaults to $use_nscd.
17689 * configure: Regenerated.
17690 * config.make.in (build-nscd): New substituted variable.
17691 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17692 Change conditional to require [$(build-nscd) = yes] as well.
17693 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17694
17695 [BZ# 13696]
17696 * configure.in (use_nscd): New substituted variable, set by
17697 --disable-nscd. If enabled, define USE_NSCD.
17698 * configure: Regenerated.
17699 * config.h.in: Add USE_NSCD.
17700 * config.make.in (use-nscd): New substituted variable.
17701 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17702 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17703 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17704 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17705 (CFLAGS-getgrnam_r.c): Likewise.
17706 (CFLAGS-initgroups.c): Likewise.
17707 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17708 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17709 Variables removed.
17710 * inet/getnetgrent_r.c
17711 (nscd_setnetgrent): New function, broken out of ...
17712 (setnetgrent): ... here. Call it.
17713 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17714 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17715 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17716 * nscd/Makefile (routines, aux): Move definitions after include of
17717 Makeconfig. Conditionalize on [$(use-nscd) != no].
17718 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17719 Conditionalize on [USE_NSCD].
17720 (is_nscd, nscd_init_cb): Likewise.
17721 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17722 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17723 * nss/nss_db/db-init.c: Likewise.
17724 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17725 [USE_NSCD].
17726 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17727 (make_request): Use it.
17728 (cache_valid_p): New function.
17729 (__check_pf): Use it.
17730 * NEWS: Add item for --disable-nscd.
17731
177322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17733
17734 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17735 to support sed >= 4.2.1-20-ga9bf076.
17736 * configure: Regenerated.
17737
177382012-08-22 Roland McGrath <roland@hack.frob.com>
17739
17740 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17741 Conditionalize whole body on [IREL].
17742
177432012-08-22 Jeff Law <law@redhat.com>
17744
17745 [BZ #14505]
17746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17747 if the family is PF_UNSPEC.
17748
177492012-08-22 Mike Frysinger <vapier@gentoo.org>
17750
17751 * Makerules (lib-version): Rename from V.
17752 (install-lib-nosubdir): Change V to lib-version.
17753
177542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17755
17756 [BZ #14252]
17757 * powerpc32/power6/wcschr.c: New file.
17758 * powerpc32/power6/wcscpy.c: New file.
17759 * powerpc32/power6/wcsrchr.c: New file.
17760 * powerpc64/power6/wcschr.c: New file.
17761 * powerpc64/power6/wcscpy.c: New file.
17762 * powerpc64/power6/wcsrchr.c: New file.
17763
177642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17765
17766 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17767 (two_way_short_needle): Use it.
17768 * string/strstr.c (AVAILABLE1_USES_J): Define.
17769 * string/strcasestr.c: Likewise.
17770
17771 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17772 array references.
17773 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17774
17775 [BZ #11607]
17776 * NEWS: Add an entry.
17777 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17778 define their defaults.
17779 (two_way_short_needle): Detect end-of-string on-the-fly.
17780 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17781 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17782 * string/bug-strcasestr1.c: New test.
17783 * string/Makefile: Run it.
17784
177852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17786
17787 [BZ #11607]
17788 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17789 the first character.
17790
177912012-08-21 Roland McGrath <roland@hack.frob.com>
17792
17793 * csu/elf-init.c (__libc_csu_irel): Function removed.
17794 * csu/libc-start.c (apply_irel): New function.
17795 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17796
177972012-08-21 Joseph Myers <joseph@codesourcery.com>
17798
17799 * sysdeps/unix/sysv/linux/kernel-features.h
17800 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17801 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17802 <kernel-features.h>.
17803 [__NR_fadvise64_64]: Make code unconditional.
17804 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17805 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17806 !__NR_fadvise64_64)]: Likewise.
17807 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17808 !__NR_fadvise64_64))]: Likewise.
17809 [__NR_fadvise64]: Make code unconditional.
17810 [!__NR_fadvise64]: Remove conditional code.
17811 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17812 <kernel-features.h>.
17813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17814 unconditional.
17815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17816 conditional code.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17818 not include <kernel-features.h>.
17819 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17820 unconditional.
17821 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17822 conditional code.
17823 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17824 include <kernel-features.h>.
17825 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17826 unconditional.
17827 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17828 conditional code.
17829
178302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17831
17832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17833 slight instruction rearrangements per scrollpipe analysis.
17834 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17835
178362012-08-20 Roland McGrath <roland@hack.frob.com>
17837
17838 * manual/syslog.texi (syslog; vsyslog, closelog):
17839 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17840 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17841
17842 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17843 DSOCAPS to match condition on defining it.
17844
178452012-08-20 Joseph Myers <joseph@codesourcery.com>
17846
17847 * sysdeps/unix/sysv/linux/kernel-features.h
17848 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17850 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17851 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17853 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17854 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17856 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17857 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17858
17859 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17860 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17861
17862 * sysdeps/unix/sysv/linux/kernel-features.h
17863 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17864 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17865 unconditional.
17866 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17867 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17868 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17869 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17870 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17871 Make code unconditional.
17872 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17873 (__mmap64) [!__NR_mmap2]: Likewise.
17874 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17875 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17876 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17877 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17878 [__NR_mmap2]: Make code unconditional.
17879 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17880 (__mmap64) [!__NR_mmap2]: Likewise.
17881
178822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17883
17884 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17885
178862012-08-18 Andreas Jaeger <aj@suse.de>
17887
17888 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17889
178902012-08-18 Mike Frysinger <vapier@gentoo.org>
17891
17892 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17893 * include/unistd.h (__have_sock_cloexec): Likewise.
17894 (__have_pipe2): Likewise.
17895 (__have_dup3): Likewise.
17896
178972012-08-18 Mike Frysinger <vapier@gentoo.org>
17898
17899 [BZ #9685]
17900 * include/unistd.h (__have_pipe2): Change define into an extern int.
17901 (__have_dup3): Likewise.
17902 * socket/have_sock_cloexec.c: Include fcntl.h.
17903 (__have_pipe2): New variable.
17904 (__have_dup3): Likewise.
17905
179062012-08-17 Mike Frysinger <vapier@gentoo.org>
17907
17908 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17909
179102012-08-17 Marek Polacek <polacek@redhat.com>
17911
17912 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17913 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17914
179152012-08-17 Roland McGrath <roland@hack.frob.com>
17916
17917 * configure.in: Add AC_SUBST for sysheaders.
17918 * configure: Regenerated.
17919 * config.make.in (sysheaders): New substituted variable.
17920
17921 * sysdeps/unix/mkfifo.c: Moved ...
17922 * sysdeps/posix/mkfifo.c: ... here.
17923 * sysdeps/unix/mkfifoat.c: Moved ...
17924 * sysdeps/posix/mkfifoat.c: ... here.
17925
17926 * sysdeps/unix/utime.c: Moved ...
17927 * sysdeps/posix/utime.c: ... here.
17928
17929 * sysdeps/unix/time.c: Moved ...
17930 * sysdeps/posix/time.c: ... here.
17931 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17932 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17933
17934 * sysdeps/unix/nice.c: Moved ...
17935 * sysdeps/posix/nice.c: ... here.
17936
17937 * sysdeps/unix/alarm.c: Moved ...
17938 * sysdeps/posix/alarm.c: ... here.
17939
17940 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17941
179422012-08-17 Jeff Law <law@redhat.com>
17943
17944 * intl/Makefile (codeset_mo): New variable.
17945 ($(codeset_mo)): New target.
17946 (tst-codeset.out): Depend on that. Remove explicit rule.
17947 (tst-gettext3.out, tst-gettext5.out): Likewise.
17948 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17949 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17950 * intl/tst-codeset.sh: Remove.
17951 * intl/tst-gettext3.sh: Likewise.
17952 * intl/tst-gettext5.sh: Likewise.
17953
179542012-08-17 Roland McGrath <roland@hack.frob.com>
17955
17956 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17957 * sysdeps/unix/syscalls.list: ... here.
17958
17959 * sysdeps/posix/getaddrinfo.c
17960 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17961 (gaiconf_init, gaiconf_reload): Use them.
17962 [!_STATBUF_ST_NSEC]
17963 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17964 Define using time_t rather than struct timespec.
17965
17966 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17967 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17968 Macros removed.
17969 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17970 [!NO_THREADS].
17971 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17972 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17973 Likewise.
17974
17975 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17976 __libc_cleanup_push argument.
17977
17978 * bits/param.h: New file.
17979 * misc/sys/param.h: New file.
17980 * include/sys/param.h: New file.
17981 * misc/Makefile (headers): Add bits/param.h.
17982 * sysdeps/generic/sys/param.h: File removed.
17983 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17984 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17985 * sysdeps/mach/hurd/bits/param.h: New file.
17986 * sysdeps/mach/hurd/sys/param.h: File removed.
17987
17988 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17989 last change.
17990
17991 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17992 [_IO_MTSAFE_IO].
17993 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17994 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17995 New macros.
17996
17997 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17998 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17999 rather than -D_IO_MTSAFE_IO conditionally.
18000 * stdio-common/Makefile (CPPFLAGS): Likewise.
18001 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18002 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18003 Use $(libio-mtsafe).
18004 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18005 of -D_IO_MTSAFE_IO.
18006 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18007 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18008 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18009 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18010 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18011 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18012 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18013 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18014 (CFLAGS-fread_u_chk.c): Likewise.
18015 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18016 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18017 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18018 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18019 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18020 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18021 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18022 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18023 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18024
18025 * libio/Makefile: Test [$(libc-reentrant) = yes]
18026 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18027
18028 * Makeconfig
18029 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18030 * sysdeps/pthread/configure: File removed.
18031 * sysdeps/pthread/Makeconfig: New file.
18032 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18033 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18034
180352012-08-16 Gary Benson <gbenson@redhat.com>
18036
18037 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18038 unmapping the first object in a namespace.
18039
180402012-08-16 Roland McGrath <roland@hack.frob.com>
18041
18042 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18043 (__internal_setnetgrent): ... this. Add internal_function to
18044 definition. Add libc_hidden_def.
18045 (setnetgrent): Update caller.
18046 (internal_endnetgrent): Renamed to ...
18047 (__internal_endnetgrent): ... this. Add internal_function to
18048 definition. Add libc_hidden_def.
18049 (endnetgrent): Update caller.
18050 (internal_getnetgrent_r): Renamed to ...
18051 (__internal_getnetgrent_r): ... this. Add internal_function to
18052 definition. Add libc_hidden_def.
18053 (__getnetgrent_r): Update caller.
18054 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18055
180562012-08-16 Joseph Myers <joseph@codesourcery.com>
18057
18058 * stdlib/longlong.h: Update from GCC.
18059
180602012-08-16 Roland McGrath <roland@hack.frob.com>
18061
18062 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18063 on _QL, which is set by umul_ppmm but never used.
18064 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18065 variables, which are set by GMP macros but never used.
18066 * stdio-common/_itowa.c (_itowa): Likewise.
18067 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18068 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18069
180702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18071
18072 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18073 struct La_sh_regs is not constant.
18074 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18075 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18076 and struct La_sparc64_regs are not constant.
18077
180782012-08-16 Joseph Myers <joseph@codesourcery.com>
18079
18080 * sysdeps/unix/sysv/linux/kernel-features.h
18081 (__ASSUME_POSIX_TIMERS): Remove.
18082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18084 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18085 Make code unconditional.
18086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18087 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18088 Make code unconditional.
18089 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18090 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18091 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18092 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18093 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18094 Make code unconditional.
18095 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18096 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18097 (__libc_missing_posix_timers): Remove.
18098
180992012-08-15 Roland McGrath <roland@hack.frob.com>
18100
18101 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18102 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18103
18104 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18105
18106 * elf/dl-sym.c: Include <stdlib.h>.
18107
18108 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18109 constants, which avoids warnings in 32-bit builds.
18110
18111 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18112 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18113
18114 * misc/lseek.c: File moved to ...
18115 * io/lseek.c: ... here.
18116
18117 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18118
18119 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18120 shifting LEN more than 31 bits at once.
18121
181222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18123
18124 [BZ #14195]
18125 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18126 segmentation fault for a case of two empty input strings.
18127 * string/test-strncasecmp.c (check1): Renamed to...
18128 (bz12205): ...this.
18129 (bz14195): Add new testcase for two empty input strings and N > 0.
18130 (test_main): Call new testcase, adapt for renamed function.
18131
181322012-08-15 Andreas Jaeger <aj@suse.de>
18133
18134 [BZ #14090]
18135 * crypt/md5test2.c: New test, based on test supplied by Serge
18136 Belyshev <belyshev@depni.sinp.msu.ru>.
18137 * crypt/Makefile (xtests): Add md5test-giant..
18138 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18139
181402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18141
18142 [BZ #14090]
18143 * crypt/md5.c (md5_process_block): Don't assume the buffer
18144 length is less than 2**32.
18145 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18146 length is less than 2**64.
18147
181482012-08-15 Roland McGrath <roland@hack.frob.com>
18149
18150 * string/str-two-way.h: Include <sys/param.h>.
18151 (MAX): Macro removed.
18152
18153 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18154 Move #define and #undef of memmove to just before and after
18155 including <string.h>.
18156
18157 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18158 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18159 and after including <string.h>. Move declarations of
18160 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18161 to before #include "string/memmove.c".
18162
18163 * include/dirent.h: Declare __getdirentries.
18164
18165 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18166 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18167
181682012-08-14 Mike Frysinger <vapier@gentoo.org>
18169
18170 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18171 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18172 * sysdeps/i386/configure: Regenerated.
18173 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18174 STABS_CURRENT_FILE, and STABS_FUN.
18175 (END): Remove call to STABS_FUN_END.
18176 (STABS_CURRENT_FILE1): Delete.
18177 (STABS_CURRENT_FILE): Likewise.
18178 (STABS_FUN): Likewise.
18179 (STABS_FUN_END): Likewise.
18180 (STABS_FUN2): Likewise.
18181 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18182 * sysdeps/x86_64/configure: Regenerated.
18183
181842012-08-14 Roland McGrath <roland@hack.frob.com>
18185
18186 * elf/dl-open.c: Include <atomic.h>.
18187 * elf/dl-lookup.c: Likewise.
18188
181892012-08-14 Joseph Myers <joseph@codesourcery.com>
18190
18191 * sysdeps/unix/sysv/linux/kernel-features.h
18192 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18193 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18194 unconditionally.
18195 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18196 unconditionally.
18197 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18198 condition on __ASSUME_CLONE_THREAD_FLAGS.
18199
182002012-08-14 Andreas Jaeger <aj@suse.de>
18201
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203
182042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18205
18206 * include/atomic.h (atomic_exchange_and_add): Split into ...
18207 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18208 New atomic macros.
18209
182102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18211
18212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18213
182142012-08-13 Jeff Law <law@redhat.com>
18215
18216 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18217 null byte in the output string.
18218
182192012-08-10 Joseph Myers <joseph@codesourcery.com>
18220
18221 * sysdeps/unix/sysv/linux/kernel-features.h
18222 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18223 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18224 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18226 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18227 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18228 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18229
182302012-08-09 Jeff Law <law@redhat.com>
18231
18232 [BZ #13939]
18233 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18234 When avoid_arena is set, don't retry in the that arena. Pick the
18235 next one, whatever it might be.
18236 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18237 (arena_lock): Pass in new parameter to arena_get2.
18238 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18239 arena_get2.
18240 (__libc_malloc): Unify retrying after main arena failure with
18241 __libc_memalign version.
18242 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18243
182442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 [BZ #14166]
18247 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18248 to __redirect_strstr.
18249 (__strstr_sse42): Use typeof __redirect_strstr.
18250 (__strstr_ia32): Likewise.
18251 (__libc_strstr): New prototype.
18252 (strstr): Renamed to ...
18253 (__libc_strstr): This.
18254 (strstr): New strong alias of __libc_strstr.
18255 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18257 __redirect_time.
18258 Include <time.h>.
18259 (__libc_time): New prototype.
18260 (time_ifunc): Replace time with __libc_time.
18261 (time): New strong alias and hidden definition of __libc_time.
18262 (__GI_time): Remove strong alias.
18263 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18264 Include <stddef.h>.
18265 (memmove): Redefined to __redirect_memmove.
18266 (__memmove_sse2): Use typeof __redirect_memmove.
18267 (__memmove_ssse3): Likewise.
18268 (__memmove_ssse3_back): Likewise.
18269 (__libc_memmove): New prototype.
18270 (memmove): Renamed to ...
18271 (__libc_memmove): This.
18272 (memmove): New strong alias of __libc_memmove.
18273
182742012-08-08 Mark Salter <msalter@redhat.com>
18275
18276 * elf/elf.h
18277 (R_MN10300_TLS_GD): Define.
18278 (R_MN10300_TLS_LD): Likewise.
18279 (R_MN10300_TLS_LDO): Likewise.
18280 (R_MN10300_TLS_GOTIE): Likewise.
18281 (R_MN10300_TLS_IE): Likewise.
18282 (R_MN10300_TLS_LE): Likewise.
18283 (R_MN10300_TLS_DTPMOD): Likewise.
18284 (R_MN10300_TLS_DTPOFF): Likewise.
18285 (R_MN10300_TLS_TPOFF): Likewise.
18286 (R_MN10300_SYM_DIFF): Likewise.
18287 (R_MN10300_ALIGN): Likewise.
18288 (R_MN10300_NUM): Update.
18289
182902012-08-08 Joseph Myers <joseph@codesourcery.com>
18291
18292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18293 Remove.
18294
182952012-08-08 Roland McGrath <roland@hack.frob.com>
18296
18297 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18298
18299 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18300 sysdeps/unix -> sysdeps/posix move.
18301 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18302
183032012-08-07 Allan McRae <allan@archlinux.org>
18304
18305 [BZ #14303]
18306 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18307 (SUNOS_CPP): Likewise.
18308 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18309 not found.
18310 (open_input): Call CPP using execvp.
18311
183122012-08-07 Joseph Myers <joseph@codesourcery.com>
18313
18314 * sysdeps/unix/sysv/linux/kernel-features.h
18315 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18316 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18317 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18318 (__ASSUME_WAITID_SYSCALL): Likewise.
18319 * sysdeps/unix/sysv/linux/dl-execstack.c
18320 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18321 code unconditional.
18322 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18323 conditional code.
18324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18325 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18326 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18327 code.
18328 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18329 unconditional.
18330 [__ASSUME_WAITID_SYSCALL]: Likewise.
18331 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18332
183332012-08-07 Roland McGrath <roland@hack.frob.com>
18334
18335 * sysdeps/unix/closedir.c: Renamed to ...
18336 * sysdeps/posix/closedir.c: ... here.
18337 * sysdeps/unix/dirfd.c: Renamed to ...
18338 * sysdeps/posix/dirfd.c: ... here.
18339 * sysdeps/unix/dirstream.h: Renamed to ...
18340 * sysdeps/posix/dirstream.h: ... here.
18341 * sysdeps/unix/fdopendir.c: Renamed to ...
18342 * sysdeps/posix/fdopendir.c: ... here.
18343 * sysdeps/unix/opendir.c: Renamed to ...
18344 * sysdeps/posix/opendir.c: ... here.
18345 * sysdeps/unix/readdir.c: Renamed to ...
18346 * sysdeps/posix/readdir.c: ... here.
18347 * sysdeps/unix/readdir_r.c: Renamed to ...
18348 * sysdeps/posix/readdir_r.c: ... here.
18349 * sysdeps/unix/rewinddir.c: Renamed to ...
18350 * sysdeps/posix/rewinddir.c: ... here.
18351 * sysdeps/unix/seekdir.c: Renamed to ...
18352 * sysdeps/posix/seekdir.c: ... here.
18353 * sysdeps/unix/telldir.c: Renamed to ...
18354 * sysdeps/posix/telldir.c: ... here.
18355 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18356 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18357 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18358 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18359
18360 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18361 * bits/fcntl.h: ... here.
18362
18363 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18364 not 0.
18365 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18366 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18367 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18368 (struct flock): Move l_start, l_len to the beginning.
18369 Use __pid_t for l_pid.
18370 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18371 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18372 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18373 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18374 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18375 [__USE_LARGEFILE64] (struct flock64): New type.
18376 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18377
18378 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18379 * bits/dirent.h: ... here.
18380
18381 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18382 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18383
183842012-08-07 Joseph Myers <joseph@codesourcery.com>
18385
18386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18387 Change from 2.6.0 to 2.6.16.
18388 * sysdeps/unix/sysv/linux/configure: Regenerated.
18389 * sysdeps/unix/sysv/linux/kernel-features.h
18390 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18391 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18392 version.
18393 (__ASSUME_UTIMES): Likewise.
18394 (__ASSUME_CLONE_STOPPED): Remove.
18395 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18396 architectures, not kernel version.
18397 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18400 (__ASSUME_WAITID_SYSCALL): Likewise.
18401 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18402 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18403 * README: State 2.6.16 as minimum Linux kernel version. Do not
18404 refer to older versions.
18405
184062012-08-06 Roland McGrath <roland@hack.frob.com>
18407
18408 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18409 Define alphasort64 as an alias.
18410 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18411 Define versionsort64 as an alias.
18412 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18413 Define scandir64 as an alias.
18414 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18415 Define scandirat64 as an alias.
18416 * dirent/alphasort64.c (alphasort64):
18417 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18418 * dirent/versionsort64.c: Likewise.
18419 * dirent/scandir64.c: Likewise.
18420 * dirent/scandirat64.c: Likewise.
18421 * sysdeps/wordsize-64/alphasort.c: File removed.
18422 * sysdeps/wordsize-64/alphasort64.c: File removed.
18423 * sysdeps/wordsize-64/scandir.c: File removed.
18424 * sysdeps/wordsize-64/scandir64.c: File removed.
18425 * sysdeps/wordsize-64/scandirat.c: File removed.
18426 * sysdeps/wordsize-64/scandirat64.c: File removed.
18427 * sysdeps/wordsize-64/versionsort.c: File removed.
18428 * sysdeps/wordsize-64/versionsort64.c: File removed.
18429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18430 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18431 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18432 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18433 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18437
18438 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18440 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18442 [defined __arch64__ || defined __sparcv9]
18443 (__INO_T_MATCHES_INO64_T): New macro.
18444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18445 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18446 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18447 * sysdeps/unix/sysv/linux/bits/dirent.h
18448 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18449 (_DIRENT_MATCHES_DIRENT64): New macro.
18450
18451 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18452 Define lockf64 as an alias.
18453 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18454 Define fseeko64 as an alias.
18455 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18456 Define ftello64 as an alias.
18457 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18458 Define _IO_fgetpos64 and fgetpos64 as aliases.
18459 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18460 Define _IO_fsetpos64 and fsetpos64 as aliases.
18461 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18462 Conditionalize body on this.
18463 * libio/fseeko64.c: Likewise.
18464 * libio/ftello64.c: Likewise.
18465 * libio/iofgetpos64.c: Likewise.
18466 * libio/iofsetpos64.c: Likewise.
18467 * sysdeps/wordsize-64/lockf.c: File removed.
18468 * sysdeps/wordsize-64/lockf64.c: File removed.
18469 * sysdeps/wordsize-64/fseeko.c: File removed.
18470 * sysdeps/wordsize-64/fseeko64.c: File removed.
18471 * sysdeps/wordsize-64/ftello.c: File removed.
18472 * sysdeps/wordsize-64/ftello64.c: File removed.
18473 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18474 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18475 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18476 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18477 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18478 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18479 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18480 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18481 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18482 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18483 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18484 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18487
18488 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18490 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18492 [defined __arch64__ || defined __sparcv9]
18493 (__OFF_T_MATCHES_OFF64_T): New macro.
18494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18495 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18497 (__OFF_T_MATCHES_OFF64_T): New macro.
18498
184992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 * stdlib/secure-getenv.c (__secure_getenv): Replace
18502 GLIBC_2_16 with GLIBC_2_17.
18503
185042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18505
18506 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18507 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18508
185092012-08-03 David S. Miller <davem@davemloft.net>
18510
18511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18512
185132012-08-03 Joseph Myers <joseph@codesourcery.com>
18514
18515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18516 Remove.
18517 (__ASSUME_CORRECT_SI_PID): Likewise.
18518 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18519 (__ASSUME_TMPFS_NAME): Likewise.
18520 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18521 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18522 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18523 (HAVE_AUX_SECURE): Make definition unconditional.
18524 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18525 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18526
185272012-08-03 Roland McGrath <roland@hack.frob.com>
18528
18529 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18530 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18531 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18532 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18533 __eloop_threshold instead of SYMLOOP_MAX.
18534
18535 * sysdeps/generic/eloop-threshold.h: New file.
18536 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18537 of MAXSYMLINKS.
18538 * elf/chroot_canon.c (chroot_canon): Likewise.
18539
185402012-08-03 Joseph Myers <joseph@codesourcery.com>
18541
18542 [BZ #13717]
18543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18544 Change to 2.6.0 everywhere.
18545 * sysdeps/unix/sysv/linux/configure: Regenerated.
18546 * sysdeps/unix/sysv/linux/kernel-features.h
18547 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18548 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18549 kernel versions.
18550 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18551 (__ASSUME_FUTEX_REQUEUE): Remove.
18552 (__ASSUME_STATFS64): Define unconditionally.
18553 (__ASSUME_AT_SECURE): Likewise.
18554 (__ASSUME_CORRECT_SI_PID): Likewise.
18555 (__ASSUME_TGKILL): Define without depending on kernel version for
18556 i386.
18557 (__ASSUME_UTIMES): Likewise.
18558 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18559 kernel version.
18560 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18561 (__ASSUME_TMPFS_NAME): Likewise.
18562 * README: Update reference to Linux kernel versions.
18563
185642012-08-02 Marek Polacek <polacek@redhat.com>
18565
18566 [BZ# 14150]
18567 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18568 libc_cv_asm_type_prefix with %.
18569 * configure: Regenerated.
18570 * include/libc-symbols.h: Remove comment about
18571 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18572 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18573 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18574 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18575 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18576 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18577 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18578 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18579 * elf/tst-unique2mod1.c: Likewise.
18580 * elf/tst-unique1mod2.c: Likewise.
18581 * elf/tst-unique1mod1.c: Likewise.
18582 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18583 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18584 Replace ASM_TYPE_DIRECTIVE with .type.
18585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18586 * sysdeps/i386/sysdep.h: Likewise.
18587 * sysdeps/x86_64/sysdep.h: Likewise.
18588 * sysdeps/sh/sysdep.h: Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18590 Do not define ASM_TYPE_DIRECTIVE.
18591 * sysdeps/powerpc/sysdep.h: Likewise.
18592 * sysdeps/powerpc/powerpc32/sysdep.h:
18593 Replace ASM_TYPE_DIRECTIVE with .type.
18594 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18595 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18596 * sysdeps/i386/fpu/e_powf.S: Likewise.
18597 * sysdeps/i386/fpu/e_expl.S: Likewise.
18598 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18600 * sysdeps/i386/fpu/e_pow.S: Likewise.
18601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18605 * sysdeps/i386/fpu/e_log2.S: Likewise.
18606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18608 * sysdeps/i386/fpu/e_powl.S: Likewise.
18609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18610 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18611 * sysdeps/i386/fpu/e_logl.S: Likewise.
18612 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18613 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18614 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18617 * sysdeps/i386/fpu/e_log.S: Likewise.
18618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18619 * sysdeps/i386/fpu/e_logf.S: Likewise.
18620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18621 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18622 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18623 * sysdeps/i386/fpu/e_log10.S: Likewise.
18624 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18625 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18626 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18627 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18628 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18629 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18630 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18631 * sysdeps/i386/i686/strtok.S: Likewise.
18632 * sysdeps/i386/i386-mcount.S: Likewise.
18633 * sysdeps/i386/strtok.S: Likewise.
18634 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18635 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18637 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18639 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18640 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18641 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18642 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18643 * sysdeps/x86_64/_mcount.S: Likewise.
18644 * sysdeps/x86_64/strtok.S: Likewise.
18645 * sysdeps/sh/_mcount.S: Likewise.
18646
186472012-08-01 Roland McGrath <roland@hack.frob.com>
18648
18649 * libio/iofopen.c: Include <fcntl.h>.
18650 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18651 (_IO_fopen64, fopen64): Define as aliases.
18652 * libio/iofopen64.c: Include <fcntl.h>.
18653 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18654 Conditionalize body on this.
18655 * sysdeps/wordsize-64/iofopen.c: File removed.
18656 * sysdeps/wordsize-64/iofopen64.c: File removed.
18657
186582012-08-01 Marek Polacek <polacek@redhat.com>
18659
18660 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18661 Use dlfcn directly instead of a variable.
18662 (binfmt-subdir): Do not define.
18663 (dlfcn): Likewise.
18664
186652012-08-01 Joseph Myers <joseph@codesourcery.com>
18666
18667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18668 Remove all definitions.
18669 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18670 <kernel-features.h>.
18671 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18672 (miss_F_GETOWN_EX): Remove all definitions.
18673 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18674 macro definition.
18675 [!__ASSUME_FCNTL64]: Remove conditional code.
18676 [__ASSUME_FCNTL64]: Make code unconditional.
18677 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18678 <kernel-features.h>.
18679 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18680 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18681 (lockf64) [__NR_fcntl64]: Make code unconditional.
18682 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18683
18684 * sysdeps/unix/sysv/linux/kernel-features.h
18685 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18686 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18687 Make code unconditional.
18688 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18689 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18691 [__NR_vfork]: Make code unconditional.
18692 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18693 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18695 [__NR_vfork]: Make code unconditional.
18696 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18697 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18698
186992012-08-01 Roland McGrath <roland@hack.frob.com>
18700
18701 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18702 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18703
18704 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18705 Define mkstemp64 as an alias.
18706 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18707 Define mkstemps64 as an alias.
18708 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18709 Define mkostemp64 as an alias.
18710 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18711 Define mkostemps64 as an alias.
18712 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18713 Conditionalize body on this.
18714 * misc/mkostemp64.c: Likewise.
18715 * misc/mkostemps64.c: Likewise.
18716 * misc/mkstemps64.c: Likewise.
18717 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18718 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18719 * sysdeps/wordsize-64/mkostemp.c: File removed.
18720 * sysdeps/wordsize-64/mkstemp.c: File removed.
18721 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18722 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18723 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18724 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18725
18726 [BZ #14138]
18727 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18728 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18729 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18730 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18731
18732 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18733 compat_symbol macros from <shlib-compat.h> rather than the underlying
18734 default_symbol_version and symbol_version macros, so that DEFAULT
18735 lines in shlib-versions are respected.
18736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18737
187382012-08-01 Florian Weimer <fweimer@redhat.com>
18739
18740 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18741 Declare with warn_unused_result.
18742 (setgid, setregid, setegid, setresgid): Likewise.
18743 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18744 Likewise.
18745 * WUR-REPORT: Remove set*id functions.
18746
187472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18748
18749 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18750
187512012-07-31 Roland McGrath <roland@hack.frob.com>
18752
18753 [BZ #10191]
18754 * include/sys/socket.h (__libc_accept, __libc_accept4):
18755 Add attribute_hidden.
18756 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18757
18758 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18759 use of PTR_MANGLE.
18760 * inet/getnetgrent_r.c (setup): Likewise.
18761
18762 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18763
187642012-07-31 David S. Miller <davem@davemloft.net>
18765
18766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18767
187682012-07-31 Joseph Myers <joseph@codesourcery.com>
18769
18770 [BZ #13629]
18771 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18772 value between 1.0 and 2.0 and smaller part has absolute value less
18773 than 1.0.
18774 * math/s_clog10.c (__clog10): Likewise.
18775 * math/s_clog10f.c (__clog10f): Likewise.
18776 * math/s_clog10l.c (__clog10l): Likewise.
18777 * math/s_clogf.c (__clogf): Likewise.
18778 * math/s_clogl.c (__clogl): Likewise.
18779 * math/libm-test.inc (clog_test): Add more tests.
18780 (clog10_test): Likewise.
18781 * sysdeps/i386/fpu/libm-test-ulps: Update.
18782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783
187842012-07-31 Florian Weimer <fweimer@redhat.com>
18785
18786 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18787 Exit with zero in case no suitable GID is found, and write a
18788 message to standard error.
18789
187902012-07-30 Roland McGrath <roland@hack.frob.com>
18791
18792 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18793 rather than to 1.
18794 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18795 (MAXPATHLEN): Removed.
18796 (NOGROUP, NODEV): New macros.
18797 (setbit, clrbit, isset, isclr): New macros.
18798 (howmany, roundup, powerof2): New macros.
18799 (DEV_BSIZE): New macro.
18800
18801 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18802 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18803
18804 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18805 definition on [!__NO_LONG_DOUBLE_MATH].
18806
18807 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18808 PTR_MANGLE and PTR_DEMANGLE.
18809
18810 * socket/accept4.c (accept4): Rename to __libc_accept4.
18811 Define accept4 as a weak alias.
18812
18813 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18814 on [_DIRENT_HAVE_D_TYPE].
18815 * io/ftw.c (ftw_dir): Likewise.
18816
18817 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18818
18819 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18820
18821 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18822 Use the BSD numbers rather than the arbitrary ones we had.
18823 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18824 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18825 (SIGXCPU, SIGXFSZ): New macros.
18826 (_NSIG): Now 32.
18827
18828 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18829 initializer on [_LIBC_REENTRANT].
18830
18831 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18832 definitions inside [_POSIX_MAPPED_FILES].
18833
18834 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18835
18836 * dirent/opendir.c: Include <fcntl.h>.
18837
18838 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18839 (__libc_getspecific): Likewise.
18840 (__libc_key_create): Likewise.
18841
18842 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18843 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18844 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18845 (tmpfile64): Define as alias.
18846 * sysdeps/wordsize-64/tmpfile.c: File removed.
18847 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18848 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18850
18851 * stdio-common/vfscanf.c: Include <stdbool.h>.
18852 * nss/makedb.c: Likewise.
18853 * stdio-common/_i18n_number.h: Likewise.
18854 * argp/argp-help.c: Likewise.
18855 * posix/wordexp.c: Likewise.
18856 * sysdeps/posix/spawni.c: Likewise.
18857 * nss/nss_files/files-initgroups.c: Likewise.
18858 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18859 * nss/nss_files/files-initgroups.c: Likewise.
18860 * nss/nss_db/db-netgrp.c: Likewise.
18861 * nss/nss_db/db-initgroups.c: Likewise.
18862 * io/fchmodat.c: Include <sys/stat.h>.
18863
18864 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18865 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18866
18867 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18868 [HAVE_MMAP].
18869
18870 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18871 Add multiple inclusion protection.
18872
188732012-07-27 David S. Miller <davem@davemloft.net>
18874
18875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18876
188772012-07-27 Gary Benson <gbenson@redhat.com>
18878
18879 [BZ #14298]
18880 * elf/rtld.c: Include <stap-probe.h>.
18881 (dl_main): Added static probes "init_start" and "init_complete".
18882 * elf/dl-load.c: Include <stap-probe.h>.
18883 (lose): Take new parameter "nsid".
18884 Added static probe "map_failed".
18885 (_dl_map_object_from_fd): Pass namespace id to lose.
18886 Added static probe "map_start".
18887 (open_verify): Pass namespace id to lose.
18888 * elf/dl-open.c: Include <stap-probe.h>.
18889 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18890 and "reloc_complete".
18891 * elf/dl-close.c: Include <stap-probe.h>.
18892 (_dl_close_worker): Added static probes "unmap_start" and
18893 "unmap_complete".
18894 * elf/rtld-debugger-interface.txt: New file documenting the above.
18895
188962012-07-26 Roland McGrath <roland@hack.frob.com>
18897
18898 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18899 rather than a string variable.
18900 * sunrpc/rpc_main.c (h_output): Likewise.
18901 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18902
189032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18904
18905 * inet/check_native.c: New file.
18906
189072012-07-26 Joseph Myers <joseph@codesourcery.com>
18908
18909 [BZ #13629]
18910 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18911 if larger part has absolute value 1.0.
18912 * math/s_clog10.c (__clog10): Likewise.
18913 * math/s_clog10f.c (__clog10f): Likewise.
18914 * math/s_clog10l.c (__clog10l): Likewise.
18915 * math/s_clogf.c (__clogf): Likewise.
18916 * math/s_clogl.c (__clogl): Likewise.
18917 * math/libm-test.inc (clog_test): Add more tests.
18918 (clog10_test): Likewise.
18919 * sysdeps/i386/fpu/libm-test-ulps: Update.
18920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18921
18922 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18923 (pltexit): Likewise.
18924 (La_regs): Likewise.
18925 (La_retval): Likewise.
18926 (int_retval): Likewise.
18927 Update #error for removed macros to refer only to definitions in
18928 tst-audit.h.
18929 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18930 macro.
18931 (pltexit): Likewise.
18932 (La_regs): Likewise.
18933 (La_retval): Likewise.
18934 (int_retval): Likewise.
18935 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18936 macro.
18937 (pltexit): Likewise.
18938 (La_regs): Likewise.
18939 (La_retval): Likewise.
18940 (int_retval): Likewise.
18941 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18942 macro.
18943 (pltexit): Likewise.
18944 (La_regs): Likewise.
18945 (La_retval): Likewise.
18946 (int_retval): Likewise.
18947 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18948 macro.
18949 (pltexit): Likewise.
18950 (La_regs): Likewise.
18951 (La_retval): Likewise.
18952 (int_retval): Likewise.
18953 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18954 macro.
18955 (pltexit): Likewise.
18956 (La_regs): Likewise.
18957 (La_retval): Likewise.
18958 (int_retval): Likewise.
18959 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18960 macro.
18961 (pltexit): Likewise.
18962 (La_regs): Likewise.
18963 (La_retval): Likewise.
18964 (int_retval): Likewise.
18965 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18966 macro definitions in tst-audit.h.
18967 * sysdeps/i386/tst-audit.h: New file.
18968 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18969 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18970 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18971 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18972 * sysdeps/sh/tst-audit.h: Likewise.
18973 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18974 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18975 * sysdeps/x86_64/tst-audit.h: Likewise.
18976
189772012-07-26 Andreas Jaeger <aj@suse.de>
18978
18979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18980 ptrace.
18981
18982 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18983 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18984 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18985 PTRACE_O_MASK.
18986 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18987 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18988 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18989
18990 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18991 value.
18992
18993 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18994 _sigsys.
18995 (si_call_addr, si_syscall, si_arch): Define new macro.
18996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18997 _sigsys.
18998 (si_call_addr, si_syscall, si_arch): Define new marcro.
18999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19000 _sigsys.
19001 (si_call_addr, si_syscall, si_arch): Define new macro.
19002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19003 _sigsys.
19004 (si_call_addr, si_syscall, si_arch): Define new macro.
19005
190062012-07-25 Joseph Myers <joseph@codesourcery.com>
19007
19008 [BZ #13717]
19009 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19010 Change to 2.4.21 where previously 2.4.1.
19011 * sysdeps/unix/sysv/linux/configure: Regenerated.
19012 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19013 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19014 Linux kernel version.
19015 (__ASSUME_STD_AUXV): Remove.
19016 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19017 kernel version.
19018 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19019 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19020 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19021 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19022 (__ASSUME_NETLINK_SUPPORT): Likewise.
19023 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19024 (__no_netlink_support): Remove conditional definition.
19025 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19026 Remove.
19027 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19028 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19030 (if_nameindex_ioctl): Remove.
19031 (if_nameindex_netlink): Do not handle __no_netlink_support.
19032 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19033 code.
19034 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19035 Remove conditional code.
19036 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19037 code.
19038 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19039 unconditional.
19040 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19041 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19042 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19043 Remove.
19044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19045 [!__ASSUME_STD_AUXV]: Remove conditional code.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19047 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19048 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19050 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19052 code.
19053 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19055 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19056 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19057 conditional code.
19058 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19060 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19061 code.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19063 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19064 conditional code.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19066 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19067 code unconditional.
19068 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19069 conditional code.
19070 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19071 unconditional.
19072 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19073 conditional code.
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19075 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19076 unconditional.
19077 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19078 conditional code.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19080 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19081 code unconditional.
19082 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19083 conditional code.
19084 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19085 unconditional.
19086 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19087 conditional code.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19089 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19090 code unconditional.
19091 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19092 conditional code.
19093 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19094 unconditional.
19095 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19096 conditional code.
19097
190982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19099
19100 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19102 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19103 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19104 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19105 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19107 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19108 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19109 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19110 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19111 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19112 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19113 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19114 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19116 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19118 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19121 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19123
191242012-07-25 Florian Weimer <fweimer@redhat.com>
19125
19126 * Versions.def: Add GLIBC_2.17.
19127 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19128 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19129 Introduce __libc_secure_getenv.
19130 * stdlib/Versions (2.17): Add secure_getenv
19131 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19132 * stdlib/secure-getenv.c: Rename __secure_getenv to
19133 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19134 symbol __secure_getenv for GLIBC_2.0.
19135 * stdlib/tst-secure-getenv.c: New.
19136 * stdlib/Makefile (tests): Add testcase.
19137 * manual/startup.texi (Environment Access): Document
19138 secure_getenv.
19139 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19140 __libc_secure_getenv.
19141 * inet/ruserpass.c (ruserpass): Likewise.
19142 * malloc/mtrace.c (mtrace): Likewise.
19143 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19144 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19145 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19146 * sysdeps/posix/tempname.c: Likewise. Evaluate
19147 HAVE_SECURE_GETENV.
19148 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19149 __secure_getenv to __libc_secure_getenv.
19150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19152 Likewise.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19154 Likewise.
19155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19162
191632012-07-25 Joseph Myers <joseph@codesourcery.com>
19164
19165 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19166 (struct La_i86_retval): Likewise.
19167 (struct La_x86_64_regs): Likewise.
19168 (struct La_x86_64_retval): Likewise.
19169 (struct La_x32_regs): Likewise.
19170 (struct La_x32_retval): Likewise.
19171 (struct La_ppc32_regs): Likewise.
19172 (struct La_ppc32_retval): Likewise.
19173 (struct La_ppc64_regs): Likewise.
19174 (struct La_ppc64_retval): Likewise.
19175 (struct La_sh_regs): Likewise.
19176 (struct La_sh_retval): Likewise.
19177 (struct La_s390_32_regs): Likewise.
19178 (struct La_s390_32_retval): Likewise.
19179 (struct La_s390_64_regs): Likewise.
19180 (struct La_s390_64_retval): Likewise.
19181 (struct La_sparc32_regs): Likewise.
19182 (struct La_sparc32_retval): Likewise.
19183 (struct La_sparc64_regs): Likewise.
19184 (struct La_sparc64_retval): Likewise.
19185 (struct audit_ifaces): Remove architecture-specific pltenter and
19186 pltexit members.
19187 * sysdeps/i386/ldsodefs.h: New file.
19188 * sysdeps/powerpc/ldsodefs.h: Likewise.
19189 * sysdeps/s390/ldsodefs.h: Likewise.
19190 * sysdeps/sh/ldsodefs.h: Likewise.
19191 * sysdeps/sparc/ldsodefs.h: Likewise.
19192 * sysdeps/x86_64/ldsodefs.h: Likewise.
19193
191942012-07-25 Marek Polacek <polacek@redhat.com>
19195
19196 [BZ #6808]
19197 * math/libm-test.inc (yn_test): Add another test.
19198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19199 to ERANGE when the result is +-Inf.
19200 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19201 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19202 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19204
192052012-07-24 Joseph Myers <joseph@codesourcery.com>
19206
19207 * conform/data/time.h-data (NULL): Use macro-constant. Require
19208 equal to 0.
19209 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19210 clock_t.
19211 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19212
192132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19214
19215 * configure.in <sysdeps resolving>: Correct printing
19216 Implies_before.
19217 * configure: Regenerate.
19218
192192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19220
19221 * math/w_ilogb.c: Include <limits.h>.
19222 * math/w_ilogbl.c: Likewise.
19223
192242012-07-20 Joseph Myers <joseph@codesourcery.com>
19225
19226 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19227 va_copy. Document allowing for unavailable va_copy only as
19228 pre-C99 compatibility.
19229 * manual/string.texi (Copying and Concatenation): Use va_copy
19230 instead of __va_copy in concat example.
19231
192322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19233
19234 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19235 (__sendto): Use create_address_port. Initialize APORT and deallocate
19236 it if not null.
19237
19238 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19239 with O_NOLINK passed to __file_name_lookup.
19240
19241 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19242 with O_NOLINK passed to __file_name_lookup.
19243
19244 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19245 negative N or less than NGIDS.
19246
19247 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19248 type to string_t. Set ERANGE as errno and return it if NAME is not big
19249 enough. Use memcpy instead of strncpy.
19250
192512012-07-20 Joseph Myers <joseph@codesourcery.com>
19252
19253 * elf/Makefile (check-data): Remove.
19254 (localplt.data): New vpath directive.
19255 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19256 instead of $(check-data).
19257 * scripts/data/localplt-generic.data: Move to ...
19258 * sysdeps/generic/localplt.data: ... here.
19259 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19260 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19261 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19263 ... here.
19264 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19266 ... here.
19267 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19269 ... here.
19270 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19272 ... here.
19273 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19275 ... here.
19276 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19278 ... here.
19279
192802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19281
19282 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19283 PPC32 and PPC64 files.
19284 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19285 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19286
192872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19288
19289 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19290 __makecontext_ret to ...
19291 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19292 ... here and call exit if uc_link is NULL. New file.
19293 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19294 __makecontext_ret.S.
19295 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19296 __makecontext_ret to ...
19297 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19298 ... here and call exit if uc_link is NULL. New file.
19299 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19300 __makecontext_ret.S.
19301
193022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19303
19304 * elf/elf.h (R_390_IRELATIVE): New definition.
19305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19306 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19307 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19308 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19309 (elf_machine_lazy_rel): Likewise.
19310 * sysdeps/s390/dl-irel.h: New file.
19311 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19312 * sysdeps/s390/s390-64/memset.S: New asm code.
19313 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19314 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19316 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19317 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19318 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19319 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19320 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19321 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19322 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19323 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19324 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19325 * sysdeps/s390/s390-32/memset.S: New asm code.
19326 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19327
193282012-07-17 Marek Polacek <polacek@redhat.com>
19329
19330 [BZ #14349]
19331 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19332 * sysdeps/s390/s390-64/configure.in: Likewise.
19333 * sysdeps/sparc/configure.in: Likewise.
19334 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19335 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19336 * sysdeps/i386/configure.in: Likewise.
19337 * sysdeps/x86_64/configure.in: Likewise.
19338 * sysdeps/sh/configure.in: Likewise.
19339 * sysdeps/s390/s390-32/configure: Regenerated.
19340 * sysdeps/s390/s390-64/configure: Likewise.
19341 * sysdeps/x86_64/configure: Likewise.
19342 * sysdeps/sh/configure: Likewise.
19343 * sysdeps/powerpc/powerpc64/configure: Likewise.
19344 * sysdeps/powerpc/powerpc32/configure: Likewise.
19345 * sysdeps/sparc/configure: Likwise.
19346 * sysdeps/i386/configure: Likewise.
19347
19348 * elf/dl-open.c: Comment fixes.
19349
193502012-07-17 Joseph Myers <joseph@codesourcery.com>
19351
19352 * Makefile [CXX] (check-data): Remove.
19353 [CXX] (c++-types.data): New vpath directive.
19354 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19355 vpath. Do not allow for C++ type data being missing.
19356 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19357 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19358 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19359 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19360 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19361 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19362 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19364 ... here.
19365 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19367 ... here.
19368 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19370 ... here.
19371 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19373 ... here.
19374 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19376 ... here.
19377 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19379 ... here.
19380 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19382 ... here.
19383 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19385
19386 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19387 definitions to architecture-specific files.
19388 (TLS_IE): Likewise.
19389 (TLS_LD): Likewise.
19390 (TLS_GD): Likewise.
19391 * sysdeps/i386/tls-macros.h: New file.
19392 * sysdeps/powerpc/tls-macros.h: Likewise.
19393 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19394 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19395 * sysdeps/sh/tls-macros.h: Likewise.
19396 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19397 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19398 * sysdeps/x86_64/tls-macros.h: Likewise.
19399
194002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19401
19402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19403 zero value for regular exit case.
19404
19405 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19406 (__start_context): Preserve zero value for regular exit case.
19407
194082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19409 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19410
19411 * manual/setjmp.texi (setcontext): Clarify normal process
19412 termination when uc_link is the null pointer.
19413 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19414 exit call.
19415
194162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19417
19418 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19419 preprocessor. Test for each exception mask separately.
19420
194212012-07-16 Andreas Jaeger <aj@suse.de>
19422
19423 * po/ru.po: Update from translation team.
19424
194252012-07-15 Joseph Myers <joseph@codesourcery.com>
19426
19427 * conform/data/string.h-data (NULL): Use macro-constant. Require
19428 equal to 0.
19429 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19430 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19431 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19432 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19434
194352012-07-13 Andreas Jaeger <aj@suse.de>
19436
19437 * po/fr.po: Update from translation team.
19438
194392012-07-12 Marek Polacek <polacek@redhat.com>
19440
19441 [BZ #14173]
19442 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19443 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19444 loop condition.
19445
194462012-07-12 Joseph Myers <joseph@codesourcery.com>
19447
19448 [BZ #13717]
19449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19450 Change to 2.4.1 where previously 2.4.0.
19451 * sysdeps/unix/sysv/linux/configure: Regenerated.
19452 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19453 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19454 version.
19455 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19456 (__ASSUME_AT_CLKTCK): Remove.
19457 (__ASSUME_AT_PAGESIZE): Likewise.
19458 (__ASSUME_AT_XID): Likewise.
19459 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19460 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19461 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19462 unconditionally.
19463 (HAVE_AUX_PAGESIZE): Likewise.
19464 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19465 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19466 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19467
194682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19469
19470 [BZ #14307]
19471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19472 the temporary buffer used to invoke __gethostbyname2_r,
19473 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19474 host_data / struct gaih_addrtuple.
19475 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19476 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19477 header file nss/nsswitch.h.
19478 * nss/nsswitch.h (global scope): Add definition of implementation
19479 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19480 resolv/nss_dns/dns-host.c).
19481
194822012-07-11 Andreas Jaeger <aj@suse.de>
19483
19484 * po/fr.po: Update from translation team.
19485
19486 * po/sv.po: Update from translation team
19487 * po/fr.po: Another update from translation team.
19488
194892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19490
19491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19492 for subnormals or multiply small sinh result by itself.
19493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19495
194962012-07-11 David S. Miller <davem@davemloft.net>
19497
19498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19499
195002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19501
19502 [BZ #14347]
19503 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19504 (INTERNAL_MARK): Shift it here.
19505
195062012-07-10 Marek Polacek <polacek@redhat.com>
19507
19508 [BZ #14151]
19509 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19510 libc_cv_asm_global_directive with .globl.
19511 * configure: Regenerated.
19512 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19513 with .globl.
19514 * sysdeps/i386/configure: Regenerated.
19515 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19516 with .globl.
19517 * sysdeps/x86_64/configure: Regenerated.
19518 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19519 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19520 * elf/tst-unique2mod2.c: Likewise.
19521 * elf/tst-unique2mod1.c: Likewise.
19522 * elf/tst-unique1mod2.c: Likewise.
19523 * elf/tst-unique1mod1.c: Likewise.
19524 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19525 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19527 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19528 * sysdeps/mach/sysdep.h: Likewise.
19529 * sysdeps/i386/sysdep.h: Likewise.
19530 * sysdeps/i386/i386-mcount.S: Likewise.
19531 * sysdeps/x86_64/_mcount.S: Likewise.
19532 * sysdeps/x86_64/sysdep.h: Likewise.
19533 * sysdeps/sh/_mcount.S: Likewise.
19534 * sysdeps/sh/sysdep.h: Likewise.
19535 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19536 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19537 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19538 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19539 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19540 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19541 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19542 * locale/localeinfo.h: Likewise.
19543 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19544 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19545
195462012-07-09 Roland McGrath <roland@hack.frob.com>
19547
19548 [BZ #14336]
19549 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19550 system".
19551 * manual/message.texi (The Uniforum approach): Likewise.
19552 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19553 (glibc iconv Implementation): Likewise.
19554
195552012-07-09 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #14337]
19558 * math/s_clog.c (__clog): Avoid scaling a value down where that
19559 could result in underflow.
19560 * math/s_clog10.c (__clog10): Likewise.
19561 * math/s_clog10f.c (__clog10f): Likewise.
19562 * math/s_clog10l.c (__clog10l): Likewise.
19563 * math/s_clogf.c (__clogf): Likewise.
19564 * math/s_clogl.c (__clogl): Likewise.
19565 * math/libm-test.inc (clog_test): Add more tests.
19566 (clog10_test): Likewise.
19567 * sysdeps/i386/fpu/libm-test-ulps: Update.
19568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19569
195702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19571
19572 [BZ #14283]
19573 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19574 by 7 not 8 to examine high bit of fractional part.
19575
19576 [BZ #14042]
19577 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19578 for call to __mcount_internal.
19579 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19580 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19581 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19582
195832012-07-06 Joseph Myers <joseph@codesourcery.com>
19584
19585 [BZ #14154]
19586 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19587 approximation for values within 0x1p-13f of an odd multiple of
19588 pi/4.
19589 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19590 exception. Add more tests.
19591 * sysdeps/i386/fpu/libm-test-ulps: Update.
19592
19593 [BZ #6778]
19594 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19595 inputs and return -1 for them. Do not check for +Inf in case not
19596 reachable for +Inf.
19597 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19598 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19600 and return -1 for them. Do not check for +Inf in case not
19601 reachable for +Inf.
19602 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19603 define.
19604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19605 and return -1 for them. Do not check for +Inf in case not
19606 reachable for +Inf.
19607 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19608 spurious underflow.
19609 * sysdeps/i386/fpu/libm-test-ulps: Update.
19610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19611
196122012-07-06 Mike Frysinger <vapier@gentoo.org>
19613
19614 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19615
196162012-07-05 Joseph Myers <joseph@codesourcery.com>
19617
19618 [BZ #14157]
19619 [BZ #14331]
19620 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19621 could result in spurious underflow. Scale down values above
19622 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19623 * math/s_csqrtf.c (__csqrtf): Likewise.
19624 * math/s_csqrtl.c (__csqrtl): Likewise.
19625 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19626 spurious underflow.
19627 * sysdeps/i386/fpu/libm-test-ulps: Update.
19628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19629
196302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19631
19632 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19633 xopen-msg.sed.
19634 * catgets/xopen-msg.awk: New file.
19635 * catgets/xopen-msg.sed: Removed.
19636
19637 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19638 po2text.sed.
19639 * intl/po2test.awk: New file.
19640 * intl/po2test.sed: Removed.
19641
196422012-07-04 Joseph Myers <joseph@codesourcery.com>
19643
19644 [BZ #14328]
19645 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19646 or multiply small sinh result by itself.
19647 * math/s_ctanf.c (__ctanf): Likewise.
19648 * math/s_ctanh.c (__ctanh): Likewise.
19649 * math/s_ctanhf.c (__ctanhf): Likewise.
19650 * math/s_ctanhl.c (__ctanhl): Likewise.
19651 * math/s_ctanl.c (__ctanl): Likewise.
19652 * math/libm-test.inc (ctan_test_tonearest): New function.
19653 (ctan_test_towardzero): Likewise.
19654 (ctan_test_downward): Likewise.
19655 (ctan_test_upward): Likewise.
19656 (ctanh_test_tonearest): Likewise.
19657 (ctanh_test_towardzero): Likewise.
19658 (ctanh_test_downward): Likewise.
19659 (ctanh_test_upward): Likewise.
19660 (main): Call these new functions.
19661 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19663
196642012-07-03 Mike Frysinger <vapier@gentoo.org>
19665
19666 * .gitignore: Delete /ports entry.
19667
196682012-07-03 Andreas Jaeger <aj@suse.de>
19669
19670 * po/bg.po: Update from translation team.
19671 * po/cs.po: Likewise.
19672 * po/de.po: Likewise.
19673 * po/hr.po: Likewise.
19674 * po/nl.pl: Likewise.
19675 * po/pl.po: Likewise.
19676 * po/vi.po: Likewise.
19677
196782012-07-03 Joseph Myers <joseph@codesourcery.com>
19679
19680 * Makeconfig [!+link] (+link-before-libc): New variable.
19681 [!+link] (+link-after-libc): Likewise.
19682 [!+link] (+link-tests): Likewise.
19683 [!+link] (+link): Define in terms of $(+link-before-libc) and
19684 $(+link-after-libc).
19685 [!+link-static] (+link-static-before-libc): New variable.
19686 [!+link-static] (+link-static-after-libc): Likewise.
19687 [!+link-static] (+link-static-tests): Likewise.
19688 [!+link-static] (+link-static): Define in terms of
19689 $(+link-static-before-libc) and $(+link-static-after-libc).
19690 [build-shared] (link-libc-before-gnulib): New variable.
19691 [build-shared] (link-libc-tests): Likewise.
19692 [build-shared] (link-libc): Define in terms of
19693 $(link-libc-before-gnulib).
19694 [!build-shared] (link-libc-tests): New variable.
19695 (link-libc-static-tests): New variable.
19696 [!gnulib] (gnulib-arch): New variable.
19697 [!gnulib] (gnulib-tests): Likewise.
19698 [!gnulib] (static-gnulib-arch): Likewise.
19699 [!gnulib] (static-gnulib-tests): Likewise.
19700 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19701 Define with "=" instead of ":=".
19702 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19703 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19704 * Rules (binaries-all-notests): New variable.
19705 (binaries-all-tests): Likewise.
19706 (binaries-static-notests): Likewise.
19707 (binaries-static-tests): Likewise.
19708 (binaries-all): Define using $(binaries-all-notests) and
19709 $(binaries-all-tests).
19710 (binaries-static): Define using $(binaries-static-notests) and
19711 $(binaries-static-tests).
19712 (binaries-shared-tests): New variable.
19713 (binaries-shared-notests): Likewise.
19714 (binaries-shared): Remove variable.
19715 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19716 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19717 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19718 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19719 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19720 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19721 * elf/Makefile (sln-modules): New variable.
19722 (extra-objs): Add $(sln-modules:=.o).
19723 (ldconfig-modules): Add static-stubs.
19724 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19725 * elf/static-stubs.c: New file.
19726
19727 [BZ #14283]
19728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19729 by 7 not 8 to examine high bit of fractional part. Use volatile
19730 variables when splitting into final array of floats if
19731 __FLT_EVAL_METHOD__ != 0.
19732 * math/libm-test.inc (cos_test): Add another test.
19733 (sin_test): Likewise.
19734 * sysdeps/i386/fpu/libm-test-ulps: Update.
19735
19736 [BZ #14273]
19737 * math/libm-test.inc (cosh_test): Add more tests.
19738
19739 * version.h (RELEASE): Set to "development".
19740 (VERSION): Set to "2.16.90".
19741
197422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19743
19744 * NEWS: Update copyright. Remove last-updated date.
19745 Mention math library bug fixes and timezone data changes.
19746 * README: Mention GNU/Hurd, x32, and HPPA support status.
19747
197482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19749
19750 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19751
197522012-06-27 Andreas Jaeger <aj@suse.de>
19753
19754 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19755
197562012-06-25 Andreas Jaeger <aj@suse.de>
19757
19758 * sysdeps/s390/fpu/libm-test-ulps: Update.
19759
197602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19761 Thomas Schwinge <thomas@codesourcery.com>
19762
19763 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19764 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19766 fanotify_mark.
19767
197682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19769
19770 * sysdeps/mach/start.c: Remove file.
19771 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19772 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19773 * sysdeps/sh/init-first.c: Likewise.
19774
19775 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19776 registers for frame unwinding purposes, add CFI directives.
19777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19778 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19779 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19780 Likewise.
19781
19782 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19783 __fortify_fail returning.
19784 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19785
19786 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19787 sysdeps/sh/____longjmp_chk.S.
19788 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19789 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19790 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19791 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19792
19793 * sysdeps/sh/abort-instr.h: New file.
19794 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19795 process in case exit returns.
19796
19797 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19798 initialize the GOT register before use.
19799
19800 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19801 calculation of ARGC > 4.
19802
19803 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19804 meaningful names to some local labels.
19805
198062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19807 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19808
19809 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19810 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19811 (__arch_compare_and_exchange_val_16_acq): Likewise.
19812 (__arch_compare_and_exchange_val_32_acq): Likewise.
19813 (atomic_exchange_and_add): Fix gUSA sequence.
19814 (atomic_add): Likewise.
19815 (atomic_add_negative): Likewise.
19816 (atomic_add_zero): Likewise.
19817 (atomic_bit_test_set): Likewise.
19818
198192012-06-22 Andreas Schwab <schwab@redhat.com>
19820
19821 [BZ #13579]
19822 * include/link.h (struct link_map): Add l_free_initfini.
19823 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19824 l_initfini.
19825 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19826 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19827 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19828 set.
19829
198302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19831
19832 * configure.in: Use AC_LANG_SOURCE.
19833 * configure: Regenerate.
19834
198352012-06-22 Roland McGrath <roland@hack.frob.com>
19836
19837 * configure.in (libc_cv_localstatedir): New substituted variable.
19838 * configure: Regenerated.
19839 * config.make.in (localstatedir): New variable, substituted from
19840 libc_cv_localstatedir.
19841 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19842 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19843 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19844 * sysdeps/gnu/configure: Regenerated.
19845
198462012-06-21 Jeff Law <law@redhat.com>
19847
19848 [BZ #14277]
19849 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19850 free. Simplify list management for _LIBC case.
19851
198522012-06-21 Joseph Myers <joseph@codesourcery.com>
19853
19854 [BZ #14273]
19855 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19856 Clear sign bit of 64-bit integer value before comparing against
19857 overflow value.
19858
19859 * sysdeps/mach/configure: Regenerated.
19860
198612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19862
19863 [BZ #14278]
19864 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19865
198662012-06-21 Jeff Law <law@redhat.com>
19867
19868 [BZ #13882]
19869 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19870 uint16_t for elements in the "seen" array to avoid char overflows.
19871 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19872 * elf/dl-open.c (dl_open_worker): Likewise.
19873
198742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19875
19876 * scripts/list-sources.sh: Scan PORTS for translations.
19877 * po/libc.pot: Regenerated.
19878
198792012-06-21 Andreas Jaeger <aj@suse.de>
19880
19881 [BZ #12194]
19882 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19883 warning.
19884 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19885 * bits/byteswap-16.h (__bswap_16): Likewise.
19886 * bits/byteswap.h (__bswap_constant_16): Likewise.
19887
198882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19889
19890 [BZ #14117]
19891 * sysdeps/i386/fpu_control.h: Removed.
19892 * sysdeps/x86_64/fpu_control.h: Moved to ...
19893 * sysdeps/x86/fpu_control.h: Here.
19894
19895 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19896 (_FPU_SETCW): Likewise.
19897
198982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 [BZ #14117]
19901 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19902 * sysdeps/x86/fpu/bits/mathinline.h: This.
19903 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19904
19905 [BZ #14050]
19906 [BZ #14117]
19907 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19908 functions if __x86_64__ is defined.
19909
199102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19911
19912 * string/endian.h: Add !__ASSEMBLER__ condition for including
19913 conversion interfaces.
19914
199152012-06-15 Joseph Myers <joseph@codesourcery.com>
19916
19917 [BZ #14241]
19918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19919 of ABS(x) in calculating zero to negative powers other than odd
19920 integers.
19921 * math/libm-test.inc (pow_test): Add more tests.
19922
199232012-06-15 Andreas Jaeger <aj@suse.de>
19924
19925 * manual/contrib.texi (Contributors): Update entry of Liubov
19926 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19927 Machado Filho.
19928
199292012-06-15 Cyril Hrubis <metan@ucw.cz>
19930
19931 * string/string.h: Add __wur to GNU version of strerror_r.
19932
199332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19934
19935 [BZ #14229]
19936 * string/Makefile (tests): Add tst-strtok_r.
19937 * string/tst-strtok_r.c: New file.
19938 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19939 RAX_LP/RDX_LP on SAVE_PTR.
19940
199412012-06-14 Roland McGrath <roland@hack.frob.com>
19942
19943 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19944
199452012-06-14 Joseph Myers <joseph@codesourcery.com>
19946
19947 * libm_test.inc (csqrt_test): Allow more spurious underflow
19948 exceptions.
19949 (j0_test): Likewise.
19950 (j1_test): Likewise.
19951 (y0_test): Likewise.
19952 (y1_test): Likewise.
19953
199542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19955
19956 * po/Makefile (libc.pot): Use UTF-8 charset.
19957
199582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19959
19960 [BZ #14210]
19961 Suppress sign-conversion warning from FD_SET.
19962 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19963 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19964 not unsigned long int.
19965 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19966
199672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19968
19969 [BZ #14050]
19970 [BZ #14117]
19971 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19972 __extern_always_inline instead of __extern_inline.
19973 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19974 (__signbit): Likewise.
19975 (__signbitl): Support C++ namespace.
19976 (lrintf): New inline function.
19977 (lrint): Likewise.
19978 (llrintf): Likewise.
19979 (llrint): Likewise.
19980 (fmaxf): Likewise.
19981 (fmax): Likewise.
19982 (fminf): Likewise.
19983 (fmin): Likewise.
19984 (rint): Likewise.
19985 (rintf): Likewise.
19986 (ceil): Likewise.
19987 (ceilf): Likewise.
19988 (floor): Likewise.
19989 (floorf): Likewise.
19990 (nearbyint): Likewise.
19991 (nearbyintf): Likewise.
19992
199932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19994
19995 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19996 non-default versions.
19997
199982012-06-11 Roland McGrath <roland@hack.frob.com>
19999
20000 [BZ #14218]
20001 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20002
200032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20004
20005 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20006 (FE_UPWARD, FE_DOWNWARD): Don't define.
20007 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20009
20010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20011 reading it.
20012 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20013 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20014
200152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20016
20017 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20019 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20020 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20021
200222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20023
20024 [BZ #14117]
20025 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20026 * sysdeps/i386/fpu/Implies: New file.
20027 * sysdeps/x86_64/fpu/Implies: Likewise.
20028 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20029 * sysdeps/x86/fpu/bits/fenv.h: This.
20030
20031 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20032 __SSE_MATH__.
20033
200342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20035
20036 [BZ #14134]
20037 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20038 character 0xffff that matches the last element of the
20039 conversion table.
20040
200412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20042
20043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20044 fmodl commit.
20045
200462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20047
20048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20049 values higher than 25.6283.
20050
200512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20052
20053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20054 subnormal exponent extraction and add some __builtin_expect.
20055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20056 Fix for subnormal mantissa calculation.
20057
200582012-06-04 Mike Frysinger <vapier@gentoo.org>
20059
20060 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20061 cpu2 is -1 and errno is not ENOSYS.
20062
200632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20064
20065 [BZ #14117]
20066 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20067 * sysdeps/x86/bits/string.h: This.
20068 * sysdeps/x86_64/bits/string.h: Removed.
20069
20070 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20071 if not compiling for x86-64, but compiling for >= i486.
20072
20073 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20074 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20075
20076 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20077 New macro from Linux kernel 3.4.0.
20078 (FP_XSTATE_MAGIC2): Likewise.
20079 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20080 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20081 (struct _fpx_sw_bytes): New struct.
20082 (struct _xsave_hdr): Likewise.
20083 (struct _ymmh_state): Likewise.
20084 (struct _xstate): Likewise.
20085
20086 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20087 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20088 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20089 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20090 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20091 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20092
20093 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20095 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20096 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20097 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20098 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20099
201002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20101
20102 [BZ #13743]
20103 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20104 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20105 (sysdep_headers): Include sys/platform/ppc.h.
20106 * sysdeps/powerpc/test-gettimebase.c: Test for
20107 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20108 * manual/Makefile (appendices): Include platform.texi.
20109 * manual/contrib.texi (Contributors): Update @node pointers.
20110 * manual/maint.texi (Maintenance): Likewise.
20111 (Platform): New node.
20112 * manual/platform.texi: New file. Document the new features.
20113
201142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 Jakub Jelinek <jakub@redhat.com>
20116
20117 [BZ #14188]
20118 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20119 where __builtin_expect is unavailable.
20120
201212012-06-03 David S. Miller <davem@davemloft.net>
20122
20123 * stdlib/longlong.h: Updated from GCC.
20124
201252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20126
20127 [BZ #14042]
20128 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20129 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20130 __mcount_internal.
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20132 (GLIBC_2.16): Likewise.
20133
201342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20135
20136 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20137
201382012-06-01 Joseph Myers <joseph@codesourcery.com>
20139
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20141 (default-abi): New variable.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20144 variable.
20145 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20146 Likewise.
20147 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20148 Likewise.
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20150 Likewise.
20151
20152 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20153 definition. Document in comment.
20154
201552012-06-01 David S. Miller <davem@davemloft.net>
20156
20157 * stdlib/longlong.h: Updated from GCC.
20158
201592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20160
20161 [BZ #14117]
20162 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20163 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20164 sys/debugreg.h sys/io.h here.
20165 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20166 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20167 sys/io.h.
20168 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20169 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20170 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20171 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20172 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20173 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20174
20175 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20176 Define only if __x86_64__ is defined.
20177
201782012-06-01 Joseph Myers <joseph@codesourcery.com>
20179
20180 [BZ #14048]
20181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20182 Use int64_t for variable i.
20183 * math/libm-test.inc (fmod_test): Add more tests.
20184
20185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20186 z computation is not scheduled after fetestexcept.
20187 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20188 Use math_force_eval instead of asm to ensure calculation scheduled
20189 before exception test.
20190 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20191 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20192
201932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20194
20195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20196 computation is not scheduled after fetestexcept.
20197
201982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20199
20200 [BZ #14117]
20201 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20202 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20203
202042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20205
20206 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20207 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20208
202092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20210
20211 [BZ #14117]
20212 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20213 <bits/wordsize.h>.
20214 (__WCHAR_MIN): Support __WORDSIZE == 64.
20215 (__WCHAR_MAX): Likewise.
20216
20217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20218 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20219
20220 [BZ #14183]
20221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20222 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20223
20224 [BZ #14117]
20225 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20226 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20227
20228 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20229 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20230
20231 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20232 Defined to 1 if __x86_64__ isn't defined.
20233 (_STAT_VER_LINUX_OLD): New.
20234 (st_atime): Remove duplicate.
20235 (st_mtime): Likewise.
20236 (st_ctime): Likewise.
20237
202382012-05-31 David S. Miller <davem@davemloft.net>
20239
20240 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20241 entries.
20242
202432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20244
20245 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20246 gen-libm-test.pl.
20247
20248 [BZ #14132]
20249 * elf/dl-reloc.c: Include <_itoa.h>.
20250 (_dl_reloc_bad_type): Remove use of INTUSE.
20251 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20252 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20253 * stdio-common/psiginfo.c (psiginfo): Likewise.
20254 * stdio-common/psignal.c (psignal): Likewise.
20255 * string/strsignal.c (strsignal): Likewise.
20256 * include/signal.h (_sys_siglist): Declare hidden proto.
20257 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20258 INTVARDEF with libc_hidden_data_def.
20259 * stdio-common/itoa-udigits.c: Likewise.
20260 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20261 (_itoa_lower_digits_internal): Remove declaration.
20262 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20263 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20264 (_sys_sigabbrev_internal): Remove aliases.
20265 (_sys_siglist): Define hidden alias.
20266
202672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20268
20269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20270 bits/sysctl.h.
20271
202722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 [BZ #14117]
20275 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20276 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20277
20278 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20279 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20280 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20281 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20283 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20284
20285 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20286 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20287 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20288
20289 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20290 with __addr.
20291 (insw): Likewise.
20292 (insl): Likewise.
20293 (outsb): Likewise.
20294 (outsw): Likewise.
20295 (outsl): Likewise.
20296
20297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20298 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20299 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20300
20301 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20302 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20303 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20304 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20305 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20306 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20307
20308 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20309 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20310
20311 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20312 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20313
20314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20316 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20317
20318 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20319 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20320 to ...
20321 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20322
20323 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20325 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20326
20327 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20328 for x86-64.
20329 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20330
203312012-05-31 Joseph Myers <joseph@codesourcery.com>
20332
20333 * math/math.h (M_El): Use two more decimal places.
20334 (M_LOG2El): Likewise.
20335 (M_LOG10El): Likewise.
20336 (M_LN2l): Likewise.
20337 (M_LN10l): Likewise.
20338 (M_PIl): Likewise.
20339 (M_PI_2l): Likewise.
20340 (M_PI_4l): Likewise.
20341 (M_1_PIl): Likewise.
20342 (M_2_PIl): Likewise.
20343 (M_2_SQRTPIl): Likewise.
20344 (M_SQRT2l): Likewise.
20345 (M_SQRT1_2l): Likewise.
20346
203472012-05-31 David S. Miller <davem@davemloft.net>
20348
20349 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20350 values between float registers.
20351 * sysdeps/sparc/sparc64/memset.S: Likewise.
20352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20353
203542012-05-31 Mike Frysinger <vapier@gentoo.org>
20355
20356 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20357 -D_FORTIFY_SOURCE=1.
20358 (CPPFLAGS-tst-longjmp_chk.c): Define.
20359 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20360 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20361 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20362 CFLAGS-tst-wchar-h.c.
20363
203642012-05-31 Marek Polacek <polacek@redhat.com>
20365
20366 [BZ #14132]
20367 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20368 __endmntent_internal): Remove declaration.
20369 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20370 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20371 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20372
203732012-05-30 David S. Miller <davem@davemloft.net>
20374
20375 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20376 (___Q_simulate_exceptions): Use real FP ops rather than writing
20377 into the %fsr.
20378 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20379 Likewise.
20380
203812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20382
20383 [BZ #14117]
20384 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20385 * sysdeps/x86/bits/xtitypes.h: This.
20386
20387 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20388 * sysdeps/x86/bits/wordsize.h: This.
20389
20390 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20391 * sysdeps/x86/bits/huge_vall.h: This.
20392
20393 * sysdeps/i386/bits/select.h: Removed.
20394 * sysdeps/x86_64/bits/select.h: Renamed to ...
20395 * sysdeps/x86/bits/select.h: This.
20396
20397 * sysdeps/i386/bits/setjmp.h: Removed.
20398 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20399 * sysdeps/x86/bits/setjmp.h: This.
20400
20401 * sysdeps/i386/bits/mathdef.h: Removed.
20402 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20403 * sysdeps/x86/bits/mathdef.h: This.
20404
204052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20406
20407 [BZ #14132]
20408 * include/sys/socket.h (__connect_internal)
20409 (__libc_sa_len_internal): Remove declaration.
20410 (__connect, __libc_sa_len): Declare hidden_proto.
20411 (SA_LEN): Remove use of INTUSE.
20412 * socket/connect.c: Add libc_hidden_def.
20413 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20414 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20415 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20416 alias.
20417 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20418 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20419 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20420 of adding _internal alias.
20421
204222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 [BZ #14117]
20425 * sysdeps/i386/bits/link.h: Removed.
20426 * sysdeps/i386/bits/linkmap.h: Likewise.
20427 * sysdeps/x86_64/bits/link.h: Renamed to ...
20428 * sysdeps/x86/bits/link.h: This.
20429 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20430 * sysdeps/x86/bits/linkmap.h: This.
20431
20432 * sysdeps/i386/bits/endian.h: Removed.
20433 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20434 * sysdeps/x86/bits/endian.h: This.
20435
20436 * sysdeps/i386/bits/byteswap.h: Removed.
20437 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20438 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20439 * sysdeps/x86/bits/byteswap.h: This.
20440 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20441 * sysdeps/x86/bits/byteswap-16.h: This.
20442 * sysdeps/i386/Implies: Add x86.
20443 * sysdeps/x86_64/Implies: Likewise.
20444
204452012-05-30 David S. Miller <davem@davemloft.net>
20446
20447 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20448 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20449 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20450 (FP_TRAPPING_EXCEPTIONS): Define.
20451 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20452 (FP_TRAPPING_EXCEPTIONS): Define.
20453 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20454 subnormals only when inexact has been signalled or underflow
20455 exceptions are enabled.
20456 (_FP_PACK_CANONICAL): Likewise.
20457
204582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 [BZ #14183]
20461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20462 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20463
204642012-05-30 Richard Henderson <rth@twiddle.net>
20465
20466 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20467 with #ifndef NOT_IN_libc.
20468
20469 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20470 marked to avoid plt entry.
20471
204722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20473
20474 [BZ #14112]
20475 * Makeconfig (default-abi): New macro.
20476 (abi-includes): Likewise.
20477 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20478 $(abi-$(default-abi)-lib-soname) for soname if defined.
20479 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20480 abi-variants.
20481 * Makefile (installed-stubs): Likewise.
20482 * include/stubs-biarch.h: Removed.
20483 * scripts/lib-names.awk: Only handle one library at a time.
20484 * scripts/soversions.awk: Remove WORDSIZE support.
20485 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20486 entries.
20487 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20488 Removed.
20489 (syscall-list-default-condition): Likewise.
20490 (syscall-list-default-condition): Likewise.
20491 (syscall-list-includes): Likewise.
20492 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20493 syscall-list-* with abi-*. Handle undefined abi-variants.
20494 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20495 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20496 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20497 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20499 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20500 Removed.
20501 (syscall-list-32-options): Likewise.
20502 (syscall-list-32-condition): Likewise.
20503 (syscall-list-64-options): Likewise.
20504 (syscall-list-64-condition): Likewise.
20505 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20506 macro.
20507 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20508 Renamed to ...
20509 (abi-*): This.
20510 (abi-64-ld-soname): New macro.
20511 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20512 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20513 Renamed to ...
20514 (abi-*): This.
20515 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20516 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20517
205182012-05-30 Joseph Myers <joseph@codesourcery.com>
20519
20520 * sysdeps/unix/sysv/linux/kernel-features.h
20521 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20522 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20523 include <kernel-features.h>.
20524 [!__NR_ftruncate64]: Remove conditional code.
20525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20526 [__NR_ftruncate64]: Make code unconditional.
20527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20528 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20529 include <kernel-features.h>.
20530 [!__NR_ftruncate64]: Remove conditional code.
20531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20532 [__NR_ftruncate64]: Make code unconditional.
20533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20535 include <kernel-features.h>.
20536 [!__NR_ftruncate64]: Remove conditional code.
20537 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20538 [__NR_ftruncate64]: Make code unconditional.
20539 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20541 include <kernel-features.h>.
20542 [!__NR_ftruncate64]: Remove conditional code.
20543 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20544 [__NR_ftruncate64]: Make code unconditional.
20545 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20546
20547 * configure.in (libc_cv_fpie): Weaken to a compile test using
20548 LIBC_TRY_CC_OPTION.
20549 * configure: Regenerated.
20550
205512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20552
20553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20557 Refreshed.
20558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20564 Refreshed.
20565
205662012-05-27 David S. Miller <davem@davemloft.net>
20567
20568 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20569 (___Q_zero): New.
20570 (__Q_simulate_exceptions): Return void. Change to simulate
20571 exceptions by writing into the %fsr.
20572 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20573 (__Qp_handle_exceptions): Likewise.
20574 (numbers): Delete.
20575 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20576 __Qp_handle_exceptions.
20577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20578 __Qp_handle_exceptions.
20579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20580 as unused and give dummy FP_RND_NEAREST initializer.
20581 (FP_INHIBIT_RESULTS): Define.
20582 (___Q_simulate_exceptions): Update declaration.
20583 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20584 formatting.
20585 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20586 as unused and give dummy FP_RND_NEAREST initializer.
20587 (__Qp_handle_exceptions): Update declaration.
20588 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20589 formatting.
20590
205912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20592
20593 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20594 the temporary FPU control word.
20595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20596 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20597 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20598 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20600 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20601 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20602 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20603 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20604 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20606
206072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20608
20609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20610 fields.
20611
206122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20613
20614 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20615 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20616 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20617 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20618 Likewise.
20619 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20620 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20621 Likewise.
20622
206232012-05-27 Ulrich Drepper <drepper@gmail.com>
20624
20625 * po/h.po: Update from translation team.
20626
206272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20628
20629 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20630
20631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20632 handling of denormals.
20633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20634 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20635 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20636 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20640 Likewise.
20641
206422012-05-26 Marek Polacek <polacek@redhat.com>
20643
20644 [BZ #14152]
20645 * math/libm-test.inc (fma_test): Don't always expect underflow
20646 exception.
20647
206482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20649
20650 [BZ #12416]
20651 * elf/tst-execstack.c: Include stackinfo.h.
20652 (do_test): Adjust test case to ensure that pthread_getattr_np
20653 behaviour remains the same after marking stack executable.
20654
206552012-05-25 Joseph Myers <joseph@codesourcery.com>
20656
20657 * sysdeps/unix/sysv/linux/kernel-features.h
20658 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20659 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20660 kernel-features.h.
20661 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20662 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20663 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20664 kernel-features.h.
20665 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20666 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20667
206682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20669
20670 * configure.in: Define the default includes to being none.
20671 * configure: Regenerated.
20672
206732012-05-25 Roland McGrath <roland@hack.frob.com>
20674
20675 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20676 * sysdeps/x86_64/setjmp.S: Likewise.
20677 * sysdeps/i386/bsd-setjmp.S: Likewise.
20678 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20679 * sysdeps/i386/setjmp.S: Likewise.
20680 * sysdeps/i386/__longjmp.S: Likewise.
20681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20683
20684 * include/stap-probe.h: New file.
20685 * configure.in: Handle --enable-systemtap.
20686 * configure: Regenerated.
20687 * config.h.in (USE_STAP_PROBE): New #undef.
20688 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20689 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20690 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20691
206922012-05-25 Joseph Myers <joseph@codesourcery.com>
20693
20694 [BZ #13717]
20695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20696 to 2.4.0 where earlier.
20697 * sysdeps/unix/sysv/linux/configure: Regenerated.
20698 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20699 <kernel-features.h>.
20700 [__ASSUME_32BITUIDS]: Make code unconditional.
20701 [!__ASSUME_32BITUIDS]: Remove conditional code.
20702 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20703 <kernel-features.h>.
20704 [__ASSUME_32BITUIDS]: Make code unconditional.
20705 [!__ASSUME_32BITUIDS]: Remove conditional code.
20706 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20707 [__ASSUME_32BITUIDS]: Make code unconditional.
20708 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20709 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20710 <kernel-features.h>.
20711 [__ASSUME_32BITUIDS]: Make code unconditional.
20712 [!__ASSUME_32BITUIDS]: Remove conditional code.
20713 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20714 <kernel-features.h>.
20715 [__ASSUME_32BITUIDS]: Make code unconditional.
20716 [!__ASSUME_32BITUIDS]: Remove conditional code.
20717 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20718 <kernel-features.h>.
20719 [__ASSUME_32BITUIDS]: Make code unconditional.
20720 [!__ASSUME_32BITUIDS]: Remove conditional code.
20721 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
20750 <kernel-features.h>.
20751 [__NR_setresgid] (__setresgid): Do not declare.
20752 [__ASSUME_32BITUIDS]: Make code unconditional.
20753 [!__ASSUME_32BITUIDS]: Remove conditional code.
20754 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20755 <kernel-features.h>.
20756 [__NR_setresuid] (__setresuid): Do not declare.
20757 [__ASSUME_32BITUIDS]: Make code unconditional.
20758 [!__ASSUME_32BITUIDS]: Remove conditional code.
20759 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20760 <kernel-features.h>.
20761 [__ASSUME_32BITUIDS]: Make code unconditional.
20762 [!__ASSUME_32BITUIDS]: Remove conditional code.
20763 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20764 <kernel-features.h>.
20765 [__ASSUME_32BITUIDS]: Make code unconditional.
20766 [!__ASSUME_32BITUIDS]: Remove conditional code.
20767 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20768 <kernel-features.h>.
20769 [__ASSUME_32BITUIDS]: Make code unconditional.
20770 [!__ASSUME_32BITUIDS]: Remove conditional code.
20771 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20772 <kernel-features.h>.
20773 [__ASSUME_32BITUIDS]: Make code unconditional.
20774 [!__ASSUME_32BITUIDS]: Remove conditional code.
20775 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20776 <kernel-features.h>.
20777 [__ASSUME_32BITUIDS]: Make code unconditional.
20778 [!__ASSUME_32BITUIDS]: Remove conditional code.
20779 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20780 <kernel-features.h>.
20781 [__ASSUME_32BITUIDS]: Make code unconditional.
20782 [!__ASSUME_32BITUIDS]: Remove conditional code.
20783 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
20792 <kernel-features.h>.
20793 [__ASSUME_32BITUIDS]: Make code unconditional.
20794 [!__ASSUME_32BITUIDS]: Remove conditional code.
20795 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20796 <kernel-features.h>.
20797 [__ASSUME_32BITUIDS]: Make code unconditional.
20798 [!__ASSUME_32BITUIDS]: Remove conditional code.
20799 * sysdeps/unix/sysv/linux/kernel-features.h
20800 (__ASSUME_SETRESUID_SYSCALL): Remove.
20801 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20802 (__ASSUME_32BITUIDS): Likewise.
20803 (__ASSUME_LDT_WORKS): Likewise.
20804 (__ASSUME_O_DIRECTORY): Likewise.
20805 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20806 architecture but not kernel version.
20807 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20808 (__ASSUME_MMAP2_SYSCALL): Likewise.
20809 (__ASSUME_STAT64_SYSCALL): Likewise.
20810 (__ASSUME_IPC64): Likewise.
20811 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20812 <kernel-features.h>.
20813 [__ASSUME_32BITUIDS]: Make code unconditional.
20814 [!__ASSUME_32BITUIDS]: Remove conditional code.
20815 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20816 <kernel-features.h>.
20817 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20818 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20819 132096]: Remove conditional code.
20820 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20822 <kernel-features.h>.
20823 [__ASSUME_32BITUIDS]: Make code unconditional.
20824 [!__ASSUME_32BITUIDS]: Remove conditional code.
20825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20826 <kernel-features.h>.
20827 [__ASSUME_32BITUIDS]: Make code unconditional.
20828 [!__ASSUME_32BITUIDS]: Remove conditional code.
20829 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20830 <kernel-features.h>.
20831 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20832 unconditional.
20833 (__setresgid): Do not declare.
20834 [__ASSUME_32BITUIDS]: Make code unconditional.
20835 [!__ASSUME_32BITUIDS]: Remove conditional code.
20836 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20837 <kernel-features.h>.
20838 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20839 unconditional.
20840 (__setresuid): Do not declare.
20841 [__ASSUME_32BITUIDS]: Make code unconditional.
20842 [!__ASSUME_32BITUIDS]: Remove conditional code.
20843 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20844 <kernel-features.h>.
20845 [__ASSUME_32BITUIDS]: Make code unconditional.
20846 [!__ASSUME_32BITUIDS]: Remove conditional code.
20847 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20848 <kernel-features.h>.
20849 [__ASSUME_32BITUIDS]: Make code unconditional.
20850 [!__ASSUME_32BITUIDS]: Remove conditional code.
20851
208522012-05-25 Richard Henderson <rth@twiddle.net>
20853
20854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20855 dl_hwcap to ifunc resolver.
20856 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20857 elf_ifunc_invoke.
20858 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20859 dl_hwcap to ifunc resolver.
20860 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20861
208622012-05-24 Joseph Myers <joseph@codesourcery.com>
20863
20864 [BZ #14153]
20865 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20866 for |x| <= 2**-26, not 2**-57.
20867 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20868 exception.
20869
208702012-05-24 Jeff Law <law@redhat.com>
20871
20872 * stdio-common/Makefile (tests): Add bug25.
20873 * stdio-common/bug25.c: New test.
20874
208752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20876
20877 [BZ #13576]
20878 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20879 multiple of MALLOC_ALIGNMENT in size.
20880 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20881
208822012-05-24 Joseph Myers <joseph@codesourcery.com>
20883
20884 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20885 Require >= 256.
20886 (FILENAME_MAX): Use macro-int-constant.
20887 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20888 (_IOFBF): Use macro-int-constant.
20889 (_IOLBF): Likewise.
20890 (_IONBF): Likewise.
20891 (SEEK_CUR): Likewise.
20892 (SEEK_END): Likewise.
20893 (SEEK_SET): Likewise.
20894 (TMP_MAX): Likewise.
20895 (EOF): Use macro-int-constant. Require < 0.
20896 (NULL): Use macro-constant. Require == 0.
20897 (stdin): Require type to be FILE *.
20898 (stdout): Likewise.
20899 (stderr): Likewise.
20900 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20901 macro-int-constant.
20902 (EXIT_SUCCESS): Likewise.
20903 (NULL): Use macro-constant. Require == 0.
20904 (RAND_MAX): Use macro-int-constant.
20905 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20906 [C99-based standards] (strtof): Require function.
20907 [C99-based standards] (strtold): Likewise.
20908 [C99-based standards] (strtoll): Likewise.
20909 [C99-based standards] (strtoull): Likewise.
20910 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20911 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20912 [ISO || ISO99 || ISO11] (math.h): Likewise.
20913 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20914 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20916
209172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20918
20919 [BZ #14132]
20920 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20921 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20922 * intl/dgettext.c (DCGETTEXT): Likewise.
20923 * intl/gettext.c (DCGETTEXT): Likewise.
20924 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20925 * posix/regex_internal.h (gettext): Likewise.
20926 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20927 Remove declaration.
20928 * include/argz.h (__argz_count_internal)
20929 (__argz_stringify_internal): Remove declaration.
20930 (__argz_count, __argz_stringify): Declare hidden proto.
20931 * intl/dcgettext.c: Remove use of INTDEF.
20932 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20933 * string/argz-stringify.c: Likewise.
20934 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20935 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20936 Declare hidden proto.
20937 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20938 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20939 Declare hidden proto.
20940 * include/stdio.h (__asprintf_internal): Don't declare.
20941 (__asprintf): Don't define as macro. Declare hidden proto.
20942 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20943 (__fsetlocking): Declare hidden proto.
20944 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20945 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20946 hidden proto.
20947 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20948 (_IO_setlinebuf): Remove use of INTUSE.
20949 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20950 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20951 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20952 Remove declaration.
20953 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20954 (_IO_do_flush): Remove use of INTUSE.
20955 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20956 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20957 (_IO_adjust_column, _IO_least_wmarker)
20958 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20959 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20960 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20961 (_IO_default_doallocate, _IO_wdefault_doallocate)
20962 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20963 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20964 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20965 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20966 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20967 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20968 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20969 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20970 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20971 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20972 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20973 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20974 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20975 proto.
20976 (_IO_flush_all_internal, _IO_adjust_column_internal)
20977 (_IO_default_uflow_internal, _IO_default_finish_internal)
20978 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20979 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20980 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20981 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20982 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20983 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20984 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20985 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20986 (_IO_file_close_internal, _IO_file_close_it_internal)
20987 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20988 (_IO_file_init_internal, _IO_file_attach_internal)
20989 (_IO_file_fopen_internal, _IO_file_read_internal)
20990 (_IO_file_sync_internal, _IO_file_seek_internal)
20991 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20992 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20993 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20994 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20995 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20996 (_IO_list_all_internal, _IO_link_in_internal)
20997 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20998 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20999 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21000 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21001 (_IO_do_write_internal, _IO_padn_internal)
21002 (_IO_getline_info_internal, _IO_getline_internal)
21003 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21004 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21005 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21006 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21007 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21008 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21009 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21010 with libc_hidden_ver, remove use of INTUSE.
21011 * libio/genops.c: Likewise.
21012 * libio/freopen.c: Likewise.
21013 * libio/freopen64.c: Likewise.
21014 * libio/iofclose.c: Likewise.
21015 * libio/iofdopen.c: Likewise.
21016 * libio/iofflush.c: Likewise.
21017 * libio/iofflush_u.c: Likewise.
21018 * libio/iofgets.c: Likewise.
21019 * libio/iofgets_u.c: Likewise.
21020 * libio/iofopen.c: Likewise.
21021 * libio/iofopncook.c: Likewise.
21022 * libio/iofread.c: Likewise.
21023 * libio/iofread_u.c: Likewise.
21024 * libio/ioftell.c: Likewise.
21025 * libio/iofwrite.c: Likewise.
21026 * libio/iogetline.c: Likewise.
21027 * libio/iogets.c: Likewise.
21028 * libio/iogetwline.c: Likewise.
21029 * libio/iopadn.c: Likewise.
21030 * libio/iopopen.c: Likewise.
21031 * libio/ioseekoff.c: Likewise.
21032 * libio/ioseekpos.c: Likewise.
21033 * libio/iosetbuffer.c: Likewise.
21034 * libio/iosetvbuf.c: Likewise.
21035 * libio/ioungetc.c: Likewise.
21036 * libio/ioungetwc.c: Likewise.
21037 * libio/iovdprintf.c: Likewise.
21038 * libio/iovsprintf.c: Likewise.
21039 * libio/iovsscanf.c: Likewise.
21040 * libio/memstream.c: Likewise.
21041 * libio/obprintf.c: Likewise.
21042 * libio/oldfileops.c: Likewise.
21043 * libio/oldiofclose.c: Likewise.
21044 * libio/oldiofdopen.c: Likewise.
21045 * libio/oldiofopen.c: Likewise.
21046 * libio/oldiopopen.c: Likewise.
21047 * libio/oldstdfiles.c: Likewise.
21048 * libio/putc.c: Likewise.
21049 * libio/setbuf.c: Likewise.
21050 * libio/setlinebuf.c: Likewise.
21051 * libio/stdfiles.c: Likewise.
21052 * libio/strops.c: Likewise.
21053 * libio/vasprintf.c: Likewise.
21054 * libio/vscanf.c: Likewise.
21055 * libio/vsnprintf.c: Likewise.
21056 * libio/vswprintf.c: Likewise.
21057 * libio/wfiledoalloc.c: Likewise.
21058 * libio/wfileops.c: Likewise.
21059 * libio/wgenops.c: Likewise.
21060 * libio/wmemstream.c: Likewise.
21061 * libio/wstrops.c: Likewise.
21062 * libio/__fpurge.c: Likewise.
21063 * libio/__fsetlocking.c: Likewise.
21064 * assert/assert.c: Likewise.
21065 * debug/fgets_chk.c: Likewise.
21066 * debug/fgets_u_chk.c: Likewise.
21067 * debug/fread_chk.c: Likewise.
21068 * debug/fread_u_chk.c: Likewise.
21069 * debug/gets_chk.c: Likewise.
21070 * debug/obprintf_chk.c: Likewise.
21071 * debug/vasprintf_chk.c: Likewise.
21072 * debug/vdprintf_chk.c: Likewise.
21073 * debug/vsnprintf_chk.c: Likewise.
21074 * debug/vsprintf_chk.c: Likewise.
21075 * malloc/mtrace.c: Likewise.
21076 * misc/error.c: Likewise.
21077 * misc/syslog.c: Likewise.
21078 * stdio-common/asprintf.c: Likewise.
21079 * stdio-common/fxprintf.c: Likewise.
21080 * stdio-common/getw.c: Likewise.
21081 * stdio-common/isoc99_fscanf.c: Likewise.
21082 * stdio-common/isoc99_scanf.c: Likewise.
21083 * stdio-common/isoc99_vfscanf.c: Likewise.
21084 * stdio-common/isoc99_vscanf.c: Likewise.
21085 * stdio-common/isoc99_vsscanf.c: Likewise.
21086 * stdio-common/printf-prs.c: Likewise.
21087 * stdio-common/printf_fp.c: Likewise.
21088 * stdio-common/printf_fphex.c: Likewise.
21089 * stdio-common/printf_size.c: Likewise.
21090 * stdio-common/putw.c: Likewise.
21091 * stdio-common/scanf.c: Likewise.
21092 * stdio-common/sprintf.c: Likewise.
21093 * stdio-common/tmpfile.c: Likewise.
21094 * stdio-common/vfprintf.c: Likewise.
21095 * stdio-common/vfscanf.c: Likewise.
21096 * stdlib/strfmon_l.c: Likewise.
21097 * sunrpc/openchild.c: Likewise.
21098 * sunrpc/xdr_stdio.c: Likewise.
21099 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21100 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21101
211022012-05-24 Roland McGrath <roland@hack.frob.com>
21103
21104 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21105
21106 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21107 in the third column, to generate for the shared library an IFUNC
21108 that uses _dl_vdso_vsym.
21109 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21110 * Makeconfig (object-suffixes-noshared): New variable.
21111
21112 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21113 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21114 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21115 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21116
21117 [BZ #14132]
21118 * include/sys/time.h (__gettimeofday): Remove macro.
21119 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21120 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21121 Remove INTDEF.
21122 (__gettimeofday): Add libc_hidden_def.
21123 (gettimeofday): Add libc_hidden_weak.
21124 * sysdeps/mach/gettimeofday.c: Likewise.
21125 * sysdeps/posix/gettimeofday.c: Likewise.
21126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21127 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21129 (__gettimeofday_internal): Remove strong_alias.
21130 (__gettimeofday): Add libc_hidden_def.
21131 (gettimeofday): Add libc_hidden_weak.
21132 * sysdeps/unix/syscalls.list (gettimeofday):
21133 Remove __gettimeofday_internal alias.
21134
211352012-05-24 Daniel Jacobowitz <drow@false.org>
21136 H.J. Lu <hongjiu.lu@intel.com>
21137
21138 [BZ #12495]
21139 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21140 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21141 (largebin_index_32_big): New.
21142 (largebin_index): Use it for 16-byte alignment.
21143 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21144 correction with front_misalign.
21145
211462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21150 Likewise.
21151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21152 Likewise.
21153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21154 Likewise.
21155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21156 Likewise.
21157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21158 Likewise.
21159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21160 Likewise.
21161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21162 Likewise.
21163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21164 Likewise.
21165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21166 Likewise.
21167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21168 Likewise.
21169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21170 Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21172 Likewise.
21173
21174 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21175 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21176
211772012-05-24 Joseph Myers <joseph@codesourcery.com>
21178
21179 [BZ #10846]
21180 [BZ #14036]
21181 * math/libm-test.inc (exp_test): Add test from bug 14036.
21182 (pow_test): Add test from bug 10846.
21183
21184 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21185 and other flags.
21186 (special_function): Do not include flags in test name.
21187 (parse_args): Likewise.
21188 * sysdeps/i386/fpu/libm-test-ulps: Update.
21189 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21190 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21191 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21193
21194 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21195 exceptions.
21196 * math/libm-test.inc ("Philosophy"): Update comment about
21197 exception testing.
21198 (UNDERFLOW_EXCEPTION): New macro.
21199 (UNDERFLOW_EXCEPTION_OK): Likewise.
21200 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21201 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21202 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21203 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21204 (INVALID_EXCEPTION_OK): Update value.
21205 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21206 (OVERFLOW_EXCEPTION_OK): Likewise.
21207 (IGNORE_ZERO_INF_SIGN): Likewise.
21208 (test_exceptions): Handle underflow exceptions.
21209 (acos_test): Update for underflow exception expectations.
21210 (cexp_test): Likewise.
21211 (clog_test): Likewise.
21212 (clog10_test): Likewise.
21213 (csqrt_test): Likewise.
21214 (ctan_test): Likewise.
21215 (ctanh_test): Likewise.
21216 (exp_test): Likewise.
21217 (exp10_test): Likewise.
21218 (exp2_test): Likewise.
21219 (expm1_test): Likewise.
21220 (fma_test): Likewise.
21221 (j0_test): Likewise.
21222 (jn_test): Likewise.
21223 (nexttoward_test): Likewise.
21224 (pow_test): Likewise.
21225 (scalbn_test): Likewise.
21226 (scalbln_test): Likewise.
21227 (tan_test): Likewise.
21228 (y1_test): Likewise.
21229 * sysdeps/i386/fpu/libm-test-ulps: Update.
21230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21231
212322012-05-23 David S. Miller <davem@davemloft.net>
21233
21234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21235 (__libc_sigaction): Remove unused local variables.
21236
212372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21240
212412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21242
21243 mktime: avoid signed integer overflow
21244 * time/mktime.c (__mktime_internal): Do not mishandle the case
21245 where diff == INT_MIN.
21246
21247 mktime: simplify computation of average
21248 * time/mktime.c (ranged_convert): Use new time_t_avg function
21249 instead of rolling our own (probably-slower) code.
21250
21251 mktime: do not assume signed right shift propagates sign bit
21252 * time/mktime.c (isdst_differ): New static function.
21253 (__mktime_internal): No need to normalize tm_isdst now.
21254 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21255 tm_isdst values.
21256
21257 mktime: merge another wrapv change from gnulib
21258 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21259 from some compilers.
21260
21261 mktime: remove incorrect attempt at unusual arithmetics
21262 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21263 The code didn't really work on such machines anyway.
21264 (TYPE_MINIMUM): Assume two's complement.
21265 (twos_complement_arithmetic): Verify that long_int and time_t
21266 are two's complement (or unsigned, in the latter case).
21267
21268 mktime: check signed shifts on long_int and time_t, too
21269 * time/mktime.c (SHR): Check that shifts work as desired
21270 on the types long_int and time_t too, as SHR is used on
21271 such types.
21272
21273 mktime: do not assume 'long' is wide enough
21274 * time/mktime.c (verify): Move decl up.
21275 (long_int): New type.
21276 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21277 to remove assumption in the code that 'long' is wide enough to
21278 store year values. This assumption is not true on x32 and on
21279 some non-glibc platforms.
21280
21281 mktime: merge wrapv change from gnulib
21282 * time/mktime.c (WRAPV): New macro.
21283 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21284 (guess_time_tm, __mktime_internal): Do not assume that signed
21285 integer overflow wraps around; modern compilers generate code
21286 where this assumption is no longer valid.
21287
212882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21289
21290 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21291 Replace "jmp L(pseudo_end)" with "ret".
21292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21293 Likewise.
21294
212952012-05-23 Andreas Jaeger <aj@suse.de>
21296
21297 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21298 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21299
213002012-05-23 Andreas Jaeger <aj@suse.de>
21301 Maximilian Attems <max@stro.at>
21302
21303 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21304 New macros.
21305
213062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21307
21308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21309 code so that pseudo_end is just ret and the stack pointer is
21310 correct also for static library in error case.
21311
213122012-05-23 Joseph Myers <joseph@codesourcery.com>
21313
21314 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21315 move to syscalls.list.
21316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21320
21321 * manual/install.texi (Running make install): Do not mention Linux
21322 kernel version for which pt_chown is not needed.
21323 (Linux): Do not mention problems with nscd with 2.0 kernels.
21324 * INSTALL: Regenerated.
21325
213262012-05-23 Andreas Jaeger <aj@suse.de>
21327
21328 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21329 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21330 macro.
21331 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21333 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21335 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21339 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21341 * sysdeps/unix/sysv/linux/bits/in.h
21342 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21343
213442012-05-22 Roland McGrath <roland@hack.frob.com>
21345
21346 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21347 (PREPARE_VERSION): Just use assert instead, it will be elided
21348 under [NDEBUG] anyway.
21349
213502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21351
21352 * sysdeps/unix/sysv/linux/Makefile: Include
21353 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21354 (sysdep_routines): Remove sysctl.
21355 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21356 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21357 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21358 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21359 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21360
213612012-05-22 Andreas Jaeger <aj@suse.de>
21362
21363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21364 that pseudo_end is just ret and the stack pointer is correct also
21365 for static library in error case.
21366
213672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21368
21369 [BZ #14122]
21370 * nss/nsswitch.c (defconfig_entries): New variable.
21371 (__nss_database_lookup): Don't leak defconfig entries.
21372 (nss_parse_service_list): Don't leak on error paths.
21373 (free_database_entries): New function.
21374 (free_defconfig): New function.
21375 (free_mem): Move common code to free_database_entries.
21376
213772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21378
21379 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21380 Add arch_prctl.
21381 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21382
21383 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21384 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21386 New macro.
21387 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21388 (INTERNAL_SYSCALL_TYPES): Likewise.
21389 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21390 (LOAD_REGS_TYPES_[1-6]): Likewise.
21391 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21392 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21393
213942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395
21396 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21397 copysignl for GLIBC_2_0.
21398 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21399 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21401 logbl for GLIBC_2_0.
21402 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21403 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21404
214052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21406
21407 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21408 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21409
21410 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21411 Use "neg %eax".
21412
21413 * time/mktime.c: Update copyright years.
21414
214152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21416
21417 mktime: merge comment-quoting-style change from gnulib
21418 * time/mktime.c: Quote 'like this' in comments.
21419 The GNU coding standards suggest that we no longer quote `like this',
21420 as "`" and "'" are typically rendered asymmetrically nowadays.
21421 The typical gnulib style is to quote 'like this' when quoting
21422 code, and "like this" when quoting English.
21423
21424 * time/mktime.c (compile-command): Add "-I.".
21425
21426 mktime: merge mktime-internal.h change from gnulib
21427 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21428
21429 mktime: merge time_r change from gnulib
21430 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21431
21432 mktime: merge DEBUG change from gnulib
21433 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21434 case system <time.h> has a #define.
21435
21436 mktime: merge <sys/types.h> change from gnulib
21437 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21438 since <time.t> is now guaranteed to define time_t.
21439
21440 mktime: merge HAVE_CONFIG_H change from gnulib
21441 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21442
214432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21446 Use "neg %eax".
21447
21448 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21449 __rlim_t cast.
21450 (struct rusage): Use anonymous union to pad each field to
21451 __syscall_slong_t.
21452
214532012-05-21 David S. Miller <davem@davemloft.net>
21454
21455 * Makefules (o-iterator): Remove .s cases.
21456 (compile-command.s): Delete.
21457 (COMPILE.s): Delete.
21458 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21459
214602012-05-21 Joseph Myers <joseph@codesourcery.com>
21461
21462 * configure.in (libc_cv_predef_stack_protector): Only consider
21463 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21464 * configure: Regenerated.
21465
214662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21467
21468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21469 New macro. Use R*LP on int and pointer.
21470 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21471 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21472 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21473 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21474
21475 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21476 [__WORDSIZE_TIME64_COMPAT32] instead of
21477 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21478 (struct utmp): Likewise.
21479 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21480 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21481 Renamed to ...
21482 (__WORDSIZE_TIME64_COMPAT32): This.
21483 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21484 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21485 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21486 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21487 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21488 (__WORDSIZE_TIME64_COMPAT32): New macro.
21489
214902012-05-21 Andreas Jaeger <aj@suse.de>
21491
21492 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21493 only if [SHARED]. Add prototype for __wcschr_ia32.
21494
214952012-05-21 Roland McGrath <roland@hack.frob.com>
21496
21497 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21498 of %rbp unmolested in the jmp_buf while mangling the low bits.
21499 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21500 unmolested high bits of %rbp while demangling the low bits.
21501 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21502
215032012-05-21 Andreas Jaeger <aj@suse.de>
21504
21505 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21506 * sunrpc/svc_simple.c: Use it for registerrpc.
21507 * sunrpc/xcrypt.c: Use it for passwd2des.
21508
21509 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21510
215112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21512
21513 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21514 Don't define if [__SYSCALL_WORDSIZE != 32].
21515 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21516 New macro.
21517
215182012-05-21 Bruno Haible <bruno@clisp.org>
21519 Andreas Jaeger <aj@suse.de>
21520
21521 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21522 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21523 inptr and inend for must_buffer_ch.
21524 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21525 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21526 * stdio-common/Makefile (tests): Remove bug15.
21527 (bug15-ENV): Remove macro.
21528 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21529 anymore.
21530
215312012-05-19 Andreas Jaeger <aj@suse.de>
21532 Roland McGrath <roland@hack.frob.com>
21533
21534 * manual/contrib.texi: Completely rewritten. It contains now an
21535 alphabetical list of contributors and their contributions.
21536
215372012-05-21 Richard Henderson <rth@twiddle.net>
21538
21539 * misc/getauxval.c (__getauxval): Use unsigned long int.
21540 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21541 (getauxval): Use unsigned long int.
21542
215432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21546
215472012-05-21 Roland McGrath <roland@hack.frob.com>
21548
21549 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21550 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21551 __alignof__ (long double).
21552
215532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21554
21555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21556
215572012-05-20 Richard Henderson <rth@twiddle.net>
21558
21559 * misc/getauxval.c: New file.
21560 * misc/sys/auxv.h: New file.
21561 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21562 (routines): Add getauxval.
21563 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21564 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21565 * elf/dl-sysdep.c (_dl_auxv): Remove.
21566 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21567 * elf/dl-support.c (_dl_auxv): New variable.
21568 (_dl_aux_init): Initialize it.
21569 * manual/startup.texi (Auxiliary Vector): New node.
21570 * sysdeps/generic/bits/hwcap.h: New file.
21571 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21572 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21573 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21574 * sysdeps/sparc/sysdep.h: ... here. Include it.
21575 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21578 Update.
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21587
215882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21589
21590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21591
215922012-05-19 David S. Miller <davem@davemloft.net>
21593
21594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21595
215962012-05-19 Joseph Myers <joseph@codesourcery.com>
21597
21598 [BZ #14123]
21599 * math/s_ccosh.c: Include <float.h>
21600 (__ccosh): Avoid internal overflow calculating sinh and cosh
21601 values before multiplying by sin and cos values.
21602 * math/s_ccoshf.c: Likewise.
21603 * math/s_ccoshl.c: Likewise.
21604 * math/s_csin.c: Likewise.
21605 * math/s_csinf.c: Likewise.
21606 * math/s_csinl.c: Likewise.
21607 * math/s_csinh.c: Likewise.
21608 * math/s_csinhf.c: Likewise.
21609 * math/s_csinhl.c: Likewise.
21610 * math/libm-test.inc (ccos_test): Add more tests.
21611 (ccosh_test): Likewise.
21612 (csin_test): Likewise.
21613 (csinh_test): Likewise.
21614 * sysdeps/i386/fpu/libm-test-ulps: Update.
21615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616
216172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21618
21619 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21620 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21621
21622 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21623
216242012-05-19 Joseph Myers <joseph@codesourcery.com>
21625
21626 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21627 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21628 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21629 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21630 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21631 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21632 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21633 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21634 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21635 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21636 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21637 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21638 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21639 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21640 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21641 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21642 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21643 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21644 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21645 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21646 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21647 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21648 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21649 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21650 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21651 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21652 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21653 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21654 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21655 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21656 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21657
216582012-05-18 Andreas Jaeger <aj@suse.de>
21659
21660 * csu/.gitignore: Delete.
21661
216622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21663
21664 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21665 (timex): Use __syscall_slong_t.
21666
216672012-05-18 Andreas Jaeger <aj@suse.de>
21668 Carlos O'Donell <carlos_odonell@mentor.com>
21669
21670 * manual/install.texi (Configuring and compiling): Update
21671 description about files modified in the source directory.
21672 * INSTALL: Regenerated.
21673
216742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21675
21676 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21677 value. Use "or" to set return value to -1.
21678 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21679 negate return value.
21680
216812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21682
21683 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21684 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21685 failure if the compiler has Graphite support disabled.
21686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21687 Likewise.
21688 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21689 CFLAGS-memmove.c): Likewise.
21690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21691 Likewise.
21692
216932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21694
21695 * sysdeps/x86_64/x32/_itoa.h: New file.
21696
21697 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21698 getdents system call only if kernel and user dirents have the
21699 same d_ino and d_off.
21700
21701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21702 LLONG_MAX != LONG_MAX.
21703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21704 (_fitoa_word): Likewise.
21705
21706 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21707 years.
21708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21709 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21710 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21711
21712 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21713 include <bits/wordsize.h>. Check __x86_64__ instead of
21714 __WORDSIZE.
21715 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21716 if __x86_64__ is defined. Use anonymous union on fpstate.
21717
21718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21719 anonymous union.
21720
217212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21722
21723 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21724 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21725 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21726 Refer to _rtld_local_ro instead of _rtld_global_ro.
21727 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21728 Likewise.
21729 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21730 Likewise.
21731 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21732 Likewise.
21733 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21734 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21735 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21736
21737 * sysdeps/powerpc/powerpc32/dl-machine.c
21738 (__elf_machine_runtime_setup) [PROF]: Don't reference
21739 _dl_prof_resolve.
21740
217412012-05-18 Andreas Jaeger <aj@suse.de>
21742
21743 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21744 function only available for GCCs before 3.4 since GCC 3.4
21745 introduced a builtin.
21746 (lrint): Likewise.
21747 (llrintf): Likewise.
21748 (llrint): Likewise.
21749 (fmaxf): Likewise.
21750 (fmax): Likewise.
21751 (fminf): Likewise.
21752 (fmin): Likewise.
21753 (rint): Likewise.
21754 (rintf): Likewise.
21755 (nearbyint): Likewise.
21756 (nearbyintf): Likewise.
21757 (ceil): Likewise.
21758 (ceilf): Likewise.
21759 (floor): Likewise.
21760 (floorf): Likewise.
21761
217622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21765 on both fields and cast pointer to __syscall_ulong_t.
21766
21767 * bits/types.h (__fsword_t): New type.
21768 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21769 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21771 (__FSWORD_T_TYPE): Likewise.
21772 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21773 (__FSWORD_T_TYPE): Likewise.
21774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21775 (__FSWORD_T_TYPE): Likewise.
21776 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21777 (__FSWORD_T_TYPE): Likewise.
21778 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21779 __SWORD_TYPE with __fsword_t.
21780 (statfs64): Likewise.
21781
217822012-05-17 David S. Miller <davem@davemloft.net>
21783
21784 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21785
217862012-05-17 Andreas Jaeger <aj@suse.de>
21787
21788 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21789 warning.
21790
217912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21792
21793 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21794
217952012-05-17 Andreas Jaeger <aj@suse.de>
21796
21797 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21798 when it is used.
21799
218002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21801
21802 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21803
218042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21805
21806 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21807 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21808
218092012-05-17 Andreas Jaeger <aj@suse.de>
21810 Carlos O'Donell <carlos_odonell@mentor.com>
21811
21812 [BZ #14059]
21813 * sysdeps/x86_64/multiarch/init-arch.h
21814 (bit_YMM_Usable): Rename to...
21815 (bit_AVX_Usable): ... this.
21816 (bit_FMA4_Usable): New macro.
21817 (bit_XMM_state): New macro.
21818 (bit_YMM_state): New macro.
21819 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21820 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21821 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21822 (CPUID_OSXSAVE): New macro.
21823 (CPUID_AVX): New macro.
21824 (CPUID_FMA4): New macro.
21825 (index_YMM_Usable): Rename to...
21826 (index_AVX_Usable): ... this.
21827 (HAS_AVX): Use HAS_ARCH_FEATURE.
21828 (HAS_FMA4): Likewise.
21829 (HAS_YMM_USABLE): Remove.
21830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21831 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21832 are present.
21833 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21834 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21835 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21836 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21837 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21838
218392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21840
21841 * math/libm-test.c: Support platforms without multiple rounding modes.
21842 * math/bug-nextafter.c: Support platforms without FP exceptions.
21843 * math/bug-nexttoward.c: Likewise.
21844 * math/test-fenv.c: Likewise.
21845 * math/test-misc.c: Likewise.
21846 * stdlib/bug-getcontext.c: Likewise.
21847
218482012-05-17 Andreas Jaeger <aj@suse.de>
21849
21850 * manual/examples/search.c (critter_cmp): Change signature to
21851 avoid warnings.
21852 * manual/string.texi (Collation Functions): Likewise.
21853
218542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * bits/types.h: Fold copyright years.
21857 * bits/typesizes.h: Likewise.
21858 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21862 * time/time.h: Likewise.
21863
218642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21865
21866 [BZ #208]
21867 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21868 in instead of returning them. Return void.
21869 (__libc_mallinfo): Accumulate over all arenas.
21870 (__malloc_stats): Adjust for change in int_mallinfo interface.
21871
218722012-05-16 Roland McGrath <roland@hack.frob.com>
21873
21874 [BZ #10375]
21875 * configure.in (NM): Add AC_CHECK_TOOL for it.
21876 (libc_extra_cflags): New substituted variable.
21877 Check for -fstack-protector being used implicitly.
21878 * configure: Regenerated.
21879 * config.make.in (config-extra-cflags): New variable,
21880 gets @libc_extra_cflags@.
21881 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21882
21883 [BZ #10375]
21884 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21885 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21886 * configure: Regenerated.
21887 * config.make.in (CPPUNDEFS): New substituted variable.
21888 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21889 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21890 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21891
218922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21895 (mq_attr): Use __syscall_slong_t.
21896
218972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21900 Check __x86_64__ instead of __WORDSIZE.
21901 (_STAT_VER_LINUX): Likewise.
21902 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21903 __syscall_ulong_t and __syscall_slong_t.
21904 (stat64): Likewise.
21905
219062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21907
21908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21909
219102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21911
21912 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21913
219142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21915
21916 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21917 __syscall_ulong_t.
21918
21919 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21920 include <bits/wordsize.h>. Check __x86_64__ instead of
21921 __WORDSIZE.
21922 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21923 defined.
21924 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21925
21926 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21927 include <bits/wordsize.h>. Check __x86_64__ instead of
21928 __WORDSIZE.
21929 (user_regs_struct): Use "__extension__ unsigned long long"
21930 instead of "unsigned long" if __x86_64__ is defined.
21931 (user): Likewise. Pad after pointer field if __ILP32__ is
21932 defined.
21933
219342012-05-16 Joseph Myers <joseph@codesourcery.com>
21935
21936 * configure.in (makeinfo): Require version 4.5 or later. Allow
21937 versions 5 to 9.
21938 * configure: Regenerated.
21939 * manual/install.texi (texinfo): Increase version requirement to
21940 4.5 or later.
21941 * INSTALL: Regenerated.
21942
21943 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21944
219452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21946
21947 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21948
21949 * sysdeps/x86_64/x32/ffs.c: New file.
21950
21951 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21952 __syscall_ulong_t.
21953 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21954 defined. Use __syscall_ulong_t.
21955 (shminfo): Use __syscall_ulong_t.
21956 (shm_info): Likewise.
21957
21958 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21959 __syscall_ulong_t.
21960
21961 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21962 <bits/wordsize.h>.
21963 (msgqnum_t): Use __syscall_ulong_t.
21964 (msglen_t): Likewise.
21965 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21966 __syscall_ulong_t.
21967
21968 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21970
21971 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21972
21973 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21974 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21975
21976 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21977 __syscall_slong_t.
21978
21979 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21980 include <bits/wordsize.h>. Check __x86_64__ instead of
21981 __WORDSIZE.
21982
21983 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21984 "unsigned long long int" if __x86_64__ is defined.
21985 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21986
21987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21989 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21990
21991 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21992 <stdint.h>.
21993 (GET_PC): Cast to uintptr_t first.
21994 (GET_FRAME): Likewise.
21995 (GET_STACK): Likewise.
21996
21997 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21998 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21999 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22000 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22001 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22002 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22006 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22007 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22008 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22010 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22014 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22015 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22016 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22017 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22018 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22019 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22020 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22021 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22022 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22023 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22024 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22025 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22026
220272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22028
22029 * Makerules (+depfiles): Also collect depfiles from .oS in
22030 $(extra-objs).
22031 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22032 .oS, $(libnldbl-routines)).
22033
22034 * Makerules (native-compile-mkdep-flags): Define.
22035 * sunrpc/Makefile (extra-objs): Add $(addprefix
22036 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22037 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22038 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22039 calling $(make-target-directory).
22040
220412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * bits/types.h (__snseconds_t): Removed.
22044 * time/time.h (struct timespec): Replace __snseconds_t with
22045 __syscall_slong_t.
22046 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22047 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22048 Likewise.
22049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22050 (__SNSECONDS_T_TYPE): Likewise.
22051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22052 (__SNSECONDS_T_TYPE): Likewise.
22053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22054 (__SNSECONDS_T_TYPE): Likewise.
22055
220562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22057
22058 * sysdeps/mach/hurd/bits/typesizes.h
22059 (__SYSCALL_SLONG_TYPE): New macro.
22060 (__SYSCALL_ULONG_TYPE): Likewise.
22061
220622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22063
22064 * bits/types.h (__syscall_slong_t): New type.
22065 (__syscall_ulong_t): Likewise.
22066
22067 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22068 (__SYSCALL_ULONG_TYPE): Likewise.
22069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22070 (__SYSCALL_SLONG_TYPE): Likewise.
22071 (__SYSCALL_ULONG_TYPE): Likewise.
22072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22073 (__SYSCALL_SLONG_TYPE): Likewise.
22074 (__SYSCALL_ULONG_TYPE): Likewise.
22075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22076 (__SYSCALL_SLONG_TYPE): Likewise.
22077 (__SYSCALL_ULONG_TYPE): Likewise.
22078
220792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22080
22081 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22082 Add sigaltstack-offsets.sym.
22083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22084 <sigaltstack-offsets.h>.
22085 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22086 longjmp_msg pointer.
22087 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22088 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22089 signal stack.
22090 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22091
220922012-05-15 Joseph Myers <joseph@codesourcery.com>
22093
22094 * elf/stackguard-macros.h: Remove file.
22095 * sysdeps/generic/stackguard-macros.h: New file.
22096 * sysdeps/i386/stackguard-macros.h: Likewise.
22097 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22098 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22099 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22100 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22101 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22102 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22103 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22104 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22105 <elf/stackguard-macros.h>.
22106
22107 [BZ #14109]
22108 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22109 __aligned__ in attribute.
22110 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22111 (gregset_t): Likewise.
22112
221132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22116 * sysdeps/x86_64/64/Implies-after: Here. New file.
22117 * sysdeps/x86_64/x32/Implies-after: New file.
22118
221192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22122 and access return value for _dl_profile_fixup. Use R10_LP to
22123 load frame size.
22124
221252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22128
221292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22132 * sysdeps/x86_64/x32/sysdep.h: New file.
22133
221342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22135
22136 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22137 * sysdeps/x86_64/setjmp.S: Likewise.
22138
221392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22140
22141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22143 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22145 remove unused global constant.
22146
221472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22148
22149 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22150 include of <not-cancel.h>.
22151
221522012-05-15 Roland McGrath <roland@hack.frob.com>
22153
22154 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22155
221562012-05-15 Jeff Law <law@redhat.com>
22157 Andreas Jaeger <aj@suse.de>
22158
22159 [BZ #13594]
22160 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22161 out from...
22162 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22163 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22165 code changing __hst_map_handle.map.
22166
221672012-05-15 Roland McGrath <roland@hack.frob.com>
22168
22169 * configure.in (sysnames): Look for Implies-before and Implies-after
22170 files.
22171 * configure: Regenerated.
22172
221732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22176 8-byte data alignment with LP_SIZE alignment.
22177
221782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22179
22180 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22181 into R10_LP.
22182
221832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22184
22185 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22186
221872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22190 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22191 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22192 Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22194
221952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22196
22197 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22198 (stackinfo_sub_sp): Likewise.
22199
222002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22203 RAX_LP.
22204
222052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22208 into R*_LP.
22209
222102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22211
22212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22213 sizes into R*_LP.
22214
222152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22216
22217 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22218
222192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22222 into R11_LP and load __x86_64_shared_cache_size_half into
22223 R8_LP.
22224
222252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22226
22227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22228 R8_LP.
22229
222302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22231
22232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22233 logb for POWER7.
22234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22235 logbf for POWER7.
22236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22237 logbl for POWER7.
22238 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22239 powerpc32/power7/fpu/s_logb.c via #include.
22240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22241 powerpc32/power7/fpu/s_logbf.c via #include.
22242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22243 powerpc32/power7/fpu/s_logbl.c via #include.
22244
222452012-05-15 Joseph Myers <joseph@codesourcery.com>
22246
22247 * README.libm: Remove file.
22248
222492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22252 count for x32. Use R*_LP and omit operand-size suffix.
22253
222542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22257 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22258 * sysdeps/x86_64/x32/shlib-versions: New file.
22259
222602012-05-14 Roland McGrath <roland@hack.frob.com>
22261
22262 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22263 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22264 Use _dl_fatal_printf instead.
22265
222662012-05-14 Joseph Myers <joseph@codesourcery.com>
22267
22268 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22269 set if not set by the user. Do not allow for being unset.
22270 * sysdeps/unix/sysv/linux/configure: Regenerated.
22271
222722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22275 the `q' suffix from lea and replace .quad with ASM_ADDR.
22276
222772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22280 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22281 instead of $17.
22282 (PTR_DEMANGLE): Likewise.
22283
222842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22285
22286 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22287 (LP_OP): Likewise.
22288 (ASM_ADDR): Likewise.
22289 (RAX_LP): Likewise.
22290 (RBP_LP): Likewise.
22291 (RBX_LP): Likewise.
22292 (RCX_LP): Likewise.
22293 (RDI_LP): Likewise.
22294 (RSI_LP): Likewise.
22295 (RSP_LP): Likewise.
22296 (R8_LP): Likewise.
22297 (R9_LP): Likewise.
22298 (R10_LP): Likewise.
22299 (R10_LP): Likewise.
22300 (R11_LP): Likewise.
22301 (R12_LP): Likewise.
22302 (R13_LP): Likewise.
22303 (R14_LP): Likewise.
22304 (R15_LP): Likewise.
22305
223062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22307
22308 * sysdeps/x86_64/x32/dl-machine.h: New file.
22309
223102012-05-14 Andreas Jaeger <aj@suse.de>
22311
22312 * manual/Makefile (subdir): Remove export of subdir.
22313 (all): Remove target.
22314 (.PHONY): Remove all from list.
22315 (mkinstalldirs): Remove.
22316 (.PHONY): Remove installdirs from list.
22317 ($(inst_infodir)/libc.info): Use make-target-directory.
22318 (installdirs): Remove.
22319 (subdir_%): Remove.
22320 (glibc-targets): Remove.
22321 (lib): Remove.
22322 (stubs): Remove.
22323 ($(objpfx)stubs ../po/manual.pot): Remove.
22324 ($(objpfx)stamp%): Remove.
22325 (make-target-directory): Remove.
22326 (subdir_install): Remove.
22327 (routines): Remove.
22328 (aux): Remove.
22329 (sources): Remove.
22330 (objects): Remove.
22331 (headers): Remove.
22332
22333 [BZ #13750]
22334 * manual/.gitignore: Remove, it's not needed anymore.
22335 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22336 all files in it.
22337 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22338 directory.
22339 (texis): Renamed to $(objpfx)texis.
22340 (texis-path): New, contains path to generated files.
22341 (chapters.%): Use texis-path for complete path, add extra argument
22342 libc-texinfo.sh.
22343 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22344 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22345 (summary,texi, stamp-summary): Use complete path of
22346 files. Generate files in build dir.
22347 (dir-add.texi): Build in build dir.
22348 (libm-err.texi,stamp-libm-err): Likewise.
22349 (version.texi, stamp-version): Likewise.
22350 (.%c.texi): Likewise.
22351 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22352 (mostlyclean): Remove target.
22353 (realclean): Remove target.
22354 (generated): Add new variable with contents from mostlyclean and
22355 realclean, remove entries duplicated in common-mostlyclean, add
22356 stamp-libm-err and stamp-version.
22357 (generated-dirs): Add libc directory.
22358 ($(inst_infodir)/libc.info): Install files from build dir.
22359
22360 * manual/install.texi (Configuring and compiling): Adjust since
22361 the info files are not part of the tar ball anymore.
22362
223632012-05-14 Andreas Jaeger <aj@suse.de>
22364
22365 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22366 variable.
22367
223682012-05-14 Joseph Myers <joseph@codesourcery.com>
22369
22370 [BZ #13717]
22371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22372 to 2.2.0 where earlier.
22373 * sysdeps/unix/sysv/linux/configure: Regenerated.
22374 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22375 Remove conditional code.
22376 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22377 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22378 Remove conditional code.
22379 [!__NR_lchown]: Likewise.
22380 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22381 [__NR_lchown]: Likewise.
22382 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22383 comment referencing __ASSUME_LCHOWN_SYSCALL.
22384 * sysdeps/unix/sysv/linux/i386/sigaction.c
22385 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22386 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22387 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22388 Remove conditional code.
22389 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22390 (__protocol_available): Remove #if 0 code.
22391 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22392 conditional code.
22393 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22394 * sysdeps/unix/sysv/linux/kernel-features.h
22395 (__ASSUME_GETCWD_SYSCALL): Don't define.
22396 (__ASSUME_REALTIME_SIGNALS): Likewise.
22397 (__ASSUME_PREAD_SYSCALL): Likewise.
22398 (__ASSUME_PWRITE_SYSCALL): Likewise.
22399 (__ASSUME_POLL_SYSCALL): Likewise.
22400 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22401 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22402 non-SPARC.
22403 (__ASSUME_SIOCGIFNAME): Don't define.
22404 (__ASSUME_MSG_NOSIGNAL): Likewise.
22405 (__ASSUME_SENDFILE): Define unconditionally.
22406 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22407 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22408 conditional code.
22409 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22410 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22411 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22412 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22413 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22414 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22415 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22417 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22423 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22440 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22441 Remove conditional code.
22442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22443 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22444 Remove conditional code.
22445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22446 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22447 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22448 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22449 Remove conditional code.
22450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22451 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22452 Remove conditional code.
22453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22454 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22455 Remove conditional code.
22456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22457 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22458 Remove conditional code.
22459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22460 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22461 Remove conditional code.
22462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22463 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22466 * sysdeps/unix/sysv/linux/sigaction.c
22467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22469 * sysdeps/unix/sysv/linux/sigpending.c
22470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22472 * sysdeps/unix/sysv/linux/sigprocmask.c
22473 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22474 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22475 * sysdeps/unix/sysv/linux/sigsuspend.c
22476 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22477 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22478 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22479 (__libc_missing_rt_sigs): Remove.
22480 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22481 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22482 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22483 Remove conditional code.
22484 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22485 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22486 return 1.
22487 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22488 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22489 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22490 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22491
224922012-05-14 Andreas Jaeger <aj@suse.de>
22493
22494 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22495 it's not used in glibc.
22496 (__coshm1): Likewise.
22497 (__acosh1p): Likewise.
22498 (__sgn): Likewise.
22499
22500 * manual/string.texi (Copying and Concatenation): Add missing
22501 variable in concat example.
22502 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22503
225042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 [BZ #14103]
22507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22508 __builtin_clzl with __builtin_clzll.
22509
225102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22511
22512 [BZ #14104]
22513 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22514 libc_freeres_ptr.
22515
225162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22517
22518 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22519 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22520 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22521 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22522
225232012-05-14 Mike Frysinger <vapier@gentoo.org>
22524
22525 * NEWS: Update ia64 info.
22526
225272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22528
22529 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22530 used as bcopy.
22531
225322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22533
22534 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22535 * sysdeps/unix/syscalls.list (dup3): Likewise.
22536 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22537 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22538
225392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22540
22541 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22542 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22543
225442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22545
22546 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22547 thread pointer.
22548 (TLS_IE): Use mov/add instead of movq/addq to load thread
22549 pointer.
22550 (TLS_GD_PREFIX): New.
22551 (TLS_GD): Use it.
22552
225532012-05-11 David S. Miller <davem@davemloft.net>
22554
22555 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22556 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22557 (_FPU_SETCW): Likewise.
22558
225592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22562 is 32-byte aligned.
22563
225642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22565
22566 [BZ #11837]
22567 * iconvdata/gb18030.c: Update tables.
22568 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22569 characters specially.
22570 (BODY for TO_LOOP): Add encoding of missing ranges.
22571
225722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22573
22574 [BZ #13673]
22575 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22576 * sysdeps/mach/hurd/dup3.c: Likewise.
22577 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22578 * sysdeps/powerpc/memmove.c:: Likewise.
22579
225802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22581
22582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22583 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22584
225852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22586
22587 * elf/elf.h (R_X86_64_RELATIVE64): New.
22588 (R_X86_64_NUM): Updated.
22589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22590 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22591 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22592 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22593 tst-quad1pie tst-quad2pie
22594 (modules-names): Add tst-quadmod1 tst-quadmod2.
22595 ($(objpfx)tst-quad1): New dependency.
22596 ($(objpfx)tst-quad2): Likewise.
22597 ($(objpfx)tst-quad1pie): Likewise.
22598 ($(objpfx)tst-quad2pie): Likewise.
22599 * sysdeps/x86_64/tst-quad1.c: New file.
22600 * sysdeps/x86_64/tst-quad1pie.c: New file.
22601 * sysdeps/x86_64/tst-quad2.c: Likewise.
22602 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22603 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22604 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22605 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22606 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22607
226082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22609
22610 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22611 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22612 * streams/stropts.h (t_scalar_t): Define type.
22613
22614 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22615 (_PATH_PRESERVE): Set to "/var/lib".
22616 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22617
22618 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22619 instead of int.
22620
22621 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22622 if __dir_mkfile succeeded.
22623
22624 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22625 checking for _hurd_dtablesize. Unlock it right after having
22626 finished _hurd_dtable allocation.
22627
226282012-05-10 Thomas Schwinge <thomas@schwinge.name>
22629
22630 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22631 * sysdeps/mach/hurd/configure: Regenerated.
22632 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22633 special-casing to...
22634 * sysdeps/gnu/configure.in: ... this new file.
22635 * sysdeps/unix/sysv/linux/configure: Regenerated.
22636 * sysdeps/gnu/configure: New generated file.
22637
22638 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22639 for Linux: use nsec instead of usec, as well as:
22640 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22641 members of type struct timespec.
22642 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22643 New macros.
22644 (struct stat64): Likewise.
22645 (_STATBUF_ST_NSEC): New macro.
22646 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22647
22648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22649 __strtoul_internal rather than strtoul.
22650
226512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22652
22653 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22654 and reject them.
22655
226562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22657
22658 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22659 which preserves existing values.
22660 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22661
226622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22663
22664 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22665 TIMEOUT values. Return EINVAL for NFDS values either negative or
22666 greater than FD_SETSIZE.
22667
226682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22669
22670 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22671 allocated, call __vm_protect to finish enabling the existing space, and
22672 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22673 allocate the remainder.
22674
226752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22676
22677 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22678 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22679
226802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22681
22682 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22683 sysdeps/mach/hurd/readlink.c.
22684
22685 * posix/tst-sysconf.c (posix_options): Only use
22686 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22687 _POSIX_SYNCHRONIZED_IO when they are defined
22688 * sysdeps/mach/hurd/bits/posix_opt.h:
22689 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22690 (_XOPEN_REALTIME): Undefine macro.
22691 (_XOPEN_REALTIME_THREADS): Undefine macro.
22692 (_XOPEN_SHM): Undefine macro.
22693 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22694 macro to -1.
22695 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22696 macro to -1.
22697 (_POSIX_ASYNC_IO): Undefine macro.
22698 (_POSIX_PRIORITIZED_IO): Undefine macro.
22699 (_POSIX_SPIN_LOCKS): Define macro to -1.
22700
22701 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22702 SA_NODEFER, SA_RESETHAND.
22703 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22704 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22705 F_DUPFD_CLOEXEC.
22706
227072012-05-10 Thomas Schwinge <thomas@schwinge.name>
22708
22709 * elf/Makefile (pldd-modules): Define unconditionally.
22710
227112012-05-10 Thomas Schwinge <thomas@schwinge.name>
22712
22713 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22714
227152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22716
22717 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22718 Return ENOENT when name is empty.
22719 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22720
227212012-05-10 Thomas Schwinge <thomas@schwinge.name>
22722
22723 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22724
22725 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22726
227272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22728
22729 Fix mlock in all cases except non-readable pages.
22730 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22731 instead of VM_PROT_ALL as parameter to __vm_wire function.
22732
22733 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22734 (__mkdir): When path is `/', just fail with EEXIST.
22735 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22736
227372012-05-10 Thomas Schwinge <thomas@schwinge.name>
22738
22739 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22740 <sys/uio.h> (for writev).
22741 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22742 and <sys/param.h> (for MIN).
22743
227442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22745
22746 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22747 REQUESTED_TIME. Properly set the remaining time and return EINTR
22748 if interrupted.
22749
227502012-05-10 Thomas Schwinge <thomas@schwinge.name>
22751
22752 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22753 Depend on against $(link-rpcuserlibs).
22754
227552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22756
22757 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22758 (__libc_stack_end): Do not use attribute_relro.
22759 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22760 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22761 to libthread-provided value.
22762 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22763 attribute_relro.
22764
227652012-05-10 Thomas Schwinge <thomas@schwinge.name>
22766
22767 [BZ #3748]
22768 * bits/libc-lock.h (__libc_once_get): New macro.
22769 * sysdeps/mach/bits/libc-lock.h: Likewise.
22770 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22772 instead of using implementation details.
22773
22774 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22775 * libio/freopen.c: Likewise.
22776 * libio/freopen64.c: Likewise.
22777 * misc/syslog.c: Likewise.
22778 * nscd/connections.c: Likewise.
22779 * nscd/netgroupcache.c: Likewise.
22780 * sysdeps/posix/getcwd.c: Likewise.
22781
227822012-05-10 Roland McGrath <roland@hack.frob.com>
22783
22784 * math/w_ilogbf.c: Add #include <limits.h>.
22785
227862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22787
22788 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22789 path instead of returning without unlocking.
22790
22791 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22792 immediate-write ioctls.
22793 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22794
227952012-05-10 Thomas Schwinge <thomas@schwinge.name>
22796
22797 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22798 __builtin_frame_address instead of making assumptions about the
22799 location of the return address relative to DATA. Force early load of
22800 the return address.
22801 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22802 __builtin_frame_address.
22803
22804 dup3 for GNU Hurd.
22805 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22806 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22807 implement dup3 and do some further code clean-ups.
22808 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22809 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22810
228112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22812
22813 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22814
22815 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22816 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22817 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22818 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22819 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22820 d->port.lock.
22821
22822 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22823 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22824 when handler == SIG_ERR, not when handler != SIG_ERR.
22825
228262012-05-10 Thomas Schwinge <thomas@schwinge.name>
22827
22828 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22829 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22830 definitions.
22831
22832 accept4 for GNU Hurd.
22833 * include/sys/socket.h (__libc_accept4): New prototype.
22834 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22835 to implement __libc_accept4.
22836 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22837 __libc_accept4.
22838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22839
22840 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22841 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22842 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22843 signal-defines.sym.
22844
228452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22846
22847 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22848
228492012-05-10 Thomas Schwinge <thomas@schwinge.name>
22850
22851 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22852 assertion on O_CLOEXEC flag.
22853 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22854 * hurd/intern-fd.c: Likewise.
22855 * hurd/port2fd.c: Likewise.
22856
228572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22858
22859 [BZ #3906]
22860 * bits/in.h (IPV6_PKTINFO): Define new macro.
22861 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22862
228632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22864
22865 [BZ #13954]
22866 [BZ #13955]
22867 [BZ #13956]
22868 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22870 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22871 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22873 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22874 * math/libm-test.inc (logb_test) : Additional logb tests.
22875
228762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22877 Andreas Jaeger <aj@suse.de>
22878
22879 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22880 * configure: Regenerated.
22881 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22882 * config.make.in (link-obsolete-rpc): New substituted variable.
22883 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22884 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22885 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22886 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22887 so that libc.a contains the symbols.
22888 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22889 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22890 * sunrpc/auth_none.c: Likewise.
22891 * sunrpc/auth_unix.c: Likewise.
22892 * sunrpc/authdes_prot.c: Likewise.
22893 * sunrpc/authuxprot.c: Likewise.
22894 * sunrpc/clnt_gen.c: Likewise.
22895 * sunrpc/clnt_perr.c: Likewise.
22896 * sunrpc/clnt_raw.c: Likewise.
22897 * sunrpc/clnt_simp.c: Likewise.
22898 * sunrpc/clnt_tcp.c: Likewise.
22899 * sunrpc/clnt_udp.c: Likewise.
22900 * sunrpc/clnt_unix.c: Likewise.
22901 * sunrpc/des_crypt.c: Likewise.
22902 * sunrpc/des_soft.c: Likewise.
22903 * sunrpc/get_myaddr.c: Likewise.
22904 * sunrpc/key_call.c: Likewise.
22905 * sunrpc/key_prot.c: Likewise.
22906 * sunrpc/netname.c: Likewise.
22907 * sunrpc/pm_getmaps.c: Likewise.
22908 * sunrpc/pm_getport.c: Likewise.
22909 * sunrpc/pmap_clnt.c: Likewise.
22910 * sunrpc/pmap_prot.c: Likewise.
22911 * sunrpc/pmap_prot2.c: Likewise.
22912 * sunrpc/pmap_rmt.c: Likewise.
22913 * sunrpc/publickey.c: Likewise.
22914 * sunrpc/rpc_cmsg.c: Likewise.
22915 * sunrpc/rpc_common.c: Likewise.
22916 * sunrpc/rpc_dtable.c: Likewise.
22917 * sunrpc/rpc_prot.c: Likewise.
22918 * sunrpc/rpc_thread.c: Likewise.
22919 * sunrpc/rtime.c: Likewise.
22920 * sunrpc/svc.c: Likewise.
22921 * sunrpc/svc_auth.c: Likewise.
22922 * sunrpc/svc_raw.c: Likewise.
22923 * sunrpc/svc_run.c: Likewise.
22924 * sunrpc/svc_tcp.c: Likewise.
22925 * sunrpc/svc_udp.c: Likewise.
22926 * sunrpc/svc_unix.c: Likewise.
22927 * sunrpc/svcauth_des.c: Likewise.
22928 * sunrpc/xcrypt.c: Likewise.
22929 * sunrpc/xdr.c: Likewise.
22930 * sunrpc/xdr_array.c: Likewise.
22931 * sunrpc/xdr_float.c: Likewise.
22932 * sunrpc/xdr_intXX_t.c: Likewise.
22933 * sunrpc/xdr_mem.c: Likewise.
22934 * sunrpc/xdr_rec.c: Likewise.
22935 * sunrpc/xdr_ref.c: Likewise.
22936 * sunrpc/xdr_sizeof.c: Likewise.
22937 * sunrpc/xdr_stdio.c: Likewise.
22938
229392012-05-10 Roland McGrath <roland@hack.frob.com>
22940
22941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22942 change. Update copyright years.
22943
229442012-05-10 Joseph Myers <joseph@codesourcery.com>
22945
22946 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22947
229482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22949 Joseph Myers <joseph@codesourcery.com>
22950 Paul Pluzhnikov <ppluzhnikov@google.com>
22951
22952 [BZ #14012]
22953 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22954 requiring rpcgen.
22955 [cross-compiling] (extra-libs): Likewise.
22956 [cross-compiling] (extra-libs-others): Likewise.
22957 [cross-compiling] (librpcsvc-routines): Likewise.
22958 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22959 [cross-compiling] (omit-deps): Likewise.
22960 (sunrpc-CPPFLAGS): New variable.
22961 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22962 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22963 (cross-rpcgen-objs): New variable.
22964 (extra-objs): Append $(cross-rpcgen-objs).
22965 ($(cross-rpcgen-objs)): New rule.
22966 ($(objpfx)cross-rpcgen): Likewise.
22967 (rpcgen-cmd): Define to use $(built-program-file). Expand
22968 comment.
22969 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22970 ($(objpfx)x%.stmp): Likewise.
22971 * sunrpc/proto.h [IS_IN_build] (_): Define.
22972 [IS_IN_build] (_libc_intl_domainname): Likewise.
22973
229742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22975
22976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22977 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22978 and R_X86_64_TPOFF64.
22979
229802012-05-10 Joseph Myers <joseph@codesourcery.com>
22981
22982 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22983 sysdeps/unix/sysv/syscalls.list.
22984 (stime): Likewise.
22985 (utime): Likewise.
22986 * sysdeps/unix/sysv/syscalls.list: Remove file.
22987
229882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22989
22990 [BZ #3440]
22991 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22992 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22993 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22994 (__LC_IDENTIFICATION): Make these macros useful in #if
22995 expressions, as required by C99.
22996
229972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22998
22999 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23000 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23001 after this.
23002
230032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23004
23005 * stdlib/longlong.h: Updated from GCC.
23006
230072012-05-09 Andreas Jaeger <aj@suse.de>
23008
23009 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23010 default is first entry.
23011 (run_mode): Set type.
23012 (main): Remove informal message about syslog.
23013 (options): Fix typo.
23014
23015 [BZ #14053]
23016 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23017 to asm.
23018 (lrint): Likewise.
23019 (llrintf): Likewise.
23020 (llrint): Likewise.
23021 (rint): Likewise.
23022 (rintf): Likewise.
23023 (nearbyint): Likewise.
23024 (nearbyintf): Likewise.
23025
230262012-05-09 Andreas Jaeger <aj@suse.de>
23027 Pedro Alves <palves@redhat.com>
23028
23029 * nscd/nscd.c (run_mode): Use enum.
23030 (main): Cleanup coding style issue.
23031
230322012-05-09 Alexandre Oliva <aoliva@redhat.com>
23033 Andreas Jaeger <aj@suse.de>
23034
23035 * nscd/nscd.c (go_background): Replaced with...
23036 (run_mode): ... this.
23037 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23038 (options): Add -F --foreground.
23039 (main): Implement it.
23040 (parse_opt): Parse it.
23041
230422012-05-09 Andreas Jaeger <aj@suse.de>
23043
23044 [BZ #14083]
23045 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23046 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23047 -Wconversion warning.
23048 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23049 Likewise.
23050
230512012-05-09 Joseph Myers <joseph@codesourcery.com>
23052
23053 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23054 == 0.
23055 (LC_ALL): Use macro-int-constant.
23056 (LC_COLLATE): Likewise.
23057 (LC_CTYPE): Likewise.
23058 (LC_MESSAGES): Likewise.
23059 (LC_MONETARY): Likewise.
23060 (LC_NUMERIC): Likewise.
23061 (LC_TIME): Likewise.
23062 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23063 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23065 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23066 Specify type.
23067 [C99-based standards] (float_t): Expect type.
23068 [C99-based standards] (double_t): Expect type.
23069 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23070 type.
23071 [C99-based standards] (HUGE_VALL): Likewise.
23072 [C99-based standards] (INFINITY): Likewise.
23073 [C99-based standards] (NAN): Likewise.
23074 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23075 [C99-based standards] (FP_NAN): Likewise.
23076 [C99-based standards] (FP_NORMAL): Likewise.
23077 [C99-based standards] (FP_SUBNORMAL): Likewise.
23078 [C99-based standards] (FP_ZERO): Likewise.
23079 [C99-based standards] (FP_FAST_FMA): Use
23080 optional-macro-int-constant. Specify type. Require == 1.
23081 [C99-based standards] (FP_FAST_FMAF): Likewise.
23082 [C99-based standards] (FP_FAST_FMAL): Likewise.
23083 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23084 [C99-based standards] (FP_ILOGBNAN): Likewise.
23085 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23086 Specify type.
23087 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23088 [C99-based standards] (math_errhandling): Specify type.
23089 [ISO99 || ISO11] (signgam): Do not allow.
23090 [non-C99-based standards] (copysignf): Do not allow.
23091 [non-C99-based standards] (exp2f): Likewise.
23092 [non-C99-based standards] (log2f): Likewise.
23093 [non-C99-based standards] (modff): Allow.
23094 [non-C99-based standards] (erff): Do not allow.
23095 [non-C99-based standards] (erfcf): Likewise.
23096 [non-C99-based standards] (gammaf): Likewise.
23097 [non-C99-based standards] (hypotf): Likewise.
23098 [non-C99-based standards] (j0f): Likewise.
23099 [non-C99-based standards] (j1f): Likewise.
23100 [non-C99-based standards] (jnf): Likewise.
23101 [non-C99-based standards] (lgammaf): Likewise.
23102 [non-C99-based standards] (tgammaf): Likewise.
23103 [non-C99-based standards] (y0f): Likewise.
23104 [non-C99-based standards] (y1f): Likewise.
23105 [non-C99-based standards] (ynf): Likewise.
23106 [non-C99-based standards] (isnanf): Likewise.
23107 [non-C99-based standards] (acoshf): Likewise.
23108 [non-C99-based standards] (asinhf): Likewise.
23109 [non-C99-based standards] (atanhf): Likewise.
23110 [non-C99-based standards] (cbrtf): Likewise.
23111 [non-C99-based standards] (expm1f): Likewise.
23112 [non-C99-based standards] (ilogbf): Likewise.
23113 [non-C99-based standards] (log1pf): Likewise.
23114 [non-C99-based standards] (logbf): Likewise.
23115 [non-C99-based standards] (nextafterf): Likewise.
23116 [non-C99-based standards] (remainderf): Likewise.
23117 [non-C99-based standards] (rintf): Likewise.
23118 [non-C99-based standards] (scalbf): Likewise.
23119 [non-C99-based standards] (copysignl): Likewise.
23120 [non-C99-based standards] (exp2l): Likewise.
23121 [non-C99-based standards] (log2l): Likewise.
23122 [non-C99-based standards] (modfl): Allow.
23123 [non-C99-based standards] (erfl): Do not allow.
23124 [non-C99-based standards] (erfcl): Likewise.
23125 [non-C99-based standards] (gammal): Likewise.
23126 [non-C99-based standards] (hypotl): Likewise.
23127 [non-C99-based standards] (j0l): Likewise.
23128 [non-C99-based standards] (j1l): Likewise.
23129 [non-C99-based standards] (jnl): Likewise.
23130 [non-C99-based standards] (lgammal): Likewise.
23131 [non-C99-based standards] (tgammal): Likewise.
23132 [non-C99-based standards] (y0l): Likewise.
23133 [non-C99-based standards] (y1l): Likewise.
23134 [non-C99-based standards] (ynl): Likewise.
23135 [non-C99-based standards] (isnanl): Likewise.
23136 [non-C99-based standards] (acoshl): Likewise.
23137 [non-C99-based standards] (asinhl): Likewise.
23138 [non-C99-based standards] (atanhl): Likewise.
23139 [non-C99-based standards] (cbrtl): Likewise.
23140 [non-C99-based standards] (expm1l): Likewise.
23141 [non-C99-based standards] (ilogbl): Likewise.
23142 [non-C99-based standards] (log1pl): Likewise.
23143 [non-C99-based standards] (logbl): Likewise.
23144 [non-C99-based standards] (nextafterl): Likewise.
23145 [non-C99-based standards] (remainderl): Likewise.
23146 [non-C99-based standards] (rintl): Likewise.
23147 [non-C99-based standards] (scalbl): Likewise.
23148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23149 [non-C99-based standards] (FP_*): Do not allow.
23150 [C99-based standards] (FP_*): Change to
23151 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23152 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23153 allow.
23154 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23155 (SIG_ERR): Likewise.
23156 [X/Open-based standards] (SIG_HOLD): Likewise.
23157 (SIG_IGN): Likewise.
23158 (SIGABRT): Use macro-int-constant. Specify type. Require
23159 positive value.
23160 (SIGFPE): Likewise.
23161 (SIGILL): Likewise.
23162 (SIGINT): Likewise.
23163 (SIGSEGV): Likewise.
23164 (SIGTER): Likewise.
23165 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23166 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23168 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23169 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23170 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23171 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23172 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23173 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23174 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23175 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23176 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23177 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23178 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23179 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23180 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23181 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23182 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23183 [X/Open-based standards] (SIGTRAP): Likewise.
23184 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23185 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23186 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23187 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23188 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23189 allow.
23190
231912012-05-08 Ian Wienand <ianw@vmware.com>
23192
23193 [BZ #14080]
23194 * time/tzset.c (__tzset_parse_tz): Update default rules for
23195 daylight time changes in the Energy Policy Act of 2005.
23196
231972012-05-09 Andreas Jaeger <aj@suse.de>
23198
23199 [BZ #13983]
23200 * elf/ldconfig.c (parse_conf): Change string to make clear that
23201 ldconfig only issued a warning if ld.so.conf does not exist.
23202
232032012-05-08 David S. Miller <davem@davemloft.net>
23204
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23206 movxtod instead of popping the value on the stack.
23207
23208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23209
232102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23211
23212 * config.h.in: Add HAVE_ARM_PCS_VFP.
23213
232142012-05-08 Roland Mc Grath <roland@hack.frob.com>
23215
23216 [BZ #13979]
23217 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23218 checking but the checks are disabled for any reason.
23219
232202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23221
23222 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23223 and ELF64_R_TYPE with ELFW(R_TYPE).
23224
232252012-05-08 Joseph Myers <joseph@codesourcery.com>
23226
23227 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23228 (ulimit): Likewise.
23229
23230 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23231 (settimeofday): Likewise.
23232
232332012-05-08 Mike Frysinger <vapier@gentoo.org>
23234
23235 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23236 a struct th_u2 inside the union, and move tu_block/tu_code into
23237 a new th_u3 union of tu_block/tu_code inside of that. Move
23238 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23239 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23240 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23241 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23242 (th_stuff): Change to th_u1.tu_stuff.
23243 (th_data): Define.
23244 (th_msg): Change to th_u1.th_u2.tu_data.
23245
232462012-05-07 David S. Miller <davem@davemloft.net>
23247
23248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23249
23250 [BZ #14074]
23251 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23252 (SETUP_PIC_REG): Use it.
23253 (SETUP_PIC_REG_LEAF): Use it.
23254
232552012-05-07 Joseph Myers <joseph@codesourcery.com>
23256
23257 [BZ #13885]
23258 [BZ #13923]
23259 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23260 USE_AS_EXPM1L.
23261 (EXPL_FINITE): Likewise.
23262 (FLDLOG): Likewise.
23263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23264 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23265 e_expl.S.
23266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23267 USE_AS_EXPM1L.
23268 (EXPL_FINITE): Likewise.
23269 (FLDLOG): Likewise.
23270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23271 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23272 e_expl.S.
23273 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23274 test of -max_value argument for long double.
23275 * sysdeps/i386/fpu/libm-test-ulps: Update.
23276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23277
232782012-05-06 David S. Miller <davem@davemloft.net>
23279
23280 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23281 quad soft-float symbols whose references which are compiler
23282 generated.
23283 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23284
232852012-05-06 Joseph Myers <joseph@codesourcery.com>
23286
23287 [BZ #13884]
23288 [BZ #13914]
23289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23290 USE_AS_EXP10L.
23291 (EXPL_FINITE): Likewise.
23292 (FLDLOG): Likewise.
23293 (c0): Likewise.
23294 (c1): Likewise.
23295 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23296 Adjust comments for base varying.
23297 (__expl_finite): Change alias to EXPL_FINITE.
23298 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23299 e_expl.S.
23300 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23301 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23303 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23304 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23305 USE_AS_EXP10L.
23306 (EXPL_FINITE): Likewise.
23307 (FLDLOG): Likewise.
23308 (c0): Likewise.
23309 (c1): Likewise.
23310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23311 Adjust comments for base varying.
23312 (__expl_finite): Change alias to EXPL_FINITE.
23313 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23314 tests for bugs.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23316
23317 [BZ #14064]
23318 * math/libm-test.inc (check_float_internal): Correct ulp
23319 calculation for subnormal expected results.
23320
233212012-05-06 Andreas Jaeger <aj@suse.de>
23322
23323 * Makeconfig (+math-flags): New, set to -frounding-math.
23324 (+cflags): Add +math-flags so that all of glibc gets compiled with
23325 it.
23326
23327 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23328
233292012-05-05 Joseph Myers <joseph@codesourcery.com>
23330
23331 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23332 Disable one test.
23333
23334 [BZ #13787]
23335 [BZ #13922]
23336 [BZ #14036]
23337 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23338 (__ieee754_expl): Allow for and saturate large arguments.
23339 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23340 (u_threshold): Likewise.
23341 (__exp): Call __ieee754_exp before checking for overflow and
23342 underflow.
23343 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23344 (u_threshold): Likewise.
23345 (__expf): Call __ieee754_expf before checking for overflow and
23346 underflow.
23347 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23348 (u_threshold): Likewise.
23349 (__expl): Call __ieee754_expl before checking for overflow and
23350 underflow.
23351 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23352 (__ieee754_expl): Allow for and saturate large arguments.
23353 * math/libm-test.inc (exp_test): Add another test. Do not allow
23354 missing overflow exception on overflow.
23355 (expm1_test): Do not allow missing overflow exception on overflow.
23356
23357 * sysdeps/i386/fpu/e_expl.c: Move to ...
23358 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23359 rather than using inline asm.
23360 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23361 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23362 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23363
23364 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23365 (nice): Likewise.
23366 (poll): Likewise.
23367 (signal): Likewise.
23368 (time): Likewise.
23369 (times): Likewise.
23370
233712012-05-04 Joseph Myers <joseph@codesourcery.com>
23372
23373 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23374 sysdeps/unix/common/syscalls.list.
23375 (fchmod): Likewise.
23376 (fchown): Likewise.
23377 (ftruncate): Likewise.
23378 (getrusage): Likewise.
23379 (gettimeofday): Likewise.
23380 (setpgid): Likewise.
23381 (setregid): Likewise.
23382 (setreuid): Likewise.
23383 (sigaction): Likewise.
23384 (truncate): Likewise.
23385 (vhangup): Likewise.
23386 * sysdeps/unix/common/syscalls.list: Remove file.
23387 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23388 * sysdeps/unix/sysv/linux/Implies: Likewise.
23389
233902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23391
23392 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23394 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23395 Moved to ...
23396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23397 Here.
23398 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23399 to ...
23400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23401 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23402 to ...
23403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23404 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23405 to ...
23406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23407 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23408 to ...
23409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23410 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23411 to ...
23412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23413 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23414 to ...
23415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23416 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23417 to ...
23418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23419 Here.
23420 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23421 to ...
23422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23423 Here.
23424 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23425 to ...
23426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23427 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23428 Moved to ...
23429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23430 Here.
23431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23432 to ...
23433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23434
234352012-05-04 Joseph Myers <joseph@codesourcery.com>
23436
23437 * sysdeps/unix/common/bits/dirent.h: Remove file.
23438 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23439
23440 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23441 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23442 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23443 * sysdeps/unix/bsd/isatty.c: Likewise.
23444 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23445 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23446 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23447
234482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23449
23450 [BZ #13563]
23451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23452 long double comparison inaccuracies.
23453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23455
234562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23457
23458 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23460
234612012-05-04 Joseph Myers <joseph@codesourcery.com>
23462
23463 [BZ #14049]
23464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23465 nonzero digits before rounding a hex value.
23466 * stdlib/tst-strtod.c (tests): Add another test.
23467
234682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23469
23470 * sysdeps/s390/fpu/libm-test-ulps: Update.
23471
234722012-05-03 Andreas Jaeger <aj@suse.de>
23473
23474 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23475 does not get optimized out.
23476 (malloc_opt_barrier): New.
23477
234782012-05-03 Andreas Jaeger <aj@suse.de>
23479 Roland McGrath <roland@hack.frob.com>
23480
23481 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23482 intermediate file deletion.
23483 (generated): Add .symlist files.
23484
234852012-05-03 Joseph Myers <joseph@codesourcery.com>
23486
23487 [BZ #13775]
23488 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23489 Redirect under this condition.
23490 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23491 [__USE_GNU] (__dprintf_chk): Not under this condition.
23492 [__USE_GNU] (__vdprintf_chk): Likewise.
23493 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23494 under this condition.
23495 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23496 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23497 [__USE_XOPEN2K8] (vdprintf): Likewise.
23498 [__USE_GNU] (__dprintf_chk): Not under this condition.
23499 [__USE_GNU] (__vdprintf_chk): Likewise.
23500 [__USE_GNU] (dprintf): Likewise.
23501 [__USE_GNU] (vdprintf): Likewise.
23502
235032012-05-03 Roland McGrath <roland@hack.frob.com>
23504
23505 * elf/Makefile (common-generated): Set this instead of generated for
23506 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23507 $(all-built-dso)-derived lists.
23508
235092012-05-03 Andreas Jaeger <aj@suse.de>
23510
23511 * sysdeps/i386/fpu/libm-test-ulps: Update.
23512
23513 * FAQ: Removed.
23514 * FAQ.in: Likewise.
23515 * scripts/gen-FAQ.pl: Likewise.
23516 * manual/install.texi (Installation): Point to online location of
23517 FAQ.
23518 * Makefile (files-for-dist): Remove FAQ.
23519 (FAQ): Remove.
23520
235212012-05-02 Allan McRae <allan@archlinux.org>
23522
23523 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23524 (LDFLAGS-reldepmod5.so): Likewise.
23525 (LDFLAGS-reldep6mod1.so): Likewise.
23526 (LDFLAGS-reldep6mod4.so): Likewise.
23527 (LDFLAGS-reldep8mod3.so): Likewise.
23528 (LDFLAGS-unload4mod1.so): Likewise.
23529 (LDFLAGS-unload4mod2.so): Likewise.
23530 (LDFLAGS-tst-initorder): Likewise.
23531 (LDFLAGS-tst-initordera2.so): Likewise.
23532 (LDFLAGS-tst-initordera3.so): Likewise.
23533 (LDFLAGS-tst-initordera4.so): Likewise.
23534 (LDFLAGS-tst-initorderb2.so): Likewise.
23535 (LDFLAGS-noload): Likewise.
23536 (LDFLAGS-next): Likewise.
23537 (LDFLAGS-order2mod1.so): Likewise.
23538 (LDFLAGS-order2mod2.so): Likewise.
23539 (LDFLAGS-tst-initorder2): Likewise.
23540 (LDFLAGS-tst-initorder2a.so): Likewise.
23541 (LDFLAGS-tst-initorder2b.so): Likewise.
23542 (LDFLAGS-tst-initorder2c.so): Likewise.
23543 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23544
235452012-05-02 David S. Miller <davem@davemloft.net>
23546
23547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23548
235492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23550
23551 [BZ #14055]
23552 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23553
235542012-05-02 Andreas Jaeger <aj@suse.de>
23555
23556 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23557 since we manipulate rounding mode.
23558 (CPPFLAGS-test-idouble.c): Likewise.
23559 (CPPFLAGS-test-ifloat.c): Likewise.
23560 (CFLAGS-test-ldouble.c): Likewise.
23561 (CFLAGS-test-double.c): Likewise.
23562 (CFLAGS-test-float.c): Likewise.
23563 (CFLAGS-test-misc.c): Likewise.
23564 (CFLAGS-test-test-fenv.c): Likewise.
23565
235662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23567
23568 [BZ #2550]
23569 [BZ #2570]
23570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23571 comparisons to determine direction to adjust input.
23572
235732012-05-01 Roland McGrath <roland@hack.frob.com>
23574
23575 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23576 output to the target.
23577
23578 * scripts/localplt.awk: New file.
23579 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23580 (check-localplt-CFLAGS): Variable removed.
23581 ($(all-built-dso:=.jmprel)): New static pattern rule.
23582 (generated): Add those targets.
23583 (localplt-built-dso): New variable.
23584 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23585
23586 * elf/check-localplt.c: File removed.
23587
23588 * scripts/check-execstack.awk: New file.
23589 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23590 (check-execstack-CFLAGS): Variable removed.
23591 ($(objpfx)check-execstack.h): Target removed.
23592 ($(objpfx)execstack-default): New target.
23593 (generated): Add that instead of check-execstack.h.
23594 ($(all-built-dso:=.phdr)): New static pattern rule.
23595 (generated): Add those targets.
23596 * elf/check-execstack.c: File removed.
23597
23598 * scripts/check-textrel.awk: New file.
23599 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23600 (check-textrel-CFLAGS): Variable removed.
23601 (all-built-dso): Use := to define.o
23602 ($(all-built-dso:=.dyn)): New static pattern rule.
23603 (generated): Add those targets.
23604 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23605 * config.make.in (READELF): New substituted variable.
23606 * elf/check-textrel.c: File removed.
23607
236082012-05-01 Joseph Myers <joseph@codesourcery.com>
23609
23610 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23611 allow.
23612 * conform/data/ctype.h-data [C99-based standards] (isblank):
23613 Expect function.
23614 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23615 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23617 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23618 Specify type. Require positive value.
23619 (EILSEQ): Likewise.
23620 (ERANGE): Likewise.
23621 [ISO || POSIX] (EILSEQ): Do not expect.
23622 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23623 Specify type. Require positive value.
23624 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23647 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23653 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23660 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23661 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23662 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23663 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23664 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23665 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23666 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23667 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23668 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23669 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23670 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23671 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23672 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23673 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23674 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23675 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23676 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23677 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23678 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23679 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23680 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23681 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23682 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23683 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23684 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23685 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23686 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23687 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23688 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23689 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23690 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23691 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23692 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23693 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23694 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23695 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23696 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23697 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23698 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23699 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23700 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23701 Require >= 2.
23702 (FLT_ROUNDS): Expect as macro, not constant.
23703 (FLT_MANT_DIG): Use macro-int-constant.
23704 (DBL_MANT_DIG): Likewise.
23705 (LDBL_MANT_DIG): Likewise.
23706 (FLT_DIG): Likewise.
23707 (DBL_DIG): Likewise.
23708 (LDBL_DIG): Likewise.
23709 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23710 (DBL_MIN_EXP): Likewise.
23711 (LDBL_MIN_EXP): Likewise.
23712 (FLT_MAX_EXP): Use macro-int-constant.
23713 (DBL_MAX_EXP): Likewise.
23714 (LDBL_MAX_EXP): Likewise.
23715 (FLT_MAX_10_EXP): Likewise.
23716 (DBL_MAX_10_EXP): Likewise.
23717 (LDBL_MAX_10_EXP): Likewise.
23718 (FLT_MAX): Use macro-constant.
23719 (DBL_MAX): Likewise.
23720 (LDBL_MAX): Likewise.
23721 (FLT_EPSILON): Use macro-constant. Give upper bound.
23722 (DBL_EPSILON): Likewise.
23723 (LDBL_EPSILON): Likewise.
23724 (FLT_MIN): Likewise.
23725 (DBL_MIN): Likewise.
23726 (LDBL_MIN): Likewise.
23727 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23728 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23729 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23730 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23731 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23732 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23733 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23734 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23735 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23736 [ISO11] (FLT_TRUE_MIN): Likewise.
23737 [ISO11] (LDBL_TRUE_MIN): Likewise.
23738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23739 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23740 (SCHAR_MIN): Use macro-int-constant. Specify type.
23741 (SCHAR_MAX): Likewise.
23742 (UCHAR_MAX): Likewise.
23743 (CHAR_MIN): Likewise.
23744 (CHAR_MAX): Likewise.
23745 (MB_LEN_MAX): Use macro-int-constant.
23746 (SHRT_MIN): Use macro-int-constant. Specify type.
23747 (SHRT_MAX): Likewise.
23748 (USHRT_MAX): Likewise.
23749 (INT_MAX): Likewise.
23750 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23751 bound negative.
23752 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23753 bound with "U".
23754 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23755 bound with "L".
23756 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23757 bound negative. Suffix upper bound with "L".
23758 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23759 bound with "UL".
23760 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23761 Specify type.
23762 [C99-based standards] (LLONG_MAX): Likewise.
23763 [C99-based standards] (ULLONG_MAX): Likewise.
23764 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23765 == 0.
23766 [ISO11] (max_align_t): Require type.
23767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23768
23769 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23770 from $CFLAGS, without defining away __attribute__ calls.
23771 (checknamespace): Use $CFLAGS_namespace.
23772
23773 * conform/conformtest.pl (@keywords): Only include C99 keywords
23774 for standards based on C99 or C11.
23775
23776 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23777 Disable tests.
23778 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23779 UNIX98]: Likewise.
23780
23781 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23782 usability of symbols in #if.
23783
23784 * conform/conformtest.pl: If macro or constant types start
23785 "promoted:", expect the symbol to be of the following type
23786 promoted by the integer promotions.
23787
23788 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23789 in one place. Also handle "macro-constant".
23790
23791 * conform/conformtest.pl: Only accept expected macro values with
23792 "==". Parse all "macro" lines in one place.
23793 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23794
23795 * conform/conformtest.pl: Handle braced types on "constant" lines
23796 instead of handling "typed-constant".
23797 * conform/data/signal.h-data: Use "constant" instead of
23798 "typed-constant".
23799
23800 * conform/conformtest.pl: Handle "optional-" at start of lines in
23801 one place rather than duplicating several cases. Handle each
23802 format of "macro" line with initial "optional-".
23803
23804 * conform/conformtest.pl: Only accept expected constant or
23805 optional-constant values with "==". Parse all "constant" lines in
23806 one place. Parse all "optional-constant" lines in one place.
23807 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23808 * conform/data/fmtmsg.h-data: Likewise.
23809 * conform/data/netinet/in.h-data: Likewise.
23810 * conform/data/tar.h-data: Likewise.
23811 * conform/data/limits.h-data: Use "==" form on "constant" and
23812 "optional-constant" lines.
23813
23814 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23815 Use -std=c99 for XOPEN2K.
23816 (@knownproblems): Remove.
23817 (newtoken): Don't check %isknown.
23818
23819 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23820 Do not expect macro.
23821 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23833 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23834 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23835 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23837 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23838 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23839 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23842 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23843 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23850 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23851 [XPG3] (acosh): Likewise.
23852 [XPG3] (asinh): Likewise.
23853 [XPG3] (atanh): Likewise.
23854 [XPG3] (cbrt): Likewise.
23855 [XPG3] (expm1): Likewise.
23856 [XPG3] (ilogb): Likewise.
23857 [XPG3] (log1p): Likewise.
23858 [XPG3] (logb): Likewise.
23859 [XPG3] (nextafter): Likewise.
23860 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23861 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23862 [XPG3] (remainder): Likewise.
23863 [XPG3] (rint): Likewise.
23864 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23865 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23866 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23867 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23868 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23869 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23870 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23871 [UNIX98 || XOPEN2K] (scalb): Expect.
23872 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23873 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23874 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23875 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23876 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23877 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23878 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23879 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23880 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23881 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23882 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23883 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23884 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23885 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23886 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23887 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23888 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23889 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23890 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23891 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23892 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23893 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23894 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23895 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23896 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23897 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23898 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23899 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23900 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23901 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23902 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23903 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23904 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23905 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23906 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23907 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23908 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23909 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23910 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23911 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23912 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23913 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23914 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23915 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23916 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23917 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23918 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23919 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23920 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23921 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23922 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23923 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23924 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23925 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23926 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23927 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23928 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23929 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23930 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23931 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23932 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23933 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23934 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23935 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23936 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23937 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23938 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23939 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23940 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23941 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23942 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23943 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23944 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23945 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23946 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23947 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23948 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23949 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23950 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23951 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23952 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23953 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23954 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23955 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23956 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23957 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23958 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23959 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23960 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23961 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23962 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23963 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23964 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23965 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23966 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23967 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23968 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23969 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23970 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23971 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23972 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23973 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23974 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23975 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23976 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23977 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23978 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23979 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23980 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23981 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23982 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23983 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23984 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23985 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23986 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23987 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23988 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23989 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23990 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23991 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23992 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23993 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23994 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23995 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23996 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23997 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23998 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23999 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24000 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24001 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24002 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24003 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24004 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24005 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24006 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24007 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24008 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24009
24010 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24011 _XOPEN_SOURCE_EXTENDED for XPG4.
24012
24013 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24014
24015 * Makeconfig (localtime): Remove variable.
24016 (inst_localtime-file): Likewise.
24017
240182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24019
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24021 Update.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24023 Update.
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24025 Update.
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24027 Update.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24029 Update.
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24031 Update.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24033 Update.
24034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24035 Update.
24036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24037 Update.
24038
240392012-05-01 Joseph Myers <joseph@codesourcery.com>
24040
24041 [BZ #2550]
24042 [BZ #2570]
24043 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24044 comparisons to determine direction to adjust input.
24045 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24046 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24048 Likewise.
24049 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24050 Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24052 Likewise.
24053 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24054 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24055 Likewise.
24056 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24057 Likewise.
24058 * math/libm-test.inc (nexttoward_test): Add more tests.
24059
240602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24061
24062 [BZ #14040]
24063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24064 in version GLIBC_2.1, not GLIBC_2.0.
24065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24066 Likewise.
24067
240682012-04-30 Joseph Myers <joseph@codesourcery.com>
24069
24070 [BZ #13942]
24071 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24072 (1 - x) * (1 + x).
24073 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24074 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24075 * math/libm-test.inc (acos_test): Add more tests.
24076 (asin_test): Likewise.
24077 * sysdeps/i386/fpu/libm-test-ulps: Update.
24078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079
24080 [BZ #14034]
24081 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24082 of square root.
24083 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24084 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24085 * math/libm-test.inc (acos_test_tonearest): New function.
24086 (acos_test_towardzero): Likewise.
24087 (acos_test_downward): Likewise.
24088 (acos_test_upward): Likewise.
24089 (asin_test_tonearest): Likewise.
24090 (asin_test_towardzero): Likewise.
24091 (asin_test_downward): Likewise.
24092 (asin_test_upward): Likewise.
24093 (main): Call the new functions.
24094 * sysdeps/i386/fpu/libm-test-ulps: Update.
24095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24096
24097 [BZ #13884]
24098 [BZ #13924]
24099 * math/e_exp10.c: Include <float.h>.
24100 (__ieee754_exp10): Handle underflow here rather than multiplying
24101 large negative argument by M_LN10.
24102 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24103 of __ieee754_expf.
24104 * math/e_exp10l.c: Include <float.h>.
24105 (__ieee754_exp10l): Handle underflow here rather than multiplying
24106 large negative argument by M_LN10l.
24107 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24108 spurious overflow exception on underflow.
24109
241102012-04-29 Marek Polacek <polacek@redhat.com>
24111
24112 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24113 (__fortify_function): New macro.
24114 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24115 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24116 __extern_always_inline.
24117 * libio/bits/stdio2.h: Likewise.
24118 * libio/bits/stdio.h: Likewise.
24119 * string/string.h: Likewise.
24120 * string/bits/string3.h: Likewise.
24121 * include/stdio.h: Likewise.
24122 * stdlib/bits/stdlib.h: Likewise.
24123 * stdlib/stdlib.h: Likewise.
24124 * rt/bits/mqueue2.h: Likewise.
24125 * rt/mqueue.h: Likewise.
24126 * posix/bits/unistd.h: Likewise.
24127 * posix/unistd.h: Likewise.
24128 * io/bits/poll2.h: Likewise.
24129 * io/bits/fcntl2.h: Likewise.
24130 * io/fcntl.h: Likewise.
24131 * io/sys/poll.h: Likewise.
24132 * misc/bits/syslog.h: Likewise.
24133 * misc/bits/syslog-ldbl.h: Likewise.
24134 * misc/sys/syslog.h: Likewise.
24135 * socket/bits/socket2.h: Likewise.
24136 * socket/sys/socket.h: Likewise.
24137 * debug/tst-chk1.c: Likewise.
24138 * wcsmbs/bits/wchar2.h: Likewise.
24139 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24140 * wcsmbs/wchar.h: Likewise.
24141
241422012-04-29 Andreas Jaeger <aj@suse.de>
24143
24144 * Makerules (tests): Remove enable-check-abi protection.
24145 (check-abi-warn): Remove.
24146 (check-abi-%): Remove check-abi-warn usage.
24147
24148 * configure.in: Remove check-abi configure option.
24149 * configure: Regenerated.
24150 * config.make.in (enable-check-abi): Remove.
24151
241522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24153
24154 [BZ #14033]
24155 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24156 double functions to double *_finite functions.
24157
24158 [BZ #13941]
24159 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24160 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24161 LDBL_MIN_EXP.
24162 * stdio-common/Makefile (tests): Add tst-sprintf3.
24163 * stdio-common/tst-sprintf3.c: New file.
24164
24165 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24166 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24167
241682012-04-28 Joseph Myers <joseph@codesourcery.com>
24169
24170 * conform/conformtest.pl: Remove duplicate typed-constant
24171 handling.
24172
241732012-04-28 David S. Miller <davem@davemloft.net>
24174
24175 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24176 (check-abi-%): Remove AWK script prerequisite and explicit
24177 abilist directory.
24178 (check-abi): Rewrite to just diff the symlist with the abilist.
24179 (config-tls, config-abi-config): Delete, no longer used.
24180 (update-abi-%): Remove AWK script and explicit abilist directory.
24181 (update-abi): Rewrite to simply compare and conditionally copy the
24182 symlist and the sysdep abilist file. Remove update-abi-config
24183 checks.
24184 * abilist/ld.abilist: Remove.
24185 * abilist/libBrokenLocale.abilist: Remove.
24186 * abilist/libanl.abilist: Remove.
24187 * abilist/libcrypt.abilist: Remove.
24188 * abilist/libdl.abilist: Remove.
24189 * abilist/librt.abilist: Remove.
24190 * abilist/libthread_db.abilist: Remove.
24191 * abilist/libutil.abilist: Remove.
24192 * scripts/extract-abilist.awk: Remove.
24193 * scripts/merge-abilist.awk: Remove.
24194 * sysdeps/generic/libcidn.abilist: New file.
24195 * sysdeps/generic/libnss_compat.abilist: New file.
24196 * sysdeps/generic/libnss_db.abilist: New file.
24197 * sysdeps/generic/libnss_dns.abilist: New file.
24198 * sysdeps/generic/libnss_files.abilist: New file.
24199 * sysdeps/generic/libnss_hesiod.abilist: New file.
24200 * sysdeps/generic/libnss_nis.abilist: New file.
24201 * sysdeps/generic/libnss_nisplus.abilist: New file.
24202 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24203 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24204 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24205 file.
24206 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24207 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24208 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24209 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24210 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24211 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24212 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24213 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24214 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24215 file.
24216 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24217 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24218 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24219 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24220 file.
24221 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24222 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24223 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24224 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24225 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24226 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24227 file.
24228 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24229 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24230 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24231 file.
24232 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24234 New file.
24235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24236 New file.
24237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24238 New file.
24239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24240 New file.
24241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24242 New file.
24243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24244 New file.
24245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24246 New file.
24247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24248 New file.
24249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24250 New file.
24251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24252 New file.
24253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24254 New file.
24255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24256 New file.
24257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24258 New file.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24260 file.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24262 New file.
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24264 New file.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24266 file.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24268 New file.
24269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24270 New file.
24271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24272 file.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24274 New file.
24275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24276 New file.
24277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24278 New file.
24279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24280 New file.
24281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24282 New file.
24283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24284 New file.
24285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24287 file.
24288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24289 New file.
24290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24291 file.
24292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24293 file.
24294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24295 file.
24296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24297 file.
24298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24299 file.
24300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24301 New file.
24302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24303 file.
24304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24305 file.
24306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24307 New file.
24308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24309 file.
24310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24312 file.
24313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24314 New file.
24315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24316 file.
24317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24318 file.
24319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24320 file.
24321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24322 file.
24323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24324 file.
24325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24326 New file.
24327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24328 file.
24329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24330 file.
24331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24332 New file.
24333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24334 file.
24335 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24336 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24337 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24338 file.
24339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24340 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24341 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24342 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24343 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24344 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24345 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24346 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24347 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24348 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24351 file.
24352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24353 New file.
24354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24355 file.
24356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24357 file.
24358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24359 file.
24360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24361 file.
24362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24363 file.
24364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24365 New file.
24366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24367 New file.
24368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24369 file.
24370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24371 New file.
24372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24373 file.
24374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24376 file.
24377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24378 New file.
24379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24380 file.
24381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24382 file.
24383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24384 file.
24385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24386 file.
24387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24388 file.
24389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24390 New file.
24391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24392 New file.
24393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24394 file.
24395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24396 New file.
24397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24398 file.
24399
244002012-04-28 Joseph Myers <joseph@codesourcery.com>
24401
24402 * conform/conformtest.pl: Fix typo in handling typed-constant from
24403 allow-header.
24404
244052012-04-27 Joseph Myers <joseph@codesourcery.com>
24406
24407 * README: Cut down references to pre-2.6 Linux kernels and
24408 Linuxthreads. Update lists of configurations in libc and ports
24409 and sort alphabetically. Say "or newer" with Linux kernel version
24410 requirements.
24411
24412 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24413
244142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24415
24416 [BZ #887]
24417 * math/libm-test.inc (logb_test_downward): New test to expose
24418 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24419 rounding mode.
24420
244212012-04-27 Joseph Myers <joseph@codesourcery.com>
24422
24423 [BZ #14027]
24424 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24425 to be done.
24426 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24427 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24428
244292012-04-26 Joseph Myers <joseph@codesourcery.com>
24430
24431 * sysdeps/unix/i386/brk.S: Remove file.
24432 * sysdeps/unix/i386/dl-brk.S: Likewise.
24433 * sysdeps/unix/i386/pipe.S: Likewise.
24434 * sysdeps/unix/i386/sigreturn.S: Likewise.
24435 * sysdeps/unix/i386/syscall.S: Likewise.
24436 * sysdeps/unix/i386/vfork.S: Likewise.
24437 * sysdeps/unix/i386/wait.S: Likewise.
24438
24439 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24440 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24441
24442 * configure.in (arm*-none*): Do not allow without
24443 --enable-hacker-mode.
24444 (netbsd*): Remove case setting base_os.
24445 (386bsd*): Likewise.
24446 (freebsd*): Likewise.
24447 (bsdi*): Likewise.
24448 (osf*): Likewise.
24449 (sunos*): Likewise.
24450 (ultrix*): Likewise.
24451 (newsos*): Likewise.
24452 (dynix*): Likewise.
24453 (*bsd*): Likewise.
24454 (sysv*): Likewise.
24455 (isc*): Likewise.
24456 (esix*): Likewise.
24457 (sco*): Likewise.
24458 (minix*): Likewise.
24459 (irix4*): Likewise.
24460 (irix6*): Likewise.
24461 (solaris[2-9]*): Likewise.
24462 (none): Likewise.
24463 * configure: Regenerated.
24464
244652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24466
24467 [BZ #11521]
24468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24469 overflow or cancellation in calculating denominator.
24470 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24472 down expression to avoid unexpected rounding in newer GCCs.
24473 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24474
244752012-04-26 David S. Miller <davem@davemloft.net>
24476
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24478 long-double compat symbols.
24479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24492
244932012-04-25 David S. Miller <davem@davemloft.net>
24494
24495 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24496 HWCAP_* values only after the memory barriers have been defined.
24497 (atomic_full_barrier): Define.
24498 (atomic_read_barrier): Define.
24499 (atomic_write_barrier): Define.
24500
245012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24502
24503 * shlib-versions: Add libgcc_s version information.
24504 * sysdeps/generic/libgcc_s.h: Remove.
24505 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24506 libgcc_s.h.
24507 * sysdeps/gnu/unwind-resume.c: Likewise.
24508 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24509
245102012-04-25 David S. Miller <davem@davemloft.net>
24511
24512 * sysdeps/unix/sparc/brk.S: Delete.
24513 * sysdeps/unix/sparc/dl-brk.S: Delete.
24514 * sysdeps/unix/sparc/pipe.S: Delete.
24515 * sysdeps/unix/sparc/sysdep.S: Delete.
24516 * sysdeps/unix/sparc/sysdep.h: Delete.
24517 * sysdeps/unix/sparc/vfork.S: Delete.
24518 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24519 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24520 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24521 ret_ERRVAL, r0, r1, MOVE): Define.
24522 (JUMPTARGET): Remove.
24523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24524 sysdeps/unix/sparc/sysdep.h
24525 (ENTRY, END): Remove.
24526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24527
245282012-04-25 Joseph Myers <joseph@codesourcery.com>
24529
24530 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24531 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24532 -DIS_IN_build.
24533
24534 * timezone/README: Update upstream location and email address for
24535 tzcode and tzdata.
24536 * timezone/zdump.c: Update from tzcode 2012b.
24537 * timezone/zic.c: Likewise.
24538
24539 * configure.in (libc_cv_as_needed): Remove test.
24540 * configure: Regenerated.
24541 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24542 conditional definition.
24543 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24544 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24545 * config.make.in (have-as-needed): Remove variable.
24546
245472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24548 Paul Pluzhnikov <ppluzhnikov@google.com>
24549
24550 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24551 strings correctly.
24552
245532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24554
24555 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24556 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24557 * sysdeps/sh/strlen.S: Likewise.
24558
245592012-04-24 Joseph Myers <joseph@codesourcery.com>
24560
24561 * sysdeps/unix/fork.S: Remove file.
24562 * sysdeps/unix/i386/fork.S: Likewise.
24563 * sysdeps/unix/sparc/fork.S: Likewise.
24564
24565 * sysdeps/unix/system.c: Remove file.
24566 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24567
24568 * sysdeps/unix/getegid.S: Remove file.
24569 * sysdeps/unix/geteuid.S: Likewise.
24570
245712012-04-24 Roland McGrath <roland@hack.frob.com>
24572
24573 * scripts/check-localplt.awk: New file.
24574 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24575 of diff.
24576 * scripts/data/localplt-generic.data: Add a comment.
24577
24578 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24579 NODE when __dir_mkfile failed.
24580 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24581 Reported by Ludovic Courtès <ludo@gnu.org>.
24582
245832012-04-24 Andreas Jaeger <aj@suse.de>
24584
24585 * Makerules (common-clean): Also remove gen-as-const-headers
24586 files.
24587
245882012-04-24 Joseph Myers <joseph@codesourcery.com>
24589
24590 * Makerules (native-compile): Do not change working directory for
24591 build. Use $(OUTPUT_OPTION) in command.
24592 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24593
245942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24595
24596 [BZ #13886]
24597 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24598 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24599 * math/libm-test.inc (floor_test): Add more tests.
24600 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24601
246022012-04-24 Joseph Myers <joseph@codesourcery.com>
24603
24604 * sysdeps/unix/getdents.c: Remove file.
24605 * sysdeps/unix/sysv/getdents.c: Likewise.
24606 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24607
24608 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24609 sysdeps/unix/mman/syscalls.list.
24610 (mmap): Likewise.
24611 (mprotect): Likewise.
24612 (msync): Likewise.
24613 (munmap): Likewise.
24614 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24615 * sysdeps/unix/mman/syscalls.list: Remove.
24616 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24617
24618 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24619 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24620 * configure: Regenerated.
24621 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24622 $(libgcc_s_suffix).
24623 * config.make.in (libgcc_s_suffix): Remove variable.
24624
246252012-04-23 Joseph Myers <joseph@codesourcery.com>
24626
24627 * sysdeps/unix/sysv/gethostname.c: Move to ...
24628 * sysdeps/posix/gethostname.c: ... here.
24629
24630 * sysdeps/unix/execve.S: Remove file.
24631
24632 * sysdeps/unix/_exit.S: Remove file.
24633
246342012-04-23 Andreas Jaeger <aj@suse.de>
24635
24636 [BZ #13739]
24637 * manual/Makefile: Remove make dist support, there's no
24638 need for a stand-alone documentation tar ball.
24639 (TEXI2DVI): Define always, it's not in Makeconfig.
24640 (dist): Removed.
24641 (tar-it): Removed.
24642 (edition): Removed.
24643 (glibc-doc-$(edition).tar): Removed
24644 (%.Z): Removed.
24645 (%.gz): Removed.
24646 (%.uu): Removed.
24647 (ETAGS): Remove, it's in Makeconfig.
24648 (move-if-change): Remove, it's in Makeconfig.
24649
246502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24651
24652 [BZ #13970]
24653 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24654 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24655 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24656 (strtod_l, strtof_l, strtold_l): Remove __wur.
24657 It is not necessarily an error to ignore strtol's return value.
24658 One can reliably look at the stored endptr to decide whether
24659 the number had valid syntax.
24660
246612012-04-21 Andreas Jaeger <aj@suse.de>
24662
24663 [BZ #13739]
24664 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24665
246662012-04-21 Joseph Myers <joseph@codesourcery.com>
24667
24668 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24669 * sysdeps/unix/sysv/Versions: Remove file.
24670
246712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24672
24673 [BZ #13927]
24674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24675
246762012-04-21 Nick Alcock <nick.alcock@oracle.com>
24677
24678 [BZ #7064]
24679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24680 version from __vm86.
24681
246822012-04-20 Joseph Myers <joseph@codesourcery.com>
24683
24684 * sysdeps/unix/common/lxstat.c: Remove file.
24685 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24686
24687 * sysdeps/unix/sysv/Makefile: Remove file.
24688
24689 * sysdeps/unix/sysv/direct.h: Remove file.
24690
24691 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24692 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24693 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24694 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24695 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24696 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24697 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24698
24699 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24700
24701 * sysdeps/unix/xmknod.c: Remove file.
24702 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24703
24704 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24705
24706 * sysdeps/unix/sysv/i386/time.S: Remove file.
24707
24708 * sysdeps/unix/fxstat.c: Remove file.
24709 * sysdeps/unix/xstat.c: Likewise.
24710 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24711
24712 * sysdeps/unix/sysv/sigaction.c: Remove file.
24713
24714 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24715 (sysdep_headers): Remove variable.
24716 [termio.h not in sysdep_headers] (generated): Likewise.
24717 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24718 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24719 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24720 * sysdeps/unix/sysv/tcflow.c: Likewise.
24721 * sysdeps/unix/sysv/tcflush.c: Likewise.
24722 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24723 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24724 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24725 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24726 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24727
24728 * sysdeps/unix/siglist.c: Remove file.
24729
24730 * sysdeps/unix/getppid.S: Remove file.
24731
24732 * sysdeps/unix/mkdir.c: Remove file.
24733 * sysdeps/unix/rmdir.c: Likewise.
24734
247352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24736
24737 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24738 ERR_MAX value.
24739 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24740 errlist-compat value.
24741
247422012-04-18 David S. Miller <davem@davemloft.net>
24743
24744 * sysdeps/generic/memcopy.h (reg_char): Delete.
24745 * debug/strcat_chk.c: Use char, not reg_char.
24746 * debug/strcpy_chk.c: Likewise.
24747 * debug/strncat_chk.c: Likewise.
24748 * debug/strncpy_chk.c: Likewise.
24749 * string/memchr.c: Likewise.
24750 * string/memrchr.c: Likewise.
24751 * string/rawmemchr.c: Likewise.
24752 * string/strcat.c: Likewise.
24753 * string/strchr.c: Likewise.
24754 * string/strchrnul.c: Likewise.
24755 * string/strcmp.c: Likewise.
24756 * string/strcpy.c: Likewise.
24757 * string/strncat.c: Likewise.
24758 * string/strncmp.c: Likewise.
24759 * string/strncpy.c: Likewise.
24760
247612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24762
24763 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24764 __builtin_memcopy is called when src and dest ranges are known to not
24765 overlap.
24766
247672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24768
24769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24770 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24771 fwd_align_merge macro call.
24772 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24773 bwd_align_merge macro call.
24774 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24775
247762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24777
24778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24779 bwd_align_merge macros.
24780 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24781 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24783
247842012-04-18 David S. Miller <davem@davemloft.net>
24785
24786 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24787
247882012-04-18 Andreas Jaeger <aj@suse.de>
24789
24790 [BZ# 6794]
24791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24792 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24793 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24794
24795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24796 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24797 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24798
24799 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24800 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24801 Adjust for changed ldbl-128 files.
24802
24803 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24804 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24805 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24806
248072012-04-17 David S. Miller <davem@davemloft.net>
24808
24809 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24810
248112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24812
24813 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24814 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24815 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24816 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24817 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24818 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24819
248202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24821
24822 [BZ #6794]
24823 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24824 * math/libm-test.inc: Add ilogb errno and exception tests.
24825 * math/w_ilogb.c: New file: ilogb wrapper.
24826 * math/w_ilogbf.c: New file: ilogbf wrapper.
24827 * math/w_ilogbl.c: New file: ilogbl wrapper.
24828 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24829 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24830 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24831 exception being thrown with 0.0 as argument.
24832 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24833 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24834 exception being thrown with 0.0 as argument.
24835 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24836 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24837 exception being thrown with 0.0 as argument.
24838 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24839 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24840 exception being thrown with 0.0 as argument.
24841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24842 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24844 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24845 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24846 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24847 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24848 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24849 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24850
248512012-04-17 Petr Baudis <pasky@ucw.cz>
24852
24853 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24854 with altivec.
24855
248562012-04-16 Marek Polacek <polacek@redhat.com>
24857
24858 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24859
248602012-04-16 Marek Polacek <polacek@redhat.com>
24861
24862 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24863 operands of fdivp instruction.
24864
248652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24866
24867 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24868 * elf/tst-auditmod3b.c: Likewise.
24869 * elf/tst-auditmod4b.c: Likewise.
24870 * elf/tst-auditmod5b.c: Likewise.
24871 * elf/tst-auditmod6b.c: Likewise.
24872 * elf/tst-auditmod6c.c: Likewise.
24873 * elf/tst-auditmod7b.c: Likewise.
24874 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24875 * sysdeps/x86_64/preconfigure.in: Likewise.
24876 * sysdeps/x86_64/preconfigure: Regenerated.
24877
248782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24879
24880 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24881 __ILP32__.
24882
248832012-04-13 Antoine Balestrat <merkil33@gmail.com>
24884
24885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24886 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24887
248882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24889
24890 [BZ #13973]
24891 * locale/iso-639.def: Fix gl language name. Spotted by
24892 Yaron Shahrabani.
24893
248942012-04-12 Roland McGrath <roland@hack.frob.com>
24895
24896 [BZ #2074]
24897 * libio/libio.h (__io_write_fn): Update comment.
24898
248992012-04-12 Petr Baudis <pasky@ucw.cz>
24900
24901 [BZ #2074]
24902 * stdio.texi (Hook Functions): The user provided writer function
24903 is not allowed to return -1.
24904
249052012-04-11 David S. Miller <davem@davemloft.net>
24906
24907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24908
249092012-04-11 Mike Frysinger <vapier@gentoo.org>
24910
24911 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24912 Add a leading slash to rtkaio.
24913
249142012-04-11 Jim Meyering <meyering@redhat.com>
24915
24916 [BZ #11959]
24917 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24918 It is not necessarily an error to ignore fwrite's return
24919 value. One can reliably use ferror to test for errors after
24920 the fact.
24921
249222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24923
24924 * bits/types.h (__snseconds_t): New type.
24925 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24926
24927 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24929 (__SNSECONDS_T_TYPE): Likewise.
24930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24931 (__SNSECONDS_T_TYPE): Likewise.
24932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24933 (__SNSECONDS_T_TYPE): Likewise.
24934
249352012-04-10 Andreas Jaeger <aj@suse.de>
24936
24937 [BZ #2636]
24938 * manual/time.texi (Processor Time): Return type of times is
24939 elapsed real time since an arbitrary point in the past.
24940 (CPU Time): Move CLK_TCK from here...
24941 (Processor Time): ...to here. Correct description.
24942 * manual/conf.texi (Constants for Sysconf): Correct description of
24943 _SC_CLK_TCK.
24944
249452012-04-10 David S. Miller <davem@davemloft.net>
24946
24947 [BZ #13967]
24948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24949 where the is a gap between DT_REL(A) and DT_JMPREL.
24950
249512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24952
24953 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24956
249572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24958
24959 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24960 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24961 (dl_main): Handle --inhibit-cache.
24962 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24963 _dl_inhibit_cache.
24964 * elf/dl-load.c (_dl_map_object): Use it.
24965 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24966
249672012-04-09 Joseph Myers <joseph@codesourcery.com>
24968
24969 [BZ #13872]
24970 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24971 (__ieee754_powl): Saturate large exponents rather than testing for
24972 overflow of y*log2(x).
24973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24974 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24975 exceptions.
24976
24977 [BZ #11521]
24978 * math/s_ctan.c: Include <float.h>.
24979 (__ctan): Avoid internal overflow or cancellation in calculating
24980 denominator.
24981 * math/s_ctanf.c: Likewise.
24982 * math/s_ctanl.c: Likewise.
24983 * math/s_ctanh.c: Likewise.
24984 * math/s_ctanhf.c: Likewise.
24985 * math/s_ctanhl.c: Likewise.
24986 * math/libm-test.inc (ctan_test): Add more tests.
24987 (ctanh_test): Likewise.
24988 * sysdeps/i386/fpu/libm-test-ulps: Update.
24989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24990
249912012-04-09 Andreas Jaeger <aj@suse.de>
24992
24993 [BZ #6894]
24994 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24995 is an optional BSD extension.
24996
24997 [BZ #10254]
24998 * manual/stdio.texi (Opening Streams): Document additional fopen
24999 parameters.
25000
250012012-04-09 Roland McGrath <roland@hack.frob.com>
25002
25003 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25004 %eax without telling the compiler.
25005
250062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25007
25008 [BZ # 13963]
25009 * manual/install.texi: Use sourceware.org.
25010
250112012-04-09 Joseph Myers <joseph@codesourcery.com>
25012
25013 [BZ #13873]
25014 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25015 (__ieee754_pow): Generate overflow and underflow using huge*huge
25016 and tiny*tiny rather than just returning constant infinity or zero
25017 for large exponents.
25018 * math/libm-test.inc (pow_test): Require overflow exceptions for
25019 applicable cases of large exponents.
25020
25021 [BZ #706]
25022 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25023 (__ieee754_pow): Use iterative multiplication algorithm only for
25024 integer exponents with absolute value below 1024. Check for odd
25025 integer exponents when using algorithm for real exponents.
25026 * math/libm-test.inc (pow_test): Add more tests.
25027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25028
250292012-04-08 Joseph Myers <joseph@codesourcery.com>
25030
25031 [BZ #13705]
25032 * math/libm-test.inc (exp_test): Do not allow overflow exception
25033 on underflow test.
25034
250352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25036
25037 [BZ #13705]
25038 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25039 instead of __kernel_standard_f.
25040
250412012-04-08 Mike Frysinger <vapier@gentoo.org>
25042
25043 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25044 * sysdeps/x86_64/memset_chk.S: Likewise.
25045
250462012-04-08 Andreas Jaeger <aj@suse.de>
25047
25048 [BZ #10153]
25049 * manual/startup.texi (Environment Access): Describe return value
25050 for putenv and setenv.
25051
25052 [BZ #6895]
25053 * manual/filesys.texi (Directory Entries): Add description for
25054 DT_LNK.
25055
25056 [BZ #6890]
25057 * manual/filesys.texi (Directory Entries): Clarify that it's file
25058 system not operating system in the description of DT_UNKNOWN.
25059
25060 [BZ #6578]
25061 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25062
250632012-04-08 Stephen Compall <s11@member.fsf.org>
25064
25065 [BZ #6649]
25066 * manual/llio.texi (Opening and Closing Files): Add cross
25067 reference to explain mode argument.
25068
250692012-04-07 Mike Frysinger <vapier@gentoo.org>
25070
25071 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25072 * sysdeps/x86_64/memset_chk.S: Likewise.
25073
250742012-04-07 David S. Miller <davem@davemloft.net>
25075
25076 * elf/elf.h (R_SPARC_WDISP10): Define.
25077 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25078 R_SPARC_SIZE32.
25079 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25080 R_SPARC_SIZE64 and R_SPARC_H34.
25081
250822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25083
25084 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25085 conditions and remove no longer applicable assertion.
25086
250872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25088
25089 * bits/byteswap.h: Include <features.h>.
25090 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25091 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25092
250932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25094
25095 * bits/byteswap.h (__bswap_16): Removed.
25096 Include <bits/byteswap-16.h> to get __bswap_16.
25097 * sysdeps/i386/bits/byteswap.h: Likewise.
25098 * sysdeps/s390/bits/byteswap.h: Likewise.
25099 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25100 * bits/byteswap-16.h: New file.
25101 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25102 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25103 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25104 * string/Makefile (headers): Add bits/byteswap-16.h.
25105
251062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25107
25108 [BZ #13895]
25109 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25110 extra indirection.
25111 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25112 * nss/tst-nss-static.c: New.
25113
251142012-04-06 Robert Millan <rmh@gnu.org>
25115
25116 [BZ #6486]
25117 * manual/llio.texi (File Position Primitive): lseek
25118 refers to WHENCE when it really means OFFSET.
25119
251202012-04-06 Andreas Jaeger <aj@suse.de>
25121
25122 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25123 strncmp declarations.
25124
25125 * abilist/libc.abilist: Add __poll and __ppoll.
25126
251272012-04-05 David S. Miller <davem@davemloft.net>
25128
25129 * scripts/check-local-headers.sh: Accept a host triplet in the
25130 path matched by the exclude regexp.
25131
25132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25133 definition.
25134 * sysdeps/powerpc/powerpc32/dl-machine.h
25135 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25136 * sysdeps/s390/s390-32/dl-machine.h
25137 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25138 * sysdeps/sparc/sparc32/dl-machine.h
25139 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25140 * sysdeps/sparc/sparc64/dl-machine.h
25141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25142
25143 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25144 lazy binding.
25145 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25146 undefined symbol errors.
25147
25148 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25149 DT_NEEDED entries.
25150
251512012-04-05 Michael Matz <matz@suse.de>
25152
25153 [BZ #13592]
25154 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25155
251562012-04-05 Andreas Jaeger <aj@suse.de>
25157
25158 [BZ #13908]
25159 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25160 comment.
25161
251622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25163
25164 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25165 which ROUND is no valid rounding mode.
25166
251672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25168
25169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25170 read again.
25171 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25172
251732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25174
25175 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25176 an exception using FPU order intentionally.
25177
251782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25179
25180 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25181 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25182 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25183 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25184
251852012-04-05 Simon Josefsson <simon@josefsson.org>
25186
25187 [BZ #12340]
25188 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25189 EINVAL when BUFLEN is too smal.
25190
251912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25192
25193 [BZ #13553]
25194 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25195 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25196
251972012-04-03 Andreas Jaeger <aj@suse.de>
25198
25199 [BZ #13938]
25200 * manual/setjmp.texi (System V contexts): Fix sentence.
25201
25202 [BZ #13926]
25203 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25204 New macro for this case.
25205 [!__GNUC__] (__bswap_64): New inline function for this case.
25206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25207 * bits/byteswap.h: Likewise.
25208 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25209 ull, guard with __GLIBC_HAVE_LONG_LONG.
25210
25211 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25212 __GLIBC_HAVE_LONG_LONG.
25213
25214 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25215 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25216
252172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25218
25219 [BZ #13691]
25220 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25221 inptr and inend, rather than using last_ch.
25222
252232012-04-02 David S. Miller <davem@davemloft.net>
25224
25225 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25226 * stdio-common/printf-parse.h (read_int): Change return type to
25227 'int', return -1 on INT_MAX overflow.
25228 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25229 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25230 overflows INT_MAX. Check for overflow of in-format-string precision
25231 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25232 SIZE_MAX not INT_MAX for integer overflow test.
25233 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25234 skip the construct in the format string but do not record anything.
25235 * stdio-common/bug22.c: Adjust to test both width/prevision
25236 INT_MAX overflow as well as total length INT_MAX overflow. Check
25237 explicitly for proper errno values.
25238
252392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25240
25241 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25242 CHAR_MAX.
25243 * string/test-strcmp.c [! WIDE]: Likewise.
25244 * time/tst-mktime2.c: Likewise for INT_MAX.
25245 * string/test-string.h: #include <sys/param.h> for MIN.
25246
25247 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25248 * sysdeps/i386/init-first.c (init): Likewise.
25249 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25250 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25251 * sysdeps/sh/init-first.c (init): Likewise.
25252
252532012-04-01 Ulrich Drepper <drepper@gmail.com>
25254
25255 * po/ru.po: Update from translation team.
25256 * po/vi.po: Likewise.
25257
252582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25259
25260 * resolv/nss_dns/dns-host.c: Merge copyright years.
25261
252622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25263
25264 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25265 Optimize memcpy with prefetch if
25266 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25267 src, dst pointers have unequal 16 byte alignments.
25268
252692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25270
25271 [BZ #13928]
25272 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25273 from a CNAME entry and return the minimum ttl for the query.
25274 (gaih_getanswer_slice): Likewise.
25275
252762012-03-30 Jeff Law <law@redhat.com>
25277
25278 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25279 due to long keys.
25280 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25281 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25282
25283 * resolv/nss_dns/dns-host.c: Update copyright year.
25284
252852012-03-30 Ulrich Drepper <drepper@gmail.com>
25286
25287 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25288 requests to save a system call. Fix check that all bytes are sent.
25289
25290 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25291 comments for sendmmsg.
25292
252932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25294
25295 [BZ #13691]
25296 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25297 with only 1 character between 0x0041 and 0x01b0.
25298 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25299 * wcsmbs/tst-mbsnrtowcs.c: New file.
25300
253012012-03-29 David S. Miller <davem@davemloft.net>
25302
25303 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25304 small copies by hand.
25305
253062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25307
25308 [BZ #13761]
25309 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25310 _nss_compat_initgroups_dyn): Fall back to malloc/free
25311 for large group memberships.
25312
253132012-03-28 David S. Miller <davem@davemloft.net>
25314
25315 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25316 that branches into memcpy.
25317 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25320 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25322 bits.
25323 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25324 implementation too.
25325 * sysdeps/sparc/mempcpy.S: New file.
25326
25327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25328 the IFUNC routine in the libc case.
25329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25330
25331 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25332 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25333 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25334 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25335 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25336 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25337 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25338 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25339
25340 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25341 loop to 256 bytes instead of 64 bytes and fix test signedness.
25342
25343 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25344 * sysdeps/sparc/sparc32/Makefile: rather than here...
25345 * sysdeps/sparc/sparc64/Makefile: and here.
25346
253472012-03-28 Ulrich Drepper <drepper@gmail.com>
25348
25349 * malloc/mallocbug.c: Avoid warnings about unused variables.
25350
253512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25352
25353 [BZ #13760]
25354 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25355 in the right place. Discard and retry query if response is
25356 larger than input buffer size.
25357
253582012-03-28 Joseph Myers <joseph@codesourcery.com>
25359
25360 [BZ #369]
25361 [BZ #2678]
25362 [BZ #3866]
25363 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25364 x for large integer exponent.
25365 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25366 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25367 sign of result as needed afterwards.
25368 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25369 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25370 result for underflowing pow the same as for overflow.
25371 (__kernel_standard_l): Handle powl overflow and underflow here
25372 rather than calling __kernel_standard.
25373 * math/libm-test.inc (pow_test): Add more tests.
25374
25375 [BZ #3868]
25376 [BZ #13879]
25377 [BZ #13910]
25378 [BZ #13911]
25379 [BZ #13912]
25380 [BZ #13913]
25381 [BZ #13915]
25382 [BZ #13916]
25383 [BZ #13917]
25384 [BZ #13918]
25385 [BZ #13919]
25386 [BZ #13920]
25387 [BZ #13921]
25388 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25389 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25390 (__kernel_standard_l): New function.
25391 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25392 __kernel_standard.
25393 * math/w_acosl.c (__acosl): Likewise.
25394 * math/w_asinl.c (__asinl): Likewise.
25395 * math/w_atan2l.c (__atan2l): Likewise.
25396 * math/w_atanhl.c (__atanhl): Likewise.
25397 * math/w_coshl.c (__coshl): Likewise.
25398 * math/w_exp10l.c (__exp10l): Likewise.
25399 * math/w_exp2l.c (__exp2l): Likewise.
25400 * math/w_fmodl.c (__fmodl): Likewise.
25401 * math/w_hypotl.c (__hypotl): Likewise.
25402 * math/w_j0l.c (__j0l, __y0l): Likewise.
25403 * math/w_j1l.c (__j1l, __y1l): Likewise.
25404 * math/w_jnl.c (__jnl, __ynl): Likewise.
25405 * math/w_lgammal.c (__lgammal): Likewise.
25406 * math/w_log10l.c (__log10l): Likewise.
25407 * math/w_log2l.c (__log2l): Likewise.
25408 * math/w_logl.c (__logl): Likewise.
25409 * math/w_powl.c (__powl): Likewise.
25410 * math/w_remainderl.c (__remainderl): Likewise.
25411 * math/w_scalbl.c (sysv_scalbl): Likewise.
25412 * math/w_sinhl.c (__sinhl): Likewise.
25413 * math/w_sqrtl.c (__sqrtl): Likewise.
25414 * math/w_tgammal.c (__tgammal): Likewise.
25415 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25416 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25417 * math/libm-test.inc (acos_test): Add more tests.
25418 (acosh_test): Likewise.
25419 (asin_test): Likewise.
25420 (atanh_test): Likewise.
25421 (exp_test): Likewise.
25422 (exp10_test): Likewise.
25423 (exp2_test): Likewise.
25424 (expm1_test): Likewise.
25425 (lgamma_test): Likewise.
25426 (log_test): Likewise.
25427 (log10_test): Likewise.
25428 (log1p_test): Likewise.
25429 (log2_test): Likewise.
25430 (pow_test): Do not allow some spurious overflow exceptions.
25431 (sqrt_test): Add more tests.
25432 (tgamma_test): Likewise.
25433 (y0_test): Likewise.
25434 (y1_test): Likewise.
25435 (yn_test): Likewise.
25436
254372012-03-27 Anton Blanchard <anton@samba.org>
25438
25439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25440 MAP_HUGETLB.
25441 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25442 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25444
254452012-03-27 David S. Miller <davem@davemloft.net>
25446
25447 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25448
25449 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25450 have-as-vis3 check.
25451
254522012-03-27 Andreas Jaeger <aj@suse.de>
25453
25454 * sysdeps/x86_64/elf/configure.in: Moved to ...
25455 * sysdeps/x86_64/configure.in: ... here.
25456 * sysdeps/x86_64/elf/start.S: Moved to ...
25457 * sysdeps/x86_64/start.S: ... here.
25458 * sysdeps/x86_64/elf/configure: Delete.
25459
25460 * sysdeps/x86_64/configure.in: Merge contents from
25461 sysdeps/i386/configure.in (without i686 check).
25462
25463 * sysdeps/i386/elf/Versions: Merge into ...
25464 * sysdeps/i386/Versions: ... this.
25465 * sysdeps/i386/elf/Versions: Delete file.
25466 * sysdeps/i386/elf/start.S: Moved to ...
25467 * sysdeps/i386/start.S: ...here.
25468 * sysdeps/i386/elf/configure.in: Merge into...
25469 * sysdeps/i386/configure.in: ...here.
25470 * sysdeps/i386/elf/configure.in: Delete file.
25471 * sysdeps/i386/elf/configure: Delete file.
25472
25473 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25474 * debug/backtracesyms.c: ... here.
25475 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25476 * debug/backtracesymsfd.c: ... here.
25477 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25478 * sysdeps/generic/ifunc-sel.h: ... here.
25479
25480 * sysdeps/unix/i386/start.c: Delete file.
25481 * sysdeps/unix/sparc/start.c: Delete file.
25482 * sysdeps/unix/start.c: Delete file.
25483
25484 * sysdeps/sh/elf/configure.in: Moved to ...
25485 * sysdeps/sh/configure.in: ... here.
25486 * sysdeps/sh/elf/start.S: Moved to ...
25487 * sysdeps/sh/start.S: ... here.
25488 * sysdeps/sh/elf/configure: Delete file.
25489
25490 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25491 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25492 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25493 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25494 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25495 * sysdeps/powerpc/powerpc64/start.S: here.
25496 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25497 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25498 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25499 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25500 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25501
25502 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25503 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25504 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25505 * sysdeps/powerpc/powerpc32/start.S: ... here.
25506 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25507 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25508 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25509
25510 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25511 * sysdeps/powerpc/ifunc-sel.h: ... here.
25512 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25513 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25514
25515 * sysdeps/sparc/elf/configure.in: Moved to ...
25516 * sysdeps/sparc/configure.in: ... here.
25517 * sysdeps/sparc/elf/configure: Delete file.
25518 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25519 * sysdeps/sparc/sparc32/start.S: ... here.
25520 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25521 * sysdeps/sparc/sparc64/start.S: ... here.
25522 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25523 * sysdeps/sparc/sparc32/Makefile: ... this.
25524 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25525 * sysdeps/sparc/sparc64/Makefile: ... this.
25526
25527 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25528 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25529 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25530 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25531 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25532 * sysdeps/s390/s390-32/setjmp.S: ... here.
25533 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25534 * sysdeps/s390/s390-32/configure.in: ... here.
25535 * sysdeps/s390/s390-32/elf/configure: Delete file.
25536 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25537 * sysdeps/s390/s390-32/start.S: ... here.
25538
25539 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25540 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25541 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25542 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25543 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25544 * sysdeps/s390/s390-64/setjmp.S: ... here.
25545 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25546 * sysdeps/s390/s390-64/configure.in: ... here
25547 * sysdeps/s390/s390-64/elf/configure: Delete file.
25548 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25549 * sysdeps/s390/s390-64/start.S: ... here.
25550 * sysdeps/s390/s390-64/elf/configure: Delete.
25551
25552 * configure.in: Remove support for elf directories in sysdeps.
25553
25554 * configure: Regenerated.
25555 * sysdeps/i386/configure: Regenerated.
25556 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25557 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25558 * sysdeps/s390/s390-32/configure: Regenerated.
25559 * sysdeps/s390/s390-64/configure: Regenerated.
25560 * sysdeps/sh/configure: Regenerated.
25561 * sysdeps/sparc/configure: Regenerated.
25562 * sysdeps/x86_64/configure: Regenerated.
25563
255642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25565
25566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25567
25568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25569 denormal result into account.
25570
255712012-03-25 Roland McGrath <roland@hack.frob.com>
25572
25573 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25574 Reported by Allan McRae <allan@archlinux.org>.
25575
255762012-03-23 Jeff Law <law@redhat.com>
25577
25578 * nss/getnssent.c (__nss_getent): Fix typo.
25579
255802012-03-23 David S. Miller <davem@davemloft.net>
25581
25582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25583
255842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25587 to pad to uint64_t for each field.
25588 (dl_tls_index): Replace unsigned long with uint64_t.
25589
255902012-03-23 Daniel Jacobowitz <dmj@google.com>
25591 Paul Pluzhnikov <ppluzhnikov@google.com>
25592
25593 [BZ #6528]
25594 * grp/Makefile (otherlibs): Don't set it.
25595 * inet/Makefile (otherlibs): Likewise.
25596 * login/Makefile (otherlibs): Likewise.
25597 * nscd/Makefile (otherlibs): Likewise.
25598 * posix/Makefile (otherlibs): Likewise.
25599 * pwd/Makefile (otherlibs): Likewise.
25600 * rt/Makefile (otherlibs): Likewise.
25601 * sunrpc/Makefile (otherlibs): Likewise.
25602 * nss/Makefile (otherlibs): Likewise.
25603 Add libnss_files to routines and static-only-routines.
25604 ($(objpfx)getent): Remove rule.
25605 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25606 static-only-routines.
25607
256082012-03-22 Joseph Myers <joseph@codesourcery.com>
25609
25610 [BZ #13892]
25611 * math/s_cexp.c: Include <float.h>.
25612 (__cexp): Handle exp result overflowing not necessarily
25613 overflowing both real and imaginary parts of result.
25614 * math/s_cexpf.c: Likewise.
25615 * math/s_cexpl.c: Likewise.
25616 * math/libm-test.inc (cexp_test): Add more tests.
25617 * sysdeps/i386/fpu/libm-test-ulps: Update.
25618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619
256202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25621
25622 * include/link.h (ELFW): New macro.
25623 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25624 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25625
256262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25627
25628 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25629 with uint64_t.
25630
256312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25632
25633 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25634 declaration.
25635 (struct La_x32_retval): Likewise.
25636
256372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 * sysdeps/x86_64/preconfigure.in: New file.
25640 * sysdeps/x86_64/preconfigure: New generated file.
25641
256422012-03-22 Joseph Myers <joseph@codesourcery.com>
25643
25644 [BZ #13824]
25645 * math/e_exp2l.c: Include <float.h>.
25646 (__ieee754_exp2l): Handle overflow and underflow cases
25647 separately. Only pass fractional part of argument to
25648 __ieee754_expl.
25649 * math/libm-test.inc (exp2_test): Add more tests.
25650
25651 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25652 negating x to take absolute value.
25653 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25654 Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25657 Likewise.
25658 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25659 computing low part if x was negated.
25660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25661
256622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25663
25664 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25665 la_x32_gnu_pltexit.
25666 (pltexit): Cast int_retval to ptrdiff_t.
25667 * elf/tst-auditmod3b.c: Likewise.
25668 * elf/tst-auditmod4b.c: Likewise.
25669 * elf/tst-auditmod5b.c: Likewise.
25670 * elf/tst-auditmod6b.c: Likewise.
25671 * elf/tst-auditmod6c.c: Likewise.
25672 * elf/tst-auditmod7b.c: Likewise.
25673
25674 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25675 and x32_gnu_pltexit.
25676
25677 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25678 __ELF_NATIVE_CLASS.
25679 (La_x32_regs): New macro.
25680 (La_x32_retval): Likewise.
25681 (la_x32_gnu_pltenter): New function prototype.
25682 (la_x32_gnu_pltexit): Likewise.
25683
256842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25685
25686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25687 exponent.
25688
25689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25690
25691 * configure.in (libc_cv_cc_nofma): Check for option to disable
25692 generation of FMA instructions.
25693 * configure: Regenerate.
25694 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25695 * sysdeps/ieee754/dbl-64/Makefile: New file.
25696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25697 Remove brandred-fma4.
25698 (CFLAGS-brandred-fma4.c): Remove.
25699 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25700 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25701 define.
25702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25703 define.
25704
257052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25708 LLONG_MAX != LONG_MAX.
25709 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25710 (_fitoa_word): Likewise.
25711 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25712 LLONG_MAX != LONG_MAX.
25713 * stdio-common/_itowa.h: Include <_itoa.h>.
25714 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25715 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25716 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25717 only if not defined.
25718 (_ITOA_WORD_TYPE): Likewise.
25719 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25720 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25721
257222012-03-21 David S. Miller <davem@davemloft.net>
25723
25724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25725
257262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25727
25728 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25729 of x86_64 when setting libc_cv_slibdir, libdir and
25730 libc_cv_localedir.
25731 * sysdeps/unix/sysv/linux/configure: Regenerated.
25732
257332012-03-21 Joseph Myers <joseph@codesourcery.com>
25734
25735 * manual/lang.texi (Old Varargs): Remove section.
25736 (How Variadic): Update menu.
25737 (va_start): Do not mention varargs.h.
25738
257392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25740 Joseph Myers <joseph@codesourcery.com>
25741
25742 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25743 link test.
25744 * configure: Regenerated.
25745
257462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25747
25748 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25749 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25750 conformtest.pl
25751
257522012-03-21 Joseph Myers <joseph@codesourcery.com>
25753
25754 * NOTES: Remove.
25755 * Makefile (files-for-dist): Remove NOTES.
25756 (NOTES): Remove rule.
25757 * README: Don't refer to NOTES.
25758 * manual/creature.texi: Don't include macros.texi.
25759 * manual/intro.texi (creature.texi): Remove comment referring to
25760 NOTES.
25761
25762 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25763 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25764 * configure: Regenerated.
25765 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25766 LIBC_TRY_CC_OPTION.
25767 (libc_cv_as_i686): Likewise.
25768 (libc_cv_cc_avx): Likewise.
25769 (libc_cv_cc_sse2avx): Likewise.
25770 (libc_cv_cc_fma4): Likewise.
25771 (libc_cv_cc_novzeroupper): Likewise.
25772 * sysdeps/i386/configure: Regenerated.
25773
25774 [BZ #13883]
25775 * sysdeps/i386/fpu/s_cexp.S: Remove.
25776 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25777 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25778 * math/libm-test.inc (cexp_test): Add more tests.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25781
257822012-03-21 Allan McRae <allan@archlinux.org>
25783
25784 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25785
257862012-03-21 Joseph Myers <joseph@codesourcery.com>
25787
25788 [BZ #13871]
25789 * math/w_exp2.c: Do not include <float.h>.
25790 (o_threshold, u_threshold): Remove.
25791 (__exp2): Calculate result before checking finiteness and calling
25792 __kernel_standard.
25793 * math/w_exp2f.c: Likewise.
25794 * math/w_exp2l.c: Likewise.
25795 * math/libm-test.inc (exp2_test): Require overflow exception for
25796 1e6 input.
25797
25798 [BZ #3866]
25799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25800 range of signed 64-bit integers before using fistpll. Remove
25801 checks for whether integers fit in mantissa bits.
25802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25803 the range of signed 32-bit integers before using fistpl. Remove
25804 checks for whether integers fit in mantissa bits.
25805 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25806 (__ieee754_powl): Test for y outside the range of signed 64-bit
25807 integers before using fistpll. Reduce 64-bit values to 63-bit
25808 ones as needed.
25809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25810 divide-by-zero is raised for zero to large negative powers.
25811 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25812 (__ieee754_powl): Test for y outside the range of signed 64-bit
25813 integers before using fistpll. Reduce 64-bit values to 63-bit
25814 ones as needed.
25815 * math/libm-test.inc (pow_test): Add more tests.
25816
258172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25818
25819 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25820 <stdio-common/_itoa.h>.
25821 * debug/segfault.c: Likewise.
25822 * elf/dl-cache.c: Likewise.
25823 * elf/dl-minimal.c: Likewise.
25824 * elf/dl-misc.c: Likewise.
25825 * elf/dl-sysdep.c: Likewise.
25826 * elf/dl-version.c: Likewise.
25827 * elf/rtld.c: Likewise.
25828 * hurd/hurdsock.c: Likewise.
25829 * hurd/lookup-retry.c: Likewise.
25830 * malloc/malloc.c: Likewise.
25831 * malloc/mtrace.c: Likewise.
25832 * nscd/nscd_getgr_r.c: Likewise.
25833 * nscd/nscd_getpw_r.c: Likewise.
25834 * nscd/nscd_getserv_r.c: Likewise.
25835 * posix/getopt_init.c: Likewise.
25836 * posix/wordexp.c: Likewise.
25837 * stdio-common/_itoa.c: Likewise.
25838 * stdio-common/printf_fphex.c: Likewise.
25839 * stdio-common/vfprintf.c: Likewise.
25840 * string/_strerror.c: Likewise.
25841 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25842 * sysdeps/i386/i686/hp-timing.h: Likewise.
25843 * sysdeps/mach/_strerror.c: Likewise.
25844 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25845 * sysdeps/mach/hurd/sethostid.c: Likewise.
25846 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25847 * sysdeps/mach/xpg-strerror.c: Likewise.
25848 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25849 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25850 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25851 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25852 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25853 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25854 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25855 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25856 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25857 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25858 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25859 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25860 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25861 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25862 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25863 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25865 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25866 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25867 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25868 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25869
25870 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25871
25872 * stdio-common/_itoa.h: Moved to ...
25873 * sysdeps/generic/_itoa.h: Here.
25874
25875 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25876
25877 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25878 instead of "_itoa.h" and "_itowa.h".
25879 * stdio-common/vfprintf.: Likewise.
25880
258812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25884 <bits/wordsize.h>.
25885 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25886 (__signbit): Likwise.
25887 (llrintf): Likwise.
25888 (llrint): Likwise.
25889
258902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25891
25892 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25893 __WORDSIZE != 64.
25894
258952012-03-20 Joseph Myers <joseph@codesourcery.com>
25896
25897 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25898 OVERFLOW_EXCEPTION_OK.
25899 * math/libm-test.inc ("Philosophy"): Update comment about
25900 exception testing.
25901 (OVERFLOW_EXCEPTION): Define.
25902 (OVERFLOW_EXCEPTION_OK): Likewise.
25903 (INVALID_EXCEPTION_OK): Renumber.
25904 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25905 (IGNORE_ZERO_INF_SIGN): Likewise.
25906 (test_exceptions): Handle FE_OVERFLOW.
25907 (exp10_test): Expect overflow exceptions.
25908 (exp2_test): Likewise.
25909 (expm1_test): Likewise.
25910 (nextafter_test): Likewise.
25911 (pow_test): Likewise.
25912 (scalbn_test): Likewise.
25913 (scalbln_test): Likewise.
25914
259152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25916
25917 * sysdeps/x86_64/bits/atomic.h
25918 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25919 64bit integer.
25920 (atomic_exchange_acq): Likewise.
25921 (__arch_exchange_and_add_body): Likewise.
25922 (__arch_add_body): Likewise.
25923 (atomic_add_negative): Likewise.
25924 (atomic_add_zero): Likewise.
25925
259262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25927
25928 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25929 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25930
259312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25932
25933 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25934 Check __x86_64__ instead of __WORDSIZE.
25935
259362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25937
25938 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25939
259402012-03-19 David S. Miller <davem@davemloft.net>
25941
25942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25943
25944 * sysdeps/sparc/fpu/fenv_private.h: New file.
25945 * sysdeps/sparc/fpu/math_private.h: Use it.
25946 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25947 Remove.
25948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25949 (libc_feholdexcept_setroundl): Remove.
25950 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25951 Remove.
25952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25954
259552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25956
25957 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25958 int64_t instead of long int.
25959 (INSERT_WORDS64): Likwise.
25960
259612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25962
25963 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25964 _Unwind_GetCFA return to _Unwind_Ptr first.
25965
259662012-03-19 Joseph Myers <joseph@codesourcery.com>
25967
25968 [BZ #13629]
25969 * math/s_clog.c: Include <float.h>.
25970 (__clog): Scale large or subnormal inputs.
25971 * math/s_clogf.c: Likewise.
25972 * math/s_clogl.c: Likewise.
25973 * math/s_clog10.c: Include <float.h>.
25974 (M_LOG10_2): Define.
25975 (__clog10): Scale large or subnormal inputs.
25976 * math/s_clog10f.c: Likewise.
25977 * math/s_clog10l.c: Likewise.
25978 * math/libm-test.inc (clog_test): Add more tests.
25979 (clog10_test): Likewise.
25980 * sysdeps/i386/fpu/libm-test-ulps: Update.
25981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25982
25983 [BZ #11451]
25984 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25985 x and y.
25986 * math/libm-test.inc (atan2_test): Add another test.
25987
25988 * Makerules (common-objdir-compile): Remove.
25989 * sysdeps/unix/Makefile (config-generated): Do not add
25990 $(unix-generated) to variable.
25991 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25992 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25993 Remove rule.
25994 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25995 Likewise.
25996 [generic bits/local_lim.h] (before-compile): Do not append to
25997 variable.
25998 [generic bits/local_lim.h] (common-generated): Likewise.
25999 [generic sys/param.h] (before-compile): Do not append to variable.
26000 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26001 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26002 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26003 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26004 include.
26005 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26006 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26007 [generic sys/param.h] ($(addprefix
26008 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26009 [generic sys/param.h] (common-generated): Do not append to
26010 variable.
26011 [generic sys/param.h] (sysdep_headers): Likewise.
26012 [generic bits/errno.h] (before-compile): Do not append to
26013 variable.
26014 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26015 rule.
26016 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26017 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26018 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26019 [generic bits/errno.h] (common-generated): Do not append to
26020 variable.
26021 [generic bits/ioctls.h] (before-compile): Do not append to
26022 variable.
26023 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26024 rule.
26025 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26026 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26027 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26028 rule.
26029 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26030 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26031 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26032 [generic bits/ioctls.h] (common-generated): Do not append to
26033 variable.
26034 [generic sys/syscall.h] (syscall.h): Remove variable.
26035 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26036 rule.
26037 [generic sys/syscall.h] (before-compile): Do not append to
26038 variable.
26039 [generic sys/syscall.h] (common-generated): Likewise.
26040 * sysdeps/unix/errnos-tmpl.c: Remove file.
26041 * sysdeps/unix/errnos.awk: Likewise.
26042 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26043 * sysdeps/unix/ioctls.awk: Likewise.
26044 * sysdeps/unix/mk-local_lim.c: Likewise.
26045 * sysdeps/unix/snarf-ioctls: Likewise.
26046
260472012-03-19 Richard Henderson <rth@twiddle.net>
26048
26049 * sysdeps/i386/fpu/fenv_private.h: New file.
26050 * sysdeps/i386/fpu/math_private.h: Use it.
26051 (math_opt_barrier, math_force_eval): Remove.
26052 (libc_feholdexcept_setround_53bit): Remove.
26053 (libc_feupdateenv_53bit): Remove.
26054 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26055 (math_opt_barrier, math_force_eval): Remove.
26056 (libc_feholdexcept): Remove.
26057 (libc_feholdexcept_setround): Remove.
26058 (libc_fetestexcept, libc_fesetenv): Remove.
26059 (libc_feupdateenv_test): Remove.
26060 (libc_feupdateenv, libc_feholdsetround): Remove.
26061 (libc_feresetround): Remove.
26062
26063 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26064 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26065
26066 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26067 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26068 (libc_feupdateenv_testl): New.
26069 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26070 (libc_feupdateenv_testf): New.
26071 (libc_feupdateenv): Use libc_feupdateenv_test.
26072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26074
26075 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26076 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26077 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26078 (libc_feresetround_noex): New.
26079 (libc_feresetround_noexf): New.
26080 (libc_feresetround_noexl): New.
26081 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26082 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26083 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26084 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26085 SET_RESTORE_ROUND.
26086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26088 (__cos): Likewise.
26089 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26090 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26091 SET_RESTORE_ROUND_NOEX.
26092 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26093 SET_RESTORE_ROUND_NOEXF.
26094 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26095 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26096 (libc_feholdsetroundf): New.
26097 (libc_feresetround, libc_feresetroundf): New.
26098
26099 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26100 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26101 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26102
26103 * sysdeps/generic/math_private.h: Include <fenv.h>.
26104 (default_libc_feholdexcept): New.
26105 (default_libc_feholdexcept_setround): New.
26106 (default_libc_fesetenv, default_libc_feupdateenv): New.
26107 (libc_feholdexcept): Only define if undefined.
26108 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26109 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26110 (libc_feholdexcept_setroundl): Likewise.
26111 (libc_feholdexcept_setround_53bit): Likewise.
26112 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26113 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26114 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26115 (libc_feupdateenv_53bit): Likewise.
26116 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26117 (libc_feholdexcept): Convert from macro to inline function.
26118 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26119 (libc_fesetenv, libc_feupdateenv): Likewise.
26120
26121 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26122 not previously defined.
26123 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26124 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26125 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26126 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26127 * sysdeps/ieee754/flt-32/math_private.h: New file.
26128 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26129 math_private.h below SET_FLOAT_WORD.
26130 (__isnan, __isinf_ns, __finite): Remove.
26131 (__isnanf, __isinf_nsf, __finitef): Remove.
26132
261332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26134
26135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26136
261372012-03-17 David S. Miller <davem@davemloft.net>
26138
26139 [BZ #6471]
26140 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26141 for 2.16.
26142
261432012-03-16 David S. Miller <davem@davemloft.net>
26144
26145 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26146 warnings.
26147
26148 [BZ #6471]
26149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26150 properly.
26151 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26152 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26153 sysdep_routines when subdir is sysvipc.
26154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26155 __getshmlba helper.
26156
26157 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26158
261592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26160
26161 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26162 [__LP64__].
26163
261642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26165
26166 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26167 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26168 (__lround): Renamed to ...
26169 (__llround): This. Replace long int with long long int.
26170 Define lround functions as aliases of llround functions.
26171 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26172
261732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26174
26175 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26176 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26177 adresses to uintptr_t. Replace "long int" and "unsigned long
26178 int" with "greg_t" on va_arg.
26179
261802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26183 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26184
26185 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26186 Move e_machine check before EI_CLASS check. Handle x32
26187 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26188 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26189 SKIP_EM_IA_64 and include
26190 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26191
26192 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26193 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26194 (add_system_dir): New macro.
26195
26196 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26197 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26198
261992012-03-16 Joseph Myers <joseph@codesourcery.com>
26200
26201 [BZ #2551]
26202 [BZ #2552]
26203 [BZ #2553]
26204 [BZ #2554]
26205 [BZ #2562]
26206 [BZ #2563]
26207 [BZ #2565]
26208 [BZ #2566]
26209 [BZ #2576]
26210 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26211 (y0): Likewise.
26212 * math/w_j0f.c (j0f): Likewise.
26213 (y0f): Likewise.
26214 * math/w_j0l.c (__j0l): Likewise.
26215 (__y0l): Likewise.
26216 * math/w_j1.c (j1): Likewise.
26217 (y1): Likewise.
26218 * math/w_j1f.c (j1f): Likewise.
26219 (y1f): Likewise.
26220 * math/w_j1l.c (__j1l): Likewise.
26221 (__y1l): Likewise.
26222 * math/w_jn.c (jn): Likewise.
26223 (yn): Likewise.
26224 * math/w_jnf.c (jnf): Likewise.
26225 (ynf): Likewise.
26226 * math/w_jnl.c (__jnl): Likewise.
26227 (__ynl): Likewise.
26228 * math/libm-test.inc (j0_test): Add more tests.
26229 (j1_test): Likewise.
26230 (jn_test): Likewise. Add trailing semicolon to existing test.
26231 (y0_test): Likewise.
26232 (y1_test): Likewise.
26233 * sysdeps/i386/fpu/libm-test-ulps: Update.
26234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26235
26236 [BZ #13851]
26237 [BZ #13854]
26238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26239 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26240 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26242 (__tanl): Set errno for infinite argument.
26243 * sysdeps/i386/fpu/mptan.c: Remove.
26244 * sysdeps/i386/fpu/s_tan.S: Likewise.
26245 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26246 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26247 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26248 * math/libm-test.inc (tan_test): Add more tests and enable more
26249 tests for double and long double.
26250 * sysdeps/i386/fpu/libm-test-ulps: Update.
26251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252
262532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26254
26255 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26256 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26257
262582012-03-16 Roland McGrath <roland@hack.frob.com>
26259
26260 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26261 * configure.in: Use it for both main tree and add-ons.
26262 * configure: Regenerated.
26263
262642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26265
26266 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26267
262682012-03-16 Joseph Myers <joseph@codesourcery.com>
26269
26270 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26271 in comment.
26272
26273 [BZ #13851]
26274 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26275 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26279 infinite argument.
26280 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26282 != 0 for prec == 2.
26283 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26284 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26285 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26286 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26287 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26288 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26289 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26290 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26291 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26292 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26293 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26294 * math/libm-test.inc (cos_test): Add more tests and enable more
26295 tests for long double.
26296 (sin_test): Likewise.
26297 (sincos_test): Likewise.
26298 * sysdeps/i386/fpu/libm-test-ulps: Update.
26299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26300
263012012-03-16 David S. Miller <davem@davemloft.net>
26302
26303 * sysdeps/sparc/fpu/math_private.h: New file.
26304
263052012-03-15 David S. Miller <davem@davemloft.net>
26306
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26308 file.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26311 file.
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26318 sysdep routines.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26320
26321 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26322 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26323
26324 * sysdeps/sparc/sparc-ifunc.h: New file.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26326 sparc-ifunc.h
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26329 Likewise.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26331 Likewise.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26336 Likewise.
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26342 Likewise.
26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26344 Likewise.
26345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26369
263702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26371
26372 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26373 scaling.
26374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26375
263762012-03-15 Andreas Jaeger <aj@suse.de>
26377
26378 [BZ #13852]
26379 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26380 ieee754/flt-32 implementation for sin, cos and sincos.
26381 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26382 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26383 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26384 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26385 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26386 ieee754/flt-32 implementation for tan.
26387
26388 * math/libm-test.inc (cos_test): Enable some large input tests for
26389 float as well
26390 (sin_test): Likewise.
26391 (sincos_test): Likewise.
26392 (tan_test): Add tests for large input.
26393
26394 * sysdeps/i386/fpu/libm-test-ulps: Update.
26395
263962012-03-15 Andreas Jaeger <aj@suse.de>
26397
26398 [BZ #13658]
26399 * math/libm-test.inc (cos_test): Add more test cases.
26400 (sin_test): Likewise.
26401 (sincos_test): Likewise.
26402
264032012-03-15 Andreas Jaeger <aj@suse.de>
26404
26405 [BZ #13837]
26406 * math/libm-test.inc (cos_test): Add a test case for large input
26407 value.
26408 (sin_test): Likewise.
26409 (sincos_test): Likewise.
26410
264112012-03-15 Andreas Jaeger <aj@suse.de>,
26412 Joseph Myers <joseph@codesourcery.com>
26413
26414 [BZ #13658]
26415 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26416 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26417 * sysdeps/i386/fpu/branred.c: Likewise.
26418 * sysdeps/i386/fpu/dosincos.c: Likewise.
26419 * sysdeps/i386/fpu/mpa.c: Likewise.
26420 * sysdeps/i386/fpu/s_cos.S: Likewise.
26421 * sysdeps/i386/fpu/s_sin.S: Likewise.
26422 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26423 * sysdeps/i386/fpu/sincos32.c: Likewise.
26424
26425 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26426 Define.
26427 (libc_feupdateenv_53bit): Define.
26428 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26429 Define.
26430 (libc_feupdateenv_53bit): Define.
26431
26432 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26433 53 bit (without extend i386 double precision).
26434
26435 * math/libm-test.inc (sincos_test): Add tests for large input.
26436 (sin): Likewise.
26437 (cos): Likewise.
26438
26439 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26440
264412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26442
26443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26444
264452012-03-15 David S. Miller <davem@davemloft.net>
26446
26447 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26448 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26449 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26450 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26463 file.
26464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26466 file.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26469 file.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26472 file.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26475 fmin/fmax sysdep routines.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26477
264782012-03-14 David S. Miller <davem@davemloft.net>
26479
26480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26509 routines.
26510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26511 file.
26512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26514 file.
26515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26517 file.
26518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26520 file.
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26523 file.
26524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26526 file.
26527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26528 file.
26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26530 file.
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26532 file.
26533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26534 New file.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26536 file.
26537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26538 file.
26539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26541 file.
26542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26544 file.
26545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26547 file.
26548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26550 VIS3 routines.
26551
26552 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26553 New file.
26554
26555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26556
26557 * sysdeps/sparc/configure.in: New file.
26558 * sysdeps/sparc/configure: Generate.
26559 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26560 * configure: Regenerate.
26561 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26562 * config.make.in (have-as-vis3): New.
26563 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26564 available use -Av9d instead of -Av9a.
26565 * sysdeps/sparc/sparc64/Makefile: Likewise.
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26568 New file.
26569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26570 file.
26571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26572 New file.
26573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26574 file.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26580
26581 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26582 fzeros/fnegs to load 0x80000000 into a float register instead of
26583 using the stack.
26584 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26585
265862012-03-14 Joseph Myers <joseph@codesourcery.com>
26587
26588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26589 bits/syscall.h.
26590 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26591 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26592 ($(inst_includedir)/bits/syscall.h): Remove rule.
26593 ($(objpfx)bits/syscall.d): Include instead of
26594 $(objpfx)syscall-list.d.
26595 (generated): Change syscall-list.h and syscall-list.d to
26596 bits/syscall.h and bits/syscall.d.
26597
265982012-03-14 Roland McGrath <roland@hack.frob.com>
26599
26600 [BZ #13846]
26601 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26602
266032012-03-14 Joseph Myers <joseph@codesourcery.com>
26604
26605 [BZ #13841]
26606 * math/s_csqrt.c: Include <float.h>.
26607 (__csqrt): Scale large or subnormal inputs.
26608 * math/s_csqrtf.c: Likewise.
26609 * math/s_csqrtl.c: Likewise.
26610 * math/libm-test.inc (csqrt_test): Add more tests.
26611 * sysdeps/i386/fpu/libm-test-ulps: Update.
26612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26613
26614 [BZ #13840]
26615 * math/libm-test.inc (hypot_test): Add more tests.
26616
266172012-03-13 David S. Miller <davem@davemloft.net>
26618
26619 [BZ #13840]
26620 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26621 double-precision for the calculation instead of scaling.
26622
266232012-03-13 Joseph Myers <joseph@codesourcery.com>
26624
26625 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26626 manipulate bits before adding and subtracting TWO52[sx].
26627 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26628 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26629 Likewise.
26630 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26631
266322012-03-13 David S. Miller <davem@davemloft.net>
26633
26634 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26635 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26637 rtld-global-offsets.h
26638 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26639
26640 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26641 large parameters.
26642
26643 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26644
26645 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26646 'err' in the ifdef scope in which it is actually used.
26647
26648 * nss/nss_db/db-init.c: Include string.h
26649
266502012-03-12 David S. Miller <davem@davemloft.net>
26651
26652 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26653 masking out of the most significant byte of random value used.
26654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26655 Fix coding style in previous change.
26656
26657 * sysdeps/unix/sysv/linux/kernel-features.h
26658 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26659 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26660 expression.
26661 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26662 later.
26663
266642012-03-11 David S. Miller <davem@davemloft.net>
26665
26666 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26667 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26669 for 'resultvar' otherwise things get truncated on 64-bit.
26670
26671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26672 Fix masking out of the most significant byte of random value used.
26673
26674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26675
266762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26677
26678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26679
266802012-03-09 David S. Miller <davem@davemloft.net>
26681
26682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26683 variables with appropriate CPP guards.
26684 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26685 frame pointer, not the stack pointer. Correct layout comments. Fix test
26686 on resulting framesize and the management of the outregs buffer for pltexit.
26687 Preserve floating point return values across _dl_call_pltexit call.
26688 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26689 framesize and the management of the outregs buffer for pltexit.
26690 Preserve floating point return values across _dl_call_pltexit
26691 call.
26692 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26693 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26694 (print_exit): Fix format string for return register value.
26695
266962012-03-10 Joseph Myers <joseph@codesourcery.com>
26697
26698 * sunrpc/Makefile (others): Add rpcgen.
26699 ($(objpfx)rpcgen): Remove special build rule and dependency on
26700 libc.
26701 * sunrpc/rpcgen.c: New file.
26702
267032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26704
26705 [BZ #13673]
26706 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26707 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26708 * sysdeps/i386/crti.S: Likewise.
26709 * sysdeps/i386/crtn.S: Likewise.
26710 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26711 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26712 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26713 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26714 * sysdeps/sh/crti.S: Likewise.
26715 * sysdeps/sh/crtn.S: Likewise.
26716 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26717
26718 [BZ #13673]
26719 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26720 with URL.
26721 * locale/programs/locfile-kw.gperf: Likewise.
26722 * locale/programs/charmap-kw.h: Regenerated.
26723 * locale/programs/locfile-kw.h: Likewise.
26724
26725 [BZ #13673]
26726 * intl/plural.y: Replace FSF snail mail address with URL.
26727 * intl/plural.c: Regenerated.
26728
267292012-03-09 Richard Henderson <rth@twiddle.net>
26730
26731 * include/math_private.h: Remove file.
26732 * math/math_private.h: Move file ...
26733 * sysdeps/generic/math_private.h: ... here.
26734
26735 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26736 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26737 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26738
26739 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26740 and <math_private.h>.
26741 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26742 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26743 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26744 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26745 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26784 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26788 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26794 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26795 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26804 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26819 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26821 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26823 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26828 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26833 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26834 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26845 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26849 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26850 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26851 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26852 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26853 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26854 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26855 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26856 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26857 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26858 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26859 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26862 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26863 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26864 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26865 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26866 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26867 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26868 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26869 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26870 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26871 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26872 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26873 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26874 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26875 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26876 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26877 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26878 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26879 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26880 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26881 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26882 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26883 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26884 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26885 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26886 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26887 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26888 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26889 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26890 * sysdeps/ieee754/k_standard.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26924 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26941 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26942 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26943 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26944 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26945 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26982 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26984 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27006 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27013 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27018 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27023 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27039 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27040 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27041 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27051 * sysdeps/ieee754/s_lib_version.c: Likewise.
27052 * sysdeps/ieee754/s_matherr.c: Likewise.
27053 * sysdeps/ieee754/s_signgam.c: Likewise.
27054 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27055 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27056 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27057 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27058 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27059 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27060 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27061 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27062 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27063 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27064 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27065 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27066 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27067 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27068 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27069 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27070 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27072 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27075
270762012-03-09 Joseph Myers <joseph@codesourcery.com>
27077
27078 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27079 * sunrpc/rpc_main.c: Likewise.
27080 * sunrpc/rpc_svcout.c: Likewise.
27081
270822012-03-09 David S. Miller <davem@davemloft.net>
27083
27084 * include/math_private.h: New file.
27085
270862012-03-09 Joseph Myers <joseph@codesourcery.com>
27087
27088 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27089 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27090 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27091 from <bits/socket_type.h>.
27092 (enum __socket_type): Don't define here.
27093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27095 bits/socket_type.h.
27096
27097 [BZ #13566]
27098 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27099 checking __USE_GNU.
27100
27101 * Makerules ($(inst_includedir)/%.h): New rule.
27102 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27103 (install-others): Remove variable setting.
27104 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27105
271062012-03-08 Richard Henderson <rth@twiddle.net>
27107
27108 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27109 from macro to inline function; merge with the
27110 !__LIBC_INTERNAL_MATH_INLINES version.
27111 (__ieee754_sqrtf): Likewise.
27112
27113 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27114 to inline function.
27115 (__rintf, __floor, __floorf): Likewise.
27116
27117 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27118 macro to inline function.
27119 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27120
27121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27122 not <math/math_private.h>.
27123
271242012-03-08 David S. Miller <davem@davemloft.net>
27125
27126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27127 copyright year.
27128 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27129
271302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27131
27132 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27133 normalization.
27134 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27135 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27136
271372012-03-08 Ulrich Drepper <drepper@gmail.com>
27138
27139 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27140 be defined individually, they must be defined as a block. Define
27141 S for printing a string instead of hidint the different by using a
27142 macro for adding the 'l'.
27143 * stdio-common/tst-fphex-wide.c: Adjust.
27144
271452012-03-07 Marek Polacek <polacek@redhat.com>
27146
27147 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27148
271492012-03-08 Marek Polacek <polacek@redhat.com>
27150
27151 [BZ #13806]
27152 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27153 * stdio-common/tst-fphex.c: Define a few macros to make the
27154 test reusable. Use them.
27155 * stdio-common/tst-fphex-wide.c: New file.
27156
271572012-03-08 Joseph Myers <joseph@codesourcery.com>
27158
27159 [BZ #6911]
27160 * manual/macros.texi (gnusystems): New macro.
27161 (nongnusystems): Likewise.
27162 (gnulinuxhurdsystems): Likewise.
27163 (gnuhurdsystems): Likewise..
27164 (gnulinuxsystems): Likewise.
27165 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27166 variants of the GNU system, not "GNU system".
27167 * manual/conf.texi: Likewise.
27168 * manual/errno.texi: Likewise. Update example of errno macro
27169 expansion.
27170 * manual/filesys.texi: Likewise.
27171 (getumask): Document as specific to GNU/Hurd.
27172 * manual/install.texi: Likewise. Reword some references to
27173 GNU/Linux.
27174 * manual/intro.texi: Likewise.
27175 * manual/io.texi: Likewise.
27176 (File Name Portability): Detail which constraints are inapplicable
27177 to all GNU systems and which are only inapplicable to GNU/Hurd.
27178 * manual/job.texi: Likewise.
27179 * manual/llio.texi: Likewise.
27180 (O_NOCTTY): Document as present on GNU/Linux.
27181 * manual/maint.texi: Likewise.
27182 * manual/memory.texi: Likewise.
27183 * manual/pattern.texi: Likewise.
27184 * manual/pipe.texi: Likewise.
27185 * manual/process.texi: Likewise.
27186 * manual/resource.texi: Likewise.
27187 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27188 child on GNU/Hurd.
27189 * manual/setjmp.texi: Likewise.
27190 * manual/signal.texi: Likewise.
27191 * manual/startup.texi: Likewise.
27192 * manual/stdio.texi: Likewise.
27193 * manual/terminal.texi: Likewise.
27194 (ONLCR): Document as POSIX.
27195 (OXTABS): Document availability on GNU/Linux as XTABS.
27196 (ONOEOT): Document availability separately from other bits.
27197 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27198 * manual/time.texi: Likewise.
27199 * manual/users.texi: Likewise.
27200 * INSTALL: Regenerated.
27201 * sysdeps/gnu/errlist.c: Regenerated.
27202
27203 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27204 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27205 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27206 puts.
27207 * configure: Regenerated.
27208
272092012-03-07 Joseph Myers <joseph@codesourcery.com>
27210
27211 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27212 default includes instead of AC_HEADER_CHECK.
27213 * sysdeps/i386/configure: Regenerated.
27214
27215 [BZ #10716]
27216 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27217 * math/s_cacoshf.c (__cacoshf): Likewise.
27218 * math/s_cacoshl.c (__cacoshl): Likewise.
27219 * math/s_casinh.c (__casinh): Set signs of result from argument.
27220 * math/s_casinhf.c (__casinhf): Likewise.
27221 * math/s_casinhl.c (__casinhl): Likewise.
27222 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27223 (casinh_test): Add more tests.
27224 * sysdeps/i386/fpu/libm-test-ulps: Update.
27225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27226
272272012-03-07 Ulrich Drepper <drepper@gmail.com>
27228
27229 * po/zh_TW.po: Update from translation team.
27230
27231 * login/Makefile (distribute): Remove variable.
27232 * catgets/Makefile: Likewise.
27233 * mach/Makefile: Likewise.
27234 * malloc/Makefile: Likewise.
27235 * misc/Makefile: Likewise.
27236 * iconv/Makefile: Likewise.
27237 * nscd/Makefile: Likewise.
27238 * hurd/Makefile: Likewise.
27239 * manual/Makefile: Likewise.
27240 * locale/Makefile: Likewise.
27241 * intl/Makefile: Likewise.
27242 * conform/Makefile: Likewise.
27243 * nss/Makefile: Likewise.
27244 * time/Makefile: Likewise.
27245 * soft-fp/Makefile: Likewise.
27246 * dirent/Makefile: Likewise.
27247 * gmon/Makefile: Likewise.
27248 * po/Makefile: Likewise.
27249 * rt/Makefile: Likewise.
27250 * socket/Makefile: Likewise.
27251 * math/Makefile: Likewise.
27252 * signal/Makefile: Likewise.
27253 * debug/Makefile: Likewise.
27254 * elf/Makefile: Likewise.
27255 * timezone/Makefile: Likewise.
27256 * stdlib/Makefile: Likewise.
27257 * iconvdata/Makefile: Likewise.
27258 * sunrpc/Makefile: Likewise.
27259 * io/Makefile: Likewise.
27260 * argp/Makefile: Likewise.
27261 * inet/Makefile: Likewise.
27262 * hesiod/Makefile: Likewise.
27263 * grp/Makefile: Likewise.
27264 * csu/Makefile: Likewise.
27265 * wctype/Makefile: Likewise.
27266 * crypt/Makefile: Likewise.
27267 * libio/Makefile: Likewise.
27268 * string/Makefile: Likewise.
27269 * nis/Makefile: Likewise.
27270 * resolv/Makefile: Likewise.
27271 * stdio-common/Makefile: Likewise.
27272 * wcsmbs/Makefile: Likewise.
27273 * dlfcn/Makefile: Likewise.
27274 * posix/Makefile: Likewise.
27275
27276 [BZ #6959]
27277 * timezone/Makefile: Don't install timezone files, just the programs
27278 and scripts.
27279
272802012-03-06 Ulrich Drepper <drepper@gmail.com>
27281
27282 * nss/databases.def: Add missing gshadow entry.
27283
27284 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27285
272862012-03-06 Marek Polacek <polacek@redhat.com>
27287
27288 [BZ #13726]
27289 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27290 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27291 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27292 * stdio-common/tst-long-dbl-fphex.c: New file.
27293
272942012-03-06 David S. Miller <davem@davemloft.net>
27295
27296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27297 (set_obp_int): New function.
27298 (get_obp_int): New function.
27299 (__get_clockfreq_via_dev_openprom): Likewise.
27300 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27301 Avoid unused variable warnings on 'val' and use builtin_expect.
27302 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27303 __builtin_expect.
27304 (INLINE_CLONE_SYSCALL): Likewise.
27305
273062012-03-05 David S. Miller <davem@davemloft.net>
27307
27308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27309
273102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27311
27312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27313
27314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27315 only for |x| >= 40.
27316 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27317
273182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27319
27320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27321 Replace gettimeofday with __vdso_gettimeofday.
27322
27323 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27324 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27325 __vdso_clock_gettime and __vdso_getcpu.
27326
27327 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27328 time with __vdso_time.
27329
273302012-03-05 Joseph Myers <joseph@codesourcery.com>
27331
27332 * manual/lang.texi (size_t): Note types to which size_t may be
27333 equivalent with the GNU C Library, but do not describe when
27334 differences between them are significant.
27335
273362012-03-05 Andreas Jaeger <aj@suse.de>
27337
27338 * sysdeps/i386/fpu/libm-test-ulps: Update.
27339
273402012-03-05 Joseph Myers <joseph@codesourcery.com>
27341
27342 [BZ #3976]
27343 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27344 (__ieee754_pow): Save and restore rounding mode and use
27345 round-to-nearest for main computations.
27346 * math/libm-test.inc (pow_test_tonearest): New function.
27347 (pow_test_towardzero): Likewise.
27348 (pow_test_downward): Likewise.
27349 (pow_test_upward): Likewise.
27350 (main): Call the new functions.
27351 * sysdeps/i386/fpu/libm-test-ulps: Update.
27352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27353
27354 [BZ #3976]
27355 * math/libm-test.inc (cosh_test_tonearest): New function.
27356 (cosh_test_towardzero): Likewise.
27357 (cosh_test_downward): Likewise.
27358 (cosh_test_upward): Likewise.
27359 (sinh_test_tonearest): Likewise.
27360 (sinh_test_towardzero): Likewise.
27361 (sinh_test_downward): Likewise.
27362 (sinh_test_upward): Likewise.
27363 (main): Call the new functions.
27364 * sysdeps/i386/fpu/libm-test-ulps: Update.
27365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27366
273672012-03-05 Tom de Vries <tom@codesourcery.com>
27368
27369 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27370 default stack guard is set in last bytes.
27371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27372
273732012-03-05 Kees Cook <keescook@chromium.org>
27374
27375 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27376
27377 [BZ #13656]
27378 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27379 possibly allocate from heap instead of stack.
27380 * stdio-common/bug-vfprintf-nargs.c: New file.
27381 * stdio-common/Makefile (tests): Add nargs overflow test.
27382
273832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27384
27385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27386
273872012-03-03 Marek Polacek <polacek@redhat.com>
27388
27389 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27390 * math/math_private.h: Likewise.
27391 * stdlib/tst-strtod.c: Likewise.
27392 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27393 * sysdeps/x86_64/bits/atomic.h: Likewise.
27394
273952012-03-02 David S. Miller <davem@davemloft.net>
27396
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27401 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27402 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27403 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27404 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27405
274062012-03-02 Roland McGrath <roland@hack.frob.com>
27407
27408 [BZ #13792]
27409 * manual/examples/README: New file, says the example source files
27410 can be used under GPL>=2.
27411 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27412 line containing just "*/".
27413 * manual/examples/add.c: Add copyright header (GPL>=2).
27414 * manual/examples/argp-ex1.c: Likewise.
27415 * manual/examples/argp-ex2.c: Likewise.
27416 * manual/examples/argp-ex3.c: Likewise.
27417 * manual/examples/argp-ex4.c: Likewise.
27418 * manual/examples/atexit.c: Likewise.
27419 * manual/examples/db.c: Likewise.
27420 * manual/examples/dir.c: Likewise.
27421 * manual/examples/dir2.c: Likewise.
27422 * manual/examples/execinfo.c: Likewise.
27423 * manual/examples/filecli.c: Likewise.
27424 * manual/examples/filesrv.c: Likewise.
27425 * manual/examples/fmtmsgexpl.c: Likewise.
27426 * manual/examples/genpass.c: Likewise.
27427 * manual/examples/inetcli.c: Likewise.
27428 * manual/examples/inetsrv.c: Likewise.
27429 * manual/examples/isockad.c: Likewise.
27430 * manual/examples/longopt.c: Likewise.
27431 * manual/examples/memopen.c: Likewise.
27432 * manual/examples/memstrm.c: Likewise.
27433 * manual/examples/mkfsock.c: Likewise.
27434 * manual/examples/mkisock.c: Likewise.
27435 * manual/examples/mygetpass.c: Likewise.
27436 * manual/examples/pipe.c: Likewise.
27437 * manual/examples/popen.c: Likewise.
27438 * manual/examples/rprintf.c: Likewise.
27439 * manual/examples/search.c: Likewise.
27440 * manual/examples/select.c: Likewise.
27441 * manual/examples/setjmp.c: Likewise.
27442 * manual/examples/sigh1.c: Likewise.
27443 * manual/examples/sigusr.c: Likewise.
27444 * manual/examples/stpcpy.c: Likewise.
27445 * manual/examples/strdupa.c: Likewise.
27446 * manual/examples/strftim.c: Likewise.
27447 * manual/examples/strncat.c: Likewise.
27448 * manual/examples/subopt.c: Likewise.
27449 * manual/examples/swapcontext.c: Likewise.
27450 * manual/examples/termios.c: Likewise.
27451 * manual/examples/testopt.c: Likewise.
27452 * manual/examples/testpass.c: Likewise.
27453 * manual/examples/timeval_subtract.c: Likewise.
27454
27455 [BZ #13792]
27456 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27457 function to ...
27458 * manual/timeval_subtract.c.texi: ... here, new file.
27459
274602012-03-02 David S. Miller <davem@davemloft.net>
27461
27462 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27463
274642012-03-02 Joseph Myers <joseph@codesourcery.com>
27465
27466 [BZ #3976]
27467 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27468 (__sin): Save and restore rounding mode and use round-to-nearest
27469 for all computations.
27470 (__cos): Save and restore rounding mode and use round-to-nearest
27471 for all computations.
27472 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27473 <fenv.h>.
27474 (tan): Save and restore rounding mode and use round-to-nearest for
27475 all computations.
27476 * math/libm-test.inc (cos_test_tonearest): New function.
27477 (cos_test_towardzero): Likewise.
27478 (cos_test_downward): Likewise.
27479 (cos_test_upward): Likewise.
27480 (sin_test_tonearest): Likewise.
27481 (sin_test_towardzero): Likewise.
27482 (sin_test_downward): Likewise.
27483 (sin_test_upward): Likewise.
27484 (tan_test_tonearest): Likewise.
27485 (tan_test_towardzero): Likewise.
27486 (tan_test_downward): Likewise.
27487 (tan_test_upward): Likewise.
27488 (main): Call the new functions.
27489 * sysdeps/i386/fpu/libm-test-ulps: Update.
27490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27491
27492 [BZ #10135]
27493 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27494 small n, then large n, before computing and testing k+n.
27495 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27497 Likewise.
27498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27499 Likewise.
27500 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27501 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27508 * math/libm-test.inc (scalbn_test): Add more tests.
27509 (scalbln_test): Likewise.
27510
27511 * manual/filesys.texi (mode_t): Describe constraints on size and
27512 signedness, not exact equivalence to a particular type.
27513 (ino_t): Likewise.
27514 (ino64_t): Likewise.
27515 (dev_t): Likewise.
27516 (nlink_t): Likewise.
27517 (blkcnt_t): Likewise.
27518 (blkcnt64_t): Likewise.
27519 * manual/llio.texi (off_t): Likewise.
27520
27521 [BZ #3976]
27522 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27523 (__ieee754_exp): Save and restore rounding mode and use
27524 round-to-nearest for all computations.
27525 * math/libm-test.inc (exp_test_tonearest): New function.
27526 (exp_test_towardzero): Likewise.
27527 (exp_test_downward): Likewise.
27528 (exp_test_upward): Likewise.
27529 (main): Call the new functions.
27530 * sysdeps/i386/fpu/libm-test-ulps: Update.
27531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532
275332012-03-01 Chris Demetriou <cgd@google.com>
27534
27535 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27536 have predictable order.
27537
275382012-03-01 David S. Miller <davem@davemloft.net>
27539
27540 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27541
27542 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27543 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27544 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27545 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27546
27547 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27548 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27549 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27551 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27552 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27553 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27554 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27555 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27556
27557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27558
27559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27560 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27562
27563 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27564 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27565 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27566 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27567 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27568 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27570 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27571 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27572 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27573 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27577 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27579 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27580 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27581 * sysdeps/sparc/elf/configure: Regenerated.
27582
275832012-03-01 Joseph Myers <joseph@codesourcery.com>
27584
27585 * configure.in (AS, LD): Require binutils 2.20 or later.
27586 * configure: Regenerated.
27587 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27588 as required minimum version.
27589 * INSTALL: Regenerated.
27590
27591 [BZ #2541]
27592 [BZ #4108]
27593 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27594 before squaring exponent.
27595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27596 bottom long double and 27 bits of top long double before squaring
27597 exponent.
27598 * math/libm-test.inc (erfc_test): Add more tests.
27599 * sysdeps/i386/fpu/libm-test-ulps: Update.
27600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27602
276032012-03-01 Kai Tietz <ktietz@redhat.com>
27604
27605 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27606 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27607 containing bit-fields.
27608 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27609 * soft-fp/single.h (_FP_UNION_S): Likewise.
27610 * soft-fp/double.h (_FP_UNION_D): Likewise.
27611
276122012-02-29 Joseph Myers <joseph@codesourcery.com>
27613
27614 [BZ #13786]
27615 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27616 not include ../strcmp.S.
27617 [USE_AS_STRNCASECMP_L]: Likewise.
27618 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27619 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27620 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27621 (__strncasecmp_l_ia32): Define as alias to
27622 __strncasecmp_l_nonascii.
27623
27624 [BZ #5794]
27625 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27626 * sysdeps/i386/fpu/libm-test-ulps: Update.
27627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27628
27629 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27631
276322012-02-29 Jeff Law <law@redhat.com>
27633
27634 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27635 out of bounds read.
27636
276372012-02-29 Marek Polacek <polacek@redhat.com>
27638
27639 [BZ #13706]
27640 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27641 * elf/Makefile: Add rules to run tst-unused-dep.out.
27642
276432012-02-28 David S. Miller <davem@davemloft.net>
27644
27645 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27646 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27649 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27650 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27651
276522012-02-29 Joseph Myers <joseph@codesourcery.com>
27653
27654 * math/libm-test.inc (llround_test): Move one test from
27655 lround_test. Use TEST_f_L in moved test.
27656 (lround_test): Move misplaced test to llround_test. Add testcase
27657 from bug 2561.
27658
276592012-02-28 Ulrich Drepper <drepper@gmail.com>
27660
27661 * sysdeps/x86_64/fpu/e_expf.S: New file.
27662 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27663
276642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27665
27666 [BZ #13637]
27667 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27668 of remain_len that may cause incomplete multi-byte character and
27669 false match.
27670 * posix/bug-regex33.c: New file.
27671 * posix/Makefile (tests): Add bug-regex33.
27672
276732012-02-28 Joseph Myers <joseph@codesourcery.com>
27674
27675 * manual/macros.texi: New file.
27676 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27677 * manual/libc.texinfo: Include macros.texi.
27678 * manual/creatute.texi: Likewise.
27679 * manual/install.texi: Likewise.
27680 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27681 @glibcadj{} in references to the GNU C Library.
27682 * manual/charset.texi: Likewise.
27683 * manual/conf.texi: Likewise.
27684 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27685 when not using those macros.
27686 * manual/creature.texi: Likewise.
27687 * manual/crypt.texi: Likewise.
27688 * manual/errno.texi: Likewise.
27689 * manual/filesys.texi: Likewise.
27690 * manual/header.texi: Likewise.
27691 * manual/install.texi: Likewise.
27692 * manual/intro.texi: Likewise.
27693 * manual/io.texi: Likewise.
27694 * manual/job.texi: Likewise.
27695 * manual/lang.texi: Likewise.
27696 * manual/libc.texiinfo: Likewise.
27697 * manual/llio.texi: Likewise.
27698 * manual/locale.texi: Likewise.
27699 * manual/maint.texi: Likewise.
27700 * manual/math.texi: Likewise.
27701 * manual/memory.texi: Likewise.
27702 * manual/message.texi: Likewise.
27703 * manual/nss.texi: Likewise.
27704 * manual/pattern.texi: Likewise.
27705 * manual/process.texi: Likewise.
27706 * manual/resource.texi: Likewise.
27707 * manual/search.texi: Likewise.
27708 * manual/setjmp.texi: Likewise.
27709 * manual/signal.texi: Likewise.
27710 * manual/socket.texi: Likewise.
27711 * manual/startup.texi: Likewise.
27712 * manual/stdio.texi: Likewise.
27713 * manual/string.texi: Likewise.
27714 * manual/sysinfo.texi: Likewise.
27715 * manual/syslog.texi: Likewise.
27716 * manual/terminal.texi: Likewise.
27717 * manual/time.texi: Likewise.
27718 * manual/users.texi: Likewise.
27719 * INSTALL: Regenerated.
27720 * NOTES: Regenerated.
27721 * sysdeps/gnu/errlist.c: Regenerated.
27722
277232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27724
27725 * include/dirent.h: Include <dirstream.h> before
27726 <dirent/dirent.h>.
27727
277282012-02-28 David S. Miller <davem@davemloft.net>
27729
27730 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27731 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27732 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27733 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27734
277352012-02-27 David S. Miller <davem@davemloft.net>
27736
27737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27739 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27740 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27741
27742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27743 frame pointer instead of stack pointer relative arg slot.
27744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27747
277482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27749
27750 [BZ #3992]
27751 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27752
277532012-02-27 David S. Miller <davem@davemloft.net>
27754
27755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27761 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27762 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27763
277642012-02-27 Joseph Myers <joseph@codesourcery.com>
27765
27766 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27767 later. Allow versions 5-9.
27768 * configure: Regenerated.
27769 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27770 required minimum version and 4.6 as recommended version. Do not
27771 mention bugs in GCC 2.7 and 2.8.
27772 * INSTALL: Regenerated.
27773
277742012-02-27 David S. Miller <davem@davemloft.net>
27775
27776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27782 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27783 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27784
27785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27786 manipulate bits before adding and subtracting TWO112[sx].
27787 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27788
277892012-02-27 Roland McGrath <roland@hack.frob.com>
27790
27791 [BZ #13775]
27792 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27793 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27794 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27795 being in POSIX, because they are in 1003.1-2008.
27796
27797 * rt/tst-aio.c: Include <fcntl.h>.
27798 * rt/tst-aio7.c: Likewise.
27799 * rt/tst-aio64.c: Likewise.
27800
27801 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27802
278032012-02-27 Joseph Myers <joseph@codesourcery.com>
27804
27805 * manual/install.texi (--with-headers): Describe headers as
27806 interface headers, not private headers.
27807 (Specific advice for GNU/Linux systems): Describe use of headers
27808 from "make headers_install", not private headers from older
27809 kernels.
27810 * INSTALL: Regenerated.
27811 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27812 Change to 2.6.19.
27813 * sysdeps/unix/sysv/linux/configure: Regenerated.
27814
27815 * manual/llio.texi (fclean): Remove documentation.
27816
27817 * manual/Makefile (libc-texi-generated): New variable. Include
27818 version.texi.
27819 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27820 $(libc-texi-generated), not duplicated list of files.
27821 (version.texi, stamp-version): New rules.
27822 (realclean): Remove $(libc-texi-generated), not individual files
27823 from that list. Do not remove dir-add.texinfo.
27824 * manual/libc.texinfo: Comment out uses of edition numbers and
27825 references to printed manual. Remove last-updated dates.
27826 (EDITION): Comment out.
27827 (ISBN): Likewise.
27828 (VERSION, UPDATED): Remove.
27829 (version.texi): Include.
27830
278312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27832
27833 * sysdeps/posix/spawni.c: Include <signal.h>.
27834 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27835 * sysdeps/pthread/aio_fsync.c: Likewise.
27836
278372012-02-26 Ulrich Drepper <drepper@gmail.com>
27838
27839 * conform/Makefile (tests): Run only when not cross-compiling and
27840 when fast-check is not defined.
27841
27842 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27843 * conform/data/limits.h-data: Fixes for POSIX2008.
27844 * conform/run-conformtest.sh: Run all tests.
27845 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27846 headers.
27847 * include/bits/dlfcn.h: Likewise.
27848 * include/langinfo.h: Likewise.
27849 * include/monetary.h: Likewise.
27850 * include/sys/poll.h: Likewise.
27851
27852 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27853 for __USE_GNU.
27854 * posix/spawn.h: Define __need_sigset_t.
27855 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27856 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27857 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27858 to get sigevent_t only.
27859 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27860 only for __USE_GNU.
27861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27862 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27863 process_vm_writev only for __USE_GNU.
27864 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27865
27866 * conform/Makefile: For now ignore errors from run-conformtest.
27867 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27868 POSIX to avoid namespace pollution. Don't prepend headers.
27869 * conform/data/aio.h-data: Fixes for POSIX testing.
27870 * conform/data/fcntl.h-data: Likewise.
27871 * conform/data/glob.h-data: Likewise.
27872 * conform/data/grp.h-data: Likewise.
27873 * conform/data/pthread.h-data: Likewise.
27874 * conform/data/pwd.h-data: Likewise.
27875 * conform/data/signal.h-data: Likewise.
27876 * conform/data/spawn.h-data: Likewise.
27877 * conform/data/stdio.h-data: Likewise.
27878 * conform/data/stdlib.h-data: Likewise.
27879 * conform/data/stropts.h-data: Likewise.
27880 * conform/data/sys/mman.h-data: Likewise.
27881 * conform/data/sys/stat.h-data: Likewise.
27882 * conform/data/sys/types.h-data: Likewise.
27883 * conform/data/sys/wait.h-data: Likewise.
27884 * conform/data/time.h-data: Likewise.
27885 * conform/data/unistd.h-data: Likewise.
27886 * conform/data/utime.h-data: Likewise.
27887
27888 * io/sys/stat.h: fchmod was always in POSIX.
27889 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27890 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27891 * rt/aio.h: Define __need_timespec before including <time.h>.
27892 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27893 struct. Add forward declaration of pthread_attr_t and use it in
27894 sigevent.
27895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27897 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27898 always remove CLK_TCK definition.
27899
279002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27901
27902 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27903
279042012-02-25 Ulrich Drepper <drepper@gmail.com>
27905
27906 * conform/run-conformtest.sh: New file.
27907 * conform/Makefile: Run run-conformtest for tests.
27908 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27909 support.
27910
27911 * conform/data/uchar.h-data: New file.
27912 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27913 * conform/data/arpa/inet.h-data: Likewise.
27914 * conform/data/assert.h-data: Likewise.
27915 * conform/data/complex.h-data: Likewise.
27916 * conform/data/cpio.h-data: Likewise.
27917 * conform/data/ctype.h-data: Likewise.
27918 * conform/data/dirent.h-data: Likewise.
27919 * conform/data/dlfcn.h-data: Likewise.
27920 * conform/data/errno.h-data: Likewise.
27921 * conform/data/fcntl.h-data: Likewise.
27922 * conform/data/float.h-data: Likewise.
27923 * conform/data/fmtmsg.h-data: Likewise.
27924 * conform/data/fnmatch.h-data: Likewise.
27925 * conform/data/ftw.h-data: Likewise.
27926 * conform/data/glob.h-data: Likewise.
27927 * conform/data/grp.h-data: Likewise.
27928 * conform/data/iconv.h-data: Likewise.
27929 * conform/data/inttypes.h-data: Likewise.
27930 * conform/data/langinfo.h-data: Likewise.
27931 * conform/data/libgen.h-data: Likewise.
27932 * conform/data/limits.h-data: Likewise.
27933 * conform/data/locale.h-data: Likewise.
27934 * conform/data/math.h-data: Likewise.
27935 * conform/data/monetary.h-data: Likewise.
27936 * conform/data/mqueue.h-data: Likewise.
27937 * conform/data/ndbm.h-data: Likewise.
27938 * conform/data/net/if.h-data: Likewise.
27939 * conform/data/netdb.h-data: Likewise.
27940 * conform/data/netinet/in.h-data: Likewise.
27941 * conform/data/nl_types.h-data: Likewise.
27942 * conform/data/poll.h-data: Likewise.
27943 * conform/data/pthread.h-data: Likewise.
27944 * conform/data/pwd.h-data: Likewise.
27945 * conform/data/regex.h-data: Likewise.
27946 * conform/data/sched.h-data: Likewise.
27947 * conform/data/search.h-data: Likewise.
27948 * conform/data/semaphore.h-data: Likewise.
27949 * conform/data/setjmp.h-data: Likewise.
27950 * conform/data/signal.h-data: Likewise.
27951 * conform/data/spawn.h-data: Likewise.
27952 * conform/data/stdarg.h-data: Likewise.
27953 * conform/data/stdio.h-data: Likewise.
27954 * conform/data/stdlib.h-data: Likewise.
27955 * conform/data/string.h-data: Likewise.
27956 * conform/data/strings.h-data: Likewise.
27957 * conform/data/stropts.h-data: Likewise.
27958 * conform/data/sys/ipc.h-data: Likewise.
27959 * conform/data/sys/mman.h-data: Likewise.
27960 * conform/data/sys/msg.h-data: Likewise.
27961 * conform/data/sys/resource.h-data: Likewise.
27962 * conform/data/sys/select.h-data: Likewise.
27963 * conform/data/sys/sem.h-data: Likewise.
27964 * conform/data/sys/shm.h-data: Likewise.
27965 * conform/data/sys/socket.h-data: Likewise.
27966 * conform/data/sys/stat.h-data: Likewise.
27967 * conform/data/sys/statvfs.h-data: Likewise.
27968 * conform/data/sys/time.h-data: Likewise.
27969 * conform/data/sys/timeb.h-data: Likewise.
27970 * conform/data/sys/times.h-data: Likewise.
27971 * conform/data/sys/types.h-data: Likewise.
27972 * conform/data/sys/uio.h-data: Likewise.
27973 * conform/data/sys/un.h-data: Likewise.
27974 * conform/data/sys/utsname.h-data: Likewise.
27975 * conform/data/sys/wait.h-data: Likewise.
27976 * conform/data/syslog.h-data: Likewise.
27977 * conform/data/tar.h-data: Likewise.
27978 * conform/data/termios.h-data: Likewise.
27979 * conform/data/utime.h-data: Likewise.
27980 * conform/data/utmpx.h-data: Likewise.
27981 * conform/data/varargs.h-data: Likewise.
27982 * conform/data/wchar.h-data: Likewise.
27983 * conform/data/wctype.h-data: Likewise.
27984 * conform/data/wordexp.h-data: Likewise.
27985
27986 * include/stropts.h: New file.
27987 * include/uchar.h: New file.
27988 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27989 * include/assert.h: Likewise.
27990 * include/ctype.h: Likewise.
27991 * include/dirent.h: Likewise.
27992 * include/dlfcn.h: Likewise.
27993 * include/fcntl.h: Likewise.
27994 * include/fnmatch.h: Likewise.
27995 * include/glob.h: Likewise.
27996 * include/grp.h: Likewise.
27997 * include/libio.h: Likewise.
27998 * include/locale.h: Likewise.
27999 * include/math.h: Likewise.
28000 * include/net/if.h: Likewise.
28001 * include/netdb.h: Likewise.
28002 * include/netinet/in.h: Likewise.
28003 * include/pthread.h: Likewise.
28004 * include/pwd.h: Likewise.
28005 * include/regex.h: Likewise.
28006 * include/sched.h: Likewise.
28007 * include/search.h: Likewise.
28008 * include/setjmp.h: Likewise.
28009 * include/signal.h: Likewise.
28010 * include/stdio.h: Likewise.
28011 * include/stdlib.h: Likewise.
28012 * include/string.h: Likewise.
28013 * include/sys/cdefs.h: Likewise.
28014 * include/sys/mman.h: Likewise.
28015 * include/sys/msg.h: Likewise.
28016 * include/sys/resource.h: Likewise.
28017 * include/sys/select.h: Likewise.
28018 * include/sys/socket.h: Likewise.
28019 * include/sys/stat.h: Likewise.
28020 * include/sys/statvfs.h: Likewise.
28021 * include/sys/time.h: Likewise.
28022 * include/sys/times.h: Likewise.
28023 * include/sys/uio.h: Likewise.
28024 * include/sys/utsname.h: Likewise.
28025 * include/sys/wait.h: Likewise.
28026 * include/termios.h: Likewise.
28027 * include/time.h: Likewise.
28028 * include/ulimit.h: Likewise.
28029 * include/unistd.h: Likewise.
28030 * include/utime.h: Likewise.
28031 * include/wchar.h: Likewise.
28032 * include/wctype.h: Likewise.
28033 * include/wordexp.h: Likewise.
28034
28035 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28036
28037 * time/time.h: TIME_UTC must be a macro.
28038 Make timespec_get available for ISO C11 only as well.
28039
280402012-02-24 Ulrich Drepper <drepper@gmail.com>
28041
28042 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28043 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28044
280452012-02-24 Joseph Myers <joseph@codesourcery.com>
28046
28047 * configure.in: Use -o not -a in test for unsupported multi-arch.
28048
280492012-02-24 Joseph Myers <joseph@codesourcery.com>
28050
28051 * manual/texinfo.tex: Update to version 2012-01-19.16.
28052
280532012-02-24 Joseph Myers <joseph@codesourcery.com>
28054
28055 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28056
280572012-02-24 Roland McGrath <roland@hack.frob.com>
28058
28059 [BZ #13738]
28060 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28061 * manual/fdl-1.3.texi: New file.
28062 * manual/fdl-1.1.texi: File removed.
28063
28064 [BZ #13738]
28065 * manual/libc.texinfo (FDL_VERSION): New @set.
28066 Use it for mention of FDL in cover text.
28067 (Documentation License): Use it in @include file name.
28068
280692012-02-22 Joseph Myers <joseph@codesourcery.com>
28070 Roland McGrath <roland@hack.frob.com>
28071
28072 [BZ #5461]
28073 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28074 not LONG_LONG_MAX and LONG_LONG_MIN.
28075 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28076 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28077 name.
28078 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28079
280802012-02-22 Joseph Myers <joseph@codesourcery.com>
28081
28082 [BZ #2547]
28083 [BZ #11365]
28084 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28085 manipulate bits before adding and subtracting TWO23[sx].
28086 * math/libm-test.inc (nearbyint_test): Add more tests.
28087
280882012-02-22 Joseph Myers <joseph@codesourcery.com>
28089
28090 [BZ #2548]
28091 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28092 bits before adding and subtracting TWO23[sx].
28093 * math/libm-test.inc (rint_test): Add more tests.
28094 (rint_test_tonearest): Likewise.
28095 (rint_test_towardzero): Likewise.
28096 (rint_test_downward): Likewise.
28097 (rint_test_upward: Likewise.
28098
280992012-02-22 Joseph Myers <joseph@codesourcery.com>
28100
28101 [BZ #10110]
28102 * include/stdc-predef.h: New file. Extracted from features.h.
28103 * include/features.h: Include stdc-predef.h.
28104 * Makefile (headers): Add stdc-predef.h.
28105 * CONFORMANCE (Compiler limitations): Update.
28106
281072012-02-22 Joseph Myers <joseph@codesourcery.com>
28108
28109 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28110
281112012-02-21 David S. Miller <davem@davemloft.net>
28112
28113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28115
281162012-02-20 David S. Miller <davem@davemloft.net>
28117
28118 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28119 using a normal save/restore sequence, rather than allocating a
28120 dummy stack frame just to store a frame pointer and restore.
28121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28122
281232012-02-21 Joseph Myers <joseph@codesourcery.com>
28124
28125 * manual/install.texi: Fix stray word in line-wrapped comment.
28126
281272012-02-20 David S. Miller <davem@davemloft.net>
28128
28129 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28130 both binutils and gcc support GOTDATA.
28131
28132 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28133 "rd %pc" in the PIC register setup sequences.
28134
28135 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28136 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28137 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28138 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28139 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28141 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28144 (SYSCALL_ERROR_HANDLER): Likewise.
28145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28148 (SYSCALL_ERROR_HANDLER): Likewise.
28149
28150 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28151 (HAVE_GCC_GOTDATA): New.
28152 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28153 relocation support in both binutils and gcc.
28154 * sysdeps/sparc/elf/configure: Regenerate.
28155
28156 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28157 * sysdeps/sparc/sparc32/elf/configure: Delete.
28158 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28159 * sysdeps/sparc/sparc64/elf/configure: Delete.
28160 * sysdeps/sparc/elf/configure.in: New file.
28161 * sysdeps/sparc/elf/configure: Generate.
28162
28163 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28164 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28166 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28167 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28168
281692012-02-21 Joseph Myers <joseph@codesourcery.com>
28170
28171 * manual/install.texi: Do not mention specific glibc version
28172 numbers.
28173 * manual/libc.texinfo (VERSION, UPDATED): Update.
28174 (@copying): Use @copyright{} and range of years.
28175
281762012-02-21 Joseph Myers <joseph@codesourcery.com>
28177
28178 [BZ #13695]
28179 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28180 [crti.S not in sysdirs] (generated): Do not append.
28181 [crti.S not in sysdirs] (omit-deps): Likewise.
28182 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28183 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28184 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28185 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28186 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28187 Likewise.
28188 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28189 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28190 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28191 * csu/defs.awk: Remove file.
28192 * sysdeps/generic/initfini.c: Likewise.
28193 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28194 variable.
28195 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28196 Likewise.
28197
281982012-02-20 Joseph Myers <joseph@codesourcery.com>
28199
28200 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28201 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28204 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28205 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28206 <bits/epoll.h>.
28207 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28208 (__EPOLL_PACKED): Define to empty if not defined by
28209 <bits/epoll.h>.
28210 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28212 bits/epoll.h.
28213
282142012-02-20 Joseph Myers <joseph@codesourcery.com>
28215
28216 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28217 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28218 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28219 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28220 <bits/timerfd.h>.
28221 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28223 bits/timerfd.h.
28224
282252012-02-20 Joseph Myers <joseph@codesourcery.com>
28226
28227 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28228 in C locale.
28229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28230 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28233
282342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28235
28236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28238
282392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28240
28241 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28242 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28243 defined.
28244 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28245 Likewise.
28246 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28247 entry for 2.16.
28248
282492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28250
28251 * math/w_acos.c: Use non-signaling floating-point comparisons.
28252 * math/w_acosf.c: Likewise.
28253 * math/w_acosh.c: Likewise.
28254 * math/w_acoshf.c: Likewise.
28255 * math/w_acoshl.c: Likewise.
28256 * math/w_acosl.c: Likewise.
28257 * math/w_asin.c: Likewise.
28258 * math/w_asinf.c: Likewise.
28259 * math/w_asinl.c: Likewise.
28260 * math/w_atanh.c: Likewise.
28261 * math/w_atanhf.c: Likewise.
28262 * math/w_atanhl.c: Likewise.
28263 * math/w_exp2.c: Likewise.
28264 * math/w_exp2f.c: Likewise.
28265 * math/w_exp2l.c: Likewise.
28266 * math/w_j0.c: Likewise.
28267 * math/w_j0f.c: Likewise.
28268 * math/w_j0l.c: Likewise.
28269 * math/w_j1.c: Likewise.
28270 * math/w_j1f.c: Likewise.
28271 * math/w_j1l.c: Likewise.
28272 * math/w_jn.c: Likewise.
28273 * math/w_jnf.c: Likewise.
28274 * math/w_log.c: Likewise.
28275 * math/w_log10.c: Likewise.
28276 * math/w_log10f.c: Likewise.
28277 * math/w_log10l.c: Likewise.
28278 * math/w_log2.c: Likewise.
28279 * math/w_log2f.c: Likewise.
28280 * math/w_log2l.c: Likewise.
28281 * math/w_logf.c: Likewise.
28282 * math/w_logl.c: Likewise.
28283 * math/w_sqrt.c: Likewise.
28284 * math/w_sqrtf.c: Likewise.
28285 * math/w_sqrtl.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28287 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28289 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28290 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28291
282922012-02-19 Joseph Myers <joseph@codesourcery.com>
28293
28294 [BZ #9739]
28295 * manual/string.texi (strnlen): Use correct parameter name in
28296 equivalent expression.
28297
282982012-02-19 Joseph Myers <joseph@codesourcery.com>
28299
28300 [BZ #11174]
28301 * manual/users.texi (seteuid): Consistently use neweuid for
28302 argument name.
28303
283042012-02-19 Joseph Myers <joseph@codesourcery.com>
28305
28306 [BZ #13704]
28307 * manual/nss.texi (Services in the NSS configuration): Correct
28308 list of services in example configuration file.
28309
283102012-02-19 Nick Bowler <nbowler@draconx.ca>
28311
28312 [BZ #11322]
28313 * manual/arith.texi: Remove statements about negative zero
28314 behaving identically to zero.
28315
283162012-02-18 Joseph Myers <joseph@codesourcery.com>
28317
28318 [BZ #5993]
28319 * manual/install.texi: Do not document upgrading from libc5.
28320
283212012-02-18 Joseph Myers <joseph@codesourcery.com>
28322
28323 [BZ #4596]
28324 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28325
283262012-02-18 David S. Miller <davem@davemloft.net>
28327
28328 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28329 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28330 %o7 across the call.
28331 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28332 instead.
28333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28334 SETUP_PIC_REG_LEAF.
28335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28336 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28337 * sysdeps/sparc/crtn.S: Likewise.
28338
283392012-02-17 Ulrich Drepper <drepper@gmail.com>
28340
28341 * aout/Makefile: Remove.
28342
283432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28344
28345 [BZ #13058]
28346 * manual/examples/argp-ex1.c (main): Format definition in GNU
28347 style.
28348 * manual/examples/argp-ex2.c (main): Likewise.
28349 * manual/examples/argp-ex3.c (main): Likewise.
28350 * manual/examples/argp-ex4.c (main): Likewise.
28351 * manual/examples/longopt.c (main): Use new-style prototype
28352 definition.
28353 * manual/examples/strncat.c (main): Specify return type and use
28354 (void) for arguments.
28355 * manual/examples/subopt.c (main): Use char **argv argument.
28356
283572012-02-17 Joseph Myers <joseph@codesourcery.com>
28358
28359 [BZ #5077]
28360 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28361 rounding modes.
28362
283632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28364
28365 [BZ #6907]
28366 * manual/string.texi (strchr): Change when strchrnul is
28367 recommended.
28368
283692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28370
28371 [BZ #174]
28372 * manual/locale.texi (setlocale): Document LOCPATH.
28373
283742012-02-17 Joseph Myers <joseph@codesourcery.com>
28375
28376 [BZ #10210]
28377 * manual/process.texi (execle): Move @dots{} before last argument.
28378
283792012-02-17 Paul Bolle <pebolle@tiscali.nl>
28380
28381 [BZ #12047]
28382 * manual/charset.texi (Generic Charset Conversion): Fix typo
28383 (LC_TYPE -> LC_CTYPE).
28384
283852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28386
28387 [BZ #5805]
28388 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28389 (scalbnf): Likewise.
28390 (scalbnl): Likewise.
28391 (scalbln): Likewise.
28392 (scalblnf): Likewise.
28393 (scalblnl): Likewise.
28394 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28395 (vwarnx): Likewise.
28396 (verr): Likewise.
28397 (verrx): Likewise.
28398 * manual/filesys.texi (telldir): Use braces around return type.
28399 * manual/llio.texi (mmap): Add space after comma.
28400 (mmap64): Likewise.
28401 * manual/math.texi (jn): Use @var{} on parameter names.
28402 (jnf): Likewise.
28403 (jnl): Likewise.
28404 (yn): Likewise.
28405 (ynf): Likewise.
28406 (ynl): Likewise.
28407 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28408 line.
28409 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28410 "...".
28411 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28412 (sched_get_priority_max): Likewise.
28413 * manual/signal.texi (sigvec): Add space after comma.
28414 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28415 names.
28416 (if_indextoname): Likewise.
28417 (if_freenameindex): Likewise.
28418 (sendto): Use ',' instead of '.' in prototype.
28419 * manual/startup.texi (syscall): Use @dots{} instead of literal
28420 "...".
28421 * manual/stdio.texi (__fpending): Separate initial words of
28422 paragraph from @deftypefun line.
28423 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28424 "...".
28425 (vsyslog): Use @var{} on parameter names.
28426 * manual/terminal.texi (stty): Use @var{} on parameter names.
28427 * manual/users.texi (getutmp): Use @var{} on parameter names.
28428 (getutmpx): Likewise.
28429
284302012-02-17 Joseph Myers <joseph@codesourcery.com>
28431
28432 [BZ #6884]
28433 * manual/stdio.texi (fopen): Fix typos in description of
28434 ",ccs=STRING".
28435
284362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28437
28438 [BZ #4026]
28439 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28440 get clock_id definition.
28441
284422012-02-17 Thomas Schwinge <thomas@schwinge.name>
28443
28444 [BZ #4822]
28445 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28446 (madvise): Cast every argument to void on its own.
28447
284482012-02-17 Joseph Myers <joseph@codesourcery.com>
28449
28450 [BZ #9902]
28451 * manual/startup.texi (Exit Status): Fix typo.
28452
284532012-02-17 Joseph Myers <joseph@codesourcery.com>
28454
28455 [BZ #10140]
28456 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28457 * manual/examples/argp-ex2.c: Likewise.
28458 * manual/examples/argp-ex3.c: Likewise.
28459
284602012-02-16 Richard Henderson <rth@redhat.com>
28461
28462 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28463 * sysdeps/s390/s390-32/initfini.c: Remove.
28464 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28465 * sysdeps/s390/s390-64/initfini.c: Remove.
28466
284672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28468
28469 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28470 compiler output for sysdeps/generic/initfini.c.
28471 * sysdeps/sh/elf/initfini.c: Remove file.
28472
284732012-02-16 David S. Miller <davem@davemloft.net>
28474
28475 [BZ #11494]
28476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28477
28478 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28479 * sysdeps/sparc/crti.S: New file.
28480 * sysdeps/sparc/crtn.S: New file.
28481 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28482 * sysdeps/sparc/sparc64/Makefile: Likewise.
28483
284842012-02-15 Mike Frysinger <vapier@gentoo.org>
28485
28486 [BZ #3335]
28487 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28488
284892012-02-15 Roland McGrath <roland@hack.frob.com>
28490
28491 [BZ #4822]
28492 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28493
28494 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28495 (write, read, close): Likewise.
28496 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28497
284982012-02-15 Joseph Myers <joseph@codesourcery.com>
28499
28500 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28501 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28502 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28503 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28504 <bits/signalfd.h>.
28505 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28507 bits/signalfd.h.
28508
285092012-02-14 Marek Polacek <polacek@redhat.com>
28510
28511 * sysdeps/x86_64/crti.S: New file.
28512 * sysdeps/x86_64/crtn.S: New file.
28513 * sysdeps/x86_64/elf/initfini.c: Remove file.
28514
285152012-02-13 Joseph Myers <joseph@codesourcery.com>
28516
28517 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28518 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28519 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28520 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28521 <bits/inotify.h>.
28522 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28524 bits/inotify.h.
28525
285262012-02-13 Joseph Myers <joseph@codesourcery.com>
28527
28528 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28529 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28530 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28531 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28532 <bits/eventfd.h>.
28533 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28535 bits/eventfd.h.
28536
285372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28538
28539 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28540 __feraiseexcept instead of feraiseexcept.
28541
28542 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28543 nanosleep invocations.
28544 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28545 strings, and add error checking for a nanosleep invocations.
28546
285472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28548
28549 Replace FSF snail mail address with URLs, as per GNU coding standards.
28550 Most of the snail mail addresses were wrong anyway, and omitting
28551 them makes the source code easier to maintain. Almost all of the
28552 changes are to license notices and to locale LC_IDENTIFICATION
28553 addresses, except for this one:
28554 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28555 not its snail mail address.
28556
285572012-02-09 Richard Henderson <rth@twiddle.net>
28558
28559 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28560 of kernel-features.h.
28561
28562 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28563
285642012-02-08 Marek Polacek <polacek@redhat.com>
28565
28566 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28567 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28568 * sysdeps/gnu/_G_config.h: Likewise.
28569 * sysdeps/generic/_G_config.h: Likewise.
28570
285712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28572
28573 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28574 tests.
28575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28576
28577 * sysdeps/powerpc/powerpc32/crti.S: New file.
28578 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28579 * sysdeps/powerpc/powerpc64/crti.S: New file.
28580 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28581
28582 * Makeconfig (have-initfini): Don't set.
28583 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28584 * configure.in (nopic_initfini): Don't substitute.
28585 * config.h.in (HAVE_INITFINI): Don't #undef.
28586 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28587 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28588
285892012-02-08 Joseph Myers <joseph@codesourcery.com>
28590
28591 Support crti.S and crtn.S provided directly by architectures.
28592 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28593 [crti.S in sysdirs] (omit-deps): Likewise.
28594 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28595 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28596 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28597 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28598 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28599 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28600 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28601 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28602 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28603 compiler output for sysdeps/generic/initfini.c.
28604 * sysdeps/i386/elf/Makefile: Remove file.
28605 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28606
286072012-02-07 Marek Polacek <polacek@redhat.com>
28608
28609 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28610 * sysdeps/gnu/_G_config.h: Likewise.
28611 * sysdeps/mach/hurd/_G_config.h: Likewise.
28612
286132012-02-07 Marek Polacek <polacek@redhat.com>
28614
28615 * math/Makefile (tests): Add tst-CMPLX2.
28616 * math/tst-CMPLX2.c: New file.
28617
286182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28619
28620 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28621
28622 * math/libm-test.inc (jn_test): Add missing L suffix.
28623
286242012-02-06 Marek Polacek <polacek@redhat.com>
28625
28626 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28627 * sysdeps/i386/fpu/e_powf.S: Likewise.
28628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28629 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28631 * sysdeps/i386/fpu/e_pow.S: Likewise.
28632 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28633 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28634 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28635 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28636 * sysdeps/i386/fpu/e_log2.S: Likewise.
28637 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28638 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28639 * sysdeps/i386/fpu/e_powl.S: Likewise.
28640 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28641 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28642 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28643 * sysdeps/i386/fpu/e_logl.S: Likewise.
28644 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28645 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28646 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28647 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28648 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28650 * sysdeps/i386/fpu/e_log.S: Likewise.
28651 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28652 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28653 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28654 * sysdeps/i386/fpu/e_logf.S: Likewise.
28655 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28657 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28658 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28659 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28660 * sysdeps/i386/fpu/e_log10.S: Likewise.
28661 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28663 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28664 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28666 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28667 * sysdeps/i386/asm-syntax.h: Likewise.
28668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28671 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28672 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28673 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28674 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28675 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28677 * sysdeps/powerpc/sysdep.h: Likewise.
28678 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28679 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28680
286812012-02-06 Joseph Myers <joseph@codesourcery.com>
28682
28683 [BZ #411]
28684 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28685
286862012-02-06 Joseph Myers <joseph@codesourcery.com>
28687
28688 * sysdeps/i386/sysdep.h: Include <features.h>.
28689 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28690 version.
28691
286922012-02-05 Joseph Myers <joseph@codesourcery.com>
28693
28694 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28695 Define.
28696 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28697 LOAD_PIC_REG_STR.
28698
286992012-02-03 Joseph Myers <joseph@codesourcery.com>
28700
28701 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28702 (SETUP_PIC_REG): Use GET_PC_THUNK.
28703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28704 macro.
28705
287062012-02-03 Joseph Myers <joseph@codesourcery.com>
28707
28708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28709 for non-PIC compilation.
28710 (SETUP_PIC_REG): Add .p2align directive.
28711 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28712 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28713 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28714 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28716 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28719 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28720 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28721 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28722 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28723 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28724 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28725 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28726 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28727 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28728 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28729 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28730 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28731 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28733 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28734 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28737 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28739 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28740 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28741 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28743 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28744 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28745 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28746 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28747 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28748 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28749 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28750 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28751 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28752
287532012-02-03 Joseph Myers <joseph@codesourcery.com>
28754
28755 * math/tst-CMPLX.c: Include <stdio.h>.
28756
287572012-01-31 Joseph Myers <joseph@codesourcery.com>
28758
28759 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28760 float.
28761 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28762 * sysdeps/sparc/bits/mathdef.h: Likewise.
28763
287642012-01-31 Marek Polacek <polacek@redhat.com>
28765
28766 * libio/libio.h: Don't define _PARAMS.
28767 * locale/programs/config.h: Don't define PARAMS.
28768 * stdlib/strtol_l.c: Likewise.
28769 (__strtol_l): Remove PARAMS from the prototype.
28770
287712012-01-31 Ulrich Drepper <drepper@gmail.com>
28772
28773 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28774 names. Just use the correct names. Remove unnecessary wrapper
28775 functions.
28776 * malloc/arena.c: Likewise.
28777 * malloc/hooks.c: Likewise.
28778
28779 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28780 ARENA_TEST says not to. Simplify test for creation of a new arena.
28781 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28782
287832012-01-30 Ulrich Drepper <drepper@gmail.com>
28784
28785 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28786 into tail calls.
28787 (update_get_addr): New function.
28788 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28789 GET_ADDR_MODULE parameter.
28790
287912012-01-30 Joseph Myers <joseph@codesourcery.com>
28792
28793 * crypt/cert.c: Remove __STDC__ conditionals.
28794 * crypt/crypt-entry.c: Likewise.
28795 * crypt/crypt_util.c: Likewise.
28796 * libio/filedoalloc.c: Likewise.
28797 * libio/fileops.c: Likewise.
28798 * libio/genops.c: Likewise.
28799 * libio/iofclose.c: Likewise.
28800 * libio/iofdopen.c: Likewise.
28801 * libio/iofopen.c: Likewise.
28802 * libio/iofopen64.c: Likewise.
28803 * libio/iogetdelim.c: Likewise.
28804 * libio/iopopen.c: Likewise.
28805 * libio/obprintf.c: Likewise.
28806 * libio/oldfileops.c: Likewise.
28807 * libio/oldiofclose.c: Likewise.
28808 * libio/oldiofdopen.c: Likewise.
28809 * libio/oldiofopen.c: Likewise.
28810 * libio/oldiopopen.c: Likewise.
28811 * libio/wfiledoalloc.c: Likewise.
28812 * libio/wgenops.c: Likewise.
28813 * locale/programs/xmalloc.c: Likewise.
28814 * misc/syslog.c: Likewise.
28815 * stdio-common/xbug.c: Likewise.
28816 * string/memchr.c: Likewise.
28817 * string/memcmp.c: Likewise.
28818 * string/memrchr.c: Likewise.
28819 * string/rawmemchr.c: Likewise.
28820 * sysdeps/posix/getcwd.c: Likewise.
28821 * time/strftime_l.c: Likewise.
28822
288232012-01-30 Joseph Myers <joseph@codesourcery.com>
28824
28825 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28826 * config.make.in (config-cflags-sse2avx): Define.
28827 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28828 Fix typo.
28829
288302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28831
28832 * scripts/config.guess: Update from upstream config git repository.
28833 * scripts/config.sub: Likewise.
28834
288352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28836
28837 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28838 (EM_NUM): Update.
28839 (R_TILEPRO_*, R_TILEGX_*): New macros.
28840
28841 * scripts/firstversions.awk: Fix bug in version range handling.
28842
28843 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28844
28845 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28846
28847 * include/sys/epoll.h: New file.
28848 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28849 libc_hidden_def.
28850
288512012-01-28 Ulrich Drepper <drepper@gmail.com>
28852
28853 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28854 Avoid unnecessary __WORDSIZE == 64 test.
28855 (fmaxf): Use VEX format if possible.
28856 (fmax): Likewise.
28857 (fminf): Likewise.
28858 (fmin): Likewise.
28859
28860 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28861 * math/math_private.h: Remove libc_fegetround* and
28862 libc_fesetround*.
28863 * sysdeps/i386/configure.in: Check for -msse2avx.
28864 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28865 also if SSE2AVX is defined.
28866 Remove libc_fegetround* and libc_fesetround*.
28867 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28868 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28870 of HAS_YMM_USABLE.
28871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28876
28877 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28878
288792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28880
28881 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28882 size is not set.
28883 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28884
288852012-01-27 Ulrich Drepper <drepper@gmail.com>
28886
28887 [BZ #13618]
28888 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28889 relocation.
28890 * Makeconfig (libm): Define.
28891 * elf/Makefile: Add rules to build and run tst-relsort1.
28892 * elf/tst-relsort1.c: New file.
28893 * elf/tst-relsort1mod1.c: New file.
28894 * elf/tst-relsort1mod2.c: New file.
28895
288962012-01-27 Joseph Myers <joseph@codesourcery.com>
28897
28898 * math/s_ldexp.c: Remove __STDC__ conditionals.
28899 * math/s_ldexpf.c: Likewise.
28900 * math/s_ldexpl.c: Likewise.
28901 * math/s_nextafter.c: Likewise.
28902 * math/s_nexttowardf.c: Likewise.
28903 * math/s_significand.c: Likewise.
28904 * math/s_significandf.c: Likewise.
28905 * math/s_significandl.c: Likewise.
28906 * math/w_jnl.c: Likewise.
28907 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28908 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28909 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28910 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28911 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28913 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28922 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28923 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28929 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28930 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28931 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28932 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28935 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28937 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28938 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28942 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28947 * sysdeps/ieee754/k_standard.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29009 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29014 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29022 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29023 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29027 * sysdeps/ieee754/s_matherr.c: Likewise.
29028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29032
290332012-01-26 Joseph Myers <joseph@codesourcery.com>
29034
29035 * crypt/md5.h: Remove __STDC__ conditionals.
29036 * libio/libioP.h: Likewise.
29037 * locale/programs/config.h: Likewise.
29038 * sysdeps/generic/sysdep.h: Likewise.
29039 * sysdeps/i386/asm-syntax.h: Likewise.
29040 * sysdeps/s390/asm-syntax.h: Likewise.
29041 * sysdeps/unix/sysdep.h: Likewise.
29042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29044
290452012-01-26 Joseph Myers <joseph@codesourcery.com>
29046
29047 * libio/libio.h: Remove __STDC__ conditionals.
29048 * malloc/obstack.h: Likewise.
29049 * math/complex.h: Likewise.
29050 * math/math.h: Likewise.
29051 * sysdeps/generic/_G_config.h: Likewise.
29052 * sysdeps/gnu/_G_config.h: Likewise.
29053 * sysdeps/mach/hurd/_G_config.h: Likewise.
29054 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29055 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29056 * sysdeps/sparc/bits/mathdef.h: Likewise.
29057
290582012-01-26 Ulrich Drepper <drepper@gmail.com>
29059
29060 [BZ #13583]
29061 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29062 Clean up HAS_* macros.
29063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29064 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29065 possible.
29066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29067 HAS_AVX.
29068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29069 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29070 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29072 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29073
290742012-01-25 Joseph Myers <joseph@codesourcery.com>
29075
29076 * elf/tst-unique3.cc (gets): Remove declaration.
29077 * elf/tst-unique3lib.cc (gets): Likewise.
29078 * elf/tst-unique3lib2.cc (gets): Likewise.
29079 * elf/tst-unique4.cc (gets): Likewise.
29080
290812012-01-24 Ulrich Drepper <drepper@gmail.com>
29082
29083 * include/stdio.h: Add C++ protection. Add gets declarations and
29084 definitions.
29085 * debug/tst-chk1.c: Don't declare gets here.
29086 * stdio-common/tst-gets.c: Likewise.
29087
290882012-01-24 Joseph Myers <joseph@codesourcery.com>
29089
29090 * posix/glob: Remove directory.
29091
290922012-01-24 Joseph Myers <joseph@codesourcery.com>
29093
29094 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29095
290962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29097
29098 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29099 of the non-standard EPFNOSUPPORT.
29100
291012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29102
29103 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29104 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29105 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29106
291072012-01-21 Ulrich Drepper <drepper@gmail.com>
29108
29109 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29110
291112012-01-20 Ulrich Drepper <drepper@gmail.com>
29112
29113 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29114 transient errors.
29115 * nscd/grpcache.c (cache_addgr): Likewise.
29116 * nscd/hstcache.c (cache_addhst): Likewise.
29117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29118 * nscd/pwdcache.c (cache_addpw): Likewise.
29119 * nscd/servicescache.c (cache_addserv): Likewise.
29120
291212012-01-16 Ulrich Drepper <drepper@gmail.com>
29122
29123 * malloc/malloc.c: Various cleanups.
29124 * malloc/hooks.c: Likewise.
29125
29126 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29127 * stdlib/bug-fmtmsg1.c: New file.
29128
29129 * stdlib/fmtmsg.c (init): Add missing unlock.
29130 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29131
291322012-01-12 Marek Polacek <polacek@redhat.com>
29133
29134 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29135 and _GNU_SOURCE.
29136
291372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29138
29139 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29141 macro to ensure uniqueness of label name.
29142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29144
291452012-01-11 Ulrich Drepper <drepper@gmail.com>
29146
29147 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29148
29149 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29150 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29151 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29153
291542012-01-10 Ulrich Drepper <drepper@gmail.com>
29155
29156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29157
29158 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29159 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29160 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29161
29162 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29163
29164 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29165 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29166 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29168
29169 * math/bits/math-finite.h: Add ldexp support.
29170
291712012-01-10 Marek Polacek <polacek@redhat.com>
29172
29173 * locale/programs/localedef.h (show_archive_content): Add noreturn
29174 attribute.
29175
291762012-01-09 Ulrich Drepper <drepper@gmail.com>
29177
29178 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29179
291802012-01-08 Ulrich Drepper <drepper@gmail.com>
29181
29182 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29183
29184 * io/Makefile (headers): Add bits/poll2.h.
29185
291862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29187
29188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29189 typo #include statement.
29190
291912012-01-08 Ulrich Drepper <drepper@gmail.com>
29192
29193 * include/sys/cdefs.h: Define __attribute_alloc_size.
29194 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29195 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29196 * elf/pldd.c: Likewise.
29197 * iconv/iconv_charmap.c: Likewise.
29198 * iconv/iconvconfig.c: Likewise.
29199 * iconv/strtab.c: Likewise.
29200 * locale/programs/locale.c: Likewise.
29201 * locale/programs/localedef.h: Likewise.
29202 * locale/programs/simple-hash.c: Likewise.
29203 * nscd/nscd.h: Likewise.
29204 * nss/makedb.c: Likewise.
29205 * sysdeps/generic/ldconfig.h: Likewise.
29206 * locale/programs/localedef.c: Remove xmalloc prototype.
29207 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29208
292092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29210
29211 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29212 appropriate.
29213
292142012-01-08 Ulrich Drepper <drepper@gmail.com>
29215
29216 * math/Makefile (tests): Add tst-CMPLX.
29217 * math/tst-CMPLX.c: New file.
29218
29219 * math/complex.h (CMPLXL): Fix typo.
29220
29221 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29222 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29223 GLIBC_2.16.
29224 * debug/tst-chk1.c: Add poll and ppoll tests.
29225 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29226 * include/sys/poll.h: Add hidden proto for ppoll.
29227 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29228 * sysdeps/mach/hurd/ppoll.c: Likewise.
29229 * io/ppoll.c: Likewise.
29230 * debug/poll_chk.c: New file.
29231 * debug/ppoll_chk.c: New file.
29232 * include/bits/poll2.h: New file.
29233 * io/bits/poll2.h: New file.
29234
29235 [BZ #1350]
29236 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29237
29238 * configure.in: static is always set to yes. Remove.
29239 * config.make.in: Don't set build-static.
29240 * Makeconfig: Remove use of build-static.
29241 * dlfcn/Makefile: Likewise.
29242 * elf/Makefile: Likewise.
29243 * math/Makefile: Likewise.
29244 * misc/Makefile: Likewise.
29245 * nptl/Makefile: Likewise.
29246 * sysdeps/mach/hurd/Makefile: Likewise.
29247
29248 * configure.in: PWD_P is not used anymore.
29249 * config.make.in: Remove PWD_P entry.
29250
29251 * configure.in: Remove last remnants of RANLIB.
29252 No need to check for signed size_t anymore.
29253 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29254 and IA-64.
29255 Remove __builtin_expect test because we require at least gcc 3.4.
29256 * aclocal.m4: Likewise.
29257
29258 * wcsmbs/mbrtoc16.c: Implement using towc function.
29259 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29260 * wcsmbs/wcsmbsload.c: Likewise.
29261 * iconv/gconv_simple.c: Likewise.
29262 * iconv/gconv_int.h: Likewise.
29263 * iconv/gconv_builtin.h: Likewise.
29264 * iconv/iconv_prog.c: Remove CHAR16 handling.
29265
29266 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29267
29268 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29269
29270 * configure.in: Remove --with-elf and --enable-bounded options.
29271 Dont set base_machine for ia64. More non-ELF conditions removed.
29272 Remove testing and setting of leading underscore information.
29273 * config.make.in (build-bounded): Set to no.
29274 * config.h.in: Remove NO_UNDERSCORES entry.
29275 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29276 them.
29277 * csu/start.c: Remove !NO_UNDERSCORE code.
29278 * locale/localeinfo.h: Likewise.
29279 * sysdeps/generic/machine-gmon.h: Likewise.
29280 * sysdeps/generic/sysdep.h: Likewise.
29281 * sysdeps/i386/sysdep.h: Likewise.
29282 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29283 * sysdeps/mach/sysdep.h: Likewise.
29284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29286 * sysdeps/sh/sysdep.h: Likewise.
29287 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29288 * sysdeps/unix/i386/sysdep.S: Likewise.
29289 * sysdeps/unix/sparc/start.c: Likewise.
29290 * sysdeps/unix/sparc/sysdep.S: Likewise.
29291 * sysdeps/unix/sparc/sysdep.h: Likewise.
29292 * sysdeps/unix/start.c: Likewise.
29293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29294 * sysdeps/x86_64/sysdep.h: Likewise.
29295
292962012-01-07 Ulrich Drepper <drepper@gmail.com>
29297
29298 [BZ #13553]
29299 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29300 for non-gcc.
29301 * argp/argp-fmtstream.h: Use const instead __const.
29302 * argp/argp.h: Likewise.
29303 * assert/assert.h: Likewise.
29304 * bits/fenv.h: Likewise.
29305 * bits/sched.h: Likewise.
29306 * bits/sigset.h: Likewise.
29307 * bits/sigthread.h: Likewise.
29308 * catgets/nl_types.h: Likewise.
29309 * conform/data/pthread.h-data: Likewise.
29310 * crypt/crypt-private.h: Likewise.
29311 * crypt/crypt.h: Likewise.
29312 * crypt/crypt_util.c: Likewise.
29313 * ctype/ctype.h: Likewise.
29314 * debug/execinfo.h: Likewise.
29315 * debug/mbsnrtowcs_chk.c: Likewise.
29316 * debug/mbsrtowcs_chk.c: Likewise.
29317 * debug/wcsnrtombs_chk.c: Likewise.
29318 * debug/wcsrtombs_chk.c: Likewise.
29319 * debug/wcstombs_chk.c: Likewise.
29320 * dirent/dirent.h: Likewise.
29321 * dlfcn/dlfcn.h: Likewise.
29322 * elf/neededtest4.c: Likewise.
29323 * grp/grp.h: Likewise.
29324 * gshadow/gshadow.h: Likewise.
29325 * iconv/gconv.h: Likewise.
29326 * iconv/gconv_int.h: Likewise.
29327 * iconv/gconv_simple.c: Likewise.
29328 * iconv/iconv.h: Likewise.
29329 * iconv/loop.c: Likewise.
29330 * iconv/skeleton.c: Likewise.
29331 * include/aio.h: Likewise.
29332 * include/aliases.h: Likewise.
29333 * include/argz.h: Likewise.
29334 * include/arpa/inet.h: Likewise.
29335 * include/assert.h: Likewise.
29336 * include/dirent.h: Likewise.
29337 * include/dlfcn.h: Likewise.
29338 * include/execinfo.h: Likewise.
29339 * include/fcntl.h: Likewise.
29340 * include/fenv.h: Likewise.
29341 * include/glob.h: Likewise.
29342 * include/grp.h: Likewise.
29343 * include/libintl.h: Likewise.
29344 * include/mntent.h: Likewise.
29345 * include/netdb.h: Likewise.
29346 * include/pwd.h: Likewise.
29347 * include/rpc/netdb.h: Likewise.
29348 * include/sched.h: Likewise.
29349 * include/search.h: Likewise.
29350 * include/shadow.h: Likewise.
29351 * include/signal.h: Likewise.
29352 * include/stdio.h: Likewise.
29353 * include/stdlib.h: Likewise.
29354 * include/string.h: Likewise.
29355 * include/sys/socket.h: Likewise.
29356 * include/sys/stat.h: Likewise.
29357 * include/sys/statfs.h: Likewise.
29358 * include/sys/statvfs.h: Likewise.
29359 * include/sys/syslog.h: Likewise.
29360 * include/sys/time.h: Likewise.
29361 * include/sys/uio.h: Likewise.
29362 * include/time.h: Likewise.
29363 * include/unistd.h: Likewise.
29364 * include/utmp.h: Likewise.
29365 * include/wchar.h: Likewise.
29366 * include/wctype.h: Likewise.
29367 * inet/aliases.h: Likewise.
29368 * inet/arpa/inet.h: Likewise.
29369 * inet/netinet/ether.h: Likewise.
29370 * inet/netinet/in.h: Likewise.
29371 * intl/libintl.h: Likewise.
29372 * io/bits/fcntl2.h: Likewise.
29373 * io/fcntl.h: Likewise.
29374 * io/ftw.h: Likewise.
29375 * io/sys/poll.h: Likewise.
29376 * io/sys/stat.h: Likewise.
29377 * io/sys/statfs.h: Likewise.
29378 * io/sys/statvfs.h: Likewise.
29379 * io/utime.h: Likewise.
29380 * libio/bits/stdio.h: Likewise.
29381 * libio/bits/stdio2.h: Likewise.
29382 * libio/libio.h: Likewise.
29383 * libio/libioP.h: Likewise.
29384 * libio/stdio.h: Likewise.
29385 * locale/lc-ctype.c: Likewise.
29386 * locale/locale.h: Likewise.
29387 * login/utmp.h: Likewise.
29388 * malloc/arena.c: Likewise.
29389 * malloc/malloc.c: Likewise.
29390 * malloc/malloc.h: Likewise.
29391 * malloc/mcheck.c: Likewise.
29392 * malloc/mtrace.c: Likewise.
29393 * math/bits/mathcalls.h: Likewise.
29394 * math/fenv.h: Likewise.
29395 * math/math_private.h: Likewise.
29396 * misc/bits/error.h: Likewise.
29397 * misc/bits/syslog.h: Likewise.
29398 * misc/err.h: Likewise.
29399 * misc/error.h: Likewise.
29400 * misc/fstab.h: Likewise.
29401 * misc/mntent.h: Likewise.
29402 * misc/regexp.h: Likewise.
29403 * misc/search.h: Likewise.
29404 * misc/sgtty.h: Likewise.
29405 * misc/sys/mman.h: Likewise.
29406 * misc/sys/syslog.h: Likewise.
29407 * misc/sys/uio.h: Likewise.
29408 * misc/sys/xattr.h: Likewise.
29409 * misc/ttyent.h: Likewise.
29410 * nis/rpcsvc/ypclnt.h: Likewise.
29411 * nss/nss.h: Likewise.
29412 * posix/bits/unistd.h: Likewise.
29413 * posix/fnmatch.h: Likewise.
29414 * posix/glob.h: Likewise.
29415 * posix/sched.h: Likewise.
29416 * posix/spawn.h: Likewise.
29417 * posix/sys/wait.h: Likewise.
29418 * posix/unistd.h: Likewise.
29419 * posix/wordexp.h: Likewise.
29420 * pwd/pwd.h: Likewise.
29421 * resolv/netdb.h: Likewise.
29422 * resource/sys/resource.h: Likewise.
29423 * rt/aio.h: Likewise.
29424 * rt/bits/mqueue2.h: Likewise.
29425 * rt/mqueue.h: Likewise.
29426 * shadow/shadow.h: Likewise.
29427 * signal/signal.h: Likewise.
29428 * socket/send.c: Likewise.
29429 * socket/sendto.c: Likewise.
29430 * socket/sys/socket.h: Likewise.
29431 * stdio-common/printf.h: Likewise.
29432 * stdlib/bits/stdlib.h: Likewise.
29433 * stdlib/fmtmsg.h: Likewise.
29434 * stdlib/monetary.h: Likewise.
29435 * stdlib/stdlib.h: Likewise.
29436 * stdlib/ucontext.h: Likewise.
29437 * streams/stropts.h: Likewise.
29438 * string/argz.h: Likewise.
29439 * string/bits/string2.h: Likewise.
29440 * string/string.h: Likewise.
29441 * string/strings.h: Likewise.
29442 * sunrpc/rpc/auth.h: Likewise.
29443 * sunrpc/rpc/auth_des.h: Likewise.
29444 * sunrpc/rpc/clnt.h: Likewise.
29445 * sunrpc/rpc/netdb.h: Likewise.
29446 * sunrpc/rpc/pmap_clnt.h: Likewise.
29447 * sunrpc/rpc/xdr.h: Likewise.
29448 * sysdeps/generic/inttypes.h: Likewise.
29449 * sysdeps/generic/net/if.h: Likewise.
29450 * sysdeps/generic/sys/swap.h: Likewise.
29451 * sysdeps/gnu/net/if.h: Likewise.
29452 * sysdeps/gnu/utmpx.h: Likewise.
29453 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29454 * sysdeps/i386/i486/bits/string.h: Likewise.
29455 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29456 * sysdeps/s390/bits/string.h: Likewise.
29457 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29458 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29459 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29460 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29461 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29462 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29463 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29464 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29465 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29466 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29467 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29468 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29469 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29470 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29471 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29472 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29473 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29478 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29479 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29480 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29481 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29482 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29483 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29485 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29486 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29487 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29488 * sysvipc/sys/ipc.h: Likewise.
29489 * sysvipc/sys/msg.h: Likewise.
29490 * sysvipc/sys/sem.h: Likewise.
29491 * sysvipc/sys/shm.h: Likewise.
29492 * termios/termios.h: Likewise.
29493 * time/sys/time.h: Likewise.
29494 * time/time.h: Likewise.
29495 * wcsmbs/bits/wchar2.h: Likewise.
29496 * wcsmbs/uchar.h: Likewise.
29497 * wcsmbs/wchar.h: Likewise.
29498 * wctype/wctype.h: Likewise.
29499
29500 [BZ #13551]
29501 * Makeconfig: Remove all but ELF support including AIX support.
29502 * Makerules: Likewise.
29503 * config.h.in: Likewise.
29504 * config.make.in: Likewise.
29505 * configure: Likewise.
29506 * configure.in: Likewise.
29507 * csu/Makefile: Likewise.
29508 * csu/version.c: Likewise.
29509 * debug/Makefile: Likewise.
29510 * dlfcn/Makefile: Likewise.
29511 * elf/Makefile: Likewise.
29512 * extra-lib.mk: Likewise.
29513 * iconv/Makefile: Likewise.
29514 * include/libc-symbols.h: Likewise.
29515 * include/shlib-compat.h: Likewise.
29516 * resolv/Makefile: Likewise.
29517 * resolv/res_libc.c: Likewise.
29518 * rt/Makefile: Likewise.
29519 * sysdeps/i386/asm-syntax.h: Likewise.
29520 * sysdeps/i386/sysdep.h: Likewise.
29521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29522 * sysdeps/mach/sysdep.h: Likewise.
29523 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29524 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29525 * sysdeps/s390/asm-syntax.h: Likewise.
29526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29528 * sysdeps/sh/sysdep.h: Likewise.
29529 * sysdeps/unix/sparc/sysdep.h: Likewise.
29530 * sysdeps/wordsize-32/divdi3.c: Likewise.
29531 * sysdeps/x86_64/sysdep.h: Likewise.
29532
29533 * argp/Versions: Remove _argp_unlock_xxx.
29534
29535 [BZ #13559]
29536 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29537 * abilist/libBrokenLocale.abilist: Likewise.
29538 * abilist/libanl.abilist: Likewise.
29539 * abilist/libc.abilist: Likewise.
29540 * abilist/libcrypt.abilist: Likewise.
29541 * abilist/libdl.abilist: Likewise.
29542 * abilist/libm.abilist: Likewise.
29543 * abilist/libnsl.abilist: Likewise.
29544 * abilist/libpthread.abilist: Likewise.
29545 * abilist/libresolv.abilist: Likewise.
29546 * abilist/librt.abilist: Likewise.
29547 * abilist/libthread_db.abilist: Likewise.
29548 * abilist/libutil.abilist: Likewise.
29549 * abilist/libnss_db.abilist: New file.
29550
29551 * scripts/abilist.awk: Add support for indirect functions.
29552
29553 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29554
29555 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29556
29557 * shlib-versions: Remove entries for ports architectures.
29558
29559 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29560 files in ports.
29561 * elf/stackguard-macros.h: Remove support for IA-64.
29562 * elf/tst-auditmod1.c: Likewise.
29563 * sysdeps/generic/ldsodefs.h: Likewise.
29564
29565 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29566 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29567 configure files.
29568
29569 [BZ #13552]
29570 * configure.in: Remove --enable-omitfp support.
29571 * FAQ.in: Adjust.
29572 * config.make.in: Likewise.
29573 * Makeconfig: Likewise.
29574 * manual/install.texi: Likewise.
29575
29576 In case anyone cares, the IA-64 architecture could move to ports.
29577 * sysdeps/ia64/*: Removed.
29578 * sysdeps/unix/sysv/linux/ia64/*: Removed.
29579 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29580
29581 [BZ #13555]
29582 * configure.in: Remove entries for unsupported architectures.
29583
29584 [BZ #13533]
29585 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29586 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29587 routines.
29588 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29589 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29590 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29591 fall back to using wcrtomb.
29592 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29593 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29594 renaming.
29595 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29596 * wcsmbs/tst-c16c32-1.c: New file.
29597
29598 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29599 local variable.
29600
29601 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29602
29603 * elf/tst-unique3.cc: Add explicit declaration of gets.
29604 * elf/tst-unique3lib.cc: Likewise.
29605 * elf/tst-unique3lib2.cc: Likewise.
29606 * elf/tst-unique4.cc: Likewise.
29607
29608 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29609
296102012-01-06 Joseph Myers <joseph@codesourcery.com>
29611
29612 [BZ #13566]
29613 * assert/assert.h (static_assert): Don't define for C++.
29614 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29615 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29616
296172012-01-03 Ulrich Drepper <drepper@gmail.com>
29618
29619 * iconv/loop.c (single loop): Fix assertion in storing of
29620 remaining bytes.
29621
29622 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29623
296242012-01-01 Ulrich Drepper <drepper@gmail.com>
29625
29626 * posix/getconf.c: Update copyright year.
29627 * nss/getent.c: Likewise.
29628 * nss/makedb.c: Likewise.
29629 * iconv/iconvconfig.c: Likewise.
29630 * iconv/iconv_prog.c: Likewise.
29631 * elf/ldconfig.c: Likewise.
29632 * elf/pldd.c: Likewise.
29633 * elf/sotruss.ksh: Likewise.
29634 * catgets/gencat.c: Likewise.
29635 * csu/version.c: Likewise.
29636 * elf/ldd.bash.in: Likewise.
29637 * elf/sprof.c (print_version): Likewise.
29638 * locale/programs/locale.c: Likewise.
29639 * locale/programs/localedef.c: Likewise.
29640 * login/programs/pt_chown.c: Likewise.
29641 * nscd/nscd.c (print_version): Likewise.
29642 * debug/xtrace.sh: Likewise.
29643 * malloc/memusage.sh: Likewise.
29644 * malloc/mtrace.pl: Likewise.
29645 * debug/catchsegv.sh: Likewise.
29646
296472011-12-30 Jakub Jelinek <jakub@redhat.com>
29648
29649 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29650 pure attribute.
29651
296522011-12-24 Ulrich Drepper <drepper@gmail.com>
29653
29654 [BZ #13533]
29655 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29656 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29657 transformations.
29658 * iconv/gconv_int.h: Likewise.
29659 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29660 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29661 from libc for GLIBC_2.16.
29662 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29663 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29664 * wcsmbs/uchar.h: Really define mbstate_t.
29665 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29666 * wcsmbs/c16rtomb.c: New file.
29667 * wcsmbs/mbrtoc16.c: New file.
29668 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29669 for C/POSIX locale.
29670 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29671 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29672
29673 * wcsmbs/wchar.h: Add missing __restrict.
29674
296752011-12-23 Ulrich Drepper <drepper@gmail.com>
29676
29677 [BZ #13532]
29678 * time/Makefile (routines): Add timespec_get.
29679 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29680 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29681 timespec for ISO C11.
29682 * time/timespec_get.c: New file.
29683 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29684 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29685
29686 [BZ #13531]
29687 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29688 * stdlib/stdlib.h: Declare aligned_alloc.
29689 * Versions.def: Add GLIBC_2.16 for libc.
29690 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29691
29692 [BZ 13527]
29693 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29694 ISO C11.
29695
29696 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29697 code.
29698
29699 [BZ #13528]
29700 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29701
29702 [BZ #13529]
29703 * assert/assert.h (static_assert): Define.
29704
29705 * version.h: Update for 2.16 development version.
29706
29707 [BZ #13526]
29708 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29709 _ISOC11_SOURCE.
29710
29711 * version.h (RELEASE): Bump for 2.15 release.
29712 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29713
29714 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29715 Patch by Marek Polacek <mpolacek@redhat.com>.
29716
29717 * bits/byteswap.h: Protect long long constants with __extension__.
29718 * sysdeps/i386/bits/byteswap.h: Likewise.
29719 * sysdeps/ia64/bits/byteswap.h: Likewise.
29720 * sysdeps/s390/bits/byteswap.h: Likewise.
29721 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29722
297232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29724
29725 [BZ #13540]
29726 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29727 destination buffer.
29728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29729
297302011-12-23 Marek Polacek <polacek@redhat.com>
29731
29732 * elf/dl-addr.c (determine_info): Add inline keyword.
29733 * elf/tst-auditmod4b.c (check_avx): Likewise.
29734 * elf/tst-auditmod6b.c (check_avx): Likewise.
29735 * elf/tst-auditmod6c.c (check_avx): Likewise.
29736 * elf/tst-auditmod7b.c (check_avx): Likewise.
29737
297382011-12-23 Ulrich Drepper <drepper@gmail.com>
29739
29740 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29741 !__SSE_MATH__.
29742
297432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29744
29745 [BZ #13540]
29746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29747 processing for last bytes.
29748
297492011-08-06 Bruno Haible <bruno@clisp.org>
29750
29751 [BZ #13061]
29752 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29753 U+0385, not to U+1FEE.
29754
29755 [BZ #13062]
29756 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29757 entry for U+00A5 U+0301.
29758
297592011-12-22 Ulrich Drepper <drepper@gmail.com>
29760
29761 [BZ #13166]
29762 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29763 buffer for the output is too small.
29764
29765 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29766 optimization.
29767
29768 [BZ #13185]
29769 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29770 SSE flags if possible.
29771
297722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29773
29774 [BZ #13540]
29775 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29776 processing for last bytes.
29777
297782011-12-22 Joseph Myers <joseph@codesourcery.com>
29779
29780 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29781 (syscall-list-default-options, syscall-list-default-condition)
29782 (syscall-list-includes): Define.
29783 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29784 list of ABIs and options and #if conditions for each ABI. Do not
29785 handle common syscalls between ABIs specially.
29786 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29787 Remove.
29788 (syscall-list-variants, syscall-list-32bit-options)
29789 (syscall-list-32bit-condition, syscall-list-64bit-options)
29790 (syscall-list-64bit-condition): Define.
29791 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29792 (syscall-list-variants, syscall-list-32bit-options)
29793 (syscall-list-32bit-condition, syscall-list-64bit-options)
29794 (syscall-list-64bit-condition): Define.
29795 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29796 Remove.
29797 (syscall-list-variants, syscall-list-32bit-options)
29798 (syscall-list-32bit-condition, syscall-list-64bit-options)
29799 (syscall-list-64bit-condition): Define.
29800 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29801 Remove.
29802 (syscall-list-variants, syscall-list-32bit-options)
29803 (syscall-list-32bit-condition, syscall-list-64bit-options)
29804 (syscall-list-64bit-condition): Define.
29805
298062011-12-22 Ulrich Drepper <drepper@gmail.com>
29807
29808 * locale/iso-639.def: Add brx entry.
29809
29810 [BZ #13328]
29811 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29812 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29813
29814 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29815 __feraiseexcept_renamed.
29816
298172011-12-21 Ulrich Drepper <drepper@gmail.com>
29818
29819 [BZ #13538]
29820 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29821 EPOLLET with unsigned values.
29822 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29823 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29824
29825 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29826 to large cancellation.
29827 * math/s_cacoshf.c: Likewise.
29828 * math/s_cacoshl.c: Likewise.
29829
298302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29831
29832 [BZ #13305]
29833 [BZ #12786]
29834 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29835 * math/s_cacoshf.c: Likewise.
29836 * math/s_cacoshl.c: Likewise.
29837
298382011-12-21 Ulrich Drepper <drepper@gmail.com>
29839
29840 [BZ #13439]
29841 * iconv/gconv.h: Define __GCONV_SWAP.
29842 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29843 * iconvdata/utf-16.c: Likewise.
29844 * iconvdata/utf-32.c: Likewise.
29845
298462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29847
29848 [BZ #13524]
29849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29850 numerator after shifting it by one limb.
29851
298522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29853
29854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29855 under [__USE_EXTERN_INLINES].
29856
298572011-12-17 Ulrich Drepper <drepper@gmail.com>
29858
29859 [BZ #13446]
29860 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29861
298622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29863
29864 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29865 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29866 optimized code.
29867 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29868 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29869 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29870 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29871 for strncasecmp/strncasecmp_l compilation.
29872 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29873 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29874
298752011-12-08 Marek Polacek <mpolacek@redhat.com>
29876
29877 [BZ #13484]
29878 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29879 of __asm__.
29880
298812011-12-17 Ulrich Drepper <drepper@gmail.com>
29882
29883 [BZ #13506]
29884 * time/tzfile.c (__tzfile_read): Check values from file header.
29885
298862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29887
29888 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29889 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29890 * powerpc/powerpc32/dl-start.S: Likewise.
29891 * powerpc/powerpc32/elf/start.S: Likewise.
29892 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29893 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29894 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29895 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29896 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29897 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29898 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29899 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29900 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29901 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29902 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29903 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29904 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29905 * powerpc/powerpc32/memset.S: Likewise.
29906 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29907 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29908 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29909 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29910 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29911 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29912 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29913 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29914 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29915 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29916 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29917 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29918 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29919
299202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29921
29922 * math/libm-test.inc: Added more nearbyint tests.
29923 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29926 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29927
299282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29929
29930 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29931 FD_CLOEXEC.
29932
299332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29934
29935 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29936 Add wcscpy-ssse3 wcscpy-c.
29937 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29938 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29939 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29940 * sysdeps/x86_64/wcschr.S: New file.
29941 * sysdeps/x86_64/wcsrchr.S: New file.
29942 * string/test-strcmp.c: Remove checking of wcscmp function for
29943 wrong alignments.
29944 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29945 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29946 wcsrchr-sse2 wcsrchr-c.
29947 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29948 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29949 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29950 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29951 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29952 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29953 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29954 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29955 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29956 * wcsmbc/wcschr.c (WCSCHR): New macro.
29957
299582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29959
29960 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29961 * wcsmbs/test-wcsrchr.c: New file.
29962 * string/test-strrchr.c: Add wcsrchr support.
29963 (WIDE): New macro.
29964 * wcsmbs/test-wcscpy.c: New file.
29965 * string/test-strcpy.c: Add wcscpy support.
29966 (WIDE): New macro.
29967
299682011-12-10 Ulrich Drepper <drepper@gmail.com>
29969
29970 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29971 the inner loop.
29972
299732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29974
29975 [BZ #13472]
29976 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29977
299782011-12-04 Ulrich Drepper <drepper@gmail.com>
29979
29980 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29981 Minor optimizations.
29982
29983 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29984 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29985 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29986
299872011-12-03 Ulrich Drepper <drepper@gmail.com>
29988
29989 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29990 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29991 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29992 for gcc to avoid warnings.
29993 * inet/Makefile (tests): Add tst-checks.
29994 * inet/tst-checks.c: New file.
29995
29996 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29997 warning.
29998
29999 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30000 __wmemcmp_sse2.
30001
30002 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30003 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30004
30005 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30006
300072011-12-02 Ulrich Drepper <drepper@gmail.com>
30008
30009 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30010 problem.
30011
30012 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30013
300142011-11-29 Joseph Myers <joseph@codesourcery.com>
30015
30016 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30017 conditional on GCC version.
30018 (__arch_compare_and_exchange_val_8_acq)
30019 (__arch_compare_and_exchange_val_16_acq)
30020 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30021 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30022 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30023
300242011-12-02 Joseph Myers <joseph@codesourcery.com>
30025
30026 * sysdeps/sh/backtrace.c: New file.
30027
300282011-12-02 Andreas Schwab <schwab@redhat.com>
30029
30030 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30031 parenthesis.
30032
300332011-12-01 Andreas Schwab <schwab@redhat.com>
30034
30035 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30036 falling back to utime.
30037
300382011-11-30 Andreas Schwab <schwab@redhat.com>
30039
30040 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30041 expectations for float.
30042
300432011-11-29 Andreas Schwab <schwab@redhat.com>
30044
30045 * locale/weight.h (findidx): Add parameter len.
30046 * locale/weightwc.h (findidx): Likewise.
30047 * posix/fnmatch_loop.c (FCT): Adjust caller.
30048 * posix/regcomp.c (build_equiv_class): Likewise.
30049 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30050 * posix/regexec.c (check_node_accept_bytes): Likewise.
30051 * string/strcoll_l.c (STRCOLL): Likewise.
30052 * string/strxfrm_l.c (STRXFRM): Likewise.
30053
300542011-11-17 Ulrich Drepper <drepper@gmail.com>
30055
30056 * Makefile.in: Remove CVSOPT handling.
30057 * configure.in: Remove use of AC_REVISION.
30058 * iconvdata/Makefile (distribute): No need to filter out CVS.
30059 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30060 handling.
30061
300622011-11-16 Andreas Schwab <schwab@redhat.com>
30063
30064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30065 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30066 [USE_AS_STRNCASECMP_L]: Likewise.
30067 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30068 NO_TLS_DIRECT_SEG_REFS.
30069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30070 Fix argument offsets for non-PIC.
30071 [USE_AS_STRNCASECMP_L]: Likewise.
30072 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30073 NO_TLS_DIRECT_SEG_REFS.
30074
300752011-11-15 Ulrich Drepper <drepper@gmail.com>
30076
30077 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30078 O_CLOEXEC.
30079 * locale/loadlocale.c (_nl_load_locale): Likewise.
30080
300812011-11-15 Andreas Schwab <schwab@redhat.com>
30082
30083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30084 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30086 (SYSCALL_GETTIME): Set errno on error.
30087
30088 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30089 count references to noai6ai_cached.
30090
300912011-11-15 Ulrich Drepper <drepper@gmail.com>
30092
30093 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30094
30095 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30096 FD_CLOEXEC for /proc/self/maps.
30097
30098 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30099 FD_CLOEXEC for /proc/meminfo.
30100
30101 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30102 gai.conf.
30103
30104 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30105 FD_CLOEXEC for given file.
30106
30107 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30108
30109 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30110 FD_CLOEXEC for /etc/hosts.
30111 (_gethtent): Likewise.
30112
30113 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30114
30115 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30116 cancellation and set FD_CLOEXEC for /etc/netgroup.
30117
30118 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30119 reading /etc/publickey.
30120
30121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30122 allow cancellation when reading /etc/group.
30123
30124 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30125 cancellation.
30126 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30127
30128 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30129 when using data file.
30130
30131 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30132
30133 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30134 (write_nis_obj): Use "c" and "e" in fopen.
30135
30136 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30137
30138 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30139
30140 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30141
30142 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30143
30144 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30145 locale.alias.
30146
30147 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30148
30149 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30150
30151 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30152
30153 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30154 file parsing and set FD_CLOEXEC.
30155
301562011-11-14 Ulrich Drepper <drepper@gmail.com>
30157
30158 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30159
301602011-11-14 Andreas Schwab <schwab@redhat.com>
30161
30162 * malloc/arena.c (arena_get2): Don't call reused_arena when
30163 _int_new_arena failed.
30164
301652011-11-14 Ulrich Drepper <drepper@gmail.com>
30166
30167 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30168 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30169 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30172 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30173 to compile strcasecmp and strncasecmp.
30174 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30175 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30176
30177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30178
301792011-11-13 Ulrich Drepper <drepper@gmail.com>
30180
30181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30182 locale-defines.sym to gen-as-const-headers.
30183 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30184 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30186 to compile strcasecmp and strncasecmp.
30187 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30188 strcasecmp_l and strncasecmp_l.
30189 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30190 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30191 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30193 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30194 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30195 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30196 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30197 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30198 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30199 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30200
302012011-11-12 Ulrich Drepper <drepper@gmail.com>
30202
30203 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30204 result of SYSDEP_GETTIME_CPU to retval.
30205 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30206 parameter list to macro. Remove trailing semicolon. Adjust users.
30207
30208 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30209 variable.
30210
30211 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30212 mantissa words.
30213 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30214
30215 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30216 from unused variable.
30217
30218 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30219 DWARF definitions.
30220 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30221 for assembling.
30222
30223 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30224 over namespaces.
30225
30226 * sunrpc/rpc_prot.c (rejected): Fix case value.
30227
30228 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30229 unsigned long long int to avoid warnings in shift.
30230
30231 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30232 of use of trans.
30233 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30234 variable tmp.
30235
30236 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30237 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30238 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30239
30240 * nis/nis_table.c (nis_list): Use variable of correct type for
30241 result of __follow_path call.
30242
302432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30244
30245 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30246 of math functions ceil, trunc, floor, round, and sqrt, when
30247 avaliable on the platform.
30248 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30249 name clash.
30250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30251 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30252 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30253
302542011-10-30 Marek Polacek <mpolacek@redhat.com>
30255
30256 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30257 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30258
302592011-11-11 Roland McGrath <roland@hack.frob.com>
30260
30261 * include/unistd.h: Fix __readlink return type.
30262 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30263
302642011-11-11 Ulrich Drepper <drepper@gmail.com>
30265
30266 * stdlib/ucontext.h: Undo last change for makecontext.
30267
302682011-11-11 Andreas Schwab <schwab@redhat.com>
30269
30270 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30271
30272 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30273 * setjmp/setjmp.h: Mark functions as non-leaf.
30274 * setjmp/bits/setjmp2.h: Likewise.
30275 * stdlib/ucontext.h: Likewise.
30276
302772011-11-10 Andreas Schwab <schwab@redhat.com>
30278
30279 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30280 (reused_arena): Don't check arena limit.
30281 (arena_get2): Atomically check arena limit.
30282
302832011-11-08 Ulrich Drepper <drepper@gmail.com>
30284
30285 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30286 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30287
30288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30289 instructions.
30290
302912011-11-07 Andreas Schwab <schwab@redhat.com>
30292
30293 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30294 handler when locking.
30295
30296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30297 Fix size of allocated buffer.
30298
302992011-11-04 Andreas Schwab <schwab@redhat.com>
30300
30301 [BZ #10103]
30302 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30303 declarations for long double functions.
30304 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30305
30306 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30307
303082011-11-03 Andreas Schwab <schwab@redhat.com>
30309
30310 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30311 installed.
30312
30313 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30314 is disabled.
30315
303162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30317
30318 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30319
303202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30321
30322 * include/alloca.h (stackinfo_alloca_round): Define.
30323 (extend_alloca): Use it.
30324 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30325 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30326 here.
30327
30328 * scripts/check-local-headers.sh: Ignore libaudit.h.
30329
30330 * nscd/Makefile (extra-objs): Make recursively expanded.
30331
303322011-11-01 Ulrich Drepper <drepper@gmail.com>
30333
30334 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30336
30337 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30338 * posix/tst-rfc3484-2.c: Likewise.
30339 * posix/tst-rfc3484-3.c: Likewise.
30340
30341 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30342 process_vm_writev.
30343 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30344 process_vm_writev.
30345 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30346 process_vm_writev from libc using GLIBC_2.15 version.
30347
30348 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30349
303502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30351
30352 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30353 stack usage.
30354
303552011-10-31 Ulrich Drepper <drepper@gmail.com>
30356
30357 [BZ #13367]
30358 * nss/getent.c (initgroups_keys): Show error message in case no group
30359 names are given.
30360
30361 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30362 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30363 __bump_nl_timestamp.
30364 * nscd/connections (nscd_init): When host database is served open
30365 netlink socket and request notification about configuration changes.
30366 (main_loop_poll): Track netlink file descriptor and bump timestamp
30367 in case data becomes available.
30368 (main_loop_epoll): Likewise.
30369 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30370 (database_pers_head): Add extra_data fileds.
30371 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30372 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30373 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30374 Adjust caller.
30375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30376 in6ai data, call __free_in6ai.
30377 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30378 Add -DHAVE_NETLINK.
30379 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30380 interface information. Reuse previous data if netlink timestamp
30381 is not changed.
30382 (__bump_nl_timestamp): New function.
30383 (__free_in6ai): New function.
30384
303852011-10-30 Ulrich Drepper <drepper@gmail.com>
30386
30387 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30388 close_not_cancel_no_status here.
30389 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30390
303912011-10-29 Ulrich Drepper <drepper@gmail.com>
30392
30393 [BZ #13276]
30394 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30395 return value.
30396
30397 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30398 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30399 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30400
304012011-07-03 Andreas Jaeger <aj@suse.de>
30402
30403 [BZ #10709]
30404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30405 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30406 * math/libm-test.inc (sin_test): Add test case.
30407
304082011-10-29 Ulrich Drepper <drepper@gmail.com>
30409
30410 [BZ #13337]
30411 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30412 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30413
30414 * elf/chroot_canon.c (chroot_canon): Cleanups.
30415
30416 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30417
30418 [BZ #13335]
30419 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30420 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30421
30422 * string/test-strchr.c: Make usable for strchrnul testing.
30423 * string/test-strchrnul.c: New file.
30424 * string/Makefile (strop-tests): Add strchrnul.
30425
30426 * po/it.po: Update from translation team.
30427 * po/es.po: Likewise.
30428
304292011-10-28 Ulrich Drepper <drepper@gmail.com>
30430
30431 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30432 the three constants needed as parameters. Drop the others.
30433 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30434 __m128i_strloadu_tolower.
30435 Create and initialize variable zero and use it in all the places
30436 where _mm_setzero_si128 was used.
30437
30438 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30439 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30440 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30442 anymore.
30443 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30444 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30445 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30446 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30447 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30448 __mpranred, __mptan.
30449 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30450 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30451 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30452 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30453 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30454 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30455 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30456 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30457 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30458
304592011-10-28 Andreas Schwab <schwab@redhat.com>
30460
30461 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30462 redefine if SHARED.
30463 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30464
30465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30466 wide char related routines to wcsmbs subdir.
30467
304682011-10-27 Andreas Schwab <schwab@redhat.com>
30469
30470 [BZ #13344]
30471 * misc/sys/cdefs.h (__THROWNL): Define.
30472 * posix/unistd.h: Use __THREADNL instead of __THREAD
30473 for memory synchronization functions.
30474
304752011-10-26 Roland McGrath <roland@hack.frob.com>
30476
30477 [BZ #13349]
30478 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30479 doesn't exist.
30480 * manual/stdio.texi (Obstack Streams): Node removed.
30481
304822011-10-26 Andreas Schwab <schwab@redhat.com>
30483
30484 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30486 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30487
30488 * math/math_private.h (math_force_eval): Allow non-addressable
30489 arguments.
30490 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30491
304922011-10-25 Ulrich Drepper <drepper@gmail.com>
30493
30494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30495 file is not needed.
30496
30497 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30500 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30501 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30504 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30505 Add AVX variants.
30506 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30507 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30508 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30509 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30510 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30511 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30512 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30513 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30514 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30515 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30516 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30517 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30518 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30519 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30520 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30521 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30522 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30523 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30524 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30525
30526 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30527 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30528
30529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30530 place. Use VEX encoding when compiling for AVX.
30531
305322011-10-25 Andreas Schwab <schwab@redhat.com>
30533
30534 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30535 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30536
30537 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30538
305392011-10-25 Ulrich Drepper <drepper@gmail.com>
30540
30541 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30542 useless if() expression.
30543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30544 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30545 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30548 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30549 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30551 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30554 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30556 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30557 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30559 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30561 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30562
30563 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30564
305652011-10-25 Andreas Schwab <schwab@redhat.com>
30566
30567 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30568 condition.
30569 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30570
305712011-10-25 Ulrich Drepper <drepper@gmail.com>
30572
30573 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30574 .text section. Avoid duplicate constants.
30575 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30585 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30587 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30590 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30592 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30602 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30603 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30604 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30608 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30609 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30610 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30611 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30613 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30615 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30616 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30617 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30618 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30619 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30620
306212011-10-24 Ulrich Drepper <drepper@gmail.com>
30622
30623 * sysdeps/x86_64/dla.h: Move to ...
30624 * sysdeps/x86_64/fpu/dla.h: ...here.
30625 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30626 situations. Use __builtin_fma only for gcc 4.6 and up.
30627
30628 * config.make.in: Add have-mfma4 entry.
30629 * configure.in: Substitute libc_cv_cc_fma4.
30630 * math/Makefile (dbl-only-routines): Add sincostab.
30631 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30632 Use __sincostab not sincos.
30633 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30634 name is a macro.
30635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30639 using __copysign.
30640 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30641 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30642 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30643 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30644 and __inv.
30645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30646 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30647 __copysign.
30648 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30649 define aliases when function name is a macro.
30650 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30651 sysdeps/ieee754/dbl-64/sincos.tbl.
30652 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30653 fma4-enabled routines.
30654 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30655 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30656 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30657 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30658 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30659 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30663 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30664 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30665 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30666 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30667 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30668 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30669 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30670 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30671 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30672 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30674 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30675 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30679 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30681 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30682 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30683 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30684
30685 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30686 rename.
30687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30695
306962011-10-24 Andreas Schwab <schwab@redhat.com>
30697
30698 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30699
307002011-10-23 Ulrich Drepper <drepper@gmail.com>
30701
30702 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30703
30704 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30705 prediction.
30706 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30707
30708 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30709 Remove unused variable magic_bits.
30710 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30711
30712 * string/strnlen.c: Define and use STRNLEN macro.
30713 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30714 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30716 * wcsmbs/wcslen.c: Define and use WCSLEN.
30717 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30718 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30719 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30720 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30721 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30722 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30723 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30724
307252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30726
30727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30728 strnlen-sse2-no-bsf.
30729 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30731 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30732 Add strnlen support.
30733 (USE_AS_STRNLEN): New macro.
30734 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30735 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30736 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30737 * sysdeps/x86_64/wcslen.S: New file.
30738
307392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30740
30741 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30742 XMM-moves are used for copying on small sizes.
30743
307442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30745
30746 * wcsmbs/Makefile (strop-tests): Add wcschr.
30747 * wcsmbs/test-wcschr.c: New file.
30748 * string/test-strchr.c: Update.
30749 Add wcschr support.
30750 (WIDE): New macro.
30751
307522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30753
30754 * wcsmbs/Makefile (strop-tests): Add wcslen.
30755 * wcsmbs/test-wcslen.c: New file.
30756 * string/test-strlen.c: Update.
30757 Add wcslen support.
30758 (WIDE): New macro.
30759
307602011-10-23 Ulrich Drepper <drepper@gmail.com>
30761
30762 * po/it.po: Update from translation team.
30763
307642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30765
30766 * sysdeps/x86_64/wcscmp.S: Update.
30767 Fix wrong comparison semantics.
30768 wcscmp shall use signed comparison not unsigned.
30769 Don't use substraction to avoid overflow bug.
30770 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30771 * wcsmbc/wcscmp.c: Likewise.
30772 * string/test-strcmp.c: Likewise.
30773 Add new tests to check cases with negative values.
30774
307752011-10-23 Ulrich Drepper <drepper@gmail.com>
30776
30777 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30778 * sysdeps/x86_64/dla.h: ...here. New file.
30779 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30788
307892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30790
30791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30792 __ynl_finite aliases.
30793
307942011-10-22 Ulrich Drepper <drepper@gmail.com>
30795
30796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30797
30798 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30799 define DLA_FMA.
30800 [DLA_FMA] (EMULV): Use DLA_FMA.
30801 [DLA_FMA] (MUL12): Use EMULV.
30802 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30803 that are not needed.
30804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30811
308122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30813
30814 * math/s_nan.c: Undef __nan.
30815 * math/s_nanf.c: Undef __nanf.
30816 * math/s_nanl.c: Undef __nanl.
30817 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30818 "math_private.h".
30819
308202011-10-22 Ulrich Drepper <drepper@gmail.com>
30821
30822 * math/s_catan.c: Add branch predictions.
30823 * math/s_catanf.c: Likewise.
30824 * math/s_catanh.c: Likewise.
30825 * math/s_catanhf.c: Likewise.
30826 * math/s_catanhl.c: Likewise.
30827 * math/s_catanl.c: Likewise.
30828 * math/s_cexp.c: Likewise.
30829 * math/s_cexpf.c: Likewise.
30830 * math/s_cexpl.c: Likewise.
30831 * math/s_clog.c: Likewise.
30832 * math/s_clog10.c: Likewise.
30833 * math/s_clog10f.c: Likewise.
30834 * math/s_clog10l.c: Likewise.
30835 * math/s_clogf.c: Likewise.
30836 * math/s_clogl.c: Likewise.
30837 * math/s_csqrt.c: Likewise.
30838 * math/s_csqrtf.c: Likewise.
30839 * math/s_csqrtl.c: Likewise.
30840 * math/s_ctanf.c: Likewise.
30841 * math/s_ctanh.c: Likewise.
30842 * math/s_ctanhf.c: Likewise.
30843 * math/s_ctanhl.c: Likewise.
30844 * math/s_ctanl.c: Likewise.
30845
30846 * math/math_private.h: Define __nan, __nanf, __nanl.
30847 * math/s_cacosh.c: Include <math_private.h>.
30848 * math/s_cacoshl.c: Likewise.
30849 * math/s_casinh.c: Likewise.
30850 * math/s_casinhf.c: Likewise.
30851 * math/s_casinhl.c: Likewise.
30852 * math/s_ccos.c: Rely entire on ccosh.
30853 * math/s_ccosf.c: Rely entire on ccoshf.
30854 * math/s_ccosl.c: Rely entirely on ccoshl.
30855 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30856 Remove tests for FE_INVALID.
30857 * math/s_ccoshf.c: Likewise.
30858 * math/s_ccoshl.c: Likewise.
30859 * math/s_csin.c: Likewise.
30860 * math/s_csinf.c: Likewise.
30861 * math/s_csinh.c Likewise.
30862 * math/s_csinhf.c: Likewise.
30863 * math/s_csinhl.c: Likewise.
30864 * math/s_csinl.c: Likewise.
30865 * math/s_ctan.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30867 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30869
308702011-10-21 Ulrich Drepper <drepper@gmail.com>
30871
30872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30873 compilation problems.
30874
30875 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30876 __builtin_expect.
30877
308782011-10-20 Ulrich Drepper <drepper@gmail.com>
30879
30880 * sysdeps/i386/configure.in: Test for -mfma4 option.
30881 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30882 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30883 COMMON_CPUID_INDEX_80000001.
30884 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30885 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30886 use it if FMA3 is not supported.
30887 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30888
30889 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30890 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30891
308922011-10-20 Andreas Schwab <schwab@redhat.com>
30893
30894 [BZ #12892]
30895 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30896 it would create a cycle with a link time dependency.
30897
308982011-10-19 Ulrich Drepper <drepper@gmail.com>
30899
30900 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30901 instruction.
30902 * string/Makefile (strop-tests): Add rawmemchr.
30903 * string/test-rawmemchr.c: New file.
30904
30905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30907 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30908 when compiling str{,n}casecmp and when AVX is available. Hook up
30909 new optimized code in initializers.
30910
309112011-10-19 Andreas Schwab <schwab@redhat.com>
30912
30913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30914 __feraiseexcept instead of feraiseexcept.
30915
309162011-10-18 Ulrich Drepper <drepper@gmail.com>
30917
30918 * math/math_private.h: Define defaults for libc_fetestexcept and
30919 libc_feupdateenv.
30920 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30921 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30922 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30923 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30925 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30926 libc_fetestexcept and libc_feupdateenv.
30927
30928 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30929 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30930 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30931 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30932 libc_feholdexcept_setround.
30933
30934 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30935 Add s_nearbyint-c and s_nearbyintf-c.
30936 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30937 nearbyintf inlines.
30938 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30939 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30940 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30941 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30942
30943 * math/math_private.h: Define defaults for libc_fegetround,
30944 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30945 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30946 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30948 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30949 standard functions.
30950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30951 Remove comments and hacks for old compiler versions.
30952 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30953 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30954 libc_feholdexceptl.
30955
309562011-10-18 Andreas Schwab <schwab@redhat.com>
30957
30958 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30959 (__feraiseexcept_renamed): Add __NTH.
30960 (feraiseexcept): Add __NTH. Rename local variables to fix
30961 namespace violations.
30962
309632011-10-17 Ulrich Drepper <drepper@gmail.com>
30964
30965 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30966
30967 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30968
30969 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30970 recently added interfaces.
30971 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30972
30973 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30974 about macro parameter expansion.
30975
30976 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30977 __NO_MATH_INLINES is defined. Cleanups.
30978
30979 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30980 and __floorf is target has SSE4.1.
30981 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30982 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30984 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30985
30986 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30987 name.
30988 (floorf): Likewise.
30989
30990 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30991
309922011-10-17 Andreas Schwab <schwab@redhat.com>
30993
30994 * misc/sys/cdefs.h: Fix last change.
30995
30996 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30997 database lookup.
30998
309992011-10-16 Ulrich Drepper <drepper@gmail.com>
31000
31001 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31002
31003 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31008 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31009 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31012 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31013 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31014 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31015 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31016 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31017 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31018 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31019 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31020 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31021 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31022 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31023 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31024 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31025
31026 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31027 ceil, ceilf, floor, floorf.
31028
31029 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31030 Perform IRELATIVE relocations last.
31031
31032 * elf/do-rel.h: Add another parameter nrelative, replacing the
31033 local variable with the same name. Change name of the function
31034 to end in Rel or Rela (uppercase).
31035 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31036 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31037 elf_dynamic_do_##reloc function.
31038
310392011-10-15 Ulrich Drepper <drepper@gmail.com>
31040
31041 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31042 is sufficient, at least on modern CPUs.
31043
31044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31045
31046 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31047 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31048
31049 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31050 __expl_finite.
31051 * math/bits/math-finite.h: Add entries for exp.
31052 * math/e_expl.c: Add __*_finite alias.
31053 * sysdeps/i386/fpu/e_exp.S: Likewise.
31054 * sysdeps/i386/fpu/e_expf.S: Likewise.
31055 * sysdeps/i386/fpu/e_expl.c: Likewise.
31056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31057 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31060 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31061 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31062 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31063
31064 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31065 is sufficient, at least on modern CPUs.
31066
31067 * ctype/ctype-info.c (__ctype_init): Define.
31068 * include/ctype.h (__ctype_init): Declare.
31069 (__ctype_b_loc): The variable is always initialized.
31070 (__ctype_toupper_loc): Likewise.
31071 (__ctype_tolower_loc): Likewise.
31072 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31073 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31074
310752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31076
31077 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31078
31079 * configure.in: Also look in $cxxmachine/include for C++ system
31080 headers.
31081
310822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31083
31084 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31085 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31086 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31087 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31088 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31089 (USE_AS_WMEMCMP): New macro.
31090 Fixing indents.
31091 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31092 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31093 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31094 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31096 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31097 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31098 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31099 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31100 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31101 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31102 (USE_AS_WMEMCMP): New macro.
31103 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31104 * sysdeps/string/test-memcmp.c: Update.
31105 Fix simple_wmemcmp.
31106 Add new tests.
31107 * wcsmbs/wmemcmp.c: Update.
31108 (WMEMCMP): New macro.
31109 Fix overflow bug.
31110
311112011-10-12 Andreas Jaeger <aj@suse.de>
31112
31113 [BZ #13268]
31114 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31115
311162011-10-15 Ulrich Drepper <drepper@gmail.com>
31117
31118 * libio/iofwide.c (do_length): Avoid warning.
31119
31120 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31121
311222011-10-14 Ulrich Drepper <drepper@gmail.com>
31123
31124 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31125
31126 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31127 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31128 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31129 * sysdeps/i386/i686/fpu/e_log.S: New file.
31130 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31131 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31132
31133 * ctype/ctype.h: Add support for inlined isXXX functions when
31134 compiling C++ code.
31135
311362011-10-14 Andreas Schwab <schwab@redhat.com>
31137
31138 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31139
31140 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31141
311422011-10-13 Roland McGrath <roland@hack.frob.com>
31143
31144 [BZ #13291]
31145 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31146
311472011-10-13 Andreas Schwab <schwab@redhat.com>
31148
31149 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31150 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31151 feraiseexcept.
31152
31153 * sysdeps/x86_64/memrchr.S: Check for zero size.
31154
31155 * string/stratcliff.c: Add memrchr tests.
31156
311572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31158
31159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31160 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31161 rawmemchr-sse2 rawmemchr-sse2-bsf.
31162 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31163 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31164 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31165 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31166 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31167 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31168 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31169 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31170 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31171 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31172 * string/memrchr.c (MEMRCHR): New macro.
31173
311742011-10-12 Ulrich Drepper <drepper@gmail.com>
31175
31176 Add integration with gcc's -ffinite-math-only and optimize wrapper
31177 functions in libm.
31178 * Versions.def: Define GLIBC_2.15 version for libm.
31179 * math/Makefile (headers): Add bits/math-finite.h.
31180 * math/bits/math-finite.h: New file.
31181 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31182 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31183 * math/e_acoshl.c: Add __*_finite alias.
31184 * math/e_acosl.c: Likewise.
31185 * math/e_asinl.c: Likewise.
31186 * math/e_atan2l.c: Likewise.
31187 * math/e_atanhl.c: Likewise.
31188 * math/e_coshl.c: Likewise.
31189 * math/e_exp10.c: Likewise.
31190 * math/e_exp10f.c: Likewise.
31191 * math/e_exp10l.c: Likewise.
31192 * math/e_exp2l.c: Likewise.
31193 * math/e_fmodl.c: Likewise.
31194 * math/e_gammal_r.c: Likewise.
31195 * math/e_hypotl.c: Likewise.
31196 * math/e_j0l.c: Likewise.
31197 * math/e_j1l.c: Likewise.
31198 * math/e_jnl.c: Likewise.
31199 * math/e_lgammal_r.c: Likewise.
31200 * math/e_log10l.c: Likewise.
31201 * math/e_log2l.c: Likewise.
31202 * math/e_logl.c: Likewise.
31203 * math/e_powl.c: Likewise.
31204 * math/e_sinhl.c: Likewise.
31205 * math/e_sqrtl.c: Likewise.
31206 * math/e_scalb.c: Completely rewritten and optimized.
31207 * math/e_scalbf.c: Likewise.
31208 * math/e_scalbl.c: Likewise.
31209 * math/w_acos.c: Likewise.
31210 * math/w_acosf.c: Likewise.
31211 * math/w_acosl.c: Likewise.
31212 * math/w_acosh.c: Likewise.
31213 * math/w_acoshf.c: Likewise.
31214 * math/w_acoshl.c: Likewise.
31215 * math/w_asin.c: Likewise.
31216 * math/w_asinf.c: Likewise.
31217 * math/w_asinl.c: Likewise.
31218 * math/w_atan2.c: Likewise.
31219 * math/w_atan2f.c: Likewise.
31220 * math/w_atan2l.c: Likewise.
31221 * math/w_atanh.c: Likewise.
31222 * math/w_atanhf.c: Likewise.
31223 * math/w_atanhl.c: Likewise.
31224 * math/w_exp10.c: Likewise.
31225 * math/w_exp10f.c: Likewise.
31226 * math/w_exp10l.c: Likewise.
31227 * math/w_fmod.c: Likewise.
31228 * math/w_fmodf.c: Likewise.
31229 * math/w_fmodl.c: Likewise.
31230 * math/w_j0.c: Likewise.
31231 * math/w_j0f.c: Likewise.
31232 * math/w_j0l.c: Likewise.
31233 * math/w_j1.c: Likewise.
31234 * math/w_j1f.c: Likewise.
31235 * math/w_j1l.c: Likewise.
31236 * math/w_jn.c: Likewise.
31237 * math/w_jnf.c: Likewise.
31238 * math/w_log.c: Likewise.
31239 * math/w_logf.c: Likewise.
31240 * math/w_logl.c: Likewise.
31241 * math/w_log10.c: Likewise.
31242 * math/w_log10f.c: Likewise.
31243 * math/w_log10l.c: Likewise.
31244 * math/w_log2.c: Likewise.
31245 * math/w_log2f.c: Likewise.
31246 * math/w_log2l.c: Likewise.
31247 * math/w_pow.c: Likewise.
31248 * math/w_powf.c: Likewise.
31249 * math/w_powl.c: Likewise.
31250 * math/w_remainder.c: Likewise.
31251 * math/w_remainderf.c: Likewise.
31252 * math/w_remainderl.c: Likewise.
31253 * math/w_scalb.c: Likewise.
31254 * math/w_scalbf.c: Likewise.
31255 * math/w_scalbl.c: Likewise.
31256 * math/w_sqrt.c: Likewise.
31257 * math/w_sqrtf.c: Likewise.
31258 * math/w_sqrtl.c: Likewise.
31259 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31260 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31261 used.
31262 * math/math_private.h: Declare __kernel_standard_f.
31263 * math/w_cosh.c: Remove cruft and optimize a bit.
31264 * math/w_coshf.c: Likewise.
31265 * math/w_coshl.c: Likewise.
31266 * math/w_exp2.c: Likewise.
31267 * math/w_exp2f.c: Likewise.
31268 * math/w_exp2l.c: Likewise.
31269 * math/w_hypot.c: Likewise.
31270 * math/w_hypotf.c: Likewise.
31271 * math/w_hypotl.c: Likewise.
31272 * math/w_lgamma.c: Likewise.
31273 * math/w_lgamma_r.c: Likewise.
31274 * math/w_lgammaf.c: Likewise.
31275 * math/w_lgammaf_r.c: Likewise.
31276 * math/w_lgammal.c: Likewise.
31277 * math/w_lgammal_r.c: Likewise.
31278 * math/w_sinh.c: Likewise.
31279 * math/w_sinhf.c: Likewise.
31280 * math/w_sinhl.c: Likewise.
31281 * math/w_tgamma.c: Likewise.
31282 * math/w_tgammaf.c: Likewise.
31283 * math/w_tgammal.c: Likewise.
31284 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31285 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31286 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31287 Minor optimizations. Pretty printing. Remove cruft.
31288 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31289 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31290 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31291 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31292 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31293 * sysdeps/i386/fpu/e_asin.S: Likewise.
31294 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31295 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31296 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31297 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31298 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31299 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31301 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31302 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31303 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31304 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31305 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31306 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31307 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31308 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31309 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31310 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31311 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31312 * sysdeps/i386/fpu/e_log.S: Likewise.
31313 * sysdeps/i386/fpu/e_log10.S: Likewise.
31314 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31316 * sysdeps/i386/fpu/e_log2.S: Likewise.
31317 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31318 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31319 * sysdeps/i386/fpu/e_logf.S: Likewise.
31320 * sysdeps/i386/fpu/e_logl.S: Likewise.
31321 * sysdeps/i386/fpu/e_pow.S: Likewise.
31322 * sysdeps/i386/fpu/e_powf.S: Likewise.
31323 * sysdeps/i386/fpu/e_powl.S: Likewise.
31324 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31325 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31326 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31327 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31328 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31329 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31330 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31331 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31332 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31333 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31334 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31336 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31337 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31338 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31340 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31343 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31344 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31346 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31347 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31349 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31350 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31354 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31355 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31356 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31357 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31358 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31359 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31360 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31361 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31362 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31363 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31364 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31365 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31366 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31367 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31368 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31369 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31370 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31371 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31372 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31373 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31374 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31375 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31378 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31379 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31383 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31388 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31389 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31390 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31392 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31393 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31394 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31398 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31401 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31404 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31406 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31407 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31410 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31411 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31412 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31413 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31414 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31415 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31417 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31418 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31420 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31421 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31428 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31429 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31430 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31431 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31432 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31433 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31434 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31435 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31436 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31441 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31443 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31444 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31445 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31446 (__isnanf): Likewise.
31447 (__isinf_ns): Likewise.
31448 (__isinf_nsf): Likewise.
31449 (__finite): Likewise.
31450 (__finitef): Likewise.
31451 (__ieee754_sqrt): Define as macro.
31452 (__ieee754_sqrtf): Define as macro.
31453 (__ieee754_sqrtl): Define as macro.
31454 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31455 inlined copy.
31456 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31457 __FINITE_MATH_ONLY__ consistent.
31458 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31459
314602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31461
31462 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31463 of rawmemchr.
31464
31465 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31466
314672011-10-09 Ulrich Drepper <drepper@gmail.com>
31468
31469 * po/ja.po: Update from translation team.
31470
314712011-10-08 Roland McGrath <roland@hack.frob.com>
31472
31473 * locale/programs/locarchive.c (prepare_address_space): New function.
31474 (create_archive, enlarge_archive, open_archive): Use it.
31475
31476 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31477 inside [SHARED], where it is used.
31478
31479 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31480
31481 * nss/getent.c (netgroup_keys): Remove unused variable.
31482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31483
314842011-10-08 Ulrich Drepper <drepper@gmail.com>
31485
31486 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31487 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31489 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31490 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31491 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31492 * math/Makefile (libm-calls): Add s_isinf_ns.
31493 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31494 * math/multc3.c: Likewise.
31495 * math/s_casin.c: Likewise.
31496 * math/s_casinf.c: Likewise.
31497 * math/s_casinl.c: Likewise.
31498 * math/s_ccos.c: Likewise.
31499 * math/s_ccosf.c: Likewise.
31500 * math/s_ccosl.c: Likewise.
31501 * math/s_ctan.c: Likewise.
31502 * math/s_ctanf.c: Likewise.
31503 * math/s_ctanh.c: Likewise.
31504 * math/s_ctanhf.c: Likewise.
31505 * math/s_ctanhl.c: Likewise.
31506 * math/s_ctanl.c: Likewise.
31507 * math/w_fmod.c: Likewise.
31508 * math/w_fmodf.c: Likewise.
31509 * math/w_fmodl.c: Likewise.
31510 * math/w_remainder.c: Likewise.
31511 * math/w_remainderf.c: Likewise.
31512 * math/w_remainderl.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31514 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31515 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31517 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31518 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31519 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31520 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31521
31522 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31523 of the number.
31524 * stdio-common/printf_fphex.c: Likewise.
31525 * stdio-common/printf_size.c: Likewise.
31526
31527 * math/e_exp10.c: Include math_private.h using <...> not "...".
31528 * math/e_exp10f.c: Likewise.
31529 * math/e_exp10l.c: Likewise.
31530 * math/e_exp2l.c: Likewise.
31531 * math/e_j0l.c: Likewise.
31532 * math/e_j1l.c: Likewise.
31533 * math/e_jnl.c: Likewise.
31534 * math/e_lgammal_r.c: Likewise.
31535 * math/e_rem_pio2l.c: Likewise.
31536 * math/e_scalb.c: Likewise.
31537 * math/e_scalbf.c: Likewise.
31538 * math/e_scalbl.c: Likewise.
31539 * math/k_cosl.c: Likewise.
31540 * math/k_sinl.c: Likewise.
31541 * math/k_tanl.c: Likewise.
31542 * math/s_cacoshf.c: Likewise.
31543 * math/s_catan.c: Likewise.
31544 * math/s_catanf.c: Likewise.
31545 * math/s_catanh.c: Likewise.
31546 * math/s_catanhf.c: Likewise.
31547 * math/s_catanhl.c: Likewise.
31548 * math/s_catanl.c: Likewise.
31549 * math/s_ccosh.c: Likewise.
31550 * math/s_ccoshf.c: Likewise.
31551 * math/s_ccoshl.c: Likewise.
31552 * math/s_cexp.c: Likewise.
31553 * math/s_cexpf.c: Likewise.
31554 * math/s_cexpl.c: Likewise.
31555 * math/s_clog.c: Likewise.
31556 * math/s_clog10.c: Likewise.
31557 * math/s_clog10f.c: Likewise.
31558 * math/s_clog10l.c: Likewise.
31559 * math/s_clogf.c: Likewise.
31560 * math/s_clogl.c: Likewise.
31561 * math/s_csin.c: Likewise.
31562 * math/s_csinf.c: Likewise.
31563 * math/s_csinh.c: Likewise.
31564 * math/s_csinhf.c: Likewise.
31565 * math/s_csinhl.c: Likewise.
31566 * math/s_csinl.c: Likewise.
31567 * math/s_csqrt.c: Likewise.
31568 * math/s_csqrtf.c: Likewise.
31569 * math/s_csqrtl.c: Likewise.
31570 * math/s_ctan.c: Likewise.
31571 * math/s_ctanf.c: Likewise.
31572 * math/s_ctanh.c: Likewise.
31573 * math/s_ctanhf.c: Likewise.
31574 * math/s_ctanhl.c: Likewise.
31575 * math/s_ctanl.c: Likewise.
31576 * math/s_ldexp.c: Likewise.
31577 * math/s_ldexpf.c: Likewise.
31578 * math/s_ldexpl.c: Likewise.
31579 * math/s_significand.c: Likewise.
31580 * math/s_significandf.c: Likewise.
31581 * math/s_significandl.c: Likewise.
31582 * math/w_acos.c: Likewise.
31583 * math/w_acosf.c: Likewise.
31584 * math/w_acosh.c: Likewise.
31585 * math/w_acoshf.c: Likewise.
31586 * math/w_acoshl.c: Likewise.
31587 * math/w_acosl.c: Likewise.
31588 * math/w_asin.c: Likewise.
31589 * math/w_asinf.c: Likewise.
31590 * math/w_asinl.c: Likewise.
31591 * math/w_atan2.c: Likewise.
31592 * math/w_atan2f.c: Likewise.
31593 * math/w_atan2l.c: Likewise.
31594 * math/w_atanh.c: Likewise.
31595 * math/w_atanhf.c: Likewise.
31596 * math/w_atanhl.c: Likewise.
31597 * math/w_cosh.c: Likewise.
31598 * math/w_coshf.c: Likewise.
31599 * math/w_coshl.c: Likewise.
31600 * math/w_dremf.c: Likewise.
31601 * math/w_exp10.c: Likewise.
31602 * math/w_exp10f.c: Likewise.
31603 * math/w_exp10l.c: Likewise.
31604 * math/w_exp2.c: Likewise.
31605 * math/w_exp2f.c: Likewise.
31606 * math/w_fmod.c: Likewise.
31607 * math/w_fmodf.c: Likewise.
31608 * math/w_fmodl.c: Likewise.
31609 * math/w_hypot.c: Likewise.
31610 * math/w_hypotf.c: Likewise.
31611 * math/w_hypotl.c: Likewise.
31612 * math/w_j0.c: Likewise.
31613 * math/w_j0f.c: Likewise.
31614 * math/w_j0l.c: Likewise.
31615 * math/w_j1.c: Likewise.
31616 * math/w_j1f.c: Likewise.
31617 * math/w_j1l.c: Likewise.
31618 * math/w_jn.c: Likewise.
31619 * math/w_jnf.c: Likewise.
31620 * math/w_jnl.c: Likewise.
31621 * math/w_lgamma.c: Likewise.
31622 * math/w_lgamma_r.c: Likewise.
31623 * math/w_lgammaf.c: Likewise.
31624 * math/w_lgammaf_r.c: Likewise.
31625 * math/w_lgammal.c: Likewise.
31626 * math/w_lgammal_r.c: Likewise.
31627 * math/w_log.c: Likewise.
31628 * math/w_log10.c: Likewise.
31629 * math/w_log10f.c: Likewise.
31630 * math/w_log10l.c: Likewise.
31631 * math/w_log2.c: Likewise.
31632 * math/w_log2f.c: Likewise.
31633 * math/w_log2l.c: Likewise.
31634 * math/w_logf.c: Likewise.
31635 * math/w_logl.c: Likewise.
31636 * math/w_pow.c: Likewise.
31637 * math/w_powf.c: Likewise.
31638 * math/w_powl.c: Likewise.
31639 * math/w_remainder.c: Likewise.
31640 * math/w_remainderf.c: Likewise.
31641 * math/w_remainderl.c: Likewise.
31642 * math/w_scalb.c: Likewise.
31643 * math/w_scalbf.c: Likewise.
31644 * math/w_scalbl.c: Likewise.
31645 * math/w_sinh.c: Likewise.
31646 * math/w_sinhf.c: Likewise.
31647 * math/w_sinhl.c: Likewise.
31648 * math/w_sqrt.c: Likewise.
31649 * math/w_sqrtf.c: Likewise.
31650 * math/w_sqrtl.c: Likewise.
31651 * math/w_tgamma.c: Likewise.
31652 * math/w_tgammaf.c: Likewise.
31653 * math/w_tgammal.c: Likewise.
31654
31655 * po/ja.po: Update from translation team.
31656
316572011-09-29 Andreas Jaeger <aj@suse.de>
31658
31659 [BZ #13179]
31660 * sunrpc/netname.c (netname2host): Fix logic.
31661
31662 [BZ #6779]
31663 [BZ #6783]
31664 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31665 correctly.
31666 * math/w_remainder.c (__remainder): Likewise.
31667 * math/w_remainderf.c (__remainderf): Likewise.
31668 * math/libm-test.inc (remainder_test): Add test cases.
31669
316702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31671
31672 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31673 sdiv_qrnnd.
31674
316752011-10-07 Ulrich Drepper <drepper@gmail.com>
31676
31677 * string/test-memcmp.c: Avoid unncessary #defines.
31678 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31679
316802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31681
31682 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31683 Use new sse2 version for core i3 - i7 as it's faster
31684 than sse42 version.
31685 (bit_Prefer_PMINUB_for_stringop): New.
31686 * sysdeps/x86_64/rawmemchr.S: Update.
31687 Replace with faster SSE2 version.
31688 * sysdeps/x86_64/memrchr.S: New file.
31689 * sysdeps/x86_64/memchr.S: Update.
31690 Replace with faster SSE2 version.
31691
316922011-09-12 Marek Polacek <mpolacek@redhat.com>
31693
31694 * elf/dl-load.c (lose): Add cast to avoid warning.
31695
316962011-10-07 Ulrich Drepper <drepper@gmail.com>
31697
31698 * po/ca.po: Update from translation team.
31699
31700 * inet/getnetgrent_r.c: Hook up nscd.
31701 * nscd/Makefile (routines): Add nscd_netgroup.
31702 (nscd-modules): Add netgroupcache.
31703 (CFLAGS-netgroupcache.c): Define.
31704 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31705 (cache_search): Add const to second parameter.
31706 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31707 INNETGR.
31708 (dbs): Add netgrdb entry.
31709 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31710 (verify_persistent_db): Handle netgrdb.
31711 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31712 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31713 GETFDNETGR.
31714 (netgroup_response_header): Define.
31715 (innetgroup_response_header): Define.
31716 (datahead): Add netgroup_response_header and innetgroup_response_header
31717 elements.
31718 * nscd/nscd.conf: Add entries for netgroup cache.
31719 * nscd/nscd.h (dbtype): Add netgrdb.
31720 (_PATH_NSCD_NETGROUP_DB): Define.
31721 (netgroup_iov_disabled): Declare.
31722 (xmalloc, xcalloc, xrealloc): Move declarations here.
31723 (cache_search): Adjust prototype.
31724 Add netgroup-related prototypes.
31725 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31726 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31727 (__nscd_innetgr): Declare.
31728 * nscd/selinux.c (perms): Use access_vector_t as element type and
31729 add netgroup-related initializers.
31730 * nscd/netgroupcache.c: New file.
31731 * nscd/nscd_netgroup.c: New file.
31732 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31733 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31734 For four parameters use innetgr.
31735 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31736 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31737 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31738 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31739
31740 * nscd/connections.c (register_traced_file): Don't register file
31741 for disabled databases.
31742
317432011-10-06 Ulrich Drepper <drepper@gmail.com>
31744
31745 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31746
31747 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31748 from tree and freeing node.
31749
317502011-09-25 Jiri Olsa <jolsa@redhat.com>
31751
31752 * nss/nsswitch.c (__nss_database_lookup): Handle
31753 nss_parse_service_list out of memory case.
31754
317552011-09-15 Jiri Olsa <jolsa@redhat.com>
31756
31757 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31758 out of memory case.
31759
317602011-10-04 Andreas Schwab <schwab@redhat.com>
31761
31762 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31763 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31764 pass it down.
31765 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31766 elf_machine_rela, elf_machine_lazy_rel.
31767 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31768 (ELF_DYNAMIC_DO_REL): Likewise.
31769 (ELF_DYNAMIC_DO_RELA): Likewise.
31770 (ELF_DYNAMIC_RELOCATE): Likewise.
31771 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31772 to ELF_DYNAMIC_DO_REL.
31773 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31774 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31775 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31776 elf_machine_rela.
31777 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31778 skip_ifunc, don't call ifunc function if non-zero.
31779 (elf_machine_rela): Likewise.
31780 (elf_machine_lazy_rel): Likewise.
31781 (elf_machine_lazy_rela): Likewise.
31782 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31783 (elf_machine_lazy_rel): Likewise.
31784 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31785 Likewise.
31786 (elf_machine_lazy_rel): Likewise.
31787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31788 Likewise.
31789 (elf_machine_lazy_rel): Likewise.
31790 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31791 (elf_machine_lazy_rel): Likewise.
31792 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31793 (elf_machine_lazy_rel): Likewise.
31794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31795 (elf_machine_lazy_rel): Likewise.
31796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31797 (elf_machine_lazy_rel): Likewise.
31798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31799 (elf_machine_lazy_rel): Likewise.
31800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31801 (elf_machine_lazy_rel): Likewise.
31802
318032011-09-28 Ulrich Drepper <drepper@gmail.com>
31804
31805 * nss/nss_files/files-init.c (_nss_files_init): Use static
31806 initialization for all the *_traced_file variables.
31807
318082011-09-28 Andreas Schwab <schwab@redhat.com>
31809
31810 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31811
318122011-09-27 Roland McGrath <roland@hack.frob.com>
31813
31814 [BZ #13226]
31815 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31816
318172011-09-27 Andreas Schwab <schwab@redhat.com>
31818
31819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31820 Reread the line before reparsing it.
31821
318222011-09-26 Andreas Schwab <schwab@redhat.com>
31823
31824 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31825
318262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31827 Maxim Kuvyrkov <maxim@codesourcery.com>
31828 Joseph Myers <joseph@codesourcery.com>
31829
31830 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31831 if needed for __stack_chk_guard.
31832
318332011-09-19 Roland McGrath <roland@hack.frob.com>
31834
31835 * sysdeps/posix/spawni.c (script_execute): Always define it.
31836 It will be optimized away if unused.
31837 (maybe_script_execute): New function.
31838 (__spawni): Call it.
31839
31840 * Makerules: Don't include tls.make.
31841 (config-tls): Always set to thread.
31842 * tls.make.c: File removed.
31843
318442011-09-19 Mike Frysinger <vapier@gentoo.org>
31845
31846 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31847 * config.make.in (CPPFLAGS-config): New substituted variable.
31848
318492011-09-15 Ulrich Drepper <drepper@gmail.com>
31850
31851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31852
31853 [BZ #13192]
31854 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31855 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31856
318572011-09-15 Roland McGrath <roland@hack.frob.com>
31858
31859 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31860 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31862 (CALL_FAIL): Likewise.
31863 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31864 (CALL_FAIL): Macro removed.
31865 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31866
318672011-09-15 Ulrich Drepper <drepper@gmail.com>
31868
31869 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31870 for __FINITE_MATH_ONLY__ == 1.
31871
318722011-09-15 Andreas Schwab <schwab@redhat.com>
31873
31874 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31875 __ieee754_sqrt instead of sqrt.
31876 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31877 __ieee754_sqrtf instead of sqrtf.
31878 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31879 __floorf instead of floorf.
31880 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31881 __floorf, __truncf instead of floorf, truncf.
31882
318832011-09-14 Ulrich Drepper <drepper@gmail.com>
31884
31885 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31886
31887 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31888 __extern_always_inline.
31889 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31890 32-bit.
31891
318922011-09-14 Andreas Schwab <schwab@redhat.com>
31893
31894 * elf/rtld.c (dl_main): Also relocate in dependency order when
31895 doing symbol dependency testing.
31896
318972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31898
31899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31900 Always define `refsym'.
31901
319022011-09-13 Andreas Schwab <schwab@redhat.com>
31903
31904 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31905 (__FD_ELT): Renamed from __FDELT.
31906 * misc/bits/select2.h (__FD_ELT): Likewise.
31907 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31908 __FD_MASK instead of __FDELT, __FDMASK.
31909 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31910 Likewise.
31911 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31912 Likewise.
31913
31914 * elf/Makefile (gen-ldd): Fix pattern.
31915
31916 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31917 (init_tls): Likewise.
31918
319192011-09-12 Ulrich Drepper <drepper@gmail.com>
31920
31921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31922
319232011-09-12 Andreas Schwab <schwab@redhat.com>
31924
31925 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31926 `struct cmsghdr *' instead of `void *'.
31927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31928 Likewise.
31929
319302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31931
31932 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31933 if non-absolute.
31934 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31935 ldd_rewrite_script.
31936
319372011-09-11 Ulrich Drepper <drepper@gmail.com>
31938
31939 * configure.in: Remove --with-tls option.
31940 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31941 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31942 out in case it is missing.
31943 * sysdeps/ia64/elf/configure.in: Likewise.
31944 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31945 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31946 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31947 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31948 * sysdeps/sh/elf/configure.in: Likewise.
31949 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31950 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31951 * sysdeps/x86_64/elf/configure.in: Likewise.
31952 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31953 * sysdeps/mach/hurd/tls.h: Likewise.
31954
31955 [BZ #13067]
31956 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31957
31958 [BZ #13090]
31959 * configure.in: Fix use of AC_INIT.
31960
31961 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31962
319632011-09-10 Ulrich Drepper <drepper@gmail.com>
31964
31965 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31966 __set_errno.
31967 * malloc/hooks.c: Likewise.
31968
31969 [BZ #11929]
31970 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31971 variables statically.
31972 (narenas): Initialize.
31973 (list_lock): Initialize.
31974 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31975 initializtion of main_arena and list_lock. Small cleanups.
31976 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31977 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31978 Add initializers to main_arena and mp_.
31979 (malloc_state): Remove pagesize member. Change all users to use
31980 GLRO(dl_pagesize).
31981
31982 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31983 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31984 is always initialized.
31985
31986 * malloc/malloc.c: Removed unused configurations and dead code.
31987 * malloc/arena.c: Likewise.
31988 * malloc/hooks.c: Likewise.
31989 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31990
31991 * include/tls.h: Removed. USE___THREAD must always be defined.
31992 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31993 * elf/dl-libc.c: Likewise.
31994 * elf/dl-tsd.c: Likewise.
31995 * include/errno.h: Likewise.
31996 * include/netdb.h: Likewise.
31997 * include/resolv.h: Likewise.
31998 * inet/herrno-loc.c: Likewise.
31999 * inet/herrno.c: Likewise.
32000 * malloc/arena.c: Likewise.
32001 * malloc/hooks.c: Likewise.
32002 * malloc/malloc.c: Likewise.
32003 * resolv/res-state.c: Likewise.
32004 * resolv/res_libc.c: Likewise.
32005 * sysdeps/i386/dl-machine.h: Likewise.
32006 * sysdeps/ia64/dl-machine.h: Likewise.
32007 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32008 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32009 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32010 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32011 * sysdeps/sh/dl-machine.h: Likewise.
32012 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32013 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32014 * sysdeps/unix/i386/sysdep.S: Likewise.
32015 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32016 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32021 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32025 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32026 * sysdeps/x86_64/dl-machine.h: Likewise.
32027 * tls.make.c: Likewise.
32028
32029 * configure.in: Remove --with-__thread option. Make tests for
32030 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32031 tls_model attribute fail if no support is available. Remove
32032 USE_IN_LIBIO.
32033 * Makeconfig: Adjust for dropped configure option. All features are
32034 now mandatory.
32035 * Makerules: Likewise.
32036 * Versions.def: Likewise.
32037 * argp/argp-fmtstream.c: Likewise.
32038 * argp/argp-fmtstream.h: Likewise.
32039 * argp/argp-help.c: Likewise.
32040 * assert/assert.c: Likewise.
32041 * config.h.in: Likewise.
32042 * config.make.in: Likewise.
32043 * configure: Likewise.
32044 * configure.in: Likewise.
32045 * csu/Versions: Likewise.
32046 * csu/init.c: Likewise.
32047 * elf/tst-audit2.c: Likewise.
32048 * elf/tst-tls10.c: Likewise.
32049 * elf/tst-tls10.h: Likewise.
32050 * elf/tst-tls11.c: Likewise.
32051 * elf/tst-tls12.c: Likewise.
32052 * elf/tst-tls14.c: Likewise.
32053 * elf/tst-tlsmod11.c: Likewise.
32054 * elf/tst-tlsmod12.c: Likewise.
32055 * elf/tst-tlsmod13.c: Likewise.
32056 * elf/tst-tlsmod13a.c: Likewise.
32057 * elf/tst-tlsmod14a.c: Likewise.
32058 * elf/tst-tlsmod15b.c: Likewise.
32059 * elf/tst-tlsmod16a.c: Likewise.
32060 * elf/tst-tlsmod16b.c: Likewise.
32061 * elf/tst-tlsmod7.c: Likewise.
32062 * elf/tst-tlsmod8.c: Likewise.
32063 * elf/tst-tlsmod9.c: Likewise.
32064 * gmon/gmon.c: Likewise.
32065 * grp/fgetgrent_r.c: Likewise.
32066 * grp/putgrent.c: Likewise.
32067 * hurd/fopenport.c: Likewise.
32068 * include/libc-symbols.h: Likewise.
32069 * include/tls.h: Likewise.
32070 * intl/gettextP.h: Likewise.
32071 * intl/loadinfo.h: Likewise.
32072 * locale/global-locale.c: Likewise.
32073 * locale/localeinfo.h: Likewise.
32074 * mach/devstream.c: Likewise.
32075 * malloc/arena.c: Likewise.
32076 * malloc/set-freeres.c: Likewise.
32077 * misc/err.c: Likewise.
32078 * misc/getttyent.c: Likewise.
32079 * misc/mntent_r.c: Likewise.
32080 * posix/getopt.c: Likewise.
32081 * posix/wordexp.c: Likewise.
32082 * pwd/fgetpwent_r.c: Likewise.
32083 * resolv/Versions: Likewise.
32084 * resolv/res_hconf.c: Likewise.
32085 * shadow/fgetspent_r.c: Likewise.
32086 * shadow/putspent.c: Likewise.
32087 * stdio-common/printf_fphex.c: Likewise.
32088 * stdio-common/tmpfile.c: Likewise.
32089 * stdlib/abort.c: Likewise.
32090 * stdlib/fmtmsg.c: Likewise.
32091 * sunrpc/auth_unix.c: Likewise.
32092 * sunrpc/clnt_perr.c: Likewise.
32093 * sunrpc/clnt_tcp.c: Likewise.
32094 * sunrpc/clnt_udp.c: Likewise.
32095 * sunrpc/clnt_unix.c: Likewise.
32096 * sunrpc/openchild.c: Likewise.
32097 * sunrpc/svc_simple.c: Likewise.
32098 * sunrpc/svc_tcp.c: Likewise.
32099 * sunrpc/svc_udp.c: Likewise.
32100 * sunrpc/svc_unix.c: Likewise.
32101 * sunrpc/xdr.c: Likewise.
32102 * sunrpc/xdr_array.c: Likewise.
32103 * sunrpc/xdr_rec.c: Likewise.
32104 * sunrpc/xdr_ref.c: Likewise.
32105 * sunrpc/xdr_stdio.c: Likewise.
32106
321072011-09-09 Ulrich Drepper <drepper@gmail.com>
32108
32109 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32110
321112011-07-03 Andreas Jaeger <aj@suse.de>
32112
32113 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32114 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32115 regenerate with gen-libm-tests.pl.
32116
321172010-05-12 Petr Baudis <pasky@suse.cz>
32118
32119 [BZ #11589]
32120 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32121 around j0() zero points by switching to j1().
32122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32125 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32126
321272011-09-09 Ulrich Drepper <drepper@gmail.com>
32128
32129 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32130 instead of 0.
32131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32132 instead of 0.
32133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32134 Patch in part by Pavel Roskin <proski@gnu.org>.
32135
32136 [BZ #13138]
32137 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32138 realloc.
32139 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32140 Free memory block if necessary.
32141
32142 [BZ #12847]
32143 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32144 be NULL. Don't lock in this case.
32145
321462011-09-09 Roland McGrath <roland@hack.frob.com>
32147
32148 * elf/elf.h (ELFOSABI_GNU): New macro.
32149 (ELFOSABI_LINUX): Define to that.
32150
321512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32152
32153 * string/strncat.c (strncat): Undef the symbol in case it has been
32154 defined in bits/string.h.
32155
321562011-09-09 Ulrich Drepper <drepper@gmail.com>
32157
32158 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32159
32160 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32161 link map.
32162
321632011-08-17 Andreas Jaeger <aj@suse.de>
32164
32165 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32166
321672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32168 Ian Lance Taylor <iant@google.com>
32169
32170 * math/libm-test.inc (lround_test): New testcase.
32171 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32172
321732011-09-08 Ulrich Drepper <drepper@gmail.com>
32174
32175 * Makefile: Remove support for automatic cvs check-ins.
32176 * Makerules: Likewise.
32177 * config.make.in: Likewise.
32178 * configure.in: Likewise.
32179 * intl/Makefile: Likewise.
32180 * locale/Makefile: Likewise.
32181 * po/Makefile: Likewise.
32182 * posix/Makefile: Likewise.
32183 * sysdeps/gnu/Makefile: Likewise.
32184 * sysdeps/mach/hurd/Makefile: Likewise.
32185 * sysdeps/sparc/sparc32/Makefile: Likewise.
32186
32187 [BZ #13118]
32188 * posix/Makefile (bug-regex32-ENV): Define.
32189 Patch by John Stanley <jpsinthemix@verizon.net>.
32190
32191 * misc/Makefile (headers): Add bits/select2.h.
32192 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32193 * misc/bits/select2.h: New file.
32194 * include/bits/select2.h: New file.
32195 * debug/Makefile (routines): Add fdelt_chk.
32196 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32197 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32198 FD_ISSET.
32199 * debug/fdelt_chk.c: New file.
32200
32201 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32202 * wcsmbs/test-wmemcmp.c: Likewise.
32203 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32204 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32205
322062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32207
32208 * string/Makefile (strop-tests): Add memcmp.
32209 * string/test-wmemcmp.c: New file.
32210 * string/test-memcmp.c: Add wmemcmp support.
32211
322122011-09-08 Roland McGrath <roland@hack.frob.com>
32213
32214 [BZ #13153]
32215 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32216 2011-07-19 change.
32217
32218 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32219 garbage value in a __mach_port_mod_refs call in the cases of the
32220 task-self and thread-self ports.
32221
322222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32223
32224 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32225
322262011-09-08 Andreas Schwab <schwab@redhat.com>
32227
32228 * elf/dl-load.c (lose): Check for non-null L.
32229
322302011-09-07 Ulrich Drepper <drepper@gmail.com>
32231
32232 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32233
32234 * elf/dl-libc.c (dlerror_run): Pass back error code from
32235 dl_catch_error.
32236
32237 [BZ #13123]
32238 * elf/dl-load.c (lose): Free l_origin if it is valid.
32239
32240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32241 names.
32242 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32245 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32247 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32248
322492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32250
32251 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32252 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32253 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32254 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32255 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32256 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32257 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32258 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32259 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32260 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32261
322622011-08-15 Alan Modra <amodra@gmail.com>
32263
32264 [BZ #13092]
32265 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32266 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32267 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32268 ppc_mcount to static-only-routines.
32269 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32270 __mcount_internal.
32271 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32272 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32273
322742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32275
32276 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32277 for finite and infinity parameters.
32278
322792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32280
32281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32282 and add nop instructions for throughput optimization.
32283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32284
322852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32286
32287 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32288 aligned copy for power7 with vector-scalar instructions.
32289 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32290
322912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32294 AVX check.
32295
322962011-09-07 Andreas Schwab <schwab@redhat.com>
32297
32298 [BZ #13144]
32299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32300 last change.
32301
323022011-09-07 Ulrich Drepper <drepper@gmail.com>
32303
32304 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32305 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32306 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32307 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32308 clock_gettime.
32309
323102011-09-06 Ulrich Drepper <drepper@gmail.com>
32311
32312 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32313 Forgot to demangle the pointer.
32314
32315 * sysdeps/i386/sysdep.h: Define atom_text_section.
32316 * sysdeps/x86_64/sysdep.h: Likewise.
32317 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32318 section with atom_text_section.
32319 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32321 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32323 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32324
32325 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32326 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32327 already be defined. Change to take two parameters and don't assign
32328 result to variable. Adjust all users.
32329 Define INTERNAL_GETTIME if not already defined.
32330 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32331 call.
32332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32333 HAVE_CLOCK_GETTIME_VSYSCALL.
32334 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32335
32336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32337 gettimeofday vsyscall, just use time.
32338
323392011-09-06 Andreas Schwab <schwab@redhat.com>
32340
32341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32342 <errno.h>.
32343
323442011-09-06 Ulrich Drepper <drepper@gmail.com>
32345
32346 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32347 syscall on x86-64.
32348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32349 syscall.
32350 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32352 syscall if possible.
32353
323542011-09-05 Ulrich Drepper <drepper@gmail.com>
32355
32356 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32357 e_ident. Don't pass to find_mapsXX.
32358 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32359
323602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32361
32362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32363 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32364 * sysdeps/x86_64/multiarch/strchr.S: Update.
32365 Check bit_slow_BSF bit.
32366 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32367 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32368 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32369
323702011-09-05 Ulrich Drepper <drepper@gmail.com>
32371
32372 [BZ #13134]
32373 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32374 before glibc 2.15.
32375 (tryshell): Define.
32376 (__spawni): Change last parameter to be flag. Test
32377 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32378 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32379 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32380 * posix/spawni.c: Likewise.
32381 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32382 * posix/spawnp.c: Likewise. Change normal version to use
32383 SPAWN_XFLAGS_USE_PATH.
32384 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32385 SPAWN_XFLAGS_TRY_SHELL.
32386
32387 [BZ #13150]
32388 * posix/glob.h: Remove gcc 1.x support.
32389
32390 [BZ #13068]
32391 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32392
323932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32394
32395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32396 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32397 strrchr-sse2-bsf
32398 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32399 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32400 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32401 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32402 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32403 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32404
324052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32406
32407 * sysdeps/x86_64/wcscmp.S: New file.
32408
32409 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32410 wcscmp-c wcscmp-sse2
32411 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32412 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32413 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32414 * wcsmbs/wcscmp.c: Allow renaming.
32415
324162011-09-05 David S. Miller <davem@davemloft.net>
32417
32418 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32419 stack slot, rather than the struct return pointer slot.
32420 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32421 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32423 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32424
324252011-09-05 Ulrich Drepper <drepper@gmail.com>
32426
32427 * po/ja.po: Update from translation team.
32428
32429 [BZ #13144]
32430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32431 kernel in 64-bit binaries.
32432
324332011-09-01 David S. Miller <davem@davemloft.net>
32434
32435 * elf/elf.h (HWCAP_SPARC_*): Move to..
32436 * sysdeps/sparc/sysdep.h: this new file and add new values.
32437 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32438 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32439 _DL_HWCAP_COUNT to 24.
32440 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32441 entries.
32442 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32443 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32444 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32446 instead of magic constants.
32447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32448
324492011-08-31 David S. Miller <davem@davemloft.net>
32450
32451 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32453 Reimplement to do errno handling inline.
32454 (SYSCALL_ERROR_HANDLER): New macro.
32455 (__SYSCALL_STRING): Do not do errno handling in asm.
32456 (__CLONE_SYSCALL_STRING): Delete.
32457 (__INTERNAL_SYSCALL_STRING): Delete.
32458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32459 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32460 (PSEUDO): Reimplement to do errno handling inline.
32461 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32462 (SYSCALL_ERROR_HANDLER): New macro.
32463 (__SYSCALL_STRING): Do not do errno handling in asm.
32464 (__CLONE_SYSCALL_STRING): Delete.
32465 (__INTERNAL_SYSCALL_STRING): Delete.
32466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32467 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32468 i386.
32469 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32470 (inline_syscall*): Add 'err' argument.
32471 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32472 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32473 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32474 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32475
32476 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32477 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32478
324792011-08-30 Andreas Schwab <schwab@redhat.com>
32480
32481 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32482
324832011-08-29 Jiri Olsa <jolsa@redhat.com>
32484
32485 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32486 directive.
32487
324882011-08-24 David S. Miller <davem@davemloft.net>
32489
32490 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32491
324922011-08-24 Andreas Schwab <schwab@redhat.com>
32493
32494 * elf/Makefile: Add rules to build and run unload8 test.
32495 * elf/unload8.c: New file.
32496 * elf/unload8mod1.c: New file.
32497 * elf/unload8mod1x.c: New file.
32498 * elf/unload8mod2.c: New file.
32499 * elf/unload8mod3.c: New file.
32500
32501 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32502 it wasn't used.
32503
325042011-08-23 David S. Miller <davem@davemloft.net>
32505
32506 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32507 subtract stack bias.
32508 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32509 %sp not %fp in calculations.
32510 (_JMPBUF_UNWINDS_ADJ): Likewise.
32511
32512 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32513 (aio_suspend): Call it to force an exception region around the
32514 AIO_MISC_WAIT() invocation.
32515
325162011-08-23 Andreas Schwab <schwab@redhat.com>
32517
32518 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32519 backslash.
32520
325212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32522
32523 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32524 protection macro.
32525 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32526 and <dl-machine.h>.
32527 (Elf64_FuncDesc): Remove.
32528
325292011-08-22 David S. Miller <davem@davemloft.net>
32530
32531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32532 sigaltstack check, add missing cfi directives.
32533 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32534 missing cfi directives, and sigaltstack handling.
32535
325362011-08-16 Andreas Schwab <schwab@redhat.com>
32537
32538 [BZ #11724]
32539 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32540 object is seen twice.
32541 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32542
32543 * elf/Makefile (distribute): Add tst-initorder2.c.
32544 (tests): Add tst-initorder2.
32545 (modules-names): Add tst-initorder2a tst-initorder2b
32546 tst-initorder2c tst-initorder2d. Add rules to build them.
32547 ($(objpfx)tst-initorder2.out): New rule.
32548 * elf/tst-initorder2.c: New file.
32549 * elf/tst-initorder2.exp: New file.
32550
325512011-08-22 Andreas Schwab <schwab@redhat.com>
32552
32553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32554
32555 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32556 dependencies back to end of function.
32557
32558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32559 $(elfobjdir)/ld.so.
32560
325612011-08-21 Ulrich Drepper <drepper@gmail.com>
32562
32563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32564 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32566 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32567 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32568 of __vdso_gettimeofday.
32569 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32570 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32571 attribute_hidden.
32572 (_libc_vdso_platform_setup): Remove initialization of
32573 __vdso_gettimeofday and __vdso_time.
32574
325752011-08-20 Ulrich Drepper <drepper@gmail.com>
32576
32577 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32578 and fgetc_unlocked.
32579 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32580 getc_unlocked.
32581
32582 * elf/dl-open.c (add_to_global): Report additions to the global scope
32583 for LD_DEBUG=scopes.
32584 (dl_open_worker): Also print scope of newly loaded dependencies.
32585 (_dl_show_scope): Indicate if there is no scope.
32586
32587 [BZ #13114]
32588 * stdio-common/Makefile (tests): Add bug24.
32589 * stdio-common/bug24.c: New file.
32590
325912011-08-19 Andreas Jaeger <aj@suse.de>
32592
32593 [BZ #13114]
32594 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32595 non-existant file when using close-on-exec mode.
32596
325972011-08-20 Ulrich Drepper <drepper@gmail.com>
32598
32599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32600 the very first instruction.
32601
32602 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32603 the CFI state in the end.
32604 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32605 inclusion of dl-trampoline.h.
32606 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32607
326082011-08-19 Andreas Schwab <schwab@redhat.com>
32609
32610 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32611 expectations for long double.
32612
32613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32614 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32615
326162011-08-14 David S. Miller <davem@davemloft.net>
32617
32618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32619 artificual limit depends upon the system page size.
32620
326212011-08-17 Ulrich Drepper <drepper@gmail.com>
32622
32623 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32624 * resolv/Makefile: Define CFLAGS-libresolv.
32625
326262011-08-17 Andreas Schwab <schwab@redhat.com>
32627
32628 * nss/makedb.c (compute_tables): Make variables used in nested
32629 function static.
32630
326312011-08-17 Ulrich Drepper <drepper@gmail.com>
32632
32633 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32634 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32635 if buffer was too small.
32636
32637 * elf/pldd.c (main): Attach to all threads in the process.
32638 Rewrite /proc handling to use *at functions.
32639
326402011-08-16 Ulrich Drepper <drepper@gmail.com>
32641
32642 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32643 specifies first scope to show.
32644 (dl_open_worker): Update callers. Move printing scope of new
32645 object to before the relocation.
32646 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32647 * sysdeps/generic/ldsodefs.h: Update declaration.
32648
32649 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32650 string for the scope number.
32651
326522011-08-14 Ulrich Drepper <drepper@gmail.com>
32653
32654 * nscd/servicescache.c (cache_addserv): Make sure written is always
32655 initialized.
32656
326572011-08-14 Roland McGrath <roland@hack.frob.com>
32658
32659 * sysdeps/i386/i486/bits/atomic.h
32660 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32661 statement expression, so as to suppress "set but not used" warning.
32662 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32663
32664 * string/strncat.c (STRNCAT): Use prototype definition.
32665
32666 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32667 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32668 -Iprograms here.
32669 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32670 (localedef-modules): Add localedef.
32671 (locale-modules): Add locale.
32672
32673 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32674 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32675 to avoid a warning.
32676
326772011-08-14 David S. Miller <davem@davemloft.net>
32678
32679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32680 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32681
326822011-08-13 Ulrich Drepper <drepper@gmail.com>
32683
32684 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32685 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32686 * elf/rtld.c (dl_main): Set l_name of vDSO.
32687 Call _dl_show_scope when DL_DEBUG_SCOPES.
32688 (process_dl_debug): Recognize scopes flag and also set it for all.
32689 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32690 Declare _dl_show_scope.
32691
32692 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32693 (do_dlopen): Pass caller_dlopen to dl_open.
32694 (__libc_dlopen_mode): Initialize caller_dlopen.
32695
32696 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32697 of libc. Make tolower call locale-independent. Optimize a bit by
32698 using isdigit instead of isalnum.
32699 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32700
327012011-08-12 Ulrich Drepper <drepper@gmail.com>
32702
32703 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32704 was a dependency or dynamically loaded.
32705
327062011-08-11 Ulrich Drepper <drepper@gmail.com>
32707
32708 * intl/l10nflist.c: Allow architecture-specific pop function.
32709 * sysdeps/x86_64/l10nflist.c: New file.
32710
32711 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32712 classification.
32713
327142011-08-10 Andreas Schwab <schwab@redhat.com>
32715
32716 * include/dirent.h: Add libc_hidden_proto for scandirat and
32717 scandirat64. Don't declare __scandirat64.
32718 * dirent/scandirat.c: Add libc_hidden_def.
32719 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32720 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32721
327222011-08-10 David S. Miller <davem@davemloft.net>
32723
32724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32725 enum.
32726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32729
327302011-08-09 Ulrich Drepper <drepper@gmail.com>
32731
32732 * Versions.def [libc]: Add GLIBC_2.15.
32733 * dirent/Makefile (routines): Add scandirat and scandirat64.
32734 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32735 GLIBC_2.15.
32736 * dirent/dirent.h: Declare scandirat and scandirat64.
32737 * dirent/scandirat.c: New file.
32738 * dirent/scandirat64.c: New file.
32739 * sysdeps/wordsize-64/scandirat.c: New file.
32740 * sysdeps/wordsize-64/scandirat64.c: New file.
32741 * dirent/opendir.c: Define opendirat.
32742 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32743 using scandirat.
32744 * dirent/scandir64.c: Adjust for scandir.c change.
32745 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32746 __scandirat64, and __scandir_cancel_handler.
32747 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32748 additional parameter and use openat instead of open (outside of ld.so).
32749 Add new __opendir as wrapper around __opendirat.
32750 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32751 here without requiring old scandirat implementation.
32752
327532011-08-08 Ulrich Drepper <drepper@gmail.com>
32754
32755 * dirent/scandir.c (cancel_handler): Renamed to
32756 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32757 defined. Adjust users.
32758 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32760
327612011-08-04 Ulrich Drepper <drepper@gmail.com>
32762
32763 * string/test-string.h (IMPL): Use __STRING to expand name and then
32764 stringify it.
32765
32766 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32767 of cleanups.
32768
327692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32770
32771 * string/Makefile: Update.
32772 (strop-tests): Append strncat.
32773 * string/test-wcscmp.c: New file.
32774 New comprehensive test for wcscmp.
32775 * string/test-strcmp.c: Update.
32776 (WIDE): New define.
32777
327782011-07-22 Andreas Schwab <schwab@redhat.com>
32779
32780 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32781 line.
32782
327832011-07-26 Andreas Schwab <schwab@redhat.com>
32784
32785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32786 encoding to ACE if AI_IDN.
32787
327882011-08-01 Jakub Jelinek <jakub@redhat.com>
32789
32790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32791 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32792
327932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32794
32795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32796 Fix overflow bug in strncat.
32797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32798
32799 * string/test-strncat.c: Update.
32800 Add new tests for checking overflow bugs.
32801
328022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32803
32804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32805 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32806 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32807 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32808 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32809 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32810 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32811 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32812 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32813
32814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32815 (USE_AS_STRCAT): Define.
32816 Add strcat and strncat support.
32817 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32818
328192011-07-25 Andreas Schwab <schwab@redhat.com>
32820
32821 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32822 __n bigger than INT_MAX+1.
32823 (__strncmp_g): Likewise.
32824
328252011-07-23 Ulrich Drepper <drepper@gmail.com>
32826
32827 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32828 * libio/stido.h: Likewise.
32829
32830 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32831 (AF_NFC): Define.
32832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32833 (AF_NFC): Define.
32834
32835 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32836 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32838 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32839 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32840
32841 [BZ #13021]
32842 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32843 installed.
32844
32845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32846 typo.
32847 (_dl_x86_64_save_sse): Likewise.
32848
328492011-07-22 Ulrich Drepper <drepper@gmail.com>
32850
32851 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32852 OSXSAVE.
32853 (_dl_x86_64_save_sse): Likewise.
32854
32855 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32856
32857 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32858
328592011-07-21 Andreas Schwab <schwab@redhat.com>
32860
32861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32862 change.
32863 (_dl_x86_64_save_sse): Use correct AVX check.
32864
328652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32866
32867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32868 bug in strncpy/strncat.
32869 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32870
328712011-07-21 Ulrich Drepper <drepper@gmail.com>
32872
32873 * string/tester.c (test_strcat): Add tests for different alignments
32874 of source and destination.
32875 (test_strncat): Likewise.
32876
328772011-07-20 Ulrich Drepper <drepper@gmail.com>
32878
32879 [BZ #12852]
32880 * posix/glob.c (glob): Check passed in values before using them in
32881 expressions to avoid some overflows.
32882 (glob_in_dir): Likewise.
32883
32884 [BZ #13007]
32885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32886 check for AVX enablement so that we don't crash with old kernels and
32887 new hardware.
32888 * elf/tst-audit4.c: Add same checks here.
32889 * elf/tst-audit6.c: Likewise.
32890
32891 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32892
328932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32894
32895 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32896
328972011-07-20 Ulrich Drepper <drepper@gmail.com>
32898
32899 * po/cs.po: Update from translation team.
32900 * po/bg.po: Likewise.
32901
329022011-07-12 Marek Polacek <mpolacek@redhat.com>
32903
32904 * misc/sys/cdefs.h: Add support for const attribute.
32905 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32906 to gnu_dev_{major,minor,makedev} functions.
32907
329082011-07-20 Marek Polacek <mpolacek@redhat.com>
32909
32910 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32911
329122011-07-20 Andreas Schwab <schwab@redhat.com>
32913
32914 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32915 strlen results.
32916
329172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32918
32919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32920 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32921 register in order to avoid conflicts with the soft frame pointer
32922 being held in r11 when necessary.
32923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32924 (INTERNAL_VSYSCALL_NCS): Likewise.
32925
329262011-07-14 Marek Polacek <mpolacek@redhat.com>
32927
32928 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32929 * elf/dl-fini.c (_dl_fini): Adjust caller.
32930 * elf/dl-close.c (_dl_close_worker): Likewise.
32931 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32932
329332011-07-15 Marek Polacek <mpolacek@redhat.com>
32934
32935 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32936 "aux_cache->nlibs < 0".
32937
32938 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32939 in the reload-count case.
32940
329412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32942
32943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32944 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32945 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32946 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32947 * sysdeps/x86_64/multiarch/strcat.S: New file.
32948 * sysdeps/x86_64/multiarch/strncat.S: New file.
32949 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32951 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32952 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32954 (USE_AS_STRCAT): Define.
32955 Add strcat and strncat support.
32956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32958 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32959 * string/strncat.c: Update.
32960 (USE_AS_STRNCAT): Define.
32961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32962 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32963 and i7.
32964 * sysdeps/x86_64/multiarch/init-arch.h
32965 (bit_Prefer_PMINUB_for_stringop): New.
32966 (index_Prefer_PMINUB_for_stringop): Likewise.
32967 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32968 bit_Prefer_PMINUB_for_stringop.
32969
329702011-07-19 Ulrich Drepper <drepper@gmail.com>
32971
32972 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32973 buffer64.
32974 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32975 of casting of buffer.
32976 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32977 buffer32 and buffer64.
32978 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32979 writes instead of casting of buffer.
32980 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32981 buffer32.
32982 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32983 casting of buffer.
32984
329852011-07-19 Andreas Schwab <schwab@redhat.com>
32986
32987 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32988
329892011-07-19 Ulrich Drepper <drepper@gmail.com>
32990
32991 * nscd/nscd.c (termination_handler): Don't do anything for a database
32992 if it has not yet been initialized.
32993
329942011-07-18 Ulrich Drepper <drepper@gmail.com>
32995
32996 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32997
329982011-07-15 Marek Polacek <mpolacek@redhat.com>
32999
33000 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33001
330022011-07-18 Ulrich Drepper <drepper@gmail.com>
33003
33004 * po/nl.po: Update from translation team.
33005 * po/sv.po: Likewise.
33006
330072011-07-16 Roland McGrath <roland@hack.frob.com>
33008
33009 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33010 now disallowed by GCC.
33011
33012 * configure.in (use-default-link): Default to yes if a test -shared
33013 link meets our qualifications.
33014 * configure: Regenerated.
33015
33016 * config.make.in (output-format): New variable.
33017 * configure.in: Check for ld --print-output-format support.
33018 * configure: Regenerated.
33019 * Makerules ($(common-objpfx)format.lds)
33020 [$(output-format) != unknown]: Just use $(output-format),
33021 instead of the linker-script munging.
33022
330232011-07-14 Roland McGrath <roland@hack.frob.com>
33024
33025 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33026 of $(common-objpfx)shlib.lds.
33027 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33028
33029 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33030 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33031
33032 * configure.in (-z relro check): Adjust test code to add a large
33033 writable data section after it.
33034 * configure: Regenerated.
33035
330362011-07-11 Roland McGrath <roland@hack.frob.com>
33037
33038 * configure.in (-z relro check): Fix test code to make the variable
33039 truly const.
33040 * configure: Regenerated.
33041
330422011-07-11 Ulrich Drepper <drepper@gmail.com>
33043
33044 * nscd/nscd.h (struct traced_file): Define.
33045 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33046 elements. Add traced_files.
33047 (inotify_fd): Declare.
33048 (register_traced_file): Declare.
33049 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33050 (inotify_fd): Export.
33051 (resolv_conf_descr): Remove.
33052 (nscd_init): Move inotify descriptor creation to main.
33053 Don't register files for notification here.
33054 (register_traced_file): New function.
33055 (invalidate_cache): Don't use reset_res to determine whether to call
33056 res_init, go through the list of registered files.
33057 (main_loop_poll): The inotify descriptors are now stored in the
33058 structures for the traced files.
33059 (main_loop_epoll): Likewise
33060 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33061 to __nss_disable_nscd.
33062 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33063 for a database anymore. Check the records for all the registered
33064 files instead.
33065 * nss/Makefile (libnss_files-routines): Add files-init.
33066 (libnss_db-routines): Add db-init.
33067 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33068 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33069 * nss/nss_db/db-init.c: New file.
33070 * nss/nss_files/files-init.c: New file.
33071 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33072 __nss_lookup_function.
33073 (__nss_lookup_function): Call nss_load_library.
33074 (nss_load_all_libraries): New function.
33075 (__nss_disable_nscd): Take parameter with callback function for files
33076 to register. Set is_nscd. Load all the DSOs for the NSS modules
33077 used for the cached services.
33078 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33079 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33080 options for features to all the files in nscd.
33081
33082 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33083
330842011-07-10 Roland McGrath <roland@hack.frob.com>
33085
33086 * csu/elf-init.c (__libc_csu_init): Comment typo.
33087
330882011-07-09 Ulrich Drepper <drepper@gmail.com>
33089
33090 * po/pl.po: Update from translation team.
33091 * po/ja.po: Likewise.
33092 * po/ru.po: Likewise.
33093 * po/ko.po: Likewise.
33094 * po/fr.po: Likewise.
33095
330962011-07-09 Roland McGrath <roland@hack.frob.com>
33097
33098 * configure.in (.ctors/.dtors header and trailer check):
33099 Use an empirical test on a built program.
33100 * configure: Regenerated.
33101
33102 * configure.in (-z relro check): Use an empirical test on a built DSO.
33103 Detect, but do not require, on ia64.
33104 * configure: Regenerated.
33105
33106 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33107 Update tests that use readelf to use $READELF instead.
33108 * configure: Regenerated.
33109
331102011-07-08 Ulrich Drepper <drepper@gmail.com>
33111
33112 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33113 if the result is not used.
33114
331152011-07-05 Andreas Jaeger <aj@suse.de>
33116
33117 [BZ#9696]
33118 * stdlib/tst-strtod.c: Add testcase.
33119
331202011-07-07 Ulrich Drepper <drepper@gmail.com>
33121
33122 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33123 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33124 The latter has a higher limit. Take additional parameter to pass to
33125 the new function.
33126 (__pathconf): Pass file to __statfs_link_max.
33127 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33128 __statfs_link_max.
33129 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33130 __statfs_link_max.
33131
33132 [BZ #12868]
33133 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33135 Handle Lustre.
33136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33137 (__statfs_filesize_max): Likewise.
33138 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33139
331402011-07-05 Andreas Jaeger <aj@suse.de>
33141
33142 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33143
331442011-07-06 Marek Polacek <mpolacek@redhat.com>
33145
33146 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33147 `status' variable.
33148 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33149 Likewise.
33150
331512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33152
33153 * Makefile (strop-tests): Add strncat.
33154 * string/test-strncat.c: New file.
33155
331562011-06-30 Marek Polacek <mpolacek@redhat.com>
33157
33158 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33159
331602011-06-21 Andreas Jaeger <aj@suse.de>
33161
33162 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33163 Copy rule from iconvdata/Makefile.
33164
331652011-07-06 Ulrich Drepper <drepper@gmail.com>
33166
33167 [BZ #12922]
33168 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33169 but no long options are defined, just return 'W'.
33170
331712011-06-22 Marek Polacek <mpolacek@redhat.com>
33172
33173 [BZ #9696]
33174 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33175
331762011-07-06 Ulrich Drepper <drepper@gmail.com>
33177
33178 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33179 netgroups to read.
33180 (innetgr): Likewise.
33181
331822011-07-05 Roland McGrath <roland@hack.frob.com>
33183
33184 * config.make.in (install_root): Default to $(DESTDIR).
33185
331862011-07-05 Ulrich Drepper <drepper@gmail.com>
33187
33188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33189
331902011-07-02 Roland McGrath <roland@hack.frob.com>
33191
33192 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33193
33194 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33195 containing directory rather than embedding absolute directory names.
33196
33197 * scripts/check-local-headers.sh: Rewritten using awk.
33198 Match by word, not by line. Print error messages for matches.
33199 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33200
33201 * Makerules [shlib-lds-flags empty]:
33202 ($(common-objpfx)libc_pic.opts): New target.
33203 ($(common-objpfx)libc_pic.os.clean): New target.
33204 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33205
33206 * config.make.in (OBJCOPY): New variable.
33207 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33208 * configure: Regenerated.
33209
33210 * config.make.in (use-default-link): New variable.
33211 * configure.in (use_default_link): Grok --with-default-link to set it.
33212 * configure: Regenerated.
33213 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33214 (shlib-lds, shlib-lds-flags): Define to empty.
33215
33216 * Makerules (shlib-lds): New variable.
33217 (shlib-lds-flags): New variable.
33218 (build-shlib, build-moduile, build-module-asneeded): Use it.
33219 ($(common-objpfx)libc.so): Use $(shlib-lds).
33220 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33221 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33222
33223 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33224 DT_FLAGS/DT_FLAGS_1 with zero flags.
33225
33226 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33227 linker script munging.
33228
332292011-07-02 Ulrich Drepper <drepper@gmail.com>
33230
33231 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33232 as 128-bit value.
33233 * crypt/sha512.c (sha512_process_block): Perform total addition using
33234 128-bit if possible.
33235 (__sha512_finish_ctx): Likewise.
33236 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33237 as 64-bit value.
33238 * crypt/sha256.c (SWAP64): Define.
33239 (sha256_process_block): Perform total addition using 64-bit if
33240 possible.
33241 (__sha256_finish_ctx): Likewise.
33242
332432011-07-01 Ulrich Drepper <drepper@gmail.com>
33244
33245 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33247 * nscd/hstcache.c (cache_addhst): Likewise.
33248 * nscd/grpcache.c (cache_addgr): Likewise.
33249 * nscd/aicache.c (addhstaiX): Likewise
33250 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33251
332522011-07-01 Thorsten Kukuk <kukuk@suse.de>
33253
33254 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33255 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33256 * nscd/hstcache.c (cache_addhst): Likewise.
33257 * nscd/grpcache.c (cache_addgr): Likewise.
33258 * nscd/aicache.c (addhstaiX): Likewise
33259
332602011-07-01 Andreas Schwab <schwab@redhat.com>
33261
33262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33263 domain only when needed.
33264
332652011-06-30 Andreas Schwab <schwab@redhat.com>
33266
33267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33268 is always restored.
33269
332702011-06-29 Ulrich Drepper <drepper@gmail.com>
33271
33272 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33273 are re-adding the entry.
33274 * nscd/servicescache.c (cache_addserv): Likewise.
33275
332762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33277
33278 * sysdeps/generic/dl-irel.h: fix protection against multiple
33279 inclusions.
33280 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33281
332822011-06-28 Ulrich Drepper <drepper@gmail.com>
33283
33284 [BZ #12935]
33285 * malloc/memusage.sh: Fix quoting in message.
33286 * debug/xtrace.sh: Likewise.
33287
33288 * configure.in: Remove support for --experimental-malloc option, make
33289 it the default.
33290 * config.make.in: Likewise.
33291 * malloc/Makefile: Likewise.
33292
332932011-06-27 Andreas Schwab <schwab@redhat.com>
33294
33295 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33296 two-byte characters.
33297
332982011-06-27 Roland McGrath <roland@hack.frob.com>
33299
33300 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33301 AC_CACHE_CHECK invocation.
33302 * configure: Regenerated.
33303
33304 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33305
333062011-06-27 Ulrich Drepper <drepper@gmail.com>
33307
33308 [BZ #12350]
33309 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33310 bit from old_res_options.
33311
33312 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33313
33314 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33315 value type for setfct.
33316
333172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33318
33319 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33320 __gettimeofday instead of gettimeofday.
33321
333222011-06-26 Ulrich Drepper <drepper@gmail.com>
33323
33324 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33325
333262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33327
33328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33329
33330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33331 info.
33332
333332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33334
33335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33336 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33337 strcpy-sse2-unaligned strncpy-sse2-unaligned
33338 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33339 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33340 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33341 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33342 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33343 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33345 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33346 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33347 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33348 (STRCPY): Support SSE2 and SSSE3 versions.
33349
333502011-06-24 Ulrich Drepper <drepper@gmail.com>
33351
33352 [BZ #12874]
33353 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33354 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33355 kernels which artificially limit size of requests.
33356
333572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33358
33359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33360 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33361 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33362 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33363 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33364 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33365 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33366 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33367 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33369 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33370 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33371 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33372 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33373 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33375 Enable unaligned load optimization for Intel Core i3, i5 and i7
33376 processors.
33377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33378 Define.
33379 (index_Fast_Unaligned_Load): Define.
33380 (HAS_FAST_UNALIGNED_LOAD): Define.
33381
333822011-06-23 Marek Polacek <mpolacek@redhat.com>
33383
33384 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33385
333862011-06-22 Ulrich Drepper <drepper@gmail.com>
33387
33388 [BZ #12907]
33389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33390 until it is clear that the information is realy needed.
33391 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33392
333932011-06-22 Andreas Schwab <schwab@redhat.com>
33394
33395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33396
333972011-06-22 Ulrich Drepper <drepper@gmail.com>
33398
33399 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33400 /sys/devices/system/cpu/online if it is usable.
33401
33402 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33403 reading the information from the /proc filesystem to once a second.
33404
334052011-06-21 Andreas Jaeger <aj@suse.de>
33406
33407 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33408 NULL after inclusion of kernel headers.
33409
334102011-06-21 Ulrich Drepper <drepper@gmail.com>
33411
33412 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33413 calls to internal_setent.
33414
33415 [BZ #12885]
33416 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33417 addresses using gethostbyname4_r ignore IPv4 addresses.
33418
33419 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33420 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33421
33422 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33423
334242011-06-20 David S. Miller <davem@davemloft.net>
33425
33426 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33427 inclusions.
33428 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33429
33430 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33431 (elf_irel): Use it.
33432 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33433 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33434 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33435 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33436 * sysdeps/x86_64/dl-irel.h: Likewise.
33437
33438 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33439 * elf/dl-sym.c: Likewise.
33440
334412011-06-15 Ulrich Drepper <drepper@gmail.com>
33442
33443 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33444 need to dereference resplen2.
33445
334462011-06-14 Andreas Schwab <schwab@redhat.com>
33447
33448 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33449
334502011-06-15 Ulrich Drepper <drepper@gmail.com>
33451
33452 * Makeconfig: Define vardbdir and inst_vardbdir.
33453 * nss/Makefile: Add rules to install db-Makefile.
33454
33455 * nss/nss_db/db-XXX.c: Cleanup.
33456
33457 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33458 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33459 GLIBC_PRIVATE.
33460 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33461 * nss/makedb.c: Implement -g option to specify that value strings
33462 are generated and should not be added to table iterated over for
33463 get*ent calls.
33464 * nss/nss_db/db-initgroups.c: New file.
33465
33466 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33467 interface.
33468
33469 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33470 (internal_getgrouplist): Adjust to name change.
33471 Update use_initgroups_entry if this is not the first call.
33472 * nss/databases.def: Add initgroups entry.
33473
33474 * nss/makedb.c (compute_tables): Check result of multiple hash table
33475 sizes to minimize maximum chain length.
33476
334772011-06-14 Ulrich Drepper <drepper@gmail.com>
33478
33479 * Versions.def: Add entry for libnss_db.
33480 * shlib-versions: Likewise.
33481 * nss/Makefile: Add rules to build libnss_db.
33482 * nss/Versions: Add libnss_db information. Organize libnss_files
33483 entries better.
33484 * nss/db-Makefile: Add gshadow support. Change rules for the new
33485 makedb progra. Some minor improvements to generate smaller files.
33486 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33487 here from...
33488 * nss/makedb.c: ...here.
33489 Improve database format to be smaller and require less memory at
33490 runtime.
33491 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33492 db anymore.
33493 * nss/nss_db/db-netgrp.c: Likewise.
33494 * nss/nss_db/db-open.c: Likewise.
33495 * nss/nss_files/flies-XXX.x: Adjust comments.
33496 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33497 * nss/nss_files/files-grp.c: Likewise.
33498 * nss/nss_files/files-hosts.c: Likewise.
33499 * nss/nss_files/files-network.c: Likewise.
33500 * nss/nss_files/files-proto.c: Likewise.
33501 * nss/nss_files/files-pwd.c: Likewise.
33502 * nss/nss_files/files-rpc.c: Likewise.
33503 * nss/nss_files/files-service.c: Likewise.
33504 * nss/nss_files/files-sgrp.c: Likewise.
33505 * nss/nss_files/files-spwd.c: Likewise.
33506 * nss/nss_db/db-alias.c: Removed.
33507 * nss/nss_db/dummy-db.h: Removed.
33508
335092011-06-02 Ulrich Drepper <drepper@gmail.com>
33510
33511 * nss/makedb.c: Rewritten to not use database library.
33512 * nss/Makefile: Update to build new makedb program.
33513
335142011-06-14 Andreas Jaeger <aj@suse.de>
33515
33516 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33517 memset declaration.
33518
335192011-06-10 Andreas Schwab <schwab@redhat.com>
33520
33521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33522 tmpbuf.
33523
335242011-06-10 Roland McGrath <roland@hack.frob.com>
33525
33526 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33527 * elf/Makefile ($(objpfx)ld.so): Likewise.
33528
33529 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33530 Don't list ld.so twice in dependencies.
33531
33532 * posix/bug-regex31.c: Include <stdlib.h>.
33533
33534 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33535
33536 * nis/nss_compat/compat-spwd.c
33537 (getspent_next_nss_netgr): Remove unused variable.
33538 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33539
33540 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33541 nonmembers" output to use the right array.
33542
33543 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33544
33545 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33546
33547 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33548 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33549 * catgets/gencat.c (read_input_file): Likewise.
33550 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33551
33552 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33553 variable definition inside #if's controlling its use.
33554
33555 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33556
33557 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33558
33559 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33560
33561 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33562 unreachable code.
33563
33564 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33565
33566 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33567 * configure: Regenerated.
33568
33569 * Makerules: Revert last change.
33570 * elf/Makefile: Likewise.
33571
335722011-06-09 Roland McGrath <roland@hack.frob.com>
33573
33574 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33575 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33576 (reloc-link): Likewise.
33577
335782011-06-09 Ulrich Drepper <drepper@gmail.com>
33579
33580 * elf/Makefile: Add rules to build pldd.
33581 * elf/pldd.c: New file.
33582 * elf/pldd-xx.c: New file.
33583
335842011-06-07 Ulrich Drepper <drepper@gmail.com>
33585
33586 * version.h: Update for 2.15 development version.
33587
335882011-06-07 David S. Miller <davem@davemloft.net>
33589
33590 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33591 ifuncs.
33592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33593 elf_machine_lazy_rel): Likewise.
33594 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33596 elf_machine_lazy_rel): Likewise.
33597 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33598 dl_hwcap via passed in argument.
33599 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33600 Likewise.
33601
336022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33603
33604 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33605
336062011-06-06 Roland McGrath <roland@hack.frob.com>
33607
33608 [BZ #12849]
33609 * manual/fdl-1.1.texi: New file, verbatim from:
33610 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33611 * manual/lgpl-2.1.texi: New file, verbatim from:
33612 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33613 * manual/Makefile (licenses): New variable, list those new file names.
33614 (texis): Use it.
33615 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33616
33617 * manual/fdl.texi: File removed.
33618 * manual/lesser.texi: File removed.
33619 * manual/libc.texinfo (Copying, Documentation License):
33620 Use new @include file names, put @appendix directive before @include.
33621
336222011-06-04 Jakub Jelinek <jakub@redhat.com>
33623
33624 [BZ #12841]
33625 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33626 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33627 (mq_open): Add __NTH.
33628
336292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33630
33631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33632 Assume Intel Core i3/i5/i7 processor if AVX is available.
33633
336342011-05-31 Ulrich Drepper <drepper@gmail.com>
33635
33636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33637 typo.
33638
336392011-05-31 Andreas Schwab <schwab@redhat.com>
33640
33641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33642 memory. Use alloca_account. Fix memory leak when retrying.
33643
336442011-05-31 Ulrich Drepper <drepper@gmail.com>
33645
33646 * version.h (RELEASE): Bump for 2.14 release.
33647 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33648
33649 * config.make.in (RANLIB): Remove entry.
33650
336512011-05-30 Ulrich Drepper <drepper@gmail.com>
33652
33653 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33654 (libc.pot): Work around missing support for .ksh extension in xgettext.
33655
33656 [BZ #12684]
33657 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33658 if both request failed.
33659 (send_dg): In case of server errors clear resplen or *resplen2.
33660
33661 [BZ #12454]
33662 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33663 when there are multiple maps.
33664 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33665 (_dl_fini): Remove test here.
33666
33667 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33668
336692011-05-29 Ulrich Drepper <drepper@gmail.com>
33670
33671 [BZ #12350]
33672 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33673 bit from old_res_options.
33674 (gaih_inet): Likewise.
33675
33676 [BZ #11099]
33677 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33678 as signed.
33679
33680 * resolv/res_init.c (res_setoptions): Make the code more compact.
33681
33682 [BZ #11558]
33683 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33684 set RES_USEVC.
33685
33686 [BZ #11634]
33687 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33688
33689 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33690
33691 [BZ #11781]
33692 * malloc/malloc.h: Declare malloc hook variables as volatile.
33693
33694 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33695 in last patch.
33696
33697 [BZ #11799]
33698 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33699 raise in the comment.
33700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33702 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33703
337042011-05-28 Ulrich Drepper <drepper@gmail.com>
33705
33706 [BZ #12811]
33707 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33708 grow the buffers more if it already has to be sufficient.
33709 (build_wcs_upper_buffer): Likewise.
33710 * posix/regexec.c (check_matching): Likewise.
33711 (clean_state_log_if_needed): Likewise.
33712 (extend_buffers): Don't enlarge buffers beyond size of the input
33713 buffer.
33714 Patches mostly by Emil Wojak <emil@wojak.eu>.
33715 * posix/bug-regex32.c: New file.
33716 * posix/Makefile (tests): Add bug-regex32.
33717
33718 * locale/findlocale.c (_nl_find_locale): Return right away if
33719 _nl_explode_name failed.
33720 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33721
33722 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33723
33724 * debug/xtrace.sh: Unify messages.
33725 * malloc/memusage.sh: Likewise.
33726
33727 [BZ #12813]
33728 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33729 time symbol from vDSO. Substitute with vsyscall if not available.
33730 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33731 __vdso_time.
33732
33733 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33734 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33735 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33736 Add sendmmsg and internal_sendmmsg.
33737 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33738 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33739 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33740
33741 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33742 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33743 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33744
337452011-05-27 Ulrich Drepper <drepper@gmail.com>
33746
33747 [BZ #12813]
33748 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33749 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33750 available.
33751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33752 __vdso_getcpu.
33753
33754 [BZ #12814]
33755 * iconvdata/Makefile (tests): Add bug-iconv9.
33756 * iconvdata/bug-iconv9.c: New file.
33757
337582011-05-27 Andreas Schwab <schwab@redhat.com>
33759
33760 [BZ #12814]
33761 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33762
337632011-05-25 Jakub Jelinek <jakub@redhat.com>
33764
33765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33766 (struct user_regs_struct): Change intcs field back to cs.
33767
337682011-05-25 Ulrich Drepper <drepper@gmail.com>
33769
33770 * po/ja.po: Update from translation team.
33771
337722011-05-23 Ulrich Drepper <drepper@gmail.com>
33773
33774 [BZ #12795]
33775 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33776 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33777
337782011-05-20 Andreas Schwab <schwab@redhat.com>
33779
33780 * stdlib/longlong.h: Update from GCC.
33781
337822011-05-23 Andreas Schwab <schwab@redhat.com>
33783
33784 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33785 parameter name.
33786 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33787 Add parameter name.
33788 (__sysconf): Pass it down.
33789
337902011-05-22 Ulrich Drepper <drepper@gmail.com>
33791
33792 [BZ #12671]
33793 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33794 some situations.
33795 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33796 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33797 add in in __libc_use_alloca calls. Adjust callers.
33798 (glob): Use malloc in some situations.
33799
33800 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33801 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33802 pltexit.
33803
338042011-05-21 Ulrich Drepper <drepper@gmail.com>
33805
33806 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33807 and CLOCK_BOOTTIME_ALARM.
33808
33809 [BZ #12782]
33810 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33811 is returned.
33812
33813 * string/_strerror.c (__strerror_r): Print negative errors as signed
33814 numbers.
33815
33816 [BZ #12777]
33817 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33818 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33819 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33820
33821 * configure.in: Fix typo in redirection and correct removal of test
33822 files in two cases.
33823
33824 [BZ #12788]
33825 * locale/setlocale.c (new_composite_name): Fix test to check for
33826 identical name of all categories.
33827
33828 [BZ #12792]
33829 * libio/filedoalloc.c (local_isatty): New function.
33830 (_IO_file_doallocate): Use local_isatty.
33831 * stdio-common/perror.c (perror): In case a new stream is used
33832 forward the stream error.
33833 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33834 error flag.
33835
338362011-05-20 Ulrich Drepper <drepper@gmail.com>
33837
33838 [BZ #11869]
33839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33840 alloca.
33841 * include/alloca.h (extend_alloca_account): Define.
33842
33843 [BZ #11857]
33844 * posix/regex.h: Fix comments with documentation of user-accessible
33845 fields after compilation and describe correct free'ing of pattern
33846 after re_compile_pattern.
33847 Patch by Reuben Thomas <rrt@sc3d.org>.
33848
338492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33850
33851 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33852 and -mno-altivec to prevent the compiler from using Altivec and/or
33853 VSX instructions when the corresponding registers are not available.
33854
338552011-05-19 Andreas Schwab <schwab@redhat.com>
33856
33857 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33858
338592011-05-19 Ulrich Drepper <drepper@gmail.com>
33860
33861 * libio/freopen.c (freopen): Use __dup2, not dup2.
33862 * libio/freopen64.c (freopen64): Likewise.
33863
338642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33865
33866 [BZ #12775]
33867 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33868 * math/Makefile (tests): Add test-powl.
33869 (CFLAGS-test-powl.c): Define.
33870 * math/test-powl.c: New file.
33871
338722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33873
33874 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33875
338762011-05-17 Ulrich Drepper <drepper@gmail.com>
33877
33878 [BZ #11837]
33879 * iconvdata/gb18030.c: Update to GB18020-2005.
33880
338812011-05-16 Ulrich Drepper <drepper@gmail.com>
33882
33883 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33884 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33885 Patch by Aharon Robbins <arnold@skeeve.com>.
33886
33887 [BZ #11892]
33888 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33889 on the stack.
33890
33891 [BZ #11895]
33892 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33893 through underflows.
33894
33895 [BZ #12766]
33896 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33897 point to strings before performing equality test for error_one_per_line
33898 mode.
33899
33900 [BZ #11697]
33901 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33902
33903 [BZ #11820]
33904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33905 (struct user_fpregs_struct): Avoid __uint*_t types.
33906
33907 [BZ #6420]
33908 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33909 symbol info. Use it instead of calling _dl_addr locally.
33910 (lock_and_info): New function.
33911 (tr_freehook): Call lock_and_info and pass symbol info as additional
33912 parameter to tr_where.
33913 (tr_mallochook): Likewise.
33914 (tr_reallochook): Likewise.
33915 (tr_memalignhook): Likewise.
33916
33917 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33918 used and couldn't be at all thread-safe.
33919
339202011-05-15 Ulrich Drepper <drepper@gmail.com>
33921
33922 * libio/freopen.c (freopen): Don't close old file descriptor
33923 before the new one is opened. Instead dup the new file descriptor
33924 to the old one after the new stream is created.
33925 * libio/freopen64.c (freopen64): Likewise.
33926 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33927 * libio/fileops.c (_IO_new_file_close_it): Handle new
33928 _IO_FLAGS2_NOCLOSE flag.
33929 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33930 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33931 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33932 _IO_FLAGS2_NOCLOSE flag.
33933 * include/unistd.h: Add hidden_proto for dup3.
33934 Define __have_dup3.
33935 * io/dup3.c: Define hidden symbol.
33936 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33937
33938 [BZ #7101]
33939 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33940 when an incomplete long option is used.
33941 * posix/tst-getopt_long1.c: New file.
33942 * posix/Makefile (tests): Add tst-getopt_long1.
33943
33944 [BZ #10138]
33945 * scripts/config.guess: Update from autoconf-2.68.
33946 * scripts/config.sub: Likewise.
33947
33948 [BZ #10157]
33949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33950 tests into ...
33951 (has_cpuclock): ...this. New function.
33952 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33953 macro here based on has_cpuclock code.
33954
33955 [BZ #10149]
33956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33957 First byte (not low byte) is now always NUL.
33958 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33959
33960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33961 Use non-cancelable interfaces.
33962
33963 [BZ #9809]
33964 * locale/iso-639.def: Add entry for Sorani.
33965
33966 [BZ #11901]
33967 * include/stdlib.h: Move include protection to the right place.
33968 Define abort_msg_s. Declare __abort_msg with it.
33969 * stdlib/abort.c (__abort_msg): Adjust type.
33970 * assert/assert.c (__assert_fail_base): New function. Majority
33971 of code from __assert_fail. Allocate memory for __abort_msg with
33972 mmap.
33973 (__assert_fail): Now call __assert_fail_base.
33974 * assert/assert-perr.c: Remove bulk of implementation. Use
33975 __assert_fail_base.
33976 * include/assert.hL Declare __assert_fail_base.
33977 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33978 mmap.
33979 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33980
339812011-05-14 Ulrich Drepper <drepper@gmail.com>
33982
33983 [BZ #11952]
33984 [BZ #12453]
33985 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33986 until all modules are registered in the DTV.
33987 * elf/Makefile: Add rules to build and run tst-tls19.
33988 * elf/tst-tls19.c: New file.
33989 * elf/tst-tls19mod1.c: New file.
33990 * elf/tst-tls19mod2.c: New file.
33991 * elf/tst-tls19mod3.c: New file.
33992 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33993
33994 [BZ #12083]
33995 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33996 correctly.
33997
33998 [BZ #12601]
33999 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34000 two-byte sequence errors.
34001 * iconvdata/Makefile (tests): Add bug-iconv8.
34002 * iconvdata/bug-iconv8.c: New file.
34003
34004 [BZ #12626]
34005 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34006 buf2 definition.
34007
34008 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34009
34010 [BZ #12432]
34011 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34012 (dummy_getcfa): New function.
34013 (init): Get _Unwind_GetCFA address, use dummy if not found.
34014 (backtrace_helper): In recursion check, also check whether CFA changes.
34015 (__backtrace): Completely initialize arg.
34016
34017 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34018 storing incomplete byte sequence in state object. Avoid testing for
34019 guaranteed too small input if we know there is enough data available.
34020
340212011-05-11 Andreas Schwab <schwab@redhat.com>
34022
34023 * Makeconfig (+link-pie): Indent.
34024 * Rules (binaries-pie): Define if $(have-fpie) and
34025 $(build-shared).
34026 (binaries-shared): Also filter out $(binaries-pie).
34027 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34028 * nscd/Makefile (others-pie): Add nscd.
34029 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34030 ($(objpfx)nscd): Remove command override.
34031 * login/Makefile (others-pie): Add pt_chown.
34032 ($(objpfx)pt_chown): Remove command override.
34033 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34034 remove command overrides.
34035
340362011-05-13 Ulrich Drepper <drepper@gmail.com>
34037
34038 * libio/tst_putwc.c: Fix error messages.
34039
34040 [BZ #12724]
34041 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34042 currently writing and seek to current position when not.
34043 * libio/Makefile (tests): Add bug-fclose1.
34044 * libio/bug-fclose1.c: New file.
34045
340462011-05-12 Ulrich Drepper <drepper@gmail.com>
34047
34048 [BZ #12511]
34049 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34050 don't set DF_1_NODELETE here.
34051 (do_lookup_x): When entering new entry test for copy relocation
34052 and if necessary set DF_1_NODELETE flag.
34053 * elf/tst-unique4.cc: New file.
34054 * elf/tst-unique4.h: New file.
34055 * elf/tst-unique4lib.cc: New file.
34056 * elf/Makefile: Add rules to build and run tst-unique4.
34057 Patch by Piotr Bury <pbury@goahead.com>.
34058
340592011-05-11 Ulrich Drepper <drepper@gmail.com>
34060
34061 [BZ #12052]
34062 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34063
34064 [BZ #12625]
34065 * misc/mntent_r.c (addmntent): Flush the stream after the output
34066
34067 [BZ #12393]
34068 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34069 (is_trusted_path_normalize): Skip initial colon. Append slash
34070 to empty buffer. Duplicate is_trusted_path code but allow
34071 constructed patch to be prefix.
34072 (is_dst): Allow $ORIGIN followed by /.
34073 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34074 Correct testing of result of is_trusted_path_normalize
34075 (decompose_rpath): Fix warning.
34076
340772011-05-10 Ulrich Drepper <drepper@gmail.com>
34078
34079 [BZ #11257]
34080 * grp/initgroups.c (internal_getgrouplist): When we found the service
34081 list through the initgroups entry in nsswitch.conf do not always
34082 continue on a successful lookup. Don't always use the
34083 __nss_group_database value if it is set.
34084 * nss/nsswitch.conf (initgroups): Change action for successful db
34085 lookup to continue for compatibility.
34086
340872011-05-09 Ulrich Drepper <drepper@gmail.com>
34088
34089 [BZ #11532]
34090 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34091 and CP774 modules.
34092 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34093 and CP774 modules.
34094 * iconvdata/tst-tables.sh: Likewise.
34095 * iconvdata/cp770.c: New file.
34096 * iconvdata/cp771.c: New file.
34097 * iconvdata/cp772.c: New file.
34098 * iconvdata/cp773.c: New file.
34099 * iconvdata/cp774.c: New file.
34100 * iconvdata/testdata/CP770: New file.
34101 * iconvdata/testdata/CP770..UTF8: New file.
34102 * iconvdata/testdata/CP771: New file.
34103 * iconvdata/testdata/CP771..UTF8: New file.
34104 * iconvdata/testdata/CP772: New file.
34105 * iconvdata/testdata/CP772..UTF8: New file.
34106 * iconvdata/testdata/CP773: New file.
34107 * iconvdata/testdata/CP773..UTF8: New file.
34108 * iconvdata/testdata/CP774: New file.
34109 * iconvdata/testdata/CP774..UTF8: New file.
34110
34111 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34112 END CHARMAP line.
34113 * iconvdata/gen-8bit-gap.sh: Likewise.
34114 * iconvdata/gen-8bit.sh: Likewise.
34115
34116 * locale/iso-639.def: Add ary entry.
34117
34118 [BZ #11258]
34119 * locale/C-translit.h.in: Add U20A1 transliteration.
34120
34121 [BZ #12178]
34122 * locale/iso-639.def: Add wae entry.
34123 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34124
34125 [BZ #12545]
34126 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34127 for n.
34128
34129 [BZ #12711]
34130 * locale/C-translit.h.in: Add entry for U20B9.
34131 Patch by pravin.d.s@gmail.com.
34132
341332011-05-08 Ulrich Drepper <drepper@gmail.com>
34134
34135 [BZ #12713]
34136 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34137 ENAMETOOLONG use generic getcwd.
34138 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34139 in rtld. Use *stat64.
34140 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34141 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34142 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34143 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34144 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34145 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34146 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34147 __fstatat64 macros.
34148 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34149 * dirent/rewinddir.c: Add libc_hidden_def.
34150 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34151 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34152
34153 * include/dirent.h (__alloc_dir): Add flags parameter.
34154 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34155 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34156 __alloc_dir.
34157 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34158 from fdopendir if O_CLOEXEC is already set.
34159
341602011-03-15 Alan Modra <amodra@gmail.com>
34161
34162 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34163 l_tls_firstbyte_offset non-zero. Save padding offset in
34164 l_tls_firstbyte_offset for later use.
34165 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34166 freeing static tls block.
34167
341682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34169
34170 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34171 where #ifdef was intended. The intent is to prevent ARG_MAX from
34172 being defined by the kernel headers.
34173
341742011-05-07 Ulrich Drepper <drepper@gmail.com>
34175
34176 [BZ #12734]
34177 * resolv/resolv.h: Define RES_NOTLDQUERY.
34178 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34179 no-tld-query and set RES_NOTLDQUERY.
34180 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34181 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34182 modern BIND to search name as TLD unless forbidden.
34183
341842011-05-07 Petr Baudis <pasky@suse.cz>
34185 Ulrich Drepper <drepper@gmail.com>
34186
34187 [BZ #12393]
34188 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34189 (is_trusted_path): ...to here.
34190 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34191 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34192 using is_trusted_path_normalize() in setuid scripts.
34193
341942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34195
34196 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34197 __BEGIN/__END_DECLS.
34198
341992011-05-06 Ulrich Drepper <drepper@gmail.com>
34200
34201 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34202 NSS_STATUS_NOTFOUND if no record was found.
34203
342042011-05-05 Andreas Schwab <schwab@redhat.com>
34205
34206 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34207 (headers-not-in-tirpc): Remove rpc/netdb.h
34208 * resolv/netdb.h: Revert last change.
34209
342102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34211
34212 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34213 circular dependency between libgcc.a and libc.a.
34214
342152011-05-05 Andreas Schwab <schwab@redhat.com>
34216
34217 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34218 * nis/Makefile: Don't install rpcsvc/*.
34219 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34220 instead of <rpc/types.h>.
34221 (MAXHOSTNAMELEN): Define.
34222
342232011-05-03 Andreas Schwab <schwab@redhat.com>
34224
34225 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34226
342272011-04-28 Maciej Babinski <mbabinski@google.com>
34228
34229 [BZ #12714]
34230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34231 gethostbyname4_r when IPv6 results are possible.
34232
342332011-05-02 Ulrich Drepper <drepper@gmail.com>
34234
34235 [BZ #12723]
34236 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34237 _PC_PIPE_BUF handling.
34238
342392011-04-30 Bruno Haible <bruno@clisp.org>
34240
34241 [BZ #12717]
34242 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34243 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34244 to 'int'.
34245 * inet/getnameinfo.c (getnameinfo): Likewise.
34246
342472011-04-29 Ulrich Drepper <drepper@gmail.com>
34248
34249 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34250 to groups setting in database lookup.
34251 * nss/nsswitch.conf: Add initgroups entry.
34252
342532011-04-22 Ulrich Drepper <drepper@gmail.com>
34254
34255 [BZ #12685]
34256 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34257 mode string.
34258 Patch by Eric Blake <eblake@redhat.com>.
34259
342602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34261
34262 * sunrpc/Makefile (need-export-routines): Add svc_run.
34263 (routines): Remove svc_run.
34264 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34265 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34266 * sunrpc/svc_run.c (svc_run): Likewise.
34267 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34268
342692011-04-21 Ulrich Drepper <drepper@gmail.com>
34270
34271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34272 problem in reallocation in last patch.
34273
342742011-04-20 Ulrich Drepper <drepper@gmail.com>
34275
34276 * sunrpc/Makefile: Move inclusion of Rules.
34277
342782011-04-19 Ulrich Drepper <drepper@gmail.com>
34279
34280 * nss/nss_files/files-initgroups.c: New file.
34281 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34282 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34283 _nss_files_initgroups_dyn.
34284
342852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34286
34287 * elf/elf.h (R_ARM_IRELATIVE): Define.
34288
342892011-04-19 Ulrich Drepper <drepper@gmail.com>
34290
34291 * po/ru.po: Update from translation team.
34292
342932011-04-17 Ulrich Drepper <drepper@gmail.com>
34294
34295 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34296 dependencies.
34297
342982011-02-06 Mike Frysinger <vapier@gentoo.org>
34299
34300 [BZ #12653]
34301 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34302 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34303 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34305 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34306
343072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34308
34309 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34310 differing bytes.
34311 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34314
343152011-04-17 Ulrich Drepper <drepper@gmail.com>
34316
34317 [BZ #12420]
34318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34319 storing it.
34320 * stdlib/bug-getcontext.c: New file.
34321 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34322
343232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34324
34325 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34326 instructions into .machine "z9-109".
34327 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34328 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34329
343302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34331
34332 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34333 between environment variables and auxiliary vector.
34334
343352011-04-16 Ulrich Drepper <drepper@gmail.com>
34336
34337 * Makefile: Add rules to build linkobj/libc.so.
34338 * include/libc-symbols.h: Define libc_hidden_nolink.
34339 * include/rpc/auth.h: Mark functions which are to be hidden.
34340 * include/rpc/auth_des.h: Likewise.
34341 * include/rpc/auth_unix.h: Likewise.
34342 * include/rpc/clnt.h: Likewise.
34343 * include/rpc/des_crypt.h: Likewise.
34344 * include/rpc/key_prot.h: Likewise.
34345 * include/rpc/pmap_clnt.h: Likewise.
34346 * include/rpc/pmap_prot.h: Likewise.
34347 * include/rpc/pmap_rmt.h: Likewise.
34348 * include/rpc/rpc_msg.h: Likewise.
34349 * include/rpc/svc.h: Likewise.
34350 * include/rpc/svc_auth.h: Likewise.
34351 * include/rpc/xdr.h: Likewise.
34352 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34353 * nss/Makefile: Likewise.
34354 * sunrpc/Makefile: Don't install headers. Build library with normal
34355 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34356 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34357 for the compat linking library. Remove use of INTDEF/INTUSE.
34358 * sunrpc/auth_none.c: Likewise.
34359 * sunrpc/auth_unix.c: Likewise.
34360 * sunrpc/authdes_prot.c: Likewise.
34361 * sunrpc/authuxprot.c: Likewise.
34362 * sunrpc/clnt_gen.c: Likewise.
34363 * sunrpc/clnt_perr.c: Likewise.
34364 * sunrpc/clnt_raw.c: Likewise.
34365 * sunrpc/clnt_simp.c: Likewise.
34366 * sunrpc/clnt_tcp.c: Likewise.
34367 * sunrpc/clnt_udp.c: Likewise.
34368 * sunrpc/clnt_unix.c: Likewise.
34369 * sunrpc/des_crypt.c: Likewise.
34370 * sunrpc/des_soft.c: Likewise.
34371 * sunrpc/get_myaddr.c: Likewise.
34372 * sunrpc/key_call.c: Likewise.
34373 * sunrpc/key_prot.c: Likewise.
34374 * sunrpc/netname.c: Likewise.
34375 * sunrpc/pm_getmaps.c: Likewise.
34376 * sunrpc/pm_getport.c: Likewise.
34377 * sunrpc/pmap_clnt.c: Likewise.
34378 * sunrpc/pmap_prot.c: Likewise.
34379 * sunrpc/pmap_prot2.c: Likewise.
34380 * sunrpc/pmap_rmt.c: Likewise.
34381 * sunrpc/publickey.c: Likewise.
34382 * sunrpc/rpc_cmsg.c: Likewise.
34383 * sunrpc/rpc_common.c: Likewise.
34384 * sunrpc/rpc_dtable.c: Likewise.
34385 * sunrpc/rpc_prot.c: Likewise.
34386 * sunrpc/rpc_thread.c: Likewise.
34387 * sunrpc/rtime.c: Likewise.
34388 * sunrpc/svc.c: Likewise.
34389 * sunrpc/svc_auth.c: Likewise.
34390 * sunrpc/svc_authux.c: Likewise.
34391 * sunrpc/svc_raw.c: Likewise.
34392 * sunrpc/svc_run.c: Likewise.
34393 * sunrpc/svc_simple.c: Likewise.
34394 * sunrpc/svc_tcp.c: Likewise.
34395 * sunrpc/svc_udp.c: Likewise.
34396 * sunrpc/svc_unix.c: Likewise.
34397 * sunrpc/svcauth_des.c: Likewise.
34398 * sunrpc/xcrypt.c: Likewise.
34399 * sunrpc/xdr.c: Likewise.
34400 * sunrpc/xdr_array.c: Likewise.
34401 * sunrpc/xdr_float.c: Likewise.
34402 * sunrpc/xdr_intXX_t.c: Likewise.
34403 * sunrpc/xdr_mem.c: Likewise.
34404 * sunrpc/xdr_rec.c: Likewise.
34405 * sunrpc/xdr_ref.c: Likewise.
34406 * sunrpc/xdr_sizeof.c: Likewise.
34407 * sunrpc/xdr_stdio.c: Likewise.
34408
344092011-04-10 Ulrich Drepper <drepper@gmail.com>
34410
34411 [BZ #12650]
34412 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34413 * sysdeps/ia64/dl-tls.h: Likewise.
34414 * sysdeps/powerpc/dl-tls.h: Likewise.
34415 * sysdeps/s390/dl-tls.h: Likewise.
34416 * sysdeps/sh/dl-tls.h: Likewise.
34417 * sysdeps/sparc/dl-tls.h: Likewise.
34418 * sysdeps/x86_64/dl-tls.h: Likewise.
34419 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34420
344212011-03-14 Andreas Schwab <schwab@redhat.com>
34422
34423 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34424 rpath element also skip the following colon.
34425 (expand_dynamic_string_token): Add is_path parameter and pass
34426 down to DL_DST_REQUIRED and _dl_dst_substitute.
34427 (decompose_rpath): Call expand_dynamic_string_token with
34428 non-zero is_path. Ignore empty rpaths.
34429 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34430 with zero is_path.
34431
344322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34433
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34435 Make cancelable.
34436
344372011-04-09 Ulrich Drepper <drepper@gmail.com>
34438
34439 [BZ #12655]
34440 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34441 Patch by Filipe David Manana <fdmanana@apache.org>.
34442
344432011-04-07 Andreas Schwab <schwab@redhat.com>
34444
34445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34446 Maintain aligned stack.
34447 (CHECK_RSP): Remove unused macro.
34448
344492011-04-03 Ulrich Drepper <drepper@gmail.com>
34450
34451 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34452 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34453
344542011-04-02 Ulrich Drepper <drepper@gmail.com>
34455
34456 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34457
34458 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34459
344602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34461
34462 [BZ #12518]
34463 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34464 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34465 * sysdeps/x86_64/memmove.c: New file.
34466 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34467 (memcpy): Renamed to ...
34468 (__new_memcpy): This.
34469 (memcpy): Provide GLIBC_2_14 memcpy.
34470 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34471 (memcpy): Provide GLIBC_2_2_5 memcpy.
34472
344732011-04-01 Ulrich Drepper <drepper@gmail.com>
34474
34475 [BZ #12631]
34476 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34477
344782011-03-30 Andreas Schwab <schwab@redhat.com>
34479
34480 * misc/syncfs.c: New file.
34481 * misc/Makefile (routines): Add syncfs.
34482 * posix/unistd.h: Declare syncfs.
34483 * sysdeps/unix/syscalls.list: Add syncfs.
34484
344852011-04-01 Andreas Schwab <schwab@redhat.com>
34486
34487 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34488 open_by_handle_at.
34489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34494 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34496
344972011-04-01 Ulrich Drepper <drepper@gmail.com>
34498
34499 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34500 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34501 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34506
34507 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34508 sync_file_range.c with -fexceptions.
34509 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34510 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34511 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34512 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34513 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34514 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34516 sync_file_range as cancellation point
34517 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34518 now a wrapper around __call_sync_file_range with cancellation handling.
34519 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34520 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34521 function name to __call_sync_file_range.
34522 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34523 Add call_sync_file_range.
34524
345252011-04-01 Andreas Schwab <schwab@redhat.com>
34526
34527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34528 bits/timex.h.
34529
345302011-04-01 Ulrich Drepper <drepper@gmail.com>
34531
34532 * iconv/iconv.h: Fix typo in comment.
34533 * io/fcntl.h: Likewise.
34534 * libio/stdio.h: Likewise.
34535 * posix/spawn.h: Likewise.
34536 * posix/unistd.h: Likewise.
34537 * stdlib/stdlib.h: Likewise.
34538 * time/time.h: Likewise.
34539 * wcsmbs/wchar.h: Likewise.
34540
34541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34542 open_by_handle): Add.
34543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34544 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34545 Augment a few comments.
34546 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34548 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34551 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34552 open_by_handle.
34553
34554 * io/fcntl.h (AT_EMPTY_PATH): Define.
34555
345562011-03-30 Ulrich Drepper <drepper@gmail.com>
34557
34558 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34559 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34560 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34561 to...
34562 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
34563 * Versions.def: Add GLIBC_2.14.
34564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34565 Export.
34566
345672011-03-22 Ulrich Drepper <drepper@gmail.com>
34568
34569 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34570 round counter.
34571 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34572
345732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 [BZ #12597]
34576 * string/test-strncmp.c (do_page_test): New function.
34577 (check2): Likewise.
34578 (test_main): Call check2.
34579 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34580
345812011-03-20 Ulrich Drepper <drepper@gmail.com>
34582
34583 [BZ #12587]
34584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34585 Handle cache information in CPU leaf 4.
34586 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34587
345882011-03-18 Ulrich Drepper <drepper@gmail.com>
34589
34590 [BZ #12583]
34591 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34592 character representation.
34593 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34594
345952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34596
34597 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34598 END(__isnan) to END(__isnanf) to match function entry point/label
34599 EALIGN(__isnanf,...).
34600
346012011-03-10 Jakub Jelinek <jakub@redhat.com>
34602
34603 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34604
346052011-03-10 Ulrich Drepper <drepper@gmail.com>
34606
34607 [BZ #12510]
34608 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34609 copy from the symbol referenced in the relocation to initialize the
34610 used variable.
34611 Patch by Piotr Bury <pbury@goahead.com>.
34612 * elf/Makefile: Add rules to build and tst-unique3.
34613 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34614 * elf/tst-unique3.cc: New file.
34615 * elf/tst-unique3.h: New file.
34616 * elf/tst-unique3lib.cc: New file.
34617 * elf/tst-unique3lib2.cc: New file.
34618
34619 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34620
346212011-03-10 Mike Frysinger <vapier@gentoo.org>
34622
34623 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34624 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34625 to _start.
34626
346272011-03-06 Ulrich Drepper <drepper@gmail.com>
34628
34629 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34630 to-be-loaded object along a path to loader is ld.so.
34631
346322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34633 Ulrich Drepper <drepper@gmail.com>
34634
34635 * sysdeps/x86_64/memset.S: After aligning destination, code
34636 branches to different locations depending on the value of
34637 misalignment, when multiarch is enabled. Fix this.
34638
346392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34640
34641 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34642 Set _x86_64_preferred_memory_instruction for AMD processsors.
34643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34644 Set bit_Prefer_SSE_for_memop for AMD processors.
34645
346462011-03-04 Ulrich Drepper <drepper@gmail.com>
34647
34648 * libio/fmemopen.c (fmemopen): Optimize a bit.
34649
346502011-03-03 Andreas Schwab <schwab@redhat.com>
34651
34652 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34653
346542011-03-03 Roland McGrath <roland@redhat.com>
34655
34656 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34657
346582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34659
34660 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34661 __bzero_ultra1 instead of __memset_ultra1.
34662
346632011-02-23 Andreas Schwab <schwab@redhat.com>
34664 Ulrich Drepper <drepper@gmail.com>
34665
34666 [BZ #12509]
34667 * include/link.h (struct link_map): Add l_orig_initfini.
34668 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34669 returning unsuccessfully.
34670 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34671 close of a file loaded at startup, restore the original l_initfini
34672 list.
34673 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34674 list, store the pointer.
34675 * elf/Makefile ($(objpfx)noload-mem): New rule.
34676 (noload-ENV): Define.
34677 (tests): Add $(objpfx)noload-mem.
34678 * elf/noload.c: Include <memcheck.h>.
34679 (main): Call mtrace. Close all opened handles.
34680
346812011-02-17 Andreas Schwab <schwab@redhat.com>
34682
34683 [BZ #12454]
34684 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34685 dependencies are missing.
34686
346872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34688
34689 Fix __if_freereq crash: Unlike the generic version which uses free,
34690 Hurd needs munmap.
34691 * sysdeps/mach/hurd/ifreq.h: New file.
34692
346932011-01-27 Petr Baudis <pasky@suse.cz>
34694 Ulrich Drepper <drepper@gmail.com>
34695
34696 [BZ 12445]#
34697 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34698 to extend_alloca().
34699 * stdio-common/bug23.c: New file.
34700 * stdio-common/Makefile (tests): Add bug23.
34701
347022010-09-28 Andreas Schwab <schwab@redhat.com>
34703 Ulrich Drepper <drepper@gmail.com>
34704
34705 [BZ #12489]
34706 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34707 before performing relro protection. At old place add assertion
34708 to make sure nothing changed.
34709
347102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34711 Glauber de Oliveira Costa <glommer@gmail.com>
34712
34713 * elf/elf.h: Add new ARM TLS relocs.
34714
347152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34716
34717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34718 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34719 cast from r3.
34720 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34721 'tests' variable.
34722 * sysdeps/wordsize-64/tst-writev.c: New file.
34723
347242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34725
34726 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34727 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34728 insns in _dl_start to prevent a TOC reference before relocs are
34729 resolved.
34730
347312011-02-15 Ulrich Drepper <drepper@gmail.com>
34732
34733 [BZ #12469]
34734 * Makeconfig: Remove RANLIB definition.
34735 * Makerules: Don't use RANLIB.
34736 * aclocal.m4: Remove ranlib test.
34737 * configure.in: No need to check for ranlib.
34738 * elf/rtld-Rules: Don't use RANLIB.
34739
347402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34741
34742 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34743 protection macro.
34744 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34745 inclusion protection macro.
34746
34747 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34748 SIGRTMIN and SIGRTMAX and print information in that case only when
34749 SIGRTMIN is defined.
34750
347512011-02-11 Jakub Jelinek <jakub@redhat.com>
34752
34753 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34754 arginfo fn returning -1.
34755
34756 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34757 and thousands string is zero terminated.
34758
347592011-02-03 Andreas Schwab <schwab@redhat.com>
34760
34761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34762 sysdeps/unix/sysv/linux/bits/socket.h.
34763
347642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34765
34766 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34767 (__CPU_COUNT): Remove old macros.
34768 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34769 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34770 (__CPU_ALLOC, __CPU_FREE): Add macros.
34771 (__sched_cpualloc, __sched_cpufree): Add declarations.
34772
347732011-02-05 Ulrich Drepper <drepper@gmail.com>
34774
34775 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34776 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34777 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34778 (readdhstai): Return value of addhstaiX call.
34779 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34780 (addgrbyX): Return value returned by cache_addgr.
34781 (readdgrbyname): Return value returned by addgrbyX.
34782 (readdgrbygid): Likewise.
34783 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34784 (addpwbyX): Return value returned by cache_addpw.
34785 (readdpwbyname): Return value returned by addhstbyX.
34786 (readdpwbyuid): Likewise.
34787 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34788 (addservbyX): Return value returned by cache_addserv.
34789 (readdservbyname): Return value returned by addservbyX:
34790 (readdservbyport): Likewise.
34791 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34792 (addhstbyX): Return value returned by cache_addhst.
34793 (readdhstbyname): Return value returned by addhstbyX.
34794 (readdhstbyaddr): Likewise.
34795 (readdhstbynamev6): Likewise.
34796 (readdhstbyaddrv6): Likewise.
34797 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34798 (readdinitgroups): Return value returned by addinitgroupsX.
34799 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34800 (prune_cache): Keep track of timeout value of re-added entries.
34801 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34802 * nscd/nscd.h: Adjust prototypes of readd* functions.
34803
348042011-02-04 Roland McGrath <roland@redhat.com>
34805
34806 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34807 (nis_stats): Likewise.
34808 * nis/nis_modify.c (nis_modify): Likewise.
34809 * nis/nis_remove.c (nis_remove): Likewise.
34810 * nis/nis_add.c (nis_add): Likewise.
34811
34812 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34813
34814 * posix/fnmatch_loop.c: Add some consts.
34815
34816 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34817
348182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34819
34820 [BZ #12460]
34821 * config.make.in (config-cflags-novzeroupper): Define.
34822 * configure.in: Substitute libc_cv_cc_novzeroupper.
34823 * elf/Makefile (AVX-CFLAGS): Define.
34824 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34825 (CFLAGS-tst-auditmod4a.c): Likewise.
34826 (CFLAGS-tst-auditmod4b.c): Likewise.
34827 (CFLAGS-tst-auditmod6b.c): Likewise.
34828 (CFLAGS-tst-auditmod6c.c): Likewise.
34829 (CFLAGS-tst-auditmod7b.c): Likewise.
34830 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34831
348322011-02-02 Ulrich Drepper <drepper@gmail.com>
34833
34834 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34835 function to the callback.
34836 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34837
348382011-02-02 Andreas Schwab <schwab@redhat.com>
34839
34840 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34841 of errno.
34842
348432011-01-19 Ulrich Drepper <drepper@gmail.com>
34844
34845 [BZ #11724]
34846 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34847 of constructors.
34848 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34849 of destructors.
34850 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34851
34852 [BZ #11724]
34853 * elf/Makefile: Add rules to build and run new test.
34854 * elf/tst-initorder.c: New file.
34855 * elf/tst-initorder.exp: New file.
34856 * elf/tst-initordera1.c: New file.
34857 * elf/tst-initordera2.c: New file.
34858 * elf/tst-initordera3.c: New file.
34859 * elf/tst-initordera4.c: New file.
34860 * elf/tst-initorderb1.c: New file.
34861 * elf/tst-initorderb2.c: New file.
34862 * elf/tst-order-a1.c: New file.
34863 * elf/tst-order-a2.c: New file.
34864 * elf/tst-order-a3.c: New file.
34865 * elf/tst-order-a4.c: New file.
34866 * elf/tst-order-b1.c: New file.
34867 * elf/tst-order-b2.c: New file.
34868 * elf/tst-order-main.c: New file.
34869 New test case by George Gensure <werkt0@gmail.com>.
34870
348712010-10-01 Andreas Schwab <schwab@redhat.com>
34872
34873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34874 decoding ACE if AI_CANONIDN.
34875
348762011-01-18 Ulrich Drepper <drepper@gmail.com>
34877
34878 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34879
348802011-01-17 Ulrich Drepper <drepper@gmail.com>
34881
34882 * version.h (RELEASE): Bump for 2.13 release.
34883 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34884
34885 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34886
34887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34888 MADV_NOHUGEPAGE.
34889 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34891 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34892 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34894 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34895
34896 * posix/getconf.c: Update copyright year.
34897 * catgets/gencat.c: Likewise.
34898 * csu/version.c: Likewise.
34899 * debug/catchsegv.sh: Likewise.
34900 * debug/xtrace.sh: Likewise.
34901 * elf/ldconfig.c: Likewise.
34902 * elf/ldd.bash.in: Likewise.
34903 * elf/sprof.c (print_version): Likewise.
34904 * iconv/iconv_prog.c: Likewise.
34905 * iconv/iconvconfig.c: Likewise.
34906 * locale/programs/locale.c: Likewise.
34907 * locale/programs/localedef.c: Likewise.
34908 * malloc/memusage.sh: Likewise.
34909 * malloc/mtrace.pl: Likewise.
34910 * nscd/nscd.c (print_version): Likewise.
34911 * nss/getent.c: Likewise.
34912
34913 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34914 PF_CAIF, and PF_ALG.
34915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34916
349172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34918
34919 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34920 (modules-names): Use them.
34921 (ifunc-test-modules, ifunc-pie-tests): Define.
34922 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34923 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34924 (test-extras): Likewise.
34925 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34926 $(compile-command.c).
34927 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34928 (all-built-dso): Define.
34929 (check-textrel.out, check-execstack.out): Depend on it.
34930
34931 * configure.in: Don't override --enable-multi-arch.
34932
349332011-01-15 Ulrich Drepper <drepper@gmail.com>
34934
34935 [BZ #6812]
34936 * nscd/hstcache.c (tryagain): Define.
34937 (cache_addhst): Return tryagain not notfound for temporary errors.
34938 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34939 failed.
34940
349412011-01-14 Ulrich Drepper <drepper@gmail.com>
34942
34943 [BZ #10563]
34944 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34945 to make the syscall.
34946 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34947
34948 [BZ #12378]
34949 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34950 and fall back to matching as normal character if the string ends before
34951 the matching ']' is found. This is what POSIX requires.
34952 * posix/testfnm.c: Adjust test result.
34953 * posix/globtest.sh: Adjust test result. Add new test.
34954 * posix/tst-fnmatch.input: Likewise.
34955 * posix/tst-fnmatch2.c: Add new test.
34956
349572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34958
34959 * elf/Makefile (check-execstack): Revert last change. Depend on
34960 check-execstack.h.
34961 (check-execstack.h): New target.
34962 (generated): Add check-execstack.h.
34963 * elf/check-execstack.c: Include "check-execstack.h".
34964 (main): Revert last change.
34965 (handle_file): Return zero if GNU_STACK is absent and
34966 DEFAULT_STACK_PERMS doesn't include PF_X.
34967
349682011-01-13 Ulrich Drepper <drepper@gmail.com>
34969
34970 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34971 in child fails because the descriptor is already closed.
34972 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34973 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34975
34976 [BZ #12397]
34977 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34978 syscall.
34979
34980 [BZ #10484]
34981 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34982 temporary buffer used to handle multi lookups locally.
34983 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34984
349852011-01-12 Ulrich Drepper <drepper@gmail.com>
34986
34987 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34988 loader is ld.so.
34989
349902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34991
34992 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34993 alignment for SSE2.
34994
349952011-01-12 Ulrich Drepper <drepper@gmail.com>
34996
34997 [BZ #12394]
34998 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34999 characters. When rounding increased number of integer digits recompute
35000 number of groups.
35001 * stdio-common/tst-grouping.c: New file.
35002 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35003
350042011-01-09 Ulrich Drepper <drepper@gmail.com>
35005
35006 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35007 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35008
35009 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35010 void.
35011 * bits/select.h: Likewise.
35012
350132011-01-08 Ulrich Drepper <drepper@gmail.com>
35014
35015 * po/ja.po: Update from translation team.
35016
350172011-01-04 David S. Miller <davem@sunset.davemloft.net>
35018
35019 [BZ #11155]
35020 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35021 implementation just like for lxstat, fxstatat, et al.
35022
350232010-12-27 Jim Meyering <meyering@redhat.com>
35024
35025 [BZ #12348]
35026 * posix/regexec.c (build_trtable): Return failure indication upon
35027 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35028
350292010-12-25 Ulrich Drepper <drepper@gmail.com>
35030
35031 [BZ #12201]
35032 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35033 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35034 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35035 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35036
35037 [BZ #12207]
35038 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35039
35040 [BZ #12204]
35041 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35042 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35043
350442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35045
35046 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35047 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35048 script has SORT_BY_INIT_PRIORITY.
35049 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35050 NO_CTORS_DTORS_SECTIONS is defined.
35051 * elf/soinit.c: Likewise.
35052 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35053 NO_CTORS_DTORS_SECTIONS is defined.
35054 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35055 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35056 * sysdeps/sh/init-first.c: Likewise.
35057 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35058
350592010-12-24 Ulrich Drepper <drepper@gmail.com>
35060
35061 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35062 always use the slow path.
35063
350642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35065
35066 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35067 similar rule which adds the sysdep directories to the header search in
35068 order to pick up the correct platform stackinfo.h.
35069 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35070 perform test if it is, otherwise return successfully without testing.
35071 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35072 DEFAULT_STACK_PERMS define in stackinfo.h.
35073 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35074 defined in stackinfo.h.
35075 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35076 DEFAULT_STACK_PERMS defined in stackinfo.h.
35077 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35078 * sysdeps/ia64/stackinfo.h: Likewise.
35079 * sysdeps/s390/stackinfo.h: Likewise.
35080 * sysdeps/sh/stackinfo.h: Likewise.
35081 * sysdeps/sparc/stackinfo.h: Likewise.
35082 * sysdeps/x86_64/stackinfo.h: Likewise.
35083 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35084 PF_X for powerpc64. Retain PF_X for powerpc32.
35085
350862010-12-19 Ulrich Drepper <drepper@gmail.com>
35087
35088 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35089 accurately.
35090 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35091 GETDENTS_64BIT_ALIGNED.
35092
350932010-12-14 Ulrich Drepper <dreper@gmail.com>
35094
35095 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35096
350972010-12-10 Andreas Schwab <schwab@redhat.com>
35098
35099 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35100 _GNU_SOURCE.
35101
35102 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35103 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35104 Remove __restrict.
35105 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35106 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35107
351082010-12-09 Ulrich Drepper <drepper@gmail.com>
35109
35110 [BZ #11655]
35111 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35112 are initialized.
35113
351142010-12-09 Jakub Jelinek <jakub@redhat.com>
35115
35116 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35117
351182010-12-03 Ulrich Drepper <drepper@gmail.com>
35119
35120 * po/it.po: Update from translation team.
35121
351222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35123
35124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35125 unused codes.
35126
351272010-11-30 Ulrich Drepper <drepper@gmail.com>
35128
35129 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35130
351312010-11-24 Andreas Schwab <schwab@redhat.com>
35132
35133 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35134 specially.
35135 (gaih_getanswer_slice): Likewise.
35136
351372010-10-20 Jakub Jelinek <jakub@redhat.com>
35138
35139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35140
351412010-05-31 Petr Baudis <pasky@suse.cz>
35142
35143 [BZ #11149]
35144 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35145 silently even in the chroot mode.
35146
351472010-11-22 Ulrich Drepper <drepper@gmail.com>
35148
35149 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35150 last patch a bit. Pretty printing
35151
351522010-05-31 Petr Baudis <pasky@suse.cz>
35153
35154 [BZ #10085]
35155 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35156 initialization of skip_initgroups_dyn.
35157
351582010-11-19 Ulrich Drepper <drepper@gmail.com>
35159
35160 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35162
351632010-11-16 Ulrich Drepper <drepper@gmail.com>
35164
35165 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35166
351672010-11-11 Andreas Schwab <schwab@redhat.com>
35168
35169 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35170 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35171 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35172 ($(objpfx)tst-fnmatch-mem): New rule.
35173 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35174 * posix/tst-fnmatch.c (main): Call mtrace.
35175
351762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35177
35178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35179 Support Intel processor model 6 and model 0x2c.
35180
351812010-11-10 Luis Machado <luisgpm@br.ibm.com>
35182
35183 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35184 signed comparison.
35185
351862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35187
35188 [BZ #12205]
35189 * string/test-strncasecmp.c (check_result): New function.
35190 (do_one_test): Use it.
35191 (check1): New function.
35192 (test_main): Use it.
35193 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35194 Support strcasecmp and strncasecmp.
35195
351962010-11-08 Ulrich Drepper <drepper@gmail.com>
35197
35198 [BZ #12194]
35199 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35201
352022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35203
35204 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35205 IFUNC support.
35206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35207 memset-x86-64.
35208 * sysdeps/x86_64/multiarch/bzero.S: New file.
35209 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35210 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35211 * sysdeps/x86_64/multiarch/memset.S: New file.
35212 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35214 Set bit_Prefer_SSE_for_memop for Intel processors.
35215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35216 Define.
35217 (index_Prefer_SSE_for_memop): Define.
35218 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35219
352202010-11-04 Luis Machado <luisgpm@br.ibm.com>
35221
35222 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35223 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35224
352252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35226
35227 [BZ #12191]
35228 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35229 (__x86_64_raw_data_cache_size_half): Likewise.
35230 (__x86_64_raw_shared_cache_size): Likewise.
35231 (__x86_64_raw_shared_cache_size_half): Likewise.
35232
35233 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35234 (__x86_64_raw_data_cache_size_half): Likewise.
35235 (__x86_64_raw_shared_cache_size): Likewise.
35236 (__x86_64_raw_shared_cache_size_half): Likewise.
35237 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35238 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35239 and __x86_64_raw_shared_cache_size_half. Round
35240 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35241 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35242 to multiple of 256 bytes.
35243
352442010-11-03 Ulrich Drepper <drepper@gmail.com>
35245
35246 [BZ #12167]
35247 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35248 of inacessible symlinks. Verify result of symlink before returning it.
35249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35250 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35251
352522010-10-28 Erich Ritz <erichritz@gmail.com>
35253
35254 * math/math.h (isinf): Fix typo in comment.
35255
352562010-11-01 Ulrich Drepper <drepper@gmail.com>
35257
35258 * po/da.po: Update from translation team.
35259
352602010-10-26 Ulrich Drepper <drepper@gmail.com>
35261
35262 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35263 is added to the list.
35264
352652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35266 Ulrich Drepper <drepper@gmail.com>
35267
35268 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35269 the global list here. Move code to...
35270 (_dl_add_to_namespace_list): ...here. New function.
35271 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35272 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35273 * elf/dl-load.c (lose): Don't remove the element from the list.
35274 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35275 (_dl_map_object): Likewise.
35276
352772010-10-25 Ulrich Drepper <drepper@gmail.com>
35278
35279 [BZ #12159]
35280 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35281 into all bytes of SSE register.
35282 Patch by Richard Li <richardpku@gmail.com>.
35283
352842010-10-24 Ulrich Drepper <drepper@gmail.com>
35285
35286 [BZ #12140]
35287 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35288 perturbing.
35289
352902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35291
35292 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35293 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35295 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35297 submachine.
35298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35299
353002010-10-22 Andreas Schwab <schwab@redhat.com>
35301
35302 * include/dlfcn.h (__RTLD_SECURE): Define.
35303 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35304 mode & __RTLD_SECURE instead.
35305 (open_path): Rename preloaded parameter to secure.
35306 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35307 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35308 * elf/dl-deps.c (openaux): Likewise.
35309 * elf/rtld.c (struct map_args): Remove is_preloaded.
35310 (map_doit): Don't use it.
35311 (dl_main): Likewise.
35312 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35313 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35314
353152010-09-09 Andreas Schwab <schwab@redhat.com>
35316
35317 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35318 (sysd-rules-targets): Remove duplicates.
35319 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35320 rtld-%.$o dependency.
35321
353222010-10-18 Andreas Schwab <schwab@redhat.com>
35323
35324 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35325 _dl_map_object do it.
35326
353272010-10-19 Ulrich Drepper <drepper@gmail.com>
35328
35329 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35330 fast fma builtins, define the macros in the C99 standard.
35331 (FP_FAST_FMAF): Likewise.
35332 (FP_FAST_FMAL): Likewise.
35333 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35334
35335 * bits/mathdef.h: Update copyright year.
35336 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35337
353382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35339
35340 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35341 builtins, define the macros in the C99 standard.
35342 (FP_FAST_FMAF): Likewise.
35343 (FP_FAST_FMAL): Likewise.
35344 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35345 multiply/add.
35346 (FP_FAST_FMAF): Likewise.
35347
353482010-10-15 Jakub Jelinek <jakub@redhat.com>
35349
35350 [BZ #3268]
35351 * math/libm-test.inc (fma_test): Some new testcases.
35352 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35353 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35354 y and infinite z. Do multiplication by C already in long double.
35355 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35357 y and infinite z. Do bitwise or of inexact bit into u.d.
35358 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35359 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35360 * sysdeps/i386/fpu/s_fma.S: Removed.
35361 * sysdeps/i386/fpu/s_fmal.S: Removed.
35362
353632010-10-16 Jakub Jelinek <jakub@redhat.com>
35364
35365 [BZ #3268]
35366 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35368 computation is not scheduled after fetestexcept. Fix value
35369 of minimum denormal long double.
35370
353712010-10-14 Jakub Jelinek <jakub@redhat.com>
35372
35373 [BZ #3268]
35374 * math/libm-test.inc (fma_test): Add some more tests.
35375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35376 correctly.
35377
353782010-10-15 Andreas Schwab <schwab@redhat.com>
35379
35380 * scripts/data/localplt-s390-linux-gnu.data: New file.
35381 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35382
353832010-10-13 Jakub Jelinek <jakub@redhat.com>
35384
35385 [BZ #3268]
35386 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35387 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35388 instead of dbl-64.
35389 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35390 inlines.
35391 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35393 if one of x and y is very large and the other is subnormal.
35394 * sysdeps/s390/fpu/s_fmaf.c: New file.
35395 * sysdeps/s390/fpu/s_fma.c: New file.
35396 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35397 * sysdeps/powerpc/fpu/s_fma.S: New file.
35398 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35399 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35400 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35401
354022010-10-12 Jakub Jelinek <jakub@redhat.com>
35403
35404 [BZ #3268]
35405 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35406 fma tests.
35407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35408 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35409 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35410 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35411 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35412 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35414
354152010-10-12 Ulrich Drepper <drepper@redhat.com>
35416
35417 [BZ #12078]
35418 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35419 * posix/bug-regex31.input: Add test case.
35420
354212010-10-11 Ulrich Drepper <drepper@gmail.com>
35422
35423 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35424 * posix/bug-regex31.input: New file.
35425
35426 [BZ #12078]
35427 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35428 (parse_sub_exp): Fix last change, use postorder.
35429
35430 * posix/bug-regex31.c: New file.
35431 * posix/Makefile: Add rules to build and run bug-regex31.
35432
35433 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35434
35435 [BZ #12078]
35436 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35437
35438 [BZ #12108]
35439 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35440 to have entries in sys_siglist.
35441
35442 [BZ #12093]
35443 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35444 be NULL.
35445
354462010-10-07 Jakub Jelinek <jakub@redhat.com>
35447
35448 [BZ #3268]
35449 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35450 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35451 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35452 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35453 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35454 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35455 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35456 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35457 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35458 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35459 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35460 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35461 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35462 * math/ftestexcept.c (fetestexcept): Likewise.
35463 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35464 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35465 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35466 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35467 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35468 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35470
354712010-10-11 Ulrich Drepper <drepper@gmail.com>
35472
35473 [BZ #12107]
35474 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35475 newline.
35476
354772010-10-06 Ulrich Drepper <drepper@gmail.com>
35478
35479 * string/bug-strstr1.c: New file.
35480 * string/Makefile: Add rules to build and run bug-strstr1.
35481
354822010-10-05 Eric Blake <eblake@redhat.com>
35483
35484 [BZ #12092]
35485 * string/str-two-way.h (two_way_long_needle): Always clear memory
35486 when skipping input due to the shift table.
35487
354882010-10-03 Ulrich Drepper <drepper@gmail.com>
35489
35490 [BZ #12005]
35491 * malloc/mcheck.c: Handle large requests.
35492
35493 [BZ #12077]
35494 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35495 for strncmp and strncasecmp.
35496 * string/stratcliff.c: Add tests for strcmp and strncmp.
35497 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35498
354992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35500
35501 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35502 __set_fpscr.
35503
355042010-09-30 Andreas Jaeger <aj@suse.de>
35505
35506 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35507 (CGROUP_SUPER_MAGIC): Define.
35508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35509 Handle btrfs and cgroup file systems.
35510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35511 Likewise.
35512
355132010-09-27 Luis Machado <luisgpm@br.ibm.com>
35514
35515 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35516 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35517
355182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35519
35520 [BZ #12067]
35521 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35522 trying to locate the ELF header.
35523
355242010-09-27 Andreas Schwab <schwab@redhat.com>
35525
35526 [BZ #11611]
35527 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35528 Mask out sign-bit copies when constructing f_fsid.
35529
355302010-09-24 Petr Baudis <pasky@suse.cz>
35531
35532 * debug/stack_chk_fail_local.c: Add missing licence exception.
35533 * debug/warning-nop.c: Likewise.
35534
355352010-09-15 Joseph Myers <joseph@codesourcery.com>
35536
35537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35538 implementing getdents64 using getdents syscall, set d_type if
35539 __ASSUME_GETDENTS32_D_TYPE.
35540
355412010-09-16 Andreas Schwab <schwab@redhat.com>
35542
35543 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35544 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35545
355462010-09-21 Ulrich Drepper <drepper@redhat.com>
35547
35548 [BZ #12037]
35549 * posix/unistd.h: Undo change of feature selection for ftruncate from
35550 2010-01-11.
35551
355522010-09-20 Ulrich Drepper <drepper@redhat.com>
35553
35554 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35555 detection.
35556
355572010-09-20 Andreas Schwab <schwab@redhat.com>
35558
35559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35560 fanotify_mark.
35561 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35562
355632010-09-14 Andreas Schwab <schwab@redhat.com>
35564
35565 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35566 variables after CHECK_SP call.
35567 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35568
355692010-09-13 Andreas Schwab <schwab@redhat.com>
35570 Ulrich Drepper <drepper@redhat.com>
35571
35572 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35573 re-relocationg ld.so.
35574 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35575 _dl_init_paths call.
35576 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35577 here anymore.
35578
355792010-09-14 Ulrich Drepper <drepper@redhat.com>
35580
35581 * resolv/res_init.c (__res_vinit): Count the default server we added.
35582
355832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35584 Ulrich Drepper <drepper@redhat.com>
35585
35586 [BZ #11968]
35587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35588 (____longjmp_chk): Use %ebx for saving value across system call.
35589 Add unwind info.
35590
355912010-09-06 Andreas Schwab <schwab@redhat.com>
35592
35593 * manual/Makefile: Don't mix pattern rules with normal rules.
35594
355952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35596
35597 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35598 operation.
35599 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35600 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35601 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35602 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35603 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35604 Likewise.
35605
356062010-09-04 Ulrich Drepper <drepper@redhat.com>
35607
35608 [BZ #11979]
35609 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35610 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35611
356122010-09-02 Ulrich Drepper <drepper@redhat.com>
35613
35614 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35615 * sysdeps/x86_64/addmul_1.S: Likewise.
35616 * sysdeps/x86_64/lshift.S: Likewise.
35617 * sysdeps/x86_64/mul_1.S: Likewise.
35618 * sysdeps/x86_64/rshift.S: Likewise.
35619 * sysdeps/x86_64/sub_n.S: Likewise.
35620 * sysdeps/x86_64/submul_1.S: Likewise.
35621
356222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35623
35624 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35625 Define __sched_param instead of SCHED_* and sched_param when
35626 <bits/sched.h> is included with __need_schedparam defined.
35627 * bits/sched.h [__need_schedparam]
35628 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35629 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35630 (__defined_schedparam): Define to 1.
35631 (__sched_param): New structure, identical to sched_param.
35632 (__need_schedparam): Undefine.
35633
356342010-08-31 Mike Frysinger <vapier@gentoo.org>
35635
35636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35637 (epoll_create1): Declare.
35638
35639 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35640
356412010-08-31 Andreas Schwab <schwab@redhat.com>
35642
35643 [BZ #7066]
35644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35645 shifting retval into place.
35646
356472010-09-01 Ulrich Drepper <drepper@redhat.com>
35648
35649 * nis/rpcsvc/nis.h: Update copyright notice.
35650 * nis/rpcsvc/nis.x: Likewise.
35651 * nis/rpcsvc/nis_callback.h: Likewise.
35652 * nis/rpcsvc/nis_callback.x: Likewise.
35653 * nis/rpcsvc/nis_object.x: Likewise.
35654 * nis/rpcsvc/nis_tags.h: Likewise.
35655 * nis/rpcsvc/yp.h: Likewise.
35656 * nis/rpcsvc/yp.x: Likewise.
35657 * nis/rpcsvc/ypupd.h: Likewise.
35658 * nis/yp_xdr.c: Likewise.
35659 * nis/ypupdate_xdr.c: Likewise.
35660
35661 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35662 mainly the body of pmap_getport. Add parameters to specify timeouts.
35663 (pmap_getport): Use __libc_rpc_getport.
35664 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35665 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35666 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35667
356682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35669
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35671 fanotify_mark.
35672
356732010-08-27 Roland McGrath <roland@redhat.com>
35674
35675 * sysdeps/i386/i686/multiarch/Makefile
35676 (CFLAGS-varshift.c): New variable.
35677
356782010-08-27 Ulrich Drepper <drepper@redhat.com>
35679
35680 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35681 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35682
35683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35684
35685 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35686
356872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35688
35689 * sysdeps/x86_64/strlen.S: Unroll the loop.
35690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35691 strlen-sse2 strlen-sse2-bsf.
35692 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35693 __strlen_no_bsf if bit_Slow_BSF is set.
35694 (__strlen_sse42): Removed.
35695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35696 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35697
356982010-08-25 Roland McGrath <roland@redhat.com>
35699
35700 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35701 * sysdeps/x86_64/multiarch/varshift.c: New file.
35702 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35703 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35704 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35705 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35706
357072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35708
35709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35710 strlen-sse2 strlen-sse2-bsf.
35711 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35712 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35713 (__strlen_sse2): Removed.
35714 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35717 bit_Slow_BSF for Atom.
35718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35719 (index_Slow_BSF): Define.
35720 (HAS_SLOW_BSF): Define.
35721
357222010-08-25 Ulrich Drepper <drepper@redhat.com>
35723
35724 [BZ #10851]
35725 * resolv/res_init.c (__res_vinit): When no server address at all
35726 is given default to loopback.
35727
357282010-08-24 Roland McGrath <roland@redhat.com>
35729
35730 * configure.in: Remove config-name.h generation.
35731 * configure: Regenerated.
35732 * config-name.in: File removed.
35733 * scripts/config-uname.sh: New file.
35734 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35735 ($(objdir)config-name.h): New target.
35736
35737 * sunrpc/rpc_parse.h: Avoid nested comment.
35738
357392010-08-24 Richard Henderson <rth@redhat.com>
35740 Ulrich Drepper <drepper@redhat.com>
35741 H.J. Lu <hongjiu.lu@intel.com>
35742
35743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35745 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35746 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35747 _mm_alignr_epi8 with _mm_loadu_si128.
35748 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35749 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35750 (__m128i_shift_right): Removed.
35751 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35752 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35753 * sysdeps/x86_64/multiarch/varshift.h: New file.
35754 * sysdeps/x86_64/multiarch/varshift.S: New file.
35755
357562010-08-21 Mike Frysinger <vapier@gentoo.org>
35757
35758 * configure.in: Move assembler checks to before sysdep dir checking.
35759
357602010-08-20 Petr Baudis <pasky@suse.cz>
35761
35762 * LICENSES: Sync the sunrpc license.
35763
357642010-08-19 Ulrich Drepper <drepper@redhat.com>
35765
35766 * sunrpc/auth_des.c: Update copyright notice once again.
35767 * sunrpc/auth_none.c: Likewise.
35768 * sunrpc/auth_unix.c: Likewise.
35769 * sunrpc/authdes_prot.c: Likewise.
35770 * sunrpc/authuxprot.c: Likewise.
35771 * sunrpc/bindrsvprt.c: Likewise.
35772 * sunrpc/clnt_gen.c: Likewise.
35773 * sunrpc/clnt_perr.c: Likewise.
35774 * sunrpc/clnt_raw.c: Likewise.
35775 * sunrpc/clnt_simp.c: Likewise.
35776 * sunrpc/clnt_tcp.c: Likewise.
35777 * sunrpc/clnt_udp.c: Likewise.
35778 * sunrpc/clnt_unix.c: Likewise.
35779 * sunrpc/des_crypt.c: Likewise.
35780 * sunrpc/des_soft.c: Likewise.
35781 * sunrpc/get_myaddr.c: Likewise.
35782 * sunrpc/getrpcport.c: Likewise.
35783 * sunrpc/key_call.c: Likewise.
35784 * sunrpc/key_prot.c: Likewise.
35785 * sunrpc/openchild.c: Likewise.
35786 * sunrpc/pm_getmaps.c: Likewise.
35787 * sunrpc/pm_getport.c: Likewise.
35788 * sunrpc/pmap_clnt.c: Likewise.
35789 * sunrpc/pmap_prot.c: Likewise.
35790 * sunrpc/pmap_prot2.c: Likewise.
35791 * sunrpc/pmap_rmt.c: Likewise.
35792 * sunrpc/rpc/auth.h: Likewise.
35793 * sunrpc/rpc/auth_unix.h: Likewise.
35794 * sunrpc/rpc/clnt.h: Likewise.
35795 * sunrpc/rpc/des_crypt.h: Likewise.
35796 * sunrpc/rpc/key_prot.h: Likewise.
35797 * sunrpc/rpc/netdb.h: Likewise.
35798 * sunrpc/rpc/pmap_clnt.h: Likewise.
35799 * sunrpc/rpc/pmap_prot.h: Likewise.
35800 * sunrpc/rpc/pmap_rmt.h: Likewise.
35801 * sunrpc/rpc/rpc.h: Likewise.
35802 * sunrpc/rpc/rpc_des.h: Likewise.
35803 * sunrpc/rpc/rpc_msg.h: Likewise.
35804 * sunrpc/rpc/svc.h: Likewise.
35805 * sunrpc/rpc/svc_auth.h: Likewise.
35806 * sunrpc/rpc/types.h: Likewise.
35807 * sunrpc/rpc/xdr.h: Likewise.
35808 * sunrpc/rpc_clntout.c: Likewise.
35809 * sunrpc/rpc_cmsg.c: Likewise.
35810 * sunrpc/rpc_common.c: Likewise.
35811 * sunrpc/rpc_cout.c: Likewise.
35812 * sunrpc/rpc_dtable.c: Likewise.
35813 * sunrpc/rpc_hout.c: Likewise.
35814 * sunrpc/rpc_main.c: Likewise.
35815 * sunrpc/rpc_parse.c: Likewise.
35816 * sunrpc/rpc_parse.h: Likewise.
35817 * sunrpc/rpc_prot.c: Likewise.
35818 * sunrpc/rpc_sample.c: Likewise.
35819 * sunrpc/rpc_scan.c: Likewise.
35820 * sunrpc/rpc_scan.h: Likewise.
35821 * sunrpc/rpc_svcout.c: Likewise.
35822 * sunrpc/rpc_tblout.c: Likewise.
35823 * sunrpc/rpc_util.c: Likewise.
35824 * sunrpc/rpc_util.h: Likewise.
35825 * sunrpc/rpcinfo.c: Likewise.
35826 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35827 * sunrpc/rpcsvc/key_prot.x: Likewise.
35828 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35829 * sunrpc/rpcsvc/mount.x: Likewise.
35830 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35831 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35832 * sunrpc/rpcsvc/rex.x: Likewise.
35833 * sunrpc/rpcsvc/rstat.x: Likewise.
35834 * sunrpc/rpcsvc/rusers.x: Likewise.
35835 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35836 * sunrpc/rpcsvc/spray.x: Likewise.
35837 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35838 * sunrpc/rtime.c: Likewise.
35839 * sunrpc/svc.c: Likewise.
35840 * sunrpc/svc_auth.c: Likewise.
35841 * sunrpc/svc_authux.c: Likewise.
35842 * sunrpc/svc_raw.c: Likewise.
35843 * sunrpc/svc_run.c: Likewise.
35844 * sunrpc/svc_simple.c: Likewise.
35845 * sunrpc/svc_tcp.c: Likewise.
35846 * sunrpc/svc_udp.c: Likewise.
35847 * sunrpc/svc_unix.c: Likewise.
35848 * sunrpc/svcauth_des.c: Likewise.
35849 * sunrpc/xcrypt.c: Likewise.
35850 * sunrpc/xdr.c: Likewise.
35851 * sunrpc/xdr_array.c: Likewise.
35852 * sunrpc/xdr_float.c: Likewise.
35853 * sunrpc/xdr_mem.c: Likewise.
35854 * sunrpc/xdr_rec.c: Likewise.
35855 * sunrpc/xdr_ref.c: Likewise.
35856 * sunrpc/xdr_sizeof.c: Likewise.
35857 * sunrpc/xdr_stdio.c: Likewise.
35858
35859 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35860 handling.
35861
358622010-08-19 Andreas Schwab <schwab@redhat.com>
35863
35864 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35865
358662010-08-19 Luis Machado <luisgpm@br.ibm.com>
35867
35868 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35870 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35871 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35872 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35873 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35874 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35875 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35876 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35878 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35879 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35880 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35881 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35882
358832010-07-26 Anton Blanchard <anton@samba.org>
35884
35885 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35886 * malloc/arena.c (heap_trim): Likewise.
35887
358882010-08-16 Ulrich Drepper <drepper@redhat.com>
35889
35890 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35891 here. Not...
35892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35893 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35894
358952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35896
35897 * sysdeps/i386/elf/Makefile: New file.
35898
358992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35900
35901 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35902 from fanotify_init.
35903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35904 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35905
359062010-08-15 Ulrich Drepper <drepper@redhat.com>
35907
35908 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35909 of strncasecmp_l.
35910 * sysdeps/multiarch/strcmp.S: Likewise.
35911
359122010-08-14 Ulrich Drepper <drepper@redhat.com>
35913
35914 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35915 strncase_l-nonascii.
35916 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35917 Add strncase_l-ssse3.
35918 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35919 * sysdeps/x86_64/strcmp.S: Likewise.
35920 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35921 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35922 * sysdeps/x86_64/strncase.S: New file.
35923 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35924 * sysdeps/x86_64/strncase_l.S: New file.
35925 * string/Makefile (strop-tests): Add strncasecmp.
35926 * string/test-strncasecmp.c: New file.
35927
35928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35929 warning.
35930
35931 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35932 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35933
359342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35935
35936 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35937
359382010-08-12 Ulrich Drepper <drepper@redhat.com>
35939
35940 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35943
359442010-05-01 Alan Modra <amodra@gmail.com>
35945
35946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35947 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35948 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35949 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35950 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35951 tidying. Don't tail-call __sigjmp_save for static lib.
35952 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35953 save location.
35954 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35955 (CALL_MCOUNT): Add eh info, and nop after bl.
35956 (TAIL_CALL_SYSCALL_ERROR): New macro.
35957 (PSEUDO_RET): Use it.
35958 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35959 Correct save location of integer regs and cr.
35960 (_dl_profile_resolve): Correct cr save location. Delete nops
35961 after bl when SHARED. Reduce cfi size a little by better
35962 placement of cfi directives.
35963 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35964 make a stack frame. Instead use parm save area as a temp.
35965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35966 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35968 Don't make a stack frame for parent, use parm save area.
35969 Increase child stack frame to 112 bytes. Don't save unused reg,
35970 and adjust reg usage. Set up cfi on error recovery and
35971 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35973 (__makecontext): Add dummy nop after jump to exit.
35974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35975 Use correct parm save area and cr save, reduce stack frame.
35976 Correct cfi for possible PSEUDO_RET frame setup.
35977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35978 Branch to local label emitted by PSEUDO_RET rather than
35979 __syscall_error.
35980
359812010-08-12 Andreas Schwab <schwab@redhat.com>
35982
35983 [BZ #11904]
35984 * locale/programs/locale.c (print_assignment): New function.
35985 (show_locale_vars): Use it.
35986
359872010-08-11 Ulrich Drepper <drepper@redhat.com>
35988
35989 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35990 field.
35991 (struct statfs64): Likewise.
35992 (_STATFS_F_FLAGS): Define.
35993 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35994 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35995 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35996 (ST_VALID): Define locally.
35997 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35998 __statvfs_getflags, use the provided value.
35999 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36000 __ASSUME_STATFS_F_FLAGS.
36001
36002 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36003
36004 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36005 Add sys/fanotify.h.
36006 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36007 fanotify_mask for GLIBC_2.13.
36008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36009 fanotify_init and fanotify_mark.
36010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36011 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36012
36013 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36014 Add prlimit.
36015 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36016 prlimit64 for GLIBC_2.13.
36017 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36018 prlimit64.
36019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36020 syscall.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36022 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36023 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36024 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36026 add prlimit alias.
36027 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36028
36029 [BZ #11903]
36030 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36031 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36032
36033 * nss/Makefile: Add rules to build and run tst-nss-test1.
36034 * shlib-versions: Add entry for libnss_test1.
36035 * nss/nss_test1.c: New file.
36036 * nss/tst-nss-test1.c: New file.
36037
36038 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36039 (__nss_configure_lookup): Set appropriate entry in
36040 __nss_configure_lookup to true.
36041 * nss/nsswitch.h: Define enum with indeces of databases in
36042 databases and __nss_database_custom arrays. Declare
36043 __nss_database_custom.
36044 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36045 to avoid using nscd when custom rules are installed.
36046 * nss/getXXbyYY_r.c: Likewise.
36047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36048
36049 * nss/nss_files/files-parse.c: Whitespace fixes.
36050
360512010-08-09 Ulrich Drepper <drepper@redhat.com>
36052
36053 [BZ #11883]
36054 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36055 * posix/fnmatch_loop.c: Likewise.
36056
360572010-07-17 Andi Kleen <ak@linux.intel.com>
36058
36059 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36060 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36061 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36062 * Versions.def [GLIBC_2.13]: Add.
36063
360642010-08-06 Ulrich Drepper <drepper@redhat.com>
36065
36066 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36067 Also fail if tpwd after pwuid call is NULL.
36068
360692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36070
36071 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36072 when converting to ms.
36073
360742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36075
36076 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36077 EOPNOTSUPP errors with ENOTTY.
36078 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36079 EOPNOTSUPP errors with ENOTTY.
36080
360812010-07-31 Ulrich Drepper <drepper@redhat.com>
36082
36083 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36084 Add strcasecmp_l-ssse3.
36085 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36086 strcasecmp.
36087 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36088 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36089 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36090
360912010-07-30 Ulrich Drepper <drepper@redhat.com>
36092
36093 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36094
36095 * string/Makefile (strop-tests): Add strcasecmp.
36096 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36097 strcasecmp_l-nonascii.
36098 (gen-as-const-headers): Add locale-defines.sym.
36099 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36100 * sysdeps/x86_64/strcasecmp.S: New file.
36101 * sysdeps/x86_64/strcasecmp_l.S: New file.
36102 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36103 * sysdeps/x86_64/locale-defines.sym: New file.
36104 * string/test-strcasecmp.c: New file.
36105
36106 * string/test-strcasestr.c: Test both ends of the range of characters.
36107 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36108
361092010-07-29 Roland McGrath <roland@redhat.com>
36110
36111 [BZ #11856]
36112 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36113
361142010-07-27 Ulrich Drepper <drepper@redhat.com>
36115
36116 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36117 for ld.so.
36118
361192010-07-27 Andreas Schwab <schwab@redhat.com>
36120
36121 * manual/memory.texi (Malloc Tunable Parameters): Document
36122 M_PERTURB.
36123
361242010-07-26 Roland McGrath <roland@redhat.com>
36125
36126 [BZ #11840]
36127 * configure.in (-fgnu89-inline check): Set and substitute
36128 gnu89_inline, not libc_cv_gnu89_inline.
36129 * configure: Regenerated.
36130 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36131
361322010-07-26 Ulrich Drepper <drepper@redhat.com>
36133
36134 * string/test-strnlen.c: New file.
36135 * string/Makefile (strop-tests): Add strnlen.
36136 * string/tester.c (test_strnlen): Add a few more test cases.
36137 * string/tst-strlen.c: Better error reporting.
36138
36139 * sysdeps/x86_64/strnlen.S: New file.
36140
361412010-07-24 Ulrich Drepper <drepper@redhat.com>
36142
36143 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36144 lower-latency instructions.
36145
361462010-07-23 Ulrich Drepper <drepper@redhat.com>
36147
36148 * string/test-strcasestr.c: New file.
36149 * string/test-strstr.c: New file.
36150 * string/Makefile (strop-tests): Add strstr and strcasestr.
36151 * string/str-two-way.h: Don't undefine MAX.
36152 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36153
361542010-07-21 Andreas Schwab <schwab@redhat.com>
36155
36156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36157 strcasestr-nonascii.
36158 (CFLAGS-strcasestr-nonascii.c): Define.
36159 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36160 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36161 Remove unused attribute.
36162
361632010-07-20 Roland McGrath <roland@redhat.com>
36164
36165 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36166 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36167 ld.so.cache was broken. With it, there is no way to disable dsocaps
36168 like LD_HWCAP_MASK can disable hwcaps.
36169
361702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36171
36172 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36173
361742010-07-16 Ulrich Drepper <drepper@redhat.com>
36175
36176 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36177 call in strcasestr.
36178 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36179 __strcasestr_sse42_nonascii.
36180 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36181 strcasestr-nonascii.c.
36182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36183
361842010-06-15 Luis Machado <luisgpm@br.ibm.com>
36185
36186 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36188 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36189 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36190
361912010-07-09 Ulrich Drepper <drepper@redhat.com>
36192
36193 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36194 fcntl.
36195
361962010-07-06 Andreas Schwab <schwab@redhat.com>
36197
36198 [BZ #11577]
36199 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36200 dl_signal_cerror.
36201
362022010-07-06 Ulrich Drepper <drepper@redhat.com>
36203
36204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36205 _PC_PIPE_BUF using F_GETPIPE_SZ.
36206
362072010-07-05 Roland McGrath <roland@redhat.com>
36208
36209 * manual/arith.texi (Rounding Functions): Fix rint description
36210 implicit in round description.
36211
362122010-07-02 Ulrich Drepper <drepper@redhat.com>
36213
36214 * elf/Makefile: Fix linking for a few tests to make recent linker
36215 happy.
36216
362172010-06-30 Andreas Schwab <schwab@redhat.com>
36218
36219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36220 $(common-objpfx)libc_nonshared.a.
36221
362222010-06-21 Luis Machado <luisgpm@br.ibm.com>
36223
36224 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36225 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36226 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36227 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36228 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36230 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36231 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36246 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36247 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36248 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36249 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36250 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36251 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36252 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36253 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36254 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36255 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36256 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36257 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36272
362732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36274
36275 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36276 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36277 * string/memmove.c (memmove): Renamed to ...
36278 (MEMMOVE): ...this. Default to memmove.
36279 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36280 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36281 (END_CHK): Define.
36282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36283 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36284 mempcpy-ssse3-back memmove-ssse3-back.
36285 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36288 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36289 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36290 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36291 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36292 * sysdeps/x86_64/multiarch/memmove.c: New file.
36293 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36294 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36295 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36296 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36299 Define.
36300 (index_Fast_Copy_Backward): Define.
36301 (HAS_ARCH_FEATURE): Define.
36302 (HAS_FAST_REP_STRING): Define.
36303 (HAS_FAST_COPY_BACKWARD): Define.
36304
363052010-06-21 Andreas Schwab <schwab@redhat.com>
36306
36307 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36308 Restore proper fallback handling.
36309
363102010-06-19 Ulrich Drepper <drepper@redhat.com>
36311
36312 [BZ #11701]
36313 * posix/group_member.c (__group_member): Correct checking loop.
36314
36315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36316 OOM in getpwuid_r correctly. Return error number when the caller
36317 should return, otherwise -1.
36318 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36319 call returning > 0 value.
36320 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36321
363222010-06-07 Andreas Schwab <schwab@redhat.com>
36323
36324 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36325 libc_nonshared.a from targets in modules-names.
36326
363272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36328
36329 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36330 requires it.
36331
363322010-06-10 Luis Machado <luisgpm@br.ibm.com>
36333
36334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36335 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36337 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36338
363392010-06-02 Andreas Schwab <schwab@redhat.com>
36340
36341 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36342
363432010-06-14 Ulrich Drepper <drepper@redhat.com>
36344
36345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36346 and F_GETPIPE_SZ.
36347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36353
363542010-06-14 Roland McGrath <roland@redhat.com>
36355
36356 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36357
363582010-06-07 Jakub Jelinek <jakub@redhat.com>
36359
36360 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36361 __REDIRECT followed by __THROW.
36362 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36363 * posix/getopt.h (getopt): Likewise.
36364
363652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36366
36367 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36368 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36369 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36370 in AT_FLAGS.
36371 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36372 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36373
363742010-05-28 Luis Machado <luisgpm@br.ibm.com>
36375
36376 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36377
363782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36379
36380 [BZ #11640]
36381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36382 Properly check family and model.
36383
363842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36385
36386 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36387
363882010-05-24 Luis Machado <luisgpm@br.ibm.com>
36389
36390 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36391
363922010-05-21 Ulrich Drepper <drepper@redhat.com>
36393
36394 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36395 symbol reference.
36396
363972010-05-19 Andreas Schwab <schwab@redhat.com>
36398
36399 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36400 symbol reference.
36401
364022010-05-21 Andreas Schwab <schwab@redhat.com>
36403
36404 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36405 and internal_recvmmsg.
36406 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36407 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36409 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36410
36411 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36412 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36413 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36414
364152010-05-20 Andreas Schwab <schwab@redhat.com>
36416
36417 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36418
364192010-05-17 Luis Machado <luisgpm@br.ibm.com>
36420
36421 POWER7 optimizations.
36422 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36423 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36424
364252010-05-19 Ulrich Drepper <drepper@redhat.com>
36426
36427 * version.h: Update for 2.13 development version.
36428
364292010-05-12 Andrew Stubbs <ams@codesourcery.com>
36430
36431 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36432 exceptions. Return 0.
36433
364342010-05-07 Roland McGrath <roland@redhat.com>
36435
36436 * elf/ldconfig.c (main): Add a const.
36437
364382010-05-06 Ulrich Drepper <drepper@redhat.com>
36439
36440 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36441 (args_options): Add no-idn option.
36442 (ahosts_keys_int): Add idn_flags to ai_flags.
36443 (parse_option): Handle 'i' option to clear idn_flags.
36444
36445 * malloc/malloc.c (_int_free): Possible race in the most recently
36446 added check. Only act on the data if no current modification
36447 happened.
36448
36449See ChangeLog.17 for earlier changes.