]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch wcschr for PowerPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
05b5cd1c
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4 file.
5 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6 file.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9 multiarch wcschr for PPc32.
10 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11 multiarch objects.
12 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13 (__libc_ifunc_impl_list): Likewise.
14 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17 sysdeps/powerpc/power6/wcschr.c.
18
ba964147
AZ
192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23 file.
24 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26 file: multiarch strchr for PPC32.
27 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28 multiarch objects.
29 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30 (__libc_ifunc_impl_list): Likewise.
31
31c81aaa
AZ
322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35 name.
36 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37 file.
38 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39 file.
40 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41 multiarch strchrnul for PPC32.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43 multiarch objects.
44 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45 (__libc_ifunc_impl_list): Likewise.
46
0d0607d9
AZ
472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
50 file.
51 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52 multiarch strncasecmp for PPC32.
53 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54 file.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56 multiarch strncasecmp_l for PPC32.
57 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58 strncasecmp multiarch objects.
59 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60 (__libc_ifunc_impl_list): Likewise.
61
4dfd5c86
AZ
622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
64 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
65 file.
66 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
67 multiarch strncasecmp for PPC32.
68 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
69 New file.
70 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
71 multiarch strcasecmp_l for PPC32.
72 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
73 multiarch objects.
74 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
75 (__libc_ifunc_impl_list): Likewise.
76
a19e01a3
AZ
772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
80 file.
81 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
82 file.
83 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
84 multiarch strncmp for PPC32.
85 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
86 multiarch objects.
87 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
88 (__libc_ifunc_impl_list): Likewise.
89
ae9cf7a2
AZ
902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
93 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
94 file.
95 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
96 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
97 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
98 multiarch objects.
99 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
100 (__libc_ifunc_impl_list): Likewise.
101
3148bb7d
AZ
1022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103
104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
105 file.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
107 file.
108 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
110 multiarch objects.
111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
112 (__libc_ifunc_impl_list): Likewise.
113
7af8b946
AZ
1142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
117 file.
118 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
119 file.
120 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
121 multiarch rawmemchr for PPC32.
122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
123 multiarch objects.
124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
125 (__libc_ifunc_impl_list): Likewise.
126
03a6aa6a
AZ
1272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
130 file.
131 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
132 file.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
134 file: memrchr multiarch for PPC32.
135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
136 multiarch objects.
137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
138 (__libc_ifunc_impl_list): Likewise.
139
1c62e6d9
AZ
1402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * string/memchr.c (__memchr): Using macro to redefine symbol name.
143 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
144 file.
145 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
147 multiarch memchr for PPC32.
148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
149 multiarch objects.
150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
151 (__libc_ifunc_impl_list): Likewise.
152
87da8bdb
AZ
1532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
155 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
157 file.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
159 file.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
161 file: multiarch mempcpy for PPC32.
162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
163 multiarch objects.
164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
165 (__libc_ifunc_impl_list): Likewise.
166
20ed4714
AZ
1672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
171 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
173 multiarch bzero for PPC32.
174 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
175 file.
176 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
177 file.
178 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
179 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
180 file: multiarch memset for PPC32.
181 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
183 memset multiarch objects.
184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Likewise.
186
ab3e3a46
AZ
1872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188
189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
190 file.
191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
193 memcmp for PPC32.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
196 multiarch objects.
197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
198 (__libc_ifunc_impl_list): Likewise.
199
930de6f0
AZ
2002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
205 file.
206 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
207 file.
208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
209 file.
210 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
211 multiarch memcpy for PPC32.
212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
213 multiarch objects.
214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
215 (__libc_ifunc_impl_list): Likewise.
216
4c628e00
AZ
2172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
220 support multiarch for POWER/PPC32.
221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
222 Likewise.
223 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
225 Implies file to make multiarch folder appers before the fpu and
226 default folder for power4 configuration.
227
f4479220
SP
2282013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
229
230 * scripts/bench.pl: Append volatile keyword to type.
231
8517800f
KK
2322013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
233
234 * sysdeps/sh/sotruss-lib.c: New file.
235 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
236
180138f1
AZ
2372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
240
bbf37bdc
JM
2412013-12-05 Joseph Myers <joseph@codesourcery.com>
242
e47cc4e0
JM
243 [BZ #6810]
244 * math/w_tgamma.c: Include <errno.h>.
245 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
246 * math/w_tgammaf.c: Include <errno.h>.
247 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
248 * math/w_tgammal.c: Include <errno.h>.
249 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
250 * math/auto-libm-test-in: Do not allow missing errno on tgamma
251 underflow. Add more tgamma tests.
252 * math/auto-libm-test-out: Regenerated.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255
bbf37bdc
JM
256 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
257 sin, sinh, tan, tanh, tgamma, y0 and y1.
258 * math/auto-libm-test-out: Regenerated.
259 * math/libm-test.inc (TEST_COND_x86_64): New macro.
260 (TEST_COND_x86): Likewise.
261 (M_E2l): Remove macro.
262 (M_E3l): Likewise.
263 (M_2_SQRT_PIl): Likewise.
264 (M_SQRT_PIl): Likewise.
265 (M_1_DIV_El): Likewise.
266 (log_test_data): Use AUTO_TESTS_f_f.
267 (log10_test_data): Likewise.
268 (log1p_test_data): Likewise.
269 (log2_test_data): Likewise.
270 (sin_test_data): Likewise.
271 (sin_tonearest_test_data): Likewise.
272 (sin_towardzero_test_data): Likewise.
273 (sin_downward_test_data): Likewise.
274 (sin_upward_test_data): Likewise.
275 (sinh_test_data): Likewise.
276 (sinh_tonearest_test_data): Likewise.
277 (sinh_towardzero_test_data): Likewise.
278 (sinh_downward_test_data): Likewise.
279 (sinh_upward_test_data): Likewise.
280 (tan_test_data): Likewise.
281 (tan_tonearest_test_data): Likewise.
282 (tan_towardzero_test_data): Likewise.
283 (tan_downward_test_data): Likewise.
284 (tan_upward_test_data): Likewise.
285 (tanh_test_data): Likewise.
286 (tgamma_test_data): Likewise.
287 (y0_test_data): Likewise.
288 (y1_test_data): Likewise.
289 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
290 (special_real_inputs): Add pi/4.
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293
eb5ad6b9
AZ
2942013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295
296 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
297 "longjmp_target" static probes.
298 (__longjmp): Rename to __longjmp_symbol.
299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
300 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
301 on which longjmp to generate.
302 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
304 probe.
305 (__sigsetjmp): Rename to __sigsetjmp_symbol.
306 (__sigjmp_save): Rename to __sigjmp_save_symbol.
307 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
308 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
309 and __sigjmp_save_symbol based on which sigsetjmp to generated.
310 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
312 __longjmp_symbol based on which __longjmp to generate.
313 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
314 probe.
315 (setjmp): Rename to setjmp_symbol.
316 (__sigsetjmp): Rename to __sigsetjmp_symbol.
317 (_setjmp): Rename to _setjmp_symbol.
318 (__sigsetjmp): Rename to __sigsetjmp_symbol.
319 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
320 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
321 which setjmp to generate.
322 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
323 "longjmp_target" static probes.
324
d136c6dc
SP
3252013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
326
9298ecba
SP
327 * benchtests/README: Add note about output arguments.
328 * benchtests/bench-sincos.c: Remove file.
329 * benchtests/sincos-inputs: New file.
330 * scripts/bench.pl: Identify output arguments and define
331 static variables for them.
332
232983e9
SP
333 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
334
d136c6dc
SP
335 [BZ #15941]
336 * Makefile (INSTALL): Add install-plain.texi as the primary
337 dependency.
338 * manual/install-plain.texi: New file.
339 * manual/install.texi: Include node directive only for
340 non-plaintext output.
341
699ff837
JM
3422013-12-04 Joseph Myers <joseph@codesourcery.com>
343
ab07cea8
JM
344 * stdlib/longlong.h: Update from GCC.
345
699ff837
JM
346 [BZ #6807]
347 [BZ #15901]
348 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
349 * math/w_j0f.c (y0f): Likewise.
350 * math/w_j0l.c (__y0l): Likewise.
351 * math/w_j1.c (y1): Likewise.
352 * math/w_j1f.c (y1f): Likewise.
353 * math/w_j1l.c (__y1l): Likewise
354 * math/w_jn.c (yn): Likewise.
355 * math/w_jnf.c (ynf): Likewise.
356 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
357 Bessel function pole errors in _POSIX_ mode. Use NAN as return
358 value for Bessel function domain errors outside _SVID_ mode.
359 Adjust sign of return value for yn (negative integer, 0).
360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
361 by zero in return for negative x and set sign appropriately for
362 negative n.
363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
365 * math/libm-test.inc (y0_test_data): Add more tests and adjust
366 expectations in error cases.
367 (y1_test_data): Likewise.
368 (yn_test_data): Likewise.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371
5b118558
UW
3722013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
373
374 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
375 "64" to "64-v1". Add "64-v2".
376 (abi-64-options): Rename to ...
377 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
378 (abi-64-condition): Rename to ...
379 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
380 (abi-64-ld-soname): Rename to ...
381 (abi-64-v1-ld-soname): ... this.
382 (abi-64-v2-options): Define.
383 (abi-64-v2-condition): Likewise.
384 (abi-64-v2-ld-soname): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
386 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
390
61cd8fe4
UW
3912013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
392 Alan Modra <amodra@gmail.com>
393
394 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
395 New versions for use with the ELFv2 ABI.
396 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
397 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
398 declaration.
399 (struct La_ppc64v2_retval): Likewise.
400 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
401 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
402 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
403 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
404 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
405 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
406 Do not save or restore CR.
407 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
408 (_dl_profile_resolve): Do no save or restore CR. Support extended
409 return values for ELFv2 ABI. Fix location of FPR return registers.
410 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
411 updated values for _CALL_ELF == 2.
412 (La_regs, La_retval, int_retval): Likewise.
413
8b8a692c
UW
4142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
415
416 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
417 (FRAME_MIN_SIZE_PARM): Likewise.
418 (FRAME_BACKCHAIN): Likewise.
419 (FRAME_CR_SAVE): Likewise.
420 (FRAME_LR_SAVE): Likewise.
421 (FRAME_TOC_SAVE): Likewise.
422 (FRAME_PARM_SAVE): Likewise.
423 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
424 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
425 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
426 (call_mcount_parm_offset): New macro.
427 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
428 (PROF): Use symbolic stack frame offsets.
429 (TAIL_CALL_SYSCALL_ERROR): Likewise.
430 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
431 Redefine in terms of FRAME_MIN_SIZE.
432 (_dl_runtime_resolve): Use symbolic stack frame offsets.
433 (_dl_profile_resolve): Likewise. Update comment.
434 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
435 symbols stack frame offsets.
436 (__sigsetjmp): Likewise.
437 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
438 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
439 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
440 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
441
442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
443 (FRAME_BACKCHAIN): Remove.
444 (FRAME_CR_SAVE): Likewise.
445 (FRAME_LR_SAVE): Likewise.
446 (FRAME_COMPILER_DW): Likewise.
447 (FRAME_LINKER_DW): Likewise.
448 (FRAME_TOC_SAVE): Likewise.
449 (FRAME_PARM_SAVE): Likewise.
450 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
451 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
452 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
454 (CHECK_SP): Use symbolic stack frame offsets.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
456 zone" instead of caller's parameter save area for temp storage.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
458 Likewise. Also, use symbolic stack frame offsets.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
460 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
461 our own stack frame instead of the caller's.
462 (__socket): Use symbolic stack frame offsets.
463
122b66de
UW
4642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
465 Alan Modra <amodra@gmail.com>
466
467 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
468 Define.
469 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
470 PPC64_LOCAL_ENTRY_OFFSET): Define.
471 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
472 New function.
473 (elf_machine_fixup_plt): Call it.
474 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
475 reloc arguments.
476 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
477 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
478 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
479 r2 before calling target.
480
696caf1d
UW
4812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
482 Alan Modra <amodra@gmail.com>
483
484 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
485 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
486 versions of macros to support ELFv2 ABI.
487 (LOCALENTRY): New macro.
488 (ENTRY, EALIGN): Use it.
489 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
490 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
491 fall through into ENTRY entry point.
492 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
493 Only define if _CALL_ELF != 2.
494
495 (elf_machine_matches_host): Verify ABI version matches.
496 (RTLD_START): Use LOCALENTRY.
497 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
498 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
499 (PLT_ENTRY_WORDS): New macro.
500 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
501 (elf_machine_runtime_setup): Support ELFv2 ABI.
502 (elf_machine_fixup_plt): Likewise.
503 (elf_machine_plt_conflict): Likewise.
504 (resolve_ifunc): Likewise.
505 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
507 Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
509 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
511 (makecontext): Support ELFv2 ABI.
512 * elf/elf.h (EF_PPC64_ABI): Define.
513
d31beafa
UW
5142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
515
516 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
517 New assembler macro.
518 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
519 [ASSEMBLER] (ENTRY): ... but instead here ...
520 [ASSEMBLER] (EALIGN): ... and here.
521 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
522 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
523 [!ASSEMBLER] (ENTRY_2): Use it.
524 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
525 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
527 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
528 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
530 Use PPC64_LOAD_FUNCPTR.
531
b525166b
UW
5322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
533
534 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
535
7ec07d9a
AM
5362013-12-04 Alan Modra <amodra@gmail.com>
537
538 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
539 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
540 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
541 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
542
543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
544 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
545 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
546 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
547 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
548 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
549
5162e7dd
UW
5502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
551
552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
553 (__makecontext): Fix incorrect CFI when backtracing out of
554 context created via makecontext.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
556 (__setcontext): Fix incorrect CFI during switch to new context.
557 (__novec_setcontext): Likewise.
558
19e3372b
OB
5592013-12-04 Ondřej Bílka <neleai@seznam.cz>
560
561 [BZ #4772]
562 * time/strptime_l.c (__strptime_internal): Allow modifiers
563 in strptime.
564 * time/tst-strptime.c (day_tests): Add testcase.
565
566
ecaf142d
SP
5672013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
568
569 * scripts/bench.pl: Skip over blank lines.
570
fbf964ae
PE
5712013-12-04 Paul Eggert <eggert@cs.ucla.edu>
572
573 [BZ #926]
574 * manual/time.texi (Calendar Time): Clarify what timezone functions
575 use.
576
fa60a674
AZ
5772013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578
579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
580
d674f0ef
OB
5812013-12-04 Ondřej Bílka <neleai@seznam.cz>
582
583 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
584 implementation.
585 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
586 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
587 * debug/memset_chk.c (__memset_chk): Likewise.
588 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
589 * debug/strncpy_chk.c: Likewise.
590
17dea188
JM
5912013-12-03 Joseph Myers <joseph@codesourcery.com>
592
749008ff
JM
593 [BZ #15268]
594 [BZ #15425]
595 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
596 (__ieee754_exp): For possibly underflowing results, check size of
597 result and force underflow exception if required.
598 * math/auto-libm-test-in: Add more tests of exp.
599 * math/auto-libm-test-out: Regenerated.
600 * sysdeps/i386/fpu/libm-test-ulps: Update.
601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
602
17dea188
JM
603 [BZ #16283]
604 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
605 * math/w_exp2f.c (__exp2f): Likewise.
606 * math/w_exp2l.c (__exp2l): Likewise.
607 * math/auto-libm-test-in: Do not allow missing errno on exp2
608 underflow.
609 * math/auto-libm-test-out: Regenerated.
610
b20de2c3
OB
6112013-12-03 Ondřej Bílka <neleai@seznam.cz>
612
613 [BZ #16274]
614 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
615 handle filename validation.
616 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
617 (do_open): Delete.
618
d8e2dbe3
JM
6192013-12-03 Joseph Myers <joseph@codesourcery.com>
620
34e16df5
JM
621 [BZ #6786]
622 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
623 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
624 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
625 <float.h>.
626 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
627 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
628 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
630 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
632 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
633 * math/auto-libm-test-in: Don't allow missing errno from erfc.
634 Add more erfc tests.
635 * math/auto-libm-test-out: Regenerated.
636 * sysdeps/i386/fpu/libm-test-ulps: Update.
637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
638
d8e2dbe3
JM
639 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
640 exp2, expm1, j0 and j1.
641 * math/auto-libm-test-out: Regenerated.
642 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
643 (erfc_test_data): Likewise.
644 (exp_test_data): Likewise.
645 (exp_tonearest_test_data): Likewise.
646 (exp_towardzero_test_data): Likewise.
647 (exp_downward_test_data): Likewise.
648 (exp_upward_test_data): Likewise.
649 (exp10_test_data): Likewise.
650 (exp2_test_data): Likewise.
651 (expm1_test_data): Likewise.
652 (j0_test_data): Likewise.
653 (j1_test_data): Likewise.
654 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
655 (input_flag_type): Add flag_xfail_rounding.
656 (input_flags): Add xfail-rounding.
657 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
658 (output_for_one_input_case): Handle flag_xfail_rounding.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
18d14251
AJ
6622013-12-03 Aurelien Jarno <aurelien@aurel32.net>
663
3d2e6075 664 [BZ #16289]
18d14251
AJ
665 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
666 division by 0.
667
520d437b
SP
6682013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
669
670 [BZ #16195]
671 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
672 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
673 (STAP_PROBE0): New macro.
674 (STAP_PROBE1): Likewise.
675 (STAP_PROBE2): Likewise.
676 (STAP_PROBE3): Likewise.
677 (STAP_PROBE4): Likewise.
678
416e0145
OB
6792013-12-02 Ondřej Bílka <neleai@seznam.cz>
680
681 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
682
9d17796a
SE
6832013-12-02 Steve Ellcey <sellcey@mips.com>
684
685 * benchtests/Makefile (bench): Add sqrt.
686 (LDLIBS-bench-sqrt): New.
687 * benchtests/sqrt-input: New.
688
f524d6a8
PS
6892013-12-02 Pavel Simerda <psimerda@redhat.com>
690
639a0ef8
PS
691 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
692 (GAIH_EAI): Likewise.
693 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
694 (gaih_inet): Likewise.
695 (getaddrinfo): Don't use GAIH_EAI.
696
f524d6a8
PS
697 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
698 (struct gaih): Remove definition.
699
df3aedaf
SP
7002013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
701
702 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
703 Use HERRNOP directly.
704
1ab19dec
AZ
7052013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706
b42ad38d 707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 708
176b0c79
JM
7092013-11-30 Joseph Myers <joseph@codesourcery.com>
710
711 * math/gen-auto-libm-tests.c (test_functions): Add more
712 single-argument functions.
713 (special_fill_pi_2): New function.
714 (special_fill_minus_pi_2): Likewise.
715 (special_fill_pi_6): Likewise.
716 (special_fill_minus_pi_6): Likewise.
717 (special_fill_pi_3): Likewise.
718 (special_fill_2pi_3): Likewise.
719 (special_fill_e): Likewise.
720 (special_fill_1_e): Likewise.
721 (special_fill_e_minus_1): Likewise.
722 (special_real_inputs): Add more special inputs.
723 (output_for_one_input_case): Do not require ERANGE on underflow to
724 zero if round-to-nearest result does not underflow to zero, unless
725 exact results required.
726 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
727 atan, atanh, cbrt, cos and cosh.
728 * math/auto-libm-test-out: Regenerated.
729 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
730 (acos_tonearest_test_data): Likewise.
731 (acos_towardzero_test_data): Likewise.
732 (acos_downward_test_data): Likewise.
733 (acos_upward_test_data): Likewise.
734 (acosh_test_data): Likewise.
735 (asin_test_data): Likewise.
736 (asin_tonearest_test_data): Likewise.
737 (asin_towardzero_test_data): Likewise.
738 (asin_upward_test_data): Likewise.
739 (asinh_test_data): Likewise.
740 (atan_test_data): Likewise.
741 (atanh_test_data): Likewise.
742 (cbrt_test_data): Likewise.
743 (cos_test_data): Likewise.
744 (cos_tonearest_test_data): Likewise.
745 (cos_towardzero_test_data): Likewise.
746 (cos_downward_test_data): Likewise.
747 (cos_upward_test_data): Likewise.
748 (cosh_test_data): Likewise.
749 (cosh_tonearest_test_data): Likewise.
750 (cosh_towardzero_test_data): Likewise.
751 (cosh_downward_test_data): Likewise.
752 (cosh_upward_test_data): Likewise.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755
ffb536d0
JM
7562013-11-29 Joseph Myers <joseph@codesourcery.com>
757
2a77a467
JM
758 [BZ #6787]
759 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
760 * math/w_exp10f.c (__exp10f): Likewise.
761 * math/w_exp10l.c (__exp10l): Likewise.
762 * math/libm-test.inc (exp10_test_data): Add more tests and expect
763 errno settings in existing tests.
764
ea3bc4e8
JM
765 [BZ #14032]
766 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
767 precision control set to double precision.
768 * sysdeps/i386/fpu/w_sqrt.c: New file.
769 * math/auto-libm-test-in: Add more tests.
770 * math/auto-libm-test-out: Update.
771
0712c9d8
JM
772 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
773 (sqrt_test_tonearest): New function.
774 (sqrt_towardzero_test_data): New variable.
775 (sqrt_test_towardzero): New function.
776 (sqrt_downward_test_data): New variable.
777 (sqrt_test_downward): New function.
778 (sqrt_upward_test_data): New variable.
779 (sqrt_test_upward): New function.
780 (main): Call the new functions.
781
ffb536d0
JM
782 * math/gen-auto-libm-tests.c: New file.
783 * math/auto-libm-test-in: Likewise.
784 * math/auto-libm-test-out: New generated file.
785 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
786 variables.
787 (%beautify): Add generated representations of zero.
788 (top level): Set $auto_input and call parse_auto_input.
789 (beautify): Remove trailing "f" from hex float constants.
790 (parse_args): Handle XFAIL_TEST.
791 (convert_condition): New function.
792 (or_value): Likewise.
793 (or_cond_value): Likewise.
794 (generate_testfile): Handle AUTO_TESTS_* lines.
795 (parse_auto_input): New function.
796 * math/libm-test.inc (XFAIL_TEST): New macro.
797 (ERRNO_UNCHANGED): Update value.
798 (ERRNO_EDOM): Likewise.
799 (ERRNO_ERANGE): Likewise.
800 (IGNORE_RESULT): Likewise.
801 (TEST_COND_flt_32): New macro.
802 (TEST_COND_dbl_64): Likewise.
803 (TEST_COND_ldbl_96_intel): Likewise.
804 (TEST_COND_ldbl_96_m68k): Likewise.
805 (TEST_COND_ldbl_128): Likewise.
806 (TEST_COND_ldbl_128ibm): Likewise.
807 (TEST_COND_long32): Likewise.
808 (TEST_COND_long64): Likewise.
809 (TEST_COND_before_rounding): Likewise.
810 (TEST_COND_after_rounding): Likewise.
811 (enable_test): Handle XFAIL_TEST flag.
812 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
813 with finite results.
814 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
815 auto-libm-test-out.
816
acd98a8e
AK
8172013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
818 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
819
820 [BZ #16214]
821 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
822 __tls_get_addr_internal instead of __tls_get_offset in order to
823 avoid GOT pointer dependency. Make rtld export
824 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
825 __tls_get_addr since we are a __tls_get_offset platform.
826 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
827 GOT pointer being set up before.
828 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
829
3c1c46a6
JM
8302013-11-28 Joseph Myers <joseph@codesourcery.com>
831
7475aef5
JM
832 * manual/math.texi (Errors in Math Functions): Document accuracy
833 goals.
834
8bca7cd8
JM
835 [BZ #15004]
836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
837 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
838 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
839 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
840 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
841 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
842 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
843 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
844 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
845 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
846 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
847 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
848 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
849 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
850 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
851 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
852
91a1f3fe
JM
853 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
854 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
855 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
856 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
857 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
858 Likewise.
859 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
860 Likewise.
861 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
862 Likewise.
863 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
864 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
865 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
866 atomic-feupdateenv and flt-rounds.
867 * sysdeps/powerpc/nofpu/Versions (libc): Add
868 __atomic_feholdexcept, __atomic_feclearexcept,
869 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
870 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
871 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
872 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
873 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
874 here.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
876 Update.
877
c5df7609
JM
878 * manual/arith.texi (FP Exceptions): Document that exceptions may
879 not be raised when matherr is used.
880 (Math Error Reporting): Document overflow in directed rounding
881 modes. Document that errno may not be set when finite values are
882 returned on overflow. Document intent to set errno on underflow
883 only for underflow to zero.
884
3c1c46a6
JM
885 [BZ #16271]
886 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
887 round-to-nearest then adjust result for other rounding modes.
888 * include/fenv.h (fegetround): Use libm_hidden_proto.
889 * math/fegetround.c (fegetround): Use libm_hidden_def.
890 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
891 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
892 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
894 Likewise.
895 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
896 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
897 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
898 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
899
5a4c6d53
SP
9002013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
901
902 [BZ #16077]
903 * nss/Versions (libnss_files): Add
904 _nss_files_gethostbyname3_r.
905 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
906 New function.
907 (HOST_DB_LOOKUP): Remove macro.
908 (_nss_files_gethostbyname_r): Implement function without the
909 HOST_DB_LOOKUP macro.
910 (_nss_files_gethostbyname2_r): Likewise.
911
897b98ba
OB
9122013-11-28 Ondřej Bílka <neleai@seznam.cz>
913
914 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
915
6f476861
UB
9162013-11-26 Uros Bizjak <ubizjak@gmail.com>
917
918 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
919 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
920 warning.
921
bd12ab55
AZ
9222013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923
924 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
925 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
926 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
927 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
928 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
929 __fe_nomask_env_priv and attribute_hidden.
930 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
931 (libc_feupdateenv_test_ppc): Likewise.
932 (libc_feresetround_ppc): Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
934 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
935 compat_symbol macro.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
937 (__fe_nomask_env): Likewise.
938 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
939
52bb6543
OB
9402013-11-26 Ondřej Bílka <neleai@seznam.cz>
941
942 * string/Makefile: Remove ifunc tests.
943 * string/test-string.h: Define TEST_IFUNC.
944 * string/test-bcopy-ifunc.c: Remove.
945 * string/test-bzero-ifunc.c: Likewise.
946 * string/test-memccpy-ifunc.c: Likewise.
947 * string/test-memchr-ifunc.c: Likewise.
948 * string/test-memcmp-ifunc.c: Likewise.
949 * string/test-memcpy-ifunc.c: Likewise.
950 * string/test-memmem-ifunc.c: Likewise.
951 * string/test-memmove-ifunc.c: Likewise.
952 * string/test-mempcpy-ifunc.c: Likewise.
953 * string/test-memrchr-ifunc.c: Likewise.
954 * string/test-memset-ifunc.c: Likewise.
955 * string/test-rawmemchr-ifunc.c: Likewise.
956 * string/test-stpcpy-ifunc.c: Likewise.
957 * string/test-stpncpy-ifunc.c: Likewise.
958 * string/test-strcasecmp-ifunc.c: Likewise.
959 * string/test-strcasestr-ifunc.c: Likewise.
960 * string/test-strcat-ifunc.c: Likewise.
961 * string/test-strchr-ifunc.c: Likewise.
962 * string/test-strchrnul-ifunc.c: Likewise.
963 * string/test-strcmp-ifunc.c: Likewise.
964 * string/test-strcpy-ifunc.c: Likewise.
965 * string/test-strcspn-ifunc.c: Likewise.
966 * string/test-strlen-ifunc.c: Likewise.
967 * string/test-strncasecmp-ifunc.c: Likewise.
968 * string/test-strncat-ifunc.c: Likewise.
969 * string/test-strncmp-ifunc.c: Likewise.
970 * string/test-strncpy-ifunc.c: Likewise.
971 * string/test-strnlen-ifunc.c: Likewise.
972 * string/test-strpbrk-ifunc.c: Likewise.
973 * string/test-strrchr-ifunc.c: Likewise.
974 * string/test-strspn-ifunc.c: Likewise.
975 * string/test-strstr-ifunc.c: Likewise.
976
ab260039 9772013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
978
979 * benchtests/Makefile: Remove ifunc tests.
980 * benchtests/bench-string.h: Define TEST_IFUNC.
981 * benchtests/bench-bcopy-ifunc.c: Remove.
982 * benchtests/bench-bzero-ifunc.c: Likewise.
983 * benchtests/bench-memccpy-ifunc.c: Likewise.
984 * benchtests/bench-memchr-ifunc.c: Likewise.
985 * benchtests/bench-memcmp-ifunc.c: Likewise.
986 * benchtests/bench-memcpy-ifunc.c: Likewise.
987 * benchtests/bench-memmem-ifunc.c: Likewise.
988 * benchtests/bench-memmove-ifunc.c: Likewise.
989 * benchtests/bench-mempcpy-ifunc.c: Likewise.
990 * benchtests/bench-memrchr-ifunc.c: Likewise.
991 * benchtests/bench-memset-ifunc.c: Likewise.
992 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
993 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
994 * benchtests/bench-stpcpy-ifunc.c: Likewise.
995 * benchtests/bench-stpncpy-ifunc.c: Likewise.
996 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
997 * benchtests/bench-strcasestr-ifunc.c: Likewise.
998 * benchtests/bench-strcat-ifunc.c: Likewise.
999 * benchtests/bench-strchr-ifunc.c: Likewise.
1000 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1001 * benchtests/bench-strcmp-ifunc.c: Likewise.
1002 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1003 * benchtests/bench-strcpy-ifunc.c: Likewise.
1004 * benchtests/bench-strcspn-ifunc.c: Likewise.
1005 * benchtests/bench-strlen-ifunc.c: Likewise.
1006 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1007 * benchtests/bench-strncat-ifunc.c: Likewise.
1008 * benchtests/bench-strncmp-ifunc.c: Likewise.
1009 * benchtests/bench-strncpy-ifunc.c: Likewise.
1010 * benchtests/bench-strnlen-ifunc.c: Likewise.
1011 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1012 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1013 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1014 * benchtests/bench-strspn-ifunc.c: Likewise.
1015 * benchtests/bench-strstr-ifunc.c: Likewise.
1016
10172013-11-26 Ondřej Bílka <neleai@seznam.cz>
1018
ab260039
OB
1019 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1020
d1d9eaf4 10212013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1022
d1d9eaf4
OB
1023 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1024 * rt/aio.h: Likewise.
1025 * sysdeps/gnu/bits/utmp.h: Likewise.
1026 * sysdeps/gnu/bits/utmpx.h: Likewise.
1027 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1028 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1029 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1030 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1031 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1032 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1033 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1034 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1042 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1043 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1044 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1045 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1046 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1047 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1048 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1049 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1050 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1051 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1053 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1054 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1055 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1056 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1057 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1061 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1062 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1063 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1064 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1065 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1066 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1067 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1068 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1069
a7624ed9
CD
10702013-11-25 Carlos O'Donell <carlos@redhat.com>
1071
1072 [BZ #16245]
1073 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1074 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1075
63cfe52b
JM
10762013-11-25 Joseph Myers <joseph@codesourcery.com>
1077
1078 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1079 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1080 Likewise.
1081
41e8926a
AZ
10822013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1085 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1086 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1087 (__fesetround): Remove define.
1088 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1089 rounding and exceptions handling.
1090 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1091 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1092 (__fe_nomask_env): Likewise.
1093 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1094 __fegetround instead of fegetround.
1095 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1097
6851bd4d
RM
10982013-11-21 Roland McGrath <roland@hack.frob.com>
1099
070906ff
RM
1100 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1101 it's there.
1102
6851bd4d
RM
1103 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1104
84ae135d
MI
11052013-11-21 Meador Inge <meadori@codesourcery.com>
1106
1107 [BZ #11157]
1108 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1109 (encrypt_r): Likewise.
1110 * malloc/obstack.h (obstack_free): Likewise.
1111 * posix/unistd.h (encrypt): Likewise.
1112
daf75146
GM
11132013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1114
1115 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1116 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1117 DL_CALL_DT_FINI() that call the functions directly.
1118 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1119 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1120 * elf/dl-fini.c: Likewise.
1121
10ad46bc
OB
11222013-11-20 Ondřej Bílka <neleai@seznam.cz>
1123
1124 * malloc/hooks.c (memalign_check): Add alignment rounding.
1125 * malloc/malloc.c (_mid_memalign): New function.
1126 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1127 Implement by calling _mid_memalign.
1128 * manual/probes.texi (Memory Allocation Probes): Remove
1129 memory_valloc_retry and memory_pvalloc_retry.
1130
f3fd2628
SP
11312013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
4712799f
SP
1133 * locale/programs/locarchive.c (open_archive): Add const
1134 qualifier to ARCHIVEFNAME and copy default fname to
1135 DEFAULT_FNAME.
1136
0417b20f
SP
1137 [BZ #15601]
1138 * libio/tst-widetext.input: Rename Oriya to Odia.
1139 * locale/iso-639.def: Likewise.
1140
f3fd2628
SP
1141 * manual/probes.texi (Mathematical Function Probes): Add
1142 documentation for sin, cos, asin and acos probes.
1143 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1144 (__sin32): Add slowasin probe.
1145 (__cos32): Add slowacos probe.
1146 (__mpsin): Add slowsin probe.
1147 (__mpcos): Add slowcos probe.
1148
73c1ce4f
JM
11492013-11-19 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #15483]
1152 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1153 thread-local __sim_exceptions_thread and global
1154 __sim_exceptions_global.
1155 (__sim_disabled_exceptions): Change to thread-local
1156 __sim_disabled_exceptions_thread and global
1157 __sim_disabled_exceptions_global.
1158 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1159 and global __sim_round_mode_global.
1160 (__simulate_exceptions): Use thread-local floating-point state and
1161 set global state from it as needed.
1162 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1163 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1164 __sim_round_mode_thread.
1165 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1166 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1167 and global __sim_exceptions_global.
1168 (__sim_disabled_exceptions): Change to thread-local
1169 __sim_disabled_exceptions_thread and global
1170 __sim_disabled_exceptions_global.
1171 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1172 and global __sim_round_mode_global.
1173 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1174 (SIM_SET_GLOBAL): Likewise.
1175 * sysdeps/powerpc/soft-fp/sfp-machine.h
1176 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1177 __sim_round_mode_thread.
1178 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1179 __sim_disabled_exceptions_thread.
1180 (__sim_exceptions): Change to __sim_exceptions_thread.
1181 (__sim_disabled_exceptions): Change to
1182 __sim_disabled_exceptions_thread.
1183 (__sim_round_mode): Change to __sim_round_mode_thread.
1184 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1185 thread-local floating-point state and set global state from it as
1186 needed.
1187 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1188 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1189 (__sim_disabled_exceptions): Remove extern declaration.
1190 (feenableexcept): Use thread-local floating-point state and set
1191 global state from it as needed.
1192 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1193 extern declaration.
1194 (__sim_disabled_exceptions): Likewise.
1195 (__sim_round_mode): Likewise.
1196 (__fegetenv): Use thread-local floating-point state.
1197 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1198 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1199 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1200 floating-point state and set global state from it as needed.
1201 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1202 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1203 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1204 Likewise.
1205 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1206 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1207 Likewise.
1208 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1209 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1210 Use __sim_round_mode_thread.
1211 * math/test-fenv-tls.c: New file.
1212 * math/Makefile (tests): Add test-fenv-tls.
1213 ($(objpfx)test-fenv-tls): Depend on
1214 $(common-objpfx)nptl/libpthread.so.
1215
b5449b12
AS
12162013-11-19 Andreas Schwab <schwab@suse.de>
1217
1218 * locale/programs/locale.c (show_info): Decode wordarray elements.
1219 * locale/categories.def (LC_MONETARY): Add element for
1220 _NL_MONETARY_CRNCYSTR.
1221 * locale/C-monetary.c (conversion_rate): New variable.
1222 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1223 element.
1224
e186536b
CM
12252013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1226
1227 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1228 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1229
5c349950
PP
12302013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1231
1232 * elf/Makefile (tst-auxv): New test.
1233 * elf/tst-auxv.c: New
1234 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1235
699df45b
JM
12362013-11-18 Joseph Myers <joseph@codesourcery.com>
1237
1238 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1239 (hidden_proto): Caller changed.
1240 (hidden_tls_proto): New macro.
1241 (libc_hidden_tls_proto): Likewise.
1242 (rtld_hidden_tls_proto): Likewise.
1243 (libm_hidden_tls_proto): Likewise.
1244 (libresolv_hidden_tls_proto): Likewise.
1245 (librt_hidden_tls_proto): Likewise.
1246 (libdl_hidden_tls_proto): Likewise.
1247 (libnss_files_hidden_tls_proto): Likewise.
1248 (libnsl_hidden_tls_proto): Likewise.
1249 (libnss_nisplus_hidden_tls_proto): Likewise.
1250 (libutil_hidden_tls_proto): Likewise.
1251
b7589107
OB
12522013-11-18 Ondřej Bílka <neleai@seznam.cz>
1253
1254 [BZ #10253]
1255 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1256 (decompose_rpath): Defer expansion to fillin_rpath.
1257 (_dl_init_paths): Pass linkmap to fillin_rpath.
1258
250c23bd
RS
12592013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1260
1261 * benchtests/Makefile: Add strsep.
1262 * benchtests/bench-strsep.c: New file: strsep benchtest.
1263 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1264
a7931fcf
AS
12652013-11-18 Andreas Schwab <schwab@suse.de>
1266
1267 * locale/programs/locale.c (show_info) [case byte]: Check for
1268 '\377' instead of '\177'.
1269 * locale/C-monetary.c (not_available): Always use "\377".
1270 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1271 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1272 detect unavailable sign_posn locale elements.
1273 * locale/localeconv.c (__localeconv): For grouping and
1274 mon_grouping handle "\177" and "\377" like no grouping.
1275 (INT_ELEM): New macro. Use it to set all numeric members.
1276 * locale/programs/ld-monetary.c (monetary_read)
1277 <tok_mon_grouping>: Normalize single -1 to the empty string.
1278 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1279 Likewise.
1280
728dab0e
OB
12812013-11-07 Ondřej Bílka <neleai@seznam.cz>
1282
1283 [BZ #16055]
1284 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1285 when we match (nil).
1286 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1287
66294491
JM
12882013-11-16 Joseph Myers <joseph@codesourcery.com>
1289
ce665817
JM
1290 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1291 (NO_TEST_INLINE): Update value.
1292 (ERRNO_UNCHANGED): Likewise.
1293 (ERRNO_EDOM): Likewise.
1294 (ERRNO_ERANGE): Likewise.
1295 (IGNORE_RESULT): Likewise.
1296 (check_float_internal): Check signs of NaN results if
1297 TEST_NAN_SIGN used.
1298 (check_complex): Pass TEST_NAN_SIGN flag through to second
1299 check_float_internal call.
1300 (copysign_test_data): Add tests with quiet NaNs as second
1301 argument. Use TEST_NAN_SIGN.
1302 (fabs_test_data): Add test of negative quiet NaN argument. Use
1303 TEST_NAN_SIGN.
1304 (signbit_test_data): Add tests of quiet NaN argument.
1305 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1306
ee1466a9
JM
1307 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1308 $ignore_result.
1309 (parse_args): Handle function results specified as IGNORE.
1310 * math/libm-test.inc (IGNORE_RESULT): New macro.
1311 (check_float_internal): Do not check numerical result if flag
1312 IGNORE_RESULT set.
1313 (check_complex): Pass through IGNORE_RESULT to second
1314 check_float_internal call.
1315 (check_int): Do not check numerical result if flag IGNORE_RESULT
1316 set.
1317 (check_long): Likewise.
1318 (check_bool): Likewise.
1319 (check_longlong): Likewise.
1320 (lrint_test_data): Add tests of infinite and NaN arguments.
1321 (lrint_tonearest_test_data): Likewise.
1322 (lrint_towardzero_test_data): Likewise.
1323 (lrint_downward_test_data): Likewise.
1324 (lrint_upward_test_data): Likewise.
1325 (llrint_test_data): Likewise.
1326 (llrint_tonearest_test_data): Likewise.
1327 (llrint_towardzero_test_data): Likewise.
1328 (llrint_downward_test_data): Likewise.
1329 (llrint_upward_test_data): Likewise.
1330 (lround_test_data): Likewise.
1331 (llround_test_data): Likewise.
1332
14407b7e
JM
1333 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1334 (ERRNO_UNCHANGED): Update value.
1335 (ERRNO_EDOM): Likewise.
1336 (ERRNO_ERANGE): Likewise.
1337 (NO_TEST_INLINE_FLOAT): New macro.
1338 (NO_TEST_INLINE_DOUBLE): Likewise.
1339 (enable_test): New function.
1340 (RUN_TEST_f_f): Check enable_test before running test.
1341 (RUN_TEST_2_f): Likewise.
1342 (RUN_TEST_fff_f): Likewise.
1343 (RUN_TEST_c_f): Likewise.
1344 (RUN_TEST_f_f1): Likewise.
1345 (RUN_TEST_fF_f1): Likewise.
1346 (RUN_TEST_fI_f1): Likewise.
1347 (RUN_TEST_ffI_f1): Likewise.
1348 (RUN_TEST_c_c): Likewise.
1349 (RUN_TEST_cc_c): Likewise.
1350 (RUN_TEST_f_i): Likewise.
1351 (RUN_TEST_f_i_tg): Likewise.
1352 (RUN_TEST_ff_i_tg): Likewise.
1353 (RUN_TEST_f_b): Likewise.
1354 (RUN_TEST_f_b_tg): Likewise.
1355 (RUN_TEST_f_l): Likewise.
1356 (RUN_TEST_f_L): Likewise.
1357 (RUN_TEST_fFF_11): Likewise.
1358 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1359 conditionals.
1360 (cosh_test_data): Likewise.
1361 (exp_test_data): Likewise.
1362 (expm1_test_data): Likewise.
1363 (hypot_test_data): Likewise.
1364 (pow_test_data): Likewise.
1365 (sinh_test_data): Likewise.
1366 (tanh_test_data): Likewise.
1367 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1368 flags argument.
1369
ca07f197
JM
1370 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1371 tests with quiet NaN input and output.
1372 (acosh_test_data): Likewise.
1373 (asin_test_data): Likewise.
1374 (asinh_test_data): Likewise.
1375 (atan_test_data): Likewise.
1376 (atanh_test_data): Likewise.
1377 (atan2_test_data): Likewise.
1378 (cbrt_test_data): Likewise.
1379 (cos_test_data): Likewise.
1380 (cosh_test_data): Likewise.
1381 (erf_test_data): Likewise.
1382 (erfc_test_data): Likewise.
1383 (exp_test_data): Likewise.
1384 (exp10_test_data): Likewise.
1385 (exp2_test_data): Likewise.
1386 (expm1_test_data): Likewise.
1387 (hypot_test_data): Likewise.
1388 (j0_test_data): Likewise.
1389 (j1_test_data): Likewise.
1390 (jn_test_data): Likewise.
1391 (lgamma_test_data): Likewise.
1392 (log_test_data): Likewise.
1393 (log10_test_data): Likewise.
1394 (log1p_test_data): Likewise.
1395 (log2_test_data): Likewise.
1396 (pow_test_data): Likewise.
1397 (scalb_test_data): Likewise.
1398 (sin_test_data): Likewise.
1399 (sincos_test_data): Likewise.
1400 (sinh_test_data): Likewise.
1401 (tan_test_data): Likewise.
1402 (tanh_test_data): Likewise.
1403 (tgamma_test_data): Likewise.
1404 (y0_test_data): Likewise.
1405 (y1_test_data): Likewise.
1406 (yn_test_data): Likewise.
1407
66294491
JM
1408 [BZ #16167]
1409 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1410 argument being NaN and avoid computations with second argument in
1411 that case.
1412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1413 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1414 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1415
1820b143
CL
14162013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1417
1418 * locale/iso-639.def: Add Chitwani Tharu (the).
1419
714bd261
AS
14202013-11-14 Andreas Schwab <schwab@suse.de>
1421
1422 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1423 word instead of empty string.
1424
7ab44563
AZ
14252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1428 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1430 (__fe_nomask_env): Likewise.
1431
e8470ea2
SE
14322013-11-13 Steve Ellcey <sellcey@mips.com>
1433
1434 * benchtests/bench-timing.h: Include time.h.
1435
17c1d9f0
L
14362013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 [BZ #15997]
1439 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1440 to 3.4.0 for x32.
1441 * sysdeps/unix/sysv/linux/configure: Regenerated.
1442
9310c284
JM
14432013-11-13 Joseph Myers <joseph@codesourcery.com>
1444
1445 [BZ #16151]
1446 * stdlib/strtod_l.c (round_and_return): Do not consider
1447 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1448 exponent one less than half the least subnormal exponent.
1449 * stdlib/test-strtod-round-data: Add more tests.
1450 * stdlib/tst-strtod-round.c (tests): Regenerated.
1451
7a2ad8cf
AZ
14522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 [BZ #14143]
1455 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1456 (__fe_mask_env): Likewise.
1457 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1458 libm_hidden_proto and add function prototype.
1459 (__fe_mask_env): Add function prototype.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1461 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1463 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1465 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1466
50727aa7
MS
14672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1468
b2f386c1 1469 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1470 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1471
a615be46
MS
14722013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1473
1474 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1475 of htab_find_slot().
1476
7ddace62
DM
14772013-11-11 David S. Miller <davem@davemloft.net>
1478
1479 [BZ #16150]
1480 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1481 symbol in the non-vis3 case in static builds.
1482 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1483 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1484 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1485 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1486
9182aa67
JK
14872013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 [BZ #387]
1490 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1491 it is empty.
1492
450a2e2d
AZ
14932013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494
b2f386c1
SP
1495 * benchtests/Makefile: Add bench-strtod.
1496 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1497
8ec3f656
AS
14982013-11-11 Andreas Schwab <schwab@suse.de>
1499
1500 [BZ #16153]
1501 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1502 terminating NUL in key length.
1503
76a9b998
AZ
15042013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1507 Add artificial ODP entry for vDSO symbol for PPC64.
1508 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1509 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1510
e4368156
OB
15112013-11-07 Ondřej Bílka <neleai@seznam.cz>
1512
1513 [BZ #15374]
1514 * nss/getent.c (services_keys): Recognize services starting with digit.
1515
8d6bb57c
DM
15162013-11-06 David S. Miller <davem@davemloft.net>
1517
1518 [BZ #15985]
1519 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1520 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1521
e256c421
WN
15222013-11-06 Will Newton <will.newton@linaro.org>
1523
1524 * manual/memory.texi (Malloc Examples): Remove register
1525 keyword from examples.
1526
f6e12daa 15272013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1528
f6e12daa 1529 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1530
9d880655
AS
15312013-11-04 Joseph Myers <joseph@codesourcery.com>
1532
1533 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1534 depending on [__GCC_IEC_559 > 0].
1535 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1536 depending on [__GCC_IEC_559_COMPLEX > 0].
1537
ae129d3c
CL
15382013-11-03 Chris Leonard <cjl@sugarlabs.org>
1539
1540 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1541 to iso-639.def.
1542
4a15c2a4 15432013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1544
1545 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1546
8b35e35d
OB
15472013-11-01 Ondřej Bílka <neleai@seznam.cz>
1548
1549 [BZ #16112]
1550 * malloc/malloc (malloc_info): Do not handle first bin as
1551 special case.
1552
1d70fd6c
CL
15532013-11-01 Chris Leonard <cjl@sugarlabs.org>
1554
1555 * locale/iso-639.def: Add Central Nahuatl (nhn).
1556
8c5c2600
BH
15572013-11-01 Bruno Haible <bruno@clisp.org>
1558
1559 [BZ #7003]
1560 * manual/math.texi (BSD Random): Specify range upper bound as
1561 in POSIX.
1562
da5579c2
CL
15632013-10-31 Chris Leonard <cjl@sugarlabs.org>
1564
1565 * locale/iso-639.def: Add Meadow Mari (mhr).
1566
5d30d853
OB
15672013-10-31 Ondřej Bílka <neleai@seznam.cz>
1568
1569 [BZ #14752], [BZ #15763]
1570 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1571 Validate name.
1572 * rt/tst_shm.c: Add test for escaping directory.
1573
a4966c61
AS
15742013-10-31 Andreas Schwab <schwab@suse.de>
1575
8a43e768 1576 [BZ #15917]
a4966c61
AS
1577 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1578 followed by 'x' as part of digit sequence.
1579 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1580
28d708c4
MAP
15812013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1582
1583 [BZ #16037]
1584 * configure.ac: allow GNU Make 4.0 and greater.
1585 * configure: Regenerated.
1586
a56ee40b
WN
15872013-10-30 Will Newton <will.newton@linaro.org>
1588
1589 [BZ #16038]
1590 * malloc/hooks.c (memalign_check): Limit alignment to the
1591 maximum representable power of two.
1592 * malloc/malloc.c (__libc_memalign): Likewise.
1593 * malloc/tst-memalign.c (do_test): Add test for very
1594 large alignment values.
1595 * malloc/tst-posix_memalign.c (do_test): Likewise.
1596
c6e4925d
OB
15972013-10-30 Ondřej Bílka <neleai@seznam.cz>
1598
1599 [BZ #11087]
1600 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1601 (munmap_chunk): Likewise.
1602 (mremap_chunk): Likewise.
1603
16042013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1605
8a43e768 1606 [BZ #15799]
bbea82f7
OB
1607 * stdlib/div.c (div): Remove obsolete code.
1608 * stdlib/ldiv.c (ldiv): Likewise.
1609 * stdlib/lldiv.c (lldiv): Likewise.
1610
977f4b31
SP
16112013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1612
1613 [BZ #16071]
1614 * nss/nss_files/files-XXX.c (get_contents_ret): New
1615 enumerator.
1616 (get_contents): New function.
1617 (internal_getent): Use it. Expand size of LINEBUFLEN.
1618
cb8a6dbd
MF
16192013-10-30 Mike Frysinger <vapier@gentoo.org>
1620
1621 * configure.in: Moved to ...
1622 * configure.ac: ... here. Change reference to configure.in
1623 to configure.ac.
1624 * sysdeps/arm/preconfigure.ac: ... here.
1625 configure.in to configure.ac.
1626 * sysdeps/gnu/configure.in: Moved to ...
1627 * sysdeps/gnu/configure.ac: ... here.
1628 * sysdeps/i386/configure.in: Moved to ...
1629 * sysdeps/i386/configure.ac: ... here.
1630 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1631 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1632 * sysdeps/mach/configure.in: Moved to ...
1633 * sysdeps/mach/configure.ac: ... here.
1634 * sysdeps/mach/hurd/configure.in: Moved to ...
1635 * sysdeps/mach/hurd/configure.ac: ... here.
1636 * sysdeps/powerpc/configure.in: Moved to ...
1637 * sysdeps/powerpc/configure.ac: ... here.
1638 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1639 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1640 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1641 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1642 * sysdeps/s390/s390-32/configure.in: Moved to ...
1643 * sysdeps/s390/s390-32/configure.ac: ... here.
1644 * sysdeps/s390/s390-64/configure.in: Moved to ...
1645 * sysdeps/s390/s390-64/configure.ac: ... here.
1646 * sysdeps/sh/configure.in: Moved to ...
1647 * sysdeps/sh/configure.ac: ... here.
1648 * sysdeps/sparc/configure.in: Moved to ...
1649 * sysdeps/sparc/configure.ac: ... here.
1650 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1651 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1652 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1653 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1654 * sysdeps/x86_64/configure.in: Moved to ...
1655 * sysdeps/x86_64/configure.ac: ... here.
1656 * sysdeps/x86_64/preconfigure.in: Moved to ...
1657 * sysdeps/x86_64/preconfigure.ac: ... here.
1658 * aclocal.m4: Change reference to configure.in to configure.ac.
1659 * config.h.in: Likewise.
1660 * manual/install.texi: Likewise.
1661 * manual/maint.texi: Likewise.
1662 * Makefile: Likewise.
1663 * malloc/Makefile: Likewise.
1664 * nscd/Makefile: Likewise.
1665 * Makeconfig: Change reference to configure.in and
1666 preconfigure.in to configure.ac and preconfigure.ac
1667 respectively.
1668 * INSTALL: Regenerated.
1669 * configure: Likewise.
1670 * sysdeps/gnu/configure: Likewise.
1671 * sysdeps/i386/configure: Likewise.
1672 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1673 * sysdeps/mach/configure: Likewise.
1674 * sysdeps/mach/hurd/configure: Likewise.
1675 * sysdeps/powerpc/configure: Likewise.
1676 * sysdeps/powerpc/powerpc32/configure: Likewise.
1677 * sysdeps/powerpc/powerpc64/configure: Likewise.
1678 * sysdeps/s390/s390-32/configure: Likewise.
1679 * sysdeps/s390/s390-64/configure: Likewise.
1680 * sysdeps/sh/configure: Likewise.
1681 * sysdeps/sparc/configure: Likewise.
1682 * sysdeps/unix/sysv/linux/configure: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1684 * sysdeps/x86_64/configure: Likewise.
1685 * sysdeps/x86_64/preconfigure: Likewise.
1686
36a4953a
AS
16872013-10-29 Andreas Schwab <schwab@suse.de>
1688
1689 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1690
c79a1204
SP
16912013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1692
dfa1b402
SP
1693 * benchtests/pow-inputs: Add new inputs.
1694
54f73d9c
SP
1695 * benchtests/exp-inputs: Add new inputs.
1696
c79a1204
SP
1697 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1698 conditional check for return value.
1699 (__cos32): Likewise.
1700
67beb545 17012013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1702
1703 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1704 to provide a boost for large inputs with word alignment.
1705 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1706 implementation based on optimized PPC64 strcpy.
1707 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1708 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1709 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1710 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1711
151659f6
OB
17122013-10-25 Ondřej Bílka <neleai@seznam.cz>
1713
482a077e 1714 [BZ #2801]
151659f6
OB
1715 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1716
10b0f26b
OB
17172013-10-25 Ondřej Bílka <neleai@seznam.cz>
1718
1719 [BZ #14876]
1720 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1721 * time/tst-strptime.c (day_tests): Add testcase.
1722
ca42d35e
OB
17232013-10-25 Ondřej Bílka <neleai@seznam.cz>
1724
482a077e 1725 [BZ #14029]
ca42d35e
OB
1726 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1727
52e6d801
FB
17282013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1729
1730 [BZ #16074]
1731 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1732 MAP_FAILED on error.
1733
7cbcdb36
SP
17342013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1735
1736 [BZ #16072]
1737 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1738 heap for large requests.
1739
894f3f10
AM
17402013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1741
1742 [BZ #9954]
1743 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1744 result if the result has no associated interface.
1745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1746 interface for all 127.X.Y.Z addresses.
1747
b85545a6
CL
17482013-10-24 Chris Leonard <cjl@sugarlabs.org>
1749
1750 * locale/iso-639.def: Add Ligurian (lij)
1751
d1f23d46
OB
17522013-10-21 Ondřej Bílka <neleai@seznam.cz>
1753
1754 [BZ #15825]
1755 * sunrpc/rpc_main.c: Document rpcgen -5.
1756
4db5b08f
MS
17572013-10-19 Michael Stahl <mstahl@redhat.com>
1758
1759 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1760
a471e96a
OB
17612013-10-19 Ondřej Bílka <neleai@seznam.cz>
1762
d1f23d46 1763 [BZ #10278]
a471e96a
OB
1764 * posix/glob.c: Match only directories when trailing slash is present.
1765 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1766 (main): Add testcase.
1767
45c30c61
OB
17682013-10-19 Ondřej Bílka <neleai@seznam.cz>
1769
1770 [BZ #15670]
1771 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1772
484c12fb
CD
17732013-10-18 Carlos O'Donell <carlos@redhat.com>
1774
3d7dc513
CD
1775 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1776 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1777 AUTH_DES and cindex for FIPS 140-2.
1778 (DES Encryption): Add cindex FIPS 46-3.
1779
484c12fb
CD
1780 * locale/locarchive.h (struct locarhandle): Add fname.
1781 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1782 if an optional argument was specified to --list-archive,
1783 otherwise NULL.
1784 * locale/programs/locarchive.c (show_archive_content): Take new
1785 argument fname and pass it via ah.fname to open_archive.
1786 * locale/programs/localedef.h: Update decl.
1787 (open_archive): If AH->fname is non-null, open that file
1788 rather than the default file name, and don't ignore ENOENT.
1789 (create_archive): Set AH.fname to NULL.
1790 (delete_locales_from_archive): Likewise.
1791 (add_locales_to_archive): Likewise.
1792 * locale/programs/locfile.c (write_all_categories): Likewise.
1793
3c8325fb
JM
17942013-10-18 Joseph Myers <joseph@codesourcery.com>
1795 Aldy Hernandez <aldyh@redhat.com>
1796
1797 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1798 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1799 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1800 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1801 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1802 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1803 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1804 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1805 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1806 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1807 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1808 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1809 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1810 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1811 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1812 Likewise.
1813 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1814 Likewise.
1815 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1816 Likewise.
1817 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1818 Likewise.
1819 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1820 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1821 Likewise.
1822 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1823 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1824 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1825 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1826 Likewise.
1827 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1828 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1829 * sysdeps/powerpc/preconfigure: Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1831 Likewise.
1832 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1833 Replace contents of file by #include of <fenv_libc.h>.
1834 * sysdeps/powerpc/soft-fp/sfp-machine.h
1835 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1836 and <sys/prctl.h>.
1837 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1838 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1839 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1840 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1845 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1846 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1847 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1850 Allow copysignl PLT reference to be missing.
1851
5abe0682
RS
18522013-10-18 Richard Sandiford <richard@codesourcery.com>
1853 Joseph Myers <joseph@codesourcery.com
1854
1855 [BZ #15948]
1856 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1857 single character.
1858 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1859
c7738d08
SP
18602013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1861
1862 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1863 * elf/tst-tls1.c: Likewise.
1864 * elf/tst-tls10.h: Likewise.
1865 * elf/tst-tls14.c: Likewise.
1866 * elf/tst-tls2.c: Likewise.
1867 * elf/tst-tls3.c: Likewise.
1868 * elf/tst-tls4.c: Likewise.
1869 * elf/tst-tls5.c: Likewise.
1870 * elf/tst-tls6.c: Likewise.
1871 * elf/tst-tls7.c: Likewise.
1872 * elf/tst-tls8.c: Likewise.
1873 * elf/tst-tls9.c: Likewise.
1874 * elf/tst-tlsmod1.c: Likewise.
1875 * elf/tst-tlsmod13.c: Likewise.
1876 * elf/tst-tlsmod13a.c: Likewise.
1877 * elf/tst-tlsmod14a.c: Likewise.
1878 * elf/tst-tlsmod16a.c: Likewise.
1879 * elf/tst-tlsmod16b.c: Likewise.
1880 * elf/tst-tlsmod2.c: Likewise.
1881 * elf/tst-tlsmod3.c: Likewise.
1882 * elf/tst-tlsmod4.c: Likewise.
1883 * elf/tst-tlsmod5.c: Likewise.
1884 * elf/tst-tlsmod6.c: Likewise.
1885
0bfcf2c7
OB
18862013-10-18 Ondřej Bílka <neleai@seznam.cz>
1887
1888 [BZ #12486]
1889 * malloc/malloc.c: remove checks for statistics.
1890
264aad1e
OB
18912013-10-17 Ondřej Bílka <neleai@seznam.cz>
1892
1893 [BZ #15277]
1894 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1895 * inet/tst-network.c: Add testcase.
1896
b957ced8
AS
18972013-10-17 Andreas Schwab <schwab@suse.de>
1898
1899 [BZ #15218]
1900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1901 to determine canonical name.
1902
c5d5d574
OB
19032013-10-17 Ondřej Bílka <neleai@seznam.cz>
1904
1905 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1906 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1929 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1930 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1963
e5c2c2d0
JM
19642013-10-17 Joseph Myers <joseph@codesourcery.com>
1965
1966 [BZ #16041]
1967 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1968 make result into a quiet NaN.
1969
51ca9e29
JM
19702013-10-16 Joseph Myers <joseph@codesourcery.com>
1971
1972 * soft-fp/adddf3.c: Fix horizontal whitespace.
1973 * soft-fp/addsf3.c: Likewise.
1974 * soft-fp/addtf3.c: Likewise.
1975 * soft-fp/divdf3.c: Likewise.
1976 * soft-fp/divsf3.c: Likewise.
1977 * soft-fp/divtf3.c: Likewise.
1978 * soft-fp/double.h: Likewise.
1979 * soft-fp/eqdf2.c: Likewise.
1980 * soft-fp/eqsf2.c: Likewise.
1981 * soft-fp/eqtf2.c: Likewise.
1982 * soft-fp/extenddftf2.c: Likewise.
1983 * soft-fp/extended.h: Likewise.
1984 * soft-fp/extendsfdf2.c: Likewise.
1985 * soft-fp/extendsftf2.c: Likewise.
1986 * soft-fp/extendxftf2.c: Likewise.
1987 * soft-fp/fixdfdi.c: Likewise.
1988 * soft-fp/fixdfsi.c: Likewise.
1989 * soft-fp/fixdfti.c: Likewise.
1990 * soft-fp/fixsfdi.c: Likewise.
1991 * soft-fp/fixsfsi.c: Likewise.
1992 * soft-fp/fixsfti.c: Likewise.
1993 * soft-fp/fixtfdi.c: Likewise.
1994 * soft-fp/fixtfsi.c: Likewise.
1995 * soft-fp/fixtfti.c: Likewise.
1996 * soft-fp/fixunsdfdi.c: Likewise.
1997 * soft-fp/fixunsdfsi.c: Likewise.
1998 * soft-fp/fixunsdfti.c: Likewise.
1999 * soft-fp/fixunssfdi.c: Likewise.
2000 * soft-fp/fixunssfsi.c: Likewise.
2001 * soft-fp/fixunssfti.c: Likewise.
2002 * soft-fp/fixunstfdi.c: Likewise.
2003 * soft-fp/fixunstfsi.c: Likewise.
2004 * soft-fp/fixunstfti.c: Likewise.
2005 * soft-fp/floatdidf.c: Likewise.
2006 * soft-fp/floatdisf.c: Likewise.
2007 * soft-fp/floatditf.c: Likewise.
2008 * soft-fp/floatsidf.c: Likewise.
2009 * soft-fp/floatsisf.c: Likewise.
2010 * soft-fp/floatsitf.c: Likewise.
2011 * soft-fp/floattidf.c: Likewise.
2012 * soft-fp/floattisf.c: Likewise.
2013 * soft-fp/floattitf.c: Likewise.
2014 * soft-fp/floatundidf.c: Likewise.
2015 * soft-fp/floatundisf.c: Likewise.
2016 * soft-fp/floatunditf.c: Likewise.
2017 * soft-fp/floatunsidf.c: Likewise.
2018 * soft-fp/floatunsisf.c: Likewise.
2019 * soft-fp/floatunsitf.c: Likewise.
2020 * soft-fp/floatuntidf.c: Likewise.
2021 * soft-fp/floatuntisf.c: Likewise.
2022 * soft-fp/floatuntitf.c: Likewise.
2023 * soft-fp/fmadf4.c: Likewise.
2024 * soft-fp/fmasf4.c: Likewise.
2025 * soft-fp/fmatf4.c: Likewise.
2026 * soft-fp/gedf2.c: Likewise.
2027 * soft-fp/gesf2.c: Likewise.
2028 * soft-fp/getf2.c: Likewise.
2029 * soft-fp/ledf2.c: Likewise.
2030 * soft-fp/lesf2.c: Likewise.
2031 * soft-fp/letf2.c: Likewise.
2032 * soft-fp/muldf3.c: Likewise.
2033 * soft-fp/mulsf3.c: Likewise.
2034 * soft-fp/multf3.c: Likewise.
2035 * soft-fp/negdf2.c: Likewise.
2036 * soft-fp/negsf2.c: Likewise.
2037 * soft-fp/negtf2.c: Likewise.
2038 * soft-fp/op-1.h: Likewise.
2039 * soft-fp/op-2.h: Likewise.
2040 * soft-fp/op-4.h: Likewise.
2041 * soft-fp/op-8.h: Likewise.
2042 * soft-fp/op-common.h: Likewise.
2043 * soft-fp/quad.h: Likewise.
2044 * soft-fp/single.h: Likewise.
2045 * soft-fp/soft-fp.h: Likewise.
2046 * soft-fp/sqrtdf2.c: Likewise.
2047 * soft-fp/sqrtsf2.c: Likewise.
2048 * soft-fp/sqrttf2.c: Likewise.
2049 * soft-fp/subdf3.c: Likewise.
2050 * soft-fp/subsf3.c: Likewise.
2051 * soft-fp/subtf3.c: Likewise.
2052 * soft-fp/truncdfsf2.c: Likewise.
2053 * soft-fp/trunctfdf2.c: Likewise.
2054 * soft-fp/trunctfsf2.c: Likewise.
2055 * soft-fp/trunctfxf2.c: Likewise.
2056 * soft-fp/unorddf2.c: Likewise.
2057 * soft-fp/unordsf2.c: Likewise.
2058 * soft-fp/unordtf2.c: Likewise.
2059
9ebb0332
JM
20602013-10-15 Joseph Myers <joseph@codesourcery.com>
2061
2062 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2063 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2064
4b1a6d8b
OB
20652013-10-15 Ondřej Bílka <neleai@seznam.cz>
2066
2067 * elf/dl-libc.c: Clear initfini list after freeing.
2068
1e145589
JM
20692013-10-14 Joseph Myers <joseph@codesourcery.com>
2070
2071 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2072 * soft-fp/addsf3.c: Likewise.
2073 * soft-fp/addtf3.c: Likewise.
2074 * soft-fp/divdf3.c: Likewise.
2075 * soft-fp/divsf3.c: Likewise.
2076 * soft-fp/divtf3.c: Likewise.
2077 * soft-fp/double.h: Likewise.
2078 * soft-fp/eqdf2.c: Likewise.
2079 * soft-fp/eqsf2.c: Likewise.
2080 * soft-fp/eqtf2.c: Likewise.
2081 * soft-fp/extenddftf2.c: Likewise.
2082 * soft-fp/extended.h: Likewise.
2083 * soft-fp/extendsfdf2.c: Likewise.
2084 * soft-fp/extendsftf2.c: Likewise.
2085 * soft-fp/extendxftf2.c: Likewise.
2086 * soft-fp/fixdfdi.c: Likewise.
2087 * soft-fp/fixdfsi.c: Likewise.
2088 * soft-fp/fixdfti.c: Likewise.
2089 * soft-fp/fixsfdi.c: Likewise.
2090 * soft-fp/fixsfsi.c: Likewise.
2091 * soft-fp/fixsfti.c: Likewise.
2092 * soft-fp/fixtfdi.c: Likewise.
2093 * soft-fp/fixtfsi.c: Likewise.
2094 * soft-fp/fixtfti.c: Likewise.
2095 * soft-fp/fixunsdfdi.c: Likewise.
2096 * soft-fp/fixunsdfsi.c: Likewise.
2097 * soft-fp/fixunsdfti.c: Likewise.
2098 * soft-fp/fixunssfdi.c: Likewise.
2099 * soft-fp/fixunssfsi.c: Likewise.
2100 * soft-fp/fixunssfti.c: Likewise.
2101 * soft-fp/fixunstfdi.c: Likewise.
2102 * soft-fp/fixunstfsi.c: Likewise.
2103 * soft-fp/fixunstfti.c: Likewise.
2104 * soft-fp/floatdidf.c: Likewise.
2105 * soft-fp/floatdisf.c: Likewise.
2106 * soft-fp/floatditf.c: Likewise.
2107 * soft-fp/floatsidf.c: Likewise.
2108 * soft-fp/floatsisf.c: Likewise.
2109 * soft-fp/floatsitf.c: Likewise.
2110 * soft-fp/floattidf.c: Likewise.
2111 * soft-fp/floattisf.c: Likewise.
2112 * soft-fp/floattitf.c: Likewise.
2113 * soft-fp/floatundidf.c: Likewise.
2114 * soft-fp/floatundisf.c: Likewise.
2115 * soft-fp/floatunsidf.c: Likewise.
2116 * soft-fp/floatunsisf.c: Likewise.
2117 * soft-fp/floatuntidf.c: Likewise.
2118 * soft-fp/floatuntisf.c: Likewise.
2119 * soft-fp/floatuntitf.c: Likewise.
2120 * soft-fp/fmadf4.c: Likewise.
2121 * soft-fp/fmasf4.c: Likewise.
2122 * soft-fp/fmatf4.c: Likewise.
2123 * soft-fp/gedf2.c: Likewise.
2124 * soft-fp/gesf2.c: Likewise.
2125 * soft-fp/getf2.c: Likewise.
2126 * soft-fp/ledf2.c: Likewise.
2127 * soft-fp/lesf2.c: Likewise.
2128 * soft-fp/letf2.c: Likewise.
2129 * soft-fp/muldf3.c: Likewise.
2130 * soft-fp/mulsf3.c: Likewise.
2131 * soft-fp/multf3.c: Likewise.
2132 * soft-fp/negdf2.c: Likewise.
2133 * soft-fp/negsf2.c: Likewise.
2134 * soft-fp/negtf2.c: Likewise.
2135 * soft-fp/op-1.h: Likewise.
2136 * soft-fp/op-2.h: Likewise.
2137 * soft-fp/op-4.h: Likewise.
2138 * soft-fp/op-8.h: Likewise.
2139 * soft-fp/op-common.h: Likewise.
2140 * soft-fp/quad.h: Likewise.
2141 * soft-fp/single.h: Likewise.
2142 * soft-fp/soft-fp.h: Likewise.
2143 * soft-fp/sqrtdf2.c: Likewise.
2144 * soft-fp/sqrtsf2.c: Likewise.
2145 * soft-fp/sqrttf2.c: Likewise.
2146 * soft-fp/subdf3.c: Likewise.
2147 * soft-fp/subsf3.c: Likewise.
2148 * soft-fp/subtf3.c: Likewise.
2149 * soft-fp/truncdfsf2.c: Likewise.
2150 * soft-fp/trunctfdf2.c: Likewise.
2151 * soft-fp/trunctfsf2.c: Likewise.
2152 * soft-fp/trunctfxf2.c: Likewise.
2153 * soft-fp/unorddf2.c: Likewise.
2154 * soft-fp/unordsf2.c: Likewise.
2155 * soft-fp/unordtf2.c: Likewise.
2156
17c48a60
OB
21572013-10-14 Ondřej Bílka <neleai@seznam.cz>
2158
2159 [BZ #15672]
2160 * misc/error.c (error_tail): Fix possible buffer overflow.
2161
cabba934
OB
21622013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2163
2164 [BZ #13028]
2165 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2166 address.
2167
94bf958a
PM
21682013-10-14 P. J. McDermott <pj@pehjota.net>
2169
2170 [BZ #832]
2171 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2172 testing pipefail option.
2173
71b4dea7
JM
21742013-10-12 Joseph Myers <joseph@codesourcery.com>
2175
2176 * soft-fp/double.h: Indent preprocessor directives inside #if.
2177 * soft-fp/extended.h: Likewise.
2178 * soft-fp/op-2.h: Likewise.
2179 * soft-fp/op-4.h: Likewise.
2180 * soft-fp/op-common.h: Likewise.
2181 * soft-fp/quad.h: Likewise.
2182 * soft-fp/single.h: Likewise.
2183 * soft-fp/soft-fp.h: Likewise.
2184
55602758
YC
21852013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2186
2187 * iconv/iconv_prog.c: Fix typos.
2188 * stdio-common/psiginfo-data.h: Likewise.
2189
9cd83302
RT
21902013-10-12 Reuben Thomas <rrt@sc3d.org>
2191
2192 [BZ #15764]
2193 * locale/setlocale.c: Fix typo.
2194
99fd9f47
JM
21952013-10-12 Joseph Myers <joseph@codesourcery.com>
2196
b7ea74f0
JM
2197 [BZ #16036]
2198 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2199 signaling NaN arguments.
2200 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2201 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2202
8a509447
JM
2203 [BZ #14910]
2204 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2205 unordered operands.
2206 * soft-fp/gesf2.c (__gesf2): Likewise.
2207 * soft-fp/getf2.c (__getf2): Likewise.
2208 * soft-fp/ledf2.c (__ledf2): Likewise.
2209 * soft-fp/lesf2.c (__lesf2): Likewise.
2210 * soft-fp/letf2.c (__letf2): Likewise.
2211
98998e9f
JM
2212 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2213 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2214 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2215 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2216 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2217 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2218 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2219 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2220 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2221 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2222 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2223 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2224 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2225 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2226 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2227 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2228 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2229 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2230 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2231 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2232 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2233 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2234 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2235 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2236 * soft-fp/floattidf.c (__floattidf): Likewise.
2237 * soft-fp/floattisf.c (__floattisf): Likewise.
2238 * soft-fp/floattitf.c (__floattitf): Likewise.
2239 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2240 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2241 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2242 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2243 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2244 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2245 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2246 * soft-fp/gesf2.c (__gesf2): Likewise.
2247 * soft-fp/getf2.c (__getf2): Likewise.
2248 * soft-fp/ledf2.c (__ledf2): Likewise.
2249 * soft-fp/lesf2.c (__lesf2): Likewise.
2250 * soft-fp/letf2.c (__letf2): Likewise.
2251
8edc4a11
JM
2252 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2253 Undefine and redefine.
2254 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2255 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2256 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2257 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2258 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2259 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2260 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2261 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2262 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2263 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2264 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2265 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2266 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2267 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2268 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2269
8399acaf
JM
2270 [BZ #16032]
2271 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2272 without decrementing exponent if mantissa >= that for the
2273 denominator, not >.
2274 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2275 denominator, not >. Decrement exponent in < case instead of
2276 incrementing in >= case.
2277 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2278 without decrementing exponent if mantissa >= that for the
2279 denominator, not >.
2280
99fd9f47
JM
2281 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2282 computing saturated result for unsigned overflow.
2283
10e1cf6b
SP
22842013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2285 Jeff Law <law@redhat.com>
2286
2287 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2288 (atan2Mp): Add systemtap probe marker.
2289 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2290 (__ieee754_log): Add systemtap probe marker.
2291 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2292 (atanMp): Add systemtap probe marker.
2293 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2294 (tanMp): Add systemtap probe marker.
2295 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2296 (__slowexp): Add systemtap probe marker.
2297 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2298 (__slowpow): Add systemtap probe marker.
2299 * manual/probes.texi: Document probes.
2300
3d110c7c
EB
23012013-10-11 Eric Biggers <ebiggers3@gmail.com>
2302
2303 [BZ #15362]
2304 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2305 written.
2306 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2307 written.
2308 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2309 written to buffer but not flushed.
2310 * libio/iofwrite_u.c: Likewise.
2311 * libio/iopadn.c: Return bytes returned even if EOF was
2312 encountered.
2313 * libio/iowpadn.c: Likewise.
2314 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2315 if _IO_padn does not write the whole buffer.
2316 [!COMPILE_WPRINTF] (PAD): Likewise.
2317
75b4202a
DM
23182013-10-10 David S. Miller <davem@davemloft.net>
2319
2320 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2321 directory block.
2322
6c6352e6
JM
23232013-10-10 Joseph Myers <joseph@codesourcery.com>
2324
33b853c3
JM
2325 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2326 instead of FSF address.
2327 * soft-fp/fixdfti.c: Likewise.
2328 * soft-fp/fixsfti.c: Likewise.
2329 * soft-fp/fixtfti.c: Likewise.
2330 * soft-fp/fixunsdfti.c: Likewise.
2331 * soft-fp/fixunssfti.c: Likewise.
2332 * soft-fp/fixunstfti.c: Likewise.
2333 * soft-fp/floattidf.c: Likewise.
2334 * soft-fp/floattisf.c: Likewise.
2335 * soft-fp/floattitf.c: Likewise.
2336 * soft-fp/floatuntidf.c: Likewise.
2337 * soft-fp/floatuntisf.c: Likewise.
2338 * soft-fp/floatuntitf.c: Likewise.
2339 * soft-fp/trunctfxf2.c: Likewise.
2340
6c6352e6
JM
2341 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2342 * soft-fp/fixdfti.c: Likewise.
2343 * soft-fp/fixsfti.c: Likewise.
2344 * soft-fp/fixtfti.c: Likewise.
2345 * soft-fp/fixunsdfti.c: Likewise.
2346 * soft-fp/fixunssfti.c: Likewise.
2347 * soft-fp/fixunstfti.c: Likewise.
2348 * soft-fp/floattidf.c: Likewise.
2349 * soft-fp/floattisf.c: Likewise.
2350 * soft-fp/floattitf.c: Likewise.
2351 * soft-fp/floatuntidf.c: Likewise.
2352 * soft-fp/floatuntisf.c: Likewise.
2353 * soft-fp/floatuntitf.c: Likewise.
2354 * soft-fp/trunctfxf2.c: Likewise.
2355
3bf78b71
DM
23562013-10-10 David S. Miller <davem@davemloft.net>
2357
2358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2359
6f10289e
JM
23602013-10-10 Joseph Myers <joseph@codsourcery.com>
2361
bd878fc0
JM
2362 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2363 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2364 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2365 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2366 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2367 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2368 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2369
6f10289e
JM
2370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2371 for NaNs before doing comparisons on argument.
2372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2373 Likewise.
2374
321e2684
WN
23752013-10-10 Will Newton <will.newton@linaro.org>
2376
2377 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2378 passed to _int_memalign does not overflow.
2379
40fefba1
TR
23802013-10-10 Torvald Riegel <triegel@redhat.com>
2381
2382 * scripts/bench.pl: Add include-sources directive.
2383 * benchtests/README: Update documentation.
2384
2ae21ed2
JM
23852013-10-10 Joseph Myers <joseph@codesourcery.com>
2386
dcc2dd3f
JM
2387 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2388 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2389 instead of FP_INIT_ROUNDMODE.
2390 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2391 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2392
2ae21ed2
JM
2393 [BZ #16034]
2394 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2395 copy class of input value.
2396 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2397 not handle exceptions.
2398 * soft-fp/negsf2.c (__negsf2): Likewise.
2399 * soft-fp/negtf2.c (__negtf2): Likewise.
2400 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2401
cb8f9562
JM
24022013-10-09 Joseph Myers <joseph@codesourcery.com>
2403
2404 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2405 semicolon. From Linux kernel.
2406
5b60c59d
AB
24072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2408
2409 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2410
b86835ca
YC
24112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2412
2413 [BZ #156]
2414 * manual/socket.texi: Added statement about buffer
2415 for gethostbyname2_r.
2416
e7044ea7
OB
24172013-10-08 Ondřej Bílka <neleai@seznam.cz>
2418
2419 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2420 Use .p2align directive instead, throughout.
2421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2422 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2423 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2426 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2427 * sysdeps/x86_64/strchr.S: Likewise.
2428 * sysdeps/x86_64/strrchr.S: Likewise.
2429
09544cbc
SP
24302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
88576635
SP
2432 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2433
e7b2d1dd
SP
2434 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2435
09544cbc
SP
2436 * sysdeps/generic/math_private.h (__mpsin1): Remove
2437 declaration.
2438 (__mpcos1): Likewise.
2439 (__mpsin): New argument __range_reduce.
2440 (__mpcos): Likewise.
2441 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2442 (slow): Use __mpsin and __mpcos.
2443 (slow1): Likewise.
2444 (slow2): Likewise.
2445 (sloww): Likewise.
2446 (sloww1): Likewise.
2447 (sloww2): Likewise.
2448 (bsloww): Likewise.
2449 (bsloww1): Likewise.
2450 (bsloww2): Likewise.
2451 (cslow2): Likewise.
2452 (csloww): Likewise.
2453 (csloww1): Likewise.
2454 (csloww2): Likewise.
2455 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2456 range_reduce. Merge in __mpsin1.
2457 (__mpcos): Likewise.
2458 (__mpsin1): Remove.
2459 (__mpcos1): Likewise.
2460
7602d070
JM
24612013-10-07 Joseph Myers <joseph@codesourcery.com>
2462
2463 * locale/loadlocale.c (_nl_intern_locale_data): Use
2464 LOCFILE_ALIGNED_P.
2465 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2466 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2467 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2468 obstack data is appropriately aligned.
2469 (obstack_int32_grow_fast): Likewise.
2470 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2471 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2472 (add_locale_uint32_array): Likewise.
2473
a357259b
SP
24742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2475
2476 * benchtests/Makefile: Remove ARGLIST and RET variables.
2477 ($(objpfx)bench-%.c): Pass only function name to the script.
2478 * benchtests/README: Update documentation.
2479 * benchtests/acos-inputs: Add new directives.
2480 * benchtests/acosh-inputs: Likewise.
2481 * benchtests/asin-inputs: Likewise.
2482 * benchtests/asinh-inputs: Likewise.
2483 * benchtests/atan-inputs: Likewise.
2484 * benchtests/atanh-inputs: Likewise.
2485 * benchtests/cos-inputs: Likewise.
2486 * benchtests/cosh-inputs: Likewise.
2487 * benchtests/exp-inputs: Likewise.
2488 * benchtests/log-inputs: Likewise.
2489 * benchtests/pow-inputs: Likewise.
2490 * benchtests/rint-inputs: Likewise.
2491 * benchtests/sin-inputs: Likewise.
2492 * benchtests/sinh-inputs: Likewise.
2493 * benchtests/tan-inputs: Likewise.
2494 * benchtests/tanh-inputs: Likewise.
2495 * scripts/bench.pl: Add support for new directives.
2496
9ec1b13d
AM
24972013-10-07 Alan Modra <amodra@gmail.com>
2498
2499 * README: Fix careless merge.
2500
8b7d57cd
AM
25012013-10-05 Alan Modra <amodra@gmail.com>
2502
2503 * NEWS: Mention powerpc64le support and bugs fixed.
2504 * README: Both big-endian and little-endian powerpc64 supported.
2505
7b7bab13
ST
25062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2507
2508 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2509 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2510 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2511 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2512
d39baad1
RA
25132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2514
2515 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2516 match prototype.
2517
cd78f7e7
JM
25182013-10-04 Joseph Myers <joseph@codesourcery.com>
2519
29d73d86
JM
2520 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2521 Move -mhard-float appending from
2522 ports/sysdeps/powerpc/powerpc32/Makefile.
2523 [$(with-fp) = yes] (ASFLAGS): Likewise.
2524 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2525 * sysdeps/powerpc/nofpu: Move directory from
2526 ports/sysdeps/powerpc/nofpu.
2527 * sysdeps/powerpc/soft-fp: Move directory from
2528 ports/sysdeps/powerpc/soft-fp.
2529 * sysdeps/powerpc/powerpc32/405: Move directory from
2530 ports/sysdeps/powerpc/powerpc32/405.
2531 * sysdeps/powerpc/powerpc32/440: Move directory from
2532 ports/sysdeps/powerpc/powerpc32/440.
2533 * sysdeps/powerpc/powerpc32/464: Move directory from
2534 ports/sysdeps/powerpc/powerpc32/464.
2535 * sysdeps/powerpc/powerpc32/476: Move directory from
2536 ports/sysdeps/powerpc/powerpc32/476.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2538 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2540 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2542 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2544 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2546 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2547 * README: Update for powerpc-*-linux-gnu software floating point
2548 support in libc.
2549
e246b347
JM
2550 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2551 case to powerpc/powerpc32*.
2552 * sysdeps/unix/sysv/linux/configure: Regenerated.
2553
89c2003e
JM
2554 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2555 (_FPU_MASK_OM): Define as 0x04.
2556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2558 0x00c10080.
2559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2560 0x0000003c.
2561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2562
cd78f7e7
JM
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2564 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2565 getcontext_e500.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2567 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2568 setcontext_e500.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2570 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2571 and setcontext_e500.
2572
c755294d
CL
25732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2574
2575 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2576
e16d221c
SP
25772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 * manual/threads.texi (Default Thread Attributes): Fix typo.
2580
215c7d43
WN
25812013-10-04 Will Newton <will.newton@linaro.org>
2582
2583 * malloc/Makefile: Add tst-memalign.
2584 * malloc/tst-memalign.c: New file.
2585
27d0461b
WN
2586 * malloc/tst-posix_memalign.c: Add comments.
2587 (do_test): Add comments and call free on all potentially
2588 allocated pointers. Add space after cast.
2589
1bc92709
WN
2590 * malloc/tst-pvalloc.c: Add comments.
2591 (do_test): Add comments and call free on all potentially
2592 allocated pointers. Remove duplicate check for NULL pointer.
2593 Add space after cast.
2594
66a9be9d
WN
2595 * malloc/tst-valloc.c: Add comments.
2596 (do_test): Add comments and call free on all potentially
2597 allocated pointers. Remove duplicate check for NULL pointer.
2598 Add space after cast.
2599
4cb81307
AM
26002013-10-04 Alan Modra <amodra@gmail.com>
2601
2602 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2603 Use stdint types in rather than __attribute__((mode())).
2604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2605
f8e3e9f3
AM
26062013-10-04 Alan Modra <amodra@gmail.com>
2607
2608 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2609 Correct handling of unaligned relocs for little-endian.
2610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2611
8f9ebb08
AM
26122013-10-04 Alan Modra <amodra@gmail.com>
2613
2614 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2615 * configure: Regenerate.
2616 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2617 * shlib-versions: Likewise.
2618
0edf96c2
AM
26192013-10-04 Alan Modra <amodra@gmail.com>
2620
2621 * string/tester.c (test_memrchr): Increment reported test cycle.
2622
e0f7a380
AM
26232013-10-04 Alan Modra <amodra@gmail.com>
2624
2625 * string/test-memcpy.c (do_one_test): When reporting errors, print
2626 string address and don't overrun end of string.
2627
466b0393
AM
26282013-10-04 Alan Modra <amodra@gmail.com>
2629
2630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2631 insrdi. Make better use of reg selection to speed exit slightly.
2632 Schedule entry path a little better. Remove useless "are we done"
2633 checks on entry to main loop. Handle wrapping around zero address.
2634 Correct main loop count. Handle single left-over word from main
2635 loop inline rather than by using loop_small. Remove extra word
2636 case in loop_small caused by wrong loop count. Add little-endian
2637 support.
2638 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2640 cache hint.
2641 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2643 support. Avoid rlwimi.
2644 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2645
3be87c77
AM
26462013-10-04 Alan Modra <amodra@gmail.com>
2647
2648 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2649 insrdi. Formatting.
3be87c77
AM
2650 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2654 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2655 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2656
759cfef3
AM
26572013-10-04 Alan Modra <amodra@gmail.com>
2658
2659 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2660 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2665 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2666 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2667 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2668 use of regs. Use power7 mtocrf. Tidy function tails.
2669
fe6e95d7
AM
26702013-10-04 Alan Modra <amodra@gmail.com>
2671
2672 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2673 Formatting. Consistently use rXXX register defines or rN defines.
2674 Use early exit labels that avoid restoring unused non-volatile regs.
2675 Make cr field use more consistent with rWORDn compares. Rename
2676 regs used as shift registers for unaligned loop, using rN defines
2677 for short lifetime/multiple use regs.
2678 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2679 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2680 addi 1,1,64 to pop stack frame. Simplify return value code.
2681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2682
664318c3
AM
26832013-10-04 Alan Modra <amodra@gmail.com>
2684
2685 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2686 support. Correct typos, formatting. Optimize tail. Use insrdi
2687 rather than rlwimi.
2688 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2690 little-endian support. Correct typos.
2691 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2692 rather than rlwimi.
2693 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2694 in loop and entry code to keep "and." results.
2695 (strchr): Add little-endian support. Comment. Move cntlzd
2696 earlier in tail.
2697 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2698
43b84013
AM
26992013-10-04 Alan Modra <amodra@gmail.com>
2700
2701 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2702 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2705
8a7413f9
AM
27062013-10-04 Alan Modra <amodra@gmail.com>
2707
2708 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2709 (rTMP): Define as r11.
2710 (strcmp): Add little-endian support. Optimise tail.
2711 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2712 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2713 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2718
33ee81de
AM
27192013-10-04 Alan Modra <amodra@gmail.com>
2720
2721 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2722 little-endian support. Remove unnecessary "are we done" tests.
2723 Handle "s" wrapping around zero and extremely large "size".
2724 Correct main loop count. Handle single left-over word from main
2725 loop inline rather than by using small_loop. Correct comments.
2726 Delete "zero" tail, use "end_max" instead.
2727 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2728
db9b4570
AM
27292013-10-04 Alan Modra <amodra@gmail.com>
2730
2731 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2732 support. Don't branch over align.
2733 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2735 support. Rearrange tmp reg use to suit. Comment.
2736 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2737
f7c399cf
AM
27382013-10-04 Alan Modra <amodra@gmail.com>
2739
2740 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2741
0b2c2ace
AM
27422013-10-04 Alan Modra <amodra@gmail.com>
2743
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2745 conditional form of branch and link when obtaining pc.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2747
02f04a6c
AM
27482013-10-04 Alan Modra <amodra@gmail.com>
2749
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2751 HIWORD/LOWORD.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2754
9b874b2f
AM
27552013-10-04 Alan Modra <amodra@gmail.com>
2756
2757 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2758 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2759 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2760 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2762 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2763 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2764 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2766 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2767
be1e5d31
AB
27682013-10-04 Anton Blanchard <anton@au1.ibm.com>
2769 Alistair Popple <alistair@ozlabs.au.ibm.com>
2770 Alan Modra <amodra@gmail.com>
2771
2772 [BZ #15723]
2773 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2774 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2775 _dl_hwcap access for little-endian.
2776 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2777 destroy vmx regs when saving unaligned.
2778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2779 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2780 destroy vmx regs when saving unaligned.
2781
fef13a78
AM
27822013-10-04 Alan Modra <amodra@gmail.com>
2783
2784 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2785 Don't use a union to pack hi/low value.
2786
76a66d51
AB
27872013-10-04 Anton Blanchard <anton@au1.ibm.com>
2788
2789 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2790 for little-endian.
2791 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2795 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2796
6a31fe7f
AM
27972013-10-04 Alan Modra <amodra@gmail.com>
2798
2799 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2800 constants to usual value for .cst8 section, and remove redundant
2801 high address load.
2802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2803 constant for 0x1p52. Load little-endian words of double from
2804 correct stack offsets.
2805
7b88401f
AM
28062013-10-04 Alan Modra <amodra@gmail.com>
2807
2808 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2809 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2810 words of double from correct stack offsets.
2811 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2812 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2813 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2814 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2816 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2817 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2818 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2819 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2820 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2821 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2822 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2823 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2824 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2825 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2826 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2827 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2828
9c008155
AM
28292013-10-04 Alan Modra <amodra@gmail.com>
2830
2831 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2832 64-bit int/double union.
2833 (_FPU_SETCW): Likewise.
2834 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2835 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2836
da13146d
AM
28372013-10-04 Alan Modra <amodra@gmail.com>
2838
2839 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2840 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2841
603e8410
AM
28422013-10-04 Alan Modra <amodra@gmail.com>
2843
2844 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2845 use vector int constants.
2846 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2847
4a28b3ca
AB
28482013-10-04 Anton Blanchard <anton@au1.ibm.com>
2849
2850 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2851 array with long long.
2852 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2853 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2854 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2855 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2856 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2857 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2858 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2859 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2860 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2861 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2862 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2863 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2864 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2865
2ca85d2b
AB
28662013-10-04 Anton Blanchard <anton@au1.ibm.com>
2867
2868 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2869 (__signbit): Likewise. Correct for little-endian.
2870 (__signbitl): Call __signbit.
2871 (lrint): Correct for little-endian.
2872 (lrintf): Call lrint.
2873
62a728ae
AM
28742013-10-04 Alan Modra <amodra@gmail.com>
2875
2876 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2877 union 32-bit int array member with 64-bit int array.
2878 (t515, tm256): Double rather than long double.
2879 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2880
32c301df
AM
28812013-10-04 Alan Modra <amodra@gmail.com>
2882
2883 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2884 Delete.
2885 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2887 version of math_ldbl.h.
2888
650ef4bd
AM
28892013-10-04 Alan Modra <amodra@gmail.com>
2890
2891 [BZ #15734], [BZ #15735]
2892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2893 all uses of ieee875 long double macros and unions. Simplify test
2894 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2895 ldbl_extract_mantissa value for ix,iy exponents. Properly
2896 normalize after ldbl_extract_mantissa, and don't add hidden bit
2897 already handled. Don't treat low word of ieee854 mantissa like
2898 low word of IBM long double and mask off bit when testing for
2899 zero.
2900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2901 all uses of ieee875 long double macros and unions. Simplify tests
2902 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2903 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2904 two1022, instead use their values. Recognise that tests for large
2905 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2906 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2907 Rewrite all uses of ieee875 long double macros and unions. Simplify
2908 test for 0.0L and nan. Correct negation.
2909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2910 ieee875 long double macros and unions. Correct output for large
2911 magnitude x. Correct absolute value calculation.
2912 (__erfcl): Likewise.
2913 * math/libm-test.inc: Add tests for errors discovered in IBM long
2914 double versions of fmodl, remainderl, erfl and erfcl.
2915
765714ca
AM
29162013-10-04 Alan Modra <amodra@gmail.com>
2917
2918 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2919 all uses of ieee854 long double macros and unions. Simplify tests
2920 for long doubles that are fully specified by the high double.
2921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2922 Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2924 Remove dead code too.
2925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2926 (__ieee754_ynl): Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2930 Remove dead code too.
2931 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2932 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2935 Simplify.
2936 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2937 Simplify.
2938 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2941 Comment on variable precision.
2942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2944 Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2949 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2950
4ebd120c
AM
29512013-10-04 Alan Modra <amodra@gmail.com>
2952
2953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2955 all uses of ieee854 long double macros and unions.
2956 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2962 Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2966 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2969 Simplify sign and nan test too.
2970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2972 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2973 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2974 Likewise.
2975 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2977 Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2980 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2982 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2984
1b6adf88
AM
29852013-10-04 Alan Modra <amodra@gmail.com>
2986
2987 * stdio-common/printf_size.c (__printf_size): Don't use
2988 union ieee854_long_double in fpnum union.
2989 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2990 signbit macro to retrieve sign from long double.
2991 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2992 retrieve sign from long double.
2993 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2994 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2995 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2996 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2997 * math/test-misc.c (main): Don't use union ieee854_long_double.
2998
4cf69995
AM
29992013-10-04 Alan Modra <amodra@gmail.com>
3000
3001 [BZ #15680]
3002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3004 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3005 calculation. Remove unnecessary test for denormal exponent.
3006 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3007 Correct handling of denormals. Avoid undefined shift behaviour.
3008 Correct normalisation of low mantissa when low double is denormal.
3009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3010 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3011 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3012 Correct normalisation of low mantissa. Test for overflow of high
3013 mantissa and normalise.
3014 (ldbl_nearbyint): Use more readable constant for two52.
3015 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3016 (__mpn_construct_long_double): Fix test for overflow of high
3017 mantissa and correct normalisation. Avoid undefined shift.
3018
9605ca6c
AM
30192013-10-04 Alan Modra <amodra@gmail.com>
3020
3021 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3022 (union ibm_extended_long_double): Define as an array of ieee754_double.
3023 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3025 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3028 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3030 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3032 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3033 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3034
975569d0
JM
30352013-10-03 Joseph Myers <joseph@codesourcery.com>
3036
d3d23756
JM
3037 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3038 page size instead of calling getpagesize.
3039
975569d0
JM
3040 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3041 (LOCFILE_ALIGN_MASK): Likewise.
3042 (LOCFILE_ALIGN_UP): Likewise.
3043 (LOCFILE_ALIGNED_P): Likewise.
3044 * locale/programs/ld-collate.c (collate_output): Use the new
3045 macros instead of __alignof__ (int32_t).
3046 * locale/weight.h (findidx): Likewise.
3047
b1fe1f2b
OB
30482013-10-03 Ondřej Bílka <neleai@seznam.cz>
3049
3050 [BZ #431]
3051 * manual/string.texi: Fix strncat and wcsncat.
3052
5f855e35
BM
30532013-10-03 Brooks Moses <bmoses@google.com>
3054
3055 [BZ #15915]
3056 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3057 * Makerules: ...here, and adjust associated comments.
3058
3cef6009
WN
30592013-10-02 Will Newton <will.newton@linaro.org>
3060
3061 * malloc/Makefile: Add tst-pvalloc.
3062 * malloc/tst-pvalloc.c: New file.
3063
7815420b
WN
30642013-10-02 Will Newton <will.newton@linaro.org>
3065
3066 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3067 improve test coverage.
3068
4868b204
WN
30692013-10-02 Will Newton <will.newton@linaro.org>
3070
3071 * malloc/Makefile: Add tst-posix_memalign.
3072 * malloc/tst-posix_memalign.c: New file.
3073
29c793b3
EB
30742013-10-01 Eric Blake <eblake@redhat.com>
3075
3076 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3077 Use __THROWNL rather than __THROW on static functions.
3078
fd967522
PM
30792013-09-30 Petr Machata <pmachata@redhat.com>
3080
3081 * elf/elf.h (R_AARCH64_ABS16): New macro.
3082 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3083 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3084 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3085 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3086 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3087 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3088 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3089 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3090 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3091 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3092 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3093 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3094 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3095 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3096 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3097 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3098 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3099 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3100 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3101 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3102 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3103 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3104 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3105 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3106 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3107 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3108 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3109 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3110 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3111 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3112 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3113 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3114 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3115 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3116 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3117 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3118 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3119 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3120 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3121 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3122 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3123 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3124 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3125 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3126 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3127 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3128 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3129 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3130 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3131 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3132 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3133 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3134 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3135 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3136 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3137 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3138 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3139 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3140 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3141 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3142 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3143 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3144 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3145 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3146 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3147 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3148 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3149 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3150 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3151 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3152 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3153 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3154 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3155 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3156 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3157 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3158 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3159 (R_AARCH64_TLSDESC_LDR): Likewise.
3160 (R_AARCH64_TLSDESC_ADD): Likewise.
3161 (R_AARCH64_TLSDESC_CALL): Likewise.
3162
b2179107
AS
31632013-09-30 Andreas Schwab <schwab@suse.de>
3164
3165 [BZ #15048]
3166 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3167 the nss database lookup.
3168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3170
47f28d0a
MF
31712013-09-28 Mike Frysinger <vapier@gentoo.org>
3172
3173 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3174
31752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3176
3177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3178 ${Bash-specific parameter/pattern/string} parameter expansion.
3179 * sysdeps/unix/make-syscalls.sh: Likewise.
3180
f4518a17
KK
31812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3182
3183 * sysdeps/sh/stackguard-macros.h: New file.
3184
dc1a95c7
OB
31852013-09-26 Ondřej Bílka <neleai@seznam.cz>
3186
3187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3189 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3190 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3191 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3192 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3193
5ebbff8f
AZ
31942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195
3196 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3197 Fix thread ID register.
3198
4fd2cf9f
JM
31992013-09-25 Joseph Myers <joseph@codesourcery.com>
3200
3201 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3202 [POSIX || UNIX98]: Require rather than permitting all symbols from
3203 <time.h>.
3204 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3205 element of struct sched_param.
3206 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3207 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3208 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3209 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3210 constant.
3211
12c22bc4
OL
32122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3213
3214 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3215 argument calculation.
3216
a03d8ea7
JM
32172013-09-24 Joseph Myers <joseph@codesourcery.com>
3218
3219 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3220 Expect macro.
3221 [POSIX] (pthread_attr_t): Do not require type.
3222 [POSIX] (pthread_cond_t): Likewise.
3223 [POSIX] (pthread_condattr_t): Likewise.
3224 [POSIX] (pthread_key_t): Likewise.
3225 [POSIX] (pthread_mutex_t): Likewise.
3226 [POSIX] (pthread_mutexattr_t): Likewise.
3227 [POSIX] (pthread_once_t): Likewise.
3228 [POSIX] (pthread_t): Likewise.
3229 [POSIX-based standards] (pthread_atfork): Expect function.
3230
6055173a
JM
32312013-09-24 Joseph Myers <joseph@codesourcery.com>
3232 Richard Sandiford <richard@codesourcery.com>
3233
3234 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3235 (swap_endianness_p): New extern variable.
3236 (set_big_endian): New inline function.
3237 (maybe_swap_uint32): Likewise.
3238 (maybe_swap_uint32_array): Likewise.
3239 (maybe_swap_uint32_obstack): Likewise.
3240 * locale/programs/locfile.c: Include <stdbool.h>.
3241 (swap_endianness_p): New variable.
3242 (add_locale_uint32): Call maybe_swap_uint32.
3243 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3244 (write_locale_data): Call maybe_swap_uint32_array.
3245 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3246 maybe_swap_uint32.
3247 (obstack_int32_grow_fast): Likewise.
3248 (output_weightwc): Call maybe_swap_uint32_obstack.
3249 (collate_output): Likewise.
3250 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3251 (OPT_LITTLE_ENDIAN): Likewise.
3252 (options): Add --little-endian and --big-endian options.
3253 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3254 * locale/programs/locarchive.c: Include "locfile.h".
3255 (GET): New macro.
3256 (SET): Likewise.
3257 (INC): Likewise.
3258 (create_archive): Use the new macros to access fields of
3259 structures directly mapped from or written to locale archives.
3260 (oldlocrecentcmp): Likewise.
3261 (enlarge_archive): Likewise.
3262 (insert_name): Likewise.
3263 (add_alias): Likewise.
3264 (add_locale): Likewise.
3265 (delete_locales_from_archive): Likewise.
3266 (show_archive_content): Likewise.
3267 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3268 locale data.
3269
39bf0bb4
RM
32702013-09-24 Roland McGrath <roland@hack.frob.com>
3271
3272 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3273 http://www.gnu.org/doc/freemanuals.texi.
3274 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3275
f02eed10
WN
32762013-09-24 Will Newton <will.newton@linaro.org>
3277
3278 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3279 macro.
3280
a3a6c312
JM
32812013-09-23 Joseph Myers <joseph@codesourcery.com>
3282
3283 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3284 unsigned char.
3285
107375ac
MR
32862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3287
3288 * manual/threads.texi (POSIX Threads): Fix a typo.
3289
141f3a77
SP
32902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3291
303e567a
SP
3292 [BZ #14547]
3293 * string/tst-strcoll-overflow.c: New test case.
3294 * string/Makefile (xtests): Add tst-strcoll-overflow.
3295 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3296 cache if string sizes may cause integer overflow.
3297
141f3a77
SP
3298 [BZ #14547]
3299 * string/strcoll_l.c (coll_seq): New members rule, idx,
3300 save_idx and back_us.
3301 (get_next_seq_nocache): New function.
3302 (do_compare_nocache): New function.
3303 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3304 when malloc fails.
3305
c61b4d41
CD
33062013-09-23 Carlos O'Donell <carlos@redhat.com>
3307
0b1f8e35
CD
3308 [BZ #15754]
3309 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3310 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3311 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3312
c61b4d41
CD
3313 [BZ #15754]
3314 * elf/Makefile (tests): Add tst-ptrguard1.
3315 (tests-static): Add tst-ptrguard1-static.
3316 (tst-ptrguard1-ARGS): Define.
3317 (tst-ptrguard1-static-ARGS): Define.
3318 * elf/tst-ptrguard1.c: New file.
3319 * elf/tst-ptrguard1-static.c: New file.
3320 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3321 * sysdeps/i386/stackguard-macros.h: Likewise.
3322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3328
33292013-09-23 Hector Marco <hecmargi@upv.es>
3330 Ismael Ripoll <iripoll@disca.upv.es>
3331 Carlos O'Donell <carlos@redhat.com>
3332
3333 [BZ #15754]
3334 * sysdeps/generic/stackguard-macros.h: Define
3335 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3336 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3337 Define __pointer_chk_guard_local.
3338 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3339 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3340
f5f4e7b4
VV
33412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3342
3343 [BZ #15859]
3344 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3345
5bb43a43
AS
33462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 * include/string.h (__ffs): Declare as hidden.
3349 * string/ffs.c (__ffs): Define as hidden.
3350 * sysdeps/i386/ffs.c (__ffs): Likewise.
3351 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3352 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3353 * sysdeps/s390/ffs.c (__ffs): Likewise.
3354 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3355
3ea5be54
AO
33562013-09-20 Alexandre Oliva <aoliva@redhat.com>
3357
ffb89e53
AO
3358 * NEWS: Mention malloc probes.
3359
322dea08
AO
3360 * malloc/arena.c (new_heap): New memory_heap_new probe.
3361 (grow_heap): New memory_heap_more probe.
3362 (shrink_heap): New memory_heap_less probe.
3363 (heap_trim): New memory_heap_free probe.
3364 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3365 (systrim): New memory_sbrk_less probe.
3366 * manual/probes.texi: Document them.
3367
655673f3
AO
3368 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3369 * manual/probes.texi: Document it.
3370
35fed6f1
AO
3371 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3372 (__libc_realloc): Add memory_realloc_retry probe.
3373 (__libc_memalign): Add memory_memalign_retry probe.
3374 (__libc_valloc): Add memory_valloc_retry probe.
3375 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3376 (__libc_calloc): Add memory_calloc_retry probe.
3377 * manual/probes.texi: Document them.
3378
6999d38c
AO
3379 * malloc/arena.c (get_free_list): Add probe
3380 memory_arena_reuse_free_list.
3381 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3382 and memory_arena_reuse.
3383 (arena_get2) [!PER_THREAD]: Likewise.
3384 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3385 memory_arena_reuse_realloc.
3386 * manual/probes.texi: Document them.
3387
0653427f
AO
3388 * malloc/malloc.c (__libc_free): Add
3389 memory_mallopt_free_dyn_thresholds probe.
3390 (__libc_mallopt): Add multiple memory_mallopt probes.
3391 * manual/probes.texi: Document them.
3392
3ea5be54
AO
3393 * malloc/malloc.c: Include stap-probe.h.
3394 (__libc_mallopt): Add memory_mallopt probe.
3395 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3396 * manual/probes.texi: New.
3397 * manual/Makefile (chapters): Add probes.
3398 * manual/threads.texi: Set next node.
3399
e35696c3 34002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3401
e35696c3
CL
3402 [BZ #15963, #13985]
3403 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3404 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3405 Add `Chinese' to `nan' entry name.
3406
4aafb73c
SP
34072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3408
3409 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3410 (POLYNOMIAL): Likewise.
3411 (TAYLOR_SINCOS): Likewise.
3412 (TAYLOR_SLOW): Likewise.
3413 (__sin): Use TAYLOR_SINCOS.
3414 (__cos): Likewise.
3415 (slow): Use TAYLOR_SLOW.
3416 (sloww): Likewise.
3417 (bsloww): Likewise.
3418 (csloww): Likewise.
3419
d84f25c7
LD
34202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3421
3422 * stdlib/strtod_l.c: Fix buffer overrun.
3423
5eea0404
SP
34242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
7849ff93
SP
3426 * benchtests/Makefile (bench): Add sincos.
3427 * benchtests/bench-sincos.c: New file.
3428
cfa3c886
SP
3429 * math/libm-test.inc (cos_test_data): New test inputs.
3430 (sin_test_data): Likewise.
3431
b348e1e3
SP
3432 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3433 macro.
3434 (__sin): Use it.
3435 (__cos): Likewise.
3436 (slow1): Likewise.
3437 (slow2): Likewise.
3438 (sloww1): Likewise.
3439 (sloww2): Likewise.
3440 (bsloww1): Likewise.
3441 (bsloww2): Likewise.
3442 (cslow2): Likewise.
3443 (csloww1): Likewise.
3444 (csloww2): Likewise.
3445
6cce25f8
SP
3446 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3447 function.
3448 (__sin): Use it.
3449 (__cos): Likewise.
3450
5eea0404
SP
3451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3452 gotos.
3453 (__cos): Likewise.
3454
9c21573c
MR
34552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3456
3457 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3458 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3459 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3460 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3461 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3462 * elf/cache.c (print_entry): Handle the new cache flags.
3463
24d22e65
JM
34642013-09-18 Joseph Myers <joseph@codesourcery.com>
3465 Aldy Hernandez <aldyh@redhat.com>
3466
3467 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3468 Change condition to [_SOFT_FLOAT].
3469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3481 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3484 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3485 declaration.
3486
d13ef066
JM
34872013-09-18 Joseph Myers <joseph@codesourcery.com>
3488
2e071de0
JM
3489 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3490 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3491 (__longjmp): Use LOAD_GP to load saved GPRs.
3492 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3493 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3494 (__sigsetjmp): Use SAVE_GP to save GPRs.
3495
d13ef066
JM
3496 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3497 Do not append -msoft-float.
3498 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3499
97a0650b
SP
35002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3501
3502 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3503
11ca09e9
JM
35042013-09-17 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #15966]
3507 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3508 (_FPU_GETCW): Use initial "__" on variable and field names but not
3509 on macro parameter name.
3510 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3511 parentheses around reference to macro parameter.
3512
08ffcf34
RS
35132013-09-13 Richard Sandiford <richard@codesourcery.com>
3514
3515 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3516 prototype.
3517 (ctype_startup): Use uint32_t in cast and sizeof for
3518 ctype->charnames.
3519
ae7080d3
JL
35202013-09-11 Jia Liu <proljc@gmail.com>
3521
3522 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3523 __daddr_t_defined.
3524 [__FreeBSD__]: Likewise.
3525
5905e7b3
OB
35262013-09-11 Ondřej Bílka <neleai@seznam.cz>
3527
3528 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3530 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3531 (strchr): Remove __strchr_sse42 ifunc selection.
3532 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3533 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3534
b987c776
WN
35352013-09-11 Will Newton <will.newton@linaro.org>
3536
3537 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3538 parameter to RES. Remove hardcoded 1000 value.
3539 * benchtests/bench-skeleton.c (main): Pass RES parameter
3540 to TIMING_INIT and multiply result by 1000.
3541
ddf985af
AZ
35422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3545
ffdd3181
AS
35462013-09-11 Andreas Schwab <schwab@suse.de>
3547
3548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3549 if not defined.
3550 (O_TMPFILE) [__USE_GNU]: Define.
3551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3552 Define.
3553
b73ed247
WN
35542013-09-11 Will Newton <will.newton@linaro.org>
3555
3556 [BZ #15857]
3557 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3558 does not overflow.
3559
55e17aad
WN
35602013-09-11 Will Newton <will.newton@linaro.org>
3561
3562 [BZ #15856]
3563 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3564 does not overflow.
3565
1159a193
WN
35662013-09-11 Will Newton <will.newton@linaro.org>
3567
3568 [BZ #15855]
3569 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3570 does not overflow.
3571
5905e7b3 35722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3573
3574 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3579
cdfc721b
AM
35802013-09-10 Allan McRae <allan@archlinux.org>
3581
aa04af00
AM
3582 [BZ #15748]
3583 * manual/arith.texi (Parsing of Floats): Clarify
3584 cross-reference.
3585
cdfc721b
AM
3586 [BZ #15849]
3587 * manual/install.texi (Running make install): Mention
3588 --enable-pt-chown.
3589 * INSTALL: Regenerated.
3590
95e7cf29
MR
35912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3592
3593 * csu/init-first.c (_init): Remove the !SHARED condition around
3594 FPU control word initialization.
3595 * elf/dl-support.c (_dl_fpu_control): New variable.
3596 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3597 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3598 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3599 * math/test-fpucw-static.c: New file.
3600 * math/test-fpucw-ieee.c: New file.
3601 * math/test-fpucw-ieee-static.c: New file.
3602 * math/Makefile (tests): Add `test-fpucw-ieee' and
3603 `$(tests-static)'.
3604 (tests-static): New variable.
3605 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3606 dependency to...
3607 [($(build-shared),yes)]
3608 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3609 ... this.
3610 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3611 New dependency.
3612
83e43bf0
AM
36132013-09-09 Allan McRae <allan@archlinux.org>
3614
a9f5ce09
AM
3615 [BZ #15939]
3616 * manual/string.texi (Collation Functions): Fix typo in
3617 strcoll example.
3618 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3619
34829bc2
AM
3620 [BZ #15893]
3621 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3622
3932737d
AM
3623 [BZ #15892]
3624 * libio/memstream.c (open_memstream): Fix memory leak.
3625 * libio/wmemstream.c (open_wmemstream): Likewise.
3626
83e43bf0
AM
3627 [BZ #15895]
3628 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3629
0c66b8e9
WN
36302013-09-09 Will Newton <will.newton@linaro.org>
3631
3632 * malloc/Makefile: Add tst-realloc to tests.
3633 * malloc/tst-realloc.c: New file.
3634
f6b00fd1
AM
36352013-09-09 Allan McRae <allan@archlinux.org>
3636
3637 [BZ #15844]
3638 * COPYING: Update from GNU website to fix FSF address.
3639 * COPYING.LIB: Likewise.
3640
eec55e16
DM
36412013-09-06 David S. Miller <davem@davemloft.net>
3642
3643 * po/zh_TW.po: Update Chinese (traditional) translation from
3644 translation project.
3645
1ecbb381
RS
36462013-09-06 Richard Sandiford <richard@codesourcery.com>
3647 Joseph Myers <joseph@codesourcery.com>
3648
3649 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3650 "localeinfo.h".
3651 (obstack_chunk_alloc): New macro.
3652 (obstack_chunk_free): Likewise.
3653 (record_offset): New function.
3654 (init_locale_data): Likewise.
3655 (align_locale_data): Likewise.
3656 (add_locale_empty): Likewise.
3657 (add_locale_raw_data): Likewise.
3658 (add_locale_raw_obstack): Likewise.
3659 (add_locale_string): Likewise.
3660 (add_locale_wstring): Likewise.
3661 (add_locale_uint32): Likewise.
3662 (add_locale_uint32_array): Likewise.
3663 (add_locale_char): Likewise.
3664 (start_locale_structure): Likewise.
3665 (end_locale_structure): Likewise.
3666 (start_locale_prelude): Likewise.
3667 (end_locale_prelude): Likewise.
3668 (write_locale_data): Take locale_file structure rather than an
3669 iovec.
3670 * locale/programs/locfile.h: Include "obstack.h".
3671 (struct locale_file): Change to store locale file contents instead
3672 of header.
3673 (init_locale_data): New prototype.
3674 (align_locale_data): Likewise.
3675 (add_locale_empty): Likewise.
3676 (add_locale_raw_data): Likewise.
3677 (add_locale_raw_obstack): Likewise.
3678 (add_locale_string): Likewise.
3679 (add_locale_wstring): Likewise.
3680 (add_locale_uint32): Likewise.
3681 (add_locale_uint32_array): Likewise.
3682 (add_locale_char): Likewise.
3683 (start_locale_structure): Likewise.
3684 (end_locale_structure): Likewise.
3685 (start_locale_prelude): Likewise.
3686 (end_locale_prelude): Likewise.
3687 (write_locale_data): Update prototype.
3688 * locale/programs/3level.h (struct TABLE): Remove result field.
3689 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3690 Use new locale_file interface.
3691 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3692 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3693 * locale/programs/ld-address.c (address_output): Use new
3694 locale_file interface.
3695 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3696 NO_ADD_LOCALE.
3697 (collate_finish): Don't call collseq_table_finalize.
3698 (collate_output): Use new locale_file interface.
3699 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3700 in file.
3701 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3702 (TABLE): Move defines earlier in file.
3703 (ELEMENT): Likewise.
3704 (DEFAULT): Likewise.
3705 (wctrans_table_add): Move macro and inline function earlier in
3706 file.
3707 (struct wctype_table): Move type earlier in file.
3708 (add_locale_wctype_table): New static prototype.
3709 (struct locale_ctype_t): Use logical types instead of struct iovec
3710 pointers for members.
3711 (ctype_output): Use new locale_file interface.
3712 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3713 new locale_file interface.
3714 (allocate_arrays): Update for use of new locale_file interface.
3715 * locale/programs/ld-identification.c (identification_output): Use
3716 new locale_file interface.
3717 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3718 * locale/programs/ld-messages.c (messages_output): Likewise.
3719 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3720 * locale/programs/ld-name.c (name_output): Likewise.
3721 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3722 * locale/programs/ld-paper.c (paper_output): Likewise.
3723 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3724 * locale/programs/ld-time.c (time_output): Likewise.
3725
e029e2e5
AZ
37262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727
3728 * benchtests/Makefile: Add memrchr benchmark.
3729 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3730 benchmark as memrchr.
3731 * benchtests/bench-memrchr-ifunc.c: New file.
3732 * benchtests/bench-memrchr.c: New file.
3733
bbf6e8e4
WN
37342013-09-06 Will Newton <will.newton@linaro.org>
3735
3736 * benchtests/Makefile (string-bench): Add memcpy.
3737
6c82a2f8
CD
37382013-09-05 Carlos O'Donell <carlos@redhat.com>
3739 Cong Wang <amwang@redhat.com>
3740
3741 * sysdeps/unix/sysv/linux/bits/in.h
3742 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3743 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3744 before __USE_KERNEL_IPV6_DEFS uses.
3745 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3746 IPPROTO_BEETPH.
3747 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3748 sockaddr_in6, or ipv6_mreq.
3749
5430fc65
AZ
37502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751
3752 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3753 memory access for final bytes in some large inputs.
3754 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3755
4660856c
AZ
37562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
3758 * string/test-memrchr.c: New file.
3759 * string/test-memrchr-ifunc.c: New file.
3760 * string/Makefile: Add new memrchr testcase.
3761
bb8ea713
MF
37622013-09-05 Mike Frysinger <vapier@gentoo.org>
3763
3764 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3765 fanotify_init returns EPERM.
3766
b92a20b5
JM
37672013-09-04 Joseph Myers <joseph@codesourcery.com>
3768
3769 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3770 errors.
3771 (top level): Treat second token from macro or constant entries for
3772 allowed headers as allowed.
3773 * include/complex.h: Condition internal declarations on
3774 [!_ISOMAC].
3775 * include/fenv.h: Condition include of <stdbool.h> and internal
3776 declarations on [!_ISOMAC].
7447ccd9
CL
3777
37782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3779
3e181dda 3780 [BZ #15923]
7447ccd9
CL
3781 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3782
3f2e46a4
JM
37832013-09-04 Joseph Myers <joseph@codesourcery.com>
3784
3785 * configure.in (--enable-versioning): Remove configure option.
3786 (libc_cv_asm_symver_directive): Remove configure test.
3787 (libc_cv_ld_version_script_option): Likewise.
3788 (VERSIONING): Remove variable and AC_SUBST.
3789 (DO_VERSIONING): Remove AC_DEFINE.
3790 * configure: Regenerated.
3791 * config.h.in (DO_VERSIONING): Remove macro.
3792 * Makerules [$(versioning) = yes]: Change conditionals to
3793 [$(build-shared) = yes].
3794 * config.make.in (versioning): Remove variable.
3795 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3796 [$(build-shared) = yes].
3797 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3798 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3799 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3800 [$(build-shared) = yes].
3801 * extra-lib.mk [$(versioning) = yes]: Likewise.
3802 * hurd/Makefile [$(versioning) = yes]: Likewise.
3803 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3804 [SHARED].
3805 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3806 [SHARED].
3807 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3808 [SHARED && !NO_HIDDEN].
3809 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3810 [SHARED].
3811 [SHARED && DO_VERSIONING]: Likewise..
3812 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3813 [$(build-shared) = yes].
3814 * manual/install.texi (--disable-versioning): Remove
3815 documentation.
3816 * INSTALL: Regenerated.
3817 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3818 to [SHARED].
3819 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3820 [$(build-shared) = yes].
3821 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3822 * sysdeps/i386/i686/multiarch/strstr-c.c
3823 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3824 [SHARED && !NO_HIDDEN].
3825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3826 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3827 * sysdeps/powerpc/powerpc32/dl-machine.c
3828 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3829 * sysdeps/powerpc/powerpc32/sysdep.h
3830 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3831 to [SHARED && PIC && !NO_HIDDEN].
3832 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3833 conditional to [SHARED].
3834
44558701
WN
38352013-09-04 Will Newton <will.newton@linaro.org>
3836
3837 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3838 * benchtests/bench-string.h: Include bench-timing.h instead
3839 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3840 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3841 call to HP_TIMING_DIFF_INIT.
3842 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3843 instead of hp-timing.h macros.
3844 * benchtests/bench-memchr.c: Likewise.
3845 * benchtests/bench-memcmp.c: Likewise.
3846 * benchtests/bench-memcpy.c: Likewise.
3847 * benchtests/bench-memmem.c: Likewise.
3848 * benchtests/bench-memmove.c: Likewise.
3849 * benchtests/bench-memset.c: Likewise.
3850 * benchtests/bench-rawmemchr.c: Likewise.
3851 * benchtests/bench-strcasecmp.c: Likewise.
3852 * benchtests/bench-strcasestr.c: Likewise.
3853 * benchtests/bench-strcat.c: Likewise.
3854 * benchtests/bench-strchr.c: Likewise.
3855 * benchtests/bench-strcmp.c: Likewise.
3856 * benchtests/bench-strcpy.c: Likewise.
3857 * benchtests/bench-strcpy_chk.c: Likewise.
3858 * benchtests/bench-strlen.c: Likewise.
3859 * benchtests/bench-strncasecmp.c: Likewise.
3860 * benchtests/bench-strncat.c: Likewise.
3861 * benchtests/bench-strncmp.c: Likewise.
3862 * benchtests/bench-strncpy.c: Likewise.
3863 * benchtests/bench-strnlen.c: Likewise.
3864 * benchtests/bench-strpbrk.c: Likewise.
3865 * benchtests/bench-strrchr.c: Likewise.
3866 * benchtests/bench-strspn.c: Likewise.
3867 * benchtests/bench-strstr.c: Likewise.
3868
cae16d66
WN
38692013-09-04 Will Newton <will.newton@linaro.org>
3870
3871 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3872
ffa3cd7f
JM
38732013-09-03 Joseph Myers <joseph@codesourcery.com>
3874
3875 [BZ #15427]
3876 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3877 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3878 * math/libm-test.inc (lgamma_test_data): Add more tests.
3879 * sysdeps/i386/fpu/libm-test-ulps: Update.
3880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3881
8f02859f
OB
38822013-09-03 Ondřej Bílka <neleai@seznam.cz>
3883
3884 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3886 Add ifunc.
3887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3888 Add strcmp-sse2-unaligned
3889 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3890
18d43716
MF
38912013-09-02 Mike Frysinger <vapier@gentoo.org>
3892
3893 * Versions.def (libc): Add GLIBC_2.19.
3894
ac444012
MF
38952013-09-02 Mike Frysinger <vapier@gentoo.org>
3896
3897 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3898 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3899
b7835e32
JM
39002013-09-02 Joseph Myers <joseph@codesourcery.com>
3901
3902 [BZ #14155]
3903 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3904 intermediate calculations in recurrence.
3905 (__ieee754_ynf): Likewise.
3906 * math/libm-test.inc (jn_test_data): Do not allow spurious
3907 underflow exception. Add more tests.
3908 (yn_test_data): Add more tests.
3909 * sysdeps/i386/fpu/libm-test-ulps: Update.
3910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3911
8220f4f0
OB
39122013-09-02 Ondřej Bílka <neleai@seznam.cz>
3913
3914 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3915
f24a6d08
OB
39162013-08-30 Ondřej Bílka <neleai@seznam.cz>
3917
3918 * csu/init-first.c: Fix then/than typos.
3919 * locale/programs/ld-collate.c: Likewise.
3920 * locale/programs/linereader.h: Likewise.
3921 * manual/charset.texi: Likewise.
3922 * manual/filesys.texi: Likewise.
3923 * manual/stdio.texi: Likewise.
3924 * manual/string.texi: Likewise.
3925 * stdlib/fmtmsg.c: Likewise.
3926 * sysdeps/i386/stpncpy.S: Likewise.
3927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3928 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3929 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3931
382466e0
OB
39322013-08-30 Ondřej Bílka <neleai@seznam.cz>
3933
3934 * elf/dl-open.c: Fix typos.
3935 * iconvdata/gbbig5.c: Likewise.
3936 * iconvdata/iso-2022-jp.c: Likewise.
3937 * iconv/gconv_int.h: Likewise.
3938 * iconv/loop.c: Likewise.
3939 * nis/rpcsvc/nis.h: Likewise.
3940 * resolv/ns_name.c: Likewise.
3941 * stdio-common/vfscanf.c: Likewise.
3942 * streams/stropts.h: Likewise.
3943 * sunrpc/rpc_thread.c: Likewise.
3944 * sysdeps/i386/strpbrk.S: Likewise.
3945 * sysdeps/ieee754/k_standard.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3948 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3949 * sysdeps/mach/hurd/profil.c: Likewise.
3950 * sysdeps/s390/dl-procinfo.h: Likewise.
3951 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3952 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3954 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3956
0186c6e9
OB
39572013-08-30 Ondřej Bílka <neleai@seznam.cz>
3958
3959 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3961
d4e16af1
OB
39622013-08-29 Ondřej Bílka <neleai@seznam.cz>
3963
3964 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3965 aix specific files.
3966 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3971 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3973 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3974
88335980
TS
39752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3976 Roland McGrath <roland@hack.frob.com>
3977
3978 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3979 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3980
ed479b02
ST
39812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3982
3983 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3984 __executable_start symbol instead of _start.
3985
f1cc4c86
TS
39862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3987
d821f07c
TS
3988 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3989 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3990 Move macros to...
3991 * sysdeps/gnu/ldsodefs.h: ... this new file.
3992
c54290cf
TS
3993 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3994 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3995 instead of ELFOSABI_LINUX.
3996
0007fc9b 3997 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3998 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3999 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4000 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4001 Likewise.
4002 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4003 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4005 Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4007 (ibm_extended_long_double): Add ieee_nan member.
4008 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4009 (do_test): New function.
4010
f1cc4c86
TS
4011 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4012 TEST_TRUNC.
4013 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4014 functions, renamed from truncdfsf_test, trunctfsf_test,
4015 trunctfdf_test.
4016 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4017 functions.
4018 (do_test): Run all these.
4019
6f65e668
OB
40202013-08-29 Ondřej Bílka <neleai@seznam.cz>
4021
4022 * argp/argp-help.c: Fix typos.
4023 * argp/argp-parse.c: Likewise.
4024 * debug/backtracesyms.c: Likewise.
4025 * elf/elf.h: Likewise.
4026 * malloc/malloc.c: Likewise.
4027 * nis/nis_print.c: Likewise.
4028 * resolv/res_comp.c: Likewise.
4029 * stdlib/stdlib.h: Likewise.
4030 * sunrpc/clnt_tcp.c: Likewise.
4031 * sunrpc/clnt_udp.c: Likewise.
4032 * sunrpc/clnt_unix.c: Likewise.
4033 * sysdeps/unix/bsd/ptsname.c: Likewise.
4034 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4035 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4037 Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4039 Likewise.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4041 Likewise.
6f65e668
OB
4042 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4043
3a309239
SP
40442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4045
4046 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4048
3b813b29
MF
40492013-08-27 Mike Frysinger <vapier@gentoo.org>
4050
4051 [BZ #15897]
4052 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4053 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4054 ($(objpfx)bug-dl-leaf): New rule.
4055 ($(objpfx)bug-dl-leaf.so): Likewise.
4056 ($(objpfx)bug-dl-leaf.out): Likewise.
4057 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4058 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4059 * dlfcn/bug-dl-leaf.c: New test.
4060 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4061 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4062 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4063 (dlclose): Likewise.
4064 (dlmopen): Likewise.
4065
8cc3269f
RM
40662013-08-27 Roland McGrath <roland@hack.frob.com>
4067
7f9d0034
RM
4068 * include/netdb.h [!_ISOMAC]:
4069 Don't include <tls.h>.
4070 (h_errno, __libc_h_errno): Move declaration and macros out of
4071 [_LIBC_REENTRANT].
4072
fb431262
RM
4073 * include/resolv.h [_RESOLV_H_]:
4074 Don't include <tls.h>.
4075 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4076 * resolv/res_libc.c: Don't include <tls.h>.
4077 (_res): Use __attribute__ ((nocommon)) in place of
4078 __attribute__ ((section (".bss"))).
4079
bd81123a
RM
4080 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4081 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4082
c4e42566
RM
4083 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4084
f890a59b
RM
4085 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4086 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4087
4088 * resolv/res_mkquery.c: Include <sys/time.h>.
4089
5d1f0a09
RM
4090 * inet/ifreq.c: Moved to ...
4091 * sysdeps/unix/ifreq.c: ... here.
4092 * inet/ifreq.c: New file, true stub version.
4093
6fcf28b3
RM
4094 * socket/sa_len.c: New file.
4095 * socket/Makefile (aux): Add it.
4096 * sysdeps/unix/sysv/linux/Makefile
4097 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4098 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4099 and #include <socket/sa_len.c>.
4100 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4101 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4102
e041fb8b
RM
4103 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4104 * bits/socket.h: ... here.
4105
8cc3269f
RM
4106 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4107 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4108 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4109
5d228a43
AS
41102013-08-27 Andreas Schwab <schwab@suse.de>
4111
45b8accc
AS
4112 [BZ #15736]
4113 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4114 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4115 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4116 * string/test-strcasecmp.c (test_main): Run tests in several
4117 locales.
4118 * string/test-strncasecmp.c (test_main): Likewise.
4119
5d228a43
AS
4120 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4121 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4122 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4124 (__strncasecmp_ssse3) [PIC]: Likewise.
4125
59d112a4
RM
41262013-08-26 Roland McGrath <roland@hack.frob.com>
4127
53234cc3
RM
4128 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4129
59d112a4
RM
4130 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4131 instead of explicitly declaring xdecrypt.
4132 * nis/nss_nis/nis-publickey.c: Likewise.
4133
595aba70
SP
41342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4135
4136 [BZ #15890]
4137 * nscd/aicache.c: Include res_hconf.h.
4138 (addhstaiX): Initialize res_hconf.
4139
ffabd393
AS
41402013-08-26 Andreas Schwab <schwab@suse.de>
4141
4142 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4143 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4144
e0a69f5c
SP
41452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4146
4147 * nscd/aicache.c (addhstaiX): Fix indentation.
4148
8c12f01d
MF
41492013-08-25 Mike Frysinger <vapier@gentoo.org>
4150
4151 * configure.ac: Quote $build_pt_chown test.
4152 * configure: Regenerated.
4153
8fe89494
JM
41542013-08-23 Joseph Myers <joseph@codesourcery.com>
4155
4156 [BZ #15532]
4157 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4158 * math/s_cexpf.c (__cexpf): Likewise.
4159 * math/s_cexpl.c (__cexpl): Likewise.
4160 * math/libm-test.inc (cexp_test_data): Correct expected return
4161 value for NaN + i0. Add another test.
4162
75b181d6
DM
41632013-08-22 David S. Miller <davem@davemloft.net>
4164
4165 * po/ca.po: Update Catalan translation from translation project.
936241e4 4166 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4167
acd06bb1
JM
41682013-08-21 Joseph Myers <joseph@codesourcery.com>
4169
4170 [BZ #15797]
4171 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4172 is infinite, not alongside NaN test.
4173 * math/s_fdimf.c (__fdimf): Likewise.
4174 * math/s_fdiml.c (__fdiml): Likewise.
4175 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4176 errno is unchanged.
4177
c0c3f78a
OB
41782013-08-21 Ondřej Bílka <neleai@seznam.cz>
4179
4180 * argp/argp-help.c: Fix typos.
4181 * crypt/speeds.c: Likewise.
4182 * csu/check_fds.c: Likewise.
4183 * elf/dl-load.c: Likewise.
4184 * elf/dl-open.c: Likewise.
4185 * elf/reldep3.c: Likewise.
4186 * elf/reldep.c: Likewise.
4187 * elf/sprof.c: Likewise.
4188 * iconv/iconv_charmap.c: Likewise.
4189 * iconv/skeleton.c: Likewise.
4190 * iconv/strtab.c: Likewise.
4191 * io/lockf64.c: Likewise.
4192 * libio/libioP.h: Likewise.
4193 * resolv/gai_notify.c: Likewise.
4194 * resolv/ns_name.c: Likewise.
4195 * resolv/ns_samedomain.c: Likewise.
4196 * resolv/res_send.c: Likewise.
4197 * stdlib/random.c: Likewise.
4198 * sunrpc/rpc/xdr.h: Likewise.
4199 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4200 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4203 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4207 * sysdeps/mach/hurd/check_fds.c: Likewise.
4208 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4209 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4211 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4213 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4214 * sysdeps/pthread/aio_notify.c: Likewise.
4215 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4216 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4217 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4218 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4219 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4220
46ed1038
LD
42212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4222
4223 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4224 version if bit_Slow_SSE4_2 is set.
4225 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4227
d400dcac
AZ
42282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229
4230 [BZ #15867]
4231 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4232 trampoline stack frame information.
4233 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4235 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4236 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4237 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4238 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4239 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4240 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4241 sa_flags value.
4242 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4243 interrupting a syscall and set with option SA_SIGINFO.
4244
42c8fdd8
JM
42452013-08-20 Joseph Myers <joseph@codesourcery.com>
4246
c980f2f4
JM
4247 [BZ #15531]
4248 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4249 argument is infinite.
4250 * math/s_cprojf.c (__cprojf): Likewise.
4251 * math/s_cprojl.c (__cprojl): Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4253 * math/libm-test.inc (cproj_test_data): Add more tests.
4254
0716c4fc
JM
4255 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4256
42c8fdd8
JM
4257 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4258 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4259 size. Use __ffs to determine corresponding shift.
4260
b31469d0
JM
42612013-08-20 Joseph Myers <joseph@codesourcery.com>
4262 Roland McGrath <roland@hack.frob.com>
4263
4264 * Makefile (INSTALL): Remove trailing blank lines from output of
4265 makeinfo.
4266
4e39af6e
AK
42672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4268
4269 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4270 Align 32 bit compat elf_greg to 8 bytes.
4271
f315524e
AA
42722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4273
4274 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4275
1326ba1a
SP
42762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4277
4278 * string/strcoll_l.c (coll_seq): New structure.
4279 (get_next_seq_cached): New function.
4280 (get_next_seq): New function.
4281 (do_compare): New function.
4282 (STRCOLL): Use GNU style definition. Simplify implementation
4283 by using get_next_seq, get_next_seq_cached and do_compare.
4284
91ce4085
FW
42852013-08-16 Florian Weimer <fweimer@redhat.com>
4286
4287 [BZ #14699]
4288 CVE-2013-4237
4289 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4290 member.
4291 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4292 member.
4293 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4294 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4295 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4296 conditional.
4297 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4298 GETDENTS_64BIT_ALIGNED.
4299 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4300 * manual/filesys.texi (Reading/Closing Directory): Document
4301 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4302 strongly.
4303 * manual/conf.texi (Limits for Files): Add portability note to
4304 NAME_MAX, PATH_MAX.
4305 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4306
ca0a6bc4
AS
43072013-08-13 Andreas Schwab <schwab@suse.de>
4308
4309 [BZ #15749]
4310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4311 of fabs.
4312 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4313 LDBL_MAX_EXP >= 16384]: Add tests for it.
4314
6c1fd795
DM
43152013-08-12 David S. Miller <davem@davemloft.net>
4316
4317 * version.h (RELEASE): Set to "development".
4318 (VERSION): Set to "2.18.90".
4319 * NEWS: Add 2.19 section.
4320
31ad488d
DM
43212013-08-03 David S. Miller <davem@davemloft.net>
4322
4323 * po/ko.po: Update Korean translation from translation project.
4324
db24e684
DM
43252013-08-01 David S. Miller <davem@davemloft.net>
4326
4327 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4328 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4329 Bilka.
4330
f723285b
DM
43312013-07-30 David S. Miller <davem@davemloft.net>
4332
4333 * po/fr.po: Update French translation from translation project.
4334
3cbc52db
DM
43352013-07-28 David S. Miller <davem@davemloft.net>
4336
30bbc0cc
DM
4337 * po/cs.po: Update Czech translation from translation project.
4338
3cbc52db
DM
4339 * po/sv.po: Update Swedish translation from translation project.
4340
d492e6d0
DM
43412013-07-27 David S. Miller <davem@davemloft.net>
4342
f1a7f492
DM
4343 * po/eo.po: Update Esperanto translation from translation project.
4344
90e62a4a
DM
4345 * po/vi.po: Update Vietnamese translation from translation project.
4346
d492e6d0
DM
4347 * po/de.po: Update German translation from translation project.
4348
d4baa62d
DM
43492013-07-26 David S. Miller <davem@davemloft.net>
4350
641aa7b4
DM
4351 * po/bg.po: Update Bulgarian translation from translation project.
4352
d4baa62d
DM
4353 * po/nl.po: Update Dutch translation from translation project.
4354 * po/pl.po: Update Polish translation from translation project.
4355 * po/ru.po: Update Russian translation from translation project.
4356
61a9dcb9
DM
43572013-07-24 David S. Miller <davem@davemloft.net>
4358
4359 * po/libc.pot: Update.
4360
7b1f8b58
AZ
43612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362
4363 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4364 variable page size.
4365 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4366 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4368
a8fc7a03
AK
43692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4370
4371 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4372
e4608715
CD
43732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4374 Andreas Schwab <schwab@suse.de>
4375 Roland McGrath <roland@hack.frob.com>
4376 Joseph Myers <joseph@codesourcery.com>
4377 Carlos O'Donell <carlos@redhat.com>
4378
4379 [BZ #15755]
4380 * config.h.in: Define HAVE_PT_CHOWN.
4381 * config.make.in (build-pt-chown): New variable.
4382 * configure.in (--enable-pt_chown): New configure option.
4383 * configure: Regenerate.
4384 * login/Makefile: Include Makeconfig. Build pt_chown only if
4385 build-pt-chown is enabled.
4386 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4387 pt_chown to fix pty ownership.
4388 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4389 CLOSE_ALL_FDS.
4390 * manual/install.texi (Configuring and compiling): Mention
4391 --enable-pt_chown. Add @findex for grantpt.
4392 * INSTALL: Regenerate.
4393
da2d62df
DM
43942013-07-20 David S. Miller <davem@davemloft.net>
4395
4396 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4397 difference between 32-bit and 64-bit.
4398
d7e06450
CD
43992013-07-15 Carlos O'Donell <carlos@redhat.com>
4400
4401 [BZ #15711]
4402 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4403 Avoid system header dependency with -ffreestanding.
4404 ($(objpfx)bits/syscall%d): Likewise.
4405
f959cfd7
DM
44062013-07-13 David S. Miller <davem@davemloft.net>
4407
4408 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4409 underflows from atanl/atan2l due to bug 15319.
4410 (casinh_test_data): Likewise.
4411
c61f8513
DM
44122013-07-07 David S. Miller <davem@davemloft.net>
4413
4414 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4415
72c90ed0
JA
44162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4417
4418 * sysdeps/i386/fpu/libm-test-ulps: Update.
4419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420
52dfbe13
SP
44212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 * configure.in (--enable-lock-elision): Fix message text.
4424 * INSTALL: Regenerate.
4425 * configure: Regenerate.
4426
3f169543
AZ
44272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4428
4429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4430
521c6785
AJ
44312013-07-03 Andreas Jaeger <aj@suse.de>
4432
4433 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4434 define.
4435 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4436 (ptrace_peeksiginfo_args): Add.
4437 (__ptrace_peeksiginfo_flags): Add.
4438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4441
d2cc15cb
AM
44422013-07-03 Allan McRae <allan@archlinux.org>
4443
4444 * sysdeps/i386/fpu/libm-test-ulps: Update.
4445
3aaeeca7
DM
44462013-07-02 David S. Miller <davem@davemloft.net>
4447
4448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4449
5314ed1a
MT
44502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4451
4452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4453
67338156
JM
44542013-07-02 Joseph Myers <joseph@codesourcery.com>
4455
4456 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458
1717da59
AK
44592013-07-02 Andi Kleen <ak@linux.intel.com>
4460
4461 * config.h.in (ENABLE_LOCK_ELISION): Add.
4462 * configure.in (--enable-lock-elision): Add option.
4463 * manual/install.texi: Document --enable lock elision.
4464 * configure: Regenerate
4465 * INSTALL: Regenerate.
4466
1c81621c
L
44672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4470 SSE4.2 strcasecmp for libc.a.
4471 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4472
77f01ab5
JM
44732013-07-02 Joseph Myers <joseph@codesourcery.com>
4474
4475 [BZ #13304]
4476 * soft-fp/op-common.h (_FP_FMA): New macro.
4477 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4478 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4479 (_FP_MUL_MEAT_1_imm): ... here.
4480 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4481 (_FP_MUL_MEAT_1_wide): ... here.
4482 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4483 (_FP_MUL_MEAT_1_hard): ... here.
4484 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4485 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4486 (_FP_MUL_MEAT_2_wide): ... here.
4487 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4488 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4489 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4490 (_FP_MUL_MEAT_2_gmp): ... here.
4491 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4492 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4493 (_FP_MUL_MEAT_4_wide): ... here.
4494 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4495 (_FP_MUL_MEAT_4_gmp): ... here.
4496 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4497 (_FP_WFRACBITS_DW_S): Likewise.
4498 (_FP_WFRACXBITS_DW_S): Likewise.
4499 (_FP_HIGHBIT_DW_S): Likewise.
4500 (FP_FMA_S): Likewise.
4501 (_FP_FRAC_HIGH_DW_S): Likewise.
4502 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4503 (_FP_WFRACBITS_DW_D): Likewise.
4504 (_FP_WFRACXBITS_DW_D): Likewise.
4505 (_FP_HIGHBIT_DW_D): Likewise.
4506 (FP_FMA_D): Likewise.
4507 (_FP_FRAC_HIGH_DW_D): Likewise.
4508 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4509 (_FP_WFRACBITS_DW_E): Likewise.
4510 (_FP_WFRACXBITS_DW_E): Likewise.
4511 (_FP_HIGHBIT_DW_E): Likewise.
4512 (FP_FMA_E): Likewise.
4513 (_FP_FRAC_HIGH_DW_E): Likewise.
4514 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4515 (_FP_WFRACBITS_DW_Q): Likewise.
4516 (_FP_WFRACXBITS_DW_Q): Likewise.
4517 (_FP_HIGHBIT_DW_Q): Likewise.
4518 (FP_FMA_Q): Likewise.
4519 (_FP_FRAC_HIGH_DW_Q): Likewise.
4520 * soft-fp/fmasf4.c: New file.
4521 * soft-fp/fmadf4.c: Likewise.
4522 * soft-fp/fmatf4.c: Likewise.
4523
6308fd9a
LD
45242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4525
4526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4527 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4528 Silvermont.
4529 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4530 macro.
4531 (index_Slow_SSE4_2): Likewise.
4532 (index_Prefer_PMINUB_for_stringop): Likewise.
4533 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4534 bit_Slow_SSE4_2 is set.
4535 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4536 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4537
89cd9569
RA
45382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4539
4540 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4541 rtld_global._dl_hwcap2.
4542 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4543 POWER8.
4544 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4545 POWER8 feature descriptions defined in _dl_hwcap2.
4546 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4547 string handling for POWER8 feature bits.
4548 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4549 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4550 _dl_powerpc_cap_flags.
4551 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4552 * sysdeps/powerpc/rtld-global-offsets.sym
4553 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4554 _dl_hwcap2 in the rtld_global_ro structure.
4555
1ae8bfe0
RA
45562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4557
4558 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4559 hardware capabilities in support of AT_HWCAP2.
4560 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4561 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4562 GLRO(dl_hwcap2).
4563 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4564 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4565 explicitly the unknown a_type display mechanism is used.
4566 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4567 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4568 struct member.
4569 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4570 to macro prototype for AT_HWCAP2 support.
4571 * sysdeps/i386/dl-procinfo.h: Likewise.
4572 * sysdeps/s390/dl-procinfo.h: Likewise.
4573 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4574 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4575 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4576 return -1 for unknown a_type display fallback.
4577 * sysdeps/sparc/dl-procinfo.h: Likewise.
4578 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4579 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4580
8fbec010
JM
45812013-06-28 Joseph Myers <joseph@codesourcery.com>
4582
4583 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4584 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4585
0432680e
PY
45862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4587
4588 [BZ #12492]
4589 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4590 mprotect making __stack_prot writable.
4591
ce61a2ad
NF
45922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4593 Joseph Myers <joseph@codesourcery.com>
4594
4595 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4596 as being properly aligned.
4597
f91f1c0f
MR
45982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4599
3d0f5d0c
MR
4600 * dlfcn/modstatic5.c: New file.
4601 * dlfcn/tststatic5.c: New file.
4602 * dlfcn/Makefile (tests): Add tststatic5.
4603 (tests-static): Likewise.
4604 (modules-names): Add modstatic5.
4605 (tststatic5-ENV): New variable.
4606 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4607
f91f1c0f
MR
4608 [BZ #15022]
4609 * elf/dl-support.c (_dl_main_map): New variable.
4610 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4611 (_dl_nns, _dl_load_adds): Set to 1.
4612 (_dl_initial_searchlist): Refer to _dl_main_map.
4613 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4614 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4615 call to _dl_get_origin.
4616 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4617 around call_map.
4618 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4619 * dlfcn/modstatic3.c: New file.
4620 * dlfcn/tststatic3.c: New file.
4621 * dlfcn/tststatic4.c: New file.
4622 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4623 (tests-static): Likewise.
4624 (modules-names): Add modstatic3.
4625 (tststatic3-ENV, tststatic4-ENV): New variables.
4626 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4627 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4628
cbe7d24b
JM
46292013-06-26 Joseph Myers <joseph@codesourcery.com>
4630
4631 * configure.in (CC): Require GCC version 4.4 or later.
4632 * configure: Regenerated.
4633 * manual/install.texi (Tools for Compilation): Update GCC version
4634 requirement.
4635 * INSTALL: Regenerated.
4636
11b8a0e1
LD
46372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4638
4639 [BZ #15674]
bb5bb87c
L
4640 * string/test-memcmp.c (check2): New.
4641 (main): Call check2.
4642
11b8a0e1
LD
4643 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4644
b0037103
MR
46452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4646
4647 [BZ #15022]
4648 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4649 over to...
4650 (dl_open_worker) [!SHARED]: ... here.
4651
c18c701d
RA
46522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4653
4654 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4655
1d17fa5f
RH
46562013-06-25 Richard Henderson <rth@redhat.com>
4657
4658 * locale/programs/locarchive.c: Include <libc-internal.h>
4659
8fcb833a
JM
46602013-06-25 Joseph Myers <joseph@codesourcery.com>
4661
4662 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4663 trailing whitespace removed.
4664
17db6e8d
MF
46652013-06-24 Mike Frysinger <vapier@gentoo.org>
4666
4667 [BZ #10283]
17db6e8d
MF
4668 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4669 * locale/programs/locarchive.c: Include libc-mmap.h.
4670 (prepare_address_space): Take two new outputs (the mmap base and len).
4671 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4672 values.
4673 (create_archive): Declare new mmap base and len values for
4674 prepare_address_space, and store the result in ah.
4675 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4676 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4677 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4678 Declare new mmap base and len values for
4679 prepare_address_space, and store the result in new_ah.
4680 (open_archive): Declare new mmap base and len values for
4681 prepare_address_space, and store the result in ah.
4682 (close_archive): If ah->mmap_base is not NULL, use that and
4683 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4684 * sysdeps/generic/libc-mmap.h: New file.
4685
d605071e
MF
46862013-06-24 Mike Frysinger <vapier@gentoo.org>
4687
4688 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4689 (ALIGN_UP): Likewise.
4690 (PTR_ALIGN_DOWN): Likewise.
4691 (PTR_ALIGN_UP): Likewise.
4692
2f063a6e
RA
46932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4694
4695 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4696 entry mapped to PPC_PLATFORM_POWER8.
4697 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4698 POWER8.
4699 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4700 (_dl_string_platform): Add case for exporting platform position for
4701 POWER8.
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4703 search path to sysdeps/powerpc/powerpc32/power8 directory.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4705 search path to sysdeps/powerpc/powerpc64/power8 directory.
4706 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4707 power7 directories.
4708 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4709 power7 directories.
4710
a31ee4b3
SP
47112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
a74ca98f
SP
4713 * INSTALL: Regenerate.
4714
a31ee4b3
SP
4715 * nscd/connections.c (nscd_init): Fix comment.
4716
695c378f
JM
47172013-06-22 Joseph Myers <joseph@codesourcery.com>
4718
d8412221
JM
4719 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4720
695c378f
JM
4721 [BZ #15667]
4722 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4723 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4724
d1d54715
MR
47252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4726
4727 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4728 DL_DST_REQ_STATIC.
4729 (DL_DST_REQ_STATIC): Remove macro.
4730
8fdda7af
JM
47312013-06-21 Joseph Myers <joseph@codesourcery.com>
4732
4733 [BZ #7006]
4734 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4735 with a shift of 0 bits.
4736
f3bc5e5a
MR
47372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4738
4739 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4740 $(tststatic-ENV).
4741
be09e8c9
KK
47422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4743
4744 [BZ #15655]
4745 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4746
85c2e611
AZ
47472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748
4749 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4750 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4751 accepts -fno-tree-loop-distribute-patterns.
4752 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4753 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4754 recursive call.
4755 * string/memset.c (memset): Likewise.
4756 * string/test-memmove.c (simple_memmove): Disable loop transformation
4757 to library calls.
4758 * string/test-memset.c (simple_memset): Likewise.
4759 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4760 * benchtests/bench-memset.c (simple_memset): Likewise.
4761 * configure: Regenerated.
4762
c91e0825
JM
47632013-06-20 Joseph Myers <joseph@codesourcery.com>
4764
b8c792af
JM
4765 * math/test-misc.c (main): Ignore fesetround failure when failures
4766 of subsequent rounding tests would be ignored.
4767
c91e0825
JM
4768 [BZ #15654]
4769 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4770 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4771 * math/fegetenv.c (__fegetenv): Return 0.
4772 * math/fegetexcept.c (fegetexcept): Return 0.
4773 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4774 FE_TONEAREST.
4775 * math/feholdexcpt.c (feholdexcept): Return 0.
4776 * math/fesetenv.c (__fesetenv): Return 0.
4777 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4778 argument FE_TONEAREST.
4779 * math/feupdateenv.c (__feupdateenv): Return 0.
4780 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4781
bfcacbde
RM
47822013-06-18 Roland McGrath <roland@hack.frob.com>
4783
4784 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4785 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4786 ($(objpfx)rtld-%.os rules): Use them.
4787
e55a9b25
AZ
47882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4789
4790 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4791 fields.
4792
346d65b3
RM
47932013-06-17 Roland McGrath <roland@hack.frob.com>
4794
12086fb4
RM
4795 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4796 length of target pattern, then descending length of dependency pattern.
4797 * configure.in (AWK): Require gawk 3.1.2 or newer.
4798 * manual/install.texi (Tools for Compilation): Say that we do.
4799 * configure: Regenerated.
4800
346d65b3
RM
4801 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4802 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4803 * scripts/sysd-rules.awk: ... this new script.
4804 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4805 than a glob-style pattern.
4806
1a846317
JM
48072013-06-17 Joseph Myers <joseph@codesourcery.com>
4808
4809 * math/test-misc.c (main): Do not treat incorrectly rounded
4810 conversions as failure unless ROUNDING_TESTS passes.
4811
8fc75e6f
JM
48122013-06-15 Joseph Myers <joseph@codesourcery.com>
4813
3711a167
JM
4814 [BZ #15631]
4815 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4816 restore exception state around main square root computation, then
4817 check for inexactness explicitly.
4818
8fc75e6f
JM
4819 * math/libm-test.inc (fma_test_data): Add another test.
4820
61dd6208
SP
48212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4822
adf23d2c
SP
4823 * manual/threads.texi (Non-POSIX Extensions): New document
4824 node. Document pthread_getattr_default_np and
4825 pthread_setattr_default_np.
4826
61dd6208
SP
4827 * Versions.def (libpthread): Add GLIBC_2.18.
4828 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4830 Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4832 Likewise.
4833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4834 Likewise.
4835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4836 Likewise.
4837 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4838 Likewise.
4839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4840 Likewise.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4842 Likewise.
4843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4844 Likewise.
4845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4846 Likewise.
4847
d086fc7b
LD
48482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4849
4850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4851 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4852
747ef469
SP
48532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4854 H.J. Lu <hjl.tools@gmail.com>
4855
4856 [BZ #15627]
4857 * sysdeps/x86_64/rtld-memset.c: Remove file.
4858 * sysdeps/x86_64/rtld-memset.S: New file.
4859
1b2feed2
JM
48602013-06-14 Joseph Myers <joseph@codesourcery.com>
4861
4862 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4863 (test_in_one_mode): Take arguments for whether the rounding mode
4864 is supported for each floating-point type.
4865 (do_test): Pass new arguments to test_in_one_mode using
4866 ROUNDING_TESTS.
4867
a58ad3f8
RM
48682013-06-13 Roland McGrath <roland@hack.frob.com>
4869
4870 * posix/tst-waitid.c (do_test): Distinguish different instances of
4871 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4872 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4873 before entering the kernel for waitpid.
4874
c204ab28
SP
48752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
4877 * NEWS: Fix note on clock function precision. Text by Roland
4878 McGrath.
4879
f4a29fba
RM
48802013-06-13 Roland McGrath <roland@hack.frob.com>
4881
4882 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4883 it into place only when and if the sanity check passes.
4884
1f24b9ad
JM
48852013-06-13 Joseph Myers <joseph@codesourcery.com>
4886
4887 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4888 output for whether conversion result is exact. Take argument
4889 indicating whether type is IBM long double.
4890 (round_for_all): Change need_exact field to ibm_ld.
4891 * stdlib/tst-strtod-round.c (struct exactness): New type.
4892 (struct test): Change bool ld_ok field to struct exactness exact.
4893 (TEST): Update all definitions for change to field.
4894 (tests): Regenerate array contents.
4895 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4896 field value. Check for IBM long double here.
4897 (do_test): Update calls to test_in_one_mode.
4898
58206c68
SP
48992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4900
4901 [BZ #12515]
4902 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4903 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4904
2d6f4c5b 49052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4906
4907 [BZ #15605]
4908 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4909 generated by the compiler on loop optimizations.
4910 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4911 general definitions.
4912
94f2c076
JM
49132013-06-12 Joseph Myers <joseph@codesourcery.com>
4914
4915 * math/bug-nextafter.c: Include <math-tests.h>.
4916 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4917 the relevant type.
4918 * math/bug-nexttoward.c: Include <math-tests.h>.
4919 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4920 the relevant type.
4921 * math/test-misc.c: Include <math-tests.h>.
4922 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4923 the relevant type.
4924
e0e50a0a
AJ
49252013-06-12 Andreas Jaeger <aj@suse.de>
4926
4927 * po/ia.po: Update Interlingua translation from translation
4928 project.
4929
25061094
SP
49302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4931
4932 * include/fenv.h: Include stdbool.h.
4933 (struct rm_ctx): New structure.
4934 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4935 Define macro.
4936 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4937 (SET_RESTORE_ROUNDF): Likewise.
4938 (SET_RESTORE_ROUNDL): Likewise.
4939 (SET_RESTORE_ROUND_NOEX): Likewise.
4940 (SET_RESTORE_ROUND_NOEXF): Likewise.
4941 (SET_RESTORE_ROUND_NOEXL): Likewise.
4942 (SET_RESTORE_ROUND_53BIT): Likewise.
4943 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4944 (libc_feresetround_noexf_ctx): Likewise.
4945 (libc_feresetround_noexl_ctx): Likewise.
4946 (libc_feholdsetround_53bit_ctx): Likewise.
4947 (libc_feresetround_53bit_ctx): Likewise.
4948 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4949 (libc_feholdexcept_setround_sse_ctx): New function.
4950 (libc_fesetenv_sse_ctx): Likewise.
4951 (libc_feupdateenv_sse_ctx): Likewise.
4952 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4953 (libc_feholdexcept_setround_387_ctx): Likewise.
4954 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4955 (libc_feholdsetround_387_prec_ctx): Likewise.
4956 (libc_feholdsetround_387_ctx): Likewise.
4957 (libc_feholdsetround_387_53bit_ctx): Likewise.
4958 (libc_feholdsetround_sse_ctx): Likewise.
4959 (libc_feresetround_sse_ctx): Likewise.
4960 (libc_feresetround_387_ctx): Likewise.
4961 (libc_feupdateenv_387_ctx): Likewise.
4962 (libc_feholdexcept_setroundf_ctx): Define macro.
4963 (libc_fesetenvf_ctx): Likewise.
4964 (libc_feupdateenvf_ctx): Likewise.
4965 (libc_feholdsetroundf_ctx): Likewise.
4966 (libc_feresetroundf_ctx): Likewise.
4967 (libc_feholdexcept_setround_ctx): Likewise.
4968 (libc_fesetenv_ctx): Likewise.
4969 (libc_feupdateenv_ctx): Likewise.
4970 (libc_feholdsetround_ctx): Likewise.
4971 (libc_feresetround_ctx): Likewise.
4972 (libc_feholdexcept_setroundl_ctx): Likewise.
4973 (libc_feupdateenvl_ctx): Likewise.
4974 (libc_feholdsetroundl_ctx): Likewise.
4975 (libc_feresetroundl_ctx): Likewise.
4976 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4977 (libc_feresetround_53bit_ctx): Likewise.
4978
59b30555
SP
49792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4980
4981 * locale/iso-639.def: Convert to UTF-8.
4982
f1d73d30
JM
49832013-06-11 Joseph Myers <joseph@codesourcery.com>
4984
4985 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4986 (EXCEPTION_TESTS_double): Likewise.
4987 (EXCEPTION_TESTS_long_double): Likewise.
4988 (EXCEPTION_TESTS): Likewise.
4989 * math/libm-test.inc (test_exceptions): Only test exceptions if
4990 EXCEPTION_TESTS (FLOAT).
4991
94aca5e7
SP
49922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
4994 * benchtests/Makefile (string-bench): Add strcpy_chk and
4995 stpcpy_chk.
4996 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4997 * benchtests/bench-stpcpy_chk.c: New file.
4998 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4999 * benchtests/bench-strcpy_chk.c: New file.
5000 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5001 code.
5002 (do_test): Likewise.
5003
fac0c5f2
RA
50042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5005
5006 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5007 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5008 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5009 with tabs where appropriate.
5010 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5011 dl-procinfo.h.
5012 [PPC_PLATFORM_PPC440]: Likewise.
5013 [PPC_PLATFORM_PPC464]: Likewise.
5014 [PPC_PLATFORM_PPC476]: Likewise.
5015 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5016 ppc464, and ppc476 platform strings merging from ports/
5017 dl-procinfo.h.
5018
f22bc486
AS
50192013-06-11 Andreas Schwab <schwab@suse.de>
5020
5021 [BZ #14991]
5022 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5023 (from_ucs4_idx): Regenerate.
5024 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5025 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5026 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5027 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5028 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5029 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5030 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5031 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5032 from FROM_LOOP and TO_LOOP specific macros.
5033 (BODY): Handle combining characters.
5034 * iconvdata/BIG5HKSCS.irreversible: Update.
5035 * iconvdata/BIG5HKSCS.precomposed: New file.
5036 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5037 characters.
5038 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5039
c1f75dc3
SP
50402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5041
4eacded2
SP
5042 * include/sys/time.h: Fix indentation and add copyright header.
5043
fec799f8
SP
5044 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5045 (do_test): Likewise.
5046 * string/test-memchr.c (do_one_test): Likewise.
5047 (do_test): Likewise.
5048 * string/test-memcmp.c (do_one_test): Likewise.
5049 (do_test): Likewise.
5050 * string/test-memcpy.c (do_one_test): Likewise.
5051 (do_test): Likewise.
5052 * string/test-memmem.c (do_one_test): Likewise.
5053 (do_test): Likewise.
5054 (do_random_tests): Likewise.
5055 * string/test-memmove.c (do_one_test): Likewise.
5056 (do_test): Likewise.
5057 * string/test-memset.c (do_one_test): Likewise.
5058 (do_test): Likewise.
5059 * string/test-rawmemchr.c (do_one_test): Likewise.
5060 (do_test): Likewise.
5061 * string/test-strcasecmp.c (do_one_test): Likewise.
5062 (do_test): Likewise.
5063 * string/test-strcasestr.c (do_one_test): Likewise.
5064 (do_test): Likewise.
5065 * string/test-strcat.c (do_one_test): Likewise.
5066 (do_test): Likewise.
5067 * string/test-strchr.c (do_one_test): Likewise.
5068 (do_test): Likewise.
5069 * string/test-strcmp.c (do_one_test): Likewise.
5070 (do_test): Likewise.
5071 * string/test-strcpy.c (do_one_test): Likewise.
5072 (do_test): Likewise.
5073 * string/test-string.h: Likewise.
5074 (test_init): Likewise.
5075 * string/test-strlen.c (do_one_test): Likewise.
5076 (do_test): Likewise.
5077 * string/test-strncasecmp.c (do_one_test): Likewise.
5078 (do_test): Likewise.
5079 * string/test-strncat.c (do_one_test): Likewise.
5080 (do_test): Likewise.
5081 * string/test-strncmp.c (do_one_test): Likewise.
5082 (do_test_limit): Likewise.
5083 (do_test): Likewise.
5084 * string/test-strncpy.c (do_one_test): Likewise.
5085 (do_test): Likewise.
5086 * string/test-strnlen.c (do_one_test): Likewise.
5087 (do_test): Likewise.
5088 * string/test-strpbrk.c (do_one_test): Likewise.
5089 (do_test): Likewise.
5090 * string/test-strrchr.c (do_one_test): Likewise.
5091 (do_test): Likewise.
5092 * string/test-strspn.c (do_one_test): Likewise.
5093 (do_test): Likewise.
5094 * string/test-strstr.c (do_one_test): Likewise.
5095 (do_test): Likewise.
5096
97020474
SP
5097 * benchtests/Makefile (string-bench): Add string benchmarks.
5098 * benchtests/bench-bcopy-ifunc.c: New file.
5099 * benchtests/bench-bcopy.c: New file.
5100 * benchtests/bench-bzero-ifunc.c: New file.
5101 * benchtests/bench-bzero.c: New file.
5102 * benchtests/bench-memccpy-ifunc.c: New file.
5103 * benchtests/bench-memccpy.c: New file.
5104 * benchtests/bench-memchr-ifunc.c: New file.
5105 * benchtests/bench-memchr.c: New file.
5106 * benchtests/bench-memcmp-ifunc.c: New file.
5107 * benchtests/bench-memcmp.c: New file.
5108 * benchtests/bench-memmem-ifunc.c: New file.
5109 * benchtests/bench-memmem.c: New file.
5110 * benchtests/bench-memmove-ifunc.c: New file.
5111 * benchtests/bench-memmove.c: New file.
5112 * benchtests/bench-mempcpy-ifunc.c: New file.
5113 * benchtests/bench-mempcpy.c: New file.
5114 * benchtests/bench-memset-ifunc.c: New file.
5115 * benchtests/bench-memset.c: New file.
5116 * benchtests/bench-rawmemchr-ifunc.c: New file.
5117 * benchtests/bench-rawmemchr.c: New file.
5118 * benchtests/bench-stpcpy-ifunc.c: New file.
5119 * benchtests/bench-stpcpy.c: New file.
5120 * benchtests/bench-stpncpy-ifunc.c: New file.
5121 * benchtests/bench-stpncpy.c: New file.
5122 * benchtests/bench-strcasecmp-ifunc.c: New file.
5123 * benchtests/bench-strcasecmp.c: New file.
5124 * benchtests/bench-strcasestr-ifunc.c: New file.
5125 * benchtests/bench-strcasestr.c: New file.
5126 * benchtests/bench-strcat-ifunc.c: New file.
5127 * benchtests/bench-strcat.c: New file.
5128 * benchtests/bench-strchr-ifunc.c: New file.
5129 * benchtests/bench-strchr.c: New file.
5130 * benchtests/bench-strchrnul-ifunc.c: New file.
5131 * benchtests/bench-strchrnul.c: New file.
5132 * benchtests/bench-strcmp-ifunc.c: New file.
5133 * benchtests/bench-strcmp.c: New file.
5134 * benchtests/bench-strcpy-ifunc.c: New file.
5135 * benchtests/bench-strcpy.c: New file.
5136 * benchtests/bench-strcspn-ifunc.c: New file.
5137 * benchtests/bench-strcspn.c: New file.
5138 * benchtests/bench-strlen-ifunc.c: New file.
5139 * benchtests/bench-strlen.c: New file.
5140 * benchtests/bench-strncasecmp-ifunc.c: New file.
5141 * benchtests/bench-strncasecmp.c: New file.
5142 * benchtests/bench-strncat-ifunc.c: New file.
5143 * benchtests/bench-strncat.c: New file.
5144 * benchtests/bench-strncmp-ifunc.c: New file.
5145 * benchtests/bench-strncmp.c: New file.
5146 * benchtests/bench-strncpy-ifunc.c: New file.
5147 * benchtests/bench-strncpy.c: New file.
5148 * benchtests/bench-strnlen-ifunc.c: New file.
5149 * benchtests/bench-strnlen.c: New file.
5150 * benchtests/bench-strpbrk-ifunc.c: New file.
5151 * benchtests/bench-strpbrk.c: New file.
5152 * benchtests/bench-strrchr-ifunc.c: New file.
5153 * benchtests/bench-strrchr.c: New file.
5154 * benchtests/bench-strspn-ifunc.c: New file.
5155 * benchtests/bench-strspn.c: New file.
5156 * benchtests/bench-strstr-ifunc.c: New file.
5157 * benchtests/bench-strstr.c: New file.
5158
c1f75dc3
SP
5159 * benchtests/Makefile: Disable parallel execution of targets.
5160 (string-bench): Add memcpy.
5161 (benchset): New variable to store a list of benchmark sets.
5162 (bench-func): Renamed from bench.
5163 (bench-set): New target.
5164 (bench): Depend on bench-func and bench-set.
5165 * benchtests/README: Add section on benchmark sets.
5166 * benchtests/bench-memcpy-ifunc.c: New file.
5167 * benchtests/bench-memcpy.c: New file.
5168 * benchtests/bench-string.h: New file.
5169
50fd745b
AS
51702013-06-11 Andreas Schwab <schwab@suse.de>
5171
5172 [BZ #15577]
5173 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5174 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5175 values in the triple.
5176 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5177 terminator in the group key.
5178
3ee7e9fe
AJ
51792013-06-11 Andreas Jaeger <aj@suse.de>
5180
5181 * po/zh_TW.po: Update Chinese (traditional) translation from
5182 translation project.
5183
89fb6835
SP
51842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5185
5186 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5187 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5188 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5189 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5190 (clock_getcpuclockid): Likewise.
5191 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5192 Add weak_alias and libc_hidden_def.
5193 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5194 * rt/clock_gettime.c (clock_gettime): Rename to
5195 __clock_gettime. Add weak_alias and libc_hidden_def.
5196 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5197 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5198 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5199 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5200 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5201 Likewise.
5202 * rt/clock_settime.c (clock_settime): Rename to
5203 __clock_settime. Add weak_alias and libc_hidden_def.
5204 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5205
0efa6f8b
JM
52062013-06-10 Joseph Myers <joseph@codesourcery.com>
5207
b8c61b4b
JM
5208 * mach/err_boot.sub: Remove trailing whitespace.
5209 * mach/err_ipc.sub: Likewise.
5210 * mach/err_mach.sub: Likewise.
5211
0efa6f8b
JM
5212 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5213 (ROUNDING_TESTS_double): Likewise.
5214 (ROUNDING_TESTS_long_double): Likewise.
5215 (ROUNDING_TESTS): Likewise.
5216 * math/libm-test.inc: Include <math-tests.h>.
5217 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5218 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5219 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5220 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5221
50b818bf
SP
52222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5223
5224 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5225 of assigning.
5226
60d2f8f3
JM
52272013-06-08 Joseph Myers <joseph@codesourcery.com>
5228
4902d2c3
JM
5229 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5230 otherwise empty TRANS lines.
5231 * sysdeps/gnu/errlist.c: Regenerated.
5232
60d2f8f3
JM
5233 * catgets/gencat.c (error_print): Use (void) in function
5234 definition.
5235 * crypt/crypt_util.c (__init_des): Likewise.
5236 * crypt/speeds.c (Stop): Likewise.
5237 (main): Likewise.
5238 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5239 * inet/ruserpass.c (token): Likewise.
5240 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5241 * intl/localealias.c (extend_alias_table): Likewise.
5242 * intl/plural-exp.c (init_germanic_plural): Likewise.
5243 * libio/fcloseall.c (__fcloseall): Likewise.
5244 * libio/genops.c (_IO_flush_all): Likewise.
5245 (_IO_flush_all_linebuffered): Likewise.
5246 (_IO_cleanup): Likewise.
5247 (_IO_iter_begin): Likewise.
5248 (_IO_iter_end): Likewise.
5249 (_IO_list_lock): Likewise.
5250 (_IO_list_unlock): Likewise.
5251 (_IO_list_resetlock): Likewise.
5252 * libio/getchar.c (getchar): Likewise.
5253 * libio/getchar_u.c (getchar_unlocked): Likewise.
5254 * libio/getwchar.c (getwchar): Likewise.
5255 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5256 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5257 * login/getpt.c (__getpt): Likewise.
5258 * login/tst-utmp.c (main): Likewise.
5259 * malloc/hooks.c (__malloc_check_init): Likewise.
5260 * malloc/malloc.c (__malloc_stats): Likewise.
5261 * malloc/mtrace.c (tr_break): Likewise.
5262 (mtrace): Likewise.
5263 (muntrace): Likewise.
5264 * misc/fstab.c (endfsent): Likewise.
5265 * misc/getclktck.c (__getclktck): Likewise.
5266 * misc/getdtsz.c (__getdtablesize): Likewise.
5267 * misc/gethostid.c (gethostid): Likewise.
5268 * misc/getpagesize.c (__getpagesize): Likewise.
5269 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5270 (__get_nprocs): Likewise.
5271 (__get_phys_pages): Likewise.
5272 (__get_avphys_pages): Likewise.
5273 * misc/getttyent.c (getttyent): Likewise.
5274 (setttyent): Likewise.
5275 (endttyent): Likewise.
5276 * misc/getusershell.c (getusershell): Likewise.
5277 (endusershell): Likewise.
5278 (setusershell): Likewise.
5279 (initshells): Likewise.
5280 * misc/hsearch.c (__hdestroy): Likewise.
5281 * misc/sync.c (sync): Likewise.
5282 * misc/syslog.c (closelog_internal): Likewise.
5283 (closelog): Likewise.
5284 * misc/ttyslot.c (ttyslot): Likewise.
5285 * misc/vhangup.c (vhangup): Likewise.
5286 * posix/fork.c (__fork): Likewise.
5287 * posix/getegid.c (__getegid): Likewise.
5288 * posix/geteuid.c (__geteuid): Likewise.
5289 * posix/getgid.c (__getgid): Likewise.
5290 * posix/getpid.c (__getpid): Likewise.
5291 * posix/getppid.c (__getppid): Likewise.
5292 * posix/getuid.c (__getuid): Likewise.
5293 * posix/pause.c (pause): Likewise.
5294 * posix/setpgrp.c (setpgrp): Likewise.
5295 * posix/setsid.c (__setsid): Likewise.
5296 * posix/test-vfork.c (noop): Likewise.
5297 * resolv/gethnamaddr.c (_endhtent): Likewise.
5298 (_gethtent): Likewise.
5299 (ht_endhostent): Likewise.
5300 (gethostent): Likewise.
5301 (dns_service): Likewise.
5302 * stdlib/drand48.c (drand48): Likewise.
5303 * stdlib/lrand48.c (lrand48): Likewise.
5304 * stdlib/mrand48.c (mrand48): Likewise.
5305 * stdlib/rand.c (rand): Likewise.
5306 * stdlib/random.c (__random): Likewise.
5307 * stdlib/setenv.c (clearenv): Likewise.
5308 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5309 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5310 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5311 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5312 (__get_nprocs): Likewise.
5313 (__get_phys_pages): Likewise.
5314 (__get_avphys_pages): Likewise.
5315 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5316 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5317 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5318 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5319 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5320 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5321 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5322 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5323 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5324 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5325 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5326 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5327 * sysdeps/posix/clock.c (clock): Likewise.
5328 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5329 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5330 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5331 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5332 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5334 (__get_nprocs_conf): Likewise.
5335 (__get_phys_pages): Likewise.
5336 (__get_avphys_pages): Likewise.
5337 * time/clock.c (clock): Likewise.
5338 * time/tzset.c (__tzname_max): Likewise.
5339
2e09a79a
JM
53402013-06-07 Joseph Myers <joseph@codesourcery.com>
5341
5342 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5343 (__bswap_32): Do not use "register".
5344 * crypt/crypt.c (_ufc_doit_r): Likewise.
5345 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5346 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5347 * gmon/gmon.c (__monstartup): Likewise.
5348 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5349 * hurd/hurdmalloc.c (more_memory): Likewise.
5350 (malloc): Likewise.
5351 (free): Likewise.
5352 (realloc): Likewise.
5353 (malloc_fork_prepare): Likewise.
5354 (malloc_fork_parent): Likewise.
5355 (malloc_fork_child): Likewise.
5356 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5357 (_svcauth_des): Likewise.
5358 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5359 * inet/inet_net.c (inet_network): Likewise.
5360 * inet/inet_netof.c (inet_netof): Likewise.
5361 * inet/rcmd.c (__validuser2_sa): Likewise.
5362 * io/fts.c (fts_open): Likewise.
5363 (fts_load): Likewise.
5364 (fts_close): Likewise.
5365 (fts_read): Likewise.
5366 (fts_children): Likewise.
5367 (fts_build): Likewise.
5368 (fts_stat): Likewise.
5369 (fts_sort): Likewise.
5370 (fts_alloc): Likewise.
5371 (fts_lfree): Likewise.
5372 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5373 (_IO_file_xsgetn): Likewise.
5374 (_IO_file_xsgetn_mmap): Likewise.
5375 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5376 (_IO_cookie_write): Likewise.
5377 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5378 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5379 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5380 * malloc/obstack.c (_obstack_begin): Likewise.
5381 (_obstack_begin_1): Likewise.
5382 (_obstack_newchunk): Likewise.
5383 (_obstack_allocated_p): Likewise.
5384 (obstack_free): Likewise.
5385 (_obstack_memory_used): Likewise.
5386 * misc/getttyent.c (getttynam): Likewise.
5387 (getttyent): Likewise.
5388 (skip): Likewise.
5389 (value): Likewise.
5390 * misc/getusershell.c (initshells): Likewise.
5391 * misc/syslog.c (__vsyslog_chk): Likewise.
5392 * misc/ttyslot.c (ttyslot): Likewise.
5393 * nis/nis_hash.c (__nis_hash): Likewise.
5394 * posix/fnmatch_loop.c (FCT): Likewise.
5395 * posix/getconf.c (print_all): Likewise.
5396 (main): Likewise.
5397 * posix/getopt.c (exchange): Likewise.
5398 * posix/glob.c (globfree): Likewise.
5399 (prefix_array): Likewise.
5400 (__glob_pattern_type): Likewise.
5401 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5402 (NS_GET32): Likewise.
5403 (NS_PUT16): Likewise.
5404 (NS_PUT32): Likewise.
5405 * resolv/gethnamaddr.c (getanswer): Likewise.
5406 (gethostbyname2): Likewise.
5407 (gethostbyaddr): Likewise.
5408 (_gethtent): Likewise.
5409 (_gethtbyname2): Likewise.
5410 (_gethtbyaddr): Likewise.
5411 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5412 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5413 * resolv/res_init.c (__res_vinit): Likewise.
5414 (net_mask): Likewise.
5415 * resolv/res_mkquery.c (outchar): Likewise.
5416 (PRINT): Likewise.
5417 * stdio-common/printf_fp.c (outchar): Likewise.
5418 (PRINT): Likewise.
5419 * stdio-common/printf_fphex.c (outchar): Likewise.
5420 (PRINT): Likewise.
5421 * stdio-common/printf_size.c (outchar): Likewise.
5422 (PRINT): Likewise.
5423 * stdio-common/test_rdwr.c (main): Likewise.
5424 * stdio-common/tfformat.c (matches): Likewise.
5425 * stdio-common/vfprintf.c (outchar): Likewise.
5426 (printf_unknown): Likewise.
5427 (buffered_vfprintf): Likewise.
5428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5429 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5430 (ReadFile): Likewise.
5431 * stdlib/qsort.c (SWAP): Likewise.
5432 (_quicksort): Likewise.
5433 * stdlib/setenv.c (__add_to_environ): Likewise.
5434 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5435 * stdlib/strtol_l.c (__strtol_l): Likewise.
5436 * stdlib/tst-strtod.c (main): Likewise.
5437 * stdlib/tst-strtol.c (main): Likewise.
5438 * stdlib/tst-strtoll.c (main): Likewise.
5439 * string/bits/string2.h (__strcmp_cc): Likewise.
5440 (__strcmp_cg): Likewise.
5441 (__strcspn_c1): Likewise.
5442 (__strcspn_c2): Likewise.
5443 (__strcspn_c3): Likewise.
5444 (__strspn_c1): Likewise.
5445 (__strspn_c2): Likewise.
5446 (__strspn_c3): Likewise.
5447 (__strsep_1c): Likewise.
5448 (__strsep_2c): Likewise.
5449 (__strsep_3c): Likewise.
5450 * string/memccpy.c (__memccpy): Likewise.
5451 * string/stpcpy.c (__stpcpy): Likewise.
5452 * string/strcmp.c (strcmp): Likewise.
5453 * string/strrchr.c (strrchr): Likewise.
5454 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5455 Likewise.
5456 * sysdeps/mach/hurd/getcwd.c
5457 (_hurd_canonicalize_directory_name_internal): Likewise.
5458 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5459 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5460 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5461 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5462 Likewise, in both definitions.
5463 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5464 definitions.
5465 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5466 64] (__bswap_64): Likewise.
5467 * time/test_time.c (main): Likewise.
5468 * time/tzfile.c (__tzfile_read): Likewise.
5469 (__tzfile_compute): Likewise.
5470 * time/tzset.c (__tzset_parse_tz): Likewise.
5471 (tzset_internal): Likewise.
5472 (compute_change): Likewise.
5473 * wcsmbs/wcscat.c (__wcscat): Likewise.
5474 * wcsmbs/wcschr.c (wcschr): Likewise.
5475 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5476 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5477 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5478 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5479 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5480 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5481 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5482 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5483 * wcsmbs/wmemset.c (wmemset): Likewise.
5484
9e54314b
JM
54852013-06-06 Joseph Myers <joseph@codesourcery.com>
5486
5487 * scripts/config.guess: Update to version 2013-05-16.
5488 * scripts/config.sub: Update to version 2013-04-24.
5489 * scripts/install-sh: Update to version 2011-11-20.07.
5490 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5491 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5492
350635a5
OB
54932013-06-06 Ondřej Bílka <neleai@seznam.cz>
5494
5495 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5496 * elf/sln.c: Likewise.
5497 * hurd/hurd/ioctl.h: Likewise.
5498 * hurd/hurdmalloc.c: Likewise.
5499 * hurd/xattr.c: Likewise.
5500 * include/shlib-compat.h: Likewise.
5501 * inet/ruserpass.c: Likewise.
5502 * libio/iofgets_u.c: Likewise.
5503 * libio/iofgetws_u.c: Likewise.
5504 * locale/programs/ld-identification.c: Likewise.
5505 * locale/programs/ld-time.c: Likewise.
5506 * mach/msg-destroy.c: Likewise.
5507 * nss/nss_files/files-netgrp.c: Likewise.
5508 * resolv/res_data.c: Likewise.
5509 * soft-fp/op-1.h: Likewise.
5510 * soft-fp/op-2.h: Likewise.
5511 * soft-fp/op-4.h: Likewise.
5512 * soft-fp/op-common.h: Likewise.
5513 * stdio-common/printf_fphex.c: Likewise.
5514 * stdlib/strtod_l.c: Likewise.
5515 * sunrpc/rpc/clnt.h: Likewise.
5516 * sysdeps/generic/framestate.c: Likewise.
5517 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5518 * sysdeps/i386/bsd-setjmp.S: Likewise.
5519 * sysdeps/i386/__longjmp.S: Likewise.
5520 * sysdeps/i386/setjmp.S: Likewise.
5521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5522 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5539 * sysdeps/ieee754/support.c: Likewise.
5540 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5541 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5542 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5543 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5544 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5545 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5546 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5547 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5548 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5549 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5550 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5551 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5552 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5553 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5554 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5555 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5556 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5558
44a988af
OB
55592013-06-05 Ondřej Bílka <neleai@seznam.cz>
5560
25506f09 5561 * posix/transbug.c: Remove executable mode.
44a988af 5562
9c84384c
JM
55632013-06-05 Joseph Myers <joseph@codesourcery.com>
5564
5565 * crypt/speeds.c: Remove trailing whitespace.
5566 * dlfcn/default.c: Likewise.
5567 * elf/ifuncdep2.c: Likewise.
5568 * elf/ifuncmain1.c: Likewise.
5569 * elf/ifuncmain1vis.c: Likewise.
5570 * elf/testobj.h: Likewise.
5571 * elf/tst-stackguard1.c: Likewise.
5572 * gmon/sys/gmon.h: Likewise.
5573 * hurd/hurdmsg.c: Likewise.
5574 * hurd/new-fd.c: Likewise.
5575 * hurd/ports-get.c: Likewise.
5576 * iconvdata/ibm1008_420.c: Likewise.
5577 * inet/tst-getni1.c: Likewise.
5578 * inet/tst-getni2.c: Likewise.
5579 * libio/ioungetc.c: Likewise.
5580 * libio/wfiledoalloc.c: Likewise.
5581 * manual/libm-err-tab.pl: Likewise.
5582 * math/w_dremf.c: Likewise.
5583 * misc/ftruncate.c: Likewise.
5584 * posix/bug-glob2.c: Likewise.
5585 * posix/tst-pcre.c: Likewise.
5586 * posix/wait4.c: Likewise.
5587 * resolv/README: Likewise.
5588 * resolv/res_debug.h: Likewise.
5589 * resolv/tst-inet_ntop.c: Likewise.
5590 * setjmp/bug269-setjmp.c: Likewise.
5591 * soft-fp/extended.h: Likewise.
5592 * soft-fp/op-1.h: Likewise.
5593 * soft-fp/op-2.h: Likewise.
5594 * soft-fp/op-4.h: Likewise.
5595 * soft-fp/op-8.h: Likewise.
5596 * soft-fp/testit.c: Likewise.
5597 * stdio-common/bug16.c: Likewise.
5598 * stdlib/random.c: Likewise.
5599 * sunrpc/rpcsvc/rquota.x: Likewise.
5600 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5601 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5603 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5604 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5605 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5606 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5627 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5629 * sysdeps/ieee754/s_lib_version.c: Likewise.
5630 * sysdeps/mach/hurd/check_fds.c: Likewise.
5631 * sysdeps/mach/hurd/getsockname.c: Likewise.
5632 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5633 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5634 * sysdeps/powerpc/bits/link.h: Likewise.
5635 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5636 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5637 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5638 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5639 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5640 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5641 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5642 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5643 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5644 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5645 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5646 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5647 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5648 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5649 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5650 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5651 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5653 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5654 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5656 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5657 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5658 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5659 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5660 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5662 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5663 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5664 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5665 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5666 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5667 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5668 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5669 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5670 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5671 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5672 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5673 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5674 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5675 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5676 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5677 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5678 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5679 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5680 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5681 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5682 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5683 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5684 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5687 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5688 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5689 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5690 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5691 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5694 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5695 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5696 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5697 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5698 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5699 * sysdeps/powerpc/sysdep.h: Likewise.
5700 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5701 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5702 * sysdeps/sh/dl-trampoline.S: Likewise.
5703 * sysdeps/sh/memset.S: Likewise.
5704 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5705 * sysdeps/sh/strlen.S: Likewise.
5706 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5707 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5708 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5709 * sysdeps/sparc/sparc32/rem.S: Likewise.
5710 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5711 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5712 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5713 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5714 * sysdeps/sparc/sparc32/urem.S: Likewise.
5715 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5716 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5717 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5718 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5720 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5721 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5722 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5723 * sysdeps/unix/bsd/times.c: Likewise.
5724 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5725 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5731 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5732 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5733 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5734 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5735 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5736 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5738 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5739 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5740 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5741 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5742 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5743 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5744 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5745 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5746 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5747 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5748 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5749 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5752 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5753 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5754 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5755 * sysdeps/x86_64/strcspn.S: Likewise.
5756
869378a5
RA
57572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5758
5759 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5760 generated file. Regenerate properly from gen-translit.pl.
5761 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5762 locale/C-translit.h.
5763
840e2943
AS
57642013-06-05 Andreas Schwab <schwab@suse.de>
5765
5766 [BZ #15100]
5767 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5768 week as 6 instead of -1.
5769 * time/tst-strptime.c (day_tests): Add test case.
5770
4c60cb0c
SP
57712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 * sysdeps/generic/math_private.h
5774 (libc_feholdexcept_setround_53bit): Replace with
5775 libc_feholdsetround_53bit.
5776 (libc_feupdateenv_53bit): Replace with
5777 libc_feresetround_53bit.
5778 (SET_RESTORE_ROUND_53BIT): Adjust.
5779
d180203e
SP
57802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5781
96df079a
SP
5782 * string/test-strchrnul.c: Add copyright header.
5783
d180203e
SP
5784 * posix/tst-getaddrinfo4.c: Increase test timeout.
5785
8b0ccb2d
CD
57862013-06-03 Carlos O'Donell <carlos@redhat.com>
5787
5788 [BZ #15536]
5789 * math/libm-test.inc (MAX_EXP): Remove
5790 (MIN_EXP): Define.
5791 (ulp): Use MIN_EXP - MANT_DIG.
5792 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5793
3b3c4d40
CD
57942013-05-31 Carlos O'Donell <carlos@redhat.com>
5795
5796 * po/be.po: Revert last change.
5797 * po/zh_CN.po: Likewise.
5798 * po/header.pot: Likewise.
5799
fab7ce3f
JM
58002013-05-31 Joseph Myers <joseph@codesourcery.com>
5801
5802 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5803 link-libc-deps to empty as target-specific variable.
5804 * Makerules (link-libc-args): New variable.
5805 (libc-for-link): Likewise.
5806 (link-libc-deps): Likewise.
5807 (lib%.so): Depend on $(link-libc-deps). Link with
5808 $(link-libc-args).
5809 (build-module): Link with $(link-libc-args).
5810 (build-module-asneeded): Likewise.
5811 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5812 list of objects.
5813 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5814 target-specific variable.
5815 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5816 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5817 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5818 libc.
5819 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5820 libc and ld.so.
5821 ($(objpfx)libpcprofile.so): Likewise.
5822 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5823 libc_nonshared.a.
5824 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5825 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5826 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5827 $(link-libc-deps).
5828 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5829 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5830 * login/Makefile ($(objpfx)libutil.so): Likewise.
5831 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5832 * math/Makefile ($(objpfx)libm.so): Likewise.
5833 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5834 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5835 variable instead of depending directly on libc.
5836 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5837 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5838 $(link-libc-deps).
5839 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5840 libc.
5841 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5842 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5843 ($(objpfx)libanl.so): Likewise.
5844 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5845 ld.so.
5846 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5847 $(link-libc-deps).
5848 * sysdeps/i386/fpu/Makefile: Remove file.
5849 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5850 ($(objpfx)libm.so): Remove dependency on ld.so.
5851
eca5920c
PF
58522013-05-30 Patsy Franklin <pfrankli@redhat.com>
5853
5854 [BZ # 15553]
5855 * nis/yp_xdr.c (XDRMAXNAME): Define.
5856 (XDRMAXRECORD): Define.
5857 (xdr_domainname): Use XDRMAXNAME.
5858 (xdr_mapname): Likewise.
5859 (xdr_peername): Likewise.
5860 (xdr_keydat): Use XDRMAXRECORD.
5861 (xdr_valdat): Likewise.
5862
58632013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5864
5865 [BZ #14256]
5866 * manual/errno.texi (ESTALE): Update to account for more than
5867 just NFS file systems.
5868 * sysdeps/gnu/errlist.c: Regenerated.
5869
b9375348
SP
58702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 [BZ #15465]
5873 * elf/Makefile (tests): Add tst-null-argv.
5874 (modules-names): Add tst-null-argv-lib.
5875 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5876 (tst-null-argv-ENV): Set environment for tst-null-argv.
5877 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5878 (RTLD_PROGNAME): New macro.
5879 * elf/tst-null-argv.c: New test case.
5880 * elf/tst-null-argv-lib.c: Library for test case.
5881 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5882 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5883 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5884 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5885 * elf/dl-init.c (call_init): Likewise.
5886 (_dl_init): Likewise.
5887 * elf/dl-load.c (print_search_path): Likewise.
5888 (_dl_map_object): Likewise.
5889 * elf/dl-lookup.c (do_lookup_x): Likewise.
5890 (add_dependency): Likewise.
5891 (_dl_lookup_symbol_x): Likewise.
5892 (_dl_debug_bindings): Likewise.
5893 * elf/dl-open.c (_dl_show_scope): Likewise.
5894 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5895 * elf/dl-version.c (match_symbol): Likewise.
5896 (_dl_check_map_versions): Likewise.
5897 * elf/rtld.c (dl_main): Likewise.
5898 (print_unresolved): Use RTLD_PROGNAME.
5899 (print_missing_version): Likewise.
5900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5901 (elf_machine_rela): Likewise.
5902 * sysdeps/powerpc/powerpc32/dl-machine.c
5903 (__process_machine_rela): Likewise.
5904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5905 Likewise.
5906 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5907 Likewise.
5908 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5909 Likewise.
5910 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5912 Likewise.
5913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5914 Likewise.
5915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5916
8a9f20c8
CD
59172013-05-28 Carlos O'Donell <carlos@redhat.com>
5918
5919 * po/be.po: Add descriptive title.
5920 * po/zh_CN.po: Likewise.
5921 * po/header.pot: Likewise.
5922
0e60d68e
MF
59232013-05-28 Mike Frysinger <vapier@gentoo.org>
5924
5925 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5926 error message.
5927 (enlarge_archive): Likewise.
5928
56b672e9
BN
59292013-05-28 Ben North <ben@redfrontdoor.org>
5930
5931 * manual/arith.texi (frexp): It is the magnitude of the return
5932 value which lies in [0.5, 1), not the return value itself.
5933
5e056687
AZ
59342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5937
2b66ef5d
TS
59382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5939
528c2405
TS
5940 * stdio-common/bug26.c (main): Correct fscanf template.
5941
07b4c13d
TS
5942 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5943 declare _dl_skip_args.
5944
ec9dd97c
TS
5945 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5946 Don't declare.
5947
2b66ef5d
TS
5948 * manual/platform.texi: Add missing @end deftypefun.
5949
4f8dfe27
JM
59502013-05-24 Joseph Myers <joseph@codesourcery.com>
5951
0323d086
JM
5952 [BZ #15529]
5953 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5954 bit of mantissa of 2^16382.
5955 * math/libm-test.inc (hypot_test_data): Add more tests.
5956
dd4259b9
JM
5957 * math/libm-test.inc: Add drem and pow10 to list of tested
5958 functions.
5959 (pow10_test): New function.
5960 (drem_test): Likewise.
5961 (drem_test_tonearest): Likewise.
5962 (drem_test_towardzero): Likewise.
5963 (drem_test_downward): Likewise.
5964 (drem_test_upward): Likewise.
5965 (main): Call the new functions.
5966
4f8dfe27
JM
5967 * math/libm-test.inc (finite_test_data): Remove.
5968 (finite_test): Run tests from isfinite_test_data.
5969 (gamma_test_data): Remove.
5970 (gamma_test): Run tests from lgamma_test_data.
5971 * sysdeps/i386/fpu/libm-test-ulps: Update.
5972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5973
d116b7c4
AZ
59742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975
5976 * manual/platform.texi: Add PowerPC PPR function set documentation.
5977 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5978 implementation.
5979
e96e3767
CD
59802013-05-24 Carlos O'Donell <carlos@redhat.com>
5981
5982 * math/libm-test.inc (MAX_EXP): Define.
5983 (ULPDIFF): Define.
5984 (ulp): New function.
5985 (check_float_internal): Use ULPDIFF.
5986 (cpow_test): Disable failing test.
5987 (check_ulp): Test ulp() implemetnation.
5988 (main): Call check_ulp before starting tests.
5989
b679a606
JM
59902013-05-24 Joseph Myers <joseph@codesourcery.com>
5991
e8bdba36
JM
5992 * math/gen-libm-test.pl (generate_testfile): Do not handle
5993 START_DATA and END_DATA.
5994 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5995 END_DATA.
5996 (acos_tonearest_test_data): Likewise.
5997 (acos_towardzero_test_data): Likewise.
5998 (acos_downward_test_data): Likewise.
5999 (acos_upward_test_data): Likewise.
6000 (acosh_test_data): Likewise.
6001 (asin_test_data): Likewise.
6002 (asin_tonearest_test_data): Likewise.
6003 (asin_towardzero_test_data): Likewise.
6004 (asin_downward_test_data): Likewise.
6005 (asin_upward_test_data): Likewise.
6006 (asinh_test_data): Likewise.
6007 (atan_test_data): Likewise.
6008 (atanh_test_data): Likewise.
6009 (atan2_test_data): Likewise.
6010 (cabs_test_data): Likewise.
6011 (cacos_test_data): Likewise.
6012 (cacosh_test_data): Likewise.
6013 (carg_test_data): Likewise.
6014 (casin_test_data): Likewise.
6015 (casinh_test_data): Likewise.
6016 (catan_test_data): Likewise.
6017 (catanh_test_data): Likewise.
6018 (cbrt_test_data): Likewise.
6019 (ccos_test_data): Likewise.
6020 (ccosh_test_data): Likewise.
6021 (ceil_test_data): Likewise.
6022 (cexp_test_data): Likewise.
6023 (cimag_test_data): Likewise.
6024 (clog_test_data): Likewise.
6025 (clog10_test_data): Likewise.
6026 (conj_test_data): Likewise.
6027 (copysign_test_data): Likewise.
6028 (cos_test_data): Likewise.
6029 (cos_tonearest_test_data): Likewise.
6030 (cos_towardzero_test_data): Likewise.
6031 (cos_downward_test_data): Likewise.
6032 (cos_upward_test_data): Likewise.
6033 (cosh_test_data): Likewise.
6034 (cosh_tonearest_test_data): Likewise.
6035 (cosh_towardzero_test_data): Likewise.
6036 (cosh_downward_test_data): Likewise.
6037 (cosh_upward_test_data): Likewise.
6038 (cpow_test_data): Likewise.
6039 (cproj_test_data): Likewise.
6040 (creal_test_data): Likewise.
6041 (csin_test_data): Likewise.
6042 (csinh_test_data): Likewise.
6043 (csqrt_test_data): Likewise.
6044 (ctan_test_data): Likewise.
6045 (ctan_tonearest_test_data): Likewise.
6046 (ctan_towardzero_test_data): Likewise.
6047 (ctan_downward_test_data): Likewise.
6048 (ctan_upward_test_data): Likewise.
6049 (ctanh_test_data): Likewise.
6050 (ctanh_tonearest_test_data): Likewise.
6051 (ctanh_towardzero_test_data): Likewise.
6052 (ctanh_downward_test_data): Likewise.
6053 (ctanh_upward_test_data): Likewise.
6054 (erf_test_data): Likewise.
6055 (erfc_test_data): Likewise.
6056 (exp_test_data): Likewise.
6057 (exp_tonearest_test_data): Likewise.
6058 (exp_towardzero_test_data): Likewise.
6059 (exp_downward_test_data): Likewise.
6060 (exp_upward_test_data): Likewise.
6061 (exp10_test_data): Likewise.
6062 (exp2_test_data): Likewise.
6063 (expm1_test_data): Likewise.
6064 (fabs_test_data): Likewise.
6065 (fdim_test_data): Likewise.
6066 (finite_test_data): Likewise.
6067 (floor_test_data): Likewise.
6068 (fma_test_data): Likewise.
6069 (fma_towardzero_test_data): Likewise.
6070 (fma_downward_test_data): Likewise.
6071 (fma_upward_test_data): Likewise.
6072 (fmax_test_data): Likewise.
6073 (fmin_test_data): Likewise.
6074 (fmod_test_data): Likewise.
6075 (fpclassify_test_data): Likewise.
6076 (frexp_test_data): Likewise.
6077 (gamma_test_data): Likewise.
6078 (hypot_test_data): Likewise.
6079 (ilogb_test_data): Likewise.
6080 (isfinite_test_data): Likewise.
6081 (isgreater_test_data): Likewise.
6082 (isgreaterequal_test_data): Likewise.
6083 (isinf_test_data): Likewise.
6084 (isless_test_data): Likewise.
6085 (islessequal_test_data): Likewise.
6086 (islessgreater_test_data): Likewise.
6087 (isnan_test_data): Likewise.
6088 (isnormal_test_data): Likewise.
6089 (issignaling_test_data): Likewise.
6090 (isunordered_test_data): Likewise.
6091 (j0_test_data): Likewise.
6092 (j1_test_data): Likewise.
6093 (jn_test_data): Likewise.
6094 (ldexp_test_data): Likewise.
6095 (lgamma_test_data): Likewise.
6096 (lrint_test_data): Likewise.
6097 (lrint_tonearest_test_data): Likewise.
6098 (lrint_towardzero_test_data): Likewise.
6099 (lrint_downward_test_data): Likewise.
6100 (lrint_upward_test_data): Likewise.
6101 (llrint_test_data): Likewise.
6102 (llrint_tonearest_test_data): Likewise.
6103 (llrint_towardzero_test_data): Likewise.
6104 (llrint_downward_test_data): Likewise.
6105 (llrint_upward_test_data): Likewise.
6106 (log_test_data): Likewise.
6107 (log10_test_data): Likewise.
6108 (log1p_test_data): Likewise.
6109 (log2_test_data): Likewise.
6110 (logb_test_data): Likewise.
6111 (logb_downward_test_data): Likewise.
6112 (lround_test_data): Likewise.
6113 (llround_test_data): Likewise.
6114 (modf_test_data): Likewise.
6115 (nearbyint_test_data): Likewise.
6116 (nextafter_test_data): Likewise.
6117 (nexttoward_test_data): Likewise.
6118 (pow_test_data): Likewise.
6119 (pow_tonearest_test_data): Likewise.
6120 (pow_towardzero_test_data): Likewise.
6121 (pow_downward_test_data): Likewise.
6122 (pow_upward_test_data): Likewise.
6123 (remainder_test_data): Likewise.
6124 (remainder_tonearest_test_data): Likewise.
6125 (remainder_towardzero_test_data): Likewise.
6126 (remainder_downward_test_data): Likewise.
6127 (remainder_upward_test_data): Likewise.
6128 (remquo_test_data): Likewise.
6129 (rint_test_data): Likewise.
6130 (rint_tonearest_test_data): Likewise.
6131 (rint_towardzero_test_data): Likewise.
6132 (rint_downward_test_data): Likewise.
6133 (rint_upward_test_data): Likewise.
6134 (round_test_data): Likewise.
6135 (scalb_test_data): Likewise.
6136 (scalbn_test_data): Likewise.
6137 (scalbln_test_data): Likewise.
6138 (signbit_test_data): Likewise.
6139 (sin_test_data): Likewise.
6140 (sin_tonearest_test_data): Likewise.
6141 (sin_towardzero_test_data): Likewise.
6142 (sin_downward_test_data): Likewise.
6143 (sin_upward_test_data): Likewise.
6144 (sincos_test_data): Likewise.
6145 (sinh_test_data): Likewise.
6146 (sinh_tonearest_test_data): Likewise.
6147 (sinh_towardzero_test_data): Likewise.
6148 (sinh_downward_test_data): Likewise.
6149 (sinh_upward_test_data): Likewise.
6150 (sqrt_test_data): Likewise.
6151 (tan_test_data): Likewise.
6152 (tan_tonearest_test_data): Likewise.
6153 (tan_towardzero_test_data): Likewise.
6154 (tan_downward_test_data): Likewise.
6155 (tan_upward_test_data): Likewise.
6156 (tanh_test_data): Likewise.
6157 (tgamma_test_data): Likewise.
6158 (trunc_test_data): Likewise.
6159 (y0_test_data): Likewise.
6160 (y1_test_data): Likewise.
6161 (yn_test_data): Likewise.
6162 (significand_test_data): Likewise.
6163
b679a606
JM
6164 * math/gen-libm-test.pl (@functions): Remove variable.
6165 (generate_testfile): Don't handle START and END lines.
6166 * math/libm-test.inc (START): New macro.
6167 (END): Likewise.
6168 (END_COMPLEX): Likewise.
6169 (acos_test): Use END macro without arguments.
6170 (acos_test_tonearest): Likewise.
6171 (acos_test_towardzero): Likewise.
6172 (acos_test_downward): Likewise.
6173 (acos_test_upward): Likewise.
6174 (acosh_test): Likewise.
6175 (asin_test): Likewise.
6176 (asin_test_tonearest): Likewise.
6177 (asin_test_towardzero): Likewise.
6178 (asin_test_downward): Likewise.
6179 (asin_test_upward): Likewise.
6180 (asinh_test): Likewise.
6181 (atan_test): Likewise.
6182 (atanh_test): Likewise.
6183 (atan2_test): Likewise.
6184 (cabs_test): Likewise.
6185 (cacos_test): Use END_COMPLEX macro without arguments.
6186 (cacosh_test): Likewise.
6187 (carg_test): Use END macro without arguments.
6188 (casin_test): Use END_COMPLEX macro without arguments.
6189 (casinh_test): Likewise.
6190 (catan_test): Likewise.
6191 (catanh_test): Likewise.
6192 (cbrt_test): Use END macro without arguments.
6193 (ccos_test): Use END_COMPLEX macro without arguments.
6194 (ccosh_test): Likewise.
6195 (ceil_test): Use END macro without arguments.
6196 (cexp_test): Use END_COMPLEX macro without arguments.
6197 (cimag_test): Use END macro without arguments.
6198 (clog_test): Use END_COMPLEX macro without arguments.
6199 (clog10_test): Likewise.
6200 (conj_test): Likewise.
6201 (copysign_test): Use END macro without arguments.
6202 (cos_test): Likewise.
6203 (cos_test_tonearest): Likewise.
6204 (cos_test_towardzero): Likewise.
6205 (cos_test_downward): Likewise.
6206 (cos_test_upward): Likewise.
6207 (cosh_test): Likewise.
6208 (cosh_test_tonearest): Likewise.
6209 (cosh_test_towardzero): Likewise.
6210 (cosh_test_downward): Likewise.
6211 (cosh_test_upward): Likewise.
6212 (cpow_test): Use END_COMPLEX macro without arguments.
6213 (cproj_test): Likewise.
6214 (creal_test): Use END macro without arguments.
6215 (csin_test): Use END_COMPLEX macro without arguments.
6216 (csinh_test): Likewise.
6217 (csqrt_test): Likewise.
6218 (ctan_test): Likewise.
6219 (ctan_test_tonearest): Likewise.
6220 (ctan_test_towardzero): Likewise.
6221 (ctan_test_downward): Likewise.
6222 (ctan_test_upward): Likewise.
6223 (ctanh_test): Likewise.
6224 (ctanh_test_tonearest): Likewise.
6225 (ctanh_test_towardzero): Likewise.
6226 (ctanh_test_downward): Likewise.
6227 (ctanh_test_upward): Likewise.
6228 (erf_test): Use END macro without arguments.
6229 (erfc_test): Likewise.
6230 (exp_test): Likewise.
6231 (exp_test_tonearest): Likewise.
6232 (exp_test_towardzero): Likewise.
6233 (exp_test_downward): Likewise.
6234 (exp_test_upward): Likewise.
6235 (exp10_test): Likewise.
6236 (exp2_test): Likewise.
6237 (expm1_test): Likewise.
6238 (fabs_test): Likewise.
6239 (fdim_test): Likewise.
6240 (finite_test): Likewise.
6241 (floor_test): Likewise.
6242 (fma_test): Likewise.
6243 (fma_test_towardzero): Likewise.
6244 (fma_test_downward): Likewise.
6245 (fma_test_upward): Likewise.
6246 (fmax_test): Likewise.
6247 (fmin_test): Likewise.
6248 (fmod_test): Likewise.
6249 (fpclassify_test): Likewise.
6250 (frexp_test): Likewise.
6251 (gamma_test): Likewise.
6252 (hypot_test): Likewise.
6253 (ilogb_test): Likewise.
6254 (isfinite_test): Likewise.
6255 (isgreater_test): Likewise.
6256 (isgreaterequal_test): Likewise.
6257 (isinf_test): Likewise.
6258 (isless_test): Likewise.
6259 (islessequal_test): Likewise.
6260 (islessgreater_test): Likewise.
6261 (isnan_test): Likewise.
6262 (isnormal_test): Likewise.
6263 (issignaling_test): Likewise.
6264 (isunordered_test): Likewise.
6265 (j0_test): Likewise.
6266 (j1_test): Likewise.
6267 (jn_test): Likewise.
6268 (ldexp_test): Likewise.
6269 (lgamma_test): Likewise.
6270 (lrint_test): Likewise.
6271 (lrint_test_tonearest): Likewise.
6272 (lrint_test_towardzero): Likewise.
6273 (lrint_test_downward): Likewise.
6274 (lrint_test_upward): Likewise.
6275 (llrint_test): Likewise.
6276 (llrint_test_tonearest): Likewise.
6277 (llrint_test_towardzero): Likewise.
6278 (llrint_test_downward): Likewise.
6279 (llrint_test_upward): Likewise.
6280 (log_test): Likewise.
6281 (log10_test): Likewise.
6282 (log1p_test): Likewise.
6283 (log2_test): Likewise.
6284 (logb_test): Likewise.
6285 (logb_test_downward): Likewise.
6286 (lround_test): Likewise.
6287 (llround_test): Likewise.
6288 (modf_test): Likewise.
6289 (nearbyint_test): Likewise.
6290 (nextafter_test): Likewise.
6291 (nexttoward_test): Likewise.
6292 (pow_test): Likewise.
6293 (pow_test_tonearest): Likewise.
6294 (pow_test_towardzero): Likewise.
6295 (pow_test_downward): Likewise.
6296 (pow_test_upward): Likewise.
6297 (remainder_test): Likewise.
6298 (remainder_test_tonearest): Likewise.
6299 (remainder_test_towardzero): Likewise.
6300 (remainder_test_downward): Likewise.
6301 (remainder_test_upward): Likewise.
6302 (remquo_test): Likewise.
6303 (rint_test): Likewise.
6304 (rint_test_tonearest): Likewise.
6305 (rint_test_towardzero): Likewise.
6306 (rint_test_downward): Likewise.
6307 (rint_test_upward): Likewise.
6308 (round_test): Likewise.
6309 (scalb_test): Likewise.
6310 (scalbn_test): Likewise.
6311 (scalbln_test): Likewise.
6312 (signbit_test): Likewise.
6313 (sin_test): Likewise.
6314 (sin_test_tonearest): Likewise.
6315 (sin_test_towardzero): Likewise.
6316 (sin_test_downward): Likewise.
6317 (sin_test_upward): Likewise.
6318 (sincos_test): Likewise.
6319 (sinh_test): Likewise.
6320 (sinh_test_tonearest): Likewise.
6321 (sinh_test_towardzero): Likewise.
6322 (sinh_test_downward): Likewise.
6323 (sinh_test_upward): Likewise.
6324 (sqrt_test): Likewise.
6325 (tan_test): Likewise.
6326 (tan_test_tonearest): Likewise.
6327 (tan_test_towardzero): Likewise.
6328 (tan_test_downward): Likewise.
6329 (tan_test_upward): Likewise.
6330 (tanh_test): Likewise.
6331 (tgamma_test): Likewise.
6332 (trunc_test): Likewise.
6333 (y0_test): Likewise.
6334 (y1_test): Likewise.
6335 (yn_test): Likewise.
6336 (significand_test): Likewise.
6337
bae143d2
OB
63382013-05-24 Ondřej Bílka <neleai@seznam.cz>
6339
6340 [BZ #15381]
6341 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6342
9323d39b
EM
63432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6344
d4ea44a0 6345 [BZ #14894]
9323d39b
EM
6346 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6347 __ppc_mdoio and __ppc_mdoom.
6348 * manual/platform.texi: Document new functions __ppc_yield,
6349 __ppc_mdoio and __ppc_mdoom.
6350
13e23af7
CD
63512013-05-22 Carlos O'Donell <carlos@redhat.com>
6352
6353 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6354 (main): Mention "tls" pseudo-hwcap is legacy.
6355 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6356
351fe550
JM
63572013-05-22 Joseph Myers <joseph@codesourcery.com>
6358
6359 * math/gen-libm-test.pl (parse_args): Output only string of
6360 arguments as text for test name, not full call or descriptions of
6361 tests for extra outputs.
6362 (generate_testfile): Do not pass function name to parse_args.
6363 Generate this_func variable from START.
6364 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6365 field to arg_str.
6366 (struct test_ff_f_data): Likewise.
6367 (test_ff_f_data_nexttoward): Likewise.
6368 (struct test_fi_f_data): Likewise.
6369 (struct test_fl_f_data): Likewise.
6370 (struct test_if_f_data): Likewise.
6371 (struct test_fff_f_data): Likewise.
6372 (struct test_c_f_data): Likewise.
6373 (struct test_f_f1_data): Likewise. Remove field extra_name.
6374 (struct test_fF_f1_data): Likewise.
6375 (struct test_ffI_f1_data): Likewise.
6376 (struct test_c_c_data): Rename test_name field to arg_str.
6377 (struct test_cc_c_data): Likewise.
6378 (struct test_f_i_data): Likewise.
6379 (struct test_ff_i_data): Likewise.
6380 (struct test_f_l_data): Likewise.
6381 (struct test_f_L_data): Likewise.
6382 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6383 and extra2_name.
6384 (COMMON_TEST_SETUP): New macro.
6385 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6386 (COMMON_TEST_CLEANUP): Likewise.
6387 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6388 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6389 macros.
6390 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6391 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6392 macros.
6393 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6394 (RUN_TEST_fff_f): Take argument string. Call new setup and
6395 cleanup macros.
6396 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6397 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6398 macros.
6399 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6400 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6401 macros.
6402 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6403 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6404 cleanup macros.
6405 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6406 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6407 cleanup macros.
6408 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6409 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6410 cleanup macros.
6411 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6412 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6413 macros.
6414 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6415 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6416 macros.
6417 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6418 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6419 macros.
6420 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6421 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6422 cleanup macros.
6423 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6424 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6425 cleanup macros.
6426 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6427 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6428 macros.
6429 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6430 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6431 cleanup macros.
6432 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6433 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6434 macros.
6435 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6436 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6437 macros.
6438 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6439 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6440 cleanup macros.
6441 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6442
85118d4d
EBM
64432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6444
6445 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6446 to _sifields.sigfault.
6447 (si_addr_lsb): Define new macro.
6448 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6450 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6451
7a44c18f
CD
64522013-05-03 Carlos O'Donell <carlos at redhat.com>
6453
6454 [BZ #15441]
6455 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6456 returns -1.
6457 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6458 null return -1.
6459 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6460 loading the domain.
6461
b50a7181
JM
64622013-05-22 Joseph Myers <joseph@codesourcery.com>
6463
6464 * math/gen-libm-test.pl (parse_args): Do not include expected
6465 result in test name.
6466 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6468 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6470 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6472
051063c8
SP
64732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6474
3ce9e010
SP
6475 * benchtests/Makefile: Sort function entries.
6476
051063c8
SP
6477 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6478 tanh, asinh, acosh, atanh.
6479 * benchtests/acos-inputs: New file.
6480 * benchtests/acosh-inputs: New file.
6481 * benchtests/asin-inputs: New file.
6482 * benchtests/asinh-inputs: New file.
6483 * benchtests/atanh-inputs: New file.
6484 * benchtests/cosh-inputs: New file.
6485 * benchtests/log-inputs: New file.
6486 * benchtests/sinh-inputs: New file.
6487 * benchtests/tanh-inputs: New file.
6488
47c22455
DL
64892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6490
6491 [BZ #15339]
6492 * posix/tst-getaddrinfo4.c: New test.
6493 * posix/Makefile (tests): Add it.
6494
3d04f5db
SP
64952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6496
6497 [BZ #15339]
6498 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6499 when no services were used.
6500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6501 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6502
d5dd6189
AS
65032013-05-21 Andreas Schwab <schwab@suse.de>
6504
6505 [BZ #15014]
6506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6507 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6508 successful.
6509 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6510 redundant variable declarations and reallocation of buffer when
6511 parsing as IPv6 address. Always set NSS status when called from
6512 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6513 buffer too small. Correct computation of needed size.
6514 * nss/Makefile (tests): Add test-digits-dots.
6515 * nss/test-digits-dots.c: New test.
6516
fef94eab
SP
65172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6518
6519 * benchtests/Makefile: Remove instructions for adding
6520 benchmark tests.
6521 * benchtests/README: New file to explain how to execute and
6522 enhance the benchmark tests.
6523
e39adf43
AS
65242013-05-21 Andreas Schwab <schwab@suse.de>
6525
6526 [BZ #15493]
6527 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6528 * setjmp/tst-sigsetjmp.c: New test.
6529
b2b671b6
OB
65302013-05-20 Ondřej Bílka <neleai@seznam.cz>
6531
6532 * sysdeps/x86_64/memset.S (memset): New implementation.
6533 (__bzero): Likewise.
6534 (__memset_tail): New function.
6535
2d48b41c
OB
65362013-05-20 Ondřej Bílka <neleai@seznam.cz>
6537
6538 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6539 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6540 __memcpy_sse2_unaligned ifunc selection.
6541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6542 Add memcpy-sse2-unaligned.S.
6543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6544 Add: __memcpy_sse2_unaligned.
6545
f16cc3eb
JM
65462013-05-19 Joseph Myers <joseph@codesourcery.com>
6547
3e694268
JM
6548 [BZ #15490]
6549 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6550 math_force_eval before restoring floating-point envrionment.
6551 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6552 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6553 Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6555 <math_private.h>.
6556 (__nearbyintl): Use math_force_eval before restoring
6557 floating-point environment.
6558 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6559
db62a907
JM
6560 * math/gen-libm-test.pl (special_functions): Remove.
6561 (parse_args): Don't handle TEST_extra. Handle functions with no
6562 return value.
6563 * math/libm-test.inc (struct test_sincos_data): Replace with
6564 struct test_fFF_11_data.
6565 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6566 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6567 (sincos_test_data): Change element type to struct
6568 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6569 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6570 RUN_TEST_LOOP_sincos.
6571 * math/README.libm-test: Don't mention special handling of
6572 individual functions.
6573 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6575 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6576 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6577 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579
f16cc3eb
JM
6580 * math/gen-libm-test.pl (get_variable): Remove function.
6581 (parse_args): Don't show pointer parameters to call in test
6582 names. Use "extra output N" in test names for extra outputs
6583 rather than naming variables.
6584
3779b5b6
JM
65852013-05-18 Joseph Myers <joseph@codesourcery.com>
6586
2ee094ff
JM
6587 [BZ #15488]
6588 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6589 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6590 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6591 double tests.
6592 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6593 disable.
6594 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6595 check_long_double.
6596
3779b5b6
JM
6597 * math/gen-libm-test.pl (@tests): Remove variable.
6598 ($count): Likewise.
6599 (new_test): Remove function.
6600 (show_exceptions): New function.
6601 (special_functions): Use show_exceptions instead of new_test.
6602 (parse_args): Likewise.
6603 (generate_testfile): Pass only function name in generated call to
6604 print_max_error or print_complex_max_error.
6605 (get_ulps): Do not handle complex tests specially.
6606 (output_test): Rename to ...
6607 (get_all_ulps_for_test): ... this. Return a string rather than
6608 printing to a file. Require ulps to be present.
6609 (output_ulps): Generate arrays rather than #defines.
6610 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6611 (struct ulp_data): New type.
6612 (BUILD_COMPLEX_ULP): Remove macro.
6613 (compare_ulp_data): New function.
6614 (find_ulps): Likewise.
6615 (find_test_ulps): Likewise.
6616 (find_function_ulps): Likewise.
6617 (find_complex_function_ulps): Likewise.
6618 (print_max_error): Determine allowed ulps using
6619 find_function_ulps.
6620 (print_complex_max_error): Determine allowed ulps using
6621 find_complex_function_ulps.
6622 (check_float_internal): Determine max ulps using find_test_ulps.
6623 (check_float): Do not take max_ulp parameter. Update call to
6624 check_float_internal.
6625 (check_complex): Likewise.
6626 (check_int): Do not take max_ulp parameter.
6627 (check_long): Likewise.
6628 (check_bool): Likewise.
6629 (check_longlong): Likewise.
6630 (struct test_f_f_data): Remove max_ulp field.
6631 (struct test_ff_f_data): Likewise.
6632 (struct test_ff_f_data_nexttoward): Likewise.
6633 (struct test_fi_f_data): Likewise.
6634 (struct test_fl_f_data): Likewise.
6635 (struct test_if_f_data): Likewise.
6636 (struct test_fff_f_data): Likewise.
6637 (struct test_c_f_data): Likewise.
6638 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6639 (struct test_fF_f1_data): Likewise.
6640 (struct test_ffI_f1_data): Likewise.
6641 (struct test_c_c_data): Remove max_ulp field.
6642 (struct test_cc_c_data): Likewise.
6643 (struct test_f_i_data): Likewise.
6644 (struct test_ff_i_data): Likewise.
6645 (struct test_f_l_data): Likewise.
6646 (struct test_f_L_data): Likewise.
6647 (struct test_sincos_data): Likewise.
6648 (RUN_TEST_f_f): Do not handle ulps.
6649 (RUN_TEST_LOOP_f_f): Likewise.
6650 (RUN_TEST_2_f): Likewise.
6651 (RUN_TEST_LOOP_2_f): Likewise.
6652 (RUN_TEST_fff_f): Likewise.
6653 (RUN_TEST_LOOP_fff_f): Likewise.
6654 (RUN_TEST_c_f): Likewise.
6655 (RUN_TEST_LOOP_c_f): Likewise.
6656 (RUN_TEST_f_f1): Likewise.
6657 (RUN_TEST_LOOP_f_f1): Likewise.
6658 (RUN_TEST_fF_f1): Likewise.
6659 (RUN_TEST_LOOP_fF_f1): Likewise.
6660 (RUN_TEST_fI_f1): Likewise.
6661 (RUN_TEST_LOOP_fI_f1): Likewise.
6662 (RUN_TEST_ffI_f1): Likewise.
6663 (RUN_TEST_LOOP_ffI_f1): Likewise.
6664 (RUN_TEST_c_c): Likewise.
6665 (RUN_TEST_LOOP_c_c): Likewise.
6666 (RUN_TEST_cc_c): Likewise.
6667 (RUN_TEST_LOOP_cc_c): Likewise.
6668 (RUN_TEST_f_i): Likewise.
6669 (RUN_TEST_LOOP_f_i): Likewise.
6670 (RUN_TEST_f_i_tg): Likewise.
6671 (RUN_TEST_LOOP_f_i_tg): Likewise.
6672 (RUN_TEST_ff_i_tg): Likewise.
6673 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6674 (RUN_TEST_f_b): Likewise.
6675 (RUN_TEST_LOOP_f_b): Likewise.
6676 (RUN_TEST_f_b_tg): Likewise.
6677 (RUN_TEST_LOOP_f_b_tg): Likewise.
6678 (RUN_TEST_f_l): Likewise.
6679 (RUN_TEST_LOOP_f_l): Likewise.
6680 (RUN_TEST_f_L): Likewise.
6681 (RUN_TEST_LOOP_f_L): Likewise.
6682 (RUN_TEST_sincos): Likewise.
6683 (RUN_TEST_LOOP_sincos): Likewise.
6684
8269107f
JM
66852013-05-17 Joseph Myers <joseph@codesourcery.com>
6686
bb38759d
JM
6687 [BZ #15480]
6688 [BZ #15485]
6689 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6690 main case of finite arguments, set rounding mode to FE_TONEAREST
6691 and discard exceptions.
6692 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6693 exceptions.
6694 (remainder_tonearest_test_data): New variable.
6695 (remainder_test_tonearest): New function.
6696 (remainder_towardzero_test_data): New variable.
6697 (remainder_test_towardzero): New function.
6698 (remainder_downward_test_data): New variable.
6699 (remainder_test_downward): New function.
6700 (remainder_upward_test_data): New variable.
6701 (remainder_test_upward): New function.
6702 (main): Call the new test functions.
6703
a00bdcf0
JM
6704 * math/libm-test.inc (struct test_f_f1_data): Remove field
6705 extra_init.
6706 (struct test_fF_f1_data): Likewise.
6707 (struct test_ffI_f1_data): Likewise.
6708 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6709 based on value of EXTRA_EXPECTED.
6710 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6711 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6712 EXTRA_VAR based on value of EXTRA_EXPECTED.
6713 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6714 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6715 EXTRA_VAR based on value of EXTRA_EXPECTED.
6716 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6717 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6718 EXTRA_VAR based on value of EXTRA_EXPECTED.
6719 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6720 * math/gen-libm-test.pl (parse_args): Don't output initializers
6721 for extra output values.
6722
de407f79
JM
6723 * math/libm-test.inc (check_int): Expect result to be exactly
6724 equal to expected value and do not handle ulps.
6725 (check_long): Likewise.
6726 (check_longlong): Likewise.
6727
8269107f
JM
6728 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6729 exceptions.
6730 (cimag_test_data): Likewise.
6731 (conj_test_data): Likewise.
6732 (copysign_test_data): Likewise.
6733 (cproj_test_data): Likewise.
6734 (creal_test_data): Likewise.
6735 (fabs_test_data): Likewise.
6736 (fdim_test_data): Likewise.
6737 (finite_test_data): Likewise.
6738 (floor_test_data): Likewise.
6739 (fmax_test_data): Likewise.
6740 (fmin_test_data): Likewise.
6741 (fmod_test_data): Likewise.
6742 (fpclassify_test_data): Likewise.
6743 (frexp_test_data): Likewise.
6744 (ilogb_test_data): Likewise.
6745 (isfinite_test_data): Likewise.
6746 (isgreater_test_data): Likewise.
6747 (isgreaterequal_test_data): Likewise.
6748 (isinf_test_data): Likewise.
6749 (isless_test_data): Likewise.
6750 (islessequal_test_data): Likewise.
6751 (islessgreater_test_data): Likewise.
6752 (isnan_test_data): Likewise.
6753 (isnormal_test_data): Likewise.
6754 (issignaling_test_data): Likewise.
6755 (isunordered_test_data): Likewise.
6756 (ldexp_test_data): Likewise.
6757 (lrint_test_data): Likewise.
6758 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6759 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6760 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6761 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6762 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6763 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6764 test input.
6765 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6766 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6767 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6768 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6769 that test input.
6770 (lrint_downward_test_data): Test for "inexact" exceptions.
6771 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6772 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6773 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6774 test input.
6775 (lrint_upward_test_data): Test for "inexact" exceptions.
6776 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6777 test input.
6778 (llrint_test_data): Test for "inexact" exceptions.
6779 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6780 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6781 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6782 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6783 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6784 (llrint_downward_test_data): Test for "inexact" exceptions.
6785 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6786 (llrint_upward_test_data): Test for "inexact" exceptions.
6787 (logb_test_data): Likewise.
6788 (logb_downward_test_data): Likewise.
6789 (nextafter_test_data): Likewise.
6790 (nexttoward_test_data): Likewise.
6791 (remainder_test_data): Likewise.
6792 (remquo_test_data): Likewise.
6793 (scalbn_test_data): Likewise.
6794 (scalbln_test_data): Likewise.
6795 (signbit_test_data): Likewise.
6796 (sqrt_test_data): Likewise.
6797 (significand_test_data): Likewise.
6798
48a18de1
SP
67992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6800
6801 [BZ #15424]
6802 * benchtests/bench-modf.c (struct args): Mark arg0 as
6803 volatile.
6804 * scripts/bench.pl: Mark members of struct args as volatile.
6805
13d3b41a
AZ
68062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807
68191c1d 6808 [BZ # 15497]
13d3b41a
AZ
6809 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6810 negative infinity on POWER6 or lower.
6811 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6812
2848b105
MR
68132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6814
6815 [BZ #15442]
6816 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6817 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6818 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6819 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6820 (_FP_SETQNAN): New macro.
6821 (_FP_SETQNAN_SEMIRAW): Likewise.
6822 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6823 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6824 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6825 (FP_EXTEND): Use _FP_FRAC_SNANP.
6826 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6827 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6828 into account.
6829 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6830 New macro.
6831 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6832 Likewise.
6833
323e5cb7
JM
68342013-05-16 Joseph Myers <joseph@codesourcery.com>
6835
c58b274f
JM
6836 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6837 with DIVIDE_BY_ZERO_EXCEPTION.
6838 (gamma_test_data): Likewise.
6839 (lgamma_test_data): Likewise.
6840 (log_test_data): Likewise.
6841 (log10_test_data): Likewise.
6842 (log2_test_data): Likewise.
6843 (tgamma_test_data): Likewise.
6844
0ab34904
JM
6845 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6846 (acos_test_tonearest): Likewise.
6847 (acos_test_towardzero): Likewise.
6848 (acos_test_downward): Likewise.
6849 (acos_test_upward): Likewise.
6850 (acosh_test): Likewise.
6851 (asin_test): Likewise.
6852 (asin_test_tonearest): Likewise.
6853 (asin_test_towardzero): Likewise.
6854 (asin_test_downward): Likewise.
6855 (asin_test_upward): Likewise.
6856 (asinh_test): Likewise.
6857 (atan_test): Likewise.
6858 (atanh_test): Likewise.
6859 (atan2_test): Likewise.
6860 (cabs_test): Likewise.
6861 (cacos_test): Likewise.
6862 (cacosh_test): Likewise.
6863 (casin_test): Likewise.
6864 (casinh_test): Likewise.
6865 (catan_test): Likewise.
6866 (catanh_test): Likewise.
6867 (cbrt_test): Likewise.
6868 (ccos_test): Likewise.
6869 (ccosh_test): Likewise.
6870 (cexp_test): Likewise.
6871 (clog_test): Likewise.
6872 (clog10_test): Likewise.
6873 (cos_test): Likewise.
6874 (cos_test_tonearest): Likewise.
6875 (cos_test_towardzero): Likewise.
6876 (cos_test_downward): Likewise.
6877 (cos_test_upward): Likewise.
6878 (cosh_test): Likewise.
6879 (cosh_test_tonearest): Likewise.
6880 (cosh_test_towardzero): Likewise.
6881 (cosh_test_downward): Likewise.
6882 (cosh_test_upward): Likewise.
6883 (cpow_test): Likewise.
6884 (csin_test): Likewise.
6885 (csinh_test): Likewise.
6886 (csqrt_test): Likewise.
6887 (ctan_test): Likewise.
6888 (ctan_test_tonearest): Likewise.
6889 (ctan_test_towardzero): Likewise.
6890 (ctan_test_downward): Likewise.
6891 (ctan_test_upward): Likewise.
6892 (ctanh_test): Likewise.
6893 (ctanh_test_tonearest): Likewise.
6894 (ctanh_test_towardzero): Likewise.
6895 (ctanh_test_downward): Likewise.
6896 (ctanh_test_upward): Likewise.
6897 (erf_test): Likewise.
6898 (erfc_test): Likewise.
6899 (exp_test): Likewise.
6900 (exp_test_tonearest): Likewise.
6901 (exp_test_towardzero): Likewise.
6902 (exp_test_downward): Likewise.
6903 (exp_test_upward): Likewise.
6904 (exp10_test): Likewise.
6905 (exp2_test): Likewise.
6906 (expm1_test): Likewise.
6907 (fmod_test): Likewise.
6908 (gamma_test): Likewise.
6909 (hypot_test): Likewise.
6910 (j0_test): Likewise.
6911 (j1_test): Likewise.
6912 (jn_test): Likewise.
6913 (lgamma_test): Likewise.
6914 (log_test): Likewise.
6915 (log10_test): Likewise.
6916 (log1p_test): Likewise.
6917 (log2_test): Likewise.
6918 (logb_test_downward): Likewise.
6919 (pow_test): Likewise.
6920 (pow_test_tonearest): Likewise.
6921 (pow_test_towardzero): Likewise.
6922 (pow_test_downward): Likewise.
6923 (pow_test_upward): Likewise.
6924 (remainder_test): Likewise.
6925 (remquo_test): Likewise.
6926 (sin_test): Likewise.
6927 (sin_test_tonearest): Likewise.
6928 (sin_test_towardzero): Likewise.
6929 (sin_test_downward): Likewise.
6930 (sin_test_upward): Likewise.
6931 (sincos_test): Likewise.
6932 (sinh_test): Likewise.
6933 (sinh_test_tonearest): Likewise.
6934 (sinh_test_towardzero): Likewise.
6935 (sinh_test_downward): Likewise.
6936 (sinh_test_upward): Likewise.
6937 (sqrt_test): Likewise.
6938 (tan_test): Likewise.
6939 (tan_test_tonearest): Likewise.
6940 (tan_test_towardzero): Likewise.
6941 (tan_test_downward): Likewise.
6942 (tan_test_upward): Likewise.
6943 (tanh_test): Likewise.
6944 (tgamma_test): Likewise.
6945 (y0_test): Likewise.
6946 (y1_test): Likewise.
6947 (yn_test): Likewise.
6948
323e5cb7
JM
6949 * math/gen-libm-test.pl (adjust_arg): Remove function.
6950 (special_function): Remove argument $in_func. Only handle
6951 generating output for tables of tests, not inside functions.
6952 (parse_args): Likewise.
6953 (generate_testfile): Remove variable $in_func. Update call to
6954 parse_args.
6955 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6956 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6957 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6958 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6959 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6960 (MAX_VALUE_INIT): Rename macro to max_value.
6961 (MIN_VALUE_INIT): Rename macro to min_value.
6962 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6963 (plus_zero): Remove variable.
6964 (minus_zero): Likewise.
6965 (plus_infty): Likewise.
6966 (minus_infty): Likewise.
6967 (qnan_value): Likewise.
6968 (max_value): Likewise.
6969 (min_value): Likewise.
6970 (min_subnorm_value): Likewise.
6971
e054f494
RA
69722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6973
6974 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6975 uint64_t or uint32_t usage.
6976 * crypt/sha256-block.c: Likewise.
6977 * crypt/sha256-crypt.c: Likewise.
6978 * crypt/sha256.c: Likewise.
6979 * crypt/sha512-block.c: Likewise.
6980 * crypt/sha512-crypt.c: Likewise.
6981 * crypt/sha512.c: Likewise.
6982 * debug/backtrace-tst.c: Likewise.
6983 * debug/pcprofiledump.c: Likewise.
6984 * elf/cache.c: Likewise.
6985 * elf/dl-cache.c: Likewise.
6986 * elf/dl-misc.c: Likewise.
6987 * elf/dl-profile.c: Likewise.
6988 * elf/dl-support.c: Likewise.
6989 * elf/ldconfig.c: Likewise.
6990 * elf/sprof.c: Likewise.
6991 * iconv/dummy-repertoire.c: Likewise.
6992 * iconv/iconv_charmap.c: Likewise.
6993 * iconv/skeleton.c: Likewise.
6994 * iconvdata/8bit-generic.c: Likewise.
6995 * iconvdata/cp737.h: Likewise.
6996 * iconvdata/cp775.h: Likewise.
6997 * iconvdata/ibm1008.h: Likewise.
6998 * iconvdata/ibm1025.h: Likewise.
6999 * iconvdata/ibm1046.h: Likewise.
7000 * iconvdata/ibm1097.h: Likewise.
7001 * iconvdata/ibm1112.h: Likewise.
7002 * iconvdata/ibm1122.h: Likewise.
7003 * iconvdata/ibm1123.h: Likewise.
7004 * iconvdata/ibm1124.h: Likewise.
7005 * iconvdata/ibm1129.h: Likewise.
7006 * iconvdata/ibm1130.h: Likewise.
7007 * iconvdata/ibm1132.h: Likewise.
7008 * iconvdata/ibm1133.h: Likewise.
7009 * iconvdata/ibm1137.h: Likewise.
7010 * iconvdata/ibm1140.h: Likewise.
7011 * iconvdata/ibm1141.h: Likewise.
7012 * iconvdata/ibm1142.h: Likewise.
7013 * iconvdata/ibm1143.h: Likewise.
7014 * iconvdata/ibm1144.h: Likewise.
7015 * iconvdata/ibm1145.h: Likewise.
7016 * iconvdata/ibm1146.h: Likewise.
7017 * iconvdata/ibm1147.h: Likewise.
7018 * iconvdata/ibm1148.h: Likewise.
7019 * iconvdata/ibm1149.h: Likewise.
7020 * iconvdata/ibm1153.h: Likewise.
7021 * iconvdata/ibm1154.h: Likewise.
7022 * iconvdata/ibm1155.h: Likewise.
7023 * iconvdata/ibm1156.h: Likewise.
7024 * iconvdata/ibm1157.h: Likewise.
7025 * iconvdata/ibm1158.h: Likewise.
7026 * iconvdata/ibm1160.h: Likewise.
7027 * iconvdata/ibm1161.h: Likewise.
7028 * iconvdata/ibm1162.h: Likewise.
7029 * iconvdata/ibm1163.h: Likewise.
7030 * iconvdata/ibm1164.h: Likewise.
7031 * iconvdata/ibm1166.h: Likewise.
7032 * iconvdata/ibm1167.h: Likewise.
7033 * iconvdata/ibm12712.h: Likewise.
7034 * iconvdata/ibm1390.h: Likewise.
7035 * iconvdata/ibm1399.h: Likewise.
7036 * iconvdata/ibm16804.h: Likewise.
7037 * iconvdata/ibm4517.h: Likewise.
7038 * iconvdata/ibm4899.h: Likewise.
7039 * iconvdata/ibm4909.h: Likewise.
7040 * iconvdata/ibm4971.h: Likewise.
7041 * iconvdata/ibm5347.h: Likewise.
7042 * iconvdata/ibm803.h: Likewise.
7043 * iconvdata/ibm856.h: Likewise.
7044 * iconvdata/ibm901.h: Likewise.
7045 * iconvdata/ibm902.h: Likewise.
7046 * iconvdata/ibm9030.h: Likewise.
7047 * iconvdata/ibm9066.h: Likewise.
7048 * iconvdata/ibm921.h: Likewise.
7049 * iconvdata/ibm922.h: Likewise.
7050 * iconvdata/ibm9448.h: Likewise.
7051 * iconvdata/isiri-3342.h: Likewise.
7052 * iconvdata/jis0201.h: Likewise.
7053 * include/link.h: Likewise.
7054 * include/netdb.h: Likewise.
7055 * inet/check_native.c: Likewise.
7056 * inet/check_pf.c: Likewise.
7057 * inet/getipv4sourcefilter.c: Likewise.
7058 * inet/getnameinfo.c: Likewise.
7059 * inet/getsourcefilter.c: Likewise.
7060 * inet/htonl.c: Likewise.
7061 * inet/setipv4sourcefilter.c: Likewise.
7062 * inet/setsourcefilter.c: Likewise.
7063 * inet/test-inet6_opt.c: Likewise.
7064 * inet/tst-network.c: Likewise.
7065 * locale/C-collate.c: Likewise.
7066 * locale/C-ctype.c: Likewise.
7067 * locale/C-time.c: Likewise.
7068 * locale/C-translit.h: Likewise.
7069 * locale/loadarchive.c: Likewise.
7070 * locale/programs/3level.h: Likewise.
7071 * locale/programs/charmap.c: Likewise.
7072 * locale/programs/charmap.h: Likewise.
7073 * locale/programs/ld-address.c: Likewise.
7074 * locale/programs/ld-collate.c: Likewise.
7075 * locale/programs/ld-ctype.c: Likewise.
7076 * locale/programs/ld-identification.c: Likewise.
7077 * locale/programs/ld-measurement.c: Likewise.
7078 * locale/programs/ld-messages.c: Likewise.
7079 * locale/programs/ld-monetary.c: Likewise.
7080 * locale/programs/ld-name.c: Likewise.
7081 * locale/programs/ld-numeric.c: Likewise.
7082 * locale/programs/ld-paper.c: Likewise.
7083 * locale/programs/ld-telephone.c: Likewise.
7084 * locale/programs/ld-time.c: Likewise.
7085 * locale/programs/linereader.c: Likewise.
7086 * locale/programs/locale.c: Likewise.
7087 * locale/programs/locarchive.c: Likewise.
7088 * locale/programs/locfile.h: Likewise.
7089 * locale/programs/repertoire.c: Likewise.
7090 * locale/programs/simple-hash.c: Likewise.
7091 * locale/programs/simple-hash.h: Likewise.
7092 * malloc/memusage.c: Likewise.
7093 * malloc/memusagestat.c: Likewise.
7094 * nis/nis_defaults.c: Likewise.
7095 * nis/nis_hash.c: Likewise.
7096 * nis/nis_print.c: Likewise.
7097 * nis/nis_xdr.c: Likewise.
7098 * nscd/connections.c: Likewise.
7099 * nscd/hstcache.c: Likewise.
7100 * nscd/nscd_gethst_r.c: Likewise.
7101 * nscd/nscd_getserv_r.c: Likewise.
7102 * nscd/nscd_helper.c: Likewise.
7103 * nscd/servicescache.c: Likewise.
7104 * nss/makedb.c: Likewise.
7105 * nss/nss_db/db-XXX.c: Likewise.
7106 * nss/nss_db/db-initgroups.c: Likewise.
7107 * nss/nss_db/db-netgrp.c: Likewise.
7108 * nss/nss_files/files-network.c: Likewise.
7109 * nss/nss_files/files-parse.c: Likewise.
7110 * posix/bug-regex5.c: Likewise.
7111 * posix/fnmatch_loop.c: Likewise.
7112 * posix/regcomp.c: Likewise.
7113 * posix/regexec.c: Likewise.
7114 * posix/tst-rfc3484-2.c: Likewise.
7115 * posix/tst-rfc3484-3.c: Likewise.
7116 * posix/tst-rfc3484.c: Likewise.
7117 * resolv/nss_dns/dns-canon.c: Likewise.
7118 * resolv/nss_dns/dns-network.c: Likewise.
7119 * resolv/res_init.c: Likewise.
7120 * resolv/res_mkquery.c: Likewise.
7121 * resolv/tst-aton.c: Likewise.
7122 * stdlib/cxa_atexit.c: Likewise.
7123 * stdlib/cxa_finalize.c: Likewise.
7124 * stdlib/gen-fpioconst.c: Likewise.
7125 * stdlib/strtol_l.c: Likewise.
7126 * string/tst-endian.c: Likewise.
7127 * sunrpc/auth_des.c: Likewise.
7128 * sunrpc/clnt_udp.c: Likewise.
7129 * sunrpc/rtime.c: Likewise.
7130 * sunrpc/svcauth_des.c: Likewise.
7131 * sunrpc/xdr.c: Likewise.
7132 * sunrpc/xdr_intXX_t.c: Likewise.
7133 * sunrpc/xdr_rec.c: Likewise.
7134 * sysdeps/generic/ldconfig.h: Likewise.
7135 * sysdeps/generic/ldsodefs.h: Likewise.
7136 * sysdeps/generic/memusage.h: Likewise.
7137 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7139 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7143 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7144 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7147 * sysdeps/posix/getaddrinfo.c: Likewise.
7148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7152 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7153 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7154 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7155 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7156 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7158 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7159 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7160 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7161 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7163 * sysdeps/x86_64/dl-tls.h: Likewise.
7164 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7165 * time/alt_digit.c: Likewise.
7166 * time/era.c: Likewise.
7167 * wcsmbs/tst-c16c32-1.c: Likewise.
7168
8c75f674
JM
71692013-05-16 Joseph Myers <joseph@codesourcery.com>
7170
7171 * math/libm-test.inc (struct test_sincos_data): New type.
7172 (RUN_TEST_LOOP_sincos): New macro.
7173 (sincos_test_data): New variable.
7174 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7175
e6e49e59
RH
71762013-05-16 Richard Henderson <rth@redhat.com>
7177
7178 * math/atest-exp2.c (LIMB64): New macro.
7179 (CONSTSZ): New macro.
7180 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7181 (hexdig): Move ...
7182 (print_mpn_fp): ... to function scope.
7183 (read_mpn_hex): Remove.
7184 (get_log2): Remove.
7185 (exp2_mpn): Use mp_log2.
7186 (main): Use mp_exp1.
7187
15c7c18d
JM
71882013-05-16 Joseph Myers <joseph@codesourcery.com>
7189
105a07df
JM
7190 * math/libm-test.inc: Remove comment about not testing "inexact"
7191 exceptions.
7192 (INEXACT_EXCEPTION): New macro.
7193 (NO_INEXACT_EXCEPTION): Likewise.
7194 (INVALID_EXCEPTION_OK): Update value.
7195 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7196 (OVERFLOW_EXCEPTION_OK): Likewise.
7197 (UNDERFLOW_EXCEPTION_OK): Likewise.
7198 (IGNORE_ZERO_INF_SIGN): Likewise.
7199 (ERRNO_UNCHANGED): Likewise.
7200 (ERRNO_EDOM): Likewise.
7201 (ERRNO_ERANGE): Likewise.
7202 (test_exceptions): Handle testing "inexact" exceptions.
7203 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7204 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7205 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7206 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7207 INEXACT_EXCEPTION.
7208 (rint_towardzero_test_data): Likewise.
7209 (rint_downward_test_data): Likewise.
7210 (rint_upward_test_data): Likewise.
7211
e9eee333
JM
7212 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7213 with OVERFLOW_EXCEPTION.
7214 (exp10_test_data): Likewise.
7215 (exp2_test_data): Likewise.
7216 (expm1_test_data): Likewise.
7217 (lgamma_test_data): Likewise.
7218 (pow_test_data): Likewise.
7219 (tgamma_test_data): Likewise.
7220 (yn_test_data): Remove duplicate test of overflow.
7221
1c38ff73
JM
7222 * math/libm-test.inc (struct test_cc_c_data): New type.
7223 (RUN_TEST_LOOP_cc_c): New macro.
7224 (cpow_test_data): New variable.
7225 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7226
15c7c18d
JM
7227 * math/libm-test.inc (struct test_f_L_data): New type.
7228 (RUN_TEST_LOOP_f_L): New macro.
7229 (llrint_test_data): New variable.
7230 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7231 (llrint_tonearest_test_data): New variable.
7232 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7233 (llrint_towardzero_test_data): New variable.
7234 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7235 (llrint_downward_test_data): New variable.
7236 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7237 (llrint_upward_test_data): New variable.
7238 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7239 (llround_test_data): New variable.
7240 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7241
f137ff13
PC
72422013-05-13 Peter Collingbourne <pcc@google.com>
7243
7244 * math/atest-exp2.c (get_log2): Remove const attribute.
7245
3608cb24
JM
72462013-05-15 Joseph Myers <joseph@codesourcery.com>
7247
7248 * math/libm-test.inc (struct test_f_l_data): New type.
7249 (RUN_TEST_LOOP_f_l): New macro.
7250 (lrint_test_data): New variable.
7251 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7252 (lrint_tonearest_test_data): New variable.
7253 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7254 (lrint_towardzero_test_data): New variable.
7255 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7256 (lrint_downward_test_data): New variable.
7257 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7258 (lrint_upward_test_data): New variable.
7259 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7260 (lround_test_data): New variable.
7261 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7262
39b1f617
PC
72632013-05-15 Peter Collingbourne <pcc@google.com>
7264
1deff3dc
PC
7265 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7266 (EXTRACT_WORDS64) Use where appropriate.
7267 (INSERT_WORDS64) Likewise.
7268
791f3ba0
PC
7269 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7270 constraints with x constraints.
7271 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7272
39b1f617
PC
7273 * malloc/obstack.c (_obstack_compat): Add initializer.
7274
12fba011
EM
72752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7276
7277 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7278 si_trapno and add si_addr_lsb to _sifields.sigfault.
7279 (si_trapno): Remove macro.
7280 (si_addr_lsb): Define new macro.
7281 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7282
d369f531
JM
72832013-05-15 Joseph Myers <joseph@codesourcery.com>
7284
b861c6c4
JM
7285 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7286 instead of TEST_f_l.
7287 (llrint_test_tonearest): Likewise.
7288 (llrint_test_towardzero): Likewise.
7289 (llrint_test_downward): Likewise.
7290 (llrint_test_upward): Likewise.
7291 (llround_test): Likewise.
7292
7abeee12
JM
7293 * math/libm-test.inc (struct test_f_i_data): Add comment.
7294 (RUN_TEST_LOOP_f_b): New macro.
7295 (RUN_TEST_LOOP_f_b_tg): Likewise.
7296 (finite_test_data): New variable.
7297 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7298 (isfinite_test_data): New variable.
7299 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7300 (isinf_test_data): New variable.
7301 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7302 (isnan_test_data): New variable.
7303 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7304 (isnormal_test_data): New variable.
7305 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7306 (issignaling_test_data): New variable.
7307 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7308 (signbit_test_data): New variable.
7309 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7310
cbe8c4d3
JM
7311 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7312 with INVALID_EXCEPTION.
7313 (acosh_test_data): Likewise.
7314 (asin_test_data): Likewise.
7315 (atanh_test_data): Likewise.
7316 (fmod_test_data): Likewise.
7317 (log_test_data): Likewise.
7318 (log10_test_data): Likewise.
7319 (log2_test_data): Likewise.
7320 (pow_test_data): Likewise.
7321 (sqrt_test_data): Likewise.
7322 (y0_test_data): Likewise.
7323 (y1_test_data): Likewise.
7324 (yn_test_data): Likewise.
7325
5575c0e5
JM
7326 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7327 function contents.
7328
d369f531
JM
7329 * math/libm-test.inc (struct test_ff_i_data): New type.
7330 (RUN_TEST_LOOP_ff_i_tg): New macro.
7331 (isgreater_test_data): New variable.
7332 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7333 (isgreaterequal_test_data): New variable.
7334 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7335 (isless_test_data): New variable.
7336 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7337 (islessequal_test_data): New variable.
7338 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7339 (islessgreater_test_data): New variable.
7340 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7341 (isunordered_test_data): New variable.
7342 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7343
781fd748
DM
73442013-05-14 David S. Miller <davem@davemloft.net>
7345
7346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7347
87aa21df
JM
73482013-05-14 Joseph Myers <joseph@codesourcery.com>
7349
5e908270
JM
7350 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7351
f71172e5
JM
7352 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7353 extra_test to int.
7354 (struct test_f_i_data): Change type of max_ulp to int.
7355
8cfa635a
JM
7356 * math/libm-test.inc (test_ffI_f1_data): New type.
7357 (RUN_TEST_LOOP_ffI_f1): New macro.
7358 (remquo_test_data): New variable.
7359 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7360
2bcb36b2
JM
7361 * setjmp/tst-setjmp-fp.c: New file.
7362 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7363 (link-libm): New variable.
7364 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7365
acbd839a
JM
7366 * math/libm-test.inc (struct test_f_i_data): New type.
7367 (RUN_TEST_LOOP_f_i): New macro.
7368 (RUN_TEST_LOOP_f_i_tg): Likewise.
7369 (fpclassify_test_data): New variable.
7370 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7371 (ilogb_test_data): New variable.
7372 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7373
e414d745
JM
7374 * math/libm-test.inc (scalbln_test): Correct function name in END
7375 call.
7376
d9c2a0fd
JM
7377 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7378 (RUN_TEST_LOOP_fI_f1): New macro.
7379 (frexp_test_data): New variable.
7380 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7381
9dc9095d
JM
7382 * math/libm-test.inc (struct test_fF_f1_data): New type.
7383 (RUN_TEST_LOOP_fF_f1): New macro.
7384 (modf_test_data): New variable.
7385 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7386
87aa21df
JM
7387 * math/libm-test.inc (struct test_f_f1_data): New type.
7388 (RUN_TEST_LOOP_f_f1): New macro.
7389 (gamma_test_data): New variable.
7390 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7391 (lgamma_test_data): New variable.
7392 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7393
141af660
CD
73942013-05-13 Carlos O'Donell <carlos@redhat.com>
7395
7396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7397 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7398 (main): Comment "tls" pseudo-hwcap.
7399
6d33265c
JM
74002013-05-13 Joseph Myers <joseph@codesourcery.com>
7401
68fc074c
JM
7402 * math/libm-test.inc (struct test_fl_f_data): New type.
7403 (RUN_TEST_LOOP_fl_f): New variable.
7404 (scalbln_test_data): New variable.
7405 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7406
243216e1
JM
7407 * math/libm-test.inc (struct test_fi_f_data): New type.
7408 (RUN_TEST_LOOP_fi_f): New macro.
7409 (ldexp_test_data): New variable.
7410 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7411 (scalbn_test_data): New variable.
7412 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7413
6a1992e2
JM
7414 * math/libm-test.inc (struct test_c_f_data): New type.
7415 (RUN_TEST_LOOP_c_f): New macro.
7416 (cabs_test_data): New variable.
7417 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7418 (carg_test_data): New variable.
7419 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7420 (cimag_test_data): New variable.
7421 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7422 (creal_test_data): New variable.
7423 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7424
0e400df5
JM
7425 * math/libm-test.inc (struct test_if_f_data): New type.
7426 (RUN_TEST_LOOP_if_f): New macro.
7427 (jn_test_data): New variable.
7428 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7429 (yn_test_data): New variable.
7430 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7431
6d33265c
JM
7432 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7433
f98ece5f
AZ
74342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7435
7436 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7437 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7438
0f7d347b
SP
74392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7440
43fe811b
SP
7441 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7442 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7443 (bench-deps): Add bench-timing.h.
7444 * benchtests-bench-skeleton.c: Include bench-timing.h.
7445 (main): Use TIMING_* macros instead of clock_gettime.
7446 * benchtests/bench-timing.h: New file.
7447
0f7d347b
SP
7448 [BZ #14582]
7449 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7450 Renamed from _LIB_VERSION.
7451 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7452
601a3a5f
JM
74532013-05-12 Joseph Myers <joseph@codesourcery.com>
7454
4f184d30
JM
7455 * math/libm-test.inc (struct test_fff_f_data): New type.
7456 (RUN_TEST_LOOP_fff_f): New macro.
7457 (fma_test_data): New variable.
7458 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7459 (fma_towardzero_test_data): New variable.
7460 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7461 (fma_downward_test_data): New variable.
7462 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7463 (fma_upward_test_data): New variable.
7464 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7465
08198877
JM
7466 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7467 (struct test_c_c_data): New type.
7468 (RUN_TEST_LOOP_c_c): New macro.
7469 (cacos_test_data): New variable.
7470 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7471 (cacosh_test_data): New variable.
7472 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7473 (casin_test_data): New variable.
7474 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7475 (casinh_test_data): New variable.
7476 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7477 (catan_test_data): New variable.
7478 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7479 (catanh_test_data): New variable.
7480 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7481 (ccos_test_data): New variable.
7482 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7483 (ccosh_test_data): New variable.
7484 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7485 (cexp_test_data): New variable.
7486 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7487 (clog_test_data): New variable.
7488 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7489 (clog10_test_data): New variable.
7490 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7491 (conj_test_data): New variable.
7492 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7493 (cproj_test_data): New variable.
7494 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7495 (csin_test_data): New variable.
7496 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7497 (csinh_test_data): New variable.
7498 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7499 (csqrt_test_data): New variable.
7500 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7501 (ctan_test_data): New variable.
7502 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7503 (ctan_tonearest_test_data): New variable.
7504 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7505 (ctan_towardzero_test_data): New variable.
7506 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7507 (ctan_downward_test_data): New variable.
7508 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7509 (ctan_upward_test_data): New variable.
7510 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7511 (ctanh_test_data): New variable.
7512 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7513 (ctanh_tonearest_test_data): New variable.
7514 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7515 (ctanh_towardzero_test_data): New variable.
7516 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7517 (ctanh_downward_test_data): New variable.
7518 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7519 (ctanh_upward_test_data): New variable.
7520 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7521 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7522 of BUILD_COMPLEX.
7523
601a3a5f
JM
7524 * math/libm-test.inc (struct test_ff_f_data): New type.
7525 (struct test_ff_f_data_nexttoward): Likewise.
7526 (RUN_TEST_LOOP_2_f): New macro.
7527 (RUN_TEST_LOOP_ff_f): Likewise.
7528 (atan2_test_data): New variable.
7529 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7530 (copysign_test_data): New variable.
7531 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7532 (fdim_test_data): New variable.
7533 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7534 (fmax_test_data): New variable.
7535 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7536 (fmin_test_data): New variable.
7537 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7538 (fmod_test_data): New variable.
7539 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7540 (hypot_test_data): New variable.
7541 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7542 (nextafter_test_data): New variable.
7543 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7544 (nexttoward_test_data): New variable.
7545 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7546 (pow_test_data): New variable.
7547 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7548 (pow_tonearest_test_data): New variable.
7549 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7550 (pow_towardzero_test_data): New variable.
7551 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7552 (pow_downward_test_data): New variable.
7553 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7554 (pow_upward_test_data): New variable.
7555 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7556 (remainder_test_data): New variable.
7557 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7558 (scalb_test_data): New variable.
7559 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561
74c57478
JM
75622013-05-11 Joseph Myers <joseph@codesourcery.com>
7563
8329e4da
JM
7564 * math/libm-test.inc (fma_test): Use max_value instead of local
7565 variable fltmax.
7566 (nextafter_test): Likewise.
7567
74c57478
JM
7568 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7569 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7570 (acos_downward_test_data): New variable.
7571 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7572 (acos_upward_test_data): New variable.
7573 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7574 (acosh_test_data): New variable.
7575 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7576 (asin_test_data): New variable.
7577 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7578 (asin_tonearest_test_data): New variable.
7579 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7580 (asin_towardzero_test_data): New variable.
7581 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7582 (asin_downward_test_data): New variable.
7583 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7584 (asin_upward_test_data): New variable.
7585 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7586 (asinh_test_data): New variable.
7587 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7588 (atan_test_data): New variable.
7589 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7590 (atanh_test_data): New variable.
7591 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7592 (cbrt_test_data): New variable.
7593 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7594 (ceil_test_data): New variable.
7595 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7596 (cos_test_data): New variable.
7597 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7598 (cos_tonearest_test_data): New variable.
7599 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7600 (cos_towardzero_test_data): New variable.
7601 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7602 (cos_downward_test_data): New variable.
7603 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7604 (cos_upward_test_data): New variable.
7605 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7606 (cosh_test_data): New variable.
7607 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7608 (cosh_tonearest_test_data): New variable.
7609 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7610 (cosh_towardzero_test_data): New variable.
7611 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7612 (cosh_downward_test_data): New variable.
7613 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7614 (cosh_upward_test_data): New variable.
7615 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7616 (erf_test_data): New variable.
7617 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7618 (erfc_test_data): New variable.
7619 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7620 (exp_test_data): New variable.
7621 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7622 (exp_tonearest_test_data): New variable.
7623 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7624 (exp_towardzero_test_data): New variable.
7625 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7626 (exp_downward_test_data): New variable.
7627 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7628 (exp_upward_test_data): New variable.
7629 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7630 (exp10_test_data): New variable.
7631 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7632 (exp2_test_data): New variable.
7633 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7634 (expm1_test_data): New variable.
7635 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7636 (fabs_test_data): New variable.
7637 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7638 (floor_test_data): New variable.
7639 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7640 (j0_test_data): New variable.
7641 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7642 (j1_test_data): New variable.
7643 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7644 (log_test_data): New variable.
7645 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7646 (log10_test_data): New variable.
7647 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7648 (log1p_test_data): New variable.
7649 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7650 (log2_test_data): New variable.
7651 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7652 (logb_test_data): New variable.
7653 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7654 (logb_downward_test_data): New variable.
7655 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7656 (nearbyint_test_data): New variable.
7657 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7658 (rint_test_data): New variable.
7659 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7660 (rint_tonearest_test_data): New variable.
7661 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7662 (rint_towardzero_test_data): New variable.
7663 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7664 (rint_downward_test_data): New variable.
7665 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7666 (rint_upward_test_data): New variable.
7667 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7668 (round_test_data): New variable.
7669 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7670 (sin_test_data): New variable.
7671 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7672 (sin_tonearest_test_data): New variable.
7673 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7674 (sin_towardzero_test_data): New variable.
7675 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7676 (sin_downward_test_data): New variable.
7677 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7678 (sin_upward_test_data): New variable.
7679 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7680 (sinh_test_data): New variable.
7681 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7682 (sinh_tonearest_test_data): New variable.
7683 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7684 (sinh_towardzero_test_data): New variable.
7685 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7686 (sinh_downward_test_data): New variable.
7687 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7688 (sinh_upward_test_data): New variable.
7689 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7690 (sqrt_test_data): New variable.
7691 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7692 (tan_test_data): New variable.
7693 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7694 (tan_tonearest_test_data): New variable.
7695 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7696 (tan_towardzero_test_data): New variable.
7697 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7698 (tan_downward_test_data): New variable.
7699 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7700 (tan_upward_test_data): New variable.
7701 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7702 (tanh_test_data): New variable.
7703 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7704 (tgamma_test_data): New variable.
7705 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7706 (trunc_test_data): New variable.
7707 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7708 (y0_test_data): New variable.
7709 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7710 (y1_test_data): New variable.
7711 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7712 (significand_test_data): New variable.
7713 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7714
7187d844
CG
77152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7716
7717 [BZ #12387]
7718 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7719
f63fae73
PT
77202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7721
7722 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7723
8a67a4b3
AJ
77242013-05-10 Andreas Jaeger <aj@suse.de>
7725
7726 [BZ #15448]
7727 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7728 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7729
51df539d
JM
77302013-05-10 Joseph Myers <joseph@codesourcery.com>
7731
7732 * math/gen-libm-test.pl (adjust_arg): New function.
7733 (special_functions): Handle generating output in both functions
7734 and arrays.
7735 (parse_args): Likewise.
7736 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7737 $in_func argument to parse_args.
7738 * math/libm-test.inc (struct test_f_f_data): New type.
7739 (IF_ROUND_INIT_): New macro.
7740 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7741 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7742 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7743 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7744 (ROUND_RESTORE_): Likewise.
7745 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7746 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7747 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7748 (ROUND_RESTORE_FE_UPWARD): Likewise.
7749 (RUN_TEST_LOOP_f_f): New macro.
7750 (acos_test_data): New variable.
7751 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7752 (acos_tonearest_test_data): New variable.
7753 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7754
5c637fe5
SP
77552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7756
7757 * benchtests/bench-skeleton.c (startup): Fix coding style.
7758
ab2b9461
JM
77592013-05-10 Joseph Myers <joseph@codesourcery.com>
7760
7761 [BZ #6809]
7762 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7763 negative infinity argument.
7764 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7765 negative infinity argument.
7766 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7767 negative infinity argument.
7768 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7769 domain errors.
7770
4c0fe6fe
FW
77712013-05-10 Florian Weimer <fweimer@redhat.com>
7772
7773 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7774 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7775 * iconv/iconv_prog.c (main): Likewise.
7776 * locale/programs/charmap-dir.c (charmap_readdir)
7777 (fopen_uncompressed): Likewise.
7778 * locale/programs/locfile.c (siblings_uncached)
7779 (write_locale_data): Use lstat64 instead of lstat.
7780 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7781 stat.
7782
a3375d29
AJ
77832013-05-10 Andreas Jaeger <aj@suse.de>
7784
7785 [BZ #15395]
7786 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7787 localization.
7788 Include <locale.h>.
7789
36129722
CD
77902013-05-09 Carlos O'Donell <carlos@redhat.com>
7791
7792 * elf/dl-close.c (_dl_close_worker): Add comments.
7793
faa7f811
JM
77942013-05-09 Joseph Myers <joseph@codesourcery.com>
7795
ed41ffef
JM
7796 [BZ #15359]
7797 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7798 high part of pi/2.
7799 (__ieee754_rem_pio2l): Update comments.
7800
d0213cd0
JM
7801 [BZ #15429]
7802 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7803 high part of pi/2.
7804 (__ieee754_rem_pio2l): Update comments.
7805
0d3e777a
JM
7806 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7807 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7808
24f56066
JM
7809 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7810 M_PI_4l.
7811
faa7f811
JM
7812 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7813 (M_PI_34_LOG10El): Likewise.
7814 (M_PI2_LOG10El): Likewise.
7815 (M_PI4_LOG10El): Likewise.
7816 (M_PI_LOG10El): Likewise.
7817
e9a5e0fd
AZ
78182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7819
7820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7821
d8cd06db
JM
78222013-05-08 Joseph Myers <joseph@codesourcery.com>
7823
a0d9f9d7
JM
7824 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7825 (MINUS_ZERO_INIT): Likewise.
7826 (PLUS_INFTY_INIT): Likewise.
7827 (MINUS_INFTY_INIT): Likewise.
7828 (QNAN_VALUE_INIT): Likewise.
7829 (MAX_VALUE_INIT): Likewise.
7830 (MIN_VALUE_INIT): Likewise.
7831 (MIN_SUBNORM_VALUE_INIT): Likewise.
7832 (plus_zero): Initialize with PLUS_ZERO_INIT.
7833 (minus_zero): Initialize with MINUS_ZERO_INIT.
7834 (plus_infty): Initialize with PLUS_INFTY_INIT.
7835 (minus_infty): Initialize with MINUS_INFTY_INIT.
7836 (qnan_value): Initialize with QNAN_VALUE_INIT.
7837 (max_value): Initialize with MAX_VALUE_INIT.
7838 (min_value): Initialize with MIN_VALUE_INIT.
7839 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7840
ae08db3b
JM
7841 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7842 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7843 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7844 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7845
f44bf14a
JM
7846 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7847 (RUN_TEST_2_f): Likewise.
7848 (RUN_TEST_ff_f): Likewise.
7849 (RUN_TEST_fi_f): Likewise.
7850 (RUN_TEST_fl_f): Likewise.
7851 (RUN_TEST_fff_f): Likewise.
7852 (RUN_TEST_c_f): Likewise.
7853 (RUN_TEST_f_f1): Likewise.
7854 (RUN_TEST_fF_f1): Likewise.
7855 (RUN_TEST_fI_f1): Likewise.
7856 (RUN_TEST_ffI_f1): Likewise.
7857 (RUN_TEST_c_c): Likewise.
7858 (RUN_TEST_cc_c): Likewise.
7859 (RUN_TEST_f_i): Likewise.
7860 (RUN_TEST_f_i_tg): Likewise.
7861 (RUN_TEST_ff_i_tg): Likewise.
7862 (RUN_TEST_f_b): Likewise.
7863 (RUN_TEST_f_b_tg): Likewise.
7864 (RUN_TEST_f_l): Likewise.
7865 (RUN_TEST_f_L): Likewise.
7866 (RUN_TEST_sincos): Likewise.
7867 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7868 whether to show exceptions. Do not include ");\n" in return
7869 value.
7870 (special_functions): Output call to RUN_TEST_sincos instead of
7871 check_float calls. Update calls to new_test.
7872 (parse_args): Output call to single RUN_TEST_* macro instead of
7873 check_* calls and other assignments. Update calls to new_test.
7874
d8cd06db
JM
7875 [BZ #2546]
7876 [BZ #2560]
7877 [BZ #5159]
7878 [BZ #15426]
7879 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7880 input to result for tgamma overflow.
7881 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7882 (gamma_coeff): New variable.
7883 (NCOEFF): New macro.
7884 (gamma_positive): New function.
7885 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7886 underflow here. Use gamma_positive instead of exp (lgamma) for
7887 other arguments.
7888 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7889 (gamma_coeff): New variable.
7890 (NCOEFF): New macro.
7891 (gammaf_positive): New function.
7892 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7893 underflow here. Use gamma_positive instead of exp (lgamma) for
7894 other arguments.
7895 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7896 (gamma_coeff): New variable.
7897 (NCOEFF): New macro.
7898 (gammal_positive): New function.
7899 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7900 underflow here. Use gamma_positive instead of exp (lgamma) for
7901 other arguments.
7902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7903 (gamma_coeff): New variable.
7904 (NCOEFF): New macro.
7905 (gammal_positive): New function.
7906 (__ieee754_gammal_r): Handle positive infinity, overflow and
7907 underflow here. Handle NaN the same as positive infinity. Remove
7908 check x < 0xffffffff for negative integers. Use gamma_positive
7909 instead of exp (lgamma) for other arguments.
7910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7911 (gamma_coeff): New variable.
7912 (NCOEFF): New macro.
7913 (gammal_positive): New function.
7914 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7915 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7920 * sysdeps/generic/math_private.h (__gamma_productf): New
7921 prototype.
7922 (__gamma_product): Likewise.
7923 (__gamma_productl): Likewise.
7924 * math/Makefile (libm-calls): Add gamma_product.
7925 * math/libm-test.inc (tgamma_test): Add more tests.
7926 * sysdeps/i386/fpu/libm-test-ulps: Update.
7927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928
bb7cf681
OB
79292013-05-08 Ondřej Bílka <neleai@seznam.cz>
7930
7931 * benchtests/bench-skeleton.c (main): Preheat CPU.
7932
ba853947
AJ
79332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7934
7935 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7936
8347c74c
RM
79372013-05-07 Roland McGrath <roland@hack.frob.com>
7938
7939 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7940 and _dl_skip_args_internal.
7941
e8dd4791
CD
79422013-05-07 Carlos O'Donell <carlos@redhat.com>
7943
7944 * manual/message.texi (Message Translation): Talk about users.
7945 Message to key mapping impacts design.
7946
c7405830
RM
79472013-05-06 Roland McGrath <roland@hack.frob.com>
7948
a9173057
RM
7949 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7950
976e2f03
RM
7951 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7952
9723ffc5
RM
7953 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7954 * sysdeps/wordsize-64/glob64.c: ... here.
7955
962e6658
RM
7956 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7957 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7958 New macros.
7959
ee586a6d
RM
7960 * debug/getlogin_r_chk.c: Moved to ...
7961 * login/getlogin_r_chk.c: ... here.
7962 * debug/Makefile (routines): Move getlogin_r_chk to ...
7963 * login/Makefile (routines): ... here.
7964 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7965 * login/Versions (libc: GLIBC_2.4): ... here.
7966
355f9165
RM
7967 * io/poll.c (__poll): Renamed from poll.
7968 Add libc_hidden_def.
7969 (poll): Define as weak alias.
7970
bd9ffde6
RM
7971 * debug/ptsname_r_chk.c: Moved to ...
7972 * login/ptsname_r_chk.c: ... here.
7973 * debug/Makefile (routines): Move ptsname_r_chk to ...
7974 * login/Makefile (routines): ... here.
7975 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7976 * login/Versions (libc: GLIBC_2.4): ... here.
7977
8fb16a04
RM
7978 * posix/getlogin.c: Moved to ...
7979 * login/getlogin.c: ... here.
7980 * posix/getlogin_r.c: Moved to ...
7981 * login/getlogin_r.c: ... here.
7982 * posix/getlogin_r.c: Moved to ...
7983 * login/getlogin_r.c: ... here.
7984 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7985 * login/Makefile (routines): ... here.
7986 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7987 * login/Versions (libc: GLIBC_2.0): ... here.
7988
b99b892f
RM
7989 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7990 (setrlimit): Define as weak alias.
7991
c7405830
RM
7992 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7993 Call __ names for open, ftruncate, and close.
7994 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7995 (truncate): Define as weak alias.
7996
5bf96de5
JM
79972013-05-06 Joseph Myers <joseph@codesourcery.com>
7998
9ea3513c
JM
7999 * math/gen-libm-test.pl (parse_args): Initialize x before each
8000 test of frexp, modf and remquo.
8001
5bf96de5
JM
8002 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8003 test signgam value.
8004
16e616a7
AZ
80052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006
8007 [BZ #15418]
8008 [BZ #15419]
8009 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8010 internal tests.
8011 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8012
d5e82754
RM
80132013-05-06 Roland McGrath <roland@hack.frob.com>
8014
8015 * elf/dl-writev.h: New file.
8016 * elf/dl-misc.c: Include it.
8017 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8018 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8019
a7548d41
JM
80202013-05-04 Joseph Myers <joseph@codesourcery.com>
8021
b7dab1e4
JM
8022 * math/libm-test.inc (noXFails): Remove variable.
8023 (noXPasses): Likewise.
8024 (BUILD_COMPLEX_INT): Remove macro.
8025 (print_screen): Remove xfail argument.
8026 (print_screen_max_error): Likewise.
8027 (update_stats): Likewise.
8028 (print_max_error): Likewise. Update calls to other affected
8029 functions.
8030 (print_complex_max_error): Likewise.
8031 (test_single_exception): Update calls to print_screen.
8032 (test_single_errno): Likewise.
8033 (check_float_internal): Remove xfail argument. Update calls to
8034 other affected functions.
8035 (check_float): Likewise.
8036 (check_complex): Likewise.
8037 (check_int): Likewise.
8038 (check_long): Likewise.
8039 (check_bool): Likewise.
8040 (check_longlong): Likewise.
8041 (main): Don't print noXFails and noXPasses.
8042 * math/gen-libm-test.pl (top level): Don't mention expected
8043 failure handling in comment.
8044 (new_test): Don't handle expected failures.
8045 (parse_args): Don't mention expected failure handling in comment.
8046 (generate_testfile): Don't handle expected failures.
8047 (parse_ulps): Likewise.
8048 (print_ulps_file): Likewise.
8049 (get_failure): Remove function.
8050 (output_test): Don't handle expected failures.
8051 * make/README.libm-test: Don't mention expected failure handling.
8052
a7548d41
JM
8053 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8054 (minus_zero): Likewise.
8055 (plus_infty): Likewise.
8056 (minus_infty): Likewise.
8057 (qnan_value): Likewise.
8058 (max_value): Likewise.
8059 (min_value): Likewise.
8060 (min_subnorm_value): Likewise.
8061 (initialize): Do not initialize those variables dynamically.
8062
60bfd54c
RM
80632013-05-03 Roland McGrath <roland@hack.frob.com>
8064
cc0e6ed8
RM
8065 * io/open.c (__open_2): Moved to ...
8066 * io/open_2.c: ... this new file.
8067 * io/open64.c (__open64_2): Moved to ...
8068 * io/open64_2.c: ... this new file.
8069 * io/openat.c (__openat_2): Moved to ...
8070 * io/openat_2.c: ... this new file.
8071 * io/openat64.c (__openat64_2): Moved to ...
8072 * io/openat64_2.c: ... this new file.
8073 * io/Makefile (routines): Add them.
8074 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8075 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8076 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8077 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8078 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8079 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8080 (__openat64): Add hidden_ver.
8081 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8082 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8083
60bfd54c
RM
8084 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8085 Separately conditionalize setting of GLRO(dl_sysinfo) so
8086 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8087 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8088
83e7640f
AZ
80892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8090
8091 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8092 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8093 definition.
8094 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8095 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8096 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8097 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8098 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8099
d5dc2af3
JM
81002013-05-03 Joseph Myers <joseph@codesourcery.com>
8101
c31a5b1e
JM
8102 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8103 test signgam value.
8104
d5dc2af3
JM
8105 * math/libm-test.inc (hypot_test): Do not use
8106 IGNORE_ZERO_INF_SIGN.
8107
164fd39d
AJ
81082013-05-03 Andreas Jaeger <aj@suse.de>
8109
8110 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8111 Linux 3.9.
8112 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8113 (PF_MAX): Adjust for VSOCK change.
8114
8237f48c
AZ
81152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116
8117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8118
9df02941
CD
81192013-05-02 Carlos O'Donell <carlos@redhat.com>
8120
8121 [BZ #15264]
8122 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8123 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8124 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8125
d422395e
DM
81262013-05-02 David S. Miller <davem@davemloft.net>
8127
8128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8129
a07c5731
OB
81302013-05-01 Ondřej Bílka <neleai@seznam.cz>
8131
8132 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8133
1324e37f
RM
81342013-05-01 Roland McGrath <roland@hack.frob.com>
8135
8136 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8137
0695940b
RS
81382013-05-01 Richard Smith <richard@metafoo.co.uk>
8139
bb5f27ad 8140 [BZ #14952]
0695940b
RS
8141 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8142 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8143 Use __attribute__ ((__gnu_inline__)).
8144 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8145 Don't use __attribute__ ((__gnu_inline__)).
8146
10de07f5
JM
81472013-05-01 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #15423]
8150 * math/s_catan.c (__catan): Handle small real or imaginary part of
8151 input specially to avoid spurious underflow.
8152 * math/s_catanf.c (__catanf): Likewise.
8153 * math/s_catanh.c (__catanh): Likewise.
8154 * math/s_catanhf.c (__catanhf): Likewise.
8155 * math/s_catanhl.c (__catanhl): Likewise.
8156 * math/s_catanl.c (__catanl): Likewise.
8157 * math/libm-test.inc (catan_test): Add more tests.
8158 (catanh_test): Likewise.
8159 * sysdeps/i386/fpu/libm-test-ulps: Update.
8160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161
cb4d5414
AZ
81622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163
8164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8165
caf84319
JM
81662013-04-30 Joseph Myers <joseph@codesourcery.com>
8167
8168 [BZ #15416]
8169 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8170 accurately for denominator in atan2.
8171 * math/s_catanf.c (__catanf): Likewise.
8172 * math/s_catanh.c (__catanh): Likewise.
8173 * math/s_catanhf.c (__catanhf): Likewise.
8174 * math/s_catanhl.c (__catanhl): Likewise.
8175 * math/s_catanl.c (__catanl): Likewise.
8176 * math/libm-test.inc (catan_test): Add more tests.
8177 (catanh_test): Likewise.
8178 * sysdeps/i386/fpu/libm-test-ulps: Update.
8179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8180
d569c6ee
SP
81812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
6dbe713d
SP
8183 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8184
f0ee064b
SP
8185 * benchtests/Makefile (bench): Remove slow benchmarks.
8186 * benchtests/atan-inputs: Add slow benchmark inputs.
8187 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8188 (BENCH_FUNC): Accept variant offset.
8189 (VARIANT): Define.
8190 * benchtests/bench-skeleton.c (main): Run benchmark for each
8191 variant.
8192 * benchtests/cos-inputs: Add slow benchmark inputs.
8193 * benchtests/exp-inputs: Likewise.
8194 * benchtests/pow-inputs: Likewise.
8195 * benchtests/sin-inputs: Likewise.
8196 * benchtests/slowatan-inputs: Remove.
8197 * benchtests/slowatan.c: Remove.
8198 * benchtests/slowcos-inputs: Remove.
8199 * benchtests/slowcos.c: Remove.
8200 * benchtests/slowexp-inputs: Remove.
8201 * benchtests/slowexp.c: Remove.
8202 * benchtests/slowpow-inputs: Remove.
8203 * benchtests/slowpow.c: Remove.
8204 * benchtests/slowsin-inputs: Remove.
8205 * benchtests/slowsin.c: Remove.
8206 * benchtests/slowtan-inputs: Remove.
8207 * benchtests/slowtan.c: Remove.
8208 * benchtests/tan-inputs: Add slow benchmark inputs.
8209 * scripts/bench.pl: Parse comments and directives.
8210
d569c6ee
SP
8211 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8212 in CPPFLAGS.
8213 ($(objpfx)bench-%.c): Remove *-ITER.
8214 * benchtests/bench-modf.c: Remove definition of ITER.
8215 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8216 (main): Loop for DURATION seconds instead of fixed number of
8217 iterations.
8218 * scripts/bench.pl: Don't expect iterations in parameters.
8219
a6a242fe
RM
82202013-04-29 Roland McGrath <roland@hack.frob.com>
8221
8222 * io/fchdir.c (__fchdir): Renamed from fchdir.
8223 (fchdir): Define as weak alias.
8224
f2da7793
JM
82252013-04-29 Joseph Myers <joseph@codesourcery.com>
8226
8227 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8228 (ERRNO_EDOM): Likewise.
8229 (ERRNO_ERANGE): Likewise.
8230 (noErrnoTests): New variable.
8231 (init_max_error): Set errno to 0.
8232 (test_single_errno): New function.
8233 (test_errno): Likewise.
8234 (check_float_internal): Call test_errno. Set errno to 0.
8235 (check_complex): Refer to errno tests in comment.
8236 (check_int): Call test_errno. Set errno to 0.
8237 (check_long): Likewise.
8238 (check_bool): Likewise.
8239 (check_longlong): Likewise.
8240 (cos_test): Use ERRNO_* flags for errno tests instead of
8241 check_int.
8242 (expm1_test): Likewise.
8243 (fmod_test): Likewise.
8244 (ilogb_test): Likewise.
8245 (lgamma_test): Likewise.
8246 (pow_test): Likewise.
8247 (remainder_test): Likewise.
8248 (sin_test): Likewise.
8249 (tan_test): Likewise.
8250 (yn_test): Likewise.
8251 (initialize): Set errno to 0.
8252 (main): Print number of errno tests.
8253 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8254
b1a36ceb
AJ
82552013-04-29 Andreas Jaeger <aj@suse.de>
8256
c3ed8088
AJ
8257 [BZ #15084]
8258 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8259 and RES_USEVC.
8260
f1a24198
AJ
8261 [BZ #15085]
8262 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8263 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8264 unimplemented.
8265
9ce3b2cb
AJ
8266 [BZ #15380]
8267 * stdlib/random.c (__initstate): Return NULL if
8268 __initstate fails.
8269
f1a24198 8270 [BZ #15086]
b1a36ceb
AJ
8271 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8272 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8273 RES_SNGLKUPREOP.
8274
7e7b6f36
AZ
82752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276
8277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8278
4d14f449
JM
82792013-04-29 Joseph Myers <joseph@codesourcery.com>
8280
8281 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8282 of individual tests.
8283 (casin_test): Likewise.
8284 (casinh_test): Likewise.
8285
5b4217d7
JM
82862013-04-27 Joseph Myers <joseph@codesourcery.com>
8287
8288 [BZ #15409]
8289 * math/s_catan.c (__catan): Handle arguments with large real or
8290 imaginary part separately without squaring.
8291 * math/s_catanf.c (__catanf): Likewise.
8292 * math/s_catanh.c (__catanh): Likewise.
8293 * math/s_catanhf.c (__catanhf): Likewise.
8294 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8295 and redefine.
8296 (__catanhl): Handle arguments with large real or imaginary part
8297 separately without squaring.
8298 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8299 and redefine.
8300 (__catanl): Handle arguments with large real or imaginary part
8301 separately without squaring.
8302 * math/libm-test.inc (catan_test): Add more tests.
8303 (catanh_test): Likewise.
8304 * sysdeps/i386/fpu/libm-test-ulps: Update.
8305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8306
4220c3ef
AJ
83072013-04-27 Andreas Jaeger <aj@suse.de>
8308
8309 [BZ #15007]
8310 * stdlib/stdlib.h: Update guards for qecvt.
8311 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8312 <stdlib.h>.
8313
4721b2d1
AM
83142013-04-27 Allan McRae <allan@archlinux.org>
8315
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317
f0302940
JM
83182013-04-26 Joseph Myers <joseph@codesourcery.com>
8319
9457fd95
JM
8320 [BZ #15406]
8321 * math/s_catan.c: Include <float.h>.
8322 (__catan): Ensure underflow exception occurs for underflowed
8323 result.
8324 * math/s_catanf.c: Include <float.h>.
8325 (__catanf): Ensure underflow exception occurs for underflowed
8326 result.
8327 * math/s_catanh.c: Include <float.h>.
8328 (__catanh): Ensure underflow exception occurs for underflowed
8329 result.
8330 * math/s_catanhf.c: Include <float.h>.
8331 (__catanhf): Ensure underflow exception occurs for underflowed
8332 result.
8333 * math/s_catanhl.c: Include <float.h>.
8334 (__catanhl): Ensure underflow exception occurs for underflowed
8335 result.
8336 * math/s_catanl.c: Include <float.h>.
8337 (__catanl): Ensure underflow exception occurs for underflowed
8338 result.
8339 * math/libm-test.inc (catan_test): Add more tests.
8340 (catanh_test): Likewise.
8341
f0302940
JM
8342 [BZ #15405]
8343 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8344 underflowed result.
8345 * math/s_ccoshf.c (__ccoshf): Likewise.
8346 * math/s_ccoshl.c (__ccoshl): Likewise.
8347 * math/s_csin.c (__csin): Likewise.
8348 * math/s_csinf.c (__csinf): Likewise.
8349 * math/s_csinh.c (__csinh): Likewise.
8350 * math/s_csinhf.c (__csinhf): Likewise.
8351 * math/s_csinhl.c (__csinhl): Likewise.
8352 * math/s_csinl.c (__csinl): Likewise.
8353 * math/libm-test.inc (ccos_test): Add more tests.
8354 (ccosh_test): Likewise.
8355 (csin_test): Likewise.
8356 (csinh_test): Likewise.
8357
aa630f59
AZ
83582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8359
8360 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8361 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8362 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8363 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8364 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8365 powerpc/power5+/fpu folders.
8366 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8367
8368
1b835983
MT
83692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8370
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8372
73709b26
JM
83732013-04-25 Joseph Myers <joseph@codesourcery.com>
8374
8375 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8376 additions to variable.
8377 [$(config-machine) = x86_64] (modules-names): Likewise.
8378 ($(objpfx)tst-audit3): Remove dependency.
8379 ($(objpfx)tst-audit3.out): Likewise.
8380 ($(objpfx)tst-audit4): Likewise.
8381 ($(objpfx)tst-audit4.out): Likewise.
8382 ($(objpfx)tst-audit5): Likewise.
8383 ($(objpfx)tst-audit5.out): Likewise.
8384 ($(objpfx)tst-audit6): Likewise.
8385 ($(objpfx)tst-audit6.out): Likewise.
8386 ($(objpfx)tst-audit7): Likewise.
8387 ($(objpfx)tst-audit7.out): Likewise.
8388 (tst-audit3-ENV): Remove variable.
8389 (tst-audit4-ENV): Likewise.
8390 (tst-audit5-ENV): Likewise.
8391 (tst-audit6-ENV): Likewise.
8392 (tst-audit7-ENV): Likewise.
8393 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8394 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8395 addition to variable.
8396 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8397 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8398 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8399 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8400 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8401 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8402 tst-audit3, tst-audit4 and tst-audit5.
8403 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8404 tst-audit6 and tst-audit7.
8405 [$(subdir) = elf] (modules-names): Add audit modules for those
8406 tests.
8407 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8408 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8409 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8410 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8411 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8412 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8413 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8414 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8415 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8416 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8417 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8418 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8419 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8420 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8421 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8422 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8423 Likewise.
8424 [$(subdir) = elf && $(config-cflags-avx) = yes]
8425 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8426 [$(subdir) = elf && $(config-cflags-avx) = yes]
8427 (CFLAGS-tst-auditmod4a.c): Likewise.
8428 [$(subdir) = elf && $(config-cflags-avx) = yes]
8429 (CFLAGS-tst-auditmod4b.c): Likewise.
8430 [$(subdir) = elf && $(config-cflags-avx) = yes]
8431 (CFLAGS-tst-auditmod6b.c): Likewise.
8432 [$(subdir) = elf && $(config-cflags-avx) = yes]
8433 (CFLAGS-tst-auditmod6c.c): Likewise.
8434 [$(subdir) = elf && $(config-cflags-avx) = yes]
8435 (CFLAGS-tst-auditmod7b.c): Likewise.
8436 * elf/tst-audit3.c: Move to ...
8437 * sysdeps/x86_64/tst-audit3.c: ... here.
8438 * elf/tst-audit4.c: Move to ...
8439 * sysdeps/x86_64/tst-audit4.c: ... here.
8440 * elf/tst-audit5.c: Move to ...
8441 * sysdeps/x86_64/tst-audit5.c: ... here.
8442 * elf/tst-audit6.c: Move to ...
8443 * sysdeps/x86_64/tst-audit6.c: ... here.
8444 * elf/tst-audit7.c: Move to ...
8445 * sysdeps/x86_64/tst-audit7.c: ... here.
8446 * elf/tst-auditmod3a.c: Move to ...
8447 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8448 * elf/tst-auditmod3b.c: Move to ...
8449 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8450 * elf/tst-auditmod4a.c: Move to ...
8451 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8452 * elf/tst-auditmod4b.c: Move to ...
8453 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8454 * elf/tst-auditmod5a.c: Move to ...
8455 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8456 * elf/tst-auditmod5b.c: Move to ...
8457 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8458 * elf/tst-auditmod6a.c: Move to ...
8459 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8460 * elf/tst-auditmod6b.c: Move to ...
8461 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8462 * elf/tst-auditmod6c.c: Move to ...
8463 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8464 * elf/tst-auditmod7a.c: Move to ...
8465 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8466 * elf/tst-auditmod7b.c: Move to ...
8467 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8468
1ef74943
PP
84692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8470
8471 [BZ #15366]
8472 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8473 define unconditionally.
8474 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8475 define unconditionally.
8476 (INT8_C, INT16_C, etc.): Likewise.
8477
93fd48c5
MR
84782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8479
ae9552cf
MR
8480 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8481 __ehdr_start with hidden visibility.
8482
93fd48c5
MR
8483 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8484
418601aa
CD
84852013-04-24 Carlos O'Donell <carlos@redhat.com>
8486
8487 * math/libm-test.inc (cos_test): Use accurate hex constants.
8488 (sincost_test): Likewise.
8489
2f38fbfe
JM
84902013-04-24 Joseph Myers <joseph@codesourcery.com>
8491
5e221800
JM
8492 * math/libm-test.inc (catan_test): Add more tests.
8493 (catanh_test): Likewise.
8494
77f143fd
JM
8495 * math/s_catanf.c (__catanf): Use suffixed floating-point
8496 constants.
8497 * math/s_catanhf.c (__catanhf): Likewise.
8498 * math/s_catanhl.c (__catanhl): Likewise.
8499 * math/s_catanl.c (__catanl): Likewise.
8500
2f38fbfe
JM
8501 [BZ #15394]
8502 * math/s_catan.c (__catan): Calculate imaginary part of result
8503 with log1p not log unless computing log of number close to 0.
8504 * math/s_catanf.c (__catanf): Likewise.
8505 * math/s_catanl.c (__catanl): Likewise.
8506 * math/s_catanh.c (__catanh): Calculate real part of result with
8507 log1p not log unless computing log of number close to 0.
8508 * math/s_catanhf.c (__catanhf): Likewise.
8509 * math/s_catanhl.c (__catanhl): Likewise.
8510 * math/libm-test.inc (catan_test): Add more tests.
8511 (catanh_test): Likewise.
8512 * sysdeps/i386/fpu/libm-test-ulps: Update.
8513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514
45d69176
SP
85152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8516
8517 * benchtests/Makefile: Mention files in which fast and slow
8518 paths of math functions are implemented.
8519
87f51853
RM
85202013-04-23 Roland McGrath <roland@hack.frob.com>
8521
8522 * sysdeps/posix/timespec_get.c: New file.
8523
3c026539
AZ
85242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8525
8526 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8527 POWER.
8528 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8529 for POWER.
8530 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8531 powerpc/power5/fpu folders.
8532 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8533 * benchtests/Makefile: Add modf testcase.
8534 * benchtests/bench-modf.c: New file: Benchmark test for mo
8535
ff491d14
SP
85362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 [BZ #14888]
8539 * time/Makefile (tests): Add tst-strptime-whitespace.
8540 * time/strptime_l.c (get_number): Use ISSPACE.
8541 (__strptime_internal): Likewise.
8542 * time/tst-strptime-whitespace.c: New test case.
8543
7ed3f4e8
AS
85442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8545
8546 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8547 member.
8548 (_nss_files_init): Set it here.
8549
5c95f7b6
HC
85502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8551
8552 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8553 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8554 unsigned.
8555
d34c9158
JBG
85562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8557
8558 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8559
2169712d
SP
85602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8561
8562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8563 size just once.
8564
29c5de99
DM
85652013-04-21 David S. Miller <davem@davemloft.net>
8566
8567 * po/ru.po: Update Russion translation from translation project.
8568
ccdad15d
AC
85692013-04-17 Adam Conrad <adconrad@0c3.net>
8570
8571 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8572 and setfsgid.
8573
0f122b8d
CD
85742013-04-17 Carlos O'Donell <carlos@redhat.com>
8575
5c5b07da 8576 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8577 * configure: Regenerate.
5c5b07da 8578 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8579 Add example to error message.
8580 * sysdeps/i386/configure: Regenerate.
8581
037714dd
SP
85822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8583
8584 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8585 slowtan.
8586 * benchtests/cos-inputs: New file.
8587 * benchtests/slowcos-inputs: New file.
8588 * benchtests/slowcos.c: New file.
8589 * benchtests/slowtan-inputs: New file.
8590 * benchtests/slowtan.c: New file.
8591 * benchtests/tan-inputs: New file.
8592
e913141d
RM
85932013-04-16 Roland McGrath <roland@hack.frob.com>
8594
8595 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8596 considered kosher.
8597
a2964074
SP
85982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
4856bcd2
SP
8600 * benchtests/Makefile: Include cppflags-iterator.mk to add
8601 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8602
a2964074
SP
8603 * Makefile.in (bench-clean): New target.
8604 * benchtests/Makefile (bench-clean): Likewise.
8605
9fbf9aca
DH
86062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8607
8608 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8609
207d1e2a
TS
86102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8611
8612 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8613
306dfba9
AS
86142013-04-15 Andreas Schwab <schwab@suse.de>
8615
8616 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8618 * nscd/pwdcache.c (cache_addpw): Likewise.
8619 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8620 more than recsize.
8621
206a6699
SP
86222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8623
8624 * benchtests/Makefile (bench): Write all output to
8625 bench-out.tmp together.
8626
0582f6b3
AS
86272013-04-15 Andreas Schwab <schwab@suse.de>
8628
8629 * nscd/nscd.c (main): Don't fork again after closing files.
8630
acb4325f
SP
86312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
5cb26d0a
SP
8633 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8634
acb4325f
SP
8635 * benchtests/Rules (bench-deps): Collect dependencies into a
8636 single variable. Add Makefile to dependencies.
8637 ($(objpfx)bench-%.c): Depend on bench-deps.
8638
47792506
RM
86392013-04-12 Roland McGrath <roland@hack.frob.com>
8640 Xavier Roche <roche+kml2@exalead.com>
8641
8642 [BZ #15361]
8643 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8644 just that it's a file descriptor.
8645 * manual/llio.texi (Synchronizing AIO Operations): Update description
8646 for EBADF error from aio_fsync.
8647
8fc1bee5
SP
86482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 * Rules (bench): Move target definition...
8651 * benchtests/Makefile: ... here.
8652
aba5e333
CD
86532013-04-11 Carlos O'Donell <carlos@redhat.com>
8654
8655 * math/libm-test.inc (cos_test): Fix PI/2 test.
8656 (sincos_test): Likewise.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8658 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8659
273cdee8
AS
86602013-04-11 Andreas Schwab <schwab@suse.de>
8661
6ecec3b6
AS
8662 [BZ #13988]
8663 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8664 accept exponent character only when digits were seen.
8665 * stdio-common/Makefile (tests): Add bug26.
8666 * stdio-common/bug26.c: New file.
8667
273cdee8
AS
8668 [BZ #14293]
8669 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8670 non-freeable.
8671
8da491f5
SP
86722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8673
01dc6df9
SP
8674 * Makeconfig (rtld-prefix): Define built linker prefix.
8675 * Rules (run-bench): Use it.
8676 * math/Makefile (run-regen-ulps): Likewise.
8677
8da491f5
SP
8678 * Rules (bench): Remove eval.
8679
abe7f530
SP
86802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8681 Roland McGrath <roland@hack.frob.com>
8682 Ondrej Bilka <neleai@seznam.cz>
8683
8684 [BZ #15346]
8685 * time/getdate.c: Include ctype.h and alloca.h.
8686 (__getdate_r): Trim leading and trailing spaces of input.
8687 * time/tst-getdate.c (tests): Add tests with leading and
8688 trailing spaces.
8689
61c23e62
RM
86902013-04-08 Roland McGrath <roland@hack.frob.com>
8691
8692 [BZ #14280]
8693 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8694 when computing value.
8695
7208a313
CD
86962013-04-06 Carlos O'Donell <carlos@redhat.com>
8697
085b2d41
CD
8698 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8699 Use testrun.sh to run libm tests.
8700
7208a313
CD
8701 [BZ #15309]
8702 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8703
872c0acd
MM
87042013-04-06 Marko Myllynen <myllynen@redhat.com>
8705
8706 [BZ #15264]
8707 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8708
26510bdd
CD
87092013-04-06 Carlos O'Donell <carlos@redhat.com>
8710
8711 * Makefile.in (regen-ulps): New target.
8712 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8713 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8714 [ifneq (no,$(PERL)] (regen-ulps): New target.
8715 [ifeq (no,$(PERL)] (regen-ulps): New target.
8716 * math/libm-test.inc (ulps_file_name): Define.
8717 (output_dir): New variable.
8718 (options): Add "output-dir" option.
8719 (parse_opt): Handle 'o' case.
8720 (main): If output_dir is non-NULL use it as a prefix
8721 otherwise use "".
8722 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8723
a01f19c8
CD
87242013-04-06 Carlos O'Donell <carlos@redhat.com>
8725
8726 [BZ #10060, #10062]
8727 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8728 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8729 fail configure if __sync_val_compare_and_swap is not inlined.
8730 * sysdeps/i386/configure: Regenerate.
8731 * configure.in: Build for i686 when configured for i386.
8732 * configure: Regenerate.
8733 * README: Remove i386 reference.
8734
b7a329a5
CD
87352013-04-06 Carlos O'Donell <carlos@redhat.com>
8736
8737 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8739
bf0f50df
TS
87402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8741
ee091edf
TS
8742 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8743 (lmsnanval): New variables.
8744 (F): Add conversion tests.
8745 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8746 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8747
a8b792d6
TS
8748 * stdio-common/tstdiomisc.c (F): Properly collect individual
8749 tests' results.
8750
a1cbf437
TS
8751 [BZ #14686, #15336]
8752 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8753 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8754 Instead, use input NaN values or generate a qNaN by arithmetic
8755 operation. Also fix bugs to comply with the standard.
8756 * math/libm-test.inc (remainder_test): Add more tests.
8757
8b43a0c9
TS
8758 [BZ #15335, #15342]
8759 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8761 input NaN values or generate a qNaN by arithmetic operation.
8762
d91da4ce
TS
8763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8764 unreachable code.
8765
bf0f50df
TS
8766 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8767 definitions.
8768
05e166c8
JM
87692013-04-03 Joseph Myers <joseph@codesourcery.com>
8770
8771 [BZ #14478]
8772 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8773 underflowed result.
8774 * math/s_cexpf.c (__cexpf): Likewise.
8775 * math/s_cexpl.c (__cexpl): Likewise.
8776 * math/libm-test.inc (cexp_test): Add more tests.
8777
1cef1b19
AS
87782013-04-03 Andreas Schwab <schwab@suse.de>
8779
8780 [BZ #15330]
8781 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8782 order arrays from heap if bigger than alloca cutoff.
8783
74d87055
TS
87842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8785
8786 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8787 (SNAN_TESTS_double): Refer to GCC PR56831.
8788 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8789 GCC PR56828.
8790
d755bba4
SP
87912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
90d5d5bb
SP
8793 * Rules (bench): Move bench.out after the run is complete.
8794
73e0cd5d
SP
8795 * Rules (bench): Echo currently running benchmark.
8796
64aabd4b
SP
8797 * benchtests/Makefile (bench): Add atan and slowatan.
8798 * benchtests/atan-inputs: New file.
8799 * benchtests/slowatan-inputs: New file.
8800 * benchtests/slowatan.c: New file.
8801
c871eccd
SP
8802 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8804 its value.
8805
d755bba4
SP
8806 [BZ #15305]
8807 * sysdeps/unix/sysv/linux/kernel-features.h
8808 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8809 __ASSUME_XFS_RESTRICTED_CHOWN.
8810 * sysdeps/unix/sysv/linux/pathconf.c
8811 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8812 Save and restore errno.
8813
52ce4860
JM
88142013-04-02 Joseph Myers <joseph@codesourcery.com>
8815
8816 [BZ #15327]
8817 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8818 arguments using __kernel_casinh.
8819 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8820 arguments using __kernel_casinhf.
8821 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8822 arguments using __kernel_casinhl.
8823 * math/libm-test.inc (cacosh_test): Add more tests.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826
81f311c2
SP
88272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
e7906a47
SP
8829 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8831
92e3664b
SP
8832 * bench/Makefile (bench): Add sin and slowsin.
8833 * benchtests/sin-inputs: New file.
8834 * benchtests/slowsin-inputs: New file.
8835 * benchtests/slowsin.c: New file.
8836
81f311c2
SP
8837 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8838 (bench): Add slowexp and slowpow.
8839 (exp-ITER): Increase iterations.
8840 (pow-ITER): Likewise.
8841 * benchtests/exp-inputs: Change input.
8842 * benchtests/pow-inputs: Likewise.
8843 * benchtests/slowexp-inputs: New file.
8844 * benchtests/slowexp.c: New file.
8845 * benchtests/slowpow-inputs: New file.
8846 * benchtests/slowpow.c: New file.
8847
ab0f1aa9
AZ
88482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849
8850 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8851 instructions.
8852 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8853 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8854 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8855 * benchtests/Makefile: Add rint benchtest.
8856 * benchtests/rint-inputs: Input for rint benchtest.
8857
57267616
TS
88582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8859
8860 * Versions.def (libm): Add GLIBC_2.18.
8861 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8862 hidden libm prototypes.
8863 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8864 * math/Makefile (libm-calls): Add s_issignaling.
8865 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8866 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8867 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8868 declaration.
8869 * math/math.h [__USE_GNU] (issignaling): New macro.
8870 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8871 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8876 * manual/arith.texi (issignaling): New section.
8877 * manual/libm-err-tab.pl (@all_functions): Update comment.
8878 * math/gen-libm-test.pl (parse_args): Apply special handling for
8879 issignaling.
8880 * math/libm-test.inc (print_float, issignaling_test): New
8881 functions.
8882 (check_float_internal): Add issignaling checks.
8883 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8884 default definition.
8885 * sysdeps/powerpc/math-tests.h: New file.
8886 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8887 tests.
8888 * math/test-snan.c (TEST_FUNC): Likewise.
8889
6142896d
DM
88902013-03-30 David S. Miller <davem@davemloft.net>
8891
8892 * po/de.po: Update from translation team.
8893
ccc8cadf
JM
88942013-03-30 Joseph Myers <joseph@codesourcery.com>
8895
8896 [BZ #10357]
8897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8898 imaginary part less than 1.0 and real part less than 0.5
8899 specially.
8900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8902 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8903 (cacos_test): Add more tests.
8904 (casin_test): Likewise.
8905 (casinh_test): Likewise.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908
0f6a8d4b
SP
89092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8910
0d1029de
SP
8911 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8912 ONE with its value.
8913
c2d94018
SP
8914 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8915 (__pow_mp): Replace ONE and MONE with their values.
8916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8918 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8919 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8920 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8921 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8922
27ec37f1
SP
8923 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8924
a64d7e0e
SP
8925 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8926 (__pow_mp): Replace ZERO and MZERO with their values.
8927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8932 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8933 (__sqr): Likewise.
8934
d26dd3eb
SP
8935 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8936
0f6a8d4b
SP
8937 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8938
e57b0c61
RM
89392013-03-28 Roland McGrath <roland@hack.frob.com>
8940
8941 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8942 Declare with __attribute__ ((weak)).
8943 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8944 Call __call_tls_dtors only if it's not NULL.
8945
356b3480
RM
89462013-03-28 Roland McGrath <roland@hack.frob.com>
8947
288f7d79
RM
8948 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8949 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8950 magic __ehdr_start linker symbol if it's defined.
8951 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8952 them up here if it was already done.
8953
dc0a0263
RM
8954 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8955 (_dl_aux_init): Use const in cast when setting it.
8956 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8957 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8958 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8959
3d3436ae
RM
8960 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8961 Declare them here.
8962 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8963 * csu/libc-tls.c: Nor here.
8964 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8965
356b3480
RM
8966 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8967 (__libc_message): Never call vsyslog.
8968
b0f1246a
AM
89692013-03-28 Alan Modra <amodra@gmail.com>
8970
8971 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8972 Define as empty.
8973 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8974 Likewise.
8975
fbbe2b9a
AZ
89762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8977
8978 [BZ #15214]
8979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8980 underflow.
8981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8982
1728ab37
SP
89832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8984
7a86be6e
SP
8985 [BZ #15304]
8986 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8987 Don't add gid passed as argument.
8988
1728ab37
SP
8989 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8990
3a7182a1
JM
89912013-03-27 Joseph Myers <joseph@codesourcery.com>
8992
8993 [BZ #15307]
8994 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8995 imaginary part between 1.0 and 1.5 and real part less than 0.5
8996 specially.
8997 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8998 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8999 * math/libm-test.inc (cacos_test): Add more tests.
9000 (casin_test): Likewise.
9001 (casinh_test): Likewise.
9002 * sysdeps/i386/fpu/libm-test-ulps: Update.
9003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9004
6f2e90e7
SP
90052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9006
5739f705
SP
9007 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9008 constants.
9009 (norm): Likewise.
9010 (denorm): Likewise.
9011 (__dbl_mp): Likewise.
9012 (add_magnitudes): Likewise.
9013 (sub_magnitudes): Likewise.
9014 (__add): Likewise.
9015 (__sub): Likewise.
9016 (__mul): Likewise.
9017 (__sqr): Likewise.
9018 (__inv): Likewise.
9019 (__dvd): Likewise.
9020
e375e83d
SP
9021 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9022 commented code.
9023 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9024 (__dubcos): Likewise.
9025 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9026 (__ieee754_acos): Likewise.
9027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9028 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9029 (__exp1): Likewise.
9030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9032 (log1): Likewise.
9033 (my_log2): Likewise.
9034 (checkint): Likewise.
9035 * sysdeps/ieee754/dbl-64/e_remainder.c
9036 (__ieee754_remainder): Likewise.
9037 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9038 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9039 (bsloww): Likewise.
9040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9041
6f2e90e7
SP
9042 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9044 MANTISSA_STORE_T to store computations on mantissa. Use
9045 macros for rounding and division.
9046 (denorm): Likewise.
9047 (__dbl_mp): Likewise.
9048 (add_magnitudes): Likewise.
9049 (sub_magnitudes): Likewise.
9050 (__mul): Likewise.
9051 (__sqr): Likewise.
9052 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9053 powers of two in terms of TWOPOW macro.
9054 (mp_no): Make type of mantissa as MANTISSA_T.
9055 [!RADIXI]: Define RADIXI.
9056 [!TWO52]: Define TWO52.
9057 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9058
fce14d4e
AZ
90592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9060
9061 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9062 llroundl symbol when building for PPC32.
9063
9ad027fb
MW
90642013-03-24 Mark H Weaver <mhw@netris.org>
9065
9066 * manual/arith.texi (Normalization Functions): Fix prototypes for
9067 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9068
e42a38dd
AZ
90692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9070
9071 [BZ #13889]
9072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9073 high value to check if expl overflow.
9074 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9075 to check for underflow and overflow.
9076 * math/libm-test.inc: Add exp test.
9077
2e0fb521
DL
90782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9079
9080 [BZ #11120]
9081 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9082 with NOT_IN_libc.
9083
b5784d95
AZ
90842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085
9086 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9087 symbol.
9088
5aa4a1a1
TS
90892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9090
bdef0be7
TS
9091 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9092 wrap blocks consisting of several statements.
9093
5aa4a1a1
TS
9094 * sysdeps/generic/math-tests.h: New file.
9095 * sysdeps/i386/fpu/math-tests.h: Likewise.
9096 * math/test-snan.c: Include it.
9097 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9098
98c48fe5
JM
90992013-03-21 Joseph Myers <joseph@codesourcery.com>
9100
9101 [BZ #15285]
9102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9103 (__ieee754_j0l): Do not improve calculations using cos of twice
9104 input for inputs above LDBL_MAX / 2.0L.
9105 (__ieee754_y0l): Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9107 (__ieee754_j1l): Do not improve calculations using cos of twice
9108 input for inputs above LDBL_MAX / 2.0L.
9109 (__ieee754_y1l): Likewise.
9110 * math/libm-test.inc (j0_test): Add another test.
9111 (j1_test): Likewise.
9112 (y0_test): Likewise.
9113 (y1_test): Likewise.
9114 * sysdeps/i386/fpu/libm-test-ulps: Update.
9115
3775a8bc
SP
91162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
9118 * Rules ($(objpfx)bench-%.c): Include code from a C source
9119 file.
9120
0a1b2ae6
JM
91212013-03-21 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #15287]
9124 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9125 imaginary part 1.0 and real part less than 0.5 specially.
9126 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9127 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9128 * math/libm-test.inc (cacos_test): Add more tests.
9129 (casin_test): Likewise.
9130 (casinh_test): Likewise.
9131 * sysdeps/i386/fpu/libm-test-ulps: Update.
9132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9133
b33d4ce4
SP
91342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9135
9136 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9137 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9138
bef0b507
JM
91392013-03-20 Joseph Myers <joseph@codesourcery.com>
9140
9141 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9142 * config.make.in (config-cflags-sse4): Remove variable.
9143 (config-cflags-avx): Likewise.
9144 (config-cflags-sse2avx): Likewise.
9145 (config-cflags-novzeroupper): Likewise.
9146 (config-asflags-i686): Likewise.
9147 (have-mfma4): Likewise.
9148 (have-as-vis3): Likewise.
9149 (MIG): Likewise.
9150 * configure.in (MIG): Do not AC_SUBST.
9151 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9152 (libc_cv_cc_sse4): Do not AC_SUBST.
9153 (libc_cv_cc_avx): Likewise.
9154 (libc_cv_cc_sse2avx): Likewise.
9155 (libc_cv_cc_novzeroupper): Likewise.
9156 (libc_cv_cc_fma4): Likewise.
9157 (libc_cv_as_i686): Likewise.
9158 (libc_cv_sparc_as_vis3): Likewise.
9159 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9160 LIBC_CONFIG_VAR.
9161 (config-asflags-i686): Likewise.
9162 (config-cflags-avx): Likewise.
9163 (config-cflags-sse2avx): Likewise.
9164 (have-mfma4): Likewise.
9165 (config-cflags-novzeroupper): Likewise.
9166 * sysdeps/mach/configure.in (MIG): Likewise.
9167 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9168 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9169 LIBC_CONFIG_VAR.
9170 (config-cflags-avx): Likewise.
9171 (config-cflags-sse2avx): Likewise.
9172 (have-mfma4): Likewise.
9173 (config-cflags-novzeroupper): Likewise.
9174 * configure: Regenerated.
9175 * sysdeps/i386/configure: Likewise.
9176 * sysdeps/mach/configure: Likewise.
9177 * sysdeps/sparc/configure: Likewise.
9178 * sysdeps/x86_64/configure: Likewise.
9179
912cc4b3
RM
91802013-03-20 Roland McGrath <roland@hack.frob.com>
9181
9182 [BZ #14812]
9183 * locale/programs/localedef.c (options): Put N_ translation marker
9184 on argument names, not just descriptions.
9185
04eed2b0
MS
91862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9187
9188 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9189
a065ceff
OB
91902013-03-20 Ondřej Bílka <neleai@seznam.cz>
9191
9bb2a810 9192 [BZ #14176]
a065ceff
OB
9193 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9194
a600e5ce
RM
91952013-03-19 Roland McGrath <roland@hack.frob.com>
9196
9197 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9198 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9199 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9200 [!BEFORE_ABORT] (before_abort): New function.
9201 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9202 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9203 (writev_for_fatal): New function.
9204 (WRITEV_FOR_FATAL): New macro; call that.
9205 (backtrace_and_maps): New function.
9206 (BEFORE_ABORT): New macro; call that.
9207 (struct str_list): Type removed.
9208 (__libc_message, __libc_fatal): Functions removed.
9209 Include <sysdeps/posix/libc_fatal.c> instead.
9210
6b18bea6
JM
92112013-03-19 Joseph Myers <joseph@codesourcery.com>
9212
9213 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9214 constants.
9215 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9216 double constants.
9217
aaa8cb4b
AS
92182013-03-19 Andreas Schwab <schwab@suse.de>
9219
44673770
AS
9220 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9221 * sysdeps/gnu/configure: Regenerate.
9222
aaa8cb4b
AS
9223 * configure.in: Substitute libc_cv_rtlddir.
9224 * configure: Regenerate.
9225 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9226 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9227 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9228 * elf/Makefile (install-others, CFLAGS-interp.c)
9229 (ldso_install, common-ldd-rewrite): Likewise.
9230 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9231 $(inst_slibdir)/$(rtld-installed-name).
9232 * scripts/rellns-sh: Add -p option.
9233 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9234 for source.
9235
d3cfc668
SP
92362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9237
9238 * manual/nptl.texi: Renamed to ...
9239 * manual/threads.texi: ... this.
9240 * manual/Makefile (chapters): Update.
9241
0e2b9cdd
RM
92422013-03-18 Roland McGrath <roland@hack.frob.com>
9243
9244 [BZ #14812]
9245 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9246 on argument names, not just descriptions.
0e2b9cdd
RM
9247 * malloc/memusagestat.c (options): Likewise.
9248 * nss/getent.c (options): Likewise.
63270c24
RM
9249
92502013-03-18 Benno Schulenberg <bensberg@justemail.net>
9251
9252 [BZ #14812]
9253 * iconv/iconv_prog.c (options): Put N_ translation marker
9254 on argument names, not just descriptions.
9255 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9256
b2e1393c
OB
92572013-03-18 Ondrej Bilka <neleai@seznam.cz>
9258
9259 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9260 implementation which is faster on all x86_64 architectures.
9261 Tested on AMD, Intel Nehalem, SNB, IVB.
9262 * sysdeps/x86_64/strnlen.S: Likewise.
9263
9264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9265 Remove all multiarch strlen and strnlen versions.
9266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9267 Remove strlen and strnlen related parts.
9268
9269 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9270 Inline strlen part.
9271 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9272
9273 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9274 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9275 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9276 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9277 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9278 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9279
ec4ff04d
CD
92802013-03-17 Carlos O'Donell <carlos@redhat.com>
9281
9282 * manual/memory.texi (Malloc Tunable Parameters):
9283 Sort parameters alphabetically. Add comments for missing entries.
9284
cd18e90a
DM
92852013-03-17 David S. Miller <davem@davemloft.net>
9286
9287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9288
2a185d32
JM
92892013-03-16 Joseph Myers <joseph@codesourcery.com>
9290
d2f9799e
JM
9291 [BZ #15283]
9292 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9293 for arguments at most half maximum finite value.
9294 * math/libm-test.inc (j0_test): Add more tests.
9295 (j1_test): Likewise.
9296 (y0_test): Likewise.
9297 (y1_test): Likewise.
9298 * sysdeps/i386/fpu/libm-test-ulps: Update.
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9300
2a185d32
JM
9301 [BZ #14155]
9302 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9303 1 / x and functions P and Q for arguments above 0x1p256L.
9304 (__ieee754_y0l): Likewise.
9305 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9306 (__ieee754_y1l): Likewise.
9307 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9308 (j1_test): Likewise.
9309 (y0_test): Likewise.
9310 (y1_test): Likewise.
9311
6cbec759
TS
93122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9313
9314 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9315 variable.
9316
bc16e260
RM
93172013-03-15 Roland McGrath <roland@hack.frob.com>
9318
aefc9b8c
RM
9319 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9320 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9321 zero since it's initialized to EXEC_PAGESIZE.
9322
bc16e260
RM
9323 * sysdeps/unix/sysv/linux/ldsodefs.h
9324 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9325 * sysdeps/generic/ldsodefs.h: ... here.
9326
a57da955
TS
93272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9328
af00a34d
TS
9329 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9330
495ded2c
TS
9331 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9332 math/test-snan.c.
9333 * math/test-snan.c: Renamed from
9334 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9335 * math/Makefile (tests): Add test-snan.
9336 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9337 test-powerpc-snan.
9338
777b0332
TS
9339 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9340 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9341 functions.
9342 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9343 __builtin_nan family of functions.
9344 * math/libm-test.inc (initialize): Initialize qnan_value with
9345 __builtin_nan family of functions.
9346 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9347 Remove variables.
9348 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9349 Remove functions.
9350 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9351 storage class. Initialize qNaN_var and sNaN_var with
9352 __builtin_nan and __builtin_nans families of functions,
9353 respectively.
9354
64d063b8
TS
9355 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9356 (sqrt_test): Remove duplicate test with qNaN input.
9357 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9358 (round_test, signbit_test, significand_test): Note missing +/-Inf
9359 as well as qNaN tests.
9360
67e971f1
TS
9361 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9362 qNaN_var. Fix a few strings, too.
9363 * math/libm-test.inc (nan_value): Rename to qnan_value.
9364 * math/gen-libm-test.pl (%beautify): Adjust to that.
9365 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9366 * math/test-misc.c (main): Likewise.
9367 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9368 to __qnan_bytes, and __qnan_union, respectively.
9369 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9370 Likewise.
9371 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9372 and lqnanval, respectively.
9373 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9374 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9375 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9376 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9377
64487e12
TS
9378 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9379 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9380 doubles.
9381
e015e27b
TS
9382 * math/test-misc.c (main): Fix copy'n'pastos.
9383 * misc/tst-efgcvt.c (special): Likewise.
9384
a57da955
TS
9385 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9386 Remove declarations.
9387
1e380345
SP
93882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9389
9390 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9391 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9392 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9394
ef26eece
AZ
93952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9396
9397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9398 macro to return vdso values correctly in IFUNC implementations.
9399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9400 Optimization by using IFUNC.
9401
8cfdb7e0
SP
94022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9403 Richard Henderson <rth@redhat.com>
9404 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9405
9406 * Makefile.in (bench): New target.
9407 * NEWS: Mention the benchmark framework.
9408 * Rules (bench): Likewise.
9409 (binaries-bench): Generate binaries for functions to
9410 benchmark.
9411 * benchtests/Makefile: New makefile for benchmark tests.
9412 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9413 programs.
9414 * benchtests/exp-inputs: New input file for EXP function.
9415 * benchtests/pow-inputs: New input file for POW function.
9416 * scripts/bench.pl: New script to generate source files for
9417 benchmark programs.
9418
bcda9880
SP
94192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9420
d22ca8cd
SP
9421 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9423 computations on mantissa. Use macros for rounding and
9424 division.
9425 (denorm): Likewise.
9426 (__dbl_mp): Likewise.
9427 (add_magnitudes): Likewise.
9428 (sub_magnitudes): Likewise.
9429 (__mul): Likewise.
9430 (__sqr): Likewise.
9431 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9432 powers of two in terms of TWOPOW macro.
9433 (mp_no): Make type of mantissa as MANTISSA_T.
9434 [!RADIXI]: Define RADIXI.
9435 [!TWO52]: Define TWO52.
9436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9437
bcda9880
SP
9438 * manual/nptl.texi (cindex): Modify threads to pthreads.
9439
06d5adfb
JM
94402013-03-15 Joseph Myers <joseph@codesourcery.com>
9441
9442 * sysdeps/x86_64/preconfigure: Regenerated.
9443
41c7328e
JM
94442013-03-14 Joseph Myers <joseph@codesourcery.com>
9445
9446 [BZ #14155]
9447 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9448 0x1p28 and above.
9449 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9450 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9451 0x1p28 and above.
9452 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9453 * math/libm-test.inc (j0_test): Do not allow one spurious
9454 underflow exception.
9455 (y1_test): Likewise.
9456
e25cfa60
SP
94572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9458
0409959c
SP
9459 * manual/Makefile (chapters): Add nptl.
9460 * manual/debug.texi (Debugging Support): Add link to Threads
9461 chapter.
9462 * manual/nptl.texi: New file.
9463
e25cfa60
SP
9464 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9465
58a1335e
PB
94662013-03-14 Petr Baudis <pasky@ucw.cz>
9467
9468 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9469 for non-NULL pointer before the memory validity test. Pointed
9470 out by Holger Brunck <holger.brunck@keymile.com>.
9471
9dc7c64f
AS
94722013-03-13 Andreas Schwab <schwab@suse.de>
9473
9474 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9475 instead of .os.
9476
54206aa6
JM
94772013-03-13 Joseph Myers <joseph@codesourcery.com>
9478
9479 * timezone/zic.c: Update from tzcode 2013b.
9480
e98cdb38
CD
94812013-03-12 Carlos O'Donell <carlos@redhat.com>
9482
9483 * manual/install.texi (Configuring and compiling):
9484 Mention i686 and i586.
9485 * INSTALL: Regenerate.
9486
9967e003
RM
94872013-03-12 Roland McGrath <roland@hack.frob.com>
9488
9489 * sysdeps/init_array/elf-init.c: New file.
9490 * csu/elf-init.c
9491 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9492 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9493
9494 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9495 __gmon_start__ as global, but as static with a .preinit_array pointer.
9496 * sysdeps/init_array/gmon-start.c: New file. Use that.
9497 * sysdeps/init_array/crti.S: New file, empty except for comments.
9498 * sysdeps/init_array/crtn.S: Likewise.
9499
e6b5a293 95002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9501
9502 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9503 definining bcopy.
80f844c9
OB
9504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9505 Remove Prefer_SSE_for_memop.
9506 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9507 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9508 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9510 memset-x86-64.
80f844c9 9511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9512 Remove bzero, memset ifunc support.
80f844c9
OB
9513 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9514 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9515 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9516 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9517
fb6b0fcb
AS
95182013-03-11 Andreas Schwab <schwab@suse.de>
9519
9520 [BZ #15234]
9521 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9522 by SHLIB_COMPAT.
9523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9524 (GLIBC_2.16): Remove pthread_atfork.
9525
3e6bd4b1
PP
95262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9527
9528 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9529 (ptestcases.h): Likewise.
9530
222d7f00
RM
95312013-03-08 Roland McGrath <roland@hack.frob.com>
9532
9533 * Makeconfig ($(common-objpfx)config.status): Depend on
9534 sysdeps/*/preconfigure{,.in} too.
9535
1ba4f030
JM
95362013-03-08 Joseph Myers <joseph@codesourcery.com>
9537
a222d91a
JM
9538 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9539 (__free_hook): Use void * instead of __malloc_ptr_t.
9540 (__malloc_hook): Likewise.
9541 (__realloc_hook): Likewise.
9542 (__memalign_hook): Likewise.
9543 (__after_morecore_hook): Likewise.
9544 * malloc/arena.c (save_malloc_hook): Likewise.
9545 (save_free_hook): Likewise.
9546 * malloc/hooks.c (malloc_hook_ini): Likewise.
9547 (realloc_hook_ini): Likewise.
9548 (memalign_hook_ini): Likewise.
9549 * malloc/malloc.c (malloc_hook_ini): Likewise.
9550 (realloc_hook_ini): Likewise.
9551 (memalign_hook_ini): Likewise.
9552 (__free_hook): Likewise.
9553 (__malloc_hook): Likewise.
9554 (__realloc_hook): Likewise.
9555 (__memalign_hook): Likewise.
9556 (__libc_malloc): Likewise.
9557 (__libc_free): Likewise.
9558 (__libc_realloc): Likewise.
9559 (__libc_memalign): Likewise.
9560 (__libc_valloc): Likewise.
9561 (__libc_pvalloc): Likewise.
9562 (__libc_calloc): Likewise.
9563 (__posix_memalign): Likewise.
9564 * malloc/morecore.c (__sbrk): Likewise.
9565 (__default_morecore): Likewise.
9566
5cc45e10
JM
9567 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9568
dd54b864
JM
9569 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9570 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9571 __malloc_ptrdiff_t.
9572
1ba4f030
JM
9573 * malloc/malloc.h (__malloc_size_t): Remove macro.
9574 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9575 __malloc_size_t.
9576 (old_memalign_hook): Likewise.
9577 (old_realloc_hook): Likewise.
9578 (struct hdr): Likewise.
9579 (flood): Likewise.
9580 (mallochook): Likewise.
9581 (memalignhook): Likewise.
9582 (reallochook): Likewise.
9583 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9584 (tr_old_realloc_hook): Likewise.
9585 (tr_old_memalign_hook): Likewise.
9586 (tr_mallochook): Likewise.
9587 (tr_reallochook): Likewise.
9588 (tr_memalignhook): Likewise.
9589
edf66e57
AZ
95902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9591
9592 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9593 default_ldbl_pack and using as default implementation.
9594 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9595 implementation.
9596 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9597 redundant definition.
9598 (ldbl_insert_mantissa): Likewise.
9599 (ldbl_canonicalize): Likewise.
9600 (ldbl_nearbyint): Likewise.
9601 (ldbl_pack): Rename to ldbl_pack_ppc.
9602 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9603 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9604 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9605
6d9145d8
SP
96062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9607
9608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9609 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9611 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9613 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9614 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9615 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9616
4dd4e157
AJ
96172013-03-07 Andreas Jaeger <aj@suse.de>
9618
9619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9620 bits/mman-linux.h.
9621
adbb8027
SP
96222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9623
ce544b5b
SP
9624 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9625 Include mpa.h and declare __MPEXP.
9626 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9627 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9628 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9629 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9630 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9631 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9632 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9633
4cc149fd
SP
9634 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9635 (__slowpow): Use long double EXPL and LOGL functions to
9636 compute POW.
9637 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9638 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9641 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9643
e6ebd4a7
SP
9644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9645 intermediate variable to calculate exponent.
9646 (__sqr): Likewise.
9647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9648 Likewise.
9649 (__sqr): Likewise.
9650
82a9811d
SP
9651 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9652 [!NO__SQR]: Define __sqr.
9653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9654 and NO__SQR. Remove all code except __mul and __sqr. Include
9655 sysdeps/ieee754/dbl-64/mpa.c.
9656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9657
adbb8027
SP
9658 [BZ #12723]
9659 * posix/Makefile (tests): Add tst-pathconf.
9660 * posix/tst-pathconf.c: New test case.
9661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9662 _PC_PIPE_BUF.
9663 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9664
39120df9
PF
96652013-03-06 Patsy Franklin <pfrankli@redhat.com>
9666
9667 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9668
67525cb8
AJ
96692013-03-06 Andreas Jaeger <aj@suse.de>
9670
664a9ce4
AJ
9671 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9672 definition via __MAP_ANONYMOUS.
9673
8e39047d
AJ
9674 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9675 it's not part of Linux headers.
9676
67525cb8
AJ
9677 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9678 (MAP_HUGE_MASK): Define.
9679
9680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9681 Define.
9682 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9684 Define.
9685 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9687 Define.
9688 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9689 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9690 Define.
9691 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9692
9693 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9694 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9695 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9696 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9697 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9699
9700 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9701 Handle f2fs.
9702
9703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9704 Handle f2fs and efivarfs.
9705
9706 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9707 f2fs.
9708
9709 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9710 (EFIVARFS_MAGIC): Add.
9711 (F2FS_LINK_MAX): Add.
9712
e1b42695
PP
97132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9714
9715 * stdio-common/vfprintf.c: Replace __builtin_expect with
9716 __glibc_unlikely.
9717
2d67d91a
JM
97182013-03-06 Joseph Myers <joseph@codesourcery.com>
9719
9720 [BZ #13550]
9721 * sysdeps/generic/bp-sym.h: Remove file.
9722 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9723 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9724 <bp-sym.h> and <bp-asm.h>.
9725 (__longjmp): Don't use BP_SYM.
9726 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9727 and <bp-asm.h>.
9728 (memcpy): Don't use BP_SYM.
9729 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9730 <bp-sym.h> and <bp-asm.h>.
9731 (memcpy): Don't use BP_SYM.
9732 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9733 <bp-asm.h>.
9734 (memcpy): Don't use BP_SYM.
9735 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9736 <bp-asm.h>.
9737 (memset): Don't use BP_SYM.
9738 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9739 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9740 (__bzero): Don't use BP_SYM.
9741 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9742 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9743 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9744 <bp-sym.h> and <bp-asm.h>.
9745 (memcmp): Don't use BP_SYM. Remove comment about bounded
9746 pointers.
9747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9748 <bp-sym.h> and <bp-asm.h>.
9749 (memcpy): Don't use BP_SYM.
9750 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9751 <bp-sym.h> and <bp-asm.h>.
9752 (memset): Don't use BP_SYM.
9753 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9754 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9755 (__bzero): Don't use BP_SYM.
9756 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9757 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9759 <bp-sym.h> and <bp-asm.h>.
9760 (strncmp): Don't use BP_SYM. Remove comment about bounded
9761 pointers.
9762 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9763 <bp-sym.h> and <bp-asm.h>.
9764 (memcpy): Don't use BP_SYM.
9765 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9766 <bp-sym.h> and <bp-asm.h>.
9767 (memset): Don't use BP_SYM.
9768 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9769 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9770 (__bzero): Don't use BP_SYM.
9771 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9772 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9774 <bp-sym.h> and <bp-asm.h>.
9775 (__memchr): Don't use BP_SYM.
9776 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9777 <bp-sym.h> and <bp-asm.h>.
9778 (memcmp): Don't use BP_SYM. Remove comment about bounded
9779 pointers.
9780 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9781 <bp-sym.h> and <bp-asm.h>.
9782 (memcpy): Don't use BP_SYM.
9783 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9784 <bp-sym.h> and <bp-asm.h>.
9785 (__mempcpy): Don't use BP_SYM.
9786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9787 <bp-sym.h> and <bp-asm.h>.
9788 (__memrchr): Don't use BP_SYM.
9789 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9790 <bp-sym.h> and <bp-asm.h>.
9791 (memset): Don't use BP_SYM.
9792 (__bzero): Likewise.
9793 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9794 <bp-sym.h> and <bp-asm.h>.
9795 (__rawmemchr): Don't use BP_SYM.
9796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9797 <bp-sym.h> and <bp-asm.h>.
9798 (__STRCMP): Don't use BP_SYM.
9799 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9800 <bp-sym.h> and <bp-asm.h>.
9801 (strchr): Don't use BP_SYM.
9802 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9803 <bp-sym.h> and <bp-asm.h>.
9804 (__strchrnul): Don't use BP_SYM.
9805 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9806 <bp-sym.h> and <bp-asm.h>.
9807 (strlen): Don't use BP_SYM.
9808 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9809 <bp-sym.h> and <bp-asm.h>.
9810 (strncmp): Don't use BP_SYM. Remove comment about bounded
9811 pointers.
9812 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9813 <bp-sym.h> and <bp-asm.h>.
9814 (__strnlen): Don't use BP_SYM.
9815 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9816 <bp-sym.h> and <bp-asm.h>.
9817 (__GI__setjmp): Don't use BP_SYM.
9818 (_setjmp): Likewise.
9819 (__sigsetjmp): Likewise.
9820 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9821 (L(start_addresses)): Don't use BP_SYM.
9822 (_start): Likewise.
9823 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9824 <bp-asm.h>.
9825 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9826 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9827 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9828 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9829 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9830 <bp-asm.h>.
9831 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9832 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9833 about bounded pointers.
9834 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9835 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9836 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9837 <bp-asm.h>.
9838 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9839 about bounded pointers. Remove GKM FIXME comments.
9840 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9841 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9842 <bp-asm.h>.
9843 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9844 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9845 Remove GKM FIXME comments.
9846 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9847 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9848 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9849 <bp-asm.h>.
9850 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9851 about bounded pointers. Remove GKM FIXME comment.
9852 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9853 and <bp-asm.h>.
9854 (strncmp): Don't use BP_SYM. Remove comment about bounded
9855 pointers.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9857 <bp-sym.h> and <bp-asm.h>.
9858 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9860 <bp-sym.h> and <bp-asm.h>.
9861 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9862 comment.
9863
cdcf361f
PP
98642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9865
9866 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9867 call free(NULL).
9868
3c4a2b15
DM
98692013-03-05 David S. Miller <davem@davemloft.net>
9870
9871 * po/es.po: Update from translation team.
9872
cdcf361f 98732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9874
9875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9876 <bits/mman-linux.h>.
9877 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9878 is fine.
9879 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9880 <bits/mman-linux.h> to end of file.
9881 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9882 is fine.
9883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9884 <bits/mman-linux.h> to end of file.
9885 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9886 is fine.
9887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9888 <bits/mman-linux.h> to end of file.
9889
9890 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9891 (MCL_CURRENT, MCL_FUTURE): Define here.
9892
5f67c04f
AK
98932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9894
8a4473cc 9895 [BZ #15232]
5f67c04f
AK
9896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9897 attribute_hidden.
9898 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9899
c3e94a95
AK
99002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9901
9902 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9903 fourth parameter needed for rt_sigprocmask syscall.
9904 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9905 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9906 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9907 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9908 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9909 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9910
cfb6382a
JM
99112013-03-04 Joseph Myers <joseph@codesourcery.com>
9912
9913 [BZ #13550]
9914 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9915 comment about bounded pointers.
9916 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9917 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9918
539d8e01
AJ
99192013-03-04 Andreas Jaeger <aj@suse.de>
9920
9921 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9922 common definitions.
9923
9924 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9925 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9927 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9928 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9929 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9930
2e167a70 99312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9932
9933 [BZ #15055]
9934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9935 __ieee754_sqrl instead of __sqrl.
9936
68508633
JM
99372013-03-01 Joseph Myers <joseph@codesourcery.com>
9938
9939 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9940 * sysdeps/powerpc/fpu_control.h: ... here.
9941 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9942 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9943 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9944 * sysdeps/powerpc/bits/mathinline.h: ... here.
9945
7775448e
RM
99462013-03-01 Roland McGrath <roland@hack.frob.com>
9947
9948 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9949 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9950 to just [NEED_DL_SYSINFO_DSO].
9951 * elf/dl-support.c: Likewise.
9952 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9953 * elf/rtld.c (dl_main): Likewise.
9954 * elf/setup-vdso.h (setup_vdso): Likewise.
9955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9956 * sysdeps/unix/sysv/linux/dl-sysdep.c
9957 (_dl_discover_osversion): Likewise.
9958
4e9b5995
CD
99592013-03-01 Carlos O'Donell <carlos@redhat.com>
9960
9961 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9962 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9963
e23872c8
SP
99642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9965
e5c74c63
SP
9966 * NEWS: Mention libm performance improvements and non-x86 PI
9967 futex support.
9968
e23872c8
SP
9969 * csu/libc-start.c (__pthread_initialize_minimal): Change
9970 function arguments.
9971 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9972
b5510883
JM
99732013-02-28 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #13550]
9976 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9977 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9978 <bp-sym.h> and <bp-asm.h>.
9979 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9980 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9981 and <bp-asm.h>.
9982 (memcpy): Don't use BP_SYM.
9983 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9984 <bp-asm.h>.
9985 (__mpn_add_n): Don't use BP_SYM.
9986 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9987 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9988 and <bp-asm.h>.
9989 (__mpn_addmul_1): Don't use BP_SYM.
9990 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9991 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9992 <bp-sym.h>.
9993 (_setjmp): Don't use BP_SYM.
9994 (__novmx_setjmp): Likewise.
9995 (__GI__setjmp): Likewise.
9996 (__vmx_setjmp): Likewise.
9997 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9998 <bp-sym.h>.
9999 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10000 (__bzero): Don't use BP_SYM.
10001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10003 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10004 <bp-sym.h> and <bp-asm.h>.
10005 (memcpy): Don't use BP_SYM.
10006 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10007 <bp-sym.h> and <bp-asm.h>.
10008 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10009 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10010 <bp-sym.h> and <bp-asm.h>.
10011 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10012 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10013 <bp-asm.h>.
10014 (__mpn_lshift): Don't use BP_SYM.
10015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10016 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10017 <bp-asm.h>.
10018 (memset): Don't use BP_SYM.
10019 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10020 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10021 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10022 <bp-asm.h>.
10023 (__mpn_mul_1): Don't use BP_SYM.
10024 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10026 <bp-sym.h> and <bp-asm.h>.
10027 (memcmp): Don't use BP_SYM.
10028 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10029 <bp-sym.h> and <bp-asm.h>.
10030 (memcpy): Don't use BP_SYM.
10031 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10032 <bp-sym.h> and <bp-asm.h>.
10033 (memset): Don't use BP_SYM.
10034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10035 <bp-sym.h> and <bp-asm.h>.
10036 (strncmp): Don't use BP_SYM.
10037 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10038 <bp-sym.h> and <bp-asm.h>.
10039 (memcpy): Don't use BP_SYM.
10040 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10041 <bp-sym.h> and <bp-asm.h>.
10042 (memset): Don't use BP_SYM.
10043 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10044 <bp-sym.h> and <bp-asm.h>.
10045 (__memchr): Don't use BP_SYM.
10046 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10047 <bp-sym.h> and <bp-asm.h>.
10048 (memcmp): Don't use BP_SYM.
10049 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10050 <bp-sym.h> and <bp-asm.h>.
10051 (memcpy): Don't use BP_SYM.
10052 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10053 <bp-sym.h> and <bp-asm.h>.
10054 (__mempcpy): Don't use BP_SYM.
10055 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10056 <bp-sym.h> and <bp-asm.h>.
10057 (__memrchr): Don't use BP_SYM.
10058 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10059 <bp-sym.h> and <bp-asm.h>.
10060 (memset): Don't use BP_SYM.
10061 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10062 <bp-sym.h> and <bp-asm.h>.
10063 (__rawmemchr): Don't use BP_SYM.
10064 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10065 <bp-sym.h> and <bp-asm.h>.
10066 (__STRCMP): Don't use BP_SYM.
10067 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10068 <bp-sym.h> and <bp-asm.h>.
10069 (strchr): Don't use BP_SYM.
10070 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10071 <bp-sym.h> and <bp-asm.h>.
10072 (__strchrnul): Don't use BP_SYM.
10073 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10074 <bp-sym.h> and <bp-asm.h>.
10075 (strlen): Don't use BP_SYM.
10076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10077 <bp-sym.h> and <bp-asm.h>.
10078 (strncmp): Don't use BP_SYM.
10079 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10080 <bp-sym.h> and <bp-asm.h>.
10081 (__strnlen): Don't use BP_SYM.
10082 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10083 <bp-asm.h>.
10084 (__mpn_rshift): Don't use BP_SYM.
10085 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10086 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10087 <bp-sym.h> and <bp-asm.h>.
10088 (__sigsetjmp): Don't use BP_SYM.
10089 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10090 (L(start_addresses)): Don't use BP_SYM.
10091 (_start): Likewise.
10092 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10093 <bp-asm.h>.
10094 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10095 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10096 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10097 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10098 <bp-asm.h>.
10099 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10100 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10101 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10102 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10103 <bp-asm.h>.
10104 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10105 comments.
10106 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10107 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10108 <bp-asm.h>.
10109 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10110 FIXME comments.
10111 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10112 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10113 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10114 <bp-asm.h>.
10115 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10116 comment.
10117 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10118 and <bp-asm.h>.
10119 (strncmp): Don't use BP_SYM,
10120 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10121 <bp-asm.h>.
10122 (__mpn_sub_n): Don't use BP_SYM.
10123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10124 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10125 and <bp-asm.h>.
10126 (__mpn_submul_1): Don't use BP_SYM.
10127 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10129 <bp-sym.h> and <bp-asm.h>.
10130 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10132 <bp-sym.h> and <bp-asm.h>.
10133 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10134 comment.
10135
8d19fe64
SP
101362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10137
10138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10139 Use ZK to minimize writes to Z.
10140 (sub_magnitudes): Simplify code a bit.
10141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10142 Use ZK to minimize writes to Z.
10143 (sub_magnitudes): Simplify code a bit.
10144
85bd816a
RM
101452013-02-27 Roland McGrath <roland@hack.frob.com>
10146
10147 * csu/gmon-start.c: Add special exception to license text.
10148
b5977bf2
RH
101492013-02-27 Richard Henderson <rth@redhat.com>
10150
10151 * scripts/config.guess: Update from config.git.
10152 * scripts/config.sub: Likewise.
10153
11d6e2f2
SP
101542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10155
09c14ed2
SP
10156 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10157
a688864e
SP
10158 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10159
6295157a
SP
10160 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10161
b8de2202
SP
10162 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10163
11d6e2f2
SP
10164 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10165
7e80ddb8
RM
101662013-02-26 Roland McGrath <roland@hack.frob.com>
10167
10168 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10169 [$(build-shared = yes].
7e80ddb8 10170
7da6d9ed
SP
101712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10172
45f05884
SP
10173 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10174 (__mul): Reduce iterations for calculating mantissa.
10175
2236d359
SP
10176 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10177 MPTWO.
10178 (__mpranred): Likewise.
10179
7da6d9ed
SP
10180 [BZ #15160]
10181 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10182 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10183
b7688c42
PE
101842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10185
10186 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10187 Define __attribute__.
10188
53a5c423
SP
101892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10190
10191 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10192 unused.
10193 * posix/regex_internal.h (__attribute): Remove.
10194 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10195 (re_string_context_at): Likewise.
10196 (bitset_not): Use __attribute__ and mark function as possibly
10197 unused.
10198 (bitset_merge): Likewise.
10199 (bitset_mask): Likewise.
10200 (re_string_char_size_at): Likewise.
10201 (re_string_wchar_at): Likewise.
10202 (re_string_elem_size_at): Likewise.
10203
60f5a8b5
SP
102042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10205
2a983a2e
SP
10206 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10207 code.
10208 (cc32): Likewise.
10209
e69804d1
SP
10210 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10211 (__acr): Likewise.
10212 (__cpy): Likewise.
10213 (norm): Likewise.
10214 (denorm): Likewise.
10215 (__dbl_mp): Likewise.
10216 (add_magnitudes): Likewise.
10217 (sub_magnitudes): Likewise.
10218 (__mul): Likewise.
10219 (__inv): Likewise.
10220
2f22a1e8
SP
10221 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10222 style.
10223
8930ddc7
SP
10224 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10225 style.
10226
dc60cb11
SP
10227 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10228 code.
10229
60f5a8b5
SP
10230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10231 up changes with default code.
10232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10233 Likewise.
10234
b4d1fd33
AM
102352013-02-24 Allan McRae <allan@archlinux.org>
10236
faf6f8bc
AM
10237 * manual/socket.texi (The Internet Namespace): Order menu items
10238 to match that in the file.
10239
b4d1fd33
AM
10240 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10241 node listing of the info page menu.
10242
2366713d
JM
102432013-02-21 Joseph Myers <joseph@codesourcery.com>
10244
10245 [BZ #13550]
10246 * sysdeps/i386/bp-asm.h: Remove file.
10247 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10248 (PARMS): Do not use macros from bp-asm.h.
10249 (S1): Likewise.
10250 (S2): Likewise.
10251 (SIZE): Likewise.
10252 (__mpn_add_n): Do not use BP_SYM
10253 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10254 "bp-asm.h".
10255 (PARMS): Do not use macros from bp-asm.h.
10256 (S1): Likewise.
10257 (SIZE): Likewise.
10258 (__mpn_addmul_1): Do not use BP_SYM
10259 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10260 "bp-asm.h".
10261 (PARMS): Do not use macros from bp-asm.h.
10262 (SIGMSK): Likewise.
10263 (_setjmp): Likewise. Do not use BP_SYM.
10264 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10265 "bp-asm.h".
10266 (PARMS): Do not use macros from bp-asm.h.
10267 (SIGMSK): Likewise.
10268 (setjmp): Likewise. Do not use BP_SYM.
10269 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10270 "bp-asm.h".
10271 (PARMS): Do not use macros from bp-asm.h.
10272 (__frexp): Do not use BP_SYM.
10273 (frexp): Likewise.
10274 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10275 "bp-asm.h".
10276 (PARMS): Do not use macros from bp-asm.h.
10277 (__frexpf): Do not use BP_SYM.
10278 (frexpf): Likewise.
10279 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10280 "bp-asm.h".
10281 (PARMS): Do not use macros from bp-asm.h.
10282 (__frexpl): Do not use BP_SYM.
10283 (frexpl): Likewise.
10284 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10285 "bp-asm.h".
10286 (PARMS): Do not use macros from bp-asm.h.
10287 (__remquo): Do not use BP_SYM.
10288 (remquo): Likewise.
10289 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10290 "bp-asm.h".
10291 (PARMS): Do not use macros from bp-asm.h.
10292 (__remquof): Do not use BP_SYM.
10293 (remquof): Likewise.
10294 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10295 "bp-asm.h".
10296 (PARMS): Do not use macros from bp-asm.h.
10297 (__remquol): Do not use BP_SYM.
10298 (remquol): Likewise.
10299 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10300 "bp-asm.h".
10301 (PARMS): Do not use macros from bp-asm.h.
10302 (DEST): Likewise.
10303 (SRC): Likewise.
10304 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10305 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10306 "bp-asm.h".
10307 (PARMS): Do not use macros from bp-asm.h.
10308 (strlen): Do not use BP_SYM.
10309 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10310 "bp-asm.h".
10311 (PARMS): Do not use macros from bp-asm.h.
10312 (S1): Likewise.
10313 (S2): Likewise.
10314 (SIZE): Likewise.
10315 (__mpn_add_n): Do not use BP_SYM.
10316 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10317 "bp-asm.h".
10318 (PARMS): Do not use macros from bp-asm.h.
10319 (S1): Likewise.
10320 (SIZE): Likewise.
10321 (__mpn_addmul_1): Do not use BP_SYM.
10322 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10323 weak_alias.
10324 (bzero): Likewise.
10325 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10326 "bp-asm.h".
10327 (PARMS): Do not use macros from bp-asm.h.
10328 (S): Likewise.
10329 (SIZE): Likewise.
10330 (__mpn_lshift): Do not use BP_SYM.
10331 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10332 "bp-asm.h".
10333 (PARMS): Do not use macros from bp-asm.h.
10334 (DEST): Likewise.
10335 (SRC): Likewise.
10336 (LEN): Likewise.
10337 (memcpy): Likewise. Do not use BP_SYM.
10338 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10339 libc_hidden_def and weak_alias.
10340 (mempcpy): Do not use BP_SYM in weak_alias.
10341 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10342 "bp-asm.h".
10343 (PARMS): Do not use macros from bp-asm.h.
10344 (DEST): Likewise.
10345 (LEN): Likewise.
10346 [!BZERO_P] (CHR): Likewise.
10347 (memset): Likewise. Do not use BP_SYM.
10348 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10349 "bp-asm.h".
10350 (PARMS): Do not use macros from bp-asm.h.
10351 (S1): Likewise.
10352 (SIZE): Likewise.
10353 (__mpn_mul_1): Do not use BP_SYM.
10354 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10355 "bp-asm.h".
10356 (PARMS): Do not use macros from bp-asm.h.
10357 (S): Likewise.
10358 (SIZE): Likewise.
10359 (__mpn_rshift): Do not use BP_SYM.
10360 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10361 "bp-asm.h".
10362 (PARMS): Do not use macros from bp-asm.h.
10363 (STR): Likewise.
10364 (CHR): Likewise.
10365 (strchr): Likewise. Do not use BP_SYM.
10366 (index): Do not use BP_SYM in weak_alias.
10367 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10368 "bp-asm.h".
10369 (PARMS): Do not use macros from bp-asm.h.
10370 (DEST): Likewise.
10371 (SRC): Likewise.
10372 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10373 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10374 "bp-asm.h".
10375 (PARMS): Do not use macros from bp-asm.h.
10376 (strlen): Do not use BP_SYM.
10377 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10378 "bp-asm.h".
10379 (PARMS): Do not use macros from bp-asm.h.
10380 (S1): Likewise.
10381 (S2): Likewise.
10382 (SIZE): Likewise.
10383 (__mpn_sub_n): Do not use BP_SYM.
10384 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10385 "bp-asm.h".
10386 (PARMS): Do not use macros from bp-asm.h.
10387 (S1): Likewise.
10388 (SIZE): Likewise.
10389 (__mpn_submul_1): Do not use BP_SYM.
10390 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10391 "bp-asm.h".
10392 (PARMS): Do not use macros from bp-asm.h.
10393 (S1): Likewise.
10394 (S2): Likewise.
10395 (SIZE): Likewise.
10396 (__mpn_add_n): Do not use BP_SYM.
10397 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10398 weak_alias.
10399 (bzero): Likewise.
10400 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10401 "bp-asm.h".
10402 (PARMS): Do not use macros from bp-asm.h.
10403 (BLK2): Likewise.
10404 (LEN): Likewise.
10405 (memcmp): Do not use BP_SYM.
10406 (bcmp): Do not use BP_SYM in weak_alias.
10407 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10408 "bp-asm.h".
10409 (PARMS): Do not use macros from bp-asm.h.
10410 (DEST): Likewise.
10411 (SRC): Likewise.
10412 (LEN): Likewise.
10413 (memcpy): Likewise. Do not use BP_SYM.
10414 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10415 "bp-asm.h".
10416 (PARMS): Do not use macros from bp-asm.h.
10417 (DEST): Likewise.
10418 (SRC): Likewise.
10419 (LEN): Likewise.
10420 (memmove): Likewise. Do not use BP_SYM.
10421 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10422 "bp-asm.h".
10423 (PARMS): Do not use macros from bp-asm.h.
10424 (DEST): Likewise.
10425 (SRC): Likewise.
10426 (LEN): Likewise.
10427 (__mempcpy): Likewise. Do not use BP_SYM.
10428 (mempcpy): Do not use BP_SYM in weak_alias.
10429 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10430 "bp-asm.h".
10431 (PARMS): Do not use macros from bp-asm.h.
10432 (DEST): Likewise.
10433 (LEN): Likewise.
10434 [!BZERO_P] (CHR): Likewise.
10435 (memset): Likewise. Do not use BP_SYM.
10436 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10437 "bp-asm.h".
10438 (PARMS): Do not use macros from bp-asm.h.
10439 (STR2): Likewise.
10440 (strcmp): Do not use BP_SYM.
10441 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10442 "bp-asm.h".
10443 (PARMS): Do not use macros from bp-asm.h.
10444 (STR): Likewise.
10445 (DELIM): Likewise.
10446 [USE_AS_STRTOK_R] (SAVE): Likewise.
10447 (FUNCTION): Likewise. Do not use BP_SYM.
10448 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10449 aliases.
10450 (strtok_r): Likewise.
10451 (__GI___strtok_r): Likewise.
10452 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10453 (PARMS): Do not use macros from bp-asm.h.
10454 (S): Likewise.
10455 (SIZE): Likewise.
10456 (__mpn_lshift): Do not use BP_SYM.
10457 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10458 (PARMS): Do not use macros from bp-asm.h.
10459 (STR): Likewise.
10460 (CHR): Likewise.
10461 (__memchr): Do not use BP_SYM.
10462 (memchr): Do not use BP_SYM in weak_alias.
10463 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10464 (PARMS): Do not use macros from bp-asm.h.
10465 (BLK2): Likewise.
10466 (LEN): Likewise.
10467 (memcmp): Do not use BP_SYM.
10468 (bcmp): Do not use BP_SYM in weak_alias.
10469 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10470 (PARMS): Do not use macros from bp-asm.h.
10471 (S1): Likewise.
10472 (SIZE): Likewise.
10473 (__mpn_mul_1): Do not use BP_SYM.
10474 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10475 "bp-asm.h".
10476 (PARMS): Do not use macros from bp-asm.h.
10477 (STR): Likewise.
10478 (CHR): Likewise.
10479 (__rawmemchr): Do not use BP_SYM.
10480 (rawmemchr): Do not use BP_SYM in weak_alias.
10481 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10482 (PARMS): Do not use macros from bp-asm.h.
10483 (S): Likewise.
10484 (SIZE): Likewise.
10485 (__mpn_rshift): Do not use BP_SYM.
10486 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10487 (PARMS): Do not use macros from bp-asm.h.
10488 (SIGMSK): Likewise.
10489 (__sigsetjmp): Likewise. Do not use BP_SYM.
10490 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10491 (_start): Do not use BP_SYM.
10492 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10493 (PARMS): Do not use macros from bp-asm.h.
10494 (DEST): Likewise.
10495 (SRC): Likewise.
10496 (__stpcpy): Likewise. Do not use BP_SYM.
10497 (stpcpy): Do not use BP_SYM in weak_alias.
10498 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10499 "bp-asm.h".
10500 (PARMS): Do not use macros from bp-asm.h.
10501 (DEST): Likewise.
10502 (SRC): Likewise.
10503 (LEN): Likewise.
10504 (__stpncpy): Likewise. Do not use BP_SYM.
10505 (stpncpy): Do not use BP_SYM in weak_alias.
10506 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10507 (PARMS): Do not use macros from bp-asm.h.
10508 (STR): Likewise.
10509 (CHR): Likewise.
10510 (strchr): Likewise. Do not use BP_SYM.
10511 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10512 "bp-asm.h".
10513 (PARMS): Do not use macros from bp-asm.h.
10514 (STR): Likewise.
10515 (CHR): Likewise.
10516 (__strchrnul): Likewise. Do not use BP_SYM.
10517 (strchrnul): Do not use BP_SYM in weak_alias.
10518 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10519 "bp-asm.h".
10520 (PARMS): Do not use macros from bp-asm.h.
10521 (STOP): Likewise.
10522 (strcspn): Do not use BP_SYM.
10523 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10524 "bp-asm.h".
10525 (PARMS): Do not use macros from bp-asm.h.
10526 (STR): Likewise.
10527 (STOP): Likewise.
10528 (strpbrk): Likewise. Do not use BP_SYM.
10529 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10530 "bp-asm.h".
10531 (PARMS): Do not use macros from bp-asm.h.
10532 (STR): Likewise.
10533 (CHR): Likewise.
10534 (strrchr): Likewise. Do not use BP_SYM.
10535 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10536 (PARMS): Do not use macros from bp-asm.h.
10537 (SKIP): Likewise.
10538 (strspn): Do not use BP_SYM.
10539 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10540 (PARMS): Do not use macros from bp-asm.h.
10541 (STR): Likewise.
10542 (DELIM): Likewise.
10543 (SAVE): Likewise.
10544 (FUNCTION): Likewise. Do not use BP_SYM.
10545 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10546 aliases.
10547 (strtok_r): Likewise.
10548 (__GI___strtok_r): Likewise.
10549 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10550 (PARMS): Do not use macros from bp-asm.h.
10551 (S1): Likewise.
10552 (S2): Likewise.
10553 (SIZE): Likewise.
10554 (__mpn_sub_n): Do not use BP_SYM.
10555 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10556 "bp-asm.h".
10557 (PARMS): Do not use macros from bp-asm.h.
10558 (S1): Likewise.
10559 (SIZE): Likewise.
10560 (__mpn_submul_1): Do not use BP_SYM.
10561 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10562 <bp-sym.h>.
10563 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10564 and <bp-asm.h>.
10565 (PARMS): Do not use macros from bp-asm.h.
10566 (FLAGS): Likewise.
10567 (PTID): Likewise.
10568 (TLS): Likewise.
10569 (CTID): Likewise.
10570 (__clone): Do not use BP_SYM.
10571 (clone): Do not use BP_SYM in weak_alias.
10572 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10573 and <bp-asm.h>.
10574 (PARMS): Do not use macros from bp-asm.h.
10575 (LEN): Likewise.
10576 (__mmap64): Do not use BP_SYM.
10577 (mmap64): Do not use BP_SYM in weak_alias.
10578 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10579 <bp-sym.h> and <bp-asm.h>.
10580 (PARMS): Do not use macros from bp-asm.h.
10581 (__posix_fadvise64_l64): Do not use BP_SYM.
10582 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10583 (PARMS): Do not use macros from bp-asm.h.
10584 (NSOPS): Likewise.
10585 (semtimedop): Do not use BP_SYM.
10586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10587 and <bp-asm.h>.
10588
582a3cff
AM
105892013-02-21 Allan McRae <allan@archlinux.org>
10590
10591 * manual/message.texi (Charset conversion in gettext):
10592 Move @end statement to beginning of line.
10593
bab8a695
SP
105942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10595
80945231
SP
10596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10597 static.
10598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10599 Likewise.
10600
bab8a695
SP
10601 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10602 (denorm): Likewise.
10603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10605
e21d7aa7
AK
106062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10607
10608 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10609 tail-call to the resolved function if pltexit isn't needed.
10610
4c7a4263
SP
106112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
10613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10614 or Y being zero as being unlikely.
10615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10616 Likewise.
10617
41f49342
CD
106182013-02-20 Carlos O'Donell <carlos@redhat.com>
10619
10620 * manual/nss.texi (System Databases and Name Service Switch):
10621 Remove frobnicate @pxref.
10622
50022a93
TS
106232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10624
10625 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10626 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10627
08cbd996
PM
106282013-02-20 Petr Machata <pmachata@redhat.com>
10629
10630 * elf/elf.h (R_ARM_TARGET1): New macro.
10631 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10632 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10633 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10634 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10635 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10636 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10637 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10638 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10639 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10640 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10641 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10642 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10643 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10644 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10645 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10646 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10647 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10648 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10649 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10650 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10651 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10652 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10653 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10654 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10655 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10656 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10657 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10658 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10659 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10660 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10661 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10662 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10663 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10664 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10665 (R_ARM_THM_GOT_BREL12): Likewise.
10666 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10667 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10668 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10669 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10670 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10671 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10672 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10673 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10674 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10675
c7b275d6
TS
106762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10677
10678 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10679 __attribute_used__ to __attribute__ ((unused)).
10680
20cd7fb3
SP
106812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10682
10683 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10684 powerpc mpa.c.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10686 comment formatting.
10687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10688
92945b52
JM
106892013-02-19 Joseph Myers <joseph@codesourcery.com>
10690
10691 [BZ #13550]
10692 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10693 Remove macro.
10694 (ENTER): Remove both macro definitions.
10695 (LEAVE): Likewise.
10696 (CHECK_BOUNDS_LOW): Likewise.
10697 (CHECK_BOUNDS_HIGH): Likewise.
10698 (CHECK_BOUNDS_BOTH): Likewise.
10699 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10700 (RETURN_BOUNDED_POINTER): Likewise.
10701 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10702 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10703 (POP_ERRNO_LOCATION_RETURN): Likewise.
10704 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10705 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10706 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10707 macros.
10708 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10709 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10710 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10711 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10712 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10713 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10714 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10715 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10716 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10717 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10718 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10719 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10720 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10721 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10722 removed macros.
10723 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10724 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10725 macros.
10726 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10727 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10728 * sysdeps/i386/i586/memset.S (memset): Likewise.
10729 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10730 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10731 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10732 macros.
10733 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10734 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10735 Change uses of L(2) to L(out).
10736 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10737 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10738 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10739 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10740 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10741 removed macros.
10742 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10743 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10744 macros.
10745 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10746 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10747 (RETURN): Do not use macro LEAVE.
10748 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10749 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10750 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10751 * sysdeps/i386/i686/memset.S (memset): Likewise.
10752 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10753 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10754 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10755 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10756 Likewise.
10757 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10758 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10759 L(1_2) and L(1_3) into L(1).
10760 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10761 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10763 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10764 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10765 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10766 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10767 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10768 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10769 macros.
10770 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10771 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10772 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10773 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10774 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10775 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10776 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10777 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10778 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10779 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10780 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10781 * sysdeps/i386/strspn.S (strspn): Likewise.
10782 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10783 conditional code.
10784 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10785 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10786 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10787 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10788 L(1_3) into L(1_1).
10789 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10790 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10791 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10792 macros.
10793 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10794
2389741a
JJ
107952013-02-19 Jakub Jelinek <jakub@redhat.com>
10796
10797 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10798 macro.
10799
2016b3cd
SP
108002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10801
e4f22324
SP
10802 * math/atest-exp.c (exp_mpn): Remove ROUND.
10803 * math/atest-exp2.c (exp_mpn): Likewise.
10804 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10805
2016b3cd
SP
10806 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10807 * stdlib/tst-tls-atexit-lib.c: Likewise.
10808 * stdlib/tst-tls-atexit.c: Likewise.
10809
4be9b544
MF
108102013-02-18 Mike Frysinger <vapier@gentoo.org>
10811
10812 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10813 and __attribute_alloc_size__.
10814
2f62b9ee
MF
108152013-02-18 Mike Frysinger <vapier@gentoo.org>
10816
10817 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10818 __attribute_alloc_size__.
10819 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10820 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10821
6ff444c4
MF
108222013-02-18 Mike Frysinger <vapier@gentoo.org>
10823
10824 * include/programs/xmalloc.h: New file.
10825 * catgets/gencat.c: Include it.
10826 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10827 * elf/pldd.c: Likewise.
10828 * iconv/iconv_charmap.c: Likewise.
10829 * iconv/iconvconfig.c: Likewise.
10830 * iconv/strtab.c: Likewise.
10831 * locale/programs/locale.c: Likewise.
10832 * locale/programs/localedef.h: Likewise.
10833 * locale/programs/simple-hash.c: Likewise.
10834 * nscd/nscd.h: Likewise.
10835 * nss/makedb.c: Likewise.
10836 * sysdeps/generic/ldconfig.h: Likewise.
10837
be179c8a
SP
108382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10839
ba384f6e
SP
10840 * Versions.def: Add GLIBC_2.18.
10841 * include/link.h (struct link_map): New member l_tls_dtor_count.
10842 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10843 (__call_tls_dtors): Likewise.
10844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10845 __cxa_thread_atexit_impl.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10847 Likewise.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10849 Likewise.
10850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10851 Likewise.
10852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10853 Likewise.
10854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10856 Likewise.
10857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10858 Likewise.
10859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10861 Likewise.
10862 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10863 (tests): Add test case tst-tls-atexit.
10864 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10865 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10866 (GLIBC_PRIVATE): Add __call_tls_dtors.
10867 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10868 for libstdc++.
10869 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10870 * stdlib/tst-tls-atexit.c: New test case.
10871 * stdlib/tst-tls-atexit-lib.c: New test case.
10872
ffaa74cf 10873 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10874
be179c8a
SP
10875 * elf/Versions (ld): Add _dl_find_dso_for_object.
10876 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10877 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10878 (dl_open_worker): Use _dl_find_dso_for_object.
10879 * elf/dl-sym.c (do_sym): Likewise.
10880 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10881
f78b5caa
AK
108822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10883
10884 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10885 Syntactic changes only.
10886 (_dl_runtime_profile): Do a tail-call to the resolved function.
10887
29691210
JM
108882013-02-17 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #13550]
10891 * sysdeps/x86_64/bp-asm.h: Remove file.
10892 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10893 <bp-sym.h> and <bp-asm.h>.
10894 (__clone): Do not use BP_SYM.
10895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10896 <bp-sym.h> and <bp-asm.h>.
10897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10898 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10899 "bp-asm.h".
10900 (_setjmp): Do not use BP_SYM.
10901 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10902 "bp-asm.h".
10903 (setjmp): Do not use BP_SYM.
10904 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10905 libc_hidden_def.
10906 (mempcpy): Do not use BP_SYM in weak_alias.
10907 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10908 "bp-asm.h".
10909 (strchr): Do not use BP_SYM.
10910 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10911 "bp-asm.h".
10912 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10913 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10914 (_start): Do not use BP_SYM.
10915 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10916 "bp-asm.h".
10917 (strcat): Do not use BP_SYM.
10918 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10919 "bp-asm.h".
10920 (STRCMP): Do not use BP_SYM.
10921 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10922 "bp-asm.h".
10923 (STRCPY): Do not use BP_SYM.
10924 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10925 "bp-asm.h".
10926 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10927 "bp-asm.h".
10928 (FUNCTION): Do not use BP_SYM.
10929 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10930 weak_alias.
10931 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10932
f238fd19
AJ
109332013-02-17 Andreas Jaeger <aj@suse.de>
10934
10935 * time/Versions: Sort entries.
10936 * string/Versions: Likewise.
10937 * resolv/Versions: Likewise.
10938 * posix/Versions: Likewise.
10939 * iconv/Versions: Likewise.
10940 * elf/Versions: Likewise.
10941 * wcsmbs/Versions: Likewise.
10942
bd07f23c 109432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10944
22af19f9
SP
10945 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10946 loop termination condition.
10947
4709fe76
SP
10948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10949 variable to calculate EZ.
10950 (__sqr): Likewise.
2d0e0f29
SP
10951
10952 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10953 the lower precision input.
10954
daaa7713
JM
109552013-02-15 Joseph Myers <joseph@codesourcery.com>
10956
10957 [BZ #13550]
10958 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10959 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10960 (run-via-rtld-prefix): Do not handle %-bp tests.
10961 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10962 (all-object-suffixes): Remove .ob.
10963 (bppfx): Remove variable.
10964 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10965 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10966 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10967 [$(build-bounded) = yes] (libtype.ob): Likewise.
10968 * Makerules (elide-routines.ob): Remove variable.
10969 (do-tests-clean): Do not handle *-bp.out.
10970 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10971 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10972 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10973 (tests): Do not include $(tests-bp.out).
10974 (xtests): Do not include $(xtests-bp.out).
10975 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10976 [$(build-bounded) = yes] ($(addprefix
10977 $(objpfx),$(binaries-bounded))): Remove rule.
10978 ($(objpfx)%-bp.out): Remove rule.
10979 * config.make.in (build-bounded): Remove variable.
10980 * crypt/Makefile [$(build-bounded) = yes]
10981 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10982 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10983 append to variable.
10984 [$(build-bounded) = yes] (install-lib): Likewise.
10985 [$(build-bounded) = yes] (generated): Likewise.
10986 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10987 Remove rule.
10988 * intl/Makefile [$(build-bounded) = yes]
10989 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10990 * math/Makefile [$(build-bounded) = yes]
10991 ($(tests:%=$(objpfx)%-bp): Likewise.
10992 * misc/Makefile [$(build-bounded) = yes]
10993 ($(objpfx)tst-tsearch-bp): Likewise.
10994 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10995 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10996 Remove dependency.
10997 * string/Makefile (o-objects.ob): Remove variable.
10998 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10999 (CFLAGS-.ob): Remove variable.
11000 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11001 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11002 both definitions of variable.
11003 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11004 (ASFLAGS-.ob): Remove variable.
11005
e97ed6dd
JM
110062013-02-14 Joseph Myers <joseph@codesourcery.com>
11007
2bdd4ca6
JM
11008 [BZ #13550]
11009 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11010 Remove __BOUNDED_POINTERS__ from condition.
11011 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11012 * string/bits/string2.h [!__NO_STRING_INLINES &&
11013 !__BOUNDED_POINTERS__]: Likewise.
11014 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11015 Likewise.
11016 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11017 Remove conditional code.
11018 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11019 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11020 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11021 condition.
11022
e97ed6dd
JM
11023 [BZ #13550]
11024 * csu/libc-start.c: Do not include <bp-sym.h>.
11025 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11026 * elf/dl-open.c: Do not include <bp-sym.h>.
11027 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11028 * math/fegetenv.c: Do not include <bp-sym.h>.
11029 (fegetenv): Do not use BP_SYM in versioned symbols.
11030 * nptl/sysdeps/pthread/bits/libc-lockP.h
11031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11032 <bp-sym.h>.
11033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11034 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11036 (__pthread_mutex_destroy): Likewise.
11037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11038 (__pthread_mutex_lock): Likewise.
11039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11040 (__pthread_mutex_trylock): Likewise.
11041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11042 (__pthread_mutex_unlock): Likewise.
11043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11044 (__pthread_mutexattr_init): Likewise.
11045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11046 (__pthread_mutexattr_destroy): Likewise.
11047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11048 (__pthread_mutexattr_settype): Likewise.
11049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11050 (__pthread_rwlock_init): Likewise.
11051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11052 (__pthread_rwlock_destroy): Likewise.
11053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11054 (__pthread_rwlock_rdlock): Likewise.
11055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11056 (__pthread_rwlock_tryrdlock): Likewise.
11057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11058 (__pthread_rwlock_wrlock): Likewise.
11059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11060 (__pthread_rwlock_trywrlock): Likewise.
11061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11062 (__pthread_rwlock_unlock): Likewise.
11063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11064 (__pthread_key_create): Likewise.
11065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11066 (__pthread_setspecific): Likewise.
11067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11068 (__pthread_getspecific): Likewise.
11069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11070 Likewise.
11071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11072 (_pthread_cleanup_push_defer): Likewise.
11073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11074 (_pthread_cleanup_pop_restore): Likewise.
11075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11076 (pthread_setcancelstate): Likewise.
11077 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11078 <bp-sym.h>.
11079 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11080 (memchr): Do not use BP_SYM in weak_alias.
11081 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11082 (fegetenv): Do not use BP_SYM in versioned symbols.
11083 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11084 (fesetenv): Do not use BP_SYM in versioned symbols.
11085 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11086 (feupdateenv): Do not use BP_SYM in versioned symbols.
11087 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11088 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11089 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11090 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11091 (open64): Do not use BP_SYM in weak_alias.
11092 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11093 (fegetenv): Do not use BP_SYM in versioned symbols.
11094 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11095 (fesetenv): Do not use BP_SYM in versioned symbols.
11096 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11097 (feupdateenv): Do not use BP_SYM in versioned symbols.
11098 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11099 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11100 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11101 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11102 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11103 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11104 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11105 <bp-sym.h>.
11106 (__libc_start_main): Do not use BP_SYM.
11107
d6752ccd
SP
111082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11109
cb57ce60
SP
11110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11111 redundant return line.
11112 (norm): Likewise.
11113 (denorm): Likewise.
11114 (dbl_mp): Likewise.
11115 (sub_magnitudes): Likewise.
11116 (__add): Likewise.
11117 (__sub): Likewise.
11118 (__mul): Likewise.
11119 (__inv): Likewise.
11120 (__dvd): Likewise.
11121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11122 (norm): Likewise.
11123 (denorm): Likewise.
11124 (dbl_mp): Likewise.
11125 (sub_magnitudes): Likewise.
11126 (__add): Likewise.
11127 (__sub): Likewise.
11128 (__mul): Likewise.
11129 (__inv): Likewise.
11130 (__dvd): Likewise.
11131
f414520d
SP
11132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11133 instead of __mul.
11134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11135 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11136 (cc32): Likewise.
11137
d6752ccd
SP
11138 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11139 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11141 of __mul for squares.
11142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11143 function
11144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11145 Likewise.
11146 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11147 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11148
70d9946a
JM
111492013-02-13 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #13550]
11152 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11153 code.
11154 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11155 prototype or function definition. Rename ubp_* variables and
11156 parameters. Remove argv definitions conditional on
11157 [__BOUNDED_POINTERS__].
11158 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11159 * elf/dl-runtime.c (_dl_fixup): Likewise.
11160 * include/set-hooks.h (RUN_HOOK): Likewise.
11161 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11162 definition.
11163 * string/strcpy.c (strcpy): Do not use __unbounded.
11164 * sysdeps/generic/frame.h (struct layout): Likewise.
11165 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11166 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11167 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11168 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11169 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11170 (__backtrace): Likewise.
11171 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11172 use __ptrvalue.
11173 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11174 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11175 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11176 Likewise.
11177 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11178 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11179 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11180 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11181 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11182 Do not use __unbounded.
11183 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11184 Rename __unboundedrlimits parameter to rlimits in prototype.
11185 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11186 Do not use __unbounded.
11187 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11188 not use __ptrvalue.
11189 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11190 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11191 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11192 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11193 __ptrvalue or __unbounded.
11194 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11195 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11196 use __unbounded.
11197 (__new_msgctl): Do not use __ptrvalue.
11198 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11199 __unbounded.
11200 (__libc_msgrcv): Do not use __ptrvalue.
11201 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11202 startup_info): Do not use __unbounded.
11203 (__libc_start_main): Likewise. Rename ubp_* variables and
11204 parameters. Remove argv definitions conditional on
11205 [__BOUNDED_POINTERS__].
11206 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11207 __ptrvalue.
11208 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11209 use __unbounded.
11210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11211 or __ptrvalue.
11212 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11213 use __unbounded.
11214 (__new_shmctl): Do not use __ptrvalue.
11215 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11216 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11217 Likewise.
11218 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11220 (__libc_sigaction): Likewise.
11221 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11222 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11223 Likewise.
11224 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11225
cc7834d6
OB
112262013-02-13 Ondřej Bílka <neleai@seznam.cz>
11227
ffb1ec7b 11228 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11229
11230 * string/mempcpy.c: Implement by calling memcpy.
11231
bdf02814
SP
112322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11233
c2af38aa
SP
11234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11235
4e92d59e
SP
11236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11237 evaluation.
11238
909279a5
SP
11239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11240 values in the mantissa.
11241
bdf02814
SP
11242 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11243 minimize writes to Z.
11244 (sub_magnitudes): Simplify code a bit.
11245
cd525923
RM
112462013-02-12 Roland McGrath <roland@hack.frob.com>
11247
11248 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11249 from the message. The linker prefixes all warnings with that already.
11250
7e2f0d2d
AS
112512013-02-12 Andreas Schwab <schwab@suse.de>
11252
a445af0b
AS
11253 [BZ #15078]
11254 * posix/regexec.c (extend_buffers): Add parameter min_len.
11255 (check_matching): Pass minimum needed length.
11256 (clean_state_log_if_needed): Likewise.
11257 (get_subexp): Likewise.
11258 * posix/Makefile (tests): Add bug-regex34.
11259 (bug-regex34-ENV): Define.
11260 * posix/bug-regex34.c: New file.
11261
7e2f0d2d
AS
11262 [BZ #11561]
11263 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11264 elements compare against the byte sequence of it, not its name.
11265 * posix/Makefile (tests): Add bug-regex35.
11266 (bug-regex35-ENV): Define.
11267 * posix/bug-regex35.c: New file.
11268
a175b684
TV
112692013-02-11 Tom de Vries <tom@codesourcery.com>
11270
11271 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11272 comment.
11273 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11274 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11275 (CHECK_EOL): Add undef.
11276
310998fe 112772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11278
11279 * bits/stdlib-bsearch.h: New file.
11280 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11281 * stdlib/stdlib.h: Likewise.
41eda41d 11282
8ded91fb
RM
112832013-02-11 Roland McGrath <roland@hack.frob.com>
11284
11285 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11286 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11287 declaration.
11288 * manual/search.texi (Array Search Function): Add missing const in
11289 lfind prototype.
11290 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11291 declaration to use rlim_t.
11292 (Basic Scheduling Functions): Remove erroneous const from
11293 sched_getparam prototype. Remove erroneous * from
11294 sched_get_priority_max and sched_get_priority_min prototypes.
11295 (Resource Usage): Fix summary @comment on vtimes to refer to
11296 sys/vtimes.h rather than vtimes.h.
11297 Add missing *s in vtimes prototype.
11298 (Limits on Resources): Fix ulimit prototype to return long int.
11299 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11300 prototypes to use long int rather than double.
11301 (BSD Random): Fix initstate and setstate to use char *, not void *.
11302 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11303 prototype to make second argument 'struct aiocb64 *const[]'.
11304 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11305 (Status of AIO Operations): Remove erroneous const in aio_return and
11306 aio_return64 prototypes.
11307 (Synchronizing I/O): Fix sync prototype to return void.
11308 * manual/startup.texi (Suboptions): Remove an erroneous const in
11309 getsubopt prototype.
11310 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11311 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11312 use size_t rather than int.
11313 (Scanning All Users): Likewise for getpwent_r.
11314 (Setting Groups): Add missing const to setgroups prototype.
11315 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11316 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11317 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11318 'const void *' rather than 'const char *'.
11319 (Host Address Functions): Likewise for inet_ntop.
11320 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11321 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11322 ssize_t for return value.
11323 (Sending Data): Likewise for send, sendto, sendmsg.
11324 (Socket Option Functions): Add a missing const in setsockopt prototype.
11325 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11326 use wchar_t for the argument.
11327 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11328 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11329 take no arguments.
11330 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11331 double/float/long double for second argument.
11332 Fix return types of significand, significandf, significandl.
11333 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11334 argument in fchmod prototype.
11335 (File Owner): Use uid_t and gid_t in fchown prototype.
11336 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11337 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11338 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11339 use 'const struct dirent **' as argument types to CMP function pointer
11340 argument.
11341 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11342 (File Times): Fix summary magic @comment for struct utimbuf and utime
11343 to refer to utime.h, not time.h.
11344 * manual/string.texi (Argz Functions): Add missing const in
11345 argz_extract and argz_next prototypes.
11346 (Finding Tokens in a String): Likewise for basename.
11347 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11348 (Copying and Concatenation): Fix typo in wmemmove prototype.
11349 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11350 (Signal Stack): Remove erroneous const in sigstack prototype.
11351 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11352 prototype.
11353 (Simple Calendar Time): Likewise for stime.
11354 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11355 prototype.
11356 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11357 say sys/sysctl.h instead.
11358 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11359 and vsyslog prototypes.
11360
fe77fe6d
TV
113612013-02-11 Tom de Vries <tom@codesourcery.com>
11362
11363 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11364 Remove.
11365
3a09b620
RM
113662013-02-11 Roland McGrath <roland@hack.frob.com>
11367
11368 * misc/sys/mman.h: Fix typo in mremap comment.
11369
550a0b89
RM
113702013-02-08 Roland McGrath <roland@hack.frob.com>
11371
11372 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11373 the '\0' terminator.
11374
a2da1673
JM
113752013-02-08 Joseph Myers <joseph@codesourcery.com>
11376
11377 [BZ #13550]
11378 * debug/segfault.c: Don't include <bp-checks.h>.
11379 * sysdeps/generic/bp-checks.h: Remove file.
11380 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11381 (__GETDENTS): Don't use CHECK_N.
11382 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11383 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11384 (__getgroups): Don't use CHECK_N.
11385 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11386 (setgroups): Don't use CHECK_N.
11387 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11388 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11389 (__libc_msgrcv): Don't use CHECK_N.
11390 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11391 (__libc_msgsnd): Don't use CHECK_N.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11393 <bp-checks.h>.
11394 (__libc_pread): Don't use CHECK_N.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11396 include <bp-checks.h>.
11397 (__libc_pread64): Don't use CHECK_N.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11399 include <bp-checks.h>.
11400 (__libc_pwrite): Don't use CHECK_N.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11402 include <bp-checks.h>.
11403 (__libc_pwrite64): Don't use CHECK_N.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11405 <bp-checks.h>.
11406 (__libc_pread): Don't use CHECK_N.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11408 include <bp-checks.h>.
11409 (__libc_pread64): Don't use CHECK_N.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11411 include <bp-checks.h>.
11412 (__libc_pwrite): Don't use CHECK_N.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11414 include <bp-checks.h>.
11415 (__libc_pwrite64): Don't use CHECK_N.
11416 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11417 (do_pread): Don't use CHECK_N.
11418 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11419 (do_pread64): Don't use CHECK_N.
11420 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11421 (do_pwrite): Don't use CHECK_N.
11422 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11423 (do_pwrite64): Don't use CHECK_N.
11424 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11425 (__libc_readv): Don't use CHECK_N.
11426 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11427 (semop): Don't use CHECK_N.
11428 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11429 <bp-checks.h>.
11430 (semtimedop): Don't use CHECK_N.
11431 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11432 (__libc_pread): Don't use CHECK_N.
11433 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11434 <bp-checks.h>.
11435 (__libc_pread64): Don't use CHECK_N.
11436 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11437 <bp-checks.h>.
11438 (__libc_pwrite): Don't use CHECK_N.
11439 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11440 <bp-checks.h>.
11441 (__libc_pwrite64): Don't use CHECK_N.
11442 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11443 <bp-checks.h>.
11444 (__libc_msgrcv): Don't use CHECK_N.
11445 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11446 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11447 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11448 (__libc_writev): Don't use CHECK_N.
11449
b84660a8
RM
114502013-02-08 Roland McGrath <roland@hack.frob.com>
11451
7f3e75f8
RM
11452 * string/strcpy.c: Removed unused variable.
11453
b84660a8
RM
11454 * Makeconfig (+sysdep-includes): Define with := rather than =.
11455 Use an existing include/ subdir of each sysdeps dir before it.
11456
471514d3
CD
114572013-02-08 Carlos O'Donell <carlos@redhat.com>
11458
11459 * nscd/connection.c (register_traced_file): Comment function.
11460 [HAVE_INOTIFY] (union __inev): Define.
11461 [HAVE_INOTIFY] (inotify_check_files): New function.
11462 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11463 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11464 clear_db_cache.
11465 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11466
b2d3c3be
CD
114672013-02-08 Carlos O'Donell <carlos@redhat.com>
11468
11469 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11470 loaded if not already and that a failure is permanent.
11471
b39949d2
CD
114722013-02-08 Carlos O'Donell <carlos@redhat.com>
11473
ddacd1db 11474 [BZ #15006]
b39949d2
CD
11475 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11476 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11477
b2c9eff4
JM
114782013-02-08 Joseph Myers <joseph@codesourcery.com>
11479
f3aae3f3
JM
11480 [BZ #13550]
11481 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11482 (CHECK_1_NULL_OK): Likewise.
11483 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11484 (__fxstat): Do not use CHECK_1.
11485 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11486 <bp-checks.h>.
11487 (___fxstat64): Do not use CHECK_1.
11488 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11489 <bp-checks.h>.
11490 (__fxstatat): Do not use CHECK_1.
11491 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11492 <bp-checks.h>.
11493 (__fxstatat64): Do not use CHECK_1.
11494 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11495 <bp-checks.h>.
11496 (__fxstat): Do not use CHECK_1.
11497 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11498 <bp-checks.h>.
11499 (__fxstatat): Do not use CHECK_1.
11500 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11501 <bp-checks.h>.
11502 (__getresgid): Do not use CHECK_1.
11503 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11504 <bp-checks.h>.
11505 (__getresuid): Do not use CHECK_1.
11506 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11507 <bp-checks.h>.
11508 (__lxstat): Do not use CHECK_1.
11509 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11510 <bp-checks.h>.
11511 (__old_msgctl): Do not use CHECK_1.
11512 (__new_msgctl): Likewise.
11513 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11514 <bp-checks.h>.
11515 (__new_setrlimit): Do not use CHECK_1.
11516 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11517 <bp-checks.h>.
11518 (__old_shmctl): Do not use CHECK_1.
11519 (__new_shmctl): Likewise.
11520 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11521 <bp-checks.h>.
11522 (__xstat): Do not use CHECK_1.
11523 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11524 (__lxstat): Do not use CHECK_1.
11525 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11526 <bp-checks.h>.
11527 (___lxstat64): Do not use CHECK_1.
11528 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11529 (__old_msgctl): Do not use CHECK_1.
11530 (__new_msgctl): Likewise.
11531 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11532 <bp-checks.h>.
11533 (__gettimeofday): Do not use CHECK_1.
11534 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11535 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11536 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11537 <bp-checks.h>.
11538 (__gettimeofday): Do not use CHECK_1.
11539 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11540 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11541 (__new_shmctl): Do not use CHECK_1.
11542 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11543 <bp-checks.h>.
11544 (do_sigtimedwait): Do not use CHECK_1.
11545 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11546 <bp-checks.h>.
11547 (do_sigwaitinfo): Do not use CHECK_1.
11548 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11549 <bp-checks.h>.
11550 (msgctl): Do not use CHECK_1.
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11552 <bp-checks.h>.
11553 (shmctl): Do not use CHECK_1.
11554 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11555 (ustat): Do not use CHECK_1.
11556 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11557 <bp-checks.h>.
11558 (__fxstat): Do not use CHECK_1.
11559 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11560 <bp-checks.h>.
11561 (__fxstatat): Do not use CHECK_1.
11562 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11563 <bp-checks.h>.
11564 (__lxstat): Do not use CHECK_1.
11565 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11566 <bp-checks.h>.
11567 (__xstat): Do not use CHECK_1.
11568 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11569 (__xstat): Do not use CHECK_1.
11570 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11571 (___xstat64): Do not use CHECK_1.
11572
b2c9eff4
JM
11573 [BZ #13550]
11574 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11575 definitions.
11576 (CHECK_BOUNDS_HIGH): Likewise.
11577 * string/strcpy.c: Do not include <bp-checks.h>.
11578 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11579
f1d70dad
RM
115802013-02-07 Roland McGrath <roland@hack.frob.com>
11581
11582 * nscd/nscd-client.h (__nscd_drop_map_ref):
11583 Add __attribute__ ((unused)).
11584 * nis/nss-nisplus.h (niserr2nss): Likewise.
11585
11586 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11587 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11588
11589 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11590 Remove inline keyword.
11591 * include/rounding-mode.h (round_away): Likewise.
11592 * libio/wfileops.c (adjust_wide_data): Likewise.
11593 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11594 (__m128i_strloadu_tolower): Likewise.
11595 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11596 (__m128i_strloadu_tolower): Likewise.
11597 * time/mktime.c (ydhms_diff): Likewise.
11598 * locale/elem-hash.h (elem_hash): Likewise.
11599 * locale/setlocale.c (setdata): Likewise.
11600 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11601 (re_string_wchar_at): Likewise.
11602 (bitset_not, bitset_merge, bitset_mask): Likewise.
11603 [!(__GNUC__ > 3)] (inline): Remove macro.
11604 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11605 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11606 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11607 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11608 * string/memcmp.c (memcmp_bytes): Likewise.
11609 * locale/programs/locarchive.c (compute_hashval): Likewise.
11610 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11611 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11612 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11613 * nss/getent.c (print_rpc, print_protocols): Likewise.
11614 (print_passwd, print_group, print_aliases): Likewise.
11615 * nis/nss-nisplus.h (niserr2nss): Likewise.
11616 * nscd/connections.c (restart_p): Likewise.
11617 Change return type to bool.
11618
eab55bfb
RM
116192013-02-05 Roland McGrath <roland@hack.frob.com>
11620
7bd642f5
RM
11621 * Makeconfig (all-Depend-files): Add existing
11622 $(sorted-subdirs:=/Depend) files.
11623 (all-subdirs): Remove nss.
11624 * sysdeps/unix/inet/Subdirs: Add it here instead.
11625 * hesiod/Depend: New file.
11626
573c29b2
RM
11627 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11628 instead of calling alloca.
11629
b2e25af0
RM
11630 * io/lseek.c (__lseek): Rename to __libc_lseek.
11631 Define __lseek as an alias.
11632
eab55bfb
RM
11633 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11634
9a0d1941
CD
116352013-02-04 Carlos O'Donell <carlos@redhat.com>
11636
11637 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11638 else clause and remove check for non-standard endianness.
11639
b83bbec4
DM
116402013-02-04 David S. Miller <davem@davemloft.net>
11641
11642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11643
6277fdab
JM
116442013-02-04 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #13550]
11647 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11648 (__ubp_memchr): Remove prototype.
11649 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11650 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11651 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11652 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11653 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11654 Remove alias.
11655 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11656 (__ubp_memchr): Likewise.
11657 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11658 (__ubp_memchr): Likewise.
11659 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11660 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11661 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11662 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11663 CHECK_STRING.
11664 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11665 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11666 (__getcwd): Do not use CHECK_STRING.
11667 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11668 <bp-checks.h>.
11669 (__real_chown): Do not use CHECK_STRING.
11670 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11671 <bp-checks.h>.
11672 (fchownat): Do not use CHECK_STRING.
11673 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11674 CHECK_STRING.
11675 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11676 <bp-checks.h>.
11677 (__lchown): Do not use CHECK_STRING.
11678 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11679 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11680 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11681 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11683 include <bp-checks.h>.
11684 (truncate64): Do not use CHECK_STRING.
11685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11686 <bp-checks.h>.
11687 (__real_chown): Do not use CHECK_STRING.
11688 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11689 <bp-checks.h>.
11690 (__lchown): Do not use CHECK_STRING.
11691 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11692 <bp-checks.h>.
11693 (__chown): Do not use CHECK_STRING.
11694 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11695 <bp-checks.h>.
11696 (truncate64): Do not use CHECK_STRING.
11697 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11698 Likewise.
11699 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11700 (__xmknod): Do not use CHECK_STRING.
11701 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11702 <bp-checks.h>.
11703 (__xmknodat): Do not use CHECK_STRING.
11704 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11705 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11706
903ae060
AS
117072013-02-04 Andreas Schwab <schwab@suse.de>
11708
11709 [BZ #14142]
11710 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11711 * include/netdb.h: Likewise for h_errno.
11712 * elf/tst-stackguard1.c: Include <tls.h>.
11713
542f9466
JK
117142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11715
11716 * elf/link.h (struct link_map): Extend the l_addr comment.
11717 * include/link.h (struct link_map): Likewise.
11718
e782a927
JM
117192013-02-01 Joseph Myers <joseph@codesourcery.com>
11720
11721 [BZ #13550]
11722 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11723 (BOUNDED_1): Remove macro.
11724 * debug/backtrace.c: Don't include <bp-checks.h>.
11725 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11726 (__backtrace): Likewise.
11727 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11728 <bp-checks.h>.
11729 (__backtrace): Don't use BOUNDED_1.
11730 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11731 <bp-checks.h>.
11732 (__backtrace): Don't use BOUNDED_1.
11733 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11734 (__backtrace): Don't use BOUNDED_1.
11735 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11736 (shmat): Don't use BOUNDED_N.
11737
8cf28c5e
JM
117382013-01-31 Joseph Myers <joseph@codesourcery.com>
11739
3a7ac8a0
JM
11740 [BZ #13550]
11741 * sysdeps/generic/bp-start.h: Remove file.
11742 * csu/libc-start.c: Don't include <bp-start.h>.
11743 (LIBC_START_MAIN): Set up __environ directly instead of using
11744 INIT_ARGV_and_ENVIRON.
11745 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11746 <bp-start.h>.
11747
f3499f95
JM
11748 [BZ #13550]
11749 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11750 definitions.
11751 (CHECK_FCNTL): Likewise.
11752 (CHECK_N_PAGES): Likewise.
11753
32a45bea
JM
11754 [BZ #13550]
11755 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11756 definitions.
11757 (CHECK_SIGSET_NULL_OK): Likewise.
11758 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11759 <bp-checks.h>.
11760 (sigpending): Don't use CHECK_SIGSET.
11761 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11762 <bp-checks.h>.
11763 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11764 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11765 <bp-checks.h>.
11766 (do_sigsuspend): Don't use CHECK_SIGSET.
11767 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11768 use CHECK_SIGSET.
11769 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11770 (do_sigwait): Don't use CHECK_SIGSET.
11771 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11772 use CHECK_SIGSET.
11773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11774 include <bp-checks.h>.
11775 (sigpending): Don't use CHECK_SIGSET.
11776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11777 include <bp-checks.h>.
11778 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11779 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11780 <bp-checks.h>.
11781 (sigpending): Don't use CHECK_SIGSET.
11782 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11783 <bp-checks.h>.
11784 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11785
2e8a5c8c
JM
11786 [BZ #13550]
11787 * sysdeps/generic/bp-semctl.h: Remove file.
11788 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11789 <bp-checks.h> and <bp-semctl.h>.
11790 (__old_semctl): Don't use CHECK_SEMCTL.
11791 (__new_semctl): Likewise.
11792 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11793 and <bp-semctl.h>.
11794 (__old_semctl): Don't use CHECK_SEMCTL.
11795 (__new_semctl): Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11797 <bp-checks.h> and <bp-semctl.h>.
11798 (__old_semctl): Don't use CHECK_SEMCTL.
11799 (__new_semctl): Likewise.
11800 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11801 <bp-checks.h> and <bp-semctl.h>.
11802 (semctl): Don't use CHECK_SEMCTL.
11803
c2d54929
JM
11804 [BZ #13550]
11805 * Makerules (elide-bp-thunks): Remove variable.
11806 (elide-routines.oS): Don't use $(elide-bp-thunks).
11807 (elide-routines.os): Likewise.
11808 (elide-routines.o): Likewise.
11809 (elide-routines.op): Likewise.
11810 (elide-routines.og): Likewise.
11811 (objects): Don't use $(bp-thunks).
11812 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11813 include.
11814 (common-generated): Do not add s-proto-bp.d.
11815 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11816 (int): Likewise.
11817 (typ): Likewise.
11818 Do not generate makefile rules for bounded-pointer thunks.
11819 * sysdeps/generic/bp-thunks.h: Remove file.
11820 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11821 * sysdeps/unix/s-proto-bp.S: Likewise.
11822
8cf28c5e
JM
11823 [BZ #15062]
11824 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11825 parts of result separately when argument is not close to line from
11826 -i to i and one part of argument is small.
11827 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11828 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11829 * math/libm-test.inc (cacos_test): Add more tests.
11830 (casin_test): Likewise.
11831 (casinh_test): Likewise.
11832 * sysdeps/i386/fpu/libm-test-ulps: Update.
11833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11834
c4e33b8d
DM
118352013-01-31 David S. Miller <davem@davemloft.net>
11836
11837 * po/de.po: Update from translation team.
11838
3b60b421
MK
118392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11840
11841 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11842
bb931195
TS
118432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11844
b5a5da23
TS
11845 * configure.in (_AC_PROG_CC_C89): New definition.
11846 * configure: Regenerate.
11847
bb931195
TS
11848 * configure.in (AC_PROG_CPP): New definition.
11849 * configure: Regenerate.
11850
8c53a12c
JM
118512013-01-23 Joseph Myers <joseph@codesourcery.com>
11852
11853 * debug/tst-backtrace.h: New file.
11854 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11855 (ret): Remove variable.
11856 (x): Likewise.
11857 (FAIL): Remove macro.
11858 (NO_INLINE): Likewise.
11859 (fn1): Use match function instead of strstr.
11860 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11861 (ret): Remove variable.
11862 (x): Likewise.
11863 (FAIL): Remove macro.
11864 (NO_INLINE): Likewise.
11865 (fn): Use match function instead of strstr.
11866 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11867 (ret): Remove variable.
11868 (x): Likewise.
11869 (FAIL): Remove macro.
11870 (NO_INLINE): Likewise.
11871 (handle_signal): Use match function instead of strstr.
11872 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11873 (ret): Remove variable.
11874 (x): Likewise.
11875 (FAIL): Remove macro.
11876 (NO_INLINE): Likewise.
11877 (handle_signal): Use match function instead of strstr.
11878
4858fa2a
RM
118792013-01-23 Roland McGrath <roland@hack.frob.com>
11880
11881 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11882
bae8e7f5
DM
118832013-01-23 David S. Miller <davem@davemloft.net>
11884
11885 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11886 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11887 argument of CAS if possible.
11888 * sysdeps/sparc/sparc64/bits/atomic.h
11889 (__arch_compare_and_exchange_val_32_acq): Likewise.
11890 (__arch_compare_and_exchange_val_64_acq): Likewise.
11891
9cbbc4ae
PT
118922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11893
11894 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11895 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11896 Include <limits.h>.
67b3f58c 11897 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11898
5655a0b5
AC
118992013-01-23 Adam Conrad <adconrad@0c3.net>
11900
11901 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11902 (LDFLAGS-tst-array5): Likewise.
11903
052aff95
JM
119042013-01-23 Joseph Myers <joseph@codesourcery.com>
11905
11906 [BZ #15036]
11907 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11908 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11909 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11910 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11911
7c1e01aa
DM
119122013-01-21 David S. Miller <davem@davemloft.net>
11913
11914 * sysdeps/sparc/backtrace.c: New file.
11915 * sysdeps/sparc/sparc32/backtrace.h: New file.
11916 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11917 * sysdeps/sparc/sparc64/backtrace.h: New file.
11918 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11919 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11920 -funwind-tables.
11921
ab087e0a
AS
119222013-01-21 Andreas Schwab <schwab@suse.de>
11923
11924 [BZ #15020]
11925 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11926 closed its stdout.
11927
ed689c2f
AS
119282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11929
11930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11931 "mpa2.h".
11932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11933
31d470ac
JM
119342013-01-18 Joseph Myers <joseph@codesourcery.com>
11935 Mark Mitchell <mark@codesourcery.com>
11936 Tom de Vries <tom@codesourcery.com>
11937 Paul Pluzhnikov <ppluzhnikov@google.com>
11938
11939 * debug/tst-backtrace2.c: New file.
11940 * debug/tst-backtrace3.c: Likewise.
11941 * debug/tst-backtrace4.c: Likewise.
11942 * debug/tst-backtrace5.c: Likewise.
11943 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11944 (CFLAGS-tst-backtrace3.c): Likewise.
11945 (CFLAGS-tst-backtrace4.c): Likewise.
11946 (CFLAGS-tst-backtrace5.c): Likewise.
11947 (LDFLAGS-tst-backtrace2): Likewise.
11948 (LDFLAGS-tst-backtrace3): Likewise.
11949 (LDFLAGS-tst-backtrace4): Likewise.
11950 (LDFLAGS-tst-backtrace5): Likewise.
11951 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11952 tst-backtrace4 and tst-backtrace5.
11953
90567f30 119542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11955 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11956
11957 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11958 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11959 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11960 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11962 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11963 "+r" and remove output regs list as redundant. Add explicit inline
11964 asm to specify register of return val to work around compiler codegen
11965 bug. Remove (int) cast on return value. Add return type parameter to
11966 use in macro so that this macro does not truncate return value for
11967 64-bit values.
11968 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11969 pass to INTERNAL_VSYSCALL_NCS.
11970 (INLINE_VSYSCALL): Add 'long int' as return type to
11971 INTERNAL_VSYSCALL_NCS macro invocation.
11972 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11973 INTERNAL_VSYSCALL_NCS macro invocation.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11975
d3b9ea61
SP
119762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11977
0b57daeb
SP
11978 [BZ #14496]
11979 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11980 Fix application of SIMD FP exception mask.
11981
caa99d06
SP
11982 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11983 mp_no from a power of two.
11984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11985 __mpexp_twomm1. Use __pow_mp.
11986
d3b9ea61
SP
11987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11988 multiplication.
11989
1dbaee3c
DM
119902013-01-17 David S. Miller <davem@davemloft.net>
11991
11992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11993
728d7b43
JM
119942013-01-17 Joseph Myers <joseph@codesourcery.com>
11995
11996 [BZ #15023]
11997 * include/complex.h: Condition contents on [!_COMPLEX_H].
11998 (__kernel_casinhf): New prototype.
11999 (__kernel_casinh): Likewise.
12000 (__kernel_casinhl): Likewise.
12001 * math/Makefile (libm_calls): Add k_casinh.
12002 * math/k_casinh.c: New file.
12003 * math/k_casinhf.c: Likewise.
12004 * math/k_casinhl.c: Likewise.
12005 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12006 finite nonzero arguments.
12007 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12008 finite nonzero arguments.
12009 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12010 finite nonzero arguments.
12011 * math/s_casinh.c: Do not include <float.h>.
12012 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12013 * math/s_casinhf.c: Do not include <float.h>.
12014 (__casinhf): Move code for finite nonzero arguments to
12015 k_casinhf.c.
12016 * math/s_casinhl.c: Do not include <float.h>.
12017 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12018 redefine.
12019 (__casinhl): Move code for finite nonzero arguments to
12020 k_casinhl.c.
12021 * math/libm-test.inc (cacos_test): Add more tests.
12022 * sysdeps/i386/fpu/libm-test-ulps: Update.
12023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024
2a26ef3a
PT
120252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12026
12027 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12028 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12029 [!HAVE_MREMAP]: Remove [defined linux] case.
12030 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12031
a897655d
SP
120322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12033
12034 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12035
881ebe89 120362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12037
12038 * elf/elf.h (R_386_SIZE32): New relocation.
12039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12040 R_386_SIZE32.
12041 (elf_machine_rela): Likewise.
12042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12043 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12044
59981e9b
JM
120452013-01-17 Joseph Myers <joseph@codesourcery.com>
12046
12047 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12048 (FP_FAST_FMA): Do not define.
12049 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12050 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12051 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12052 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12053 !_SOFT_FLOAT]: Likewise.
12054 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12055 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12056 value.
12057 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12058 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12059 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12060 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12061 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12062 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12063 file.
12064
cfa8054f
AS
120652013-01-16 Andreas Schwab <schwab@suse.de>
12066
12067 [BZ #14327]
12068 * include/stdlib.h (__mktemp): Add declaration.
12069 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12070 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12071
dd930cc5
SP
120722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12073
881ebe89
SP
12074 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12075 definitions.
12076 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12077 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12078 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12079 definitions here.
12080 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12081 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12082 definitions.
12083 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12084 and ONE.
12085 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12086 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12087 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12088 definitions.
12089 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12090 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12091 definitions.
12092 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12093
dd930cc5
SP
12094 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12095
c19a9f89
DM
120962013-01-15 David S. Miller <davem@davemloft.net>
12097
1aa61767
DM
12098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12099 trunc{,f} to libm-sysdep_routes.
12100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12102 file.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12105 file.
12106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12107 file.
12108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12110 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12111 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12112 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12113 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12114 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12115 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12116
c42d5e98
DM
12117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12118 nearbyint{,f} to libm-sysdep_routes.
12119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12121 New file.
12122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12123 file.
12124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12125 New file.
12126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12127 file.
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12131 file.
12132 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12134 file.
12135 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12136 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12137 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12138
c19a9f89
DM
12139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12140 libc_feholdexcept and libc_fesetenv.
12141
357679d2
MF
121422013-01-15 Mike Frysinger <vapier@gentoo.org>
12143
12144 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12145
65a82e3d
DM
121462013-01-14 David S. Miller <davem@davemloft.net>
12147
8b954ab9
DM
12148 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12149 (SPARC_ASM_VIS2_IFUNC): Likewise.
12150 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12152 use of 'siam' instruction.
12153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12154 Likewise.
12155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12156 Likewise.
12157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12158 Likewise.
12159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12164 file.
12165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12166 file.
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12168 file.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12170 file.
12171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12176 new VIS2 routines.
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12180 Likewise.
12181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12186 routines to libm-sysdep_routines.
12187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12188
65a82e3d
DM
12189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12190 fdim/fdimf to libm-sysdep_routines.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12192 file.
12193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12195 file.
12196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12199 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12200 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12201 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12202 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12203
e34ab705
SP
122042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12205
2a91b573
SP
12206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12207 to optimize copies.
12208
1066a534
SP
12209 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12212
e34ab705
SP
12213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12214 local variable MPTWO.
12215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12216 Likewise.
12217
aba5e596
MF
122182013-01-13 Mike Frysinger <vapier@gentoo.org>
12219
12220 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12221 GLOB_NOESCAPE.
12222
e557e9e5
MF
122232013-01-13 Mike Frysinger <vapier@gentoo.org>
12224
12225 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12226
0428cec9
MF
122272013-01-13 Mike Frysinger <vapier@gentoo.org>
12228
12229 * manual/pattern.texi (glob_t): Document gl_flags.
12230 (glob64_t): Likewise.
12231
8794a964
DM
122322013-01-11 David S. Miller <davem@davemloft.net>
12233
66438c3f
RM
12234 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12235 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12236 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12237 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12238 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12239 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12240 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12241 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12242 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12243 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12244 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12245 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12246 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12247
4ae4244d
DM
12248 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12249 sparc V9 rather than using V8 code.
12250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12252
8794a964
DM
12253 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12254 Move to...
12255 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12256 Here.
12257
6270516e
RM
122582013-01-11 Roland McGrath <roland@hack.frob.com>
12259
12260 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12261 not in the main loop.
12262 * configure: Regenerated.
12263
6a57d931
JM
122642013-01-11 Joseph Myers <joseph@codesourcery.com>
12265
12266 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12267 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12268 to just #else.
12269 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12270 [!__GLIBC_HAVE_LONG_LONG] case.
12271 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12272 condition to just #else.
12273 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12274 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12275 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12276 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12277 unconditional.
12278 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12279 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12280 #elif condition to just #else.
12281 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12282 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12283 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12284 #elif condition to just #else.
12285
0e8529e9
SE
122862013-01-11 Steve Ellcey <sellcey@mips.com>
12287
12288 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12289 (EF_MIPS_ARCH_64): Fix value.
12290 (EF_MIPS_ARCH_32R2): New.
12291 (EF_MIPS_ARCH_64R2): New.
12292
740b3dbe
L
122932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12294
12295 * Makeconfig (+link-pie-before-libc): New.
12296 (+link-pie-after-libc): Likewise.
12297 (+link-pie-tests): Likewise.
12298 (+link-pie): Rewritten.
12299 (link-before-libc): Remove $(config-LDFLAGS).
12300 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12301 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12302 (config-LDFLAGS): Renamed to ...
12303 (rtld-LDFLAGS): This.
12304 (rtld-tests-LDFLAGS): New macro.
12305 (link-libc-rpath-link): Likewise.
12306 (link-libc-tests-rpath-link): Likewise.
12307 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12308 (link-libc): Prepand $(link-libc-rpath-link).
12309 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12310 (test-program-prefix): New macro.
12311 (test-via-rtld-prefix): Likewise.
12312 (test-program-cmd): Likewise.
12313 (host-test-program-cmd): Likewise.
12314 * Makefile ($(common-objpfx)testrun.sh): Replace
12315 $(run-program-prefix) with $(test-program-prefix).
12316 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12317 $(rtld-LDFLAGS).
12318 ($(common-objpfx)shlib.lds): Likewise.
12319 (build-module-helper): Likewise.
12320 ($(common-objpfx)format.lds): Likewise.
12321 * Rules (binaries-pie-tests): New.
12322 (binaries-pie-notests): Likewise.
12323 (binaries-pie): Rewritten.
12324 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12325 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12326 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12327 (make-test-out): Replace $(host-built-program-cmd) with
12328 $(host-test-program-cmd).
12329 * config.make.in (build-hardcoded-path-in-tests): New variable.
12330 * configure.in (--enable-hardcoded-path-in-tests): New configure
12331 option.
12332 (hardcoded_path_in_tests): New AC_SUBST.
12333 * configure: Regenerated.
12334 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12335 $(built-program-cmd) with $(test-program-cmd).
12336 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12337 (test_program_cmd): This.
12338 * elf/Makefile ($(objpfx)order.out): Run test with
12339 $(test-program-prefix).
12340 ($(objpfx)order2.out): Likewise.
12341 ($(objpfx)tst-initorder.out): Likewise.
12342 ($(objpfx)tst-initorder2.out): Likewise.
12343 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12344 $(test-program-cmd).
12345 ($(objpfx)tst-array1-static.out): Likewise.
12346 ($(objpfx)tst-array2.out): Likewise.
12347 ($(objpfx)tst-array3.out): Likewise.
12348 ($(objpfx)tst-array4.out): Likewise.
12349 ($(objpfx)tst-array5.out): Likewise.
12350 ($(objpfx)tst-array5-static.out): Likewise.
12351 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12352 $(test-program-cmd).
12353 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12354 $(run-program-prefix) with $(test-program-prefix).
12355 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12356 (test_program_prefix): This.
12357 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12358 $(run-program-prefix) with $(test-program-prefix).
12359 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12360 (test_program_prefix): This.
12361 * iconvdata/tst-tables.sh: Likewise.
12362 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12363 $(run-program-prefix) with $(test-program-prefix).
12364 ($(objpfx)tst-translit.out): Likewise.
12365 ($(objpfx)tst-gettext2.out): Likewise.
12366 ($(objpfx)tst-gettext4.out): Likewise.
12367 ($(objpfx)tst-gettext6.out): Likewise.
12368 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12369 (test_program_prefix): This.
12370 * intl/tst-gettext2.sh: Likewise.
12371 * intl/tst-gettext4.sh Likewise.
12372 * intl/tst-gettext6.sh: Likewise.
12373 * intl/tst-translit.sh: Likewise.
12374 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12375 with $(test-program-cmd).
12376 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12377 $(run-program-prefix) with $(test-program-prefix).
12378 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12379 (test_program_prefix): This.
12380 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12381 $(run-program-prefix) with $(test-program-prefix).
12382 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12383 (test_program_prefix): This.
12384 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12385 * posix/Makefile ($(objpfx)globtest.out): Replace
12386 $(run-via-rtld-prefix) and $(test-wrapper) with
12387 $(test-program-prefix) and $(test-via-rtld-prefix).
12388 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12389 $(test-program-prefix).
12390 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12391 $(host-test-program-cmd).
12392 (tst-spawn-ARGS): Likewise.
12393 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12394 $(test-program-prefix).
12395 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12396 (test_via_rtld_prefix): This.
12397 (test_wrapper): Renamed to ...
12398 (test_program_prefix): This.
12399 (run_program_prefix): Replaced by test_program_prefix.
12400 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12401 (test_program_prefix): This.
12402 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12403 with $(host-test-program-cmd).
12404 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12405 $(run-program-prefix) with $(test-program-prefix).
12406 ($(objpfx)tst-printf.out): Likewise.
12407 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12408 $(test-program-cmd).
12409 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12410 (test_program_prefix): This.
12411 * stdio-common/tst-unbputc.sh: Likewise.
12412 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12413 $(run-program-prefix) with $(test-program-prefix).
12414 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12415 (test_program_prefix): This.
12416 * string/Makefile ($(objpfx)tst-svc.out): Replace
12417 $(built-program-cmd) with $(test-program-cmd).
12418
c6fe55cf
AJ
124192013-01-11 Andreas Jaeger <aj@suse.de>
12420
12421 [BZ #15003]
12422 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12423 value. Sync with Linux 3.7.
12424
9e6919c8
DM
124252013-01-10 David S. Miller <davem@davemloft.net>
12426
12427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12428 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12429 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12430
1c9f1a02
RM
124312013-01-10 Roland McGrath <roland@hack.frob.com>
12432
12433 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12434 never set.
12435 * configure: Regenerated.
12436
b9de2dde
DM
124372013-01-10 David S. Miller <davem@davemloft.net>
12438
12439 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12440 sparc V9 rather than using V8 code.
12441 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12442 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12443
e7f68ef4
RM
124442013-01-10 Roland McGrath <roland@hack.frob.com>
12445
12446 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12447 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12448 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12449 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12450 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12451 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12452 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12453 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12454 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12455 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12456 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12457 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12458 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12459 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12460 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12461 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12462 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12463 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12464 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12465 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12466 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12467 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12468 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12469 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12470 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12471 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12472 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12473
5a47cc9c
DM
124742013-01-10 David S. Miller <davem@davemloft.net>
12475
12476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12477
4cf8f209
L
124782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12479
12480 * posix/Makefile (tests-static): New variable.
12481 (tests): Add $(tests-static).
12482 (tst-exec-static-ARGS): New variable.
12483 (tst-spawn-static-ARGS): Likewise.
12484 * posix/tst-exec-static.c: New file.
12485 * posix/tst-spawn-static.c: Likewise.
12486 * posix/tst-exec.c: Support run directly.
12487 * posix/tst-spawn.c: Likewise.
12488
fed0faa1
JM
124892013-01-10 Joseph Myers <joseph@codesourcery.com>
12490
828beb13
JM
12491 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12492 long.
12493 * math/bits/mathcalls.h (llrint): Likewise.
12494 (llround): Likewise.
12495 * stdlib/stdlib.h (struct drand48_data): Likewise.
12496 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12497 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12499 Likewise.
12500 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12501 Likewise.
12502 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12503 (elf_greg_t): Likewise.
12504 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12505 (__jmp_buf): Likewise.
12506 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12507 definitions.
12508 (llrint): Likewise, for all definitions.
12509 (llrintl): Likewise.
12510
fed0faa1
JM
12511 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12512 Remove [__GNUC__] condition.
12513 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12514 condition to just [__USE_ISOC99].
12515 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12516
1a20cb20
L
125172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12518
12519 [BZ #14200]
12520 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12521 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12522 defined.
12523 (_POSIX_V6_ILP32_OFF32): Likewise.
12524 (_XBS5_ILP32_OFF32): Likewise.
12525 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12526 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12527
751b85f7
SP
125282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12529
7490eb81
SP
12530 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12531
751b85f7
SP
12532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12533 doubles __mpexp_twomm1. Adjust usage.
12534 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12535 Remove.
12536
988197f0
AS
125372013-01-10 Andreas Schwab <schwab@suse.de>
12538
12539 [BZ #14964]
12540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12541 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12542
e83d7298
DM
125432013-01-09 David S. Miller <davem@davemloft.net>
12544
034ed64b 12545 [BZ #15003]
e83d7298
DM
12546 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12547 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12548 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12549 TCP_FASTOPEN): Define.
12550 (tcp_repair_opt): New structure.
12551 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12552 enum values.
12553 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12554 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12555 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12556 (tcp_cookie_transactions): New structure.
12557
d5e0b9bd
AB
125582013-01-09 Anton Blanchard <anton@samba.org>
12559
12560 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12561 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12564
0c07e3ea
JM
125652013-01-09 Joseph Myers <joseph@codesourcery.com>
12566
12567 * include/features.h (__USE_ANSI): Remove.
12568
232f7002
RM
125692013-01-09 Roland McGrath <roland@hack.frob.com>
12570
ad98e30c
RM
12571 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12572
232f7002
RM
12573 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12574
950c99ca
SP
125752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12576
b5792741
SP
12577 * sysdeps/s390/fpu/libm-test-ulps: Update.
12578
47cf2278
SP
12579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12580
950c99ca
SP
12581 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12582 (__acr): Likewise.
12583 (__cpy): Likewise.
12584 (norm): Likewise.
12585 (denorm): Likewise.
12586 (__mp_dbl): Likewise.
12587 (__dbl_mp): Likewise.
12588 (add_magnitudes): Likewise.
12589 (sub_magnitudes): Likewise.
12590 (__add): Likewise.
12591 (__sub): Likewise.
12592 (__mul): Likewise.
12593 (__inv): Likewise.
12594 (__dvd): Likewise.
12595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12596 (__acr): Likewise.
12597 (__cpy): Likewise.
12598 (norm): Likewise.
12599 (denorm): Likewise.
12600 (__mp_dbl): Likewise.
12601 (__dbl_mp): Likewise.
12602 (add_magnitudes): Likewise.
12603 (sub_magnitudes): Likewise.
12604 (__add): Likewise.
12605 (__sub): Likewise.
12606 (__mul): Likewise.
12607 (__inv): Likewise.
12608 (__dvd): Likewise.
12609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12610 (__acr): Likewise.
12611 (__cpy): Likewise.
12612 (norm): Likewise.
12613 (denorm): Likewise.
12614 (__mp_dbl): Likewise.
12615 (__dbl_mp): Likewise.
12616 (add_magnitudes): Likewise.
12617 (sub_magnitudes): Likewise.
12618 (__add): Likewise.
12619 (__sub): Likewise.
12620 (__mul): Likewise.
12621 (__inv): Likewise.
12622 (__dvd): Likewise.
12623
eede9df9
JM
126242013-01-08 Joseph Myers <joseph@codesourcery.com>
12625
12626 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12627 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12628 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12629 2 && __USE_EXTERN_INLINES]: Likewise.
12630
c40ea3d9
AJ
126312013-01-08 Andreas Jaeger <aj@suse.de>
12632
12633 [BZ# 14985]
12634 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12635 Remove.
12636 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12637 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12638
2ccdea26
AB
126392013-01-07 Anton Blanchard <anton@samba.org>
12640
12641 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12642 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12643 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12644 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12645 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12647 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12648 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12651 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12652 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12654 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12657 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12659 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12660 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12662 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12663 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12664 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12665 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12666 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12667 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12668 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12670 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12671 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12673 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12674 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12675 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12677 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12678 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12679 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12681 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12683 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12684
a9708fed
JM
126852013-01-07 Joseph Myers <joseph@codesourcery.com>
12686
375607b9
JM
12687 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12688 (__MALLOC_PMT): Likewise.
12689 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12690 [__GNUC__], only on [_LIBC].
12691 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12692 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12693 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12694 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12695 forward declaration.
12696 (realloc_hook_ini): Likewise.
12697 (memalign_hook_ini): Likewise.
12698 (__libc_memalign): Do not use __MALLOC_PMT in variable
12699 declaration.
12700 (__libc_valloc): Likewise.
12701 (__libc_pvalloc): Likewise.
12702 (__libc_calloc): Likewise.
12703 (__posix_memalign): Likewise.
12704
a9708fed
JM
12705 [BZ #14996]
12706 * math/s_casinh.c: Include <float.h>.
12707 (__casinh): Do not do computation with squaring and square root
12708 for large arguments.
12709 * math/s_casinhf.c: Include <float.h>.
12710 (__casinhf): Do not do computation with squaring and square root
12711 for large arguments.
12712 * math/s_casinhl.c: Include <float.h>.
12713 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12714 (__casinhl): Do not do computation with squaring and square root
12715 for large arguments.
12716 * math/libm-test.inc (casin_test): Add more tests.
12717 (casinh_test): Likewise.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720
afec409a
L
127212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12724 (__x86_64_raw_data_cache_size): Likewise.
12725 (__x86_64_data_cache_size_half): Likewise.
12726 (__x86_64_raw_data_cache_size_half): Likewise.
12727 (__x86_64_shared_cache_size): Likewise.
12728 (__x86_64_raw_shared_cache_size): Likewise.
12729 (__x86_64_shared_cache_size_half): Likewise.
12730 (__x86_64_raw_shared_cache_size_half): Likewise.
12731 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12732 to ...
12733 (__x86_data_cache_size): This.
12734 (__x86_64_raw_data_cache_size): Renamed to ...
12735 (__x86_raw_data_cache_size): This.
12736 (__x86_64_data_cache_size_half): Renamed to ...
12737 (__x86_data_cache_size_half): This.
12738 (__x86_64_raw_data_cache_size_half): Renamed to ...
12739 (__x86_raw_data_cache_size_half): This.
12740 (__x86_64_shared_cache_size): Renamed to ...
12741 (__x86_shared_cache_size): This.
12742 (__x86_64_raw_shared_cache_size): Renamed to ...
12743 (__x86_raw_shared_cache_size): This.
12744 (__x86_64_shared_cache_size_half): Renamed to ...
12745 (__x86_shared_cache_size_half): This.
12746 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12747 (__x86_raw_shared_cache_size_half): This.
12748 * sysdeps/x86_64/memcpy.S: Updated.
12749 * sysdeps/x86_64/memset.S: Likewise.
12750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12751 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12752 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12753
0b3986d0
DM
127542013-01-04 David S. Miller <davem@davemloft.net>
12755
12756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12757
e47686e9
AS
127582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12759
d643bac1
AS
12760 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12761 1 to avoid redefinition warning.
12762 (__USE_GNU): Don't define.
12763 (init_signaling_nan): Protoize.
12764
e47686e9
AS
12765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12766
b18decba
SP
127672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12768
fffb407f
SP
12769 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12771 (__cpymn): Likewise.
12772 (norm): Remove commented code.
12773 (denorm): Likewise.
12774 (__mp_dbl): Likewise.
12775 (__inv): Likewise.
12776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12777 (__cpymn): Likewise.
12778 (norm): Remove commented code.
12779 (denorm): Likewise.
12780 (__mp_dbl): Likewise.
12781 (__inv): Likewise.
12782
b18decba
SP
12783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12784 mp_no value for 1.0 and 2.0.
12785 (norm): Use RADIXI instead of radixi.d.
12786 (denorm): Likewise.
12787 (__mul): Use 0.0 instead of zero.d.
12788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12789 mp_no value for 1.0 and 2.0.
12790 (norm): Use RADIXI instead of radixi.d.
12791 (denorm): Likewise.
12792 (__mul): Use 0.0 instead of zero.d.
12793
cdc1c96f
JM
127942013-01-04 Joseph Myers <joseph@codesourcery.com>
12795
12796 [BZ #14994]
12797 * math/s_casinh.c (__casinh): Reduce finite argument to first
12798 quadrant then set signs of results at the end.
12799 * math/s_casinhf.c (__casinhf): Likewise.
12800 * math/s_casinhl.c (__casinhl): Likewise.
12801 * math/libm-test.inc (casin_test): Add more tests.
12802 (casinh_test): Likewise.
12803 * sysdeps/i386/fpu/libm-test-ulps: Update.
12804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805
302913e1
SP
128062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
6420d207
SP
12808 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12809
a9e48ab4
SP
12810 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12811
b7837264
SP
12812 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12813 declarations.
12814 (denorm): Likewise.
12815 (__mp_dbl): Likewise.
12816 (__inv): Likewise.
12817
f8af25d2
SP
12818 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12819 and adjust the header comment.
12820
302913e1
SP
12821 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12822 variable name from declaration.
12823
5d7dd1ca
L
128242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12825
12826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12827 Initialize COMMON_CPUID_INDEX_7 element.
12828 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12829 (CPUID_RTM): Likewise.
12830 (HAS_RTM): Likewise.
12831 (COMMON_CPUID_INDEX_7): New enum.
12832
2f5f40f4
AS
128332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12834
12835 [BZ #14981]
12836 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12837 size is zero, record memory as freed.
12838
4056f4a0
AJ
128392013-01-03 Andreas Jaeger <aj@suse.de>
12840
12841 * po/ia.po: Add new Interlingua translation.
12842
ab15736f 128432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12844
12845 * locale/programs/localedef.c: Fix description of '--posix' flag.
12846
568035b7
JM
128472013-01-02 Joseph Myers <joseph@codesourcery.com>
12848
e6898b8d
JM
12849 * NEWS: Update dates in second copyright notice.
12850 * README: Update copyright dates in example.
12851 * manual/libc.texinfo: Update copyright dates.
12852 * scripts/test-installation.pl: Update copyright date in --version
12853 output.
12854
0e2f9562
JM
12855 * hurd/ctty-input.c: Fix copyright notice formatting.
12856 * hurd/ctty-output.c: Likewise.
12857 * hurd/dtable.c: Likewise.
12858 * hurd/hurd-raise.c: Likewise.
12859 * hurd/hurdprio.c: Likewise.
12860 * hurd/msgportdemux.c: Likewise.
12861 * misc/sys/file.h: Likewise.
12862 * misc/sys/ioctl.h: Likewise.
12863 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12864 * sysdeps/mach/hurd/chdir.c: Likewise.
12865 * sysdeps/mach/hurd/fchdir.c: Likewise.
12866 * sysdeps/mach/hurd/rename.c: Likewise.
12867 * sysdeps/mach/hurd/rmdir.c: Likewise.
12868 * sysdeps/mach/hurd/seekdir.c: Likewise.
12869 * sysdeps/mach/hurd/setsid.c: Likewise.
12870 * sysdeps/posix/wait3.c: Likewise.
12871
568035b7
JM
12872 * All files with FSF copyright notices: Update copyright dates
12873 using scripts/update-copyrights.
12874 * intl/plural.c: Regenerated.
12875 * locale/programs/charmap-kw.h: Likewise.
12876 * locale/programs/locfile-kw.h: Likewise.
12877
da08f647
SP
128782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12879
0f5477af
SP
12880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12881 four values.
12882
44e0d4c2
SP
12883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12884 calculation loop and add branch prediction.
12885
4d55b4e5
SP
12886 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12887 check access beyond bounds of m1np.
12888
da08f647
SP
12889 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12890 MPTWO.
12891 (__inv): Remove local variable MPTWO to use the global
12892 constant.
12893 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12894 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12895 variable MPTWO.
12896 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12897 MP3HALFS static const.
12898
8e051029
DM
128992013-01-01 David S. Miller <davem@davemloft.net>
12900
12901 * po/ca.po: Update from translation team.
12902
f4cf5f2d
JM
129032013-01-01 Joseph Myers <joseph@codesourcery.com>
12904
12905 * scripts/update-copyrights: New file.
12906 * Makeconfig: Reformat copyright notice.
12907 * ctype/ctype.h: Likewise.
12908 * debug/swprintf_chk.c: Likewise.
12909 * elf/dl-cache.c: Likewise.
12910 * elf/dl-debug.c: Likewise.
12911 * elf/dl-object.c: Likewise.
12912 * grp/initgroups.c: Likewise.
12913 * hurd/Makefile: Likewise.
12914 * hurd/hurd/signal.h: Likewise.
12915 * hurd/hurdfault.c: Likewise.
12916 * hurd/hurdioctl.c: Likewise.
12917 * hurd/hurdlookup.c: Likewise.
12918 * hurd/intr-msg.c: Likewise.
12919 * iconv/gconv_open.c: Likewise.
12920 * libio/swprintf.c: Likewise.
12921 * locale/lc-ctype.c: Likewise.
12922 * locale/nl_langinfo.c: Likewise.
12923 * mach/Machrules: Likewise.
12924 * mach/Makefile: Likewise.
12925 * malloc/obstack.h: Likewise.
12926 * manual/Makefile: Likewise.
12927 * manual/tsort.awk: Likewise.
12928 * misc/bits/stab.def: Likewise.
12929 * nis/nis_print_group_entry.c: Likewise.
12930 * nis/nis_table.c: Likewise.
12931 * nis/nss_compat/compat-pwd.c: Likewise.
12932 * nis/nss_compat/compat-spwd.c: Likewise.
12933 * po/Makefile: Likewise.
12934 * posix/fnmatch.c: Likewise.
12935 * posix/regex.h: Likewise.
12936 * resolv/Makefile: Likewise.
12937 * resolv/nss_dns/dns-network.c: Likewise.
12938 * resolv/res_hconf.c: Likewise.
12939 * scripts/gen-sorted.awk: Likewise.
12940 * soft-fp/soft-fp.h: Likewise.
12941 * stdio-common/printf.h: Likewise.
12942 * stdlib/monetary.h: Likewise.
12943 * stdlib/random.c: Likewise.
12944 * stdlib/random_r.c: Likewise.
12945 * sysdeps/generic/Makefile: Likewise.
12946 * sysdeps/gnu/Makefile: Likewise.
12947 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12960 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12975 * sysdeps/mach/hurd/errnos.awk: Likewise.
12976 * sysdeps/mach/hurd/fork.c: Likewise.
12977 * sysdeps/mach/hurd/getcwd.c: Likewise.
12978 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12979 * sysdeps/mach/hurd/mmap.c: Likewise.
12980 * sysdeps/mach/hurd/utimes.c: Likewise.
12981 * sysdeps/mach/hurd/xmknod.c: Likewise.
12982 * sysdeps/posix/profil.c: Likewise.
12983 * sysdeps/posix/readdir_r.c: Likewise.
12984 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12985 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12986 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12987 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12989 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12990 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12991 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12995 * sysdeps/pthread/lio_listio.c: Likewise.
12996 * sysdeps/sparc/dl-procinfo.h: Likewise.
12997 * sysdeps/unix/i386/sysdep.S: Likewise.
12998 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12999 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13000 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13001 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13003 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13004 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13005 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13006 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13007 * sysdeps/wordsize-32/divdi3.c: Likewise.
13008 * time/sys/time.h: Likewise.
13009 * wcsmbs/Makefile: Likewise.
13010
0549fbba
DM
130112013-01-01 David S. Miller <davem@davemloft.net>
13012
a141f1a7
DM
13013 * po/fr.po: Update from translation team.
13014
0549fbba
DM
13015 * catgets/gencat.c: Update copyright year.
13016 * csu/version.c: Likewise.
13017 * debug/catchsegv.sh: Likewise.
13018 * debug/pcprofiledump.c: Likewise.
13019 * debug/xtrace.sh: Likewise.
13020 * elf/ldconfig.c: Likewise.
13021 * elf/ldd.bash.in: Likewise.
13022 * elf/pldd.c: Likewise.
13023 * elf/sotruss.ksh: Likewise.
13024 * elf/sprof.c: Likewise.
13025 * iconv/iconv_prog.c: Likewise.
13026 * iconv/iconvconfig.c: Likewise.
13027 * locale/programs/locale.c: Likewise.
13028 * locale/programs/localedef.c: Likewise.
13029 * login/programs/pt_chown.c: Likewise.
13030 * malloc/memusage.sh: Likewise.
13031 * malloc/memusagestat.c: Likewise.
13032 * malloc/mtrace.pl: Likewise.
13033 * nscd/nscd.c: Likewise.
13034 * nss/getent.c: Likewise.
13035 * nss/makedb.c: Likewise.
13036 * posix/getconf.c: Likewise.
13037
18ea052c
SP
130382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13039
13040 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13041 numbers.
13042
9c89fca6
MF
130432012-12-30 Mike Frysinger <vapier@gentoo.org>
13044
13045 * math/bits/mathcalls.h (modf): Use __nonnull.
13046
085ec079
SP
130472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13048
13049 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13050 (split): Use macro CN instead of the bare value.
13051 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13052 could be used.
13053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13054 instead of the bare value.
13055 (power1): Likewise.
13056
6d9f97e1
SP
130572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13058
d63f73be
SP
13059 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13060 __ATAN_TWOM.
13061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13062
6d9f97e1
SP
13063 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13064 their values.
13065 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13067 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13068 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13069
4c4febf5
AJ
130702012-12-28 Andreas Jaeger <aj@suse.de>
13071
af5843ef
AJ
13072 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13073 values are from Linux 3.7.
13074
4c4febf5
AJ
13075 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13076 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13077
99136f82
SP
130782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13079
2f216c3c 13080 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13081 TRUE case.
13082
99136f82
SP
13083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13084 (norm): Likewise.
13085 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13086 variables with preprocessor constants.
13087 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13088 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13089 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13090
7fffbdff
BH
130912012-12-27 Bruno Haible <bruno@clisp.org>
13092
13093 [BZ #14317]
13094 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13095 only if needed.
13096
b76eb5f0
SP
130972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13098
31a7fe5c
SP
13099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13100 and use variable directly.
13101 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13102
b76eb5f0
SP
13103 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13104 MPONE.
13105 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13106 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13107 variable MPONE.
13108 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13110 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13111 include directive. Remove local variable MPONE.
13112 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13113 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13115
2c8bfe7d
DM
131162012-12-25 David S. Miller <davem@davemloft.net>
13117
13118 * version.h (RELEASE): Set to "development".
13119 (VERSION): Set to "2.17.90".
13120 * NEWS: Add 2.18 section.
13121
147d03b0
DM
131222012-12-21 David S. Miller <davem@davemloft.net>
13123
13124 * po/hr.po: Update from translation team.
13125
a8ebb2b9
AK
131262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13127
13128 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13129
95b4f1b6
SE
131302012-12-19 Steve Ellcey <sellcey@mips.com>
13131
b2d94007 13132 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13133
cedb2a90
MS
131342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13135
13136 * manual/contrib.texi (Contributors): Spelling correction.
13137
bbf527d6
DM
131382012-12-15 David S. Miller <davem@davemloft.net>
13139
13140 * po/ru.po: Update from translation team.
13141
bc38c906
DM
131422012-12-13 David S. Miller <davem@davemloft.net>
13143
85429b1a
DM
13144 * NEWS: Mention IFUNC testsuite enhancements.
13145
d283e353
DM
13146 * po/pl.po: Update from translation team.
13147 * po/bg.po: Likewise.
13148
bc38c906
DM
13149 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13150 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13151
a181b0d7
DM
131522012-12-11 David S. Miller <davem@davemloft.net>
13153
4641d57e
DM
13154 * po/sv.po: Update from translation team.
13155
f7bc6495
DM
13156 * po/vi.po: Update from translation team.
13157
6fc9048f
DM
13158 * po/cs.po: Update from translation team.
13159
a181b0d7
DM
13160 * po/de.po: Update from translation team.
13161 * po/eo.po: Likewise.
13162 * po/nl.po: Likewise.
13163
f70bfe80
SP
131642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13165
3c8b4190
SP
13166 [BZ #14246]
13167 * manual/argp.texi (Argp Helper Functions): Move node to follow
13168 Argp Parsing State.
13169
f70bfe80
SP
13170 [BZ #14872]
13171 * manual/conf.texi (Limits on File System Capacity): Mention if
13172 terminating null is included in the max size.
13173
188f0adf
AJ
131742012-12-10 Andreas Jaeger <aj@suse.de>
13175
13176 * po/cs.po: Update from translation team.
13177
56e7d3ad
SP
131782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13179
13180 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13181 void pointer and cast to uintptr_t.
13182 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13183 path.
13184 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13185 * sysdeps/s390/s390-64/memset.S: Likewise.
13186
76f2d2ea 131872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13188
13189 [BZ #14833]
13190 * menual/message.texi (Message Translation): Fix typos.
13191 (Helper programs for gettext): Likewise.
13192
67cbf9a2
AS
131932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13194
13195 [BZ #14898]
13196 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13197 Change to -1.
13198
682d0e9a
DM
131992012-12-07 David S. Miller <davem@davemloft.net>
13200
13201 * po/libc.pot: Update.
13202
573cd484
RH
132032012-12-07 Richard Henderson <rth@redhat.com>
13204
7e9da188 13205 [BZ #10114]
573cd484
RH
13206 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13207 normal/normal case to before the switch.
13208 (_FP_DIV): Likewise.
13209
e933a943
MF
132102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13211 Mike Frysinger <vapier@gentoo.org>
13212
13213 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13214 check for __NR_fadvise64_64.
13215
82123268
CM
132162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13217
13218 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13219 0, not just to plain "0" as a statement.
13220 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13221 with cw.
13222
d9814526
JM
132232012-12-06 Joseph Myers <joseph@codesourcery.com>
13224
13225 * NEWS: Use sourceware.org in Bugzilla URL.
13226
7728c574
SP
132272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13228
f16946dd
SP
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13230 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13231
5704bbcb
SP
13232 * stdio-common/tst-put-error.c (do_test): Add newline to the
13233 padded test to ensure flush.
13234
17aa0516
JL
132352012-12-05 Jeff Law <law@redhat.com>
13236
13237 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13238
363313b5
JM
132392012-12-05 Joseph Myers <joseph@codesourcery.com>
13240
effbd42a
JM
13241 * README: Don't refer to ports add-on as distributed separately.
13242 Mention AArch64 in list of systems supported in the ports add-on.
13243
87600365
JM
13244 * LICENSES: Add more non-FSF copyright and license notices.
13245
a0d7066a
JM
13246 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13247 ((unused)).
13248
66ca5a5b
JM
13249 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13250
363313b5
JM
13251 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13252 10000 as width of padded output.
13253
b37984ad
JM
132542012-12-04 Joseph Myers <joseph@codesourcery.com>
13255
9003570a
JM
13256 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13257
b37984ad
JM
13258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13259 variable LX with __attribute__ ((unused)).
13260 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13261 Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13265 with __attribute__ ((unused)).
13266
c8df52ec
DM
132672012-12-04 David S. Miller <davem@abraco.davemloft.net>
13268
13269 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13270
b3b099af
JM
132712012-12-04 Joseph Myers <joseph@codesourcery.com>
13272
c33aa6e3
JM
13273 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13274 (CFLAGS-nldbl-acos.c): New variable.
13275 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13276 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13277 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13278 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13279 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13280 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13281 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13282 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13283 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13284 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13285 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13286 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13287 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13288 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13289 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13290 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13291 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13292 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13293 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13294 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13295 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13296 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13297 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13298 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13299 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13300 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13301 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13302 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13303 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13304 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13305 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13306 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13307 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13308 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13309 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13310 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13311 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13312 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13313 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13314 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13315 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13316 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13317 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13318 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13319 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13320 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13321 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13322 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13323 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13324 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13325 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13326 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13327 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13328 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13329 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13330 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13331 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13332 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13333 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13334 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13335 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13336 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13337 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13338 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13339 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13340 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13341 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13342 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13343 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13344 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13345 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13346 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13347 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13348 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13349 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13350 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13351 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13352 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13353 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13354 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13355 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13356 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13357 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13358 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13359 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13360 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13361 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13362 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13363 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13364 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13365 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13366 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13367 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13368 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13369 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13370 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13371 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13372
20f0018d
JM
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13374 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13375
b3b099af
JM
13376 [BZ #14914]
13377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13378 whole low double instead of just low 47 bits when splitting values
13379 into two parts.
13380
029264d1
AM
133812012-12-03 Allan McRae <allan@archlinux.org>
13382
13383 * manual/stdio.texi (Predefined Printf Handlers): Remove
13384 @hsep and @vsep usage.
13385
c9d6789e
MF
133862012-12-03 Mike Frysinger <vapier@gentoo.org>
13387
13388 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13389 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13390
4b7634a5
JL
133912012-12-03 Jeff Law <law@redhat.com>
13392
13393 * time/sys/time.h (settimeofday): Do not mark TV argument
13394 as __nonnull.
13395
eb6cbd24
MF
133962012-12-01 Mike Frysinger <vapier@gentoo.org>
13397
13398 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13399 when currently writing and seek to current position when not.
13400 * libio/Makefile (tests): Remove bug-fclose1.
13401 * libio/bug-fclose1.c: Delete.
13402
f638872a
JM
134032012-12-01 Joseph Myers <joseph@codesourcery.com>
13404
13405 * manual/arith.texi (feenableexcept): Fix typo.
13406 (fedisableexcept): Likewise.
13407
48085d14
RM
134082012-11-30 Roland McGrath <roland@hack.frob.com>
13409
13410 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13411 second, differently-typed declaration, rather than a cast.
13412
1a538b9f
SP
134132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13414
13415 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13416 * include/rpc/svc.h: ... here.
13417
d07f2ff1 134182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13419
13420 [BZ #13013]
13421 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13422 depending n and resplen2 to catch cases where answer
13423 equals answerp2.
13424
c93ec1f0
CD
134252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13426
13427 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13428 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13429
37db69de
MF
134302012-11-29 Mike Frysinger <vapier@gentoo.org>
13431
13432 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13433
e10c4e4f
RM
134342012-11-29 Roland McGrath <roland@hack.frob.com>
13435
13436 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13437
2af1b328
JL
134382012-11-28 Jeff Law <law@redhat.com>
13439
13440 [BZ #13761]
13441 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13442 dataset_temporary. Track alloca usage into alloca_used.
13443 If dataset is large allocate and release it via malloc/free.
13444
111db5b1
FW
134452012-06-04 Florian Weimer <fweimer@redhat.com>
13446
f06cc227 13447 [BZ #14197]
111db5b1
FW
13448 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13449
dd694abd
DM
134502012-11-28 David S. Miller <davem@davemloft.net>
13451
13452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13453
9984dd01
JM
134542012-11-28 Joseph Myers <joseph@codesourcery.com>
13455
13456 [BZ #14803]
13457 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13458 of pi/2 rounded to nearest to 64 bits.
13459 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13460 nearest to 64 bits.
13461 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13462 bits.
13463
14bc93a9
JL
134642012-11-28 Jeff Law <law@redhat.com>
13465 Martin Osvald <mosvald@redhat.com>
13466
13467 [BZ #14889]
13468 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13469 * sunrpc/svc.c: Include time.h.
13470 (__svc_accept_failed): New function.
13471 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13472 any reason other than EINTR, call __svc_accept_failed.
13473 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13474 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13475
e3c6aa3a
AS
134762012-11-28 Andreas Schwab <schwab@suse.de>
13477
13478 * scripts/abilist.awk: Also handle indirect functions in .opd
13479 section.
13480
1bead169
JM
134812012-11-28 Joseph Myers <joseph@codesourcery.com>
13482
13483 [BZ #13881]
13484 * sysdeps/x86/fpu/powl_helper.c: New file.
13485 * sysdeps/x86/fpu/Makefile: Likewise.
13486 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13487 (p3): New object.
13488 (__ieee754_powl): Use __powl_helper for finite arguments except
13489 integer exponents below 8.
13490 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13491 (p3): New object.
13492 (__ieee754_powl): Use __powl_helper for finite arguments except
13493 integer exponents below 8.
13494 * math/libm-test.inc (pow_test): Add more tests and enable some
13495 previously disabled tests.
13496 * sysdeps/i386/fpu/libm-test-ulps: Update.
13497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13498
0817d63d
SP
134992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13500 Carlos O'Donell <carlos_odonell@mentor.com>
13501
13502 * nss/makedb.c (is_prime): Assert that input is odd and greater
13503 than 4. Note that fact in a comment too.
13504 (next_prime): Add 4 to input.
13505
de2fd463
SP
135062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13507
13508 [BZ #11741]
13509 * libio/Makefile (tests): Add test case tst-fwrite-error.
13510 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13511 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13512 * libio/tst-fwrite-error.c: New test case.
13513
c515fb51
L
135142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13515
13516 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13517 before casting to void *.
13518 * include/libc-internal.h (__pointer_type): New macro.
13519 (__integer_if_pointer_type_sub): Likewise.
13520 (__integer_if_pointer_type): Likewise.
13521 (cast_to_integer): Likewise.
13522 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13523 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13524 before casting to atomic64_t.
13525 (atomic_exchange_acq): Likewise.
13526 (__arch_exchange_and_add_body): Likewise.
13527 (__arch_add_body): Likewise.
13528 (atomic_add_negative): Likewise.
13529 (atomic_add_zero): Likewise.
13530
4cf77aa9
JM
135312012-11-26 Joseph Myers <joseph@codesourcery.com>
13532
13533 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13534 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13535 (add_fdes): Likewise.
13536 (linear_search_fdes): Likewise.
13537 (binary_search_unencoded_fdes): Likewise.
13538
d260b3b4
AS
135392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13540
13541 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13542
67060746
AC
135432012-11-24 Adam Conrad <adconrad@0c3.net>
13544
13545 * configure.in: Autodetect C++ header directories.
13546 * configure: Regenerated.
13547
800938a1
MF
135482012-11-23 Mike Frysinger <vapier@gentoo.org>
13549
13550 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13551
4e6e34e6
AS
135522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13553
13554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13555
7c7feb47
JM
135562012-11-22 Joseph Myers <joseph@codesourcery.com>
13557
7184dcdf
JM
13558 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13559 LDBL_MANT_DIG == 106]: Disable some tests.
13560 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13561 Likewise.
13562 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13563 Likewise.
13564
0a42601f
JM
13565 [BZ #14871]
13566 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13567 input for small inputs. Return +/- pi/2 for large inputs.
13568 * math/libm-test.inc (atan_test): Add more tests.
13569
79c9b9fe
JM
13570 * sysdeps/generic/unwind-dw2-fde-glibc.c
13571 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13572 __attribute__ ((unused)).
13573
c60d3bf2
JM
13574 [BZ #14645]
13575 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13576 x * y if x and y are nonzero and z is zero.
13577
ef1e0867
JM
13578 [BZ #14811]
13579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13580 nonzero exponents with absolute value below 0x1p-117 to +/-
13581 0x1p-117.
13582
1468ded3
JM
13583 [BZ #14869]
13584 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13585 up arguments below 2**-450, not just those below 2**-500.
13586 * math/libm-test.inc (hypot_test): Add another test.
13587
8e27e3cc
JM
13588 [BZ #14868]
13589 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13590 Return a+b for ratio over 2**120, not 2**60.
13591 * math/libm-test.inc (hypot_test): Add another test.
13592
c9c0279b
JM
13593 * math/libm-test.inc (clog_test): Use
13594 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13595 (clog10_test): Likewise.
13596
7c7feb47
JM
13597 [BZ #6778]
13598 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13599
fff1530e
AS
136002012-11-22 Andreas Schwab <schwab@suse.de>
13601
13602 * sysdeps/i386/fpu/libm-test-ulps: Update.
13603
94558d30
PT
136042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13605
13606 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13607 printf output with newline.
13608
7e1be741
L
136092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13610
6bfea974
L
13611 [BZ #14865]
13612 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13613 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13614 -z nodlopen, -z initfirst and -z execstack support.
13615 * configure: Regenerated.
13616
7e1be741
L
13617 * elf/elf.h (DF_1_NODIRECT): New macro.
13618 (DF_1_IGNMULDEF): Likewise.
13619 (DF_1_NOKSYMS): Likewise.
13620 (DF_1_NOHDR): Likewise.
13621 (DF_1_EDITED): Likewise.
13622 (DF_1_NORELOC): Likewise.
13623 (DF_1_SYMINTPOSE): Likewise.
13624 (DF_1_GLOBAUDIT): Likewise.
13625 (DF_1_SINGLETON): Likewise.
13626 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13627 DT_1_SUPPORTED_MASK bits.
13628 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13629
105ce2ce
CD
136302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13631
13632 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13633
123be9de
TS
136342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13635
d072f3f7
TS
13636 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13637 macro.
13638
123be9de
TS
13639 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13640 (sendmmsg): Move declarations...
13641 * socket/sys/socket.h: ... here.
13642 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13643 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13644 include it from...
13645 * socket/recvmmsg.c: ... this new file.
13646 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13647 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13648 definition of __sendmmsg hidden.
13649 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13650 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13651 Move ENOSYS stub into and include it from...
13652 * socket/sendmmsg.c: ... this new file.
13653 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13654 (sysdep_routines): Move recvmmsg and sendmmsg...
13655 * socket/Makefile (routines): ... here.
13656 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13657 (GLIBC_PRIVATE): Add __sendmmsg.
13658 * include/sys/socket.h (__sendmmsg): Add declarations.
13659 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13660 sendmmsg.
13661
cf9a5d18
JM
136622012-11-20 Joseph Myers <joseph@codesourcery.com>
13663
13664 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13665 variable I1 with __attribute__ ((unused)).
13666 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13667
ecd4caf9
JM
136682012-11-19 Joseph Myers <joseph@codesourcery.com>
13669
be14d48f
JM
13670 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13671 DUMMY variables with __attribute__ ((unused)).
13672
ecd4caf9
JM
13673 * bits/byteswap.h: Include <bits/types.h>.
13674 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13675
986cab95
PT
136762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13677
13678 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13679 string_t. Do not manually set errno.
13680 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13681 length with __strnlen. Make sure to both set errno and return it on
13682 failure.
13683
6d33cc9d
DM
136842012-11-19 David S. Miller <davem@davemloft.net>
13685
13686 With help from Joseph Myers.
13687 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13688 very large arguments properly.
13689 * math/libm-test.inc (atan_test): New tests.
13690 (atan2_test): New tests.
13691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13693
ee663277
JM
136942012-11-19 Joseph Myers <joseph@codesourcery.com>
13695
877f2d8e
JM
13696 [BZ #14856]
13697 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13698 Define to 3.
13699
116fc08a
JM
13700 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13701 [POSIX] (EADDRNOTAVAIL): Likewise.
13702 [POSIX] (EAFNOSUPPORT): Likewise.
13703 [POSIX] (EALREADY): Likewise.
13704 [POSIX] (ECONNABORTED): Likewise.
13705 [POSIX] (ECONNREFUSED): Likewise.
13706 [POSIX] (ECONNRESET): Likewise.
13707 [POSIX] (EDESTADDRREQ): Likewise.
13708 [POSIX] (EDQUOT): Likewise.
13709 [POSIX] (EHOSTUNREACH): Likewise.
13710 [POSIX] (EIDRM): Likewise.
13711 [POSIX] (EISCONN): Likewise.
13712 [POSIX] (ELOOP): Likewise.
13713 [POSIX] (EMULTIHOP): Likewise.
13714 [POSIX] (ENETDOWN): Likewise.
13715 [POSIX] (ENETUNREACH): Likewise.
13716 [POSIX] (ENOBUFS): Likewise.
13717 [POSIX] (ENODATA): Likewise.
13718 [POSIX] (ENOLINK): Likewise.
13719 [POSIX] (ENOMSG): Likewise.
13720 [POSIX] (ENOPROTOOPT): Likewise.
13721 [POSIX] (ENOSR): Likewise.
13722 [POSIX] (ENOSTR): Likewise.
13723 [POSIX] (ENOTCONN): Likewise.
13724 [POSIX] (ENOTSOCK): Likewise.
13725 [POSIX] (EOPNOTSUPP): Likewise.
13726 [POSIX] (EOVERFLOW): Likewise.
13727 [POSIX] (EPROTO): Likewise.
13728 [POSIX] (EPROTONOSUPPORT): Likewise.
13729 [POSIX] (EPROTOTYPE): Likewise.
13730 [POSIX] (ESTALE): Likewise.
13731 [POSIX] (ETIME): Likewise.
13732 [POSIX] (ETXTBSY): Likewise.
13733 [POSIX] (EWOULDBLOCK): Likewise.
13734 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13735 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13736 [POSIX] (SEEK_CUR): Likewise.
13737 [POSIX] (SEEK_END): Likewise.
13738 [POSIX || UNIX98] (mode_t): Do not require.
13739 [POSIX] (off_t): Likewise.
13740 [POSIX] (pid_t): Likewise.
13741 [POSIX] (sys/stat.h): Do not allow header.
13742 [POSIX] (unistd.h): Likewise.
13743 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13744 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13746 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13747 require.
13748 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13749 sigevent): Specify elements.
13750 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13751 entry.
13752 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13753 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13754
a483863f
JM
13755 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13756 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13757 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13758 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13759 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13760 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13761 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13762 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13764 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13765 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13766 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13767 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13768 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13769 Likewise.
13770 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13771 Likewise.
13772 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13773 Likewise.
13774 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13775 Likewise.
13776 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13777 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13778 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13779 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13780 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13781 Specify lower bound on value.
13782 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13785 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13786 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13787 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13788 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13789 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13790 value.
13791 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13792 as optional.
13793 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13794 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13795 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13796 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13797 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13798 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13799 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13800 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13801 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13802 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13803 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13804 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13805 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13806 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13807 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13808 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13809 entry.
13810 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13811 optional.
13812 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13813 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13814 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13815 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13816 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13817 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13818 Likewise.
13819 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13820 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13821 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13822 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13823 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13824 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13825 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13826 as optional.
13827 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13828 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13829 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13830 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13831 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13832 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13833 specify as optional.
13834 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13835 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13836 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13837 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13838 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13839 [XPG3] (NL_LANGMAX): Likewise.
13840 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13841 [POSIX || XPG3] (NL_NMAX): Likewise.
13842 [POSIX || XPG3] (NL_SETMAX): Likewise.
13843 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13844 [XPG3] (NZERO): Likewise.
13845 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13846 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13847 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13848 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13849 (REG_ERANGE): Expect.
13850 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13851 optional-constant.
13852 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13853 Use (void) in prototype.
13854 [POSIX] (*_t): Allow.
13855 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13856 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13857 (WRDE_BADVAL): Expect.
13858
5ba924e3
JM
13859 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13860 expect.
13861 [XPG3 || XPG4] (O_RSYNC): Likewise.
13862 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13863 Likewise.
13864 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13865 [XPG3 || XPG4] (sigqueue): Likewise.
13866 [XPG3 || XPG4] (sigtimedwait): Likewise.
13867 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13868 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13869 [XPG3 || XPG4] (vsnprintf): Likewise.
13870 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13871 Likewise.
13872 [XPG3 || XPG4] (blksize_t): Likewise.
13873 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13874 Likewise.
13875 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13876 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13877 [XPG3 || XPG4] (struct itimerspec): Likewise.
13878 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13879 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13880 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13881 [XPG3 || XPG4] (clockid_t): Likewise.
13882 [XPG3 || XPG4] (timer_t): Likewise.
13883 [XPG3 || XPG4] (clock_getres): Likewise.
13884 [XPG3 || XPG4] (clock_gettime): Likewise.
13885 [XPG3 || XPG4] (clock_settime): Likewise.
13886 [XPG3 || XPG4] (nanosleep): Likewise.
13887 [XPG3 || XPG4] (timer_create): Likewise.
13888 [XPG3 || XPG4] (timer_delete): Likewise.
13889 [XPG3 || XPG4] (timer_gettime): Likewise.
13890 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13891 [XPG3 || XPG4] (timer_settime): Likewise.
13892 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13893 [XPG3 || XPG4] (getlogin_r): Likewise.
13894 [XPG3 || XPG4] (pread): Likewise.
13895 [XPG3 || XPG4] (pthread_atfork): Likewise.
13896 [XPG3 || XPG4] (pwrite): Likewise.
13897
ee663277
JM
13898 [BZ #14835]
13899 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13900 <bits/siginfo.h>.
13901
942caa16
PT
139022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13903
e19af380
PT
13904 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13905 finalizing MALLSTREAM.
13906
942caa16
PT
13907 * sysdeps/mach/hurd/syncfs.c: New file.
13908
cfde9b46
SP
139092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13910
13911 [BZ #14719]
13912 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13913 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13914 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13915 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13916 (_nss_dns_gethostbyname4_r): Likewise.
13917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13918 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13919
f6da27e5
PH
139202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13921
13922 [BZ #13763]
13923 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13924
6665d4a2
SM
139252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13926
1f51ee92
SM
13927 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13928 * elf/cache.c (print_entry): Print ",AArch64" for
13929 FLAG_AARCH64_LIB64
13930
6665d4a2
SM
13931 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13932 * elf/cache.c (print_entry): Print ",hard-float" for
13933 FLAG_ARM_LIBHF.
13934
05b227bd
DM
139352012-11-18 David S. Miller <davem@davemloft.net>
13936
13937 With help from Joseph Myers.
13938 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13939 cutoff to 2**-13.
13940 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13941 cutoff to 2**-25.
13942 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13943 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13944 small.
13945 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13946 * math/libm-test.inc (y0_test): New tests.
13947 (y1_test): New tests.
13948 * sysdeps/i386/fpu/libm-test-ulps: Update.
13949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13951
786b0b67
AS
139522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13953
13954 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13955 64-bit targets.
13956 * configure: Regenerated.
13957
8e18b86d
DM
139582012-11-17 David S. Miller <davem@davemloft.net>
13959
13960 [BZ #14811]
13961 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13962 nonzero exponents with absolute value below 0x1p-128 to +/-
13963 0x1p-128.
13964
531f1ae0
JM
139652012-11-17 Joseph Myers <joseph@codesourcery.com>
13966
12df29e2
JM
13967 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13968
150dc1a0
JM
13969 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13970
531f1ae0
JM
13971 * posix/getconf-speclist.c: New file.
13972 * posix/posix-envs.def: Likewise.
13973 * posix/confstr.c (START_ENV_GROUP): New macro.
13974 (END_ENV_GROUP): Likewise.
13975 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13976 (KNOWN_PRESENT_ENV_STRING): Likewise.
13977 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13978 (UNKNOWN_ENVIRONMENT): Likewise.
13979 (confstr): Include posix-envs.def instead of handling
13980 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13981 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13982 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13983 (END_ENV_GROUP): Likewise.
13984 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13985 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13986 (UNKNOWN_ENVIRONMENT): Likewise.
13987 (__sysconf): Include posix-envs.def instead of handling associated
13988 cases directly here.
13989 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13990 preprocessing getconf-speclist.c rather than running getconf or
13991 generating empty file.
13992
a93f9cbc
PT
139932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13994
13995 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13996
d64d9f87
AL
139972012-11-16 Andrej Lajovic <natrij@gmail.com>
13998
13999 [BZ #14672]
14000 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14001
447885eb
DM
140022012-11-16 David S. Miller <davem@davemloft.net>
14003
14004 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14005 smaller than LDBL_EPSILON/2.0L, just return xm1.
14006
bcbf9830
L
140072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14008
14009 * elf/tst-array1.c (init): Set constructor priority to 1000.
14010 (fini): Set destructor priority to 1000.
14011 * elf/tst-array2dep.c: Likewise.
14012
2b766585
SP
140132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14014
14015 [BZ #11741]
14016 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14017 (_IO_new_file_xsputn): Also return EOF if none of the input
14018 data was written when overflow failed.
14019 * libio/iopadn.c (_IO_padn): Likewise.
14020 * libio/iowpadn.c (_IO_wpadn): Likewise.
14021 * stdio-common/tst-put-error.c: Add copyright notice.
14022 (do_test): Add case for printing padded string.
14023 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14024 _IO_padn returned error.
14025 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14026 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14027 return EOF.
14028
b1848fde
SP
140292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14030
14031 * libio/libioP.h: Add comment note that the references to C++
14032 bits are now obsolete.
14033
2fd89785
MS
140342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14035
14036 * math/libm-test.inc (check_complex): Use asprintf.
14037
e3ea5409
JM
140382012-11-14 Joseph Myers <joseph@codesourcery.com>
14039
14040 * debug/pcprofiledump.c (print_version): Update copyright year.
14041 * malloc/memusagestat.c (print_version): Likewise.
14042
2e64d265
L
140432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 [BZ #14831]
14046 * elf/Makefile (tests): Add tst-audit8.
14047 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14048 ($(objpfx)tst-audit8.out): New target.
14049 (tst-audit8-ENV): New variable.
14050 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14051 audit if l_reloc_result is NULL.
14052 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14053 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14054 * elf/tst-audit8.c: New file.
14055
c485e4d2
MS
140562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14057
14058 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14059 * misc/Makefile (CFLAGS-select.c): Define.
14060 * posix/Makefile (CFLAGS-pause.c): Define.
14061
3a0d900a
DM
140622012-11-13 David S. Miller <davem@davemloft.net>
14063
14064 * crypt/Makefile: Move test targets after toplevel Rules
14065 inclusion. Grab any necessary sysdep routines when linking.
14066 * crypt/md5.c (md5_process_block): Remove define, we will always
14067 name it __md5_process_block.
14068 (md5_finish_ctx): Update md5_process_block call.
14069 (md5_stream): Likewise.
14070 (md5_process_bytes): Likewise.
14071 (md5_process_block): Rename to __md5_process_block and move to ...
14072 * crypt/md5-block.c: ... here.
14073 * crypt/sha256.c (sha256_process_block): Move to ...
14074 * crypt/sha256-block.c: ... here.
14075 * crypt/sha512.c (sha512_process_block): Move to ...
14076 * crypt/sha512-block.c: ... here.
14077 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14078 path.
14079 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14080 * sysdeps/sparc/sparc64/multiarch/Makefile
14081 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14082 crypt subdir.
14083 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14085 multiarch changes.
14086 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14087 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14088 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14089 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14090 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14091 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14092 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14093 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14094 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14095 file.
14096 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14097 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14098 file.
14099 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14100
8ca89318
JM
141012012-11-13 Joseph Myers <joseph@codesourcery.com>
14102
e27d476a
JM
14103 * timezone/tzselect.ksh: Update from tzcode git revision
14104 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14105 * timezone/zdump.c: Likewise.
14106 * timezone/zic.c: Likewise.
14107 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14108 in TZVERSION setting, not $(PKGVERSION).
14109 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14110 REPORT_BUGS_TO settings.
14111
8ca89318
JM
14112 [BZ #14838]
14113 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14114 macro.
14115
47594329
MS
141162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14117
14118 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14119 detection to immediately after _FP_ROUND().
14120 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14121 bits are 0.
14122
640ac3f1
DM
141232012-11-11 David S. Miller <davem@davemloft.net>
14124
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14126 inttypes.h
14127 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14128 __close rather than their public counterparts.
14129
3d2577bb
JM
141302012-11-10 Joseph Myers <joseph@codesourcery.com>
14131
14132 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14133 file.
14134 [UNIX98] (sem_timedwait): Do not expect.
14135 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14136 [XPG4 || UNIX98] (sockatmark): Do not expect.
14137 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14138 (clock_getcpuclockid): Do not expect.
14139 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14140 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14141 Do not expect.
14142 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14143 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14144 [UNIX98] (vwscanf): Likewise.
14145 [UNIX98] (vswscanf): Likewise.
14146
fb1ae1ee
JM
141472012-11-09 Joseph Myers <joseph@codesourcery.com>
14148
9ec6f8bd
JM
14149 * timezone/version.h: Remove file.
14150 * timezone/README: Do not refer to version.h.
14151 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14152 $(objpfx)version.h.
14153 ($(objpfx)zdump.o): Likewise.
c3f81911 14154 ($(objpfx)version.h): New target.
9ec6f8bd 14155
0aa8f8a1
JM
14156 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14157 2012i.
14158 * timezone/README: Don't mention modification to tzselect.ksh.
14159 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14160 work on unmodified tzselect.ksh. Substitute version numbers in
14161 tzselect.ksh.
14162
4e87147f
JM
14163 * Makefile (format-me): Remove.
14164 (INSTALL): Adjust indentation. Use commands directly instead of
14165 using $(format-me).
14166
8b748aed
JM
14167 * aclocal.m4 (ACX_PKGVERSION): New macro.
14168 (ACX_BUGURL): Likewise.
14169 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14170 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14171 (REPORT_BUGS_TO): Likewise.
14172 * configure: Regenerated.
14173 * config.h.in (PKGVERSION): New macro.
14174 (REPORT_BUGS_TO): Likewise.
14175 * config.make.in (PKGVERSION): New variable.
14176 (PKGVERSION_TEXI): Likewise.
14177 (REPORT_BUGS_TO): Likewise.
14178 (REPORT_BUGS_TEXI): Likewise.
14179 * Makefile (format-me): Use -I$(common-objpfx)manual.
14180 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14181 ($(common-objpfx)manual/%): New target.
14182 (manual/%): Remove target.
14183 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14184 (print_version): Use PKGVERSION.
14185 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14186 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14187 and REPORT_BUGS_TO.
14188 ($(objpfx)xtrace): Likewise.
14189 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14190 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14191 (print_version): Use PKGVERSION.
14192 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14193 (do_version): Use PKGVERSION.
14194 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14195 REPORT_BUGS_TO.
14196 (common-ldd-rewrite): Likewise.
14197 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14198 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14199 (print_version): Use PKGVERSION.
14200 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14201 * elf/pldd.c (argp_program_bug_address): Remove variable.
14202 (more_help): New function.
14203 (argp): Use more_help.
14204 (print_version): Use PKGVERSION.
14205 * elf/sln.c (main): Use PKGVERSION.
14206 (usage): Use REPORT_BUGS_TO.
14207 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14208 (top level): Use PKGVERSION.
14209 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14210 (print_version): Use PKGVERSION.
14211 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14212 (print_version): Use PKGVERSION.
14213 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14214 (print_version): Use PKGVERSION.
14215 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14216 (print_version): Use PKGVERSION.
14217 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14218 (print_version): Use PKGVERSION.
14219 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14220 (print_version): Use PKGVERSION.
14221 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14222 and BUGURL.
14223 ($(objpfx)memusage): Likewise.
14224 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14225 (do_version): Use PKGVERSION.
14226 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14227 (print_version): Use PKGVERSION.
14228 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14229 ($PKGVERSION): New variable.
14230 ($REPORT_BUGS_TO): Likewise.
14231 (usage): Use $REPORT_BUGS_TO.
14232 (top level): Use $PKGVERSION.
14233 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14234 ($(objpfx)pkgvers.texi): New rule.
14235 ($(objpfx)stamp-pkgvers): Likewise.
14236 * manual/install.texi: Include pkgvers.texi.
14237 (--with-pkgversion): Document new configure option.
14238 (--with-bugurl): Likewise.
14239 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14240 than necessarily for this particular distribution. Use
14241 REPORT_BUGS_TO for where to report bugs.
14242 * INSTALL: Regenerated.
14243 * manual/libc.texinfo: Include pkgvers.texi.
14244 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14245 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14246 (print_version): Use PKGVERSION.
14247 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14248 (print_version): Use PKGVERSION.
14249 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14250 (print_version): Use PKGVERSION.
14251 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14252 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14253 macro.
14254 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14255 (print_version): Use PKGVERSION.
14256 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14257 (print_version): Use PKGVERSION.
14258 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14259 and PKGVERSION.
14260
92e4b6a9
JM
14261 * timezone/checktab.awk: Update from tzcode 2012i.
14262 * timezone/ialloc.c: Likewise.
14263 * timezone/private.h: Likewise.
14264 * timezone/scheck.c: Likewise.
14265 * timezone/tzfile.h: Likewise.
14266 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14267 (TZVERSION): Hardcode tzcode version number.
14268 * timezone/zdump.c: Update from tzcode 2012i.
14269 * timezone/zic.c: Likewise.
14270 * timezone/version.h: New file.
14271 * timezone/README: Describe version.h. Update upstream location.
14272
9bde902c
JM
14273 [BZ #14824]
14274 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14275 (mktemp): Enable declaration.
14276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14278 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14280 Likewise.
14281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14282 Likewise.
14283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14284 Likewise.
14285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14286 Likewise.
14287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14288 Likewise.
14289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14290 Likewise.
14291
fb1ae1ee
JM
14292 [BZ #14821]
14293 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14294 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14295 for copies of such integer values.
14296 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14297 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14298
2c1adbcb
AJ
142992012-11-09 Andreas Jaeger <aj@suse.de>
14300
14301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14302 definitions and declarations that are provided by
14303 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14304
d0f8457e
AK
143052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14306
3a235abb 14307 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14308 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14309 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14310 definition.
14311
57241e26
MS
143122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14313
14314 * elf/elf.h: Update comment before AArch64 relocations.
14315
60e8270d
DM
143162012-11-07 David S. Miller <davem@davemloft.net>
14317
14318 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14320 (__start_context): Declare.
14321 (__makecontext_ret): Delete.
14322 (__makecontext): Hook up __start_context instead of
14323 __makecontext_ret.
14324 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14325 (sysdep_routines): Add __start_context when in stdlib.
14326
0fbb0fbc
JM
143272012-11-07 Joseph Myers <joseph@codesourcery.com>
14328
14329 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14330 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14331 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14332 hardcoded "nm".
14333 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14334 (READELF): New variable. Use it instead of hardcoded "readelf".
14335
eb48db7e
L
143362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14339 * sysdeps/x86/Makefile: Here.
14340 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14341 * sysdeps/x86/tst-xmmymm.sh: This.
14342
05bcf62a
JM
143432012-11-07 Joseph Myers <joseph@codesourcery.com>
14344
c4b6cf53
JM
14345 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14346 expectations.
14347 [UNIX98] (pthread_barrier_t): Do not expect.
14348 [UNIX98] (pthread_barrierattr_t): Likewise.
14349 [UNIX98] (pthread_spinlock_t): Likewise.
14350 [UNIX98] (pthread_barrier_destroy): Likewise.
14351 [UNIX98] (pthread_barrier_init): Likewise.
14352 [UNIX98] (pthread_barrier_wait): Likewise.
14353 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14354 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14355 [UNIX98] (pthread_barrierattr_init): Likewise.
14356 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14357 [UNIX98] (pthread_getcpuclockid): Likewise.
14358 [UNIX98] (pthread_mutex_timedlock): Likewise.
14359 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14360 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14361 [UNIX98] (pthread_sigmask): Likewise.
14362 [UNIX98] (pthread_spin_destroy): Likewise.
14363 [UNIX98] (pthread_spin_init): Likewise.
14364 [UNIX98] (pthread_spin_lock): Likewise.
14365 [UNIX98] (pthread_spin_trylock): Likewise.
14366 [UNIX98] (pthread_spin_unlock): Likewise.
14367 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14368 Do not expect.
14369 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14371 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14372 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14373 [XPG3 || XPG4] (pthread_key_t): Likewise.
14374 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14375 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14376 [XPG3 || XPG4] (pthread_once_t): Likewise.
14377 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14378 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14379 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14380 [XPG3 || XPG4] (pthread_t): Likewise.
14381
cbe6e120
JM
14382 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14383 not expect.
14384 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14385
1b126443
JM
14386 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14387 Change function return type to int.
14388
b961a573
JM
14389 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14390 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14391 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14392 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14393 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14394 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14395 [!POSIX] (posix_madvise): Likewise.
14396 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14397 && !UNIX98].
14398 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14399 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14400 (mode_t): Likewise.
14401 (posix_mem_offset): Likewise.
14402 (posix_typed_mem_get_info): Likewise.
14403 (posix_typed_mem_open): Likewise.
14404
9e188909
JM
14405 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14406 Change condition to [XOPEN2K8].
14407
05bcf62a
JM
14408 * conform/conformtest.pl: Preprocess allow-header data with -x c
14409 instead of from stdin.
14410 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14411 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14412 [C99-based standards] (cerfc): Likewise.
14413 [C99-based standards] (cexp2): Likewise.
14414 [C99-based standards] (cexpm1): Likewise.
14415 [C99-based standards] (clog10): Likewise.
14416 [C99-based standards] (clog1p): Likewise.
14417 [C99-based standards] (clog2): Likewise.
14418 [C99-based standards] (clgamma): Likewise.
14419 [C99-based standards] (ctgamma): Likewise.
14420 [C99-based standards] (cerff): Likewise.
14421 [C99-based standards] (cerfcf): Likewise.
14422 [C99-based standards] (cexp2f): Likewise.
14423 [C99-based standards] (cexpm1f): Likewise.
14424 [C99-based standards] (clog10f): Likewise.
14425 [C99-based standards] (clog1pf): Likewise.
14426 [C99-based standards] (clog2f): Likewise.
14427 [C99-based standards] (clgammaf): Likewise.
14428 [C99-based standards] (ctgammaf): Likewise.
14429 [C99-based standards] (cerfl): Likewise.
14430 [C99-based standards] (cerfcl): Likewise.
14431 [C99-based standards] (cexp2l): Likewise.
14432 [C99-based standards] (cexpm1l): Likewise.
14433 [C99-based standards] (clog10l): Likewise.
14434 [C99-based standards] (clog1pl): Likewise.
14435 [C99-based standards] (clog2l): Likewise.
14436 [C99-based standards] (clgammal): Likewise.
14437 [C99-based standards] (ctgammal): Likewise.
14438 * conform/data/inttypes.h-data [C99-based standards]: Include
14439 stdint.h-data. Remove all expectations for stdint.h contents.
14440 [C99-based standards] (PRI*): Do not allow.
14441 [C99-based standards] (SCN*): Likewise.
14442 [C99-based standards] (*_t): Likewise.
14443 [C99-based-standards] (PRId8): Expect macro.
14444 [C99-based-standards] (PRIi8): Likewise.
14445 [C99-based-standards] (PRIo8): Likewise.
14446 [C99-based-standards] (PRIu8): Likewise.
14447 [C99-based-standards] (PRIx8): Likewise.
14448 [C99-based-standards] (PRIX8): Likewise.
14449 [C99-based-standards] (SCNd8): Likewise.
14450 [C99-based-standards] (SCNi8): Likewise.
14451 [C99-based-standards] (SCNo8): Likewise.
14452 [C99-based-standards] (SCNu8): Likewise.
14453 [C99-based-standards] (SCNx8): Likewise.
14454 [C99-based-standards] (PRIdLEAST8): Likewise.
14455 [C99-based-standards] (PRIiLEAST8): Likewise.
14456 [C99-based-standards] (PRIoLEAST8): Likewise.
14457 [C99-based-standards] (PRIuLEAST8): Likewise.
14458 [C99-based-standards] (PRIxLEAST8): Likewise.
14459 [C99-based-standards] (PRIXLEAST8): Likewise.
14460 [C99-based-standards] (SCNdLEAST8): Likewise.
14461 [C99-based-standards] (SCNiLEAST8): Likewise.
14462 [C99-based-standards] (SCNoLEAST8): Likewise.
14463 [C99-based-standards] (SCNuLEAST8): Likewise.
14464 [C99-based-standards] (SCNxLEAST8): Likewise.
14465 [C99-based-standards] (PRIdFAST8): Likewise.
14466 [C99-based-standards] (PRIiFAST8): Likewise.
14467 [C99-based-standards] (PRIoFAST8): Likewise.
14468 [C99-based-standards] (PRIuFAST8): Likewise.
14469 [C99-based-standards] (PRIxFAST8): Likewise.
14470 [C99-based-standards] (PRIXFAST8): Likewise.
14471 [C99-based-standards] (SCNdFAST8): Likewise.
14472 [C99-based-standards] (SCNiFAST8): Likewise.
14473 [C99-based-standards] (SCNoFAST8): Likewise.
14474 [C99-based-standards] (SCNuFAST8): Likewise.
14475 [C99-based-standards] (SCNxFAST8): Likewise.
14476 [C99-based-standards] (PRId16): Likewise.
14477 [C99-based-standards] (PRIi16): Likewise.
14478 [C99-based-standards] (PRIo16): Likewise.
14479 [C99-based-standards] (PRIu16): Likewise.
14480 [C99-based-standards] (PRIx16): Likewise.
14481 [C99-based-standards] (PRIX16): Likewise.
14482 [C99-based-standards] (SCNd16): Likewise.
14483 [C99-based-standards] (SCNi16): Likewise.
14484 [C99-based-standards] (SCNo16): Likewise.
14485 [C99-based-standards] (SCNu16): Likewise.
14486 [C99-based-standards] (SCNx16): Likewise.
14487 [C99-based-standards] (PRIdLEAST16): Likewise.
14488 [C99-based-standards] (PRIiLEAST16): Likewise.
14489 [C99-based-standards] (PRIoLEAST16): Likewise.
14490 [C99-based-standards] (PRIuLEAST16): Likewise.
14491 [C99-based-standards] (PRIxLEAST16): Likewise.
14492 [C99-based-standards] (PRIXLEAST16): Likewise.
14493 [C99-based-standards] (SCNdLEAST16): Likewise.
14494 [C99-based-standards] (SCNiLEAST16): Likewise.
14495 [C99-based-standards] (SCNoLEAST16): Likewise.
14496 [C99-based-standards] (SCNuLEAST16): Likewise.
14497 [C99-based-standards] (SCNxLEAST16): Likewise.
14498 [C99-based-standards] (PRIdFAST16): Likewise.
14499 [C99-based-standards] (PRIiFAST16): Likewise.
14500 [C99-based-standards] (PRIoFAST16): Likewise.
14501 [C99-based-standards] (PRIuFAST16): Likewise.
14502 [C99-based-standards] (PRIxFAST16): Likewise.
14503 [C99-based-standards] (PRIXFAST16): Likewise.
14504 [C99-based-standards] (SCNdFAST16): Likewise.
14505 [C99-based-standards] (SCNiFAST16): Likewise.
14506 [C99-based-standards] (SCNoFAST16): Likewise.
14507 [C99-based-standards] (SCNuFAST16): Likewise.
14508 [C99-based-standards] (SCNxFAST16): Likewise.
14509 [C99-based-standards] (PRId32): Likewise.
14510 [C99-based-standards] (PRIi32): Likewise.
14511 [C99-based-standards] (PRIo32): Likewise.
14512 [C99-based-standards] (PRIu32): Likewise.
14513 [C99-based-standards] (PRIx32): Likewise.
14514 [C99-based-standards] (PRIX32): Likewise.
14515 [C99-based-standards] (SCNd32): Likewise.
14516 [C99-based-standards] (SCNi32): Likewise.
14517 [C99-based-standards] (SCNo32): Likewise.
14518 [C99-based-standards] (SCNu32): Likewise.
14519 [C99-based-standards] (SCNx32): Likewise.
14520 [C99-based-standards] (PRIdLEAST32): Likewise.
14521 [C99-based-standards] (PRIiLEAST32): Likewise.
14522 [C99-based-standards] (PRIoLEAST32): Likewise.
14523 [C99-based-standards] (PRIuLEAST32): Likewise.
14524 [C99-based-standards] (PRIxLEAST32): Likewise.
14525 [C99-based-standards] (PRIXLEAST32): Likewise.
14526 [C99-based-standards] (SCNdLEAST32): Likewise.
14527 [C99-based-standards] (SCNiLEAST32): Likewise.
14528 [C99-based-standards] (SCNoLEAST32): Likewise.
14529 [C99-based-standards] (SCNuLEAST32): Likewise.
14530 [C99-based-standards] (SCNxLEAST32): Likewise.
14531 [C99-based-standards] (PRIdFAST32): Likewise.
14532 [C99-based-standards] (PRIiFAST32): Likewise.
14533 [C99-based-standards] (PRIoFAST32): Likewise.
14534 [C99-based-standards] (PRIuFAST32): Likewise.
14535 [C99-based-standards] (PRIxFAST32): Likewise.
14536 [C99-based-standards] (PRIXFAST32): Likewise.
14537 [C99-based-standards] (SCNdFAST32): Likewise.
14538 [C99-based-standards] (SCNiFAST32): Likewise.
14539 [C99-based-standards] (SCNoFAST32): Likewise.
14540 [C99-based-standards] (SCNuFAST32): Likewise.
14541 [C99-based-standards] (SCNxFAST32): Likewise.
14542 [C99-based-standards] (PRId64): Likewise.
14543 [C99-based-standards] (PRIi64): Likewise.
14544 [C99-based-standards] (PRIo64): Likewise.
14545 [C99-based-standards] (PRIu64): Likewise.
14546 [C99-based-standards] (PRIx64): Likewise.
14547 [C99-based-standards] (PRIX64): Likewise.
14548 [C99-based-standards] (SCNd64): Likewise.
14549 [C99-based-standards] (SCNi64): Likewise.
14550 [C99-based-standards] (SCNo64): Likewise.
14551 [C99-based-standards] (SCNu64): Likewise.
14552 [C99-based-standards] (SCNx64): Likewise.
14553 [C99-based-standards] (PRIdLEAST64): Likewise.
14554 [C99-based-standards] (PRIiLEAST64): Likewise.
14555 [C99-based-standards] (PRIoLEAST64): Likewise.
14556 [C99-based-standards] (PRIuLEAST64): Likewise.
14557 [C99-based-standards] (PRIxLEAST64): Likewise.
14558 [C99-based-standards] (PRIXLEAST64): Likewise.
14559 [C99-based-standards] (SCNdLEAST64): Likewise.
14560 [C99-based-standards] (SCNiLEAST64): Likewise.
14561 [C99-based-standards] (SCNoLEAST64): Likewise.
14562 [C99-based-standards] (SCNuLEAST64): Likewise.
14563 [C99-based-standards] (SCNxLEAST64): Likewise.
14564 [C99-based-standards] (PRIdFAST64): Likewise.
14565 [C99-based-standards] (PRIiFAST64): Likewise.
14566 [C99-based-standards] (PRIoFAST64): Likewise.
14567 [C99-based-standards] (PRIuFAST64): Likewise.
14568 [C99-based-standards] (PRIxFAST64): Likewise.
14569 [C99-based-standards] (PRIXFAST64): Likewise.
14570 [C99-based-standards] (SCNdFAST64): Likewise.
14571 [C99-based-standards] (SCNiFAST64): Likewise.
14572 [C99-based-standards] (SCNoFAST64): Likewise.
14573 [C99-based-standards] (SCNuFAST64): Likewise.
14574 [C99-based-standards] (SCNxFAST64): Likewise.
14575 [C99-based-standards] (PRIdMAX): Likewise.
14576 [C99-based-standards] (PRIiMAX): Likewise.
14577 [C99-based-standards] (PRIoMAX): Likewise.
14578 [C99-based-standards] (PRIuMAX): Likewise.
14579 [C99-based-standards] (PRIxMAX): Likewise.
14580 [C99-based-standards] (PRIXMAX): Likewise.
14581 [C99-based-standards] (SCNdMAX): Likewise.
14582 [C99-based-standards] (SCNiMAX): Likewise.
14583 [C99-based-standards] (SCNoMAX): Likewise.
14584 [C99-based-standards] (SCNuMAX): Likewise.
14585 [C99-based-standards] (SCNxMAX): Likewise.
14586 [C99-based-standards] (PRIdPTR): Likewise.
14587 [C99-based-standards] (PRIiPTR): Likewise.
14588 [C99-based-standards] (PRIoPTR): Likewise.
14589 [C99-based-standards] (PRIuPTR): Likewise.
14590 [C99-based-standards] (PRIxPTR): Likewise.
14591 [C99-based-standards] (PRIXPTR): Likewise.
14592 [C99-based-standards] (SCNdPTR): Likewise.
14593 [C99-based-standards] (SCNiPTR): Likewise.
14594 [C99-based-standards] (SCNoPTR): Likewise.
14595 [C99-based-standards] (SCNuPTR): Likewise.
14596 [C99-based-standards] (SCNxPTR): Likewise.
14597 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14598 allow.
14599 * conform/data/stdint.h-data: Update comments to clarify
14600 requirements.
14601 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14602 type.
14603 [C99-based standards] (INT8_MAX): Likewise.
14604 [C99-based standards] (INT16_MIN): Likewise.
14605 [C99-based standards] (INT16_MAX): Likewise.
14606 [C99-based standards] (INT32_MIN): Likewise.
14607 [C99-based standards] (INT32_MAX): Likewise.
14608 [C99-based standards] (INT64_MIN): Likewise.
14609 [C99-based standards] (INT64_MAX): Likewise.
14610 [C99-based standards] (UINT8_MAX): Likewise.
14611 [C99-based standards] (UINT16_MAX): Likewise.
14612 [C99-based standards] (UINT32_MAX): Likewise.
14613 [C99-based standards] (UINT64_MAX): Likewise.
14614 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14615 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14616 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14617 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14618 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14619 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14620 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14621 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14622 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14623 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14624 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14625 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14626 [C99-based standards] (INT_FAST8_MIN): Likewise.
14627 [C99-based standards] (INT_FAST8_MAX): Likewise.
14628 [C99-based standards] (INT_FAST16_MIN): Likewise.
14629 [C99-based standards] (INT_FAST16_MAX): Likewise.
14630 [C99-based standards] (INT_FAST32_MIN): Likewise.
14631 [C99-based standards] (INT_FAST32_MAX): Likewise.
14632 [C99-based standards] (INT_FAST64_MIN): Likewise.
14633 [C99-based standards] (INT_FAST64_MAX): Likewise.
14634 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14635 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14636 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14637 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14638 [C99-based standards] (INTPTR_MIN): Likewise.
14639 [C99-based standards] (INTPTR_MAX): Likewise.
14640 [C99-based standards] (UINTPTR_MAX): Likewise.
14641 [C99-based standards] (INTMAX_MIN): Likewise.
14642 [C99-based standards] (INTMAX_MAX): Likewise.
14643 [C99-based standards] (UINTMAX_MAX): Likewise.
14644 [C99-based standards] (PTRDIFF_MIN): Likewise.
14645 [C99-based standards] (PTRDIFF_MAX): Likewise.
14646 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14647 [C99-based standards] (SIZE_MAX): Likewise.
14648 [C99-based standards] (WCHAR_MAX): Likewise.
14649 [C99-based standards] (WINT_MAX): Likewise.
14650 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14651 constraint on value.
14652 [C99-based standards] (WCHAR_MIN): Likewise.
14653 [C99-based standards] (WINT_MIN): Likewise.
14654 [C99-based standards] (*_t): Allow.
14655 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14656 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14657 Include math.h-data and complex.h-data. Remove all expectations
14658 of math.h and complex.h contents.
14659 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14660 at end of line.
14661 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14662 (struct tm): Expect tag.
14663 [C99-based-standards] (wcstof): Expect function.
14664 [C99-based-standards] (wcstold): Likewise.
14665 [C99-based-standards] (wcstoll): Likewise.
14666 [C99-based-standards] (wcstoull): Likewise.
14667 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14668 macro-int-constant. Specify type.
14669 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14670 constraint on value.
14671 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14672 Specify type.
14673 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14674 Specify value.
14675 [ISO C standards]: Do not allow headers.
14676 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14677 wcs[abcdefghijklmnopqrstuvwxyz]*.
14678 [ISO C standards] (*_t): Do not allow.
14679 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14680 Expect function.
14681 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14682 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14683 Specify type.
14684 [ISO C standards]: Do not allow headers.
14685 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14686 is[abcdefghijklmnopqrstuvwxyz]*.
14687 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14688 to[abcdefghijklmnopqrstuvwxyz]*.
14689 [ISO C standards] (*_t): Do not allow.
14690 * conform/data/stdalign.h-data: New file.
14691 * conform/data/stdbool.h-data: Likewise.
14692 * conform/data/stdnoreturn.h-data: Likewise.
14693
7514feb8
RM
146942012-11-07 Roland McGrath <roland@hack.frob.com>
14695
14696 [BZ #14815]
14697 * manual/filesys.texi (Directory Entries): Typo fix.
14698 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14699
19b2ecfc
MS
147002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14701
14702 * elf/elf.h (EM_AARCH64): New macro.
14703 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14704 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14705 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14706 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14707 (R_AARCH64_TLSDESC): Likewise.
14708 (NT_ARM_TLS): Likewise.
14709 (NT_ARM_HW_BREAK): Likewise.
14710 (NT_ARM_HW_WATCH): Likewise.
14711
60e235ee
JM
147122012-11-07 Joseph Myers <joseph@codesourcery.com>
14713
14714 [BZ #14811]
14715 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14716 (__ieee754_powl): Saturate nonzero exponents with absolute value
14717 below 0x1p-79 to +/- 0x1p-79.
14718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14719 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14720 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14721 nonzero exponents with absolute value below 0x1p-32 to +/-
14722 0x1p-32.
14723 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14724 (__ieee754_powl): Saturate nonzero exponents with absolute value
14725 below 0x1p-79 to +/- 0x1p-79.
14726 * math/libm-test.inc (pow_test): Add more tests.
14727
0ab234b7
AK
147282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14729
14730 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14731 _dl_s390_cap_flags with kernel. Increase string length.
14732 (_dl_s390_platforms): Add z196 and zEC12.
14733
45832f74
JM
147342012-11-07 Joseph Myers <joseph@codesourcery.com>
14735
14736 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14737 Change XOPEN21K to XOPEN2K.
14738
19218757
MK
147392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14740
14741 * string/memmove.c: Use memcpy when possible.
14742
c5f45721
AJ
147432012-11-06 Andreas Jaeger <aj@suse.de>
14744
14745 * po/eo.po: Update from translation team.
14746
82477c28
JM
147472012-11-06 Joseph Myers <joseph@codesourcery.com>
14748
14749 [BZ #14793]
14750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14751 exponent and small x and y exponents, scale x or y up. Increase
14752 by 2 the exponent used in scaling up.
14753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14755 * math/libm-test.inc (fma_test): Add more tests.
14756 (fma_test_towardzero): Likewise.
14757 (fma_test_downward): Likewise.
14758 (fma_test_upward): Likewise.
14759
99252c8c
JM
147602012-11-05 Joseph Myers <joseph@codesourcery.com>
14761
acfa885f
JM
14762 [BZ #14805]
14763 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14764 fenv_t *.
14765
99252c8c
JM
14766 [BZ #14801]
14767 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14768 namespace for names of struct fields.
14769 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14770 fenv_t fields.
14771 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14772 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14773
d6d98dea
ST
147742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775
14776 [BZ #3665]
14777 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14778
e10bb107
TS
147792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14780
14781 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14782 PTR_DEMANGLE.
14783
14784 [BZ #5246]
14785 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14786 PTR_DEMANGLE.
14787
a0c2940d
JM
147882012-11-04 Joseph Myers <joseph@codesourcery.com>
14789
14790 [BZ #14797]
14791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14792 definitely overflow as x * y not x * y + z.
14793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14795 * math/libm-test.inc (fma_test): Add more tests.
14796 (fma_test_towardzero): Likewise.
14797 (fma_test_downward): Likewise.
14798 (fma_test_upward): Likewise.
14799
b830319d
TS
148002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14801
14802 [BZ #157]
14803
14804 * include/stub-tag.h: Remove file.
14805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14806 '#include' of it.
14807 * manual/maint.texi (Porting): Don't reference it.
14808 * Makerules ($(objpfx)stubs): Likewise.
14809 * dirent/closedir.c: Don't include <stub-tag.h>.
14810 * dirent/dirfd.c: Likewise.
14811 * dirent/fdopendir.c: Likewise.
14812 * dirent/getdents.c: Likewise.
14813 * dirent/getdents64.c: Likewise.
14814 * dirent/opendir.c: Likewise.
14815 * dirent/readdir.c: Likewise.
14816 * dirent/readdir64.c: Likewise.
14817 * dirent/readdir64_r.c: Likewise.
14818 * dirent/readdir_r.c: Likewise.
14819 * dirent/rewinddir.c: Likewise.
14820 * dirent/seekdir.c: Likewise.
14821 * dirent/telldir.c: Likewise.
14822 * gmon/profil.c: Likewise.
14823 * grp/setgroups.c: Likewise.
14824 * inet/if_index.c: Likewise.
14825 * io/access.c: Likewise.
14826 * io/chdir.c: Likewise.
14827 * io/chmod.c: Likewise.
14828 * io/chown.c: Likewise.
14829 * io/close.c: Likewise.
14830 * io/dup.c: Likewise.
14831 * io/dup2.c: Likewise.
14832 * io/dup3.c: Likewise.
14833 * io/euidaccess.c: Likewise.
14834 * io/faccessat.c: Likewise.
14835 * io/fchdir.c: Likewise.
14836 * io/fchmod.c: Likewise.
14837 * io/fchmodat.c: Likewise.
14838 * io/fchown.c: Likewise.
14839 * io/fchownat.c: Likewise.
14840 * io/fcntl.c: Likewise.
14841 * io/flock.c: Likewise.
14842 * io/fstatfs.c: Likewise.
14843 * io/fstatfs64.c: Likewise.
14844 * io/fstatvfs.c: Likewise.
14845 * io/fstatvfs64.c: Likewise.
14846 * io/futimens.c: Likewise.
14847 * io/fxstat.c: Likewise.
14848 * io/fxstat64.c: Likewise.
14849 * io/fxstatat.c: Likewise.
14850 * io/fxstatat64.c: Likewise.
14851 * io/getcwd.c: Likewise.
14852 * io/isatty.c: Likewise.
14853 * io/lchmod.c: Likewise.
14854 * io/lchown.c: Likewise.
14855 * io/link.c: Likewise.
14856 * io/linkat.c: Likewise.
14857 * io/lseek.c: Likewise.
14858 * io/lseek64.c: Likewise.
14859 * io/lxstat64.c: Likewise.
14860 * io/mkdir.c: Likewise.
14861 * io/mkdirat.c: Likewise.
14862 * io/mkfifo.c: Likewise.
14863 * io/mkfifoat.c: Likewise.
14864 * io/open.c: Likewise.
14865 * io/open64.c: Likewise.
14866 * io/openat.c: Likewise.
14867 * io/openat64.c: Likewise.
14868 * io/pipe.c: Likewise.
14869 * io/pipe2.c: Likewise.
14870 * io/poll.c: Likewise.
14871 * io/posix_fadvise.c: Likewise.
14872 * io/posix_fadvise64.c: Likewise.
14873 * io/posix_fallocate.c: Likewise.
14874 * io/posix_fallocate64.c: Likewise.
14875 * io/read.c: Likewise.
14876 * io/readlink.c: Likewise.
14877 * io/readlinkat.c: Likewise.
14878 * io/rmdir.c: Likewise.
14879 * io/sendfile.c: Likewise.
14880 * io/sendfile64.c: Likewise.
14881 * io/statfs.c: Likewise.
14882 * io/statfs64.c: Likewise.
14883 * io/statvfs.c: Likewise.
14884 * io/statvfs64.c: Likewise.
14885 * io/symlink.c: Likewise.
14886 * io/symlinkat.c: Likewise.
14887 * io/ttyname.c: Likewise.
14888 * io/ttyname_r.c: Likewise.
14889 * io/umask.c: Likewise.
14890 * io/unlink.c: Likewise.
14891 * io/unlinkat.c: Likewise.
14892 * io/utime.c: Likewise.
14893 * io/utimensat.c: Likewise.
14894 * io/write.c: Likewise.
14895 * io/xmknod.c: Likewise.
14896 * io/xmknodat.c: Likewise.
14897 * io/xstat.c: Likewise.
14898 * io/xstat64.c: Likewise.
14899 * login/getpt.c: Likewise.
14900 * login/grantpt.c: Likewise.
14901 * login/unlockpt.c: Likewise.
14902 * math/e_acoshl.c: Likewise.
14903 * math/e_acosl.c: Likewise.
14904 * math/e_asinl.c: Likewise.
14905 * math/e_atan2l.c: Likewise.
14906 * math/e_atanhl.c: Likewise.
14907 * math/e_coshl.c: Likewise.
14908 * math/e_expl.c: Likewise.
14909 * math/e_fmodl.c: Likewise.
14910 * math/e_gammal_r.c: Likewise.
14911 * math/e_hypotl.c: Likewise.
14912 * math/e_j0l.c: Likewise.
14913 * math/e_j1l.c: Likewise.
14914 * math/e_jnl.c: Likewise.
14915 * math/e_lgammal_r.c: Likewise.
14916 * math/e_log10l.c: Likewise.
14917 * math/e_log2l.c: Likewise.
14918 * math/e_logl.c: Likewise.
14919 * math/e_powl.c: Likewise.
14920 * math/e_rem_pio2l.c: Likewise.
14921 * math/e_sinhl.c: Likewise.
14922 * math/e_sqrtl.c: Likewise.
14923 * math/fclrexcpt.c: Likewise.
14924 * math/fedisblxcpt.c: Likewise.
14925 * math/feenablxcpt.c: Likewise.
14926 * math/fegetenv.c: Likewise.
14927 * math/fegetexcept.c: Likewise.
14928 * math/fegetround.c: Likewise.
14929 * math/feholdexcpt.c: Likewise.
14930 * math/fesetenv.c: Likewise.
14931 * math/fesetround.c: Likewise.
14932 * math/feupdateenv.c: Likewise.
14933 * math/fgetexcptflg.c: Likewise.
14934 * math/fraiseexcpt.c: Likewise.
14935 * math/fsetexcptflg.c: Likewise.
14936 * math/ftestexcept.c: Likewise.
14937 * math/k_cosl.c: Likewise.
14938 * math/k_rem_pio2l.c: Likewise.
14939 * math/k_sinl.c: Likewise.
14940 * math/k_tanl.c: Likewise.
14941 * math/s_asinhl.c: Likewise.
14942 * math/s_atanl.c: Likewise.
14943 * math/s_cbrtl.c: Likewise.
14944 * math/s_erfl.c: Likewise.
14945 * math/s_expm1l.c: Likewise.
14946 * math/s_log1pl.c: Likewise.
14947 * math/s_tanhl.c: Likewise.
14948 * misc/acct.c: Likewise.
14949 * misc/brk.c: Likewise.
14950 * misc/chflags.c: Likewise.
14951 * misc/chroot.c: Likewise.
14952 * misc/fchflags.c: Likewise.
14953 * misc/fgetxattr.c: Likewise.
14954 * misc/flistxattr.c: Likewise.
14955 * misc/fremovexattr.c: Likewise.
14956 * misc/fsetxattr.c: Likewise.
14957 * misc/fsync.c: Likewise.
14958 * misc/ftruncate.c: Likewise.
14959 * misc/futimes.c: Likewise.
14960 * misc/futimesat.c: Likewise.
14961 * misc/getdomain.c: Likewise.
14962 * misc/getdtsz.c: Likewise.
14963 * misc/gethostid.c: Likewise.
14964 * misc/gethostname.c: Likewise.
14965 * misc/getloadavg.c: Likewise.
14966 * misc/getpagesize.c: Likewise.
14967 * misc/getsysstats.c: Likewise.
14968 * misc/getxattr.c: Likewise.
14969 * misc/gtty.c: Likewise.
14970 * misc/ioctl.c: Likewise.
14971 * misc/lgetxattr.c: Likewise.
14972 * misc/listxattr.c: Likewise.
14973 * misc/llistxattr.c: Likewise.
14974 * misc/lremovexattr.c: Likewise.
14975 * misc/lsetxattr.c: Likewise.
14976 * misc/lutimes.c: Likewise.
14977 * misc/madvise.c: Likewise.
14978 * misc/mincore.c: Likewise.
14979 * misc/mlock.c: Likewise.
14980 * misc/mlockall.c: Likewise.
14981 * misc/mmap.c: Likewise.
14982 * misc/mprotect.c: Likewise.
14983 * misc/msync.c: Likewise.
14984 * misc/munlock.c: Likewise.
14985 * misc/munlockall.c: Likewise.
14986 * misc/munmap.c: Likewise.
14987 * misc/preadv.c: Likewise.
14988 * misc/preadv64.c: Likewise.
14989 * misc/ptrace.c: Likewise.
14990 * misc/pwritev.c: Likewise.
14991 * misc/pwritev64.c: Likewise.
14992 * misc/readv.c: Likewise.
14993 * misc/reboot.c: Likewise.
14994 * misc/remap_file_pages.c: Likewise.
14995 * misc/removexattr.c: Likewise.
14996 * misc/revoke.c: Likewise.
14997 * misc/select.c: Likewise.
14998 * misc/setdomain.c: Likewise.
14999 * misc/setegid.c: Likewise.
15000 * misc/seteuid.c: Likewise.
15001 * misc/sethostid.c: Likewise.
15002 * misc/sethostname.c: Likewise.
15003 * misc/setregid.c: Likewise.
15004 * misc/setreuid.c: Likewise.
15005 * misc/setxattr.c: Likewise.
15006 * misc/sstk.c: Likewise.
15007 * misc/stty.c: Likewise.
15008 * misc/swapoff.c: Likewise.
15009 * misc/swapon.c: Likewise.
15010 * misc/sync.c: Likewise.
15011 * misc/syncfs.c: Likewise.
15012 * misc/syscall.c: Likewise.
15013 * misc/truncate.c: Likewise.
15014 * misc/ualarm.c: Likewise.
15015 * misc/usleep.c: Likewise.
15016 * misc/ustat.c: Likewise.
15017 * misc/utimes.c: Likewise.
15018 * misc/vhangup.c: Likewise.
15019 * misc/writev.c: Likewise.
15020 * posix/_exit.c: Likewise.
15021 * posix/alarm.c: Likewise.
15022 * posix/execve.c: Likewise.
15023 * posix/fexecve.c: Likewise.
15024 * posix/fork.c: Likewise.
15025 * posix/fpathconf.c: Likewise.
15026 * posix/getaddrinfo.c: Likewise.
15027 * posix/getegid.c: Likewise.
15028 * posix/geteuid.c: Likewise.
15029 * posix/getgid.c: Likewise.
15030 * posix/getgroups.c: Likewise.
15031 * posix/getlogin.c: Likewise.
15032 * posix/getlogin_r.c: Likewise.
15033 * posix/getpgid.c: Likewise.
15034 * posix/getpid.c: Likewise.
15035 * posix/getppid.c: Likewise.
15036 * posix/getresgid.c: Likewise.
15037 * posix/getresuid.c: Likewise.
15038 * posix/getsid.c: Likewise.
15039 * posix/getuid.c: Likewise.
15040 * posix/glob64.c: Likewise.
15041 * posix/nanosleep.c: Likewise.
15042 * posix/pathconf.c: Likewise.
15043 * posix/pause.c: Likewise.
15044 * posix/posix_madvise.c: Likewise.
15045 * posix/pread.c: Likewise.
15046 * posix/pread64.c: Likewise.
15047 * posix/pwrite.c: Likewise.
15048 * posix/pwrite64.c: Likewise.
15049 * posix/sched_getaffinity.c: Likewise.
15050 * posix/sched_getp.c: Likewise.
15051 * posix/sched_gets.c: Likewise.
15052 * posix/sched_primax.c: Likewise.
15053 * posix/sched_primin.c: Likewise.
15054 * posix/sched_rr_gi.c: Likewise.
15055 * posix/sched_setaffinity.c: Likewise.
15056 * posix/sched_setp.c: Likewise.
15057 * posix/sched_sets.c: Likewise.
15058 * posix/sched_yield.c: Likewise.
15059 * posix/setgid.c: Likewise.
15060 * posix/setlogin.c: Likewise.
15061 * posix/setpgid.c: Likewise.
15062 * posix/setresgid.c: Likewise.
15063 * posix/setresuid.c: Likewise.
15064 * posix/setsid.c: Likewise.
15065 * posix/setuid.c: Likewise.
15066 * posix/sleep.c: Likewise.
15067 * posix/spawni.c: Likewise.
15068 * posix/sysconf.c: Likewise.
15069 * posix/times.c: Likewise.
15070 * posix/wait.c: Likewise.
15071 * posix/wait3.c: Likewise.
15072 * posix/wait4.c: Likewise.
15073 * posix/waitpid.c: Likewise.
15074 * resolv/gai_sigqueue.c: Likewise.
15075 * resource/getpriority.c: Likewise.
15076 * resource/getrlimit.c: Likewise.
15077 * resource/getrusage.c: Likewise.
15078 * resource/nice.c: Likewise.
15079 * resource/setpriority.c: Likewise.
15080 * resource/setrlimit.c: Likewise.
15081 * resource/ulimit.c: Likewise.
15082 * rt/aio_cancel.c: Likewise.
15083 * rt/aio_fsync.c: Likewise.
15084 * rt/aio_read.c: Likewise.
15085 * rt/aio_sigqueue.c: Likewise.
15086 * rt/aio_suspend.c: Likewise.
15087 * rt/aio_write.c: Likewise.
15088 * rt/clock_getres.c: Likewise.
15089 * rt/clock_gettime.c: Likewise.
15090 * rt/clock_nanosleep.c: Likewise.
15091 * rt/clock_settime.c: Likewise.
15092 * rt/lio_listio.c: Likewise.
15093 * rt/mq_close.c: Likewise.
15094 * rt/mq_getattr.c: Likewise.
15095 * rt/mq_notify.c: Likewise.
15096 * rt/mq_open.c: Likewise.
15097 * rt/mq_receive.c: Likewise.
15098 * rt/mq_send.c: Likewise.
15099 * rt/mq_setattr.c: Likewise.
15100 * rt/mq_timedreceive.c: Likewise.
15101 * rt/mq_timedsend.c: Likewise.
15102 * rt/mq_unlink.c: Likewise.
15103 * rt/shm_open.c: Likewise.
15104 * rt/shm_unlink.c: Likewise.
15105 * rt/timer_create.c: Likewise.
15106 * rt/timer_delete.c: Likewise.
15107 * rt/timer_getoverr.c: Likewise.
15108 * rt/timer_gettime.c: Likewise.
15109 * rt/timer_settime.c: Likewise.
15110 * setjmp/__longjmp.c: Likewise.
15111 * setjmp/setjmp.c: Likewise.
15112 * signal/kill.c: Likewise.
15113 * signal/killpg.c: Likewise.
15114 * signal/raise.c: Likewise.
15115 * signal/sigaction.c: Likewise.
15116 * signal/sigaltstack.c: Likewise.
15117 * signal/sigblock.c: Likewise.
15118 * signal/sigignore.c: Likewise.
15119 * signal/sigintr.c: Likewise.
15120 * signal/signal.c: Likewise.
15121 * signal/sigpause.c: Likewise.
15122 * signal/sigpending.c: Likewise.
15123 * signal/sigqueue.c: Likewise.
15124 * signal/sigreturn.c: Likewise.
15125 * signal/sigset.c: Likewise.
15126 * signal/sigsetmask.c: Likewise.
15127 * signal/sigstack.c: Likewise.
15128 * signal/sigsuspend.c: Likewise.
15129 * signal/sigtimedwait.c: Likewise.
15130 * signal/sigvec.c: Likewise.
15131 * signal/sigwait.c: Likewise.
15132 * signal/sigwaitinfo.c: Likewise.
15133 * signal/sysv_signal.c: Likewise.
15134 * socket/accept.c: Likewise.
15135 * socket/accept4.c: Likewise.
15136 * socket/bind.c: Likewise.
15137 * socket/connect.c: Likewise.
15138 * socket/getpeername.c: Likewise.
15139 * socket/getsockname.c: Likewise.
15140 * socket/getsockopt.c: Likewise.
15141 * socket/isfdtype.c: Likewise.
15142 * socket/listen.c: Likewise.
15143 * socket/recv.c: Likewise.
15144 * socket/recvfrom.c: Likewise.
15145 * socket/recvmsg.c: Likewise.
15146 * socket/send.c: Likewise.
15147 * socket/sendmsg.c: Likewise.
15148 * socket/sendto.c: Likewise.
15149 * socket/setsockopt.c: Likewise.
15150 * socket/shutdown.c: Likewise.
15151 * socket/sockatmark.c: Likewise.
15152 * socket/socket.c: Likewise.
15153 * socket/socketpair.c: Likewise.
15154 * stdio-common/ctermid.c: Likewise.
15155 * stdio-common/cuserid.c: Likewise.
15156 * stdio-common/remove.c: Likewise.
15157 * stdio-common/rename.c: Likewise.
15158 * stdio-common/renameat.c: Likewise.
15159 * stdio-common/tempname.c: Likewise.
15160 * stdlib/getcontext.c: Likewise.
15161 * stdlib/makecontext.c: Likewise.
15162 * stdlib/setcontext.c: Likewise.
15163 * stdlib/swapcontext.c: Likewise.
15164 * stdlib/system.c: Likewise.
15165 * streams/fattach.c: Likewise.
15166 * streams/fdetach.c: Likewise.
15167 * streams/getmsg.c: Likewise.
15168 * streams/getpmsg.c: Likewise.
15169 * streams/putmsg.c: Likewise.
15170 * streams/putpmsg.c: Likewise.
15171 * sysdeps/unix/bsd/getpt.c: Likewise.
15172 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15173 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15174 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15176 Likewise.
15177 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15178 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15179 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15180 * sysvipc/msgctl.c: Likewise.
15181 * sysvipc/msgget.c: Likewise.
15182 * sysvipc/msgrcv.c: Likewise.
15183 * sysvipc/msgsnd.c: Likewise.
15184 * sysvipc/semctl.c: Likewise.
15185 * sysvipc/semget.c: Likewise.
15186 * sysvipc/semop.c: Likewise.
15187 * sysvipc/semtimedop.c: Likewise.
15188 * sysvipc/shmat.c: Likewise.
15189 * sysvipc/shmctl.c: Likewise.
15190 * sysvipc/shmdt.c: Likewise.
15191 * sysvipc/shmget.c: Likewise.
15192 * termios/tcdrain.c: Likewise.
15193 * termios/tcflow.c: Likewise.
15194 * termios/tcflush.c: Likewise.
15195 * termios/tcgetattr.c: Likewise.
15196 * termios/tcgetpgrp.c: Likewise.
15197 * termios/tcsendbrk.c: Likewise.
15198 * termios/tcsetattr.c: Likewise.
15199 * termios/tcsetpgrp.c: Likewise.
15200 * time/adjtime.c: Likewise.
15201 * time/clock.c: Likewise.
15202 * time/getitimer.c: Likewise.
15203 * time/gettimeofday.c: Likewise.
15204 * time/setitimer.c: Likewise.
15205 * time/settimeofday.c: Likewise.
15206 * time/stime.c: Likewise.
15207 * time/time.c: Likewise.
15208
152092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15210
a20492cf
PT
15211 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15212 /usr/old/bin.
15213
72e182e3
PT
15214 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15215 instead of spaces.
15216 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15217
fbeafede
JM
152182012-11-03 Joseph Myers <joseph@codesourcery.com>
15219
5b5b04d6
JM
15220 [BZ #14796]
15221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15222 FE_TONEAREST before applying Dekker multiplication and Knuth
15223 addition. Clear inexact exceptions and check for exact zero
15224 results afterwards.
15225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15226 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15228 * math/libm-test.inc (fma_test): Add more tests.
15229 (fma_test_towardzero): Likewise.
15230 (fma_test_downward): Likewise.
15231 (fma_test_upward): Likewise.
15232 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15233 function.
15234 (libc_fesetround): New macro.
15235 (libc_fesetroundf): Likewise.
15236 (libc_fesetroundl): Likewise.
15237 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15238 function.
15239 (libc_fesetround_387): Likewise.
15240 (libc_fesetroundf): New macro.
15241 (libc_fesetround): Likewise.
15242 (libc_fesetroundl): Likewise.
15243 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15244 function.
15245 (libc_fesetroundf): New macro.
15246 (libc_fesetround): Likewise.
15247 (libc_fesetroundl): Likewise.
15248 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15249 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15250 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15251 libm_hidden_ver.
15252 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15253 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15254 libm_hidden_def.
15255 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15256 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15257 libm_hidden_ver.
15258 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15259 libm_hidden_def.
15260
fbeafede
JM
15261 [BZ #3439]
15262 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15263 integer constant usable in #if and use that to give value to enum
15264 constant.
15265 (FE_DIVBYZERO): Likewise.
15266 (FE_UNDERFLOW): Likewise.
15267 (FE_OVERFLOW): Likewise.
15268 (FE_INVALID): Likewise.
15269 (FE_INVALID_SNAN): Likewise.
15270 (FE_INVALID_ISI): Likewise.
15271 (FE_INVALID_IDI): Likewise.
15272 (FE_INVALID_ZDZ): Likewise.
15273 (FE_INVALID_IMZ): Likewise.
15274 (FE_INVALID_COMPARE): Likewise.
15275 (FE_INVALID_SOFTWARE): Likewise.
15276 (FE_INVALID_SQRT): Likewise.
15277 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15278 (FE_TONEAREST): Likewise.
15279 (FE_TOWARDZERO): Likewise.
15280 (FE_UPWARD): Likewise.
15281 (FE_DOWNWARD): Likewise.
15282 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15283 (FE_DIVBYZERO): Likewise.
15284 (FE_OVERFLOW): Likewise.
15285 (FE_UNDERFLOW): Likewise.
15286 (FE_INEXACT): Likewise.
15287 (FE_TONEAREST): Likewise.
15288 (FE_DOWNWARD): Likewise.
15289 (FE_UPWARD): Likewise.
15290 (FE_TOWARDZERO): Likewise.
15291 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15292 (FE_UNDERFLOW): Likewise.
15293 (FE_OVERFLOW): Likewise.
15294 (FE_DIVBYZERO): Likewise.
15295 (FE_INVALID): Likewise.
15296 (FE_TONEAREST): Likewise.
15297 (FE_TOWARDZERO): Likewise.
15298 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15299 (FE_OVERFLOW): Likewise.
15300 (FE_UNDERFLOW): Likewise.
15301 (FE_DIVBYZERO): Likewise.
15302 (FE_INEXACT): Likewise.
15303 (FE_TONEAREST): Likewise.
15304 (FE_TOWARDZERO): Likewise.
15305 (FE_UPWARD): Likewise.
15306 (FE_DOWNWARD): Likewise.
15307 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15308 (FE_DIVBYZERO): Likewise.
15309 (FE_OVERFLOW): Likewise.
15310 (FE_UNDERFLOW): Likewise.
15311 (FE_INEXACT): Likewise.
15312 (FE_TONEAREST): Likewise.
15313 (FE_DOWNWARD): Likewise.
15314 (FE_UPWARD): Likewise.
15315 (FE_TOWARDZERO): Likewise.
15316
105ca950
CM
153172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15318
15319 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15320
a542b389
AS
153212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15322
15323 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15324 commands. Quote $PWD.
15325 (blacklist_exports): Don't use remove_newlines. Replace "declare
15326 -x" by "export".
15327 (remove_newlines): Remove.
15328
f62c8abc
L
153292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15330
15331 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15332 * stdlib/stdlib.h (atof): Moved to ...
15333 * include/bits/stdlib-float.h: Here. New file.
15334 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15335 * stdlib/bits/stdlib-float.h: New file.
15336 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15337 -mno-sse -mno-mmx.
15338 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15339 <xmmintrin.h>.
15340
0155d5b2
JM
153412012-11-02 Joseph Myers <joseph@codesourcery.com>
15342
a68d0680
JM
15343 * conform/conformtest.pl (@headers): Add fenv.h.
15344 * conform/data/fenv.h-data: New file.
15345 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15346 include of <math/fenv.h>.
15347
caf7f573
JM
15348 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15349 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15350 && !UNIX98]. Enables tests for XOPEN2K8.
15351 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15352 POSIX2008]: Likewise.
15353
6c073ad6
JM
15354 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15355 (struct rusage): Do not expect type or its members.
15356
0155d5b2
JM
15357 [BZ #3439]
15358 * math/math.h (FP_NAN): Define macro to integer constant usable in
15359 #if and use that to give value to enum constant.
15360 (FP_INFINITE): Likewise.
15361 (FP_ZERO): Likewise.
15362 (FP_SUBNORMAL): Likewise.
15363 (FP_NORMAL): Likewise.
15364
b5dcacb4
AS
153652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15366
15367 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15368 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15369 arguments.
15370
f7934be8
RM
153712012-11-02 Roland McGrath <roland@hack.frob.com>
15372
15373 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15374 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15375 autoconf-time if not.
15376 * configure.in: Remove AC_PREREQ.
15377
d7d08bde
TMQMF
153782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15379
15380 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15381 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15382 of the internal implementation.
15383
dcdae19a
JM
153842012-11-02 Joseph Myers <joseph@codesourcery.com>
15385
15386 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15387 except include of <misc/sys/syslog.h>.
15388
d6cffd3e
AS
153892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15390
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15392 function returns with a NULL context exit with zero.
15393
b3563932
TMQMF
153942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15395
15396 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15397
b288a93d
L
153982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15401 (run_program_cmd): This.
15402 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15403 (tst_langinfo): New variable. Use it.
15404
a2421a68
SAS
154052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15406
15407 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15408 floating point opcodes.
15409
6f796e1b
TS
154102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15411
7402596b
TS
15412 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15413 variable.
15414
d0d4f868
TS
15415 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15416
6f796e1b
TS
15417 * sysdeps/mach/hurd/powerpc: Remove directory.
15418 * sysdeps/mach/powerpc: Likewise.
15419
4da224a2
AS
154202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15421
15422 * scripts/check-local-headers.sh: Ignore c++ headers.
15423
341dd673
TS
154242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15425
15426 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15427 __libc_cleanup_region_start argument.
15428
473611b2
JM
154292012-11-01 Joseph Myers <joseph@codesourcery.com>
15430
15431 [BZ #14784]
15432 [BZ #14785]
15433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15434 x * y using scaling, not as x * y + z.
15435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15437 * math/libm-test.inc (fma_test): Add more tests.
15438 (fma_test_towardzero): Likewise.
15439 (fma_test_downward): Likewise.
15440 (fma_test_upward): Likewise.
15441
4078da3d
TS
154422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15443
15444 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15445
903252aa
JM
154462012-10-31 Joseph Myers <joseph@codesourcery.com>
15447
15448 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15449 New variable.
15450
cbc818d0
TS
154512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15452
15453 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15454
5a03cb1e
AS
154552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15456
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15458 Fix sort order.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15460 Likewise.
15461
90aff2ff
TMQMF
154622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15463
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15465 Fix the order of the list for glibc 2.17.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15467 Likewise.
15468
1818fcb7
AS
154692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15470
15471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472
ef82f4da
JM
154732012-10-31 Joseph Myers <joseph@codesourcery.com>
15474
16a0e2ec
JM
15475 [BZ #14610]
15476 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15477 for low part of x being zero before using __atanl (y).
15478 * math/libm-test.inc (atan2_test): Add another test.
15479
0eb69512
JM
15480 * manual/install.texi (Configuring and compiling): Document
15481 general use of test-wrapper and test-wrapper-env.
15482 * INSTALL: Regenerated.
15483
ef82f4da
JM
15484 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15485 (__fma): Do not extract and scale down low bits on after-rounding
15486 systems when result rounded to normal precision would have normal
15487 exponent.
15488 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15489 (__fmal): Do not extract and scale down low bits on after-rounding
15490 systems when result rounded to normal precision would have normal
15491 exponent.
15492 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15493 (__fmal): Do not extract and scale down low bits on after-rounding
15494 systems when result rounded to normal precision would have normal
15495 exponent.
15496 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15497 macro.
15498 (fma_test): Add more tests.
15499 (fma_test_towardzero): Likewise.
15500 (fma_test_downward): Likewise.
15501 (fma_test_upward): Likewise.
15502
954ef0d9
L
155032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15504
15505 * sysdeps/i386/tininess.h: Renamed to ...
15506 * sysdeps/x86/tininess.h: This.
15507 * sysdeps/x86_64/tininess.h: Removed.
15508
df61ffb2
JM
155092012-10-30 Joseph Myers <joseph@codesourcery.com>
15510
15511 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15512 input. Use $(build-program-cmd).
15513 ($(objpfx)tst-array1-static.out): Likewise.
15514 ($(objpfx)tst-array2.out): Likewise.
15515 ($(objpfx)tst-array3.out): Likewise.
15516 ($(objpfx)tst-array4.out): Likewise.
15517 ($(objpfx)tst-array5.out): Likewise.
15518 ($(objpfx)tst-array5-static.out): Likewise.
15519
01767843
CM
155202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15521
47cc1490
CM
15522 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15523 if defined.
15524
01767843
CM
15525 * nss/nsswitch.h (nss_interface_function): Provide new
15526 macro for use with NSS functions.
15527 * grp/initgroups.c: Use new macro.
15528 * nss/getXXbyYY.c: Likewise.
15529 * nss/getXXbyYY_r.c: Likewise.
15530 * nss/getXXent.c: Likewise.
15531 * nss/getXXent_r.c: Likewise.
15532 * sysdeps/posix/getaddrinfo.c: Likewise.
15533
8321aa97
AJ
155342012-10-30 Andreas Jaeger <aj@suse.de>
15535
15536 * po/ru.po: Update Russion translation from translation project.
15537
2a27fd6d
JM
155382012-10-30 Joseph Myers <joseph@codesourcery.com>
15539
8627a232
JM
15540 [BZ #14152]
15541 [BZ #14783]
15542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15543 result and shift together with sticky bit instead of replicating
15544 round-to-nearest rounding.
15545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15547 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15548 missing underflow exceptions.
15549 (fma_test_towardzero): Add more tests.
15550 (fma_test_downward): Likewise.
15551 (fma_test_upward): Likewise.
15552
2a27fd6d
JM
15553 [BZ #14047]
15554 * sysdeps/generic/tininess.h: New file.
15555 * sysdeps/i386/tininess.h: Likewise.
15556 * sysdeps/sh/tininess.h: Likewise.
15557 * sysdeps/x86_64/tininess.h: Likewise.
15558 * stdlib/tst-strtod-underflow.c: Likewise.
15559 * stdlib/tst-tininess.c: Likewise.
15560 * stdlib/strtod_l.c: Include <tininess.h>.
15561 (round_and_return): Do not set errno for exact underflow cases.
15562 Force an underflow exception when setting errno for underflow.
15563 Determine underflow based on rounding to normal precision if
15564 TININESS_AFTER_ROUNDING.
15565 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15566 ERANGE for exact underflow cases.
15567 * stdlib/Makefile (tests): Add tst-tininess and
15568 tst-strtod-underflow.
15569 ($(objpfx)tst-tininess): Use $(link-libm).
15570 ($(objpfx)tst-strtod-underflow): Likewise.
15571
e7170363
AJ
155722012-10-30 Andreas Jaeger <aj@suse.de>
15573
e5088dc6
AJ
15574 [BZ#14767]
15575 * elf/Makefile (tests): Remove conditional for have-initfini-array
15576 since this is now always required and the variable does not exist
15577 anymore.
15578 (tests-static): Likewise.
15579 (modules-names): Likewise.
15580
e7170363 15581 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15582
15583 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15584 merged with constructor/destructor.
15585 (init_array): Likewise.
15586 * elf/tst-array2dep.c (fini_array): Likewise.
15587 (init_array): Likewise.
15588
60457d8a
MF
155892012-10-29 Mike Frysinger <vapier@gentoo.org>
15590
15591 * manual/message.texi: Delete @cartouche tags.
15592
8bece752
PT
155932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15594
94ce799f
PT
15595 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15596 EOPNOTSUPP.
15597 * sysdeps/mach/hurd/fsync.c: Likewise.
15598
8bece752
PT
15599 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15600 [_POSIX_REALTIME_SIGNALS]: Change condition to
15601 [_POSIX_REALTIME_SIGNALS > 0].
15602
86ebe6b1
AJ
156032012-10-27 Andreas Jaeger <aj@suse.de>
15604
15605 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15606 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15608 [__WORDSIZE != 64]: Likewise.
15609
54399c08
L
156102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15611
15612 * iconvdata/tst-table.sh: Remove ${SHELL}.
15613 * iconvdata/tst-tables.sh: Likewise.
15614
e2211bed
DM
156152012-10-25 David S. Miller <davem@davemloft.net>
15616
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15618 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15619 of strtoull.
15620
f303f97c
DM
15621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15622 ifunc-impl-list.c
15623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15624 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15625 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15626 file.
15627
1e9d84cd
RM
156282012-10-25 Roland McGrath <roland@hack.frob.com>
15629
15630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15631 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15632 __getdirentries.
15633
df381762
JM
156342012-10-25 Joseph Myers <joseph@codesourcery.com>
15635 Jim Blandy <jimb@codesourcery.com>
15636
15637 * scripts/cross-test-ssh.sh: New file.
15638 * manual/install.texi (Configuring and compiling): Document use of
15639 cross-test-ssh.sh.
15640 * INSTALL: Regenerated.
15641
bff64913
PT
156422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15643
15644 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15645 EOPNOTSUPP.
15646
25fe8932
JM
156472012-10-25 Joseph Myers <joseph@codesourcery.com>
15648
15649 * Makeconfig (run-program-prefix): Fix comment.
15650
cc1290d0
JM
156512012-10-24 Joseph Myers <joseph@codesourcery.com>
15652 Jim Blandy <jimb@codesourcery.com>
15653
15654 * Makeconfig (test-wrapper): New variable,
15655 (test-wrapper-env): Likewise.
15656 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15657 (run-built-tests): Define to yes.
15658 (run-program-prefix): Use $(test-wrapper).
15659 (built-program-cmd): Likewise.
15660 * Rules (make-test-out): Use $(test-wrapper-env) and
15661 $(host-built-program-cmd).
15662 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15663 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15664 tst-pathopt.sh.
15665 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15666 $(test-wrapper-env) to tst-rtld-load-self.sh.
15667 ($(objpfx)order2.out): Use $(test-wrapper).
15668 ($(objpfx)tst-initorder.out): Likewise.
15669 ($(objpfx)tst-initorder2.out): Likewise.
15670 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15671 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15672 (test_wrapper_env): New variable. Use it to run ld.so.
15673 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15674 Use it to run ld.so.
15675 (test_wrapper_env): Likewise.
15676 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15677 $(test-wrapper) to run-iconv-test.sh.
15678 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15679 (ICONV): Use $test_wrapper.
15680 * posix/Makefile ($(objpfx)globtest.out): Pass
15681 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15682 globtest.sh, not $(run-program-prefix).
15683 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15684 (test_wrapper): Likewise.
15685 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15686 set together with run_via_rtld_prefix.
15687 (run_program_prefix): Define in terms of test_wrapper and
15688 run_via_rtld_prefix.
15689
6e6249d0
RM
156902012-10-24 Roland McGrath <roland@hack.frob.com>
15691
15692 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15693 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15694 Targets removed.
15695
15696 [BZ #14743]
15697 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15698 Declare __clock_getres, __clock_gettime, __clock_settime,
15699 __clock_nanosleep, and __clock_getcpuclockid.
15700 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15701 Remove librt_hidden_def (clock_gettime).
15702 * sysdeps/unix/clock_gettime.c: Likewise.
15703 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15704 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15705 * rt/clock_getres.c: Define __clock_getres as an alias.
15706 * sysdeps/posix/clock_getres.c: Likewise.
15707 * rt/clock_settime.c: Define __clock_settime as an alias.
15708 * sysdeps/unix/clock_settime.c: Likewise.
15709 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15710 * sysdeps/unix/clock_nanosleep.c: Likewise.
15711 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15712 * rt/clock-compat.c: New file.
15713 * rt/Makefile (librt-routines): Add clock-compat and move
15714 $(clock-routines) to ...
15715 (routines): ... here, new variable.
15716 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15717 Don't add get_clockfreq here.
15718 * rt/Versions (libc: GLIBC_2.17): New version set.
15719 Add clock_* symbols here.
15720 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15721 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15722 (GLIBC_2.17): Add clock_* symbols.
15723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15727 Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15729 Likewise.
15730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15734 * NEWS: Mention the move.
15735
15736 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15737 Use __open, __read, __close rather than their public counterparts.
15738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15739 (__get_clockfreq_via_cpuinfo): Likewise.
15740 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15741 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15742
15743 * config.h.in (HAVE_IFUNC): New #undef.
15744 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15745 was successful.
15746 * configure: Regenerated.
15747
0cae3f4b
MF
157482012-10-24 Mike Frysinger <vapier@gentoo.org>
15749
15750 * configure.in: Move READELF check to start of file.
15751 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15752 libc_cv_asm_gnu_indirect_function in the process.
15753 * configure: Regenerated.
15754
8175a253
MF
157552012-10-24 Mike Frysinger <vapier@gentoo.org>
15756
15757 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15758 send the output to /dev/null.
15759 (libc_cv_cc_with_libunwind): Likewise.
15760 (libc_cv_as_noexecstack): Likewise.
15761 * configure: Regenerate.
15762
0708a7d1
JM
157632012-10-24 Joseph Myers <joseph@codesourcery.com>
15764
10b40d85
JM
15765 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15766
0708a7d1
JM
15767 * posix/globtest.sh (TMPDIR): Do not set.
15768 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15769 (testout): Likewise.
15770
9fddec1a
AJ
157712012-10-24 Andreas Jaeger <aj@suse.de>
15772
3a8db22f
AJ
15773 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15774 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15775 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15776 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15777 posix_fadvise64, posix_fallocate64.
15778
9fddec1a
AJ
15779 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15780 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15781 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15782 Likewise.
15783 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15784 Likewise.
15785 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15786
15787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15788 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15789 <bits/fcntl-linux.h>.
15790 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15791
15792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15793 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15794 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15795 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15796 [__WORDSIZE != 64]: Likewise.
15797
ebfd1bbd
JM
157982012-10-23 Joseph Myers <joseph@codesourcery.com>
15799
03ac099f
JM
15800 * Makeconfig (run-built-tests): New variable.
15801 * Rules [$(cross-compiling) = yes]: Change condition to
15802 [$(run-built-tests) = no].
15803 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15804 to [$(run-built-tests) = yes].
15805 * elf/Makefile [$(cross-compiling) = no]: Likewise
15806 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15807 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15808 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15809 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15810 * io/Makefile [$(cross-compiling) = no]: Likewise.
15811 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15812 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15813 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15814 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15815 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15816 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15817 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15818 * string/Makefile [$(cross-compiling) = no]: Likewise.
15819
ebfd1bbd
JM
15820 * posix/Makefile ($(objpfx)globtest.out): Pass
15821 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15822 $(rtld-installed-name).
15823 * posix/globtest.sh (elf_objpfx): Remove variable.
15824 (rtld_installed_name): Likewise.
15825 (library_path): Likewise.
15826 (run_program_prefix): New variable. Use for running globtest
15827 binary.
15828
166bca24
JB
158292012-10-23 Jim Blandy <jimb@codesourcery.com>
15830 Joseph Myers <joseph@codesourcery.com>
15831
15832 * Makeconfig (host-built-program-cmd): New variable.
15833 * elf/Makefile (tst-stackguard1-ARGS): Use
15834 $(host-built-program-cmd).
15835 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15836 (tst-spawn-ARGS): Likewise.
15837 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15838
88866099
JM
158392012-10-23 Joseph Myers <joseph@codesourcery.com>
15840 Jim Blandy <jimb@codesourcery.com>
15841
15842 * Makeconfig (run-via-rtld-prefix): New variable.
15843 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15844 (built-program-cmd): Likewise.
15845
b4b4c296
AJ
158462012-10-22 Andreas Jaeger <aj@suse.de>
15847
15848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15849 __O_RSYNC if it exists, otherwise to O_SYNC.
15850
6fb54a22
JB
158512012-10-22 Jim Blandy <jimb@codesourcery.com>
15852 Joseph Myers <joseph@codesourcery.com>
15853
15854 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15855 /dev/null.
15856 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15857 from /dev/null
15858 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15859 /dev/null.
15860
481b90b9
AJ
158612012-10-22 Andreas Jaeger <aj@suse.de>
15862
2a0e2669
AJ
15863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15864 Define always.
15865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15866
76e38f9a
AJ
15867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15868 bits/fcntl-linux.h.
15869
7cd37b43
AJ
15870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15871 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15872
481b90b9
AJ
15873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15874 to __O_LARGEFILE.
15875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15876 to __O_LARGEFILE.
15877
aba75984
JB
158782012-10-21 Jim Blandy <jimb@codesourcery.com>
15879 Joseph Myers <joseph@codesourcery.com>
15880
15881 * config.make.in (NM): New variable.
15882
88d4247f
AJ
158832012-10-21 Andreas Jaeger <aj@suse.de>
15884
15885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15886 definitions and declarations that are provided by
15887 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15888
f2eed205
L
158892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15890
15891 [BZ #14683]
15892 * elf/Makefile (tests-static): Add tst-leaks1-static.
15893 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15894 ($(objpfx)tst-leaks1-static): New rule.
15895 ($(objpfx)tst-leaks1-static-mem): Likewise.
15896 (tst-leaks1-static-ENV): New macro.
15897 * elf/dl-open.c (dl_open_worker): Check the main application
15898 only if SHARED is defined.
15899 * elf/tst-leaks1-static.c: New file.
15900
335e6931
AJ
159012012-10-20 Andreas Jaeger <aj@suse.de>
15902
15903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15904 generic values for Linux.
15905 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15906 and declarations that are provided by <bits/fcntl-linux.h> and
15907 include <bits/fcntl-linux.h>.
15908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15910
ac5c94d3
RM
159112012-10-20 Roland McGrath <roland@hack.frob.com>
15912
15913 * io/fcntl.h: Move include of <bits/types.h> to the top and
15914 include it unconditionally.
15915
de54b33a
L
159162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15917
228cfb01
L
15918 * wcsmbs/Makefile (tests-ifunc): New variable.
15919 (tests): Add $(tests-ifunc).
15920 * wcsmbs/test-wcschr-ifunc.c: New file.
15921 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15922 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15923 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15924 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15925 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15926
69f07e5f
L
15927 * string/Makefile (tests-ifunc): New variable.
15928 (tests): Add $(tests-ifunc).
15929 * string/test-memccpy.c (TEST_NAME): New macro.
15930 * string/test-memchr.c (TEST_NAME): Likewise.
15931 * string/test-memcmp.c (TEST_NAME): Likewise.
15932 * string/test-memcpy.c (TEST_NAME): Likewise.
15933 * string/test-memmem.c (TEST_NAME): Likewise.
15934 * string/test-memmove.c (TEST_NAME): Likewise.
15935 * string/test-memset.c (TEST_NAME): Likewise.
15936 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15937 * string/test-stpcpy.c (TEST_NAME): Likewise.
15938 * string/test-stpncpy.c (TEST_NAME): Likewise.
15939 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15940 * string/test-strcasestr.c (TEST_NAME): Likewise.
15941 * string/test-strcat.c (TEST_NAME): Likewise.
15942 * string/test-strchr.c (TEST_NAME): Likewise.
15943 * string/test-strcmp.c(TEST_NAME): Likewise.
15944 * string/test-strcpy.c (TEST_NAME): Likewise.
15945 * string/test-strcspn.c (TEST_NAME): Likewise.
15946 * string/test-strlen.c (TEST_NAME): Likewise.
15947 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15948 * string/test-strncmp.c (TEST_NAME): Likewise.
15949 * string/test-strncpy.c (TEST_NAME): Likewise.
15950 * string/test-strnlen.c (TEST_NAME): Likewise.
15951 * string/test-strpbrk.c (TEST_NAME): Likewise.
15952 * string/test-strrchr.c (TEST_NAME): Likewise.
15953 * string/test-strspn.c (TEST_NAME): Likewise.
15954 * string/test-strstr.c (TEST_NAME): Likewise.
15955 * string/test-bcopy-ifunc.c: New file.
15956 * string/test-bzero-ifunc.c: Likewise.
15957 * string/test-memccpy-ifunc.c: Likewise.
15958 * string/test-memchr-ifunc.c: Likewise.
15959 * string/test-memcmp-ifunc.c: Likewise.
15960 * string/test-memcpy-ifunc.c: Likewise.
15961 * string/test-memmem-ifunc.c: Likewise.
15962 * string/test-memmove-ifunc.c: Likewise.
15963 * string/test-mempcpy-ifunc.c: Likewise.
15964 * string/test-memset-ifunc.c: Likewise.
15965 * string/test-rawmemchr-ifunc.c: Likewise.
15966 * string/test-stpcpy-ifunc.c: Likewise.
15967 * string/test-stpncpy-ifunc.c: Likewise.
15968 * string/test-strcasecmp-ifunc.c: Likewise.
15969 * string/test-strcasestr-ifunc.c: Likewise.
15970 * string/test-strcat-ifunc.c: Likewise.
15971 * string/test-strchr-ifunc.c: Likewise.
15972 * string/test-strchrnul-ifunc.c: Likewise.
15973 * string/test-strcmp-ifunc.c: Likewise.
15974 * string/test-strcpy-ifunc.c: Likewise.
15975 * string/test-strcspn-ifunc.c: Likewise.
15976 * string/test-strlen-ifunc.c: Likewise.
15977 * string/test-strncasecmp-ifunc.c: Likewise.
15978 * string/test-strncat-ifunc.c: Likewise.
15979 * string/test-strncmp-ifunc.c: Likewise.
15980 * string/test-strncpy-ifunc.c: Likewise.
15981 * string/test-strnlen-ifunc.c: Likewise.
15982 * string/test-strpbrk-ifunc.c: Likewise.
15983 * string/test-strrchr-ifunc.c: Likewise.
15984 * string/test-strspn-ifunc.c: Likewise.
15985 * string/test-strstr-ifunc.c: Likewise.
15986
de54b33a
L
15987 * debug/Makefile (tests-ifunc): New variable.
15988 (tests): Add $(tests-ifunc).
15989 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15990 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15991 * debug/test-stpcpy_chk-ifunc.c: New file.
15992 * debug/test-strcpy_chk-ifunc.c: Likewise.
15993
88481c16
SP
159942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15995
15996 [BZ #13601]
15997 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15998 header is not read in.
15999
135948bd
JM
160002012-10-19 Joseph Myers <joseph@codesourcery.com>
16001
89f1c388
JM
16002 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16003 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16004 directly. Pass built executable to script as
16005 $(built-program-cmd).
16006 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16007 $testprogram without using LD_LIBRARY_PATH and $ldso.
16008
e40a0d21
JM
16009 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16010 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16011 $(rtld-installed-name).
16012 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16013 (rtld_installed_name): Likewise.
16014 (library_path): Likewise.
16015 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16016 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16017 $(run-program-prefix) to tst-tables.sh.
16018 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16019 it to run tst-table-from and tst-table-to.
16020 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16021 Pass it to tst-table.sh.
16022 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16023 $(run-program-prefix) to tst-gettext.sh.
16024 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16025 tst-translit.sh.
16026 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16027 tst-gettext2.sh.
16028 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16029 to run tst-gettext.
16030 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16031 to run tst-gettext2.
16032 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16033 to run tst-translit.
16034 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16035 $(run-program-prefix) to tst-mtrace.sh.
16036 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16037 to run tst-mtrace.
16038 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16039 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16040 $(rtld-installed-name).
16041 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16042 (rtld_installed_name): Likewise.
16043 (run_program_prefix): New variable. Use it to run wordexp-test.
16044
728e272a
JM
16045 * Makeconfig (ARCH): Remove all definitions.
16046 (machine): Likewise.
16047 [ARCH]: Remove conditional code.
16048 [!objdir]: Give error.
16049 [!objdir] (objpfx): Remove.
16050 [!objdir] (common-objpfx): Likewise.
16051 [!objdir] (common-objdir): Likewise.
16052 * configure.in (config_makefile): Remove. Hardcode Makefile in
16053 AC_CONFIG_FILES call.
16054 * configure: Regenerated.
16055
d528cdcf
JM
16056 [BZ #13888]
16057 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16058 or TMPDIR.
16059 (testout): Likewise.
16060
135948bd
JM
16061 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16062 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16063 $(rtld-installed-name).
16064 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16065 (rtld_installed_name): Likwise.
16066 (runit): Remove function.
16067 (run_getconf): New variable, Use it for running getconf binary.
16068
38c78296
L
160692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 [BZ #14716]
16072 * string/test-memmem.c (check_result): New function.
16073 (do_one_test): Use it.
16074 (check1): New function.
16075 (test_main): Use it.
16076
d077f65f
MT
160772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16078
16079 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16080
ced52c71
JM
160812012-10-18 Joseph Myers <joseph@codesourcery.com>
16082
16083 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16084 (_G_LSEEK64): Likewise.
16085 (_G_MMAP64): Likewise.
16086 (_G_FSTAT64): Likewise.
16087 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16088 (_G_LSEEK64): Likewise.
16089 (_G_MMAP64): Likewise.
16090 (_G_FSTAT64): Likewise.
16091 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16092 unconditional. Call __mmap64 directly.
16093 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16094 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16095 __lseek64 directly.
16096 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16097 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16098 __mmap64 directly.
16099 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16100 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16101 __lseek64 directly.
16102 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16103 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16104 __lseek64 directly.
16105 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16106 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16107 __lseek64 directly.
16108 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16109 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16110 __fxstat64 directly.
16111 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16112 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16113 unconditional.
16114 (freopen64) [!_G_OPEN64]: Remove conditional code.
16115 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16116 unconditional.
16117 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16118 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16119 unconditional.
16120 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16121 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16122 unconditional.
16123 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16124 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16125 unconditional.
16126 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16127 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16128 unconditional.
16129 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16130 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16131 unconditional.
16132 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16133 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16134 unconditional.
16135 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16136
b741de23
SP
161372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16138
16139 [BZ #12140]
16140 * manual/memory.texi (Malloc Tunable Parameters): Add note
16141 about free list pointers overwriting some perturb bytes.
16142 Wording suggested by Roland McGrath.
16143
f9b9d9c9
JM
161442012-10-17 Joseph Myers <joseph@codesourcery.com>
16145
16146 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16147 (lgamma_test): Likewise.
16148 (tgamma_test): Likewise.
16149
172a631a
FW
161502012-10-16 Florian Weimer <fweimer@redhat.com>
16151
16152 [BZ #14700]
16153 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16154 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16155
e9f37252
MK
161562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16157
16158 * NEWS: Mention BZ #14716.
16159 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16160 when removing AVAILABLE1_USES_J macro.
16161
d394eb74
L
161622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16165 (__bswap_64): __uint64_t for unsigned 64-bit int.
16166
ca38dc17
AS
161672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16168
16169 * include/string.h (memmem): Declare libc hidden alias.
16170 * string/memmem.c (memmem): Define libc hidden alias.
16171 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16172 __read, __close instead of open, read, close.
16173
9a387d1f
L
161742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16175
ac49ecaf
L
16176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16177 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16178 global and hidden.
16179 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16180 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16181 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16182 Likewise.
16183 (__rawmemchr_sse2): Likewise.
16184 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16185 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16186 (__strchr_sse2): Likewise.
16187 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16188 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16189 (__strcasecmp_sse2): Likewise.
16190 (__strncasecmp_sse2): Likewise.
16191 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16192 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16193 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16194 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16195 (__strrchr_sse2): Likewise.
16196 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16197 ifunc-impl-list.c.
16198 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16199 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16200 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16201 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16202 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16203 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16204 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16205 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16206 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16207 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16208 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16209 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16210 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16211 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16212 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16213 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16214 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16215 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16216 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16217 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16218 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16219 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16220 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16221 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16222 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16223 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16224 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16225 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16226 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16227 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16228
b090e8ea
L
16229 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16230 global and hidden.
16231 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16232 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16233 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16234 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16235 Likewise.
16236 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16237 Likewise.
16238 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16239 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16240 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16241 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16242 ifunc-impl-list.c.
16243 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16244 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16245 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16246 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16247 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16248 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16249 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16250 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16251 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16252 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16253 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16254 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16255 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16256 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16257 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16258 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16259 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16260 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16261 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16262 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16263 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16265 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16266 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16267 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16268 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16269 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16270 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16271 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16272 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16273 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16277 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16278 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16280 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16281 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16282 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16283 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16284
11dd4af6
L
16285 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16286 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16287 * include/ifunc-impl-list.h: New file.
16288 * misc/ifunc-impl-list.c: Likewise.
16289 * misc/Makefile (routines): Add ifunc-impl-list.
16290 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16291 * string/test-string.h: Include <ifunc-impl-list.h>.
16292 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16293 impl_array): New variables.
16294 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16295 are defined.
16296 (test_init): Call __libc_ifunc_impl_list to initialize
16297 func_list if TEST_IFUNC and TEST_NAME are defined.
16298
9a387d1f
L
16299 * string/Makefile (strop-tests): Add bcopy and bzero.
16300 * string/test-bcopy.c: New file.
16301 * string/test-bzero.c: Likewise.
16302 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16303 defined.
16304 * string/test-memset.c: Support bzero test if TEST_BZERO is
16305 defined.
16306 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16307 __libc_memmove.
16308 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16309 __libc_memset.
16310 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16311 of memset.
16312
472371b9
JM
163132012-10-10 Joseph Myers <joseph@codesourcery.com>
16314
1e4a9536
JM
16315 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16316 * configure: Regenerated.
16317
d173d12e
JM
16318 * Makeconfig (+link-static-before-libc): Don't include
16319 $(link-static-libc).
16320
472371b9
JM
16321 * libio/libio.h (_IO_pos_t): Remove.
16322
89a3ad0b
AO
163232012-10-10 Alexandre Oliva <aoliva@redhat.com>
16324
16325 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16326 McGrath.
16327
e7451425
AO
163282012-10-10 Alexandre Oliva <aoliva@redhat.com>
16329
16330 * crypt/crypt-entry.c: Include fips-private.h.
16331 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16332 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16333 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16334 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16335
4ba74a35
AO
163362012-10-10 Alexandre Oliva <aoliva@redhat.com>
16337
16338 * crypt/crypt-private.h: Include stdbool.h.
16339 (_ufc_setup_salt_r): Return bool.
16340 * crypt/crypt-entry.c: Include errno.h.
16341 (__crypt_r): Return NULL with EINVAL for bad salt.
16342 * crypt/crypt_util.c (bad_for_salt): New.
16343 (_ufc_setup_salt_r): Check that salt is long enough and within
16344 the specified alphabet.
16345 * crypt/badsalttest.c: New file.
16346 * crypt/Makefile (tests): Add it.
16347 ($(objpfx)badsalttest): New.
16348
f96f1242
MK
163492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16350
16351 * NEWS: Add entry for BZ #14602.
16352
0e8e0c1c
JM
163532012-10-09 Joseph Myers <joseph@codesourcery.com>
16354
16355 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16356 type-generic.
16357 * math/libm-test.inc: Update comment listing what functions and
16358 macros are tested.
16359 (isgreater_test): New function.
16360 (isgreaterequal_test): Likewise.
16361 (isless_test): Likewise.
16362 (islessequal_test): Likewise.
16363 (islessgreater_test): Likewise.
16364 (isunordered_test): Likewise.
16365 (main): Call the new functions.
16366
273edc5e
RM
163672012-10-09 Roland McGrath <roland@hack.frob.com>
16368
b8493de0
RM
16369 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16370 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16371 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16372 * sysdeps/i386/configure: Regenerated.
16373 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16374 * sysdeps/mach/configure: Regenerated.
16375 * sysdeps/mach/hurd/configure: Regenerated.
16376 * sysdeps/powerpc/configure: Regenerated.
16377 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16378 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16379 * sysdeps/s390/s390-32/configure: Regenerated.
16380 * sysdeps/s390/s390-64/configure: Regenerated.
16381 * sysdeps/sh/configure: Regenerated.
16382 * sysdeps/sparc/configure: Regenerated.
16383 * sysdeps/unix/sysv/linux/configure: Regenerated.
16384 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16385 * sysdeps/x86_64/configure: Regenerated.
16386
273edc5e
RM
16387 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16388 defined. Don't check if MAP is NULL.
16389
c8450f70
JM
163902012-10-09 Joseph Myers <joseph@codesourcery.com>
16391
16392 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16393 (_G_stat64): Likewise.
16394 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16395 (_G_stat64): Likewise.
16396 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16397 instead of struct _G_stat64.
16398 * libio/fileops.c (mmap_remap_check): Likewise.
16399 (decide_maybe_mmap): Likewise.
16400 (_IO_new_file_seekoff): Likewise.
16401 (_IO_file_stat): Likewise.
16402 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16403 _G_off64_t.
16404 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16405 instead of struct _G_stat64.
16406 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16407
57e605ba
MK
164082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16409
16410 [BZ #14602]
16411 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16412 Replace with ...
16413 (CHECK_EOL): New macro.
16414 (two_way_short_needle): Check beginning of haystack for EOL. Use
16415 CHECK_EOL.
16416 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16417 Replace with CHECK_EOL.
16418 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16419 Replace with CHECK_EOL.
16420
ef1bb361
JM
164212012-10-08 Joseph Myers <joseph@codesourcery.com>
16422
16423 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16424 type-generic.
16425 * math/libm-test.inc: Update comment listing what functions and
16426 macros are tested.
16427 (finite_test): New function.
16428 (isinf_test): Likewise.
16429 (isnan_test): Likewise.
16430 (fpclassify_test): Test subnormal input.
16431 (isfinite_test): Likewise.
16432 (isnormal_test): Likewise.
16433 (main): Call the new functions.
16434
55f11534
JN
164352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16436
16437 [BZ #14660]
16438 * Makerules (%.dynsym): Force C locale when running
16439 $(OBJDUMP) --dynamic-syms.
16440
1ab29350
AS
164412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16442
16443 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16444 <stdint.h>.
16445
f1ecb7ef
DM
164462012-10-06 David S. Miller <davem@davemloft.net>
16447
16448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16449 upper 32-bits of the length value in %o2 since we use branch-on-register
16450 tests which consider the entire 64-bit register.
16451
5d41d91a
L
164522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16453
16454 * string/test-strstr.c (check2): Add a test for page boundary.
16455
3baddb72
DM
164562012-10-05 David S. Miller <davem@davemloft.net>
16457
16458 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16459 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16460 file.
16461 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16462 sysdep_routines.
16463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16464 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16465 and bzero when HWCAP_SPARC_CRYPTO is present.
16466
9cee5585
L
164672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16468
d7e0dab9
L
16469 [BZ #14602]
16470 * string/test-strstr.c (check2): New function.
16471 (test_main): Call check2.
16472
03759f47
L
16473 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16474 and bug-strchr1.
16475 * string/bug-strcasestr1.c (do_test): Moved to ...
16476 * string/test-strcasestr.c (check1): Here. New function.
16477 (do_one_test): Break out result checking code into ...
16478 (check_result): This. New function.
16479 (do_one_test): Call check_result.
16480 (test_main): Call check1.
16481 * string/bug-strchr1.c (do_test): Moved to ...
16482 * string/test-strchr.c (check1): Here. New function.
16483 (do_one_test): Break out result checking code into ...
16484 (check_result): This. New function.
16485 (do_one_test): Call check_result.
16486 (test_main): Call check1.
16487 * string/bug-strstr1.c (main): Moved to ...
046f153e 16488 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16489 (do_one_test): Break out result checking code into ...
16490 (check_result): This. New function.
16491 (do_one_test): Call check_result.
16492 (test_main): Call check1.
16493 * string/bug-strcasestr1.c: Removed.
16494 * string/bug-strchr1.c: Likewise.
16495 * string/bug-strstr1.c: Likewise.
16496
53cea63e
L
16497 * elf/Makefile (dl-routines): Add hwcaps.
16498 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16499 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16500 (_dl_important_hwcaps): Moved to ...
16501 * elf/dl-hwcaps.c: Here. New file.
16502 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16503
9cee5585 16504 [BZ #14557]
bb859b06
L
16505 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16506 if IS_IN_rtld isn't defined.
16507
9cee5585
L
16508 * elf/dl-support.c (_dl_sysinfo_map): New.
16509 Include "get-dynamic-info.h" and "setup-vdso.h".
16510 (_dl_non_dynamic_init): Call setup_vdso.
16511 * elf/dynamic-link.h: Don't include <assert.h>.
16512 (elf_get_dynamic_info): Moved to ...
16513 * elf/get-dynamic-info.h: Here. New file.
16514 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16515 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16516 * elf/setup-vdso.h: Here. New file.
16517 * elf/rtld.c: Include "setup-vdso.h".
16518 (dl_main): Call setup_vdso.
16519
23c31b76
JM
165202012-10-05 Joseph Myers <joseph@codesourcery.com>
16521
28234b07
JM
16522 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16523 creal in comment listing functions tested. List finite, isinf,
16524 isnan, isless, islessequal, isgreater, isgreaterequal,
16525 islessgreater, isunordered, lgamma_r and pow10 as functions and
16526 macros not tested. Mention which functions not tested are aliases
16527 for other functions. Fix typo. Note that signs of NaNs are not
16528 tested.
16529
23c31b76
JM
16530 * scripts/config.guess: Update from config.git.
16531 * scripts/config.sub: Likewise.
16532
9043e228
RM
165332012-10-04 Roland McGrath <roland@hack.frob.com>
16534
16535 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16536 * misc/madvise.c (madvise): Renamed to __madvise.
16537 Make madvise a weak alias.
16538 * include/sys/mman.h: Declare __madvise.
16539 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16540 * sysdeps/unix/syscalls.list
16541 (madvise): Make __madvise the strong name, and madvise a weak alias.
16542 * sysdeps/unix/sysv/linux/syscalls.list
16543 (madvise, mmap): Remove redundant entries.
16544 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16545 * malloc/malloc.c (mtrim): Likewise.
16546 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16547
f57f8055
RM
165482012-10-03 Roland McGrath <roland@hack.frob.com>
16549
16550 * sysdeps/mach/hurd/dl-cache.c: File removed.
16551 * config.h.in (USE_LDCONFIG): New #undef.
16552 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16553 * configure: Regenerated.
16554 * elf/Makefile (dl-routines): Add dl-cache only under
16555 [$(use-ldconfig) = yes].
16556 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16557 cache on [USE_LDCONFIG].
16558 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16559 [USE_LDCONFIG].
16560 * elf/rtld.c (dl_main): Likewise.
16561
5bb0c10a
PT
165622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16563
16564 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16565 _SC_LEVEL4_CACHE_LINESIZE.
16566
010188c6
RM
165672012-10-03 Roland McGrath <roland@hack.frob.com>
16568
16569 * sysdeps/unix/bsd/confstr.h: File removed.
16570
b6c5ec07
AO
165712012-10-02 Alexandre Oliva <aoliva@redhat.com>
16572
16573 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16574 sys/sdt-config.h.
16575
408223d4
RM
165762012-10-02 Roland McGrath <roland@hack.frob.com>
16577
16578 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16579 Make 'mapoff' field ElfW(Off) rather than off_t.
16580
bb9510dc
DL
165812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16582
fc997c6e
DL
16583 * nscd/Makefile: Remove nscd-cflags and all its users.
16584 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16585 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16586
bb9510dc
DL
16587 [BZ #10631]
16588 * malloc.c (malloc_printerr): Clarify error message.
16589
05699367
L
165902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16591
16592 [BZ #14648]
16593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16594 Set bit_FMA_Usable if FMA is supported.
16595 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16596 macro.
16597 (bit_FMA4_Usable): Updated.
16598 (index_FMA_Usable): New macro.
16599 (CPUID_FMA): Likewise
16600 (HAS_FMA): Defined with bit_FMA_Usable.
16601
51367701
RM
166022012-10-01 Roland McGrath <roland@hack.frob.com>
16603
16604 * bits/types.h (__swblk_t): Type removed.
16605 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16606 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16608 (__SWBLK_T_TYPE): Likewise.
16609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16610 (__SWBLK_T_TYPE): Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16612 (__SWBLK_T_TYPE): Likewise.
16613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16614 (__SWBLK_T_TYPE): Likewise.
16615
4d57bf63 166162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16617 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16618
16619 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16620 (xdr_mapname): Use YPMAXMAP as maxsize.
16621 (xdr_peername): Use YPMAXPEER as maxsize.
16622 (xdr_keydat): Use YPAXRECORD as maxsize.
16623 (xdr_valdat): Use YPMAXRECORD as maxsize.
16624
93c65d43
RM
166252012-10-01 Roland McGrath <roland@hack.frob.com>
16626
497a03d6
RM
16627 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16628
93c65d43
RM
16629 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16630 * csu/init-first.c: ... here.
16631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16632 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16633 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16634 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16635 * sysdeps/i386/init-first.c: File removed.
16636 * sysdeps/sh/init-first.c: File removed.
16637
bec749fd
JM
166382012-10-01 Joseph Myers <joseph@codesourcery.com>
16639
16640 [BZ #14645]
16641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16642 if x * y might underflow to zero and z is zero.
16643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16645 * math/libm-test.inc (min_subnorm_value): New variable.
16646 (fma_test): Add more tests.
16647 (fma_test_towardzero): Likewise.
16648 (fma_test_downward): Likewise
16649 (fma_test_upward): Likewise.
16650 (initialize): Set min_subnorm_value.
16651
8ec5b013
JM
166522012-09-29 Joseph Myers <joseph@codesourcery.com>
16653
16654 [BZ #14638]
16655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16656 0 + 0.
16657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16658 mode for addition resulting in exact zero.
16659 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16661 exact 0 + 0.
16662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16664 * math/libm-test.inc (fma_test): Add more tests.
16665 (fma_test_towardzero): New function.
16666 (fma_test_downward): Likewise.
16667 (fma_test_upward): Likewise.
16668 (main): Call the new functions.
16669
b1fa802e
DM
166702012-09-28 David S. Miller <davem@davemloft.net>
16671
16672 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16673
d3b9fd9e
RM
166742012-09-28 Roland McGrath <roland@hack.frob.com>
16675
ea4d37b3
RM
16676 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16677 instead of SIGALRM.
16678
ac51c949
RM
16679 * sysdeps/gnu/_G_config.h: Moved to ...
16680 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16681 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16682 * sysdeps/generic/_G_config.h: ... here.
16683
28c195f7
RM
16684 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16685
848917f9
RM
16686 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16687
6bacf05b
RM
16688 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16689 Conditionalize target on [libnss_test1.so-version].
16690
91363dbb
RM
16691 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16692
cc87f7d8
RM
16693 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16694 (elfobjdir): Move out of conditionals.
16695
b1c608fe
RM
16696 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16697 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16698 (__nss_lookup_function): Conditionalize label remove_from_tree on
16699 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16700
1d9a6d96
DM
167012012-09-28 David S. Miller <davem@davemloft.net>
16702
16703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16705 file.
16706 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16707 sysdep_routines.
16708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16710 when HWCAP_SPARC_CRYPTO is present.
16711
72581615
PT
167122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16713
16714 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16715
715a900c
JL
167162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16717
16718 [BZ #6530]
16719 * stdio-common/vfprintf.c (process_string_arg): Revert
16720 2000-07-22 change.
16721
167222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16723
16724 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16725 for testcase.
16726 * stdio-common/tst-sprintf.c: Include <locale.h>
16727 (main): Test sprintf's handling of incomplete multibyte
16728 characters.
16729
9bac1d86
L
167302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16731
16732 * elf/dl-runtime.c (VERSYMIDX): Removed.
16733 * elf/dl-version.c (VERSYMIDX): Likewise.
16734 * elf/do-rel.h (VERSYMIDX): Likewise.
16735 (VALIDX): Likewise.
16736 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16737 * elf/rtld.c (VALIDX): Likewise.
16738 (ADDRIDX): Likewise.
9bac1d86
L
16739 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16740 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16741 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16742 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16743 (VALIDX): Likewise.
16744 (ADDRIDX): Likewise.
9bac1d86 16745
b31606c0
PT
167462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16747
16748 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16749
11541177
JL
167502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16751
16752 [BZ #11438]
16753 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16754 to global scope.
16755 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16756 addresses are in the same scope as 192.0.2/24.
16757 * posix/gai.conf: Document new scope table defaults.
16758
adb26fae
SP
167592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16760
16761 [BZ #5298]
16762 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16763 for ftell. Compute offsets from write pointers instead.
16764 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16765
4573c6b0
SP
167662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16767
16768 [BZ #14543]
16769 * libio/Makefile (tests): New test case tst-fseek.
16770 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16771 combination works in wide mode.
16772 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16773 state when the external buffer state changes.
16774
aa9bbfe6
DM
167752012-09-27 David S. Miller <davem@davemloft.net>
16776
16777 [BZ #14376]
16778 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16779 pass reloc->r_addend in as the 'high' argument to
16780 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16781
784421e7
DM
16782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16783
c39bc8b8
PT
167842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16785
16786 * rt/tst-aio2.c: Include <pthread.h>.
16787 * rt/tst-aio3.c: Likewise.
16788
1ccc2399
SE
167892012-09-27 Steve Ellcey <sellcey@mips.com>
16790
16791 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16792
31ed4153
L
167932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16794
25f5f885
L
16795 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16796 contents on [SHARED].
31ed4153 16797
b7bfe116
MP
167982012-09-26 Marek Polacek <polacek@redhat.com>
16799
16800 [BZ #14530]
16801 [BZ #13741]
16802 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16803 for C++ and GCC <4.3 as well as for non GCC compilers.
16804
43c4edba
MT
168052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16806
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16808
6a1bf82f
RM
168092012-09-25 Roland McGrath <roland@hack.frob.com>
16810
16811 * Makefile.in (all, install): Declare with .PHONY.
16812 Reported by Michael Hope <michael.hope@linaro.org>.
16813
8ad11b9a
TMQMF
168142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16815
16816 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16817 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16818 system header.
16819 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16820 Likewise.
16821 (sydep_routines): Add the new and the internal functions.
16822 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16823 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16825 (GLIBC_2.17): Add the new function.
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16827 (GLIBC_2.17): Likewise.
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16829 (GLIBC_2.17): Likewise.
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16831 (GLIBC_2.17): Likewise.
16832 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16833
7e2fca8d
AM
168342012-09-25 Alan Modra <amodra@gmail.com>
16835
16836 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16837 Add release barrier before setting once_control to say
16838 initialisation is done. Add hints on lwarx. Use macro in
16839 place of isync.
16840 (clear_once_control): Add release barrier.
16841
b87c4b24
JM
168422012-09-25 Joseph Myers <joseph@codesourcery.com>
16843
d032e0d2
JM
16844 [BZ #13629]
16845 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16846 specially.
16847 * math/s_clog10.c (__clog10): Likewise.
16848 * math/s_clog10f.c (__clog10f): Likewise.
16849 * math/s_clog10l.c (__clog10l): Likewise.
16850 * math/s_clogf.c (__clogf): Likewise.
16851 * math/s_clogl.c (__clogl): Likewise.
16852 * math/Makefile (libm-calls): Add x2y2m1.
16853 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16854 (__x2y2m1): Likewise.
16855 (__x2y2m1l): Likewise.
16856 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16857 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16862 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16863 * sysdeps/i386/fpu/libm-test-ulps: Update.
16864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16865
b87c4b24
JM
16866 [BZ #14621]
16867 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16868 int as type of variable DEPTH.
16869 (glob): Use size_t instead of int as type of variables NEWCOUNT
16870 and OLD_PATHC.
16871
6d3bf199
LD
168722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16873
22bf5c17
LD
16874 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16875 Add s_sincosf-sse2.
16876 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16877 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16878 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16879 macros for using routine as __sincosf_ia32.
16880 Use macro for function declaration and weak_alias.
16881 * sysdeps/i386/fpu/libm-test-ulps: Update.
16882
16883 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16885
16886 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16887 subnormal argument.
16888 * math/s_cexpf.c (__cexpf): Likewise.
16889 * math/s_csinf.c (__csinf): Likewise.
16890 * math/s_csinhf.c (__csinhf): Likewise.
16891 * math/s_ctanf.c (__ctanf): Likewise.
16892 * math/s_ctanhf.c (__ctanhf): Likewise.
16893 * math/s_ccosh.c (__ccoshf): Likewise.
16894 * math/s_cexp.c (__cexpl): Likewise.
16895 * math/s_csin.c (__csin): Likewise.
16896 * math/s_csinh.c (__csinh): Likewise.
16897 * math/s_ctan.c (__ctan): Likewise.
16898 * math/s_ctanh.c (ctanh): Likewise.
16899 * math/s_ccoshl.c (__ccoshl): Likewise.
16900 * math/s_cexpl.c (__cexpl): Likewise.
16901 * math/s_csinl.c (__csinl): Likewise.
16902 * math/s_csinhl.c (__csinhl): Likewise.
16903 * math/s_ctanl.c (__ctanl): Likewise.
16904 * math/s_ctanhl.c (__ctanhl): Likewise.
16905
203e5603
JM
169062012-09-25 Joseph Myers <joseph@codesourcery.com>
16907
16908 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16909 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16910 (_IO_off_t): Define to __off_t, not _G_off_t.
16911 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16912 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16913 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16914 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16915 type of __dummy and __dummy2 fields.
16916 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16917 (_G_ssize_t): Likewise.
16918 (_G_off_t): Likewise.
16919 (_G_pid_t): Likewise.
16920 (_G_uid_t): Likewise.
16921 (_G_wchar_t): Likewise.
16922 (_G_wint_t): Likewise.
16923 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16924 (_G_ssize_t): Likewise.
16925 (_G_off_t): Likewise.
16926 (_G_pid_t): Likewise.
16927 (_G_uid_t): Likewise.
16928 (_G_wchar_t): Likewise.
16929 (_G_wint_t): Likewise.
16930 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16931 (_G_ssize_t): Likewise.
16932 (_G_off_t): Likewise.
16933 (_G_pid_t): Likewise.
16934 (_G_uid_t): Likewise.
16935 (_G_wchar_t): Likewise.
16936 (_G_wint_t): Likewise.
16937
9fab36eb
SP
169382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
16940 * malloc/arena.c: Include malloc-sysdep.h.
16941 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16942 is sufficient to shrink the heap or an unmap is needed.
16943 * sysdeps/generic/malloc-sysdep.h: New file. Define
16944 new function check_may_shrink_heap.
16945 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16946 new function check_may_shrink_heap.
16947
2b4f00d1
SP
169482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16949
16950 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16951 comments.
16952
9a9028b1
DL
169532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16954
57c69bef
DL
16955 * catgets/test-gencat.sh: Add "set -e".
16956 * elf/tst-pathopt.sh: Likewise.
16957 * grp/tst_fgetgrent.sh: Likewise.
16958 * iconvdata/run-iconv-test.sh: Likewise.
16959 * intl/tst-gettext.sh: Likewise.
16960 * intl/tst-gettext2.sh: Likewise.
16961 * intl/tst-gettext4.sh: Likewise.
16962 * intl/tst-gettext6.sh: Likewise.
16963 * intl/tst-translit.sh: Likewise.
16964 * io/ftwtest-sh: Likewise.
16965 * libio/test-freopen.sh: Likewise.
16966 * malloc/tst-mtrace.sh: Likewise.
16967 * posix/globtest.sh: Likewise.
16968 * posix/tst-getconf.sh: Likewise.
16969 * posix/wordexp-tst.sh: Likewise.
16970 * stdio-common/tst-printf.sh: Likewise.
16971 * stdio-common/tst-unbputc.sh: Likewise.
16972 * stdlib/tst-fmtmsg.sh: Likewise.
16973 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16974 * catgets/Makefile: Do not specify -e option when running
16975 testsuite shell scripts.
16976 * elf/Makefile: Likewise.
16977 * grp/Makefile: Likewise.
16978 * iconvdata/Makefile: Likewise.
16979 * intl/Makefile: Likewise.
16980 * io/Makefile: Likewise.
16981 * libio/Makefile: Likewise.
16982 * malloc/Makefile: Likewise.
16983 * posix/Makefile: Likewise.
16984 * stdio-common/Makefile: Likewise.
16985 * stdlib/Makefile: Likewise.
16986 * sysdeps/x86_64/Makefile: Likewise.
16987
9a9028b1
DL
16988 * io/ftwtest-sh: Add copyright header.
16989 * posix/globtest.sh: Likewise.
16990 * posix/tst-getconf.sh: Likewise.
16991 * posix/wordexp-tst.sh: Likewise.
16992 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16993
ced6f16e
L
169942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16995
94b32c39
L
16996 [BZ #13679]
16997 * Makeconfig (+link): Defined as $(+link-static) if
16998 $(build-shared) isn't yes.
16999 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17000 isn't yes.
17001 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17002
189e935b
L
17003 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17004
ced6f16e
L
17005 [BZ #14562]
17006 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17007 new chunk size with MALLOC_ALIGN_MASK.
17008
a9f8e53a
JM
170092012-09-24 Joseph Myers <joseph@codesourcery.com>
17010
17011 [BZ #5044]
17012 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17013 <rounding-mode.h>.
17014 (__printf_fphex): Determine rounding using get_rounding_mode and
17015 round_away.
17016 * stdio-common/tst-printf-round.c (struct hex_test): New
17017 structure.
17018 (hex_tests): New variable.
17019 (test_hex_in_one_mode): New function.
17020 (do_test): Also run tests for hex float output.
17021
43153109
JM
170222012-09-21 Joseph Myers <joseph@codesourcery.com>
17023
17024 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17025 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17026 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17027 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17028 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17029 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17030 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17032
8a26625d
JM
170332012-09-20 Joseph Myers <joseph@codesourcery.com>
17034
17035 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17036 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17037 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17038 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17039
f3fd569c
DL
170402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17041
17042 [BZ #14579]
17043 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17044 mode only.
17045 * elf/tst-rtld-load-self.sh: New test.
17046 * elf/Makefile: Run it.
17047
63bbedd4
JM
170482012-09-18 Joseph Myers <joseph@codesourcery.com>
17049
17050 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17051 (tst-writev-ENV): Remove.
17052 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17053
626f8b6a
CM
170542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17055
17056 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17057
b7aaa4d6
JM
170582012-09-17 Joseph Myers <joseph@codesourcery.com>
17059
17060 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17061 unconditional.
17062 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17063 Likewise.
17064 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17065 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17066 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17067 Likewise.
17068
65513990
L
170692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17070
17071 [BZ #14587]
17072 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17073 * config.make.in (have-cpp-asm-debuginfo): Removed.
17074 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17075 * configure: Regenerated.
17076
784761be
JM
170772012-09-14 Joseph Myers <joseph@codesourcery.com>
17078
17079 [BZ #5044]
17080 * stdio-common/printf_fp.c: Include <stdbool.h> and
17081 <rounding-mode.h>.
17082 (___printf_fp): Determine rounding using get_rounding_mode and
17083 round_away.
17084 * stdio-common/tst-printf-round.c: New file.
17085 * stdio-common/Makefile (tests): Add tst-printf-round.
17086 (link-libm): New variable.
17087 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17088
9503345f
L
170892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17090
17091 [BZ #14576]
17092 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17093 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17094 Likewise.
17095 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17096 Likewise.
17097
ad35fc00
JM
170982012-09-13 Joseph Myers <joseph@codesourcery.com>
17099
17100 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17101 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17102 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17103 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17104
6c9b0f68
JM
171052012-09-12 Joseph Myers <joseph@codesourcery.com>
17106
17107 [BZ #14518]
17108 * include/rounding-mode.h: New file.
17109 * sysdeps/generic/get-rounding-mode.h: Likewise.
17110 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17111 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17112 (MAX_VALUE): New macro.
17113 (MIN_VALUE): Likewise.
17114 (overflow_value): New function.
17115 (underflow_value): Likewise.
17116 (round_and_return): Use overflow_value and underflow_value to
17117 determine return values in overflow and underflow cases. Use
17118 round_away to determine rounding depending on rounding mode.
17119 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17120 determine return values in overflow and underflow cases.
17121 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17122 (struct test_results): New structure.
17123 (struct test): Use struct test_results to store expected results
17124 for all rounding modes.
17125 (TEST): Include expected results for all rounding modes.
17126 (test_in_one_mode): New function.
17127 (do_test): Use test_in_one_mode to compute and check results.
17128 Check results for all rounding modes.
17129 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17130 $(link-libm).
17131
19fcedd5
AM
171322012-12-09 Allan McRae <allan@archlinux.org>
17133
1e9d84cd 17134 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17135
8bbfd2f1
JM
171362012-09-11 Joseph Myers <joseph@codesourcery.com>
17137
17138 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17139 (_G_int32_t): Likewise.
17140 (_G_uint16_t): Likewise.
17141 (_G_uint32_t): Likewise.
17142 (_G_HAVE_BOOL): Likewise.
17143 (_G_HAVE_ATEXIT): Likewise.
17144 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17145 (_G_HAVE_IO_FILE_OPEN): Likewise.
17146 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17147 (_G_int32_t): Likewise.
17148 (_G_uint16_t): Likewise.
17149 (_G_uint32_t): Likewise.
17150 (_G_HAVE_BOOL): Likewise.
17151 (_G_HAVE_ATEXIT): Likewise.
17152 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17153 (_G_HAVE_IO_FILE_OPEN): Likewise.
17154 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17155 (_G_int32_t): Likewise.
17156 (_G_uint16_t): Likewise.
17157 (_G_uint32_t): Likewise.
17158 (_G_HAVE_BOOL): Likewise.
17159 (_G_HAVE_ATEXIT): Likewise.
17160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17161 (_G_HAVE_IO_FILE_OPEN): Likewise.
17162
b1dc5912
L
171632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * csu/libc-tls.c: Update copyright years.
17166
0e886ef9
JM
171672012-09-10 Joseph Myers <joseph@codesourcery.com>
17168
28361c5e
JM
17169 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17170 [!_G_USING_THUNKS]: Remove conditional code.
17171 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17172 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17173
0e886ef9
JM
17174 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17175 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17176 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17177 (_G_VTABLE_LABEL_PREFIX): Likewise.
17178 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17179 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17180 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17181 (_G_VTABLE_LABEL_PREFIX): Likewise.
17182 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17183 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17184 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17185 (_G_VTABLE_LABEL_PREFIX): Likewise.
17186 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17187
bcba7aa2
L
171882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17189
17190 * libio/Makefile: Include ../Makeconfig before tests.
17191 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17192 only if $(build-shared) is yes.
17193
06585ee8
L
17194 * iconv/gconv_db.c: Update copyright years.
17195
80ccd52c
LD
171962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17197
17198 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17199 unwind info if defined PIC. Fix special cases description.
17200 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17201
17202 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17203 DP_HI_MASK entry.
17204 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17205
691bc9c1
L
172062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17207
3d9b46b3
L
17208 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17209
de2139a9
L
17210 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17211 is NULL.
17212
5ca78dd0
L
17213 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17214 (LDLIBS-tst-chk4): This.
17215 (LDFLAGS-tst-chk5): Renamed to ...
17216 (LDLIBS-tst-chk5): This.
17217 (LDFLAGS-tst-chk6): Renamed to ...
17218 (LDLIBS-tst-chk6): This.
17219 (LDFLAGS-tst-lfschk4): Renamed to ...
17220 (LDLIBS-tst-lfschk4): This.
17221 (LDFLAGS-tst-lfschk5): Renamed to ...
17222 (LDLIBS-tst-lfschk5): This.
17223 (LDFLAGS-tst-lfschk6): Renamed to ...
17224 (LDLIBS-tst-lfschk6): This.
17225
691bc9c1
L
17226 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17227 on $(common-objpfx)soversions.mk.
17228
65cafb1c
JM
172292012-09-07 Joseph Myers <joseph@codesourcery.com>
17230
17231 [BZ #10014]
17232 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17233 example host name.
17234
c78ab094
SP
172352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17236
17237 * malloc/arena.c (arena_get_retry): New function that gets
17238 another arena for the caller to try its request on.
17239 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17240 current arena cannot fulfill the request.
17241 (__libc_memalign): Likewise.
17242 (__libc_memalign): Likewise.
17243 (__libc_pvalloc): Likewise.
17244 (__libc_calloc): Likewise.
17245
01f49f59
JT
172462012-09-05 John Tobey <john.tobey@gmail.com>
17247
17248 [BZ #13542]
17249 * manual/arith.texi (Operations on Complex): Fix description
17250 of carg branch cut.
17251
4c23fed5
JM
172522012-09-06 Joseph Myers <joseph@codesourcery.com>
17253
1d3c8572
JM
17254 [BZ #10014]
17255 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17256 host name.
17257
4c23fed5
JM
17258 [BZ #10038]
17259 * manual/memory.texi (Memory): Make order of menu items match
17260 order of sections.
17261
04570aaa
L
172622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17263
17264 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17265 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17266 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17267
b80af2f4
L
172682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17269
17270 * csu/libc-tls.c (static_dtv): Renamed to ...
17271 (_dl_static_dtv): This. Make it global.
17272 (_dl_initial_dtv): Removed.
17273 (__libc_setup_tls): Updated.
17274 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17275 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17276 DL_INITIAL_DTV.
17277
2abe9f15
PM
172782012-09-06 Petr Machata <pmachata@redhat.com>
17279
17280 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17281 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17282 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17283 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17284
0948c3af
L
172852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17286
17287 [BZ #14545]
17288 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17289 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17290 freeing dtv[-1].
17291
a5055ad1
L
172922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17293
17294 [BZ #14544]
17295 * Makeconfig (link-static-before-libc): Replace $(+prector)
17296 with $(+prectorT).
17297 (link-static-after-libc): Replace $(+postctor) with
17298 $(+postctorT).
17299 (link-bounded): Replace $(+prector)/$(+postctor) with
17300 $(+prectorT)/$(+postctorT).
17301 (+prectorT): New macro.
17302 (+postctorT): Likewise.
17303
ed8c2ecd
JM
173042012-09-06 Joseph Myers <joseph@codesourcery.com>
17305
17306 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17307 (round_str): Handle values above the maximum for IBM long double
17308 as inexact.
17309 * stdlib/tst-strtod-round.c (tests): Regenerated.
17310
14c996c8
AK
173112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17312
17313 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17314 assembler flag.
17315 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17316 zarch_nohighgprs around the zarch optimized routines.
17317 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17318 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17319 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17320 for zarch.
17321
430d6ce6
DM
173222012-09-05 David S. Miller <davem@davemloft.net>
17323
17324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17325
ff04dda4
DM
17326 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17327 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17328 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17329 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17330 entries.
17331
24d4e01b
AO
173322012-09-05 Alexandre Oliva <aoliva@redhat.com>
17333
17334 * malloc/arena.c: Fold copyright years.
17335 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17336
61d58174
AO
173372012-09-05 Alexandre Oliva <aoliva@redhat.com>
17338
17339 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17340
20196a5e
AO
173412012-09-05 Alexandre Oliva <aoliva@redhat.com>
17342
17343 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17344
5c447383
AO
173452012-09-05 Alexandre Oliva <aoliva@redhat.com>
17346
17347 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17348 change internal state upon failure.
17349
fad64255
AO
173502012-09-05 Alexandre Oliva <aoliva@redhat.com>
17351
17352 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17353 * malloc/memusage.c (mmap): Likewise.
17354 (mmap64, mremap): Likewise. Adjust name in comment.
17355
1ffb8c90
SP
173562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17357
17358 * libio/fileops.c: Fix typos in comments.
17359 * libio/oldfileops.c: Likewise.
17360 * libio/wfileops.c: Likewise.
17361
6ef9cc37
SP
173622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17363
17364 [BZ #1349]
17365 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17366 (tst-malloc-usable-ENV): Set environment for test case.
17367 * malloc/hooks.c (malloc_check_get_size): New function to get
17368 requested size.
17369 * malloc/malloc.c (musable): Use malloc_check_get_size.
17370 * malloc/tst-malloc-usable.c: New test case.
17371
4d038ae3
AS
173722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17373
17374 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17375
c4e85184
AM
173762012-09-05 Allan McRae <allan@archlinux.org>
17377
b9dafc56 17378 [BZ #13966]
c4e85184
AM
17379 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17380 determine header location.
17381 * configure: Regenerated.
17382
e1343020
AS
173832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17384
17385 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17386 float format.
17387 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17388 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17389 format.
e1343020
AS
17390 (test): Regenerate.
17391
0a9f1987
DM
173922012-09-04 David S. Miller <davem@davemloft.net>
17393
17394 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17395 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17397
29237804
FW
173982012-09-04 Florian Weimer <fweimer@redhat.com>
17399
17400 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17401 failures.
17402
edb3cb88
FW
17403 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17404
60160d83
JM
174052012-09-04 Joseph Myers <joseph@codesourcery.com>
17406
17407 [BZ #9914]
17408 * libio/iogetdelim.c: Include <limits.h>.
17409 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17410 + len + 1 would overflow.
17411
bcd6c8dc
AJ
174122012-09-03 Andreas Jaeger <aj@suse.de>
17413
17414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17415 * sysdeps/i386/fpu/libm-test-ulps: Update.
17416
4ffffbd2
LD
174172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17418
17419 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17420 Add s_sinf-sse2, s_conf-sse2.
17421
17422 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17423 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17424 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17425 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17426
17427 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17428 for using routine as __sinf_ia32.
17429 Use macro for function declaration and weak_alias.
17430 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17431 for using routine as __cosf_ia32.
17432 Use macro for function declaration and weak_alias.
17433
17434 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17435 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17436
17437 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17438 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17440
17441 * math/libm-test.inc (cos_test): Add more test cases.
17442 (sin_test): Likewise.
17443 (sincos_test): Likewise.
17444
511fa286
AK
174452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17446
17447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17448 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17449 hidden.
17450 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17451
5f30cfec
L
174522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17453
17454 [BZ #14538]
17455 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17456 first element of the GOT.
17457 (elf_machine_load_address): Return the difference between
17458 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17459
0786794f
AM
174602012-09-01 Allan McRae <allan@archlinux.org>
17461
5f30cfec
L
17462 [BZ #13412]
17463 * configure.in (AWK): Require gawk version 3.0 or later.
17464 * configure: Regenerated.
0786794f 17465
26889eac
JM
174662012-09-01 Joseph Myers <joseph@codesourcery.com>
17467
17468 * sysdeps/unix/sysv/linux/kernel-features.h
17469 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17470 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17471 [__NR_clock_getres]: Make code unconditional.
17472 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17473 (clock_getcpuclockid): Remove code left unreachable by removal of
17474 conditionals.
17475 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17476 code unconditional.
17477 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17478 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17479 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17480 Make code unconditional.
17481 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17482 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17483 * sysdeps/unix/sysv/linux/clock_settime.c
17484 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17485 conditional code.
17486 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17487 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17488
d22e28b0
L
174892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17490
17491 [BZ #14476]
17492 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17493 scripts/test-installation.pl.
17494
17495 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17496 and $ld_so_version if it is set.
17497
050af9c4
SP
174982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17499
17500 [BZ #14516]
17501 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17502 failure if reading from procfs failed.
17503 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17504
ad845c0b
JM
175052012-08-27 Joseph Myers <joseph@codesourcery.com>
17506
17507 * sysdeps/unix/sysv/linux/kernel-features.h
17508 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17509 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17510 Remove conditional code.
17511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17512 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17513 Remove conditional code.
17514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17515 * sysdeps/unix/sysv/linux/i386/fxstat.c
17516 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17518 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17519 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17521 * sysdeps/unix/sysv/linux/i386/lxstat.c
17522 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17523 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17524 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17525 Remove conditional code.
17526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17527 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17528 Remove conditional code.
17529 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17530 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17531 <kernel-features.h>.
17532 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17533 Remove.
17534 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17535 Remove conditional code.
17536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17537 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17538 Remove conditional.
17539
5dbf56af
MF
175402012-08-27 Mike Frysinger <vapier@gentoo.org>
17541
17542 [BZ #5400]
17543 * NEWS: Add fixed bug number.
17544
d6e70f43
JM
175452012-08-27 Joseph Myers <joseph@codesourcery.com>
17546
7efb4737
JM
17547 [BZ #14519]
17548 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17549 underflowing exponent in case of negative sign.
17550 * stdlib/tst-strtod-round-data: Add more tests.
17551 * stdlib/tst-strtod-round.c (tests): Regenerated.
17552
af92131a
JM
17553 [BZ #3479]
17554 * stdlib/strtod_l.c (NDIG): Remove.
17555 (HEXNDIG): Likewise.
17556 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17557 smallest representable value.
17558 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17559 lie within an exact representation of 1/2 ulp of the result.
17560 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17561 unconditionally.
17562 (TENS_P9_IDX): Define unconditionally.
17563 (TENS_P9_SIZE): Likewise.
17564 (TENS_P10_IDX): Likewise.
17565 (TENS_P10_SIZE): Likewise.
17566 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17567 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17568 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17569 entries for 10^2^13 and 10^2^14.
17570 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17571 (TENS_P13_IDX): Define.
17572 (TENS_P13_SIZE): Likewise.
17573 (TENS_P14_IDX): Likewise.
17574 (TENS_P14_SIZE): Likewise.
17575 (_fpioconst_pow10): Change array size to
17576 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17577 unconditional.
17578 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17579 1024]: Add entries for 10^2^13 and 10^2^14.
17580 [LAST_POW10 > _LAST_POW10]: Remove #error.
17581 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17582 (_fpioconst_pow10): Change array size to
17583 FPIOCONST_POW10_ARRAY_SIZE.
17584 * stdlib/gen-fpioconst.c: New file.
17585 * stdlib/gen-tst-strtod-round.c: Likewise.
17586 * stdlib/tst-strtod-round-data: Likewise.
17587 * stdlib/tst-strtod-round.c: Likewise.
17588 * stdlib/Makefile (tests): Add tst-strtod-round.
17589
d6e70f43
JM
17590 [BZ #14459]
17591 * stdlib/strtod_l.c: Include <stdint.h>.
17592 (NDEBUG): Do not define.
17593 (round_and_return): Change EXPONENT parameter to type intmax_t.
17594 Rearrange calculations to avoid internal overflow possibilities.
17595 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17596 Rearrange calculations to avoid internal overflow possibilities.
17597 Assert that number fits inside MPNSIZE limbs.
17598 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17599 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17600 calculations and add assertions to avoid internal overflow
17601 possibilities. Add casts to avoid signed/unsigned operations.
17602 * stdlib/tst-strtod-overflow.c: New file.
17603 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17604
1f529f7d
MP
176052012-08-25 Marek Polacek <polacek@redhat.com>
17606
17607 * time/time.h: Fix some typos in comments.
17608
59a629f1
RM
176092012-08-23 Roland McGrath <roland@hack.frob.com>
17610
17611 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17612 * posix/tst-rfc3484-2.c: Likewise.
17613 * posix/tst-rfc3484-3.c: Likewise.
17614
d3bafbc9
SM
176152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17616
17617 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17618 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17619
4efcc022
JM
176202012-08-23 Joseph Myers <joseph@codesourcery.com>
17621
17622 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17623 #include of fxstatat64.c.
17624
3cc3ef96
RM
176252012-08-22 Roland McGrath <roland@hack.frob.com>
17626
f04e2132
RM
17627 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17628 * shadow/getspent_r.c: Likewise.
17629 * shadow/getspnam.c: Likewise.
17630 * shadow/getspnam_r.c: Likewise.
17631 * gshadow/getsgent.c: Likewise.
17632 * gshadow/getsgent_r.c: Likewise.
17633 * gshadow/getsgnam.c: Likewise.
17634 * gshadow/getsgnam_r.c: Likewise.
17635 * inet/getnetbyad.c: Likewise.
17636 * inet/getnetbyad_r.c: Likewise.
17637 * inet/getnetbynm.c: Likewise.
17638 * inet/getnetbynm_r.c: Likewise.
17639 * inet/getnetent.c: Likewise.
17640 * inet/getnetent_r.c: Likewise.
17641 * inet/getproto.c: Likewise.
17642 * inet/getproto_r.c: Likewise.
17643 * inet/getprtent.c: Likewise.
17644 * inet/getprtent_r.c: Likewise.
17645 * inet/getprtname.c: Likewise.
17646 * inet/getprtname_r.c: Likewise.
17647 * inet/getrpcbyname.c: Likewise.
17648 * inet/getrpcbyname_r.c: Likewise.
17649 * inet/getrpcbynumber.c: Likewise.
17650 * inet/getrpcbynumber_r.c: Likewise.
17651 * inet/getrpcent.c: Likewise.
17652 * inet/getrpcent_r.c: Likewise.
17653 * inet/getaliasent.c: Likewise.
17654 * inet/getaliasent_r.c: Likewise.
17655 * inet/getaliasname.c: Likewise.
17656 * inet/getaliasname_r.c: Likewise.
17657 * nscd/getgrgid_r.c: Likewise.
17658 * nscd/getgrnam_r.c: Likewise.
17659 * nscd/gethstbyad_r.c: Likewise.
17660 * nscd/gethstbynm3_r.c: Likewise.
17661 * nscd/getpwnam_r.c: Likewise.
17662 * nscd/getpwuid_r.c: Likewise.
17663 * nscd/getsrvbynm_r.c: Likewise.
17664 * nscd/getsrvbypt_r.c: Likewise.
17665 * nscd/gai.c: Likewise.
17666
c53d909c
RM
17667 * configure.in (build_nscd): New substituted variable, set
17668 by --disable-build-nscd and defaults to $use_nscd.
17669 * configure: Regenerated.
17670 * config.make.in (build-nscd): New substituted variable.
17671 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17672 Change conditional to require [$(build-nscd) = yes] as well.
17673 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17674
3cc3ef96
RM
17675 [BZ# 13696]
17676 * configure.in (use_nscd): New substituted variable, set by
17677 --disable-nscd. If enabled, define USE_NSCD.
17678 * configure: Regenerated.
17679 * config.h.in: Add USE_NSCD.
17680 * config.make.in (use-nscd): New substituted variable.
17681 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17682 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17683 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17684 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17685 (CFLAGS-getgrnam_r.c): Likewise.
17686 (CFLAGS-initgroups.c): Likewise.
17687 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17688 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17689 Variables removed.
17690 * inet/getnetgrent_r.c
17691 (nscd_setnetgrent): New function, broken out of ...
17692 (setnetgrent): ... here. Call it.
17693 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17694 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17695 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17696 * nscd/Makefile (routines, aux): Move definitions after include of
17697 Makeconfig. Conditionalize on [$(use-nscd) != no].
17698 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17699 Conditionalize on [USE_NSCD].
17700 (is_nscd, nscd_init_cb): Likewise.
17701 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17702 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17703 * nss/nss_db/db-init.c: Likewise.
17704 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17705 [USE_NSCD].
17706 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17707 (make_request): Use it.
17708 (cache_valid_p): New function.
17709 (__check_pf): Use it.
17710 * NEWS: Add item for --disable-nscd.
17711
07e51550
DL
177122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17713
17714 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17715 to support sed >= 4.2.1-20-ga9bf076.
17716 * configure: Regenerated.
17717
35a5b08b
RM
177182012-08-22 Roland McGrath <roland@hack.frob.com>
17719
17720 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17721 Conditionalize whole body on [IREL].
17722
8479f23a
JL
177232012-08-22 Jeff Law <law@redhat.com>
17724
17725 [BZ #14505]
17726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17727 if the family is PF_UNSPEC.
17728
48da0b21
MF
177292012-08-22 Mike Frysinger <vapier@gentoo.org>
17730
17731 * Makerules (lib-version): Rename from V.
17732 (install-lib-nosubdir): Change V to lib-version.
17733
15d0da8c
WS
177342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17735
17736 [BZ #14252]
17737 * powerpc32/power6/wcschr.c: New file.
17738 * powerpc32/power6/wcscpy.c: New file.
17739 * powerpc32/power6/wcsrchr.c: New file.
17740 * powerpc64/power6/wcschr.c: New file.
17741 * powerpc64/power6/wcscpy.c: New file.
17742 * powerpc64/power6/wcsrchr.c: New file.
17743
bcca0895
MK
177442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17745
17746 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17747 (two_way_short_needle): Use it.
5a4aaa33
RM
17748 * string/strstr.c (AVAILABLE1_USES_J): Define.
17749 * string/strcasestr.c: Likewise.
99677e57
MK
17750
17751 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17752 array references.
17753 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17754
400726de
MK
17755 [BZ #11607]
17756 * NEWS: Add an entry.
17757 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17758 define their defaults.
17759 (two_way_short_needle): Detect end-of-string on-the-fly.
17760 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17761 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17762 * string/bug-strcasestr1.c: New test.
17763 * string/Makefile: Run it.
17764
20a71f2c
MK
177652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17766
17767 [BZ #11607]
17768 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17769 the first character.
17770
21ad0558
RM
177712012-08-21 Roland McGrath <roland@hack.frob.com>
17772
17773 * csu/elf-init.c (__libc_csu_irel): Function removed.
17774 * csu/libc-start.c (apply_irel): New function.
17775 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17776
0e1d9911
JM
177772012-08-21 Joseph Myers <joseph@codesourcery.com>
17778
17779 * sysdeps/unix/sysv/linux/kernel-features.h
17780 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17781 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17782 <kernel-features.h>.
17783 [__NR_fadvise64_64]: Make code unconditional.
17784 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17785 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17786 !__NR_fadvise64_64)]: Likewise.
17787 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17788 !__NR_fadvise64_64))]: Likewise.
17789 [__NR_fadvise64]: Make code unconditional.
17790 [!__NR_fadvise64]: Remove conditional code.
17791 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17792 <kernel-features.h>.
17793 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17794 unconditional.
17795 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17796 conditional code.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17798 not include <kernel-features.h>.
17799 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17800 unconditional.
17801 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17802 conditional code.
17803 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17804 include <kernel-features.h>.
17805 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17806 unconditional.
17807 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17808 conditional code.
17809
14a50c9d
WS
178102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17811
17812 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17813 slight instruction rearrangements per scrollpipe analysis.
17814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17815
c0f4faf0
RM
178162012-08-20 Roland McGrath <roland@hack.frob.com>
17817
696da859
RM
17818 * manual/syslog.texi (syslog; vsyslog, closelog):
17819 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17820 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17821
c0f4faf0
RM
17822 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17823 DSOCAPS to match condition on defining it.
17824
348363b2
JM
178252012-08-20 Joseph Myers <joseph@codesourcery.com>
17826
a35cbf28
JM
17827 * sysdeps/unix/sysv/linux/kernel-features.h
17828 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17830 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17831 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17833 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17834 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17836 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17837 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17838
445f7ecd
JM
17839 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17840 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17841
348363b2
JM
17842 * sysdeps/unix/sysv/linux/kernel-features.h
17843 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17844 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17845 unconditional.
17846 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17847 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17848 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17849 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17850 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17851 Make code unconditional.
17852 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17853 (__mmap64) [!__NR_mmap2]: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17855 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17856 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17858 [__NR_mmap2]: Make code unconditional.
17859 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17860 (__mmap64) [!__NR_mmap2]: Likewise.
17861
bc5bc0e5
AK
178622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17863
17864 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17865
88d506de
AJ
178662012-08-18 Andreas Jaeger <aj@suse.de>
17867
17868 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17869
493387d2
MF
178702012-08-18 Mike Frysinger <vapier@gentoo.org>
17871
17872 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17873 * include/unistd.h (__have_sock_cloexec): Likewise.
17874 (__have_pipe2): Likewise.
17875 (__have_dup3): Likewise.
17876
a277af22
MF
178772012-08-18 Mike Frysinger <vapier@gentoo.org>
17878
17879 [BZ #9685]
17880 * include/unistd.h (__have_pipe2): Change define into an extern int.
17881 (__have_dup3): Likewise.
17882 * socket/have_sock_cloexec.c: Include fcntl.h.
17883 (__have_pipe2): New variable.
17884 (__have_dup3): Likewise.
17885
fdab8fd3
MF
178862012-08-17 Mike Frysinger <vapier@gentoo.org>
17887
17888 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17889
31035e80
MP
178902012-08-17 Marek Polacek <polacek@redhat.com>
17891
17892 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17893 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17894
3bd9e993
RM
178952012-08-17 Roland McGrath <roland@hack.frob.com>
17896
c91c505f
RM
17897 * configure.in: Add AC_SUBST for sysheaders.
17898 * configure: Regenerated.
17899 * config.make.in (sysheaders): New substituted variable.
17900
7c6f9d53
RM
17901 * sysdeps/unix/mkfifo.c: Moved ...
17902 * sysdeps/posix/mkfifo.c: ... here.
17903 * sysdeps/unix/mkfifoat.c: Moved ...
17904 * sysdeps/posix/mkfifoat.c: ... here.
17905
17906 * sysdeps/unix/utime.c: Moved ...
17907 * sysdeps/posix/utime.c: ... here.
17908
17909 * sysdeps/unix/time.c: Moved ...
17910 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17911 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17912 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17913
17914 * sysdeps/unix/nice.c: Moved ...
17915 * sysdeps/posix/nice.c: ... here.
17916
17917 * sysdeps/unix/alarm.c: Moved ...
17918 * sysdeps/posix/alarm.c: ... here.
17919
3bd9e993
RM
17920 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17921
d1f09384
JL
179222012-08-17 Jeff Law <law@redhat.com>
17923
17924 * intl/Makefile (codeset_mo): New variable.
17925 ($(codeset_mo)): New target.
17926 (tst-codeset.out): Depend on that. Remove explicit rule.
17927 (tst-gettext3.out, tst-gettext5.out): Likewise.
17928 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17929 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17930 * intl/tst-codeset.sh: Remove.
17931 * intl/tst-gettext3.sh: Likewise.
17932 * intl/tst-gettext5.sh: Likewise.
17933
2ae1ae5c
RM
179342012-08-17 Roland McGrath <roland@hack.frob.com>
17935
c31fdb83
RM
17936 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17937 * sysdeps/unix/syscalls.list: ... here.
17938
a0844057
RM
17939 * sysdeps/posix/getaddrinfo.c
17940 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17941 (gaiconf_init, gaiconf_reload): Use them.
17942 [!_STATBUF_ST_NSEC]
17943 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17944 Define using time_t rather than struct timespec.
17945
750c1f2a
RM
17946 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17947 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17948 Macros removed.
17949 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17950 [!NO_THREADS].
17951 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17952 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17953 Likewise.
17954
2ae1ae5c
RM
17955 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17956 __libc_cleanup_push argument.
17957
e66a42f5
RM
17958 * bits/param.h: New file.
17959 * misc/sys/param.h: New file.
17960 * include/sys/param.h: New file.
17961 * misc/Makefile (headers): Add bits/param.h.
17962 * sysdeps/generic/sys/param.h: File removed.
17963 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17964 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17965 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17966 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17967
b7c08a66
RM
17968 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17969 last change.
17970
b2e1c562
RM
17971 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17972 [_IO_MTSAFE_IO].
17973 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17974 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17975 New macros.
17976
c75ccd4c
RM
17977 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17978 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17979 rather than -D_IO_MTSAFE_IO conditionally.
17980 * stdio-common/Makefile (CPPFLAGS): Likewise.
17981 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17982 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17983 Use $(libio-mtsafe).
17984 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17985 of -D_IO_MTSAFE_IO.
17986 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17987 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17988 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17989 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17990 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17991 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17992 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17993 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17994 (CFLAGS-fread_u_chk.c): Likewise.
17995 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17996 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17997 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17998 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17999 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18000 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18001 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18002 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18003 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18004
18005 * libio/Makefile: Test [$(libc-reentrant) = yes]
18006 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18007
18008 * Makeconfig
18009 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18010 * sysdeps/pthread/configure: File removed.
18011 * sysdeps/pthread/Makeconfig: New file.
18012 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18013 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18014
d9195db8
GB
180152012-08-16 Gary Benson <gbenson@redhat.com>
18016
18017 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18018 unmapping the first object in a namespace.
18019
86466cd9
RM
180202012-08-16 Roland McGrath <roland@hack.frob.com>
18021
18022 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18023 (__internal_setnetgrent): ... this. Add internal_function to
18024 definition. Add libc_hidden_def.
18025 (setnetgrent): Update caller.
18026 (internal_endnetgrent): Renamed to ...
18027 (__internal_endnetgrent): ... this. Add internal_function to
18028 definition. Add libc_hidden_def.
18029 (endnetgrent): Update caller.
18030 (internal_getnetgrent_r): Renamed to ...
18031 (__internal_getnetgrent_r): ... this. Add internal_function to
18032 definition. Add libc_hidden_def.
18033 (__getnetgrent_r): Update caller.
18034 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18035
c3c8283c
JM
180362012-08-16 Joseph Myers <joseph@codesourcery.com>
18037
18038 * stdlib/longlong.h: Update from GCC.
18039
db1ee0a8
RM
180402012-08-16 Roland McGrath <roland@hack.frob.com>
18041
18042 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18043 on _QL, which is set by umul_ppmm but never used.
18044 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18045 variables, which are set by GMP macros but never used.
18046 * stdio-common/_itowa.c (_itowa): Likewise.
18047 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18048 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18049
30f69637
CD
180502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18051
18052 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18053 struct La_sh_regs is not constant.
18054 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18055 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18056 and struct La_sparc64_regs are not constant.
18057
93a78ac4
JM
180582012-08-16 Joseph Myers <joseph@codesourcery.com>
18059
18060 * sysdeps/unix/sysv/linux/kernel-features.h
18061 (__ASSUME_POSIX_TIMERS): Remove.
18062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18063 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18064 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18065 Make code unconditional.
18066 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18067 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18068 Make code unconditional.
18069 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18070 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18071 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18072 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18073 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18074 Make code unconditional.
18075 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18076 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18077 (__libc_missing_posix_timers): Remove.
18078
dd924cd7
RM
180792012-08-15 Roland McGrath <roland@hack.frob.com>
18080
4b4f2771
RM
18081 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18082 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18083
601c888b
RM
18084 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18085
176790a7
RM
18086 * elf/dl-sym.c: Include <stdlib.h>.
18087
329bc018
RM
18088 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18089 constants, which avoids warnings in 32-bit builds.
18090
e04e272d
RM
18091 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18092 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18093
952bf94a
RM
18094 * misc/lseek.c: File moved to ...
18095 * io/lseek.c: ... here.
18096
7c99b50a
RM
18097 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18098
dd924cd7
RM
18099 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18100 shifting LEN more than 31 bits at once.
18101
b3f479a8
LD
181022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18103
18104 [BZ #14195]
8c4ae0d4
RM
18105 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18106 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18107 * string/test-strncasecmp.c (check1): Renamed to...
18108 (bz12205): ...this.
18109 (bz14195): Add new testcase for two empty input strings and N > 0.
18110 (test_main): Call new testcase, adapt for renamed function.
18111
9c55864e
AJ
181122012-08-15 Andreas Jaeger <aj@suse.de>
18113
18114 [BZ #14090]
18115 * crypt/md5test2.c: New test, based on test supplied by Serge
18116 Belyshev <belyshev@depni.sinp.msu.ru>.
18117 * crypt/Makefile (xtests): Add md5test-giant..
18118 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18119
02dcb6c5
PE
181202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18121
18122 [BZ #14090]
18123 * crypt/md5.c (md5_process_block): Don't assume the buffer
18124 length is less than 2**32.
18125 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18126 length is less than 2**64.
18127
a3f95dcc
RM
181282012-08-15 Roland McGrath <roland@hack.frob.com>
18129
be75d758
RM
18130 * string/str-two-way.h: Include <sys/param.h>.
18131 (MAX): Macro removed.
18132
7312ca90
RM
18133 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18134 Move #define and #undef of memmove to just before and after
18135 including <string.h>.
18136
9a0a5486
RM
18137 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18138 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18139 and after including <string.h>. Move declarations of
18140 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18141 to before #include "string/memmove.c".
18142
67cc348d
RM
18143 * include/dirent.h: Declare __getdirentries.
18144
a3f95dcc
RM
18145 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18146 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18147
ca98e171
MF
181482012-08-14 Mike Frysinger <vapier@gentoo.org>
18149
18150 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18151 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18152 * sysdeps/i386/configure: Regenerated.
18153 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18154 STABS_CURRENT_FILE, and STABS_FUN.
18155 (END): Remove call to STABS_FUN_END.
18156 (STABS_CURRENT_FILE1): Delete.
18157 (STABS_CURRENT_FILE): Likewise.
18158 (STABS_FUN): Likewise.
18159 (STABS_FUN_END): Likewise.
18160 (STABS_FUN2): Likewise.
18161 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18162 * sysdeps/x86_64/configure: Regenerated.
18163
5908bf46
RM
181642012-08-14 Roland McGrath <roland@hack.frob.com>
18165
18166 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18167 * elf/dl-lookup.c: Likewise.
5908bf46 18168
f2c05b9e
JM
181692012-08-14 Joseph Myers <joseph@codesourcery.com>
18170
18171 * sysdeps/unix/sysv/linux/kernel-features.h
18172 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18173 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18174 unconditionally.
18175 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18176 unconditionally.
18177 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18178 condition on __ASSUME_CLONE_THREAD_FLAGS.
18179
e11f5155
AJ
181802012-08-14 Andreas Jaeger <aj@suse.de>
18181
18182 * sysdeps/i386/fpu/libm-test-ulps: Update.
18183
51a9ba86
MK
181842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18185
2fdd4f78
AJ
18186 * include/atomic.h (atomic_exchange_and_add): Split into ...
18187 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18188 New atomic macros.
51a9ba86 18189
ba6cba9e
MT
181902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18191
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18193
42443a47
JL
181942012-08-13 Jeff Law <law@redhat.com>
18195
18196 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18197 null byte in the output string.
18198
121dce05
JM
181992012-08-10 Joseph Myers <joseph@codesourcery.com>
18200
18201 * sysdeps/unix/sysv/linux/kernel-features.h
18202 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18203 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18204 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18205 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18206 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18207 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18208 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18209
bf51f568
JL
182102012-08-09 Jeff Law <law@redhat.com>
18211
18212 [BZ #13939]
18213 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18214 When avoid_arena is set, don't retry in the that arena. Pick the
18215 next one, whatever it might be.
18216 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18217 (arena_lock): Pass in new parameter to arena_get2.
18218 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18219 arena_get2.
18220 (__libc_malloc): Unify retrying after main arena failure with
18221 __libc_memalign version.
18222 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18223
f85fa270
L
182242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18225
18226 [BZ #14166]
18227 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18228 to __redirect_strstr.
18229 (__strstr_sse42): Use typeof __redirect_strstr.
18230 (__strstr_ia32): Likewise.
18231 (__libc_strstr): New prototype.
18232 (strstr): Renamed to ...
18233 (__libc_strstr): This.
18234 (strstr): New strong alias of __libc_strstr.
18235 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18237 __redirect_time.
18238 Include <time.h>.
18239 (__libc_time): New prototype.
18240 (time_ifunc): Replace time with __libc_time.
18241 (time): New strong alias and hidden definition of __libc_time.
18242 (__GI_time): Remove strong alias.
18243 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18244 Include <stddef.h>.
18245 (memmove): Redefined to __redirect_memmove.
18246 (__memmove_sse2): Use typeof __redirect_memmove.
18247 (__memmove_ssse3): Likewise.
18248 (__memmove_ssse3_back): Likewise.
18249 (__libc_memmove): New prototype.
18250 (memmove): Renamed to ...
18251 (__libc_memmove): This.
18252 (memmove): New strong alias of __libc_memmove.
18253
33b4a91e
MS
182542012-08-08 Mark Salter <msalter@redhat.com>
18255
18256 * elf/elf.h
18257 (R_MN10300_TLS_GD): Define.
18258 (R_MN10300_TLS_LD): Likewise.
18259 (R_MN10300_TLS_LDO): Likewise.
18260 (R_MN10300_TLS_GOTIE): Likewise.
18261 (R_MN10300_TLS_IE): Likewise.
18262 (R_MN10300_TLS_LE): Likewise.
18263 (R_MN10300_TLS_DTPMOD): Likewise.
18264 (R_MN10300_TLS_DTPOFF): Likewise.
18265 (R_MN10300_TLS_TPOFF): Likewise.
18266 (R_MN10300_SYM_DIFF): Likewise.
18267 (R_MN10300_ALIGN): Likewise.
18268 (R_MN10300_NUM): Update.
18269
b36137f1
JM
182702012-08-08 Joseph Myers <joseph@codesourcery.com>
18271
18272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18273 Remove.
18274
cdd915fd
RM
182752012-08-08 Roland McGrath <roland@hack.frob.com>
18276
a2433aac
RM
18277 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18278
cdd915fd
RM
18279 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18280 sysdeps/unix -> sysdeps/posix move.
18281 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18282
bf9b740a
AM
182832012-08-07 Allan McRae <allan@archlinux.org>
18284
18285 [BZ #14303]
18286 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18287 (SUNOS_CPP): Likewise.
18288 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18289 not found.
18290 (open_input): Call CPP using execvp.
18291
93df14ee
JM
182922012-08-07 Joseph Myers <joseph@codesourcery.com>
18293
18294 * sysdeps/unix/sysv/linux/kernel-features.h
18295 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18296 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18297 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18298 (__ASSUME_WAITID_SYSCALL): Likewise.
18299 * sysdeps/unix/sysv/linux/dl-execstack.c
18300 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18301 code unconditional.
18302 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18303 conditional code.
18304 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18305 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18306 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18307 code.
18308 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18309 unconditional.
18310 [__ASSUME_WAITID_SYSCALL]: Likewise.
18311 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18312
d34689de
RM
183132012-08-07 Roland McGrath <roland@hack.frob.com>
18314
a281decc
RM
18315 * sysdeps/unix/closedir.c: Renamed to ...
18316 * sysdeps/posix/closedir.c: ... here.
18317 * sysdeps/unix/dirfd.c: Renamed to ...
18318 * sysdeps/posix/dirfd.c: ... here.
18319 * sysdeps/unix/dirstream.h: Renamed to ...
18320 * sysdeps/posix/dirstream.h: ... here.
18321 * sysdeps/unix/fdopendir.c: Renamed to ...
18322 * sysdeps/posix/fdopendir.c: ... here.
18323 * sysdeps/unix/opendir.c: Renamed to ...
18324 * sysdeps/posix/opendir.c: ... here.
18325 * sysdeps/unix/readdir.c: Renamed to ...
18326 * sysdeps/posix/readdir.c: ... here.
18327 * sysdeps/unix/readdir_r.c: Renamed to ...
18328 * sysdeps/posix/readdir_r.c: ... here.
18329 * sysdeps/unix/rewinddir.c: Renamed to ...
18330 * sysdeps/posix/rewinddir.c: ... here.
18331 * sysdeps/unix/seekdir.c: Renamed to ...
18332 * sysdeps/posix/seekdir.c: ... here.
18333 * sysdeps/unix/telldir.c: Renamed to ...
18334 * sysdeps/posix/telldir.c: ... here.
18335 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18336 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18337 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18338 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18339
22895b47
RM
18340 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18341 * bits/fcntl.h: ... here.
18342
707a53b6
RM
18343 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18344 not 0.
18345 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18346 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18347 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18348 (struct flock): Move l_start, l_len to the beginning.
18349 Use __pid_t for l_pid.
18350 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18351 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18352 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18353 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18354 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18355 [__USE_LARGEFILE64] (struct flock64): New type.
18356 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18357
f0bd3e25
RM
18358 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18359 * bits/dirent.h: ... here.
18360
d34689de
RM
18361 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18362 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18363
6dad2c06
JM
183642012-08-07 Joseph Myers <joseph@codesourcery.com>
18365
18366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18367 Change from 2.6.0 to 2.6.16.
18368 * sysdeps/unix/sysv/linux/configure: Regenerated.
18369 * sysdeps/unix/sysv/linux/kernel-features.h
18370 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18371 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18372 version.
18373 (__ASSUME_UTIMES): Likewise.
18374 (__ASSUME_CLONE_STOPPED): Remove.
18375 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18376 architectures, not kernel version.
18377 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18378 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18379 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18380 (__ASSUME_WAITID_SYSCALL): Likewise.
18381 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18382 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18383 * README: State 2.6.16 as minimum Linux kernel version. Do not
18384 refer to older versions.
18385
03af9520
RM
183862012-08-06 Roland McGrath <roland@hack.frob.com>
18387
8e49df1d
RM
18388 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18389 Define alphasort64 as an alias.
18390 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18391 Define versionsort64 as an alias.
18392 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18393 Define scandir64 as an alias.
18394 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18395 Define scandirat64 as an alias.
18396 * dirent/alphasort64.c (alphasort64):
18397 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18398 * dirent/versionsort64.c: Likewise.
18399 * dirent/scandir64.c: Likewise.
18400 * dirent/scandirat64.c: Likewise.
18401 * sysdeps/wordsize-64/alphasort.c: File removed.
18402 * sysdeps/wordsize-64/alphasort64.c: File removed.
18403 * sysdeps/wordsize-64/scandir.c: File removed.
18404 * sysdeps/wordsize-64/scandir64.c: File removed.
18405 * sysdeps/wordsize-64/scandirat.c: File removed.
18406 * sysdeps/wordsize-64/scandirat64.c: File removed.
18407 * sysdeps/wordsize-64/versionsort.c: File removed.
18408 * sysdeps/wordsize-64/versionsort64.c: File removed.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18410 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18412 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18413 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18416 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18417
18418 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18420 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18422 [defined __arch64__ || defined __sparcv9]
18423 (__INO_T_MATCHES_INO64_T): New macro.
18424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18425 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18426 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18427 * sysdeps/unix/sysv/linux/bits/dirent.h
18428 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18429 (_DIRENT_MATCHES_DIRENT64): New macro.
18430
03af9520
RM
18431 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18432 Define lockf64 as an alias.
18433 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18434 Define fseeko64 as an alias.
18435 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18436 Define ftello64 as an alias.
18437 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18438 Define _IO_fgetpos64 and fgetpos64 as aliases.
18439 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18440 Define _IO_fsetpos64 and fsetpos64 as aliases.
18441 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18442 Conditionalize body on this.
18443 * libio/fseeko64.c: Likewise.
18444 * libio/ftello64.c: Likewise.
18445 * libio/iofgetpos64.c: Likewise.
18446 * libio/iofsetpos64.c: Likewise.
18447 * sysdeps/wordsize-64/lockf.c: File removed.
18448 * sysdeps/wordsize-64/lockf64.c: File removed.
18449 * sysdeps/wordsize-64/fseeko.c: File removed.
18450 * sysdeps/wordsize-64/fseeko64.c: File removed.
18451 * sysdeps/wordsize-64/ftello.c: File removed.
18452 * sysdeps/wordsize-64/ftello64.c: File removed.
18453 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18454 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18455 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18456 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18457 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18458 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18459 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18461 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18463 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18465 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18466 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18467
18468 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18470 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18472 [defined __arch64__ || defined __sparcv9]
18473 (__OFF_T_MATCHES_OFF64_T): New macro.
18474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18475 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18476 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18477 (__OFF_T_MATCHES_OFF64_T): New macro.
18478
c5757acd
L
184792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18480
18481 * stdlib/secure-getenv.c (__secure_getenv): Replace
18482 GLIBC_2_16 with GLIBC_2_17.
18483
3a31811e
L
184842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18485
18486 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18487 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18488
faa2bccb
DM
184892012-08-03 David S. Miller <davem@davemloft.net>
18490
18491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18492
85fe1997
JM
184932012-08-03 Joseph Myers <joseph@codesourcery.com>
18494
18495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18496 Remove.
18497 (__ASSUME_CORRECT_SI_PID): Likewise.
18498 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18499 (__ASSUME_TMPFS_NAME): Likewise.
18500 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18501 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18502 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18503 (HAVE_AUX_SECURE): Make definition unconditional.
18504 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18505 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18506
4f75b7a0
RM
185072012-08-03 Roland McGrath <roland@hack.frob.com>
18508
18509 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18510 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18511 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18512 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18513 __eloop_threshold instead of SYMLOOP_MAX.
18514
18515 * sysdeps/generic/eloop-threshold.h: New file.
18516 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18517 of MAXSYMLINKS.
18518 * elf/chroot_canon.c (chroot_canon): Likewise.
18519
7aab07e4
JM
185202012-08-03 Joseph Myers <joseph@codesourcery.com>
18521
18522 [BZ #13717]
18523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18524 Change to 2.6.0 everywhere.
18525 * sysdeps/unix/sysv/linux/configure: Regenerated.
18526 * sysdeps/unix/sysv/linux/kernel-features.h
18527 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18528 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18529 kernel versions.
18530 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18531 (__ASSUME_FUTEX_REQUEUE): Remove.
18532 (__ASSUME_STATFS64): Define unconditionally.
18533 (__ASSUME_AT_SECURE): Likewise.
18534 (__ASSUME_CORRECT_SI_PID): Likewise.
18535 (__ASSUME_TGKILL): Define without depending on kernel version for
18536 i386.
18537 (__ASSUME_UTIMES): Likewise.
18538 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18539 kernel version.
18540 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18541 (__ASSUME_TMPFS_NAME): Likewise.
18542 * README: Update reference to Linux kernel versions.
18543
b67e9372
MP
185442012-08-02 Marek Polacek <polacek@redhat.com>
18545
1f529f7d 18546 [BZ# 14150]
b67e9372
MP
18547 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18548 libc_cv_asm_type_prefix with %.
18549 * configure: Regenerated.
d2441631
RM
18550 * include/libc-symbols.h: Remove comment about
18551 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18552 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18553 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18554 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18555 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18556 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18557 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18558 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18559 * elf/tst-unique2mod1.c: Likewise.
18560 * elf/tst-unique1mod2.c: Likewise.
18561 * elf/tst-unique1mod1.c: Likewise.
18562 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18563 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18564 Replace ASM_TYPE_DIRECTIVE with .type.
18565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18566 * sysdeps/i386/sysdep.h: Likewise.
18567 * sysdeps/x86_64/sysdep.h: Likewise.
18568 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18570 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18571 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18572 * sysdeps/powerpc/powerpc32/sysdep.h:
18573 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18574 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18575 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18576 * sysdeps/i386/fpu/e_powf.S: Likewise.
18577 * sysdeps/i386/fpu/e_expl.S: Likewise.
18578 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18579 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18580 * sysdeps/i386/fpu/e_pow.S: Likewise.
18581 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18582 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18583 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18584 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18585 * sysdeps/i386/fpu/e_log2.S: Likewise.
18586 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18587 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18588 * sysdeps/i386/fpu/e_powl.S: Likewise.
18589 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18590 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18591 * sysdeps/i386/fpu/e_logl.S: Likewise.
18592 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18593 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18594 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18597 * sysdeps/i386/fpu/e_log.S: Likewise.
18598 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18599 * sysdeps/i386/fpu/e_logf.S: Likewise.
18600 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18601 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18603 * sysdeps/i386/fpu/e_log10.S: Likewise.
18604 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18606 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18607 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18608 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18609 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18611 * sysdeps/i386/i686/strtok.S: Likewise.
18612 * sysdeps/i386/i386-mcount.S: Likewise.
18613 * sysdeps/i386/strtok.S: Likewise.
18614 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18615 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18617 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18618 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18619 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18620 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18621 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18623 * sysdeps/x86_64/_mcount.S: Likewise.
18624 * sysdeps/x86_64/strtok.S: Likewise.
18625 * sysdeps/sh/_mcount.S: Likewise.
18626
2747bf9a
RM
186272012-08-01 Roland McGrath <roland@hack.frob.com>
18628
18629 * libio/iofopen.c: Include <fcntl.h>.
18630 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18631 (_IO_fopen64, fopen64): Define as aliases.
18632 * libio/iofopen64.c: Include <fcntl.h>.
18633 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18634 Conditionalize body on this.
18635 * sysdeps/wordsize-64/iofopen.c: File removed.
18636 * sysdeps/wordsize-64/iofopen64.c: File removed.
18637
3fb791b8
MP
186382012-08-01 Marek Polacek <polacek@redhat.com>
18639
18640 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18641 Use dlfcn directly instead of a variable.
18642 (binfmt-subdir): Do not define.
18643 (dlfcn): Likewise.
18644
a9f1039f
JM
186452012-08-01 Joseph Myers <joseph@codesourcery.com>
18646
23bddc06
JM
18647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18648 Remove all definitions.
18649 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18650 <kernel-features.h>.
18651 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18652 (miss_F_GETOWN_EX): Remove all definitions.
18653 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18654 macro definition.
18655 [!__ASSUME_FCNTL64]: Remove conditional code.
18656 [__ASSUME_FCNTL64]: Make code unconditional.
18657 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18658 <kernel-features.h>.
18659 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18660 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18661 (lockf64) [__NR_fcntl64]: Make code unconditional.
18662 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18663
a9f1039f
JM
18664 * sysdeps/unix/sysv/linux/kernel-features.h
18665 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18666 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18667 Make code unconditional.
18668 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18669 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18671 [__NR_vfork]: Make code unconditional.
18672 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18673 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18675 [__NR_vfork]: Make code unconditional.
18676 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18677 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18678
09c0ee5f
RM
186792012-08-01 Roland McGrath <roland@hack.frob.com>
18680
48aec5b9
RM
18681 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18682 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18683
cd97c966
RM
18684 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18685 Define mkstemp64 as an alias.
3f55550c
RM
18686 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18687 Define mkstemps64 as an alias.
cd97c966
RM
18688 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18689 Define mkostemp64 as an alias.
b8625cfc
RM
18690 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18691 Define mkostemps64 as an alias.
cd97c966
RM
18692 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18693 Conditionalize body on this.
18694 * misc/mkostemp64.c: Likewise.
b8625cfc 18695 * misc/mkostemps64.c: Likewise.
3f55550c 18696 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18697 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18698 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18699 * sysdeps/wordsize-64/mkostemp.c: File removed.
18700 * sysdeps/wordsize-64/mkstemp.c: File removed.
18701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18702 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18703 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18705
09c0ee5f
RM
18706 [BZ #14138]
18707 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18708 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18709 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18710 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18711
18712 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18713 compat_symbol macros from <shlib-compat.h> rather than the underlying
18714 default_symbol_version and symbol_version macros, so that DEFAULT
18715 lines in shlib-versions are respected.
18716 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18717
7e66ee51
FW
187182012-08-01 Florian Weimer <fweimer@redhat.com>
18719
18720 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18721 Declare with warn_unused_result.
18722 (setgid, setregid, setegid, setresgid): Likewise.
18723 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18724 Likewise.
18725 * WUR-REPORT: Remove set*id functions.
18726
d2a54255
PT
187272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18728
18729 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18730
7ecdb005
RM
187312012-07-31 Roland McGrath <roland@hack.frob.com>
18732
b4180a5e 18733 [BZ #10191]
789bd351
RM
18734 * include/sys/socket.h (__libc_accept, __libc_accept4):
18735 Add attribute_hidden.
18736 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18737
40ce302d
RM
18738 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18739 use of PTR_MANGLE.
18740 * inet/getnetgrent_r.c (setup): Likewise.
18741
7ecdb005
RM
18742 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18743
e2eabb2c
DM
187442012-07-31 David S. Miller <davem@davemloft.net>
18745
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18747
d0419dbf
JM
187482012-07-31 Joseph Myers <joseph@codesourcery.com>
18749
18750 [BZ #13629]
18751 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18752 value between 1.0 and 2.0 and smaller part has absolute value less
18753 than 1.0.
18754 * math/s_clog10.c (__clog10): Likewise.
18755 * math/s_clog10f.c (__clog10f): Likewise.
18756 * math/s_clog10l.c (__clog10l): Likewise.
18757 * math/s_clogf.c (__clogf): Likewise.
18758 * math/s_clogl.c (__clogl): Likewise.
18759 * math/libm-test.inc (clog_test): Add more tests.
18760 (clog10_test): Likewise.
18761 * sysdeps/i386/fpu/libm-test-ulps: Update.
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18763
2bc13872
FW
187642012-07-31 Florian Weimer <fweimer@redhat.com>
18765
18766 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18767 Exit with zero in case no suitable GID is found, and write a
18768 message to standard error.
18769
bea9b193
RM
187702012-07-30 Roland McGrath <roland@hack.frob.com>
18771
18772 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18773 rather than to 1.
18774 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18775 (MAXPATHLEN): Removed.
18776 (NOGROUP, NODEV): New macros.
18777 (setbit, clrbit, isset, isclr): New macros.
18778 (howmany, roundup, powerof2): New macros.
18779 (DEV_BSIZE): New macro.
18780
18781 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18782 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18783
18784 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18785 definition on [!__NO_LONG_DOUBLE_MATH].
18786
18787 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18788 PTR_MANGLE and PTR_DEMANGLE.
18789
18790 * socket/accept4.c (accept4): Rename to __libc_accept4.
18791 Define accept4 as a weak alias.
18792
18793 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18794 on [_DIRENT_HAVE_D_TYPE].
18795 * io/ftw.c (ftw_dir): Likewise.
18796
18797 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18798
18799 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18800
18801 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18802 Use the BSD numbers rather than the arbitrary ones we had.
18803 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18804 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18805 (SIGXCPU, SIGXFSZ): New macros.
18806 (_NSIG): Now 32.
18807
18808 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18809 initializer on [_LIBC_REENTRANT].
18810
18811 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18812 definitions inside [_POSIX_MAPPED_FILES].
18813
18814 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18815
18816 * dirent/opendir.c: Include <fcntl.h>.
18817
18818 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18819 (__libc_getspecific): Likewise.
18820 (__libc_key_create): Likewise.
18821
18822 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18823 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18824 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18825 (tmpfile64): Define as alias.
18826 * sysdeps/wordsize-64/tmpfile.c: File removed.
18827 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18828 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18830
18831 * stdio-common/vfscanf.c: Include <stdbool.h>.
18832 * nss/makedb.c: Likewise.
18833 * stdio-common/_i18n_number.h: Likewise.
18834 * argp/argp-help.c: Likewise.
18835 * posix/wordexp.c: Likewise.
18836 * sysdeps/posix/spawni.c: Likewise.
18837 * nss/nss_files/files-initgroups.c: Likewise.
18838 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18839 * nss/nss_files/files-initgroups.c: Likewise.
18840 * nss/nss_db/db-netgrp.c: Likewise.
18841 * nss/nss_db/db-initgroups.c: Likewise.
18842 * io/fchmodat.c: Include <sys/stat.h>.
18843
18844 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18845 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18846
18847 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18848 [HAVE_MMAP].
18849
18850 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18851 Add multiple inclusion protection.
18852
e5abc686
DM
188532012-07-27 David S. Miller <davem@davemloft.net>
18854
18855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18856
815e6fa3
GB
188572012-07-27 Gary Benson <gbenson@redhat.com>
18858
18859 [BZ #14298]
18860 * elf/rtld.c: Include <stap-probe.h>.
18861 (dl_main): Added static probes "init_start" and "init_complete".
18862 * elf/dl-load.c: Include <stap-probe.h>.
18863 (lose): Take new parameter "nsid".
18864 Added static probe "map_failed".
18865 (_dl_map_object_from_fd): Pass namespace id to lose.
18866 Added static probe "map_start".
18867 (open_verify): Pass namespace id to lose.
18868 * elf/dl-open.c: Include <stap-probe.h>.
18869 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18870 and "reloc_complete".
18871 * elf/dl-close.c: Include <stap-probe.h>.
18872 (_dl_close_worker): Added static probes "unmap_start" and
18873 "unmap_complete".
18874 * elf/rtld-debugger-interface.txt: New file documenting the above.
18875
9f98c16c
RM
188762012-07-26 Roland McGrath <roland@hack.frob.com>
18877
18878 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18879 rather than a string variable.
18880 * sunrpc/rpc_main.c (h_output): Likewise.
18881 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18882
f3c22df3
PT
188832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18884
18885 * inet/check_native.c: New file.
18886
3129cfc6
JM
188872012-07-26 Joseph Myers <joseph@codesourcery.com>
18888
da865e95
JM
18889 [BZ #13629]
18890 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18891 if larger part has absolute value 1.0.
18892 * math/s_clog10.c (__clog10): Likewise.
18893 * math/s_clog10f.c (__clog10f): Likewise.
18894 * math/s_clog10l.c (__clog10l): Likewise.
18895 * math/s_clogf.c (__clogf): Likewise.
18896 * math/s_clogl.c (__clogl): Likewise.
18897 * math/libm-test.inc (clog_test): Add more tests.
18898 (clog10_test): Likewise.
18899 * sysdeps/i386/fpu/libm-test-ulps: Update.
18900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901
3129cfc6
JM
18902 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18903 (pltexit): Likewise.
18904 (La_regs): Likewise.
18905 (La_retval): Likewise.
18906 (int_retval): Likewise.
18907 Update #error for removed macros to refer only to definitions in
18908 tst-audit.h.
18909 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18910 macro.
18911 (pltexit): Likewise.
18912 (La_regs): Likewise.
18913 (La_retval): Likewise.
18914 (int_retval): Likewise.
18915 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18916 macro.
18917 (pltexit): Likewise.
18918 (La_regs): Likewise.
18919 (La_retval): Likewise.
18920 (int_retval): Likewise.
18921 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18922 macro.
18923 (pltexit): Likewise.
18924 (La_regs): Likewise.
18925 (La_retval): Likewise.
18926 (int_retval): Likewise.
18927 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18928 macro.
18929 (pltexit): Likewise.
18930 (La_regs): Likewise.
18931 (La_retval): Likewise.
18932 (int_retval): Likewise.
18933 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18934 macro.
18935 (pltexit): Likewise.
18936 (La_regs): Likewise.
18937 (La_retval): Likewise.
18938 (int_retval): Likewise.
18939 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18940 macro.
18941 (pltexit): Likewise.
18942 (La_regs): Likewise.
18943 (La_retval): Likewise.
18944 (int_retval): Likewise.
18945 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18946 macro definitions in tst-audit.h.
18947 * sysdeps/i386/tst-audit.h: New file.
18948 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18949 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18950 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18951 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18952 * sysdeps/sh/tst-audit.h: Likewise.
18953 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18954 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18955 * sysdeps/x86_64/tst-audit.h: Likewise.
18956
bfc07087
AJ
189572012-07-26 Andreas Jaeger <aj@suse.de>
18958
b1b2aaf8
AJ
18959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18960 ptrace.
18961
18962 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18963 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18964 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18965 PTRACE_O_MASK.
18966 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18968 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18969
bfc07087
AJ
18970 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18971 value.
18972
18973 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18974 _sigsys.
18975 (si_call_addr, si_syscall, si_arch): Define new macro.
18976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18977 _sigsys.
18978 (si_call_addr, si_syscall, si_arch): Define new marcro.
18979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18980 _sigsys.
18981 (si_call_addr, si_syscall, si_arch): Define new macro.
18982 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18983 _sigsys.
18984 (si_call_addr, si_syscall, si_arch): Define new macro.
18985
89b4b02f
JM
189862012-07-25 Joseph Myers <joseph@codesourcery.com>
18987
18988 [BZ #13717]
18989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18990 Change to 2.4.21 where previously 2.4.1.
18991 * sysdeps/unix/sysv/linux/configure: Regenerated.
18992 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18993 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18994 Linux kernel version.
18995 (__ASSUME_STD_AUXV): Remove.
18996 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18997 kernel version.
18998 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18999 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19000 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19001 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19002 (__ASSUME_NETLINK_SUPPORT): Likewise.
19003 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19004 (__no_netlink_support): Remove conditional definition.
19005 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19006 Remove.
19007 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19008 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19009 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19010 (if_nameindex_ioctl): Remove.
19011 (if_nameindex_netlink): Do not handle __no_netlink_support.
19012 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19013 code.
19014 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19015 Remove conditional code.
19016 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19017 code.
19018 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19019 unconditional.
19020 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19021 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19022 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19023 Remove.
19024 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19025 [!__ASSUME_STD_AUXV]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19027 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19028 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19030 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19031 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19032 code.
19033 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19035 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19036 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19037 conditional code.
19038 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19040 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19041 code.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19043 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19044 conditional code.
19045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19046 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19047 code unconditional.
19048 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19049 conditional code.
19050 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19051 unconditional.
19052 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19053 conditional code.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19055 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19056 unconditional.
19057 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19058 conditional code.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19060 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19061 code unconditional.
19062 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19063 conditional code.
19064 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19065 unconditional.
19066 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19067 conditional code.
19068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19069 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19070 code unconditional.
19071 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19072 conditional code.
19073 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19074 unconditional.
19075 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19076 conditional code.
19077
842a39cd
AS
190782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19081 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19082 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19083 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19084 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19085 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19086 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19087 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19088 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19089 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19090 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19091 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19092 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19093 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19094 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19095 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19096 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19098 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19101 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19103
84b3fd84
FW
191042012-07-25 Florian Weimer <fweimer@redhat.com>
19105
19106 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19107 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19108 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19109 Introduce __libc_secure_getenv.
0c7936d5
FW
19110 * stdlib/Versions (2.17): Add secure_getenv
19111 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19112 * stdlib/secure-getenv.c: Rename __secure_getenv to
19113 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19114 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19115 * stdlib/tst-secure-getenv.c: New.
19116 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19117 * manual/startup.texi (Environment Access): Document
19118 secure_getenv.
84b3fd84
FW
19119 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19120 __libc_secure_getenv.
19121 * inet/ruserpass.c (ruserpass): Likewise.
19122 * malloc/mtrace.c (mtrace): Likewise.
19123 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19124 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19125 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19126 * sysdeps/posix/tempname.c: Likewise. Evaluate
19127 HAVE_SECURE_GETENV.
19128 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19129 __secure_getenv to __libc_secure_getenv.
84b3fd84 19130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19132 Likewise.
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19134 Likewise.
19135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19142
56e49b71
JM
191432012-07-25 Joseph Myers <joseph@codesourcery.com>
19144
19145 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19146 (struct La_i86_retval): Likewise.
19147 (struct La_x86_64_regs): Likewise.
19148 (struct La_x86_64_retval): Likewise.
19149 (struct La_x32_regs): Likewise.
19150 (struct La_x32_retval): Likewise.
19151 (struct La_ppc32_regs): Likewise.
19152 (struct La_ppc32_retval): Likewise.
19153 (struct La_ppc64_regs): Likewise.
19154 (struct La_ppc64_retval): Likewise.
19155 (struct La_sh_regs): Likewise.
19156 (struct La_sh_retval): Likewise.
19157 (struct La_s390_32_regs): Likewise.
19158 (struct La_s390_32_retval): Likewise.
19159 (struct La_s390_64_regs): Likewise.
19160 (struct La_s390_64_retval): Likewise.
19161 (struct La_sparc32_regs): Likewise.
19162 (struct La_sparc32_retval): Likewise.
19163 (struct La_sparc64_regs): Likewise.
19164 (struct La_sparc64_retval): Likewise.
19165 (struct audit_ifaces): Remove architecture-specific pltenter and
19166 pltexit members.
19167 * sysdeps/i386/ldsodefs.h: New file.
19168 * sysdeps/powerpc/ldsodefs.h: Likewise.
19169 * sysdeps/s390/ldsodefs.h: Likewise.
19170 * sysdeps/sh/ldsodefs.h: Likewise.
19171 * sysdeps/sparc/ldsodefs.h: Likewise.
19172 * sysdeps/x86_64/ldsodefs.h: Likewise.
19173
354691b7
MP
191742012-07-25 Marek Polacek <polacek@redhat.com>
19175
19176 [BZ #6808]
19177 * math/libm-test.inc (yn_test): Add another test.
19178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19179 to ERANGE when the result is +-Inf.
19180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19181 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19182 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19183 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19184
bf9e2071
JM
191852012-07-24 Joseph Myers <joseph@codesourcery.com>
19186
19187 * conform/data/time.h-data (NULL): Use macro-constant. Require
19188 equal to 0.
19189 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19190 clock_t.
19191 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19192
57633811
TS
191932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19194
19195 * configure.in <sysdeps resolving>: Correct printing
19196 Implies_before.
19197 * configure: Regenerate.
19198
c23c33b0
TS
191992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19200
19201 * math/w_ilogb.c: Include <limits.h>.
19202 * math/w_ilogbl.c: Likewise.
19203
b5982523
JM
192042012-07-20 Joseph Myers <joseph@codesourcery.com>
19205
19206 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19207 va_copy. Document allowing for unavailable va_copy only as
19208 pre-C99 compatibility.
19209 * manual/string.texi (Copying and Concatenation): Use va_copy
19210 instead of __va_copy in concat example.
19211
ac4ea442
PT
192122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19213
19214 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19215 (__sendto): Use create_address_port. Initialize APORT and deallocate
19216 it if not null.
19217
f98eafbd
PT
19218 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19219 with O_NOLINK passed to __file_name_lookup.
19220
898c7aab
PT
19221 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19222 with O_NOLINK passed to __file_name_lookup.
19223
0ced335a
PT
19224 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19225 negative N or less than NGIDS.
19226
b3404dbd
PT
19227 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19228 type to string_t. Set ERANGE as errno and return it if NAME is not big
19229 enough. Use memcpy instead of strncpy.
19230
0f48659e
JM
192312012-07-20 Joseph Myers <joseph@codesourcery.com>
19232
19233 * elf/Makefile (check-data): Remove.
19234 (localplt.data): New vpath directive.
19235 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19236 instead of $(check-data).
19237 * scripts/data/localplt-generic.data: Move to ...
19238 * sysdeps/generic/localplt.data: ... here.
19239 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19240 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19241 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19243 ... here.
19244 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19246 ... here.
19247 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19249 ... here.
19250 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19252 ... here.
19253 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19255 ... here.
19256 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19258 ... here.
19259
d37cbdaa
AZ
192602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19261
19262 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19263 PPC32 and PPC64 files.
19264 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19265 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19266
46f85fc2
AK
192672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19268
19269 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19270 __makecontext_ret to ...
19271 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19272 ... here and call exit if uc_link is NULL. New file.
19273 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19274 __makecontext_ret.S.
19275 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19276 __makecontext_ret to ...
19277 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19278 ... here and call exit if uc_link is NULL. New file.
19279 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19280 __makecontext_ret.S.
19281
08f43f9b
AK
192822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19283
19284 * elf/elf.h (R_390_IRELATIVE): New definition.
19285 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19286 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19287 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19289 (elf_machine_lazy_rel): Likewise.
19290 * sysdeps/s390/dl-irel.h: New file.
19291 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19292 * sysdeps/s390/s390-64/memset.S: New asm code.
19293 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19294 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19295 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19296 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19297 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19298 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19300 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19301 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19302 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19303 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19304 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19305 * sysdeps/s390/s390-32/memset.S: New asm code.
19306 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19307
3b05db33
MP
193082012-07-17 Marek Polacek <polacek@redhat.com>
19309
19310 [BZ #14349]
19311 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19312 * sysdeps/s390/s390-64/configure.in: Likewise.
19313 * sysdeps/sparc/configure.in: Likewise.
19314 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19315 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19316 * sysdeps/i386/configure.in: Likewise.
19317 * sysdeps/x86_64/configure.in: Likewise.
19318 * sysdeps/sh/configure.in: Likewise.
19319 * sysdeps/s390/s390-32/configure: Regenerated.
19320 * sysdeps/s390/s390-64/configure: Likewise.
19321 * sysdeps/x86_64/configure: Likewise.
19322 * sysdeps/sh/configure: Likewise.
19323 * sysdeps/powerpc/powerpc64/configure: Likewise.
19324 * sysdeps/powerpc/powerpc32/configure: Likewise.
19325 * sysdeps/sparc/configure: Likwise.
19326 * sysdeps/i386/configure: Likewise.
19327
a66877c6
MP
19328 * elf/dl-open.c: Comment fixes.
19329
cfc82fd8
JM
193302012-07-17 Joseph Myers <joseph@codesourcery.com>
19331
bd29910a
JM
19332 * Makefile [CXX] (check-data): Remove.
19333 [CXX] (c++-types.data): New vpath directive.
19334 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19335 vpath. Do not allow for C++ type data being missing.
19336 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19337 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19338 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19339 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19340 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19341 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19342 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19344 ... here.
19345 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19347 ... here.
19348 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19350 ... here.
19351 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19353 ... here.
19354 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19356 ... here.
19357 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19359 ... here.
19360 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19362 ... here.
19363 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19365
cfc82fd8
JM
19366 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19367 definitions to architecture-specific files.
19368 (TLS_IE): Likewise.
19369 (TLS_LD): Likewise.
19370 (TLS_GD): Likewise.
19371 * sysdeps/i386/tls-macros.h: New file.
19372 * sysdeps/powerpc/tls-macros.h: Likewise.
19373 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19374 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19375 * sysdeps/sh/tls-macros.h: Likewise.
19376 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19377 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19378 * sysdeps/x86_64/tls-macros.h: Likewise.
19379
f7db3170
TS
193802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19381
07cbfc23
TS
19382 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19383 zero value for regular exit case.
19384
f7db3170
TS
19385 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19386 (__start_context): Preserve zero value for regular exit case.
19387
dc97c227
TS
193882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19389 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19390
19391 * manual/setjmp.texi (setcontext): Clarify normal process
19392 termination when uc_link is the null pointer.
19393 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19394 exit call.
19395
d0cd7d02
AS
193962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19397
19398 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19399 preprocessor. Test for each exception mask separately.
19400
dd318934
AJ
194012012-07-16 Andreas Jaeger <aj@suse.de>
19402
19403 * po/ru.po: Update from translation team.
19404
8048311a
JM
194052012-07-15 Joseph Myers <joseph@codesourcery.com>
19406
19407 * conform/data/string.h-data (NULL): Use macro-constant. Require
19408 equal to 0.
19409 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19410 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19411 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19412 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19414
b637d46e
AJ
194152012-07-13 Andreas Jaeger <aj@suse.de>
19416
19417 * po/fr.po: Update from translation team.
19418
541428fe
MP
194192012-07-12 Marek Polacek <polacek@redhat.com>
19420
19421 [BZ #14173]
19422 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19424 loop condition.
19425
ec332e94
JM
194262012-07-12 Joseph Myers <joseph@codesourcery.com>
19427
19428 [BZ #13717]
19429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19430 Change to 2.4.1 where previously 2.4.0.
19431 * sysdeps/unix/sysv/linux/configure: Regenerated.
19432 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19433 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19434 version.
19435 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19436 (__ASSUME_AT_CLKTCK): Remove.
19437 (__ASSUME_AT_PAGESIZE): Likewise.
19438 (__ASSUME_AT_XID): Likewise.
19439 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19440 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19441 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19442 unconditionally.
19443 (HAVE_AUX_PAGESIZE): Likewise.
19444 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19445 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19446 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19447
7b6e99be
JB
194482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19449
19450 [BZ #14307]
19451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19452 the temporary buffer used to invoke __gethostbyname2_r,
19453 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19454 host_data / struct gaih_addrtuple.
19455 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19456 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19457 header file nss/nsswitch.h.
19458 * nss/nsswitch.h (global scope): Add definition of implementation
19459 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19460 resolv/nss_dns/dns-host.c).
19461
608404eb
AJ
194622012-07-11 Andreas Jaeger <aj@suse.de>
19463
19464 * po/fr.po: Update from translation team.
19465
71220aca
AJ
19466 * po/sv.po: Update from translation team
19467 * po/fr.po: Another update from translation team.
19468
28cfe843
AZ
194692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19470
19471 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19472 for subnormals or multiply small sinh result by itself.
19473 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475
6b90f981
DM
194762012-07-11 David S. Miller <davem@davemloft.net>
19477
19478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19479
c6825772
AS
194802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19481
19482 [BZ #14347]
19483 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19484 (INTERNAL_MARK): Shift it here.
19485
7b8e0d49
MP
194862012-07-10 Marek Polacek <polacek@redhat.com>
19487
19488 [BZ #14151]
19489 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19490 libc_cv_asm_global_directive with .globl.
19491 * configure: Regenerated.
19492 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19493 with .globl.
19494 * sysdeps/i386/configure: Regenerated.
19495 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19496 with .globl.
19497 * sysdeps/x86_64/configure: Regenerated.
19498 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19499 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19500 * elf/tst-unique2mod2.c: Likewise.
19501 * elf/tst-unique2mod1.c: Likewise.
19502 * elf/tst-unique1mod2.c: Likewise.
19503 * elf/tst-unique1mod1.c: Likewise.
19504 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19505 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19507 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19508 * sysdeps/mach/sysdep.h: Likewise.
19509 * sysdeps/i386/sysdep.h: Likewise.
19510 * sysdeps/i386/i386-mcount.S: Likewise.
19511 * sysdeps/x86_64/_mcount.S: Likewise.
19512 * sysdeps/x86_64/sysdep.h: Likewise.
19513 * sysdeps/sh/_mcount.S: Likewise.
19514 * sysdeps/sh/sysdep.h: Likewise.
19515 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19516 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19517 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19518 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19519 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19520 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19521 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19522 * locale/localeinfo.h: Likewise.
19523 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19524 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19525
6c55cda3
RM
195262012-07-09 Roland McGrath <roland@hack.frob.com>
19527
19528 [BZ #14336]
19529 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19530 system".
19531 * manual/message.texi (The Uniforum approach): Likewise.
19532 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19533 (glibc iconv Implementation): Likewise.
19534
638a572e
JM
195352012-07-09 Joseph Myers <joseph@codesourcery.com>
19536
19537 [BZ #14337]
19538 * math/s_clog.c (__clog): Avoid scaling a value down where that
19539 could result in underflow.
19540 * math/s_clog10.c (__clog10): Likewise.
19541 * math/s_clog10f.c (__clog10f): Likewise.
19542 * math/s_clog10l.c (__clog10l): Likewise.
19543 * math/s_clogf.c (__clogf): Likewise.
19544 * math/s_clogl.c (__clogl): Likewise.
19545 * math/libm-test.inc (clog_test): Add more tests.
19546 (clog10_test): Likewise.
19547 * sysdeps/i386/fpu/libm-test-ulps: Update.
19548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19549
261f4859
AS
195502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19551
0abaf3e4
AS
19552 [BZ #14283]
19553 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19554 by 7 not 8 to examine high bit of fractional part.
19555
261f4859
AS
19556 [BZ #14042]
19557 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19558 for call to __mcount_internal.
19559 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19560 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19561 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19562
f17ac40d
JM
195632012-07-06 Joseph Myers <joseph@codesourcery.com>
19564
9ad63c23
JM
19565 [BZ #14154]
19566 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19567 approximation for values within 0x1p-13f of an odd multiple of
19568 pi/4.
19569 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19570 exception. Add more tests.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19572
f17ac40d
JM
19573 [BZ #6778]
19574 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19575 inputs and return -1 for them. Do not check for +Inf in case not
19576 reachable for +Inf.
19577 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19578 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19580 and return -1 for them. Do not check for +Inf in case not
19581 reachable for +Inf.
19582 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19583 define.
19584 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19585 and return -1 for them. Do not check for +Inf in case not
19586 reachable for +Inf.
19587 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19588 spurious underflow.
19589 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591
fb21f89b
MF
195922012-07-06 Mike Frysinger <vapier@gentoo.org>
19593
19594 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19595
cdfe2c5e
JM
195962012-07-05 Joseph Myers <joseph@codesourcery.com>
19597
19598 [BZ #14157]
19599 [BZ #14331]
19600 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19601 could result in spurious underflow. Scale down values above
19602 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19603 * math/s_csqrtf.c (__csqrtf): Likewise.
19604 * math/s_csqrtl.c (__csqrtl): Likewise.
19605 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19606 spurious underflow.
19607 * sysdeps/i386/fpu/libm-test-ulps: Update.
19608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19609
70d35b67
AS
196102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19611
704bc459
AS
19612 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19613 xopen-msg.sed.
19614 * catgets/xopen-msg.awk: New file.
19615 * catgets/xopen-msg.sed: Removed.
19616
70d35b67
AS
19617 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19618 po2text.sed.
19619 * intl/po2test.awk: New file.
19620 * intl/po2test.sed: Removed.
19621
ca61cf32
JM
196222012-07-04 Joseph Myers <joseph@codesourcery.com>
19623
19624 [BZ #14328]
19625 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19626 or multiply small sinh result by itself.
19627 * math/s_ctanf.c (__ctanf): Likewise.
19628 * math/s_ctanh.c (__ctanh): Likewise.
19629 * math/s_ctanhf.c (__ctanhf): Likewise.
19630 * math/s_ctanhl.c (__ctanhl): Likewise.
19631 * math/s_ctanl.c (__ctanl): Likewise.
19632 * math/libm-test.inc (ctan_test_tonearest): New function.
19633 (ctan_test_towardzero): Likewise.
19634 (ctan_test_downward): Likewise.
19635 (ctan_test_upward): Likewise.
19636 (ctanh_test_tonearest): Likewise.
19637 (ctanh_test_towardzero): Likewise.
19638 (ctanh_test_downward): Likewise.
19639 (ctanh_test_upward): Likewise.
19640 (main): Call these new functions.
19641 * sysdeps/i386/fpu/libm-test-ulps: Update.
19642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19643
ca48a46a
MF
196442012-07-03 Mike Frysinger <vapier@gentoo.org>
19645
19646 * .gitignore: Delete /ports entry.
19647
9d63d37d
AJ
196482012-07-03 Andreas Jaeger <aj@suse.de>
19649
19650 * po/bg.po: Update from translation team.
19651 * po/cs.po: Likewise.
19652 * po/de.po: Likewise.
19653 * po/hr.po: Likewise.
19654 * po/nl.pl: Likewise.
19655 * po/pl.po: Likewise.
19656 * po/vi.po: Likewise.
19657
370ca3d2
JM
196582012-07-03 Joseph Myers <joseph@codesourcery.com>
19659
95f5a9a8
JM
19660 * Makeconfig [!+link] (+link-before-libc): New variable.
19661 [!+link] (+link-after-libc): Likewise.
19662 [!+link] (+link-tests): Likewise.
19663 [!+link] (+link): Define in terms of $(+link-before-libc) and
19664 $(+link-after-libc).
19665 [!+link-static] (+link-static-before-libc): New variable.
19666 [!+link-static] (+link-static-after-libc): Likewise.
19667 [!+link-static] (+link-static-tests): Likewise.
19668 [!+link-static] (+link-static): Define in terms of
19669 $(+link-static-before-libc) and $(+link-static-after-libc).
19670 [build-shared] (link-libc-before-gnulib): New variable.
19671 [build-shared] (link-libc-tests): Likewise.
19672 [build-shared] (link-libc): Define in terms of
19673 $(link-libc-before-gnulib).
19674 [!build-shared] (link-libc-tests): New variable.
19675 (link-libc-static-tests): New variable.
19676 [!gnulib] (gnulib-arch): New variable.
19677 [!gnulib] (gnulib-tests): Likewise.
19678 [!gnulib] (static-gnulib-arch): Likewise.
19679 [!gnulib] (static-gnulib-tests): Likewise.
19680 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19681 Define with "=" instead of ":=".
19682 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19683 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19684 * Rules (binaries-all-notests): New variable.
19685 (binaries-all-tests): Likewise.
19686 (binaries-static-notests): Likewise.
19687 (binaries-static-tests): Likewise.
19688 (binaries-all): Define using $(binaries-all-notests) and
19689 $(binaries-all-tests).
19690 (binaries-static): Define using $(binaries-static-notests) and
19691 $(binaries-static-tests).
19692 (binaries-shared-tests): New variable.
19693 (binaries-shared-notests): Likewise.
19694 (binaries-shared): Remove variable.
19695 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19696 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19697 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19698 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19699 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19700 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19701 * elf/Makefile (sln-modules): New variable.
19702 (extra-objs): Add $(sln-modules:=.o).
19703 (ldconfig-modules): Add static-stubs.
19704 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19705 * elf/static-stubs.c: New file.
19706
7a845b2c
JM
19707 [BZ #14283]
19708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19709 by 7 not 8 to examine high bit of fractional part. Use volatile
19710 variables when splitting into final array of floats if
19711 __FLT_EVAL_METHOD__ != 0.
19712 * math/libm-test.inc (cos_test): Add another test.
19713 (sin_test): Likewise.
19714 * sysdeps/i386/fpu/libm-test-ulps: Update.
19715
e2283f38
JM
19716 [BZ #14273]
19717 * math/libm-test.inc (cosh_test): Add more tests.
19718
370ca3d2
JM
19719 * version.h (RELEASE): Set to "development".
19720 (VERSION): Set to "2.16.90".
19721
ee9247c3
CD
197222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19723
19724 * NEWS: Update copyright. Remove last-updated date.
19725 Mention math library bug fixes and timezone data changes.
19726 * README: Mention GNU/Hurd, x32, and HPPA support status.
19727
4648c381
TS
197282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19729
19730 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19731
aac78a43
AJ
197322012-06-27 Andreas Jaeger <aj@suse.de>
19733
19734 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19735
ed3dbfad
AJ
197362012-06-25 Andreas Jaeger <aj@suse.de>
19737
19738 * sysdeps/s390/fpu/libm-test-ulps: Update.
19739
4d0ee855
AS
197402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19741 Thomas Schwinge <thomas@codesourcery.com>
19742
19743 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19744 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19746 fanotify_mark.
19747
af1bce34
TS
197482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19749
a9fa33ba
TS
19750 * sysdeps/mach/start.c: Remove file.
19751 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19752 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19753 * sysdeps/sh/init-first.c: Likewise.
19754
58f902b8
TS
19755 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19756 registers for frame unwinding purposes, add CFI directives.
19757 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19759 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19760 Likewise.
19761
1518f58b
TS
19762 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19763 __fortify_fail returning.
19764 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19765
db9b5059
TS
19766 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19767 sysdeps/sh/____longjmp_chk.S.
19768 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19769 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19770 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19771 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19772
967705fe
TS
19773 * sysdeps/sh/abort-instr.h: New file.
19774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19775 process in case exit returns.
19776
a9def8c4
TS
19777 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19778 initialize the GOT register before use.
19779
2a649725
TS
19780 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19781 calculation of ARGC > 4.
19782
af1bce34
TS
19783 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19784 meaningful names to some local labels.
19785
d230f50a
KK
197862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19787 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19788
19789 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19790 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19791 (__arch_compare_and_exchange_val_16_acq): Likewise.
19792 (__arch_compare_and_exchange_val_32_acq): Likewise.
19793 (atomic_exchange_and_add): Fix gUSA sequence.
19794 (atomic_add): Likewise.
19795 (atomic_add_negative): Likewise.
19796 (atomic_add_zero): Likewise.
19797 (atomic_bit_test_set): Likewise.
19798
0479b305
AS
197992012-06-22 Andreas Schwab <schwab@redhat.com>
19800
19801 [BZ #13579]
19802 * include/link.h (struct link_map): Add l_free_initfini.
19803 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19804 l_initfini.
19805 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19806 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19807 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19808 set.
19809
0e3933b9
CD
198102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19811
19812 * configure.in: Use AC_LANG_SOURCE.
19813 * configure: Regenerate.
19814
4248b1b1
RM
198152012-06-22 Roland McGrath <roland@hack.frob.com>
19816
19817 * configure.in (libc_cv_localstatedir): New substituted variable.
19818 * configure: Regenerated.
19819 * config.make.in (localstatedir): New variable, substituted from
19820 libc_cv_localstatedir.
19821 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19822 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19823 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19824 * sysdeps/gnu/configure: Regenerated.
19825
006dd861
JL
198262012-06-21 Jeff Law <law@redhat.com>
19827
19828 [BZ #14277]
19829 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19830 free. Simplify list management for _LIBC case.
19831
79662d42
JM
198322012-06-21 Joseph Myers <joseph@codesourcery.com>
19833
b7abb4bf
JM
19834 [BZ #14273]
19835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19836 Clear sign bit of 64-bit integer value before comparing against
19837 overflow value.
19838
79662d42
JM
19839 * sysdeps/mach/configure: Regenerated.
19840
1f150908
L
198412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19842
19843 [BZ #14278]
19844 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19845
28363bbf
JL
198462012-06-21 Jeff Law <law@redhat.com>
19847
19848 [BZ #13882]
19849 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19850 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19851 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19852 * elf/dl-open.c (dl_open_worker): Likewise.
19853
09615db4
CD
198542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19855
19856 * scripts/list-sources.sh: Scan PORTS for translations.
19857 * po/libc.pot: Regenerated.
19858
2174c6dd
AJ
198592012-06-21 Andreas Jaeger <aj@suse.de>
19860
19861 [BZ #12194]
19862 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19863 warning.
19864 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19865 * bits/byteswap-16.h (__bswap_16): Likewise.
19866 * bits/byteswap.h (__bswap_constant_16): Likewise.
19867
3ee947b1
L
198682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19869
19870 [BZ #14117]
a2f34833
L
19871 * sysdeps/i386/fpu_control.h: Removed.
19872 * sysdeps/x86_64/fpu_control.h: Moved to ...
19873 * sysdeps/x86/fpu_control.h: Here.
19874
3ee947b1
L
19875 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19876 (_FPU_SETCW): Likewise.
19877
ed1825f8
L
198782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19879
25f1282a
L
19880 [BZ #14117]
19881 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19882 * sysdeps/x86/fpu/bits/mathinline.h: This.
19883 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19884
ed1825f8
L
19885 [BZ #14050]
19886 [BZ #14117]
19887 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19888 functions if __x86_64__ is defined.
19889
36d54b74
CLT
198902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19891
19892 * string/endian.h: Add !__ASSEMBLER__ condition for including
19893 conversion interfaces.
19894
10285c21
JM
198952012-06-15 Joseph Myers <joseph@codesourcery.com>
19896
19897 [BZ #14241]
19898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19899 of ABS(x) in calculating zero to negative powers other than odd
19900 integers.
19901 * math/libm-test.inc (pow_test): Add more tests.
19902
06c5abbd
AJ
199032012-06-15 Andreas Jaeger <aj@suse.de>
19904
19905 * manual/contrib.texi (Contributors): Update entry of Liubov
19906 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19907 Machado Filho.
19908
a3aeac40
CH
199092012-06-15 Cyril Hrubis <metan@ucw.cz>
19910
19911 * string/string.h: Add __wur to GNU version of strerror_r.
19912
49bdf4c1
L
199132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19914
19915 [BZ #14229]
19916 * string/Makefile (tests): Add tst-strtok_r.
19917 * string/tst-strtok_r.c: New file.
19918 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19919 RAX_LP/RDX_LP on SAVE_PTR.
19920
834f9b8d
RM
199212012-06-14 Roland McGrath <roland@hack.frob.com>
19922
19923 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19924
75fa1921
JM
199252012-06-14 Joseph Myers <joseph@codesourcery.com>
19926
19927 * libm_test.inc (csqrt_test): Allow more spurious underflow
19928 exceptions.
19929 (j0_test): Likewise.
19930 (j1_test): Likewise.
19931 (y0_test): Likewise.
19932 (y1_test): Likewise.
19933
771766df
CD
199342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19935
19936 * po/Makefile (libc.pot): Use UTF-8 charset.
19937
ceb9e56b
PP
199382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19939
19940 [BZ #14210]
19941 Suppress sign-conversion warning from FD_SET.
19942 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19943 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19944 not unsigned long int.
19945 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19946
ddb28975
L
199472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19948
19949 [BZ #14050]
19950 [BZ #14117]
19951 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19952 __extern_always_inline instead of __extern_inline.
19953 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19954 (__signbit): Likewise.
19955 (__signbitl): Support C++ namespace.
19956 (lrintf): New inline function.
19957 (lrint): Likewise.
19958 (llrintf): Likewise.
19959 (llrint): Likewise.
19960 (fmaxf): Likewise.
19961 (fmax): Likewise.
19962 (fminf): Likewise.
19963 (fmin): Likewise.
19964 (rint): Likewise.
19965 (rintf): Likewise.
19966 (ceil): Likewise.
19967 (ceilf): Likewise.
19968 (floor): Likewise.
19969 (floorf): Likewise.
19970 (nearbyint): Likewise.
19971 (nearbyintf): Likewise.
19972
d7b4fb26
TS
199732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19974
19975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19976 non-default versions.
19977
eb55f5c2
RM
199782012-06-11 Roland McGrath <roland@hack.frob.com>
19979
19980 [BZ #14218]
19981 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19982
366af02c
TS
199832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19984
99ff6e5c
TS
19985 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19986 (FE_UPWARD, FE_DOWNWARD): Don't define.
19987 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19988 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19989
366af02c
TS
19990 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19991 reading it.
19992 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19993 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19994
793ea851
KK
199952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19996
19997 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19999 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20000 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20001
a728a38f
L
200022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 [BZ #14117]
c08010c7
L
20005 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20006 * sysdeps/i386/fpu/Implies: New file.
20007 * sysdeps/x86_64/fpu/Implies: Likewise.
20008 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20009 * sysdeps/x86/fpu/bits/fenv.h: This.
20010
a728a38f
L
20011 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20012 __SSE_MATH__.
20013
6e230d11
SP
200142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20015
20016 [BZ #14134]
20017 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20018 character 0xffff that matches the last element of the
20019 conversion table.
20020
1b671feb
AZ
200212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20022
20023 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20024 fmodl commit.
20025
6043738b
AZ
200262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027
20028 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20029 values higher than 25.6283.
20030
34ae0b32
AZ
200312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20032
20033 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20034 subnormal exponent extraction and add some __builtin_expect.
20035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20036 Fix for subnormal mantissa calculation.
20037
1214ec8f
MF
200382012-06-04 Mike Frysinger <vapier@gentoo.org>
20039
20040 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20041 cpu2 is -1 and errno is not ENOSYS.
20042
f3d1f93c
L
200432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20044
20045 [BZ #14117]
0e4a3cd7
L
20046 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20047 * sysdeps/x86/bits/string.h: This.
20048 * sysdeps/x86_64/bits/string.h: Removed.
20049
6704c645
L
20050 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20051 if not compiling for x86-64, but compiling for >= i486.
20052
48495318
L
20053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20054 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20055
14adcbfc
L
20056 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20057 New macro from Linux kernel 3.4.0.
20058 (FP_XSTATE_MAGIC2): Likewise.
20059 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20060 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20061 (struct _fpx_sw_bytes): New struct.
20062 (struct _xsave_hdr): Likewise.
20063 (struct _ymmh_state): Likewise.
20064 (struct _xstate): Likewise.
20065
68e408ab
L
20066 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20067 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20069 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20070 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20071 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20072
f3d1f93c
L
20073 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20074 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20075 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20076 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20077 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20078 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20079
d9dc34cd
TMQMF
200802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20081
20082 [BZ #13743]
20083 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20084 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20085 (sysdep_headers): Include sys/platform/ppc.h.
20086 * sysdeps/powerpc/test-gettimebase.c: Test for
20087 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20088 * manual/Makefile (appendices): Include platform.texi.
20089 * manual/contrib.texi (Contributors): Update @node pointers.
20090 * manual/maint.texi (Maintenance): Likewise.
20091 (Platform): New node.
20092 * manual/platform.texi: New file. Document the new features.
20093
4af3879c
SP
200942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20095 Jakub Jelinek <jakub@redhat.com>
20096
20097 [BZ #14188]
20098 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20099 where __builtin_expect is unavailable.
20100
2fd6ff13
DM
201012012-06-03 David S. Miller <davem@davemloft.net>
20102
20103 * stdlib/longlong.h: Updated from GCC.
20104
173f7220
AS
201052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20106
20107 [BZ #14042]
20108 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20109 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20110 __mcount_internal.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20112 (GLIBC_2.16): Likewise.
20113
f34a1c6f
L
201142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20115
20116 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20117
88a4576f
JM
201182012-06-01 Joseph Myers <joseph@codesourcery.com>
20119
ea32bcdd
JM
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20121 (default-abi): New variable.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20123 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20124 variable.
20125 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20126 Likewise.
20127 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20128 Likewise.
20129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20130 Likewise.
20131
88a4576f
JM
20132 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20133 definition. Document in comment.
20134
402fe938
DM
201352012-06-01 David S. Miller <davem@davemloft.net>
20136
20137 * stdlib/longlong.h: Updated from GCC.
20138
3553723f
L
201392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20140
20141 [BZ #14117]
3bd872c4
L
20142 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20143 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20144 sys/debugreg.h sys/io.h here.
20145 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20146 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20147 sys/io.h.
20148 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20149 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20150 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20151 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20152 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20153 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20154
3553723f
L
20155 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20156 Define only if __x86_64__ is defined.
20157
4842e4fe
JM
201582012-06-01 Joseph Myers <joseph@codesourcery.com>
20159
c5bfe3d5
JM
20160 [BZ #14048]
20161 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20162 Use int64_t for variable i.
20163 * math/libm-test.inc (fmod_test): Add more tests.
20164
4842e4fe
JM
20165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20166 z computation is not scheduled after fetestexcept.
20167 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20168 Use math_force_eval instead of asm to ensure calculation scheduled
20169 before exception test.
20170 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20171 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20172
efb73488
AJ
201732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20174
20175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20176 computation is not scheduled after fetestexcept.
20177
29bcce7c
L
201782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20179
20180 [BZ #14117]
20181 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20182 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20183
73a68f94
AZ
201842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20185
20186 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20187 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20188
67b6df78
L
201892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20190
edf2933a 20191 [BZ #14117]
ebc64a18
L
20192 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20193 <bits/wordsize.h>.
20194 (__WCHAR_MIN): Support __WORDSIZE == 64.
20195 (__WCHAR_MAX): Likewise.
20196
edf2933a
L
20197 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20199
57c6cf40
L
20200 [BZ #14183]
20201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20202 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20203
67b6df78 20204 [BZ #14117]
8eb6281e
L
20205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20206 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20207
aac639f4
L
20208 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20209 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20210
67b6df78
L
20211 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20212 Defined to 1 if __x86_64__ isn't defined.
20213 (_STAT_VER_LINUX_OLD): New.
20214 (st_atime): Remove duplicate.
20215 (st_mtime): Likewise.
20216 (st_ctime): Likewise.
20217
1c2cfe81
DM
202182012-05-31 David S. Miller <davem@davemloft.net>
20219
20220 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20221 entries.
20222
5be8418c
AS
202232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20224
e7725326
AS
20225 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20226 gen-libm-test.pl.
20227
5be8418c
AS
20228 [BZ #14132]
20229 * elf/dl-reloc.c: Include <_itoa.h>.
20230 (_dl_reloc_bad_type): Remove use of INTUSE.
20231 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20232 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20233 * stdio-common/psiginfo.c (psiginfo): Likewise.
20234 * stdio-common/psignal.c (psignal): Likewise.
20235 * string/strsignal.c (strsignal): Likewise.
20236 * include/signal.h (_sys_siglist): Declare hidden proto.
20237 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20238 INTVARDEF with libc_hidden_data_def.
20239 * stdio-common/itoa-udigits.c: Likewise.
20240 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20241 (_itoa_lower_digits_internal): Remove declaration.
20242 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20243 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20244 (_sys_sigabbrev_internal): Remove aliases.
20245 (_sys_siglist): Define hidden alias.
20246
507352f1
MT
202472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20248
20249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20250 bits/sysctl.h.
20251
42bbb1c3
L
202522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20253
20254 [BZ #14117]
6bd784b6
L
20255 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20256 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20257
8bca20f0
L
20258 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20259 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20260 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20261 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20263 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20264
f9e890a9
L
20265 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20266 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20267 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20268
471101a1
L
20269 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20270 with __addr.
20271 (insw): Likewise.
20272 (insl): Likewise.
20273 (outsb): Likewise.
20274 (outsw): Likewise.
20275 (outsl): Likewise.
20276
6451c862
L
20277 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20278 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20279 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20280
a254b8c9
L
20281 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20282 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20283 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20284 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20285 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20286 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20287
b8dfdd92
L
20288 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20289 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20290
578cd270
L
20291 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20292 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20293
de662f5f
L
20294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20296 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20297
25653439
L
20298 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20299 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20300 to ...
20301 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20302
6bad24a0
L
20303 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20304 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20305 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20306
42bbb1c3
L
20307 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20308 for x86-64.
20309 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20310
2d10d547
JM
203112012-05-31 Joseph Myers <joseph@codesourcery.com>
20312
20313 * math/math.h (M_El): Use two more decimal places.
20314 (M_LOG2El): Likewise.
20315 (M_LOG10El): Likewise.
20316 (M_LN2l): Likewise.
20317 (M_LN10l): Likewise.
20318 (M_PIl): Likewise.
20319 (M_PI_2l): Likewise.
20320 (M_PI_4l): Likewise.
20321 (M_1_PIl): Likewise.
20322 (M_2_PIl): Likewise.
20323 (M_2_SQRTPIl): Likewise.
20324 (M_SQRT2l): Likewise.
20325 (M_SQRT1_2l): Likewise.
20326
f230c29b
DM
203272012-05-31 David S. Miller <davem@davemloft.net>
20328
20329 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20330 values between float registers.
20331 * sysdeps/sparc/sparc64/memset.S: Likewise.
20332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20333
fed806c3
MF
203342012-05-31 Mike Frysinger <vapier@gentoo.org>
20335
20336 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20337 -D_FORTIFY_SOURCE=1.
20338 (CPPFLAGS-tst-longjmp_chk.c): Define.
20339 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20340 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20341 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20342 CFLAGS-tst-wchar-h.c.
20343
30917259
MP
203442012-05-31 Marek Polacek <polacek@redhat.com>
20345
20346 [BZ #14132]
20347 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20348 __endmntent_internal): Remove declaration.
20349 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20350 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20351 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20352
1c58d5dc
DM
203532012-05-30 David S. Miller <davem@davemloft.net>
20354
20355 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20356 (___Q_simulate_exceptions): Use real FP ops rather than writing
20357 into the %fsr.
20358 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20359 Likewise.
20360
7dc00e0d
L
203612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20362
20363 [BZ #14117]
0bd53985
L
20364 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20365 * sysdeps/x86/bits/xtitypes.h: This.
20366
3a257e66
L
20367 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20368 * sysdeps/x86/bits/wordsize.h: This.
20369
62f62904
L
20370 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20371 * sysdeps/x86/bits/huge_vall.h: This.
20372
404fe9d9
L
20373 * sysdeps/i386/bits/select.h: Removed.
20374 * sysdeps/x86_64/bits/select.h: Renamed to ...
20375 * sysdeps/x86/bits/select.h: This.
20376
d48d0446
L
20377 * sysdeps/i386/bits/setjmp.h: Removed.
20378 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20379 * sysdeps/x86/bits/setjmp.h: This.
20380
7dc00e0d
L
20381 * sysdeps/i386/bits/mathdef.h: Removed.
20382 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20383 * sysdeps/x86/bits/mathdef.h: This.
20384
03277f8f
AS
203852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20386
20387 [BZ #14132]
20388 * include/sys/socket.h (__connect_internal)
20389 (__libc_sa_len_internal): Remove declaration.
20390 (__connect, __libc_sa_len): Declare hidden_proto.
20391 (SA_LEN): Remove use of INTUSE.
20392 * socket/connect.c: Add libc_hidden_def.
20393 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20394 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20395 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20396 alias.
20397 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20398 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20399 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20400 of adding _internal alias.
20401
13764867
L
204022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20403
20404 [BZ #14117]
6bd97696
L
20405 * sysdeps/i386/bits/link.h: Removed.
20406 * sysdeps/i386/bits/linkmap.h: Likewise.
20407 * sysdeps/x86_64/bits/link.h: Renamed to ...
20408 * sysdeps/x86/bits/link.h: This.
20409 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20410 * sysdeps/x86/bits/linkmap.h: This.
20411
f726f0bb
L
20412 * sysdeps/i386/bits/endian.h: Removed.
20413 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20414 * sysdeps/x86/bits/endian.h: This.
20415
13764867
L
20416 * sysdeps/i386/bits/byteswap.h: Removed.
20417 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20418 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20419 * sysdeps/x86/bits/byteswap.h: This.
20420 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20421 * sysdeps/x86/bits/byteswap-16.h: This.
20422 * sysdeps/i386/Implies: Add x86.
20423 * sysdeps/x86_64/Implies: Likewise.
20424
ae251b0b
DM
204252012-05-30 David S. Miller <davem@davemloft.net>
20426
20427 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20428 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20430 (FP_TRAPPING_EXCEPTIONS): Define.
20431 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20432 (FP_TRAPPING_EXCEPTIONS): Define.
20433 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20434 subnormals only when inexact has been signalled or underflow
20435 exceptions are enabled.
20436 (_FP_PACK_CANONICAL): Likewise.
20437
d5c90867
L
204382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20439
20440 [BZ #14183]
20441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20442 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20443
63f1549e
RH
204442012-05-30 Richard Henderson <rth@twiddle.net>
20445
8d8f2279
RH
20446 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20447 with #ifndef NOT_IN_libc.
20448
63f1549e
RH
20449 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20450 marked to avoid plt entry.
20451
0ab0291b
L
204522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20453
20454 [BZ #14112]
20455 * Makeconfig (default-abi): New macro.
20456 (abi-includes): Likewise.
20457 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20458 $(abi-$(default-abi)-lib-soname) for soname if defined.
20459 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20460 abi-variants.
20461 * Makefile (installed-stubs): Likewise.
20462 * include/stubs-biarch.h: Removed.
20463 * scripts/lib-names.awk: Only handle one library at a time.
20464 * scripts/soversions.awk: Remove WORDSIZE support.
20465 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20466 entries.
20467 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20468 Removed.
20469 (syscall-list-default-condition): Likewise.
20470 (syscall-list-default-condition): Likewise.
20471 (syscall-list-includes): Likewise.
20472 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20473 syscall-list-* with abi-*. Handle undefined abi-variants.
20474 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20475 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20476 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20478 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20479 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20480 Removed.
20481 (syscall-list-32-options): Likewise.
20482 (syscall-list-32-condition): Likewise.
20483 (syscall-list-64-options): Likewise.
20484 (syscall-list-64-condition): Likewise.
20485 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20486 macro.
20487 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20488 Renamed to ...
20489 (abi-*): This.
20490 (abi-64-ld-soname): New macro.
20491 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20492 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20493 Renamed to ...
20494 (abi-*): This.
20495 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20496 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20497
4da0431d
JM
204982012-05-30 Joseph Myers <joseph@codesourcery.com>
20499
3a85279c
JM
20500 * sysdeps/unix/sysv/linux/kernel-features.h
20501 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20502 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20503 include <kernel-features.h>.
20504 [!__NR_ftruncate64]: Remove conditional code.
20505 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20506 [__NR_ftruncate64]: Make code unconditional.
20507 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20508 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20509 include <kernel-features.h>.
20510 [!__NR_ftruncate64]: Remove conditional code.
20511 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20512 [__NR_ftruncate64]: Make code unconditional.
20513 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20515 include <kernel-features.h>.
20516 [!__NR_ftruncate64]: Remove conditional code.
20517 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20518 [__NR_ftruncate64]: Make code unconditional.
20519 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20521 include <kernel-features.h>.
20522 [!__NR_ftruncate64]: Remove conditional code.
20523 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20524 [__NR_ftruncate64]: Make code unconditional.
20525 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20526
4da0431d
JM
20527 * configure.in (libc_cv_fpie): Weaken to a compile test using
20528 LIBC_TRY_CC_OPTION.
20529 * configure: Regenerated.
20530
11ef492c
AK
205312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20532
20533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20537 Refreshed.
20538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20544 Refreshed.
20545
d66ef399
DM
205462012-05-27 David S. Miller <davem@davemloft.net>
20547
20548 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20549 (___Q_zero): New.
20550 (__Q_simulate_exceptions): Return void. Change to simulate
20551 exceptions by writing into the %fsr.
20552 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20553 (__Qp_handle_exceptions): Likewise.
20554 (numbers): Delete.
20555 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20556 __Qp_handle_exceptions.
20557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20558 __Qp_handle_exceptions.
20559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20560 as unused and give dummy FP_RND_NEAREST initializer.
20561 (FP_INHIBIT_RESULTS): Define.
20562 (___Q_simulate_exceptions): Update declaration.
20563 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20564 formatting.
20565 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20566 as unused and give dummy FP_RND_NEAREST initializer.
20567 (__Qp_handle_exceptions): Update declaration.
20568 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20569 formatting.
20570
04fb54b5
TS
205712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20572
20573 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20574 the temporary FPU control word.
20575 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20576 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20577 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20578 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20580 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20581 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20582 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20583 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20584 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20586
3f99608f
KK
205872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20588
20589 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20590 fields.
20591
65a4de4e
CLT
205922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20593
20594 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20595 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20596 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20597 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20598 Likewise.
20599 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20600 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20601 Likewise.
20602
15749d40
UD
206032012-05-27 Ulrich Drepper <drepper@gmail.com>
20604
20605 * po/h.po: Update from translation team.
20606
25dbcb27
AS
206072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20608
3d3f8e55
AS
20609 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20610
25dbcb27
AS
20611 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20612 handling of denormals.
20613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20614 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20615 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20616 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20620 Likewise.
20621
7ad47a80 206222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20623
20624 [BZ #14152]
20625 * math/libm-test.inc (fma_test): Don't always expect underflow
20626 exception.
20627
9c6ea9fa
SP
206282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20629
20630 [BZ #12416]
20631 * elf/tst-execstack.c: Include stackinfo.h.
20632 (do_test): Adjust test case to ensure that pthread_getattr_np
20633 behaviour remains the same after marking stack executable.
20634
a8239222
JM
206352012-05-25 Joseph Myers <joseph@codesourcery.com>
20636
20637 * sysdeps/unix/sysv/linux/kernel-features.h
20638 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20639 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20640 kernel-features.h.
20641 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20642 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20643 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20644 kernel-features.h.
20645 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20646 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20647
918b5606
L
206482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 * configure.in: Define the default includes to being none.
20651 * configure: Regenerated.
20652
3a097cc7
RM
206532012-05-25 Roland McGrath <roland@hack.frob.com>
20654
8422c9a5
RM
20655 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20656 * sysdeps/x86_64/setjmp.S: Likewise.
20657 * sysdeps/i386/bsd-setjmp.S: Likewise.
20658 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20659 * sysdeps/i386/setjmp.S: Likewise.
20660 * sysdeps/i386/__longjmp.S: Likewise.
20661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20662 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20663
3a097cc7
RM
20664 * include/stap-probe.h: New file.
20665 * configure.in: Handle --enable-systemtap.
20666 * configure: Regenerated.
20667 * config.h.in (USE_STAP_PROBE): New #undef.
20668 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20669 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20670 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20671
21708942
JM
206722012-05-25 Joseph Myers <joseph@codesourcery.com>
20673
20674 [BZ #13717]
20675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20676 to 2.4.0 where earlier.
20677 * sysdeps/unix/sysv/linux/configure: Regenerated.
20678 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20679 <kernel-features.h>.
20680 [__ASSUME_32BITUIDS]: Make code unconditional.
20681 [!__ASSUME_32BITUIDS]: Remove conditional code.
20682 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20683 <kernel-features.h>.
20684 [__ASSUME_32BITUIDS]: Make code unconditional.
20685 [!__ASSUME_32BITUIDS]: Remove conditional code.
20686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20687 [__ASSUME_32BITUIDS]: Make code unconditional.
20688 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20689 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20690 <kernel-features.h>.
20691 [__ASSUME_32BITUIDS]: Make code unconditional.
20692 [!__ASSUME_32BITUIDS]: Remove conditional code.
20693 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20694 <kernel-features.h>.
20695 [__ASSUME_32BITUIDS]: Make code unconditional.
20696 [!__ASSUME_32BITUIDS]: Remove conditional code.
20697 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20698 <kernel-features.h>.
20699 [__ASSUME_32BITUIDS]: Make code unconditional.
20700 [!__ASSUME_32BITUIDS]: Remove conditional code.
20701 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20702 <kernel-features.h>.
20703 [__ASSUME_32BITUIDS]: Make code unconditional.
20704 [!__ASSUME_32BITUIDS]: Remove conditional code.
20705 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20706 <kernel-features.h>.
20707 [__ASSUME_32BITUIDS]: Make code unconditional.
20708 [!__ASSUME_32BITUIDS]: Remove conditional code.
20709 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
20730 <kernel-features.h>.
20731 [__NR_setresgid] (__setresgid): Do not declare.
20732 [__ASSUME_32BITUIDS]: Make code unconditional.
20733 [!__ASSUME_32BITUIDS]: Remove conditional code.
20734 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20735 <kernel-features.h>.
20736 [__NR_setresuid] (__setresuid): Do not declare.
20737 [__ASSUME_32BITUIDS]: Make code unconditional.
20738 [!__ASSUME_32BITUIDS]: Remove conditional code.
20739 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20740 <kernel-features.h>.
20741 [__ASSUME_32BITUIDS]: Make code unconditional.
20742 [!__ASSUME_32BITUIDS]: Remove conditional code.
20743 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20744 <kernel-features.h>.
20745 [__ASSUME_32BITUIDS]: Make code unconditional.
20746 [!__ASSUME_32BITUIDS]: Remove conditional code.
20747 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20748 <kernel-features.h>.
20749 [__ASSUME_32BITUIDS]: Make code unconditional.
20750 [!__ASSUME_32BITUIDS]: Remove conditional code.
20751 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20752 <kernel-features.h>.
20753 [__ASSUME_32BITUIDS]: Make code unconditional.
20754 [!__ASSUME_32BITUIDS]: Remove conditional code.
20755 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20756 <kernel-features.h>.
20757 [__ASSUME_32BITUIDS]: Make code unconditional.
20758 [!__ASSUME_32BITUIDS]: Remove conditional code.
20759 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
20780 (__ASSUME_SETRESUID_SYSCALL): Remove.
20781 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20782 (__ASSUME_32BITUIDS): Likewise.
20783 (__ASSUME_LDT_WORKS): Likewise.
20784 (__ASSUME_O_DIRECTORY): Likewise.
20785 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20786 architecture but not kernel version.
20787 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20788 (__ASSUME_MMAP2_SYSCALL): Likewise.
20789 (__ASSUME_STAT64_SYSCALL): Likewise.
20790 (__ASSUME_IPC64): Likewise.
20791 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20792 <kernel-features.h>.
20793 [__ASSUME_32BITUIDS]: Make code unconditional.
20794 [!__ASSUME_32BITUIDS]: Remove conditional code.
20795 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20796 <kernel-features.h>.
20797 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20798 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20799 132096]: Remove conditional code.
20800 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20801 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20802 <kernel-features.h>.
20803 [__ASSUME_32BITUIDS]: Make code unconditional.
20804 [!__ASSUME_32BITUIDS]: Remove conditional code.
20805 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20806 <kernel-features.h>.
20807 [__ASSUME_32BITUIDS]: Make code unconditional.
20808 [!__ASSUME_32BITUIDS]: Remove conditional code.
20809 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20810 <kernel-features.h>.
20811 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20812 unconditional.
20813 (__setresgid): Do not declare.
20814 [__ASSUME_32BITUIDS]: Make code unconditional.
20815 [!__ASSUME_32BITUIDS]: Remove conditional code.
20816 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20817 <kernel-features.h>.
20818 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20819 unconditional.
20820 (__setresuid): Do not declare.
20821 [__ASSUME_32BITUIDS]: Make code unconditional.
20822 [!__ASSUME_32BITUIDS]: Remove conditional code.
20823 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20824 <kernel-features.h>.
20825 [__ASSUME_32BITUIDS]: Make code unconditional.
20826 [!__ASSUME_32BITUIDS]: Remove conditional code.
20827 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20828 <kernel-features.h>.
20829 [__ASSUME_32BITUIDS]: Make code unconditional.
20830 [!__ASSUME_32BITUIDS]: Remove conditional code.
20831
a386f1cc
RH
208322012-05-25 Richard Henderson <rth@twiddle.net>
20833
20834 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20835 dl_hwcap to ifunc resolver.
20836 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20837 elf_ifunc_invoke.
20838 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20839 dl_hwcap to ifunc resolver.
20840 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20841
b6550497
JM
208422012-05-24 Joseph Myers <joseph@codesourcery.com>
20843
20844 [BZ #14153]
20845 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20846 for |x| <= 2**-26, not 2**-57.
20847 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20848 exception.
20849
b0bc23a1
JL
208502012-05-24 Jeff Law <law@redhat.com>
20851
20852 * stdio-common/Makefile (tests): Add bug25.
20853 * stdio-common/bug25.c: New test.
20854
347c92e9
L
208552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20856
20857 [BZ #13576]
20858 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20859 multiple of MALLOC_ALIGNMENT in size.
20860 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20861
6bcc8b3f
JM
208622012-05-24 Joseph Myers <joseph@codesourcery.com>
20863
20864 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20865 Require >= 256.
20866 (FILENAME_MAX): Use macro-int-constant.
20867 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20868 (_IOFBF): Use macro-int-constant.
20869 (_IOLBF): Likewise.
20870 (_IONBF): Likewise.
20871 (SEEK_CUR): Likewise.
20872 (SEEK_END): Likewise.
20873 (SEEK_SET): Likewise.
20874 (TMP_MAX): Likewise.
20875 (EOF): Use macro-int-constant. Require < 0.
20876 (NULL): Use macro-constant. Require == 0.
20877 (stdin): Require type to be FILE *.
20878 (stdout): Likewise.
20879 (stderr): Likewise.
20880 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20881 macro-int-constant.
20882 (EXIT_SUCCESS): Likewise.
20883 (NULL): Use macro-constant. Require == 0.
20884 (RAND_MAX): Use macro-int-constant.
20885 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20886 [C99-based standards] (strtof): Require function.
20887 [C99-based standards] (strtold): Likewise.
20888 [C99-based standards] (strtoll): Likewise.
20889 [C99-based standards] (strtoull): Likewise.
20890 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20891 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20892 [ISO || ISO99 || ISO11] (math.h): Likewise.
20893 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20894 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20896
d18ea0c5
AS
208972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20898
20899 [BZ #14132]
56d25bb8
AS
20900 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20901 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20902 * intl/dgettext.c (DCGETTEXT): Likewise.
20903 * intl/gettext.c (DCGETTEXT): Likewise.
20904 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20905 * posix/regex_internal.h (gettext): Likewise.
20906 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20907 Remove declaration.
20908 * include/argz.h (__argz_count_internal)
20909 (__argz_stringify_internal): Remove declaration.
20910 (__argz_count, __argz_stringify): Declare hidden proto.
20911 * intl/dcgettext.c: Remove use of INTDEF.
20912 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20913 * string/argz-stringify.c: Likewise.
20914 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20915 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20916 Declare hidden proto.
d18ea0c5
AS
20917 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20918 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20919 Declare hidden proto.
20920 * include/stdio.h (__asprintf_internal): Don't declare.
20921 (__asprintf): Don't define as macro. Declare hidden proto.
20922 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20923 (__fsetlocking): Declare hidden proto.
20924 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20925 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20926 hidden proto.
20927 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20928 (_IO_setlinebuf): Remove use of INTUSE.
20929 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20930 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20931 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20932 Remove declaration.
20933 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20934 (_IO_do_flush): Remove use of INTUSE.
20935 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20936 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20937 (_IO_adjust_column, _IO_least_wmarker)
20938 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20939 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20940 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20941 (_IO_default_doallocate, _IO_wdefault_doallocate)
20942 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20943 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20944 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20945 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20946 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20947 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20948 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20949 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20950 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20951 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20952 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20953 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20954 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20955 proto.
20956 (_IO_flush_all_internal, _IO_adjust_column_internal)
20957 (_IO_default_uflow_internal, _IO_default_finish_internal)
20958 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20959 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20960 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20961 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20962 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20963 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20964 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20965 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20966 (_IO_file_close_internal, _IO_file_close_it_internal)
20967 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20968 (_IO_file_init_internal, _IO_file_attach_internal)
20969 (_IO_file_fopen_internal, _IO_file_read_internal)
20970 (_IO_file_sync_internal, _IO_file_seek_internal)
20971 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20972 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20973 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20974 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20975 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20976 (_IO_list_all_internal, _IO_link_in_internal)
20977 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20978 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20979 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20980 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20981 (_IO_do_write_internal, _IO_padn_internal)
20982 (_IO_getline_info_internal, _IO_getline_internal)
20983 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20984 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20985 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20986 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20987 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20988 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20989 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20990 with libc_hidden_ver, remove use of INTUSE.
20991 * libio/genops.c: Likewise.
20992 * libio/freopen.c: Likewise.
20993 * libio/freopen64.c: Likewise.
20994 * libio/iofclose.c: Likewise.
20995 * libio/iofdopen.c: Likewise.
20996 * libio/iofflush.c: Likewise.
20997 * libio/iofflush_u.c: Likewise.
20998 * libio/iofgets.c: Likewise.
20999 * libio/iofgets_u.c: Likewise.
21000 * libio/iofopen.c: Likewise.
21001 * libio/iofopncook.c: Likewise.
21002 * libio/iofread.c: Likewise.
21003 * libio/iofread_u.c: Likewise.
21004 * libio/ioftell.c: Likewise.
21005 * libio/iofwrite.c: Likewise.
21006 * libio/iogetline.c: Likewise.
21007 * libio/iogets.c: Likewise.
21008 * libio/iogetwline.c: Likewise.
21009 * libio/iopadn.c: Likewise.
21010 * libio/iopopen.c: Likewise.
21011 * libio/ioseekoff.c: Likewise.
21012 * libio/ioseekpos.c: Likewise.
21013 * libio/iosetbuffer.c: Likewise.
21014 * libio/iosetvbuf.c: Likewise.
21015 * libio/ioungetc.c: Likewise.
21016 * libio/ioungetwc.c: Likewise.
21017 * libio/iovdprintf.c: Likewise.
21018 * libio/iovsprintf.c: Likewise.
21019 * libio/iovsscanf.c: Likewise.
21020 * libio/memstream.c: Likewise.
21021 * libio/obprintf.c: Likewise.
21022 * libio/oldfileops.c: Likewise.
21023 * libio/oldiofclose.c: Likewise.
21024 * libio/oldiofdopen.c: Likewise.
21025 * libio/oldiofopen.c: Likewise.
21026 * libio/oldiopopen.c: Likewise.
21027 * libio/oldstdfiles.c: Likewise.
21028 * libio/putc.c: Likewise.
21029 * libio/setbuf.c: Likewise.
21030 * libio/setlinebuf.c: Likewise.
21031 * libio/stdfiles.c: Likewise.
21032 * libio/strops.c: Likewise.
21033 * libio/vasprintf.c: Likewise.
21034 * libio/vscanf.c: Likewise.
21035 * libio/vsnprintf.c: Likewise.
21036 * libio/vswprintf.c: Likewise.
21037 * libio/wfiledoalloc.c: Likewise.
21038 * libio/wfileops.c: Likewise.
21039 * libio/wgenops.c: Likewise.
21040 * libio/wmemstream.c: Likewise.
21041 * libio/wstrops.c: Likewise.
21042 * libio/__fpurge.c: Likewise.
21043 * libio/__fsetlocking.c: Likewise.
21044 * assert/assert.c: Likewise.
21045 * debug/fgets_chk.c: Likewise.
21046 * debug/fgets_u_chk.c: Likewise.
21047 * debug/fread_chk.c: Likewise.
21048 * debug/fread_u_chk.c: Likewise.
21049 * debug/gets_chk.c: Likewise.
21050 * debug/obprintf_chk.c: Likewise.
21051 * debug/vasprintf_chk.c: Likewise.
21052 * debug/vdprintf_chk.c: Likewise.
21053 * debug/vsnprintf_chk.c: Likewise.
21054 * debug/vsprintf_chk.c: Likewise.
21055 * malloc/mtrace.c: Likewise.
21056 * misc/error.c: Likewise.
21057 * misc/syslog.c: Likewise.
21058 * stdio-common/asprintf.c: Likewise.
21059 * stdio-common/fxprintf.c: Likewise.
21060 * stdio-common/getw.c: Likewise.
21061 * stdio-common/isoc99_fscanf.c: Likewise.
21062 * stdio-common/isoc99_scanf.c: Likewise.
21063 * stdio-common/isoc99_vfscanf.c: Likewise.
21064 * stdio-common/isoc99_vscanf.c: Likewise.
21065 * stdio-common/isoc99_vsscanf.c: Likewise.
21066 * stdio-common/printf-prs.c: Likewise.
21067 * stdio-common/printf_fp.c: Likewise.
21068 * stdio-common/printf_fphex.c: Likewise.
21069 * stdio-common/printf_size.c: Likewise.
21070 * stdio-common/putw.c: Likewise.
21071 * stdio-common/scanf.c: Likewise.
21072 * stdio-common/sprintf.c: Likewise.
21073 * stdio-common/tmpfile.c: Likewise.
21074 * stdio-common/vfprintf.c: Likewise.
21075 * stdio-common/vfscanf.c: Likewise.
21076 * stdlib/strfmon_l.c: Likewise.
21077 * sunrpc/openchild.c: Likewise.
21078 * sunrpc/xdr_stdio.c: Likewise.
21079 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21080 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21081
d6c33fda
RM
210822012-05-24 Roland McGrath <roland@hack.frob.com>
21083
c1487492
RM
21084 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21085
21086 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21087 in the third column, to generate for the shared library an IFUNC
21088 that uses _dl_vdso_vsym.
21089 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21090 * Makeconfig (object-suffixes-noshared): New variable.
21091
21092 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21093 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21094 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21095 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21096
d6c33fda
RM
21097 [BZ #14132]
21098 * include/sys/time.h (__gettimeofday): Remove macro.
21099 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21100 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21101 Remove INTDEF.
21102 (__gettimeofday): Add libc_hidden_def.
21103 (gettimeofday): Add libc_hidden_weak.
21104 * sysdeps/mach/gettimeofday.c: Likewise.
21105 * sysdeps/posix/gettimeofday.c: Likewise.
21106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21107 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21109 (__gettimeofday_internal): Remove strong_alias.
21110 (__gettimeofday): Add libc_hidden_def.
21111 (gettimeofday): Add libc_hidden_weak.
21112 * sysdeps/unix/syscalls.list (gettimeofday):
21113 Remove __gettimeofday_internal alias.
21114
b5a2bbe6
L
211152012-05-24 Daniel Jacobowitz <drow@false.org>
21116 H.J. Lu <hongjiu.lu@intel.com>
21117
21118 [BZ #12495]
21119 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21120 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21121 (largebin_index_32_big): New.
21122 (largebin_index): Use it for 16-byte alignment.
21123 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21124 correction with front_misalign.
21125
cfba4fda
L
211262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21127
7f907421
L
21128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21130 Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21132 Likewise.
21133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21134 Likewise.
21135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21136 Likewise.
21137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21138 Likewise.
21139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21140 Likewise.
21141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21142 Likewise.
21143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21144 Likewise.
21145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21146 Likewise.
21147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21148 Likewise.
21149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21150 Likewise.
21151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21152 Likewise.
21153
cfba4fda
L
21154 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21155 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21156
80bad0cc
JM
211572012-05-24 Joseph Myers <joseph@codesourcery.com>
21158
7a25eb06
JM
21159 [BZ #10846]
21160 [BZ #14036]
21161 * math/libm-test.inc (exp_test): Add test from bug 14036.
21162 (pow_test): Add test from bug 10846.
21163
795405f9
JM
21164 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21165 and other flags.
21166 (special_function): Do not include flags in test name.
21167 (parse_args): Likewise.
21168 * sysdeps/i386/fpu/libm-test-ulps: Update.
21169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21170 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21171 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21173
80bad0cc
JM
21174 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21175 exceptions.
21176 * math/libm-test.inc ("Philosophy"): Update comment about
21177 exception testing.
21178 (UNDERFLOW_EXCEPTION): New macro.
21179 (UNDERFLOW_EXCEPTION_OK): Likewise.
21180 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21181 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21182 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21183 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21184 (INVALID_EXCEPTION_OK): Update value.
21185 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21186 (OVERFLOW_EXCEPTION_OK): Likewise.
21187 (IGNORE_ZERO_INF_SIGN): Likewise.
21188 (test_exceptions): Handle underflow exceptions.
21189 (acos_test): Update for underflow exception expectations.
21190 (cexp_test): Likewise.
21191 (clog_test): Likewise.
21192 (clog10_test): Likewise.
21193 (csqrt_test): Likewise.
21194 (ctan_test): Likewise.
21195 (ctanh_test): Likewise.
21196 (exp_test): Likewise.
21197 (exp10_test): Likewise.
21198 (exp2_test): Likewise.
21199 (expm1_test): Likewise.
21200 (fma_test): Likewise.
21201 (j0_test): Likewise.
21202 (jn_test): Likewise.
21203 (nexttoward_test): Likewise.
21204 (pow_test): Likewise.
21205 (scalbn_test): Likewise.
21206 (scalbln_test): Likewise.
21207 (tan_test): Likewise.
21208 (y1_test): Likewise.
21209 * sysdeps/i386/fpu/libm-test-ulps: Update.
21210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21211
9e0e3d0b
DM
212122012-05-23 David S. Miller <davem@davemloft.net>
21213
21214 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21215 (__libc_sigaction): Remove unused local variables.
21216
ccd0a08f
L
212172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21220
62bdf9a6
PE
212212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21222
f8591f80
PE
21223 mktime: avoid signed integer overflow
21224 * time/mktime.c (__mktime_internal): Do not mishandle the case
21225 where diff == INT_MIN.
21226
94c7d826
PE
21227 mktime: simplify computation of average
21228 * time/mktime.c (ranged_convert): Use new time_t_avg function
21229 instead of rolling our own (probably-slower) code.
21230
ce73d683
PE
21231 mktime: do not assume signed right shift propagates sign bit
21232 * time/mktime.c (isdst_differ): New static function.
21233 (__mktime_internal): No need to normalize tm_isdst now.
21234 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21235 tm_isdst values.
21236
72a22e59
PE
21237 mktime: merge another wrapv change from gnulib
21238 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21239 from some compilers.
21240
68605433
PE
21241 mktime: remove incorrect attempt at unusual arithmetics
21242 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21243 The code didn't really work on such machines anyway.
21244 (TYPE_MINIMUM): Assume two's complement.
21245 (twos_complement_arithmetic): Verify that long_int and time_t
21246 are two's complement (or unsigned, in the latter case).
21247
03cf7fe3
PE
21248 mktime: check signed shifts on long_int and time_t, too
21249 * time/mktime.c (SHR): Check that shifts work as desired
21250 on the types long_int and time_t too, as SHR is used on
21251 such types.
21252
f04dfbc2
PE
21253 mktime: do not assume 'long' is wide enough
21254 * time/mktime.c (verify): Move decl up.
21255 (long_int): New type.
21256 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21257 to remove assumption in the code that 'long' is wide enough to
21258 store year values. This assumption is not true on x32 and on
21259 some non-glibc platforms.
21260
62bdf9a6
PE
21261 mktime: merge wrapv change from gnulib
21262 * time/mktime.c (WRAPV): New macro.
21263 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21264 (guess_time_tm, __mktime_internal): Do not assume that signed
21265 integer overflow wraps around; modern compilers generate code
21266 where this assumption is no longer valid.
21267
5e292e4f
L
212682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21271 Replace "jmp L(pseudo_end)" with "ret".
21272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21273 Likewise.
21274
8caf8c87
AJ
212752012-05-23 Andreas Jaeger <aj@suse.de>
21276
21277 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21278 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21279
1a09dc56
AJ
212802012-05-23 Andreas Jaeger <aj@suse.de>
21281 Maximilian Attems <max@stro.at>
21282
21283 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21284 New macros.
21285
1c87aba0
L
212862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21289 code so that pseudo_end is just ret and the stack pointer is
21290 correct also for static library in error case.
21291
40e45bd5
JM
212922012-05-23 Joseph Myers <joseph@codesourcery.com>
21293
c2670533
JM
21294 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21295 move to syscalls.list.
21296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21300
40e45bd5
JM
21301 * manual/install.texi (Running make install): Do not mention Linux
21302 kernel version for which pt_chown is not needed.
21303 (Linux): Do not mention problems with nscd with 2.0 kernels.
21304 * INSTALL: Regenerated.
21305
be08eda5
AJ
213062012-05-23 Andreas Jaeger <aj@suse.de>
21307
21308 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21309 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21310 macro.
21311 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21312 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21313 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21314 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21315 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21316 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21321 * sysdeps/unix/sysv/linux/bits/in.h
21322 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21323
a6a056bb
RM
213242012-05-22 Roland McGrath <roland@hack.frob.com>
21325
21326 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21327 (PREPARE_VERSION): Just use assert instead, it will be elided
21328 under [NDEBUG] anyway.
21329
c9009328
L
213302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21331
21332 * sysdeps/unix/sysv/linux/Makefile: Include
21333 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21334 (sysdep_routines): Remove sysctl.
c9009328
L
21335 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21336 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21339 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21340
73338355
AJ
213412012-05-22 Andreas Jaeger <aj@suse.de>
21342
21343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21344 that pseudo_end is just ret and the stack pointer is correct also
21345 for static library in error case.
21346
d44638b0
PP
213472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21348
21349 [BZ #14122]
21350 * nss/nsswitch.c (defconfig_entries): New variable.
21351 (__nss_database_lookup): Don't leak defconfig entries.
21352 (nss_parse_service_list): Don't leak on error paths.
21353 (free_database_entries): New function.
21354 (free_defconfig): New function.
21355 (free_mem): Move common code to free_database_entries.
21356
31a39bd8
L
213572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21358
da0331a8
L
21359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21360 Add arch_prctl.
21361 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21362
31a39bd8
L
21363 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21364 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21366 New macro.
21367 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21368 (INTERNAL_SYSCALL_TYPES): Likewise.
21369 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21370 (LOAD_REGS_TYPES_[1-6]): Likewise.
21371 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21372 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21373
45470df3
AZ
213742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21375
21376 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21377 copysignl for GLIBC_2_0.
21378 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21379 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21381 logbl for GLIBC_2_0.
21382 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21383 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21384
98a61bcb
L
213852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21386
a4f6e481
L
21387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21389
f63d5db6
L
21390 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21391 Use "neg %eax".
21392
98a61bcb
L
21393 * time/mktime.c: Update copyright years.
21394
95770f14
PE
213952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21396
6226efbd
PE
21397 mktime: merge comment-quoting-style change from gnulib
21398 * time/mktime.c: Quote 'like this' in comments.
21399 The GNU coding standards suggest that we no longer quote `like this',
21400 as "`" and "'" are typically rendered asymmetrically nowadays.
21401 The typical gnulib style is to quote 'like this' when quoting
21402 code, and "like this" when quoting English.
21403
b99e4f78
PE
21404 * time/mktime.c (compile-command): Add "-I.".
21405
643e01e6
PE
21406 mktime: merge mktime-internal.h change from gnulib
21407 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21408
2554247d
PE
21409 mktime: merge time_r change from gnulib
21410 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21411
826dd0ab
PE
21412 mktime: merge DEBUG change from gnulib
21413 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21414 case system <time.h> has a #define.
21415
bd83aabe
PE
21416 mktime: merge <sys/types.h> change from gnulib
21417 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21418 since <time.t> is now guaranteed to define time_t.
21419
95770f14
PE
21420 mktime: merge HAVE_CONFIG_H change from gnulib
21421 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21422
5e1a27a9
L
214232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21424
0e44a77e
L
21425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21426 Use "neg %eax".
21427
5e1a27a9
L
21428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21429 __rlim_t cast.
21430 (struct rusage): Use anonymous union to pad each field to
21431 __syscall_slong_t.
21432
46259bec
DM
214332012-05-21 David S. Miller <davem@davemloft.net>
21434
21435 * Makefules (o-iterator): Remove .s cases.
21436 (compile-command.s): Delete.
21437 (COMPILE.s): Delete.
21438 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21439
59f0c22e
JM
214402012-05-21 Joseph Myers <joseph@codesourcery.com>
21441
21442 * configure.in (libc_cv_predef_stack_protector): Only consider
21443 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21444 * configure: Regenerated.
21445
20c07380
L
214462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21447
bbb3154b
L
21448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21449 New macro. Use R*LP on int and pointer.
21450 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21451 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21452 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21453 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21454
20c07380
L
21455 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21456 [__WORDSIZE_TIME64_COMPAT32] instead of
21457 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21458 (struct utmp): Likewise.
21459 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21460 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21461 Renamed to ...
21462 (__WORDSIZE_TIME64_COMPAT32): This.
21463 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21464 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21465 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21466 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21467 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21468 (__WORDSIZE_TIME64_COMPAT32): New macro.
21469
d8d1017e
AJ
214702012-05-21 Andreas Jaeger <aj@suse.de>
21471
21472 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21473 only if [SHARED]. Add prototype for __wcschr_ia32.
21474
6c7fb145
RM
214752012-05-21 Roland McGrath <roland@hack.frob.com>
21476
21477 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21478 of %rbp unmolested in the jmp_buf while mangling the low bits.
21479 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21480 unmolested high bits of %rbp while demangling the low bits.
21481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21482
66274218
AJ
214832012-05-21 Andreas Jaeger <aj@suse.de>
21484
07c58f8f
AJ
21485 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21486 * sunrpc/svc_simple.c: Use it for registerrpc.
21487 * sunrpc/xcrypt.c: Use it for passwd2des.
21488
66274218
AJ
21489 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21490
61f65140
L
214912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21494 Don't define if [__SYSCALL_WORDSIZE != 32].
21495 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21496 New macro.
21497
5fefb436
AJ
214982012-05-21 Bruno Haible <bruno@clisp.org>
21499 Andreas Jaeger <aj@suse.de>
21500
21501 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21502 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21503 inptr and inend for must_buffer_ch.
21504 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21505 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21506 * stdio-common/Makefile (tests): Remove bug15.
21507 (bug15-ENV): Remove macro.
21508 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21509 anymore.
21510
d8e272ab
AJ
215112012-05-19 Andreas Jaeger <aj@suse.de>
21512 Roland McGrath <roland@hack.frob.com>
21513
21514 * manual/contrib.texi: Completely rewritten. It contains now an
21515 alphabetical list of contributors and their contributions.
21516
4a56a162
RH
215172012-05-21 Richard Henderson <rth@twiddle.net>
21518
21519 * misc/getauxval.c (__getauxval): Use unsigned long int.
21520 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21521 (getauxval): Use unsigned long int.
21522
d024d23c
L
215232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21526
cbc00a03
RM
215272012-05-21 Roland McGrath <roland@hack.frob.com>
21528
21529 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21530 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21531 __alignof__ (long double).
21532
478143fa
AZ
215332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21534
21535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21536
c7683a6d
RH
215372012-05-20 Richard Henderson <rth@twiddle.net>
21538
21539 * misc/getauxval.c: New file.
21540 * misc/sys/auxv.h: New file.
21541 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21542 (routines): Add getauxval.
21543 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21544 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21545 * elf/dl-sysdep.c (_dl_auxv): Remove.
21546 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21547 * elf/dl-support.c (_dl_auxv): New variable.
21548 (_dl_aux_init): Initialize it.
21549 * manual/startup.texi (Auxiliary Vector): New node.
21550 * sysdeps/generic/bits/hwcap.h: New file.
21551 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21552 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21553 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21554 * sysdeps/sparc/sysdep.h: ... here. Include it.
21555 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21556 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21558 Update.
c7683a6d
RH
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21567
a6f1845d
AZ
215682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21569
21570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21571
cbcbe830
DM
215722012-05-19 David S. Miller <davem@davemloft.net>
21573
21574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21575
e0b16cc2
JM
215762012-05-19 Joseph Myers <joseph@codesourcery.com>
21577
21578 [BZ #14123]
21579 * math/s_ccosh.c: Include <float.h>
21580 (__ccosh): Avoid internal overflow calculating sinh and cosh
21581 values before multiplying by sin and cos values.
21582 * math/s_ccoshf.c: Likewise.
21583 * math/s_ccoshl.c: Likewise.
21584 * math/s_csin.c: Likewise.
21585 * math/s_csinf.c: Likewise.
21586 * math/s_csinl.c: Likewise.
21587 * math/s_csinh.c: Likewise.
21588 * math/s_csinhf.c: Likewise.
21589 * math/s_csinhl.c: Likewise.
21590 * math/libm-test.inc (ccos_test): Add more tests.
21591 (ccosh_test): Likewise.
21592 (csin_test): Likewise.
21593 (csinh_test): Likewise.
21594 * sysdeps/i386/fpu/libm-test-ulps: Update.
21595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596
6ad13e08
L
215972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21598
f66f0ce8
L
21599 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21600 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21601
6ad13e08
L
21602 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21603
b1d072a7
JM
216042012-05-19 Joseph Myers <joseph@codesourcery.com>
21605
21606 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21607 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21608 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21609 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21610 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21611 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21612 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21613 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21614 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21615 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21616 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21617 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21618 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21619 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21620 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21621 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21622 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21623 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21624 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21625 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21626 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21627 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21628 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21629 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21630 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21631 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21632 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21633 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21634 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21635 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21636 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21637
9eae47cb
AJ
216382012-05-18 Andreas Jaeger <aj@suse.de>
21639
21640 * csu/.gitignore: Delete.
21641
bb07f69f
L
216422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21645 (timex): Use __syscall_slong_t.
21646
e6bdb741
AJ
216472012-05-18 Andreas Jaeger <aj@suse.de>
21648 Carlos O'Donell <carlos_odonell@mentor.com>
21649
21650 * manual/install.texi (Configuring and compiling): Update
21651 description about files modified in the source directory.
d6c33fda 21652 * INSTALL: Regenerated.
e6bdb741 21653
1b74487e
L
216542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21655
21656 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21657 value. Use "or" to set return value to -1.
21658 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21659 negate return value.
21660
a88b64b9
TMQMF
216612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21662
21663 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21664 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21665 failure if the compiler has Graphite support disabled.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21667 Likewise.
21668 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21669 CFLAGS-memmove.c): Likewise.
21670 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21671 Likewise.
21672
3707636e
L
216732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21674
610b8622
L
21675 * sysdeps/x86_64/x32/_itoa.h: New file.
21676
7cd195df
L
21677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21678 getdents system call only if kernel and user dirents have the
21679 same d_ino and d_off.
21680
94b07d20
L
21681 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21682 LLONG_MAX != LONG_MAX.
21683 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21684 (_fitoa_word): Likewise.
21685
18298070
L
21686 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21687 years.
21688 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21689 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21690 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21691
553c7ea4
L
21692 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21693 include <bits/wordsize.h>. Check __x86_64__ instead of
21694 __WORDSIZE.
21695 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21696 if __x86_64__ is defined. Use anonymous union on fpstate.
21697
3707636e
L
21698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21699 anonymous union.
21700
b53ef01a
AS
217012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21702
37fb1dc0
AS
21703 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21704 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21705 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21706 Refer to _rtld_local_ro instead of _rtld_global_ro.
21707 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21708 Likewise.
21709 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21710 Likewise.
21711 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21712 Likewise.
21713 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21714 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21715 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21716
b53ef01a
AS
21717 * sysdeps/powerpc/powerpc32/dl-machine.c
21718 (__elf_machine_runtime_setup) [PROF]: Don't reference
21719 _dl_prof_resolve.
21720
7a185db2
AJ
217212012-05-18 Andreas Jaeger <aj@suse.de>
21722
21723 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21724 function only available for GCCs before 3.4 since GCC 3.4
21725 introduced a builtin.
21726 (lrint): Likewise.
21727 (llrintf): Likewise.
21728 (llrint): Likewise.
21729 (fmaxf): Likewise.
21730 (fmax): Likewise.
21731 (fminf): Likewise.
21732 (fmin): Likewise.
21733 (rint): Likewise.
21734 (rintf): Likewise.
21735 (nearbyint): Likewise.
21736 (nearbyintf): Likewise.
21737 (ceil): Likewise.
21738 (ceilf): Likewise.
21739 (floor): Likewise.
21740 (floorf): Likewise.
21741
3e5aef87
L
217422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21743
428bd707
L
21744 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21745 on both fields and cast pointer to __syscall_ulong_t.
21746
3e5aef87
L
21747 * bits/types.h (__fsword_t): New type.
21748 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21749 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21751 (__FSWORD_T_TYPE): Likewise.
21752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21753 (__FSWORD_T_TYPE): Likewise.
21754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21755 (__FSWORD_T_TYPE): Likewise.
21756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21757 (__FSWORD_T_TYPE): Likewise.
21758 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21759 __SWORD_TYPE with __fsword_t.
21760 (statfs64): Likewise.
21761
1ba7c3dc
DM
217622012-05-17 David S. Miller <davem@davemloft.net>
21763
21764 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21765
59910343
AJ
217662012-05-17 Andreas Jaeger <aj@suse.de>
21767
21768 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21769 warning.
21770
2e4c1e9e
L
217712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21772
21773 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21774
de7f5ce7
AJ
217752012-05-17 Andreas Jaeger <aj@suse.de>
21776
21777 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21778 when it is used.
21779
286abc3d
CM
217802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21781
21782 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21783
477cc68e
L
217842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21787 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21788
1a0994f5
CD
217892012-05-17 Andreas Jaeger <aj@suse.de>
21790 Carlos O'Donell <carlos_odonell@mentor.com>
21791
21792 [BZ #14059]
21793 * sysdeps/x86_64/multiarch/init-arch.h
21794 (bit_YMM_Usable): Rename to...
21795 (bit_AVX_Usable): ... this.
21796 (bit_FMA4_Usable): New macro.
21797 (bit_XMM_state): New macro.
21798 (bit_YMM_state): New macro.
21799 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21800 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21801 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21802 (CPUID_OSXSAVE): New macro.
21803 (CPUID_AVX): New macro.
21804 (CPUID_FMA4): New macro.
21805 (index_YMM_Usable): Rename to...
21806 (index_AVX_Usable): ... this.
21807 (HAS_AVX): Use HAS_ARCH_FEATURE.
21808 (HAS_FMA4): Likewise.
21809 (HAS_YMM_USABLE): Remove.
21810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21811 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21812 are present.
21813 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21814 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21815 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21816 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21817 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21818
0af797de
CM
218192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21820
21821 * math/libm-test.c: Support platforms without multiple rounding modes.
21822 * math/bug-nextafter.c: Support platforms without FP exceptions.
21823 * math/bug-nexttoward.c: Likewise.
21824 * math/test-fenv.c: Likewise.
21825 * math/test-misc.c: Likewise.
21826 * stdlib/bug-getcontext.c: Likewise.
21827
e39745ff
AJ
218282012-05-17 Andreas Jaeger <aj@suse.de>
21829
21830 * manual/examples/search.c (critter_cmp): Change signature to
21831 avoid warnings.
21832 * manual/string.texi (Collation Functions): Likewise.
21833
48970aba
L
218342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 * bits/types.h: Fold copyright years.
21837 * bits/typesizes.h: Likewise.
21838 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21842 * time/time.h: Likewise.
21843
bedee953
PP
218442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21845
21846 [BZ #208]
21847 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21848 in instead of returning them. Return void.
21849 (__libc_mallinfo): Accumulate over all arenas.
21850 (__malloc_stats): Adjust for change in int_mallinfo interface.
21851
61653dfb
RM
218522012-05-16 Roland McGrath <roland@hack.frob.com>
21853
30b99d79
RM
21854 [BZ #10375]
21855 * configure.in (NM): Add AC_CHECK_TOOL for it.
21856 (libc_extra_cflags): New substituted variable.
21857 Check for -fstack-protector being used implicitly.
21858 * configure: Regenerated.
21859 * config.make.in (config-extra-cflags): New variable,
21860 gets @libc_extra_cflags@.
21861 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21862
61653dfb
RM
21863 [BZ #10375]
21864 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21865 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21866 * configure: Regenerated.
21867 * config.make.in (CPPUNDEFS): New substituted variable.
21868 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21869 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21870 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21871
661768bb
L
218722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21875 (mq_attr): Use __syscall_slong_t.
21876
d4261567
L
218772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21878
21879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21880 Check __x86_64__ instead of __WORDSIZE.
21881 (_STAT_VER_LINUX): Likewise.
21882 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21883 __syscall_ulong_t and __syscall_slong_t.
21884 (stat64): Likewise.
21885
cf3ff365
L
218862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21889
76cf3e4d
L
218902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21893
a637753a
L
218942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21895
21896 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21897 __syscall_ulong_t.
21898
d5e05119
L
21899 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21900 include <bits/wordsize.h>. Check __x86_64__ instead of
21901 __WORDSIZE.
21902 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21903 defined.
21904 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21905
f62ee380
L
21906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21907 include <bits/wordsize.h>. Check __x86_64__ instead of
21908 __WORDSIZE.
21909 (user_regs_struct): Use "__extension__ unsigned long long"
21910 instead of "unsigned long" if __x86_64__ is defined.
21911 (user): Likewise. Pad after pointer field if __ILP32__ is
21912 defined.
21913
4e124ced
JM
219142012-05-16 Joseph Myers <joseph@codesourcery.com>
21915
6a3951a0
JM
21916 * configure.in (makeinfo): Require version 4.5 or later. Allow
21917 versions 5 to 9.
21918 * configure: Regenerated.
21919 * manual/install.texi (texinfo): Increase version requirement to
21920 4.5 or later.
21921 * INSTALL: Regenerated.
21922
4e124ced
JM
21923 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21924
953ca31a
L
219252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21926
21927 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21928
617aca05
L
21929 * sysdeps/x86_64/x32/ffs.c: New file.
21930
5762f7ae
L
21931 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21932 __syscall_ulong_t.
21933 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21934 defined. Use __syscall_ulong_t.
21935 (shminfo): Use __syscall_ulong_t.
21936 (shm_info): Likewise.
21937
a26b6856
L
21938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21939 __syscall_ulong_t.
21940
cb2b9ef7
L
21941 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21942 <bits/wordsize.h>.
21943 (msgqnum_t): Use __syscall_ulong_t.
21944 (msglen_t): Likewise.
21945 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21946 __syscall_ulong_t.
21947
34683bb0
L
21948 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21949 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21950
84a68786
L
21951 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21952
48baa5f1
L
21953 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21954 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21955
180be88b
L
21956 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21957 __syscall_slong_t.
21958
5e90c8ad
L
21959 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21960 include <bits/wordsize.h>. Check __x86_64__ instead of
21961 __WORDSIZE.
21962
23dfb58b
L
21963 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21964 "unsigned long long int" if __x86_64__ is defined.
21965 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21966
ce5d54b0
L
21967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21968 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21969 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21970
13dc9eac
L
21971 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21972 <stdint.h>.
21973 (GET_PC): Cast to uintptr_t first.
21974 (GET_FRAME): Likewise.
21975 (GET_STACK): Likewise.
21976
a7895d15
L
21977 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21978 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21979 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21980 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21981 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21982 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21983 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21984 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21985 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21986 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21988 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21989 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21990 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21991 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21992 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21993 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21994 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21996 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21997 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21998 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21999 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22000 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22001 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22002 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22006
656416c9
AS
220072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22008
5bd66283
AS
22009 * Makerules (+depfiles): Also collect depfiles from .oS in
22010 $(extra-objs).
22011 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22012 .oS, $(libnldbl-routines)).
22013
656416c9
AS
22014 * Makerules (native-compile-mkdep-flags): Define.
22015 * sunrpc/Makefile (extra-objs): Add $(addprefix
22016 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22017 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22018 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22019 calling $(make-target-directory).
22020
a46f2169
L
220212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * bits/types.h (__snseconds_t): Removed.
22024 * time/time.h (struct timespec): Replace __snseconds_t with
22025 __syscall_slong_t.
22026 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22027 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22028 Likewise.
22029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22030 (__SNSECONDS_T_TYPE): Likewise.
22031 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22032 (__SNSECONDS_T_TYPE): Likewise.
22033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22034 (__SNSECONDS_T_TYPE): Likewise.
22035
6af6528b
L
220362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 * sysdeps/mach/hurd/bits/typesizes.h
22039 (__SYSCALL_SLONG_TYPE): New macro.
22040 (__SYSCALL_ULONG_TYPE): Likewise.
22041
de986b56
L
220422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22043
22044 * bits/types.h (__syscall_slong_t): New type.
22045 (__syscall_ulong_t): Likewise.
22046
22047 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22048 (__SYSCALL_ULONG_TYPE): Likewise.
22049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22050 (__SYSCALL_SLONG_TYPE): Likewise.
22051 (__SYSCALL_ULONG_TYPE): Likewise.
22052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22053 (__SYSCALL_SLONG_TYPE): Likewise.
22054 (__SYSCALL_ULONG_TYPE): Likewise.
22055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22056 (__SYSCALL_SLONG_TYPE): Likewise.
22057 (__SYSCALL_ULONG_TYPE): Likewise.
22058
85736dc7
L
220592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22060
22061 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22062 Add sigaltstack-offsets.sym.
22063 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22064 <sigaltstack-offsets.h>.
22065 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22066 longjmp_msg pointer.
22067 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22068 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22069 signal stack.
22070 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22071
cc03b296
JM
220722012-05-15 Joseph Myers <joseph@codesourcery.com>
22073
a9538892
JM
22074 * elf/stackguard-macros.h: Remove file.
22075 * sysdeps/generic/stackguard-macros.h: New file.
22076 * sysdeps/i386/stackguard-macros.h: Likewise.
22077 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22078 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22079 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22080 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22081 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22082 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22083 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22084 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22085 <elf/stackguard-macros.h>.
22086
cc03b296
JM
22087 [BZ #14109]
22088 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22089 __aligned__ in attribute.
22090 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22091 (gregset_t): Likewise.
22092
93171016
L
220932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22094
22095 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22096 * sysdeps/x86_64/64/Implies-after: Here. New file.
22097 * sysdeps/x86_64/x32/Implies-after: New file.
22098
d86813a0
L
220992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22100
22101 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22102 and access return value for _dl_profile_fixup. Use R10_LP to
22103 load frame size.
22104
2953ec75
L
221052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22106
22107 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22108
3b550e9e
L
221092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22112 * sysdeps/x86_64/x32/sysdep.h: New file.
22113
eda41706
L
221142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22117 * sysdeps/x86_64/setjmp.S: Likewise.
22118
9ea01d93
AZ
221192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22120
22121 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22123 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22125 remove unused global constant.
22126
02a91938
CM
221272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22128
22129 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22130 include of <not-cancel.h>.
22131
6540185f
RM
221322012-05-15 Roland McGrath <roland@hack.frob.com>
22133
22134 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22135
509072a0
AJ
221362012-05-15 Jeff Law <law@redhat.com>
22137 Andreas Jaeger <aj@suse.de>
22138
22139 [BZ #13594]
22140 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22141 out from...
22142 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22143 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22144 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22145 code changing __hst_map_handle.map.
22146
ba75122d
RM
221472012-05-15 Roland McGrath <roland@hack.frob.com>
22148
22149 * configure.in (sysnames): Look for Implies-before and Implies-after
22150 files.
22151 * configure: Regenerated.
22152
890d8bd8
L
221532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22154
22155 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22156 8-byte data alignment with LP_SIZE alignment.
22157
f6ee6623
L
221582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22161 into R10_LP.
22162
ea2626f6
L
221632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22164
22165 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22166
085f715e
L
221672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22168
22169 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22170 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22172 Likewise.
22173 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22174
be8498fc
L
221752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22176
22177 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22178 (stackinfo_sub_sp): Likewise.
22179
70bc83b9
L
221802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22181
22182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22183 RAX_LP.
22184
9bc0b730
L
221852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22186
22187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22188 into R*_LP.
22189
6d2850e7
L
221902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22191
22192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22193 sizes into R*_LP.
22194
3cb84561
L
221952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22196
22197 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22198
54e2ed81
L
221992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22200
22201 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22202 into R11_LP and load __x86_64_shared_cache_size_half into
22203 R8_LP.
22204
8a17f349
L
222052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22208 R8_LP.
22209
777b1eea
AZ
222102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22211
22212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22213 logb for POWER7.
22214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22215 logbf for POWER7.
22216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22217 logbl for POWER7.
22218 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22219 powerpc32/power7/fpu/s_logb.c via #include.
22220 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22221 powerpc32/power7/fpu/s_logbf.c via #include.
22222 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22223 powerpc32/power7/fpu/s_logbl.c via #include.
22224
d20d4ac2
JM
222252012-05-15 Joseph Myers <joseph@codesourcery.com>
22226
22227 * README.libm: Remove file.
22228
6cdef1ab
L
222292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22230
22231 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22232 count for x32. Use R*_LP and omit operand-size suffix.
22233
0b254d8f
L
222342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22237 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22238 * sysdeps/x86_64/x32/shlib-versions: New file.
22239
ceb809dc
RM
222402012-05-14 Roland McGrath <roland@hack.frob.com>
22241
22242 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22243 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22244 Use _dl_fatal_printf instead.
22245
37f1abd4
JM
222462012-05-14 Joseph Myers <joseph@codesourcery.com>
22247
22248 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22249 set if not set by the user. Do not allow for being unset.
22250 * sysdeps/unix/sysv/linux/configure: Regenerated.
22251
11de3a33
L
222522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22253
22254 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22255 the `q' suffix from lea and replace .quad with ASM_ADDR.
22256
e02f153a
L
222572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22258
22259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22260 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22261 instead of $17.
22262 (PTR_DEMANGLE): Likewise.
22263
520ae0fd
L
222642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22265
22266 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22267 (LP_OP): Likewise.
22268 (ASM_ADDR): Likewise.
22269 (RAX_LP): Likewise.
22270 (RBP_LP): Likewise.
22271 (RBX_LP): Likewise.
22272 (RCX_LP): Likewise.
22273 (RDI_LP): Likewise.
22274 (RSI_LP): Likewise.
22275 (RSP_LP): Likewise.
22276 (R8_LP): Likewise.
22277 (R9_LP): Likewise.
22278 (R10_LP): Likewise.
22279 (R10_LP): Likewise.
22280 (R11_LP): Likewise.
22281 (R12_LP): Likewise.
22282 (R13_LP): Likewise.
22283 (R14_LP): Likewise.
22284 (R15_LP): Likewise.
22285
b985be81
L
222862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22287
22288 * sysdeps/x86_64/x32/dl-machine.h: New file.
22289
6a4888ff
AJ
222902012-05-14 Andreas Jaeger <aj@suse.de>
22291
22292 * manual/Makefile (subdir): Remove export of subdir.
22293 (all): Remove target.
22294 (.PHONY): Remove all from list.
22295 (mkinstalldirs): Remove.
22296 (.PHONY): Remove installdirs from list.
22297 ($(inst_infodir)/libc.info): Use make-target-directory.
22298 (installdirs): Remove.
22299 (subdir_%): Remove.
22300 (glibc-targets): Remove.
22301 (lib): Remove.
22302 (stubs): Remove.
22303 ($(objpfx)stubs ../po/manual.pot): Remove.
22304 ($(objpfx)stamp%): Remove.
22305 (make-target-directory): Remove.
22306 (subdir_install): Remove.
22307 (routines): Remove.
22308 (aux): Remove.
22309 (sources): Remove.
22310 (objects): Remove.
22311 (headers): Remove.
22312
22313 [BZ #13750]
22314 * manual/.gitignore: Remove, it's not needed anymore.
22315 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22316 all files in it.
22317 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22318 directory.
22319 (texis): Renamed to $(objpfx)texis.
22320 (texis-path): New, contains path to generated files.
22321 (chapters.%): Use texis-path for complete path, add extra argument
22322 libc-texinfo.sh.
22323 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22324 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22325 (summary,texi, stamp-summary): Use complete path of
22326 files. Generate files in build dir.
22327 (dir-add.texi): Build in build dir.
22328 (libm-err.texi,stamp-libm-err): Likewise.
22329 (version.texi, stamp-version): Likewise.
22330 (.%c.texi): Likewise.
22331 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22332 (mostlyclean): Remove target.
22333 (realclean): Remove target.
22334 (generated): Add new variable with contents from mostlyclean and
22335 realclean, remove entries duplicated in common-mostlyclean, add
22336 stamp-libm-err and stamp-version.
22337 (generated-dirs): Add libc directory.
22338 ($(inst_infodir)/libc.info): Install files from build dir.
22339
22340 * manual/install.texi (Configuring and compiling): Adjust since
22341 the info files are not part of the tar ball anymore.
22342
7ac77294
AJ
223432012-05-14 Andreas Jaeger <aj@suse.de>
22344
22345 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22346 variable.
22347
ffb7875d
JM
223482012-05-14 Joseph Myers <joseph@codesourcery.com>
22349
22350 [BZ #13717]
22351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22352 to 2.2.0 where earlier.
22353 * sysdeps/unix/sysv/linux/configure: Regenerated.
22354 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22355 Remove conditional code.
22356 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22357 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22358 Remove conditional code.
22359 [!__NR_lchown]: Likewise.
22360 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22361 [__NR_lchown]: Likewise.
22362 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22363 comment referencing __ASSUME_LCHOWN_SYSCALL.
22364 * sysdeps/unix/sysv/linux/i386/sigaction.c
22365 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22366 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22367 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22368 Remove conditional code.
22369 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22370 (__protocol_available): Remove #if 0 code.
22371 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22372 conditional code.
22373 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22374 * sysdeps/unix/sysv/linux/kernel-features.h
22375 (__ASSUME_GETCWD_SYSCALL): Don't define.
22376 (__ASSUME_REALTIME_SIGNALS): Likewise.
22377 (__ASSUME_PREAD_SYSCALL): Likewise.
22378 (__ASSUME_PWRITE_SYSCALL): Likewise.
22379 (__ASSUME_POLL_SYSCALL): Likewise.
22380 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22381 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22382 non-SPARC.
22383 (__ASSUME_SIOCGIFNAME): Don't define.
22384 (__ASSUME_MSG_NOSIGNAL): Likewise.
22385 (__ASSUME_SENDFILE): Define unconditionally.
22386 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22387 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22388 conditional code.
22389 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22390 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22391 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22392 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22393 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22394 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22395 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22397 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22400 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22403 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22406 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22409 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22410 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22412 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22413 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22415 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22418 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22420 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22421 Remove conditional code.
22422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22423 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22424 Remove conditional code.
22425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22426 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22427 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22428 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22429 Remove conditional code.
22430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22431 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22432 Remove conditional code.
22433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22434 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22435 Remove conditional code.
22436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22437 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22438 Remove conditional code.
22439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22440 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22441 Remove conditional code.
22442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22443 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22444 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22445 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22446 * sysdeps/unix/sysv/linux/sigaction.c
22447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22449 * sysdeps/unix/sysv/linux/sigpending.c
22450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22452 * sysdeps/unix/sysv/linux/sigprocmask.c
22453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22455 * sysdeps/unix/sysv/linux/sigsuspend.c
22456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22459 (__libc_missing_rt_sigs): Remove.
22460 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22461 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22462 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22463 Remove conditional code.
22464 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22465 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22466 return 1.
22467 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22468 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22469 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22470 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22471
1bfb7291
AJ
224722012-05-14 Andreas Jaeger <aj@suse.de>
22473
caae5a81
AJ
22474 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22475 it's not used in glibc.
22476 (__coshm1): Likewise.
22477 (__acosh1p): Likewise.
22478 (__sgn): Likewise.
22479
1bfb7291
AJ
22480 * manual/string.texi (Copying and Concatenation): Add missing
22481 variable in concat example.
22482 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22483
c044d724
L
224842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22485
144c5467 22486 [BZ #14103]
c044d724
L
22487 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22488 __builtin_clzl with __builtin_clzll.
22489
2523c62b
L
224902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22491
22492 [BZ #14104]
22493 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22494 libc_freeres_ptr.
22495
d7bb4c42
LD
224962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22497
22498 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22499 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22500 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22501 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22502
9dc4e1fb
MF
225032012-05-14 Mike Frysinger <vapier@gentoo.org>
22504
22505 * NEWS: Update ia64 info.
22506
c7df0112
AS
225072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22508
22509 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22510 used as bcopy.
22511
dc70356c
TS
225122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22513
22514 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22515 * sysdeps/unix/syscalls.list (dup3): Likewise.
22516 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22517 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22518
9fb1a21f
L
225192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22520
22521 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22522 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22523
4822a2a5
L
225242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22525
22526 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22527 thread pointer.
22528 (TLS_IE): Use mov/add instead of movq/addq to load thread
22529 pointer.
22530 (TLS_GD_PREFIX): New.
22531 (TLS_GD): Use it.
22532
842b81d6
DM
225332012-05-11 David S. Miller <davem@davemloft.net>
22534
22535 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22536 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22537 (_FPU_SETCW): Likewise.
22538
1cf463cd
L
225392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22540
22541 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22542 is 32-byte aligned.
22543
60cc4a18
AS
225442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22545
22546 [BZ #11837]
22547 * iconvdata/gb18030.c: Update tables.
22548 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22549 characters specially.
22550 (BODY for TO_LOOP): Add encoding of missing ranges.
22551
febb44a4
TS
225522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22553
22554 [BZ #13673]
22555 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22556 * sysdeps/mach/hurd/dup3.c: Likewise.
22557 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22558 * sysdeps/powerpc/memmove.c:: Likewise.
22559
0a10fb9e
L
225602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22561
22562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22563 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22564
df8a552f
L
225652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * elf/elf.h (R_X86_64_RELATIVE64): New.
22568 (R_X86_64_NUM): Updated.
22569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22570 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22571 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22572 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22573 tst-quad1pie tst-quad2pie
22574 (modules-names): Add tst-quadmod1 tst-quadmod2.
22575 ($(objpfx)tst-quad1): New dependency.
22576 ($(objpfx)tst-quad2): Likewise.
22577 ($(objpfx)tst-quad1pie): Likewise.
22578 ($(objpfx)tst-quad2pie): Likewise.
22579 * sysdeps/x86_64/tst-quad1.c: New file.
22580 * sysdeps/x86_64/tst-quad1pie.c: New file.
22581 * sysdeps/x86_64/tst-quad2.c: Likewise.
22582 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22583 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22584 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22585 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22586 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22587
f34d6f84
ST
225882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22589
f42d41d1
ST
22590 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22591 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22592 * streams/stropts.h (t_scalar_t): Define type.
22593
3c3571fc
ST
22594 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22595 (_PATH_PRESERVE): Set to "/var/lib".
22596 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22597
61f06bd3
ST
22598 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22599 instead of int.
22600
918d4d71
ST
22601 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22602 if __dir_mkfile succeeded.
22603
f34d6f84
ST
22604 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22605 checking for _hurd_dtablesize. Unlock it right after having
22606 finished _hurd_dtable allocation.
22607
10589b4a
TS
226082012-05-10 Thomas Schwinge <thomas@schwinge.name>
22609
674cdbc7
TS
22610 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22611 * sysdeps/mach/hurd/configure: Regenerated.
22612 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22613 special-casing to...
22614 * sysdeps/gnu/configure.in: ... this new file.
22615 * sysdeps/unix/sysv/linux/configure: Regenerated.
22616 * sysdeps/gnu/configure: New generated file.
22617
8e41b99f
TS
22618 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22619 for Linux: use nsec instead of usec, as well as:
22620 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22621 members of type struct timespec.
22622 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22623 New macros.
22624 (struct stat64): Likewise.
22625 (_STATBUF_ST_NSEC): New macro.
22626 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22627
10589b4a
TS
22628 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22629 __strtoul_internal rather than strtoul.
22630
63643c85
PT
226312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22632
22633 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22634 and reject them.
22635
3faebe6a
ST
226362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22637
22638 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22639 which preserves existing values.
22640 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22641
c6474b07
PT
226422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22643
22644 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22645 TIMEOUT values. Return EINVAL for NFDS values either negative or
22646 greater than FD_SETSIZE.
22647
1043890b
ST
226482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22649
22650 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22651 allocated, call __vm_protect to finish enabling the existing space, and
22652 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22653 allocate the remainder.
22654
37ed8b9b
PT
226552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22656
22657 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22658 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22659
db653660
ST
226602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22661
37ed8b9b
PT
22662 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22663 sysdeps/mach/hurd/readlink.c.
b29d4053 22664
db653660
ST
22665 * posix/tst-sysconf.c (posix_options): Only use
22666 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22667 _POSIX_SYNCHRONIZED_IO when they are defined
22668 * sysdeps/mach/hurd/bits/posix_opt.h:
22669 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22670 (_XOPEN_REALTIME): Undefine macro.
22671 (_XOPEN_REALTIME_THREADS): Undefine macro.
22672 (_XOPEN_SHM): Undefine macro.
22673 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22674 macro to -1.
22675 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22676 macro to -1.
22677 (_POSIX_ASYNC_IO): Undefine macro.
22678 (_POSIX_PRIORITIZED_IO): Undefine macro.
22679 (_POSIX_SPIN_LOCKS): Define macro to -1.
22680
ee16e894
ST
22681 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22682 SA_NODEFER, SA_RESETHAND.
22683 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22684 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22685 F_DUPFD_CLOEXEC.
22686
6103ae3b
TS
226872012-05-10 Thomas Schwinge <thomas@schwinge.name>
22688
22689 * elf/Makefile (pldd-modules): Define unconditionally.
22690
80b4e5f3
TS
226912012-05-10 Thomas Schwinge <thomas@schwinge.name>
22692
22693 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22694
edadcbd6
ST
226952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22696
22697 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22698 Return ENOENT when name is empty.
22699 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22700
80694780
TS
227012012-05-10 Thomas Schwinge <thomas@schwinge.name>
22702
1792c087
TS
22703 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22704
80694780
TS
22705 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22706
6b645f0d
ST
227072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22708
80694780
TS
22709 Fix mlock in all cases except non-readable pages.
22710 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22711 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22712
6b645f0d
ST
22713 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22714 (__mkdir): When path is `/', just fail with EEXIST.
22715 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22716
e468f8a3
TS
227172012-05-10 Thomas Schwinge <thomas@schwinge.name>
22718
22719 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22720 <sys/uio.h> (for writev).
22721 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22722 and <sys/param.h> (for MIN).
22723
a4186cff
PT
227242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22725
22726 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22727 REQUESTED_TIME. Properly set the remaining time and return EINTR
22728 if interrupted.
22729
510bbf14
TS
227302012-05-10 Thomas Schwinge <thomas@schwinge.name>
22731
22732 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22733 Depend on against $(link-rpcuserlibs).
22734
5d5722e8
ST
227352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22736
a4186cff
PT
22737 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22738 (__libc_stack_end): Do not use attribute_relro.
22739 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22740 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22741 to libthread-provided value.
a4186cff
PT
22742 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22743 attribute_relro.
5d5722e8 22744
37233df9
TS
227452012-05-10 Thomas Schwinge <thomas@schwinge.name>
22746
be971a2b
TS
22747 [BZ #3748]
22748 * bits/libc-lock.h (__libc_once_get): New macro.
22749 * sysdeps/mach/bits/libc-lock.h: Likewise.
22750 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22752 instead of using implementation details.
22753
37233df9
TS
22754 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22755 * libio/freopen.c: Likewise.
22756 * libio/freopen64.c: Likewise.
22757 * misc/syslog.c: Likewise.
22758 * nscd/connections.c: Likewise.
22759 * nscd/netgroupcache.c: Likewise.
22760 * sysdeps/posix/getcwd.c: Likewise.
22761
38de94a5
RM
227622012-05-10 Roland McGrath <roland@hack.frob.com>
22763
22764 * math/w_ilogbf.c: Add #include <limits.h>.
22765
67530489
ST
227662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22767
a4186cff 22768 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22769 path instead of returning without unlocking.
22770
67530489
ST
22771 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22772 immediate-write ioctls.
22773 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22774
5aa3a74a
TS
227752012-05-10 Thomas Schwinge <thomas@schwinge.name>
22776
18bad2ae
TS
22777 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22778 __builtin_frame_address instead of making assumptions about the
22779 location of the return address relative to DATA. Force early load of
22780 the return address.
22781 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22782 __builtin_frame_address.
22783
5aa3a74a
TS
22784 dup3 for GNU Hurd.
22785 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22786 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22787 implement dup3 and do some further code clean-ups.
22788 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22789 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22790
ecd0de9a
ST
227912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22792
cd9fa985
ST
22793 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22794
a4186cff
PT
22795 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22796 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22797 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22798 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22799 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22800 d->port.lock.
802ca5a5 22801
a4186cff
PT
22802 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22803 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22804 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22805
bcf55240
TS
228062012-05-10 Thomas Schwinge <thomas@schwinge.name>
22807
6960eb42
TS
22808 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22809 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22810 definitions.
22811
eb43375f
TS
22812 accept4 for GNU Hurd.
22813 * include/sys/socket.h (__libc_accept4): New prototype.
22814 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22815 to implement __libc_accept4.
22816 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22817 __libc_accept4.
22818 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22819
bcf55240
TS
22820 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22821 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22822 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22823 signal-defines.sym.
22824
6178c55b
ST
228252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22826
a4186cff 22827 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22828
6f080c2f
TS
228292012-05-10 Thomas Schwinge <thomas@schwinge.name>
22830
22831 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22832 assertion on O_CLOEXEC flag.
22833 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22834 * hurd/intern-fd.c: Likewise.
22835 * hurd/port2fd.c: Likewise.
22836
bcfe3a54
ST
228372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22838
22839 [BZ #3906]
22840 * bits/in.h (IPV6_PKTINFO): Define new macro.
22841 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22842
89c9aa49
AZ
228432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22844
22845 [BZ #13954]
22846 [BZ #13955]
22847 [BZ #13956]
22848 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22850 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22851 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22854 * math/libm-test.inc (logb_test) : Additional logb tests.
22855
021db4be
AJ
228562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22857 Andreas Jaeger <aj@suse.de>
22858
22859 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22860 * configure: Regenerated.
22861 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22862 * config.make.in (link-obsolete-rpc): New substituted variable.
22863 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22864 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22865 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22866 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22867 so that libc.a contains the symbols.
22868 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22869 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22870 * sunrpc/auth_none.c: Likewise.
22871 * sunrpc/auth_unix.c: Likewise.
22872 * sunrpc/authdes_prot.c: Likewise.
22873 * sunrpc/authuxprot.c: Likewise.
22874 * sunrpc/clnt_gen.c: Likewise.
22875 * sunrpc/clnt_perr.c: Likewise.
22876 * sunrpc/clnt_raw.c: Likewise.
22877 * sunrpc/clnt_simp.c: Likewise.
22878 * sunrpc/clnt_tcp.c: Likewise.
22879 * sunrpc/clnt_udp.c: Likewise.
22880 * sunrpc/clnt_unix.c: Likewise.
22881 * sunrpc/des_crypt.c: Likewise.
22882 * sunrpc/des_soft.c: Likewise.
22883 * sunrpc/get_myaddr.c: Likewise.
22884 * sunrpc/key_call.c: Likewise.
22885 * sunrpc/key_prot.c: Likewise.
22886 * sunrpc/netname.c: Likewise.
22887 * sunrpc/pm_getmaps.c: Likewise.
22888 * sunrpc/pm_getport.c: Likewise.
22889 * sunrpc/pmap_clnt.c: Likewise.
22890 * sunrpc/pmap_prot.c: Likewise.
22891 * sunrpc/pmap_prot2.c: Likewise.
22892 * sunrpc/pmap_rmt.c: Likewise.
22893 * sunrpc/publickey.c: Likewise.
22894 * sunrpc/rpc_cmsg.c: Likewise.
22895 * sunrpc/rpc_common.c: Likewise.
22896 * sunrpc/rpc_dtable.c: Likewise.
22897 * sunrpc/rpc_prot.c: Likewise.
22898 * sunrpc/rpc_thread.c: Likewise.
22899 * sunrpc/rtime.c: Likewise.
22900 * sunrpc/svc.c: Likewise.
22901 * sunrpc/svc_auth.c: Likewise.
22902 * sunrpc/svc_raw.c: Likewise.
22903 * sunrpc/svc_run.c: Likewise.
22904 * sunrpc/svc_tcp.c: Likewise.
22905 * sunrpc/svc_udp.c: Likewise.
22906 * sunrpc/svc_unix.c: Likewise.
22907 * sunrpc/svcauth_des.c: Likewise.
22908 * sunrpc/xcrypt.c: Likewise.
22909 * sunrpc/xdr.c: Likewise.
22910 * sunrpc/xdr_array.c: Likewise.
22911 * sunrpc/xdr_float.c: Likewise.
22912 * sunrpc/xdr_intXX_t.c: Likewise.
22913 * sunrpc/xdr_mem.c: Likewise.
22914 * sunrpc/xdr_rec.c: Likewise.
22915 * sunrpc/xdr_ref.c: Likewise.
22916 * sunrpc/xdr_sizeof.c: Likewise.
22917 * sunrpc/xdr_stdio.c: Likewise.
22918
b5c086a2
RM
229192012-05-10 Roland McGrath <roland@hack.frob.com>
22920
22921 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22922 change. Update copyright years.
22923
6d74dd09
JM
229242012-05-10 Joseph Myers <joseph@codesourcery.com>
22925
22926 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22927
28e72501
MK
229282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22929 Joseph Myers <joseph@codesourcery.com>
22930 Paul Pluzhnikov <ppluzhnikov@google.com>
22931
22932 [BZ #14012]
22933 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22934 requiring rpcgen.
22935 [cross-compiling] (extra-libs): Likewise.
22936 [cross-compiling] (extra-libs-others): Likewise.
22937 [cross-compiling] (librpcsvc-routines): Likewise.
22938 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22939 [cross-compiling] (omit-deps): Likewise.
22940 (sunrpc-CPPFLAGS): New variable.
22941 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22942 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22943 (cross-rpcgen-objs): New variable.
22944 (extra-objs): Append $(cross-rpcgen-objs).
22945 ($(cross-rpcgen-objs)): New rule.
22946 ($(objpfx)cross-rpcgen): Likewise.
22947 (rpcgen-cmd): Define to use $(built-program-file). Expand
22948 comment.
22949 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22950 ($(objpfx)x%.stmp): Likewise.
22951 * sunrpc/proto.h [IS_IN_build] (_): Define.
22952 [IS_IN_build] (_libc_intl_domainname): Likewise.
22953
c8c59454
L
229542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22955
22956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22957 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22958 and R_X86_64_TPOFF64.
22959
6f27cd16
JM
229602012-05-10 Joseph Myers <joseph@codesourcery.com>
22961
22962 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22963 sysdeps/unix/sysv/syscalls.list.
22964 (stime): Likewise.
22965 (utime): Likewise.
22966 * sysdeps/unix/sysv/syscalls.list: Remove file.
22967
02467e1c
PE
229682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22969
22970 [BZ #3440]
22971 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22972 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22973 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22974 (__LC_IDENTIFICATION): Make these macros useful in #if
22975 expressions, as required by C99.
22976
da392631
AS
229772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22978
22979 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22980 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22981 after this.
22982
8115f29b
L
229832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22984
22985 * stdlib/longlong.h: Updated from GCC.
22986
bdd74070
AJ
229872012-05-09 Andreas Jaeger <aj@suse.de>
22988
edfe0dbe
AJ
22989 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22990 default is first entry.
22991 (run_mode): Set type.
22992 (main): Remove informal message about syslog.
22993 (options): Fix typo.
22994
bcfe3a54
ST
22995 [BZ #14053]
22996 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22997 to asm.
bcfe3a54
ST
22998 (lrint): Likewise.
22999 (llrintf): Likewise.
23000 (llrint): Likewise.
23001 (rint): Likewise.
23002 (rintf): Likewise.
23003 (nearbyint): Likewise.
23004 (nearbyintf): Likewise.
bdd74070 23005
91d8d69e
AJ
230062012-05-09 Andreas Jaeger <aj@suse.de>
23007 Pedro Alves <palves@redhat.com>
23008
23009 * nscd/nscd.c (run_mode): Use enum.
23010 (main): Cleanup coding style issue.
23011
bb90b80b
AJ
230122012-05-09 Alexandre Oliva <aoliva@redhat.com>
23013 Andreas Jaeger <aj@suse.de>
23014
bcfe3a54
ST
23015 * nscd/nscd.c (go_background): Replaced with...
23016 (run_mode): ... this.
bb90b80b 23017 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23018 (options): Add -F --foreground.
23019 (main): Implement it.
23020 (parse_opt): Parse it.
bb90b80b 23021
1a4b75a1
AJ
230222012-05-09 Andreas Jaeger <aj@suse.de>
23023
23024 [BZ #14083]
23025 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23026 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23027 -Wconversion warning.
23028 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23029 Likewise.
23030
b1cc2472
JM
230312012-05-09 Joseph Myers <joseph@codesourcery.com>
23032
23033 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23034 == 0.
23035 (LC_ALL): Use macro-int-constant.
23036 (LC_COLLATE): Likewise.
23037 (LC_CTYPE): Likewise.
23038 (LC_MESSAGES): Likewise.
23039 (LC_MONETARY): Likewise.
23040 (LC_NUMERIC): Likewise.
23041 (LC_TIME): Likewise.
23042 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23043 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23045 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23046 Specify type.
23047 [C99-based standards] (float_t): Expect type.
23048 [C99-based standards] (double_t): Expect type.
23049 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23050 type.
23051 [C99-based standards] (HUGE_VALL): Likewise.
23052 [C99-based standards] (INFINITY): Likewise.
23053 [C99-based standards] (NAN): Likewise.
23054 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23055 [C99-based standards] (FP_NAN): Likewise.
23056 [C99-based standards] (FP_NORMAL): Likewise.
23057 [C99-based standards] (FP_SUBNORMAL): Likewise.
23058 [C99-based standards] (FP_ZERO): Likewise.
23059 [C99-based standards] (FP_FAST_FMA): Use
23060 optional-macro-int-constant. Specify type. Require == 1.
23061 [C99-based standards] (FP_FAST_FMAF): Likewise.
23062 [C99-based standards] (FP_FAST_FMAL): Likewise.
23063 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23064 [C99-based standards] (FP_ILOGBNAN): Likewise.
23065 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23066 Specify type.
23067 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23068 [C99-based standards] (math_errhandling): Specify type.
23069 [ISO99 || ISO11] (signgam): Do not allow.
23070 [non-C99-based standards] (copysignf): Do not allow.
23071 [non-C99-based standards] (exp2f): Likewise.
23072 [non-C99-based standards] (log2f): Likewise.
23073 [non-C99-based standards] (modff): Allow.
23074 [non-C99-based standards] (erff): Do not allow.
23075 [non-C99-based standards] (erfcf): Likewise.
23076 [non-C99-based standards] (gammaf): Likewise.
23077 [non-C99-based standards] (hypotf): Likewise.
23078 [non-C99-based standards] (j0f): Likewise.
23079 [non-C99-based standards] (j1f): Likewise.
23080 [non-C99-based standards] (jnf): Likewise.
23081 [non-C99-based standards] (lgammaf): Likewise.
23082 [non-C99-based standards] (tgammaf): Likewise.
23083 [non-C99-based standards] (y0f): Likewise.
23084 [non-C99-based standards] (y1f): Likewise.
23085 [non-C99-based standards] (ynf): Likewise.
23086 [non-C99-based standards] (isnanf): Likewise.
23087 [non-C99-based standards] (acoshf): Likewise.
23088 [non-C99-based standards] (asinhf): Likewise.
23089 [non-C99-based standards] (atanhf): Likewise.
23090 [non-C99-based standards] (cbrtf): Likewise.
23091 [non-C99-based standards] (expm1f): Likewise.
23092 [non-C99-based standards] (ilogbf): Likewise.
23093 [non-C99-based standards] (log1pf): Likewise.
23094 [non-C99-based standards] (logbf): Likewise.
23095 [non-C99-based standards] (nextafterf): Likewise.
23096 [non-C99-based standards] (remainderf): Likewise.
23097 [non-C99-based standards] (rintf): Likewise.
23098 [non-C99-based standards] (scalbf): Likewise.
23099 [non-C99-based standards] (copysignl): Likewise.
23100 [non-C99-based standards] (exp2l): Likewise.
23101 [non-C99-based standards] (log2l): Likewise.
23102 [non-C99-based standards] (modfl): Allow.
23103 [non-C99-based standards] (erfl): Do not allow.
23104 [non-C99-based standards] (erfcl): Likewise.
23105 [non-C99-based standards] (gammal): Likewise.
23106 [non-C99-based standards] (hypotl): Likewise.
23107 [non-C99-based standards] (j0l): Likewise.
23108 [non-C99-based standards] (j1l): Likewise.
23109 [non-C99-based standards] (jnl): Likewise.
23110 [non-C99-based standards] (lgammal): Likewise.
23111 [non-C99-based standards] (tgammal): Likewise.
23112 [non-C99-based standards] (y0l): Likewise.
23113 [non-C99-based standards] (y1l): Likewise.
23114 [non-C99-based standards] (ynl): Likewise.
23115 [non-C99-based standards] (isnanl): Likewise.
23116 [non-C99-based standards] (acoshl): Likewise.
23117 [non-C99-based standards] (asinhl): Likewise.
23118 [non-C99-based standards] (atanhl): Likewise.
23119 [non-C99-based standards] (cbrtl): Likewise.
23120 [non-C99-based standards] (expm1l): Likewise.
23121 [non-C99-based standards] (ilogbl): Likewise.
23122 [non-C99-based standards] (log1pl): Likewise.
23123 [non-C99-based standards] (logbl): Likewise.
23124 [non-C99-based standards] (nextafterl): Likewise.
23125 [non-C99-based standards] (remainderl): Likewise.
23126 [non-C99-based standards] (rintl): Likewise.
23127 [non-C99-based standards] (scalbl): Likewise.
23128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23129 [non-C99-based standards] (FP_*): Do not allow.
23130 [C99-based standards] (FP_*): Change to
23131 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23132 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23133 allow.
23134 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23135 (SIG_ERR): Likewise.
23136 [X/Open-based standards] (SIG_HOLD): Likewise.
23137 (SIG_IGN): Likewise.
23138 (SIGABRT): Use macro-int-constant. Specify type. Require
23139 positive value.
23140 (SIGFPE): Likewise.
23141 (SIGILL): Likewise.
23142 (SIGINT): Likewise.
23143 (SIGSEGV): Likewise.
23144 (SIGTER): Likewise.
23145 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23147 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23148 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23149 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23150 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23151 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23152 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23153 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23154 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23155 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23156 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23157 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23158 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23159 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23160 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23161 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23162 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23163 [X/Open-based standards] (SIGTRAP): Likewise.
23164 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23165 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23166 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23167 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23168 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23169 allow.
23170
b9f1922d
IW
231712012-05-08 Ian Wienand <ianw@vmware.com>
23172
23173 [BZ #14080]
23174 * time/tzset.c (__tzset_parse_tz): Update default rules for
23175 daylight time changes in the Energy Policy Act of 2005.
23176
1db86e88
AJ
231772012-05-09 Andreas Jaeger <aj@suse.de>
23178
23179 [BZ #13983]
23180 * elf/ldconfig.c (parse_conf): Change string to make clear that
23181 ldconfig only issued a warning if ld.so.conf does not exist.
23182
dee4a4e3
DM
231832012-05-08 David S. Miller <davem@davemloft.net>
23184
ee0db190
DM
23185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23186 movxtod instead of popping the value on the stack.
23187
dee4a4e3
DM
23188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23189
6a43ec98
CD
231902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23191
23192 * config.h.in: Add HAVE_ARM_PCS_VFP.
23193
05c2c961
RMG
231942012-05-08 Roland Mc Grath <roland@hack.frob.com>
23195
bcfe3a54
ST
23196 [BZ #13979]
23197 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23198 checking but the checks are disabled for any reason.
05c2c961 23199
4b30f61a
L
232002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23201
23202 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23203 and ELF64_R_TYPE with ELFW(R_TYPE).
23204
eee2bc67
JM
232052012-05-08 Joseph Myers <joseph@codesourcery.com>
23206
7ea5391a
JM
23207 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23208 (ulimit): Likewise.
23209
eee2bc67
JM
23210 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23211 (settimeofday): Likewise.
23212
abb66a67
MF
232132012-05-08 Mike Frysinger <vapier@gentoo.org>
23214
23215 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23216 a struct th_u2 inside the union, and move tu_block/tu_code into
23217 a new th_u3 union of tu_block/tu_code inside of that. Move
23218 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23219 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23220 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23221 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23222 (th_stuff): Change to th_u1.tu_stuff.
23223 (th_data): Define.
23224 (th_msg): Change to th_u1.th_u2.tu_data.
23225
7f18b530
DM
232262012-05-07 David S. Miller <davem@davemloft.net>
23227
05760585
DM
23228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23229
7f18b530
DM
23230 [BZ #14074]
23231 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23232 (SETUP_PIC_REG): Use it.
23233 (SETUP_PIC_REG_LEAF): Use it.
23234
495fd99f
JM
232352012-05-07 Joseph Myers <joseph@codesourcery.com>
23236
23237 [BZ #13885]
23238 [BZ #13923]
23239 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23240 USE_AS_EXPM1L.
23241 (EXPL_FINITE): Likewise.
23242 (FLDLOG): Likewise.
23243 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23244 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23245 e_expl.S.
23246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23247 USE_AS_EXPM1L.
23248 (EXPL_FINITE): Likewise.
23249 (FLDLOG): Likewise.
23250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23251 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23252 e_expl.S.
23253 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23254 test of -max_value argument for long double.
23255 * sysdeps/i386/fpu/libm-test-ulps: Update.
23256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23257
6693d694
DM
232582012-05-06 David S. Miller <davem@davemloft.net>
23259
23260 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23261 quad soft-float symbols whose references which are compiler
23262 generated.
23263 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23264
6c23e11c
JM
232652012-05-06 Joseph Myers <joseph@codesourcery.com>
23266
d8b82cad
JM
23267 [BZ #13884]
23268 [BZ #13914]
23269 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23270 USE_AS_EXP10L.
23271 (EXPL_FINITE): Likewise.
23272 (FLDLOG): Likewise.
23273 (c0): Likewise.
23274 (c1): Likewise.
23275 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23276 Adjust comments for base varying.
23277 (__expl_finite): Change alias to EXPL_FINITE.
23278 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23279 e_expl.S.
23280 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23281 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23283 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23284 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23285 USE_AS_EXP10L.
23286 (EXPL_FINITE): Likewise.
23287 (FLDLOG): Likewise.
23288 (c0): Likewise.
23289 (c1): Likewise.
23290 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23291 Adjust comments for base varying.
23292 (__expl_finite): Change alias to EXPL_FINITE.
23293 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23294 tests for bugs.
23295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23296
6c23e11c
JM
23297 [BZ #14064]
23298 * math/libm-test.inc (check_float_internal): Correct ulp
23299 calculation for subnormal expected results.
23300
29ba805c
AJ
233012012-05-06 Andreas Jaeger <aj@suse.de>
23302
23303 * Makeconfig (+math-flags): New, set to -frounding-math.
23304 (+cflags): Add +math-flags so that all of glibc gets compiled with
23305 it.
23306
23307 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23308
7b17aeda
JM
233092012-05-05 Joseph Myers <joseph@codesourcery.com>
23310
5779f134
JM
23311 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23312 Disable one test.
23313
41498f4d
JM
23314 [BZ #13787]
23315 [BZ #13922]
23316 [BZ #14036]
23317 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23318 (__ieee754_expl): Allow for and saturate large arguments.
23319 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23320 (u_threshold): Likewise.
23321 (__exp): Call __ieee754_exp before checking for overflow and
23322 underflow.
23323 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23324 (u_threshold): Likewise.
23325 (__expf): Call __ieee754_expf before checking for overflow and
23326 underflow.
23327 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23328 (u_threshold): Likewise.
23329 (__expl): Call __ieee754_expl before checking for overflow and
23330 underflow.
23331 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23332 (__ieee754_expl): Allow for and saturate large arguments.
23333 * math/libm-test.inc (exp_test): Add another test. Do not allow
23334 missing overflow exception on overflow.
23335 (expm1_test): Do not allow missing overflow exception on overflow.
23336
6698b8bf
JM
23337 * sysdeps/i386/fpu/e_expl.c: Move to ...
23338 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23339 rather than using inline asm.
23340 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23341 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23342 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23343
7b17aeda
JM
23344 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23345 (nice): Likewise.
23346 (poll): Likewise.
23347 (signal): Likewise.
23348 (time): Likewise.
23349 (times): Likewise.
23350
f7c85819
JM
233512012-05-04 Joseph Myers <joseph@codesourcery.com>
23352
23353 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23354 sysdeps/unix/common/syscalls.list.
23355 (fchmod): Likewise.
23356 (fchown): Likewise.
23357 (ftruncate): Likewise.
23358 (getrusage): Likewise.
23359 (gettimeofday): Likewise.
23360 (setpgid): Likewise.
23361 (setregid): Likewise.
23362 (setreuid): Likewise.
23363 (sigaction): Likewise.
23364 (truncate): Likewise.
23365 (vhangup): Likewise.
23366 * sysdeps/unix/common/syscalls.list: Remove file.
23367 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23368 * sysdeps/unix/sysv/linux/Implies: Likewise.
23369
336270d0
L
233702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23371
23372 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23374 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23375 Moved to ...
23376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23377 Here.
23378 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23379 to ...
23380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23381 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23382 to ...
23383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23384 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23385 to ...
23386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23387 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23388 to ...
23389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23390 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23391 to ...
23392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23393 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23394 to ...
23395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23396 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23397 to ...
23398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23399 Here.
23400 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23401 to ...
23402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23403 Here.
23404 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23405 to ...
23406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23407 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23408 Moved to ...
23409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23410 Here.
23411 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23412 to ...
23413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23414
d128e450
JM
234152012-05-04 Joseph Myers <joseph@codesourcery.com>
23416
fa8ee516
JM
23417 * sysdeps/unix/common/bits/dirent.h: Remove file.
23418 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23419
d128e450
JM
23420 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23421 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23422 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23423 * sysdeps/unix/bsd/isatty.c: Likewise.
23424 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23425 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23426 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23427
ff8faaf0 234282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23429
62881be4 23430 [BZ #13563]
31dc8730
AZ
23431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23432 long double comparison inaccuracies.
23433 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23435
6fef930c
AS
234362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23437
23438 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23440
8f203e6c
JM
234412012-05-04 Joseph Myers <joseph@codesourcery.com>
23442
23443 [BZ #14049]
23444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23445 nonzero digits before rounding a hex value.
23446 * stdlib/tst-strtod.c (tests): Add another test.
23447
5197d9c2
AK
234482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23449
23450 * sysdeps/s390/fpu/libm-test-ulps: Update.
23451
f0c1dedf
AJ
234522012-05-03 Andreas Jaeger <aj@suse.de>
23453
23454 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23455 does not get optimized out.
23456 (malloc_opt_barrier): New.
23457
a65ef2ae 234582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23459 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23460
2b942cb7 23461 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23462 intermediate file deletion.
2b942cb7 23463 (generated): Add .symlist files.
a65ef2ae 23464
54b71e02
JM
234652012-05-03 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #13775]
23468 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23469 Redirect under this condition.
23470 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23471 [__USE_GNU] (__dprintf_chk): Not under this condition.
23472 [__USE_GNU] (__vdprintf_chk): Likewise.
23473 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23474 under this condition.
23475 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23476 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23477 [__USE_XOPEN2K8] (vdprintf): Likewise.
23478 [__USE_GNU] (__dprintf_chk): Not under this condition.
23479 [__USE_GNU] (__vdprintf_chk): Likewise.
23480 [__USE_GNU] (dprintf): Likewise.
23481 [__USE_GNU] (vdprintf): Likewise.
23482
d3dfcc41
RM
234832012-05-03 Roland McGrath <roland@hack.frob.com>
23484
23485 * elf/Makefile (common-generated): Set this instead of generated for
23486 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23487 $(all-built-dso)-derived lists.
23488
7ac30cc5
AJ
234892012-05-03 Andreas Jaeger <aj@suse.de>
23490
0c51e550
AJ
23491 * sysdeps/i386/fpu/libm-test-ulps: Update.
23492
7ac30cc5
AJ
23493 * FAQ: Removed.
23494 * FAQ.in: Likewise.
23495 * scripts/gen-FAQ.pl: Likewise.
23496 * manual/install.texi (Installation): Point to online location of
23497 FAQ.
23498 * Makefile (files-for-dist): Remove FAQ.
23499 (FAQ): Remove.
23500
d4c2917f
AM
235012012-05-02 Allan McRae <allan@archlinux.org>
23502
23503 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23504 (LDFLAGS-reldepmod5.so): Likewise.
23505 (LDFLAGS-reldep6mod1.so): Likewise.
23506 (LDFLAGS-reldep6mod4.so): Likewise.
23507 (LDFLAGS-reldep8mod3.so): Likewise.
23508 (LDFLAGS-unload4mod1.so): Likewise.
23509 (LDFLAGS-unload4mod2.so): Likewise.
23510 (LDFLAGS-tst-initorder): Likewise.
23511 (LDFLAGS-tst-initordera2.so): Likewise.
23512 (LDFLAGS-tst-initordera3.so): Likewise.
23513 (LDFLAGS-tst-initordera4.so): Likewise.
23514 (LDFLAGS-tst-initorderb2.so): Likewise.
23515 (LDFLAGS-noload): Likewise.
23516 (LDFLAGS-next): Likewise.
23517 (LDFLAGS-order2mod1.so): Likewise.
23518 (LDFLAGS-order2mod2.so): Likewise.
23519 (LDFLAGS-tst-initorder2): Likewise.
23520 (LDFLAGS-tst-initorder2a.so): Likewise.
23521 (LDFLAGS-tst-initorder2b.so): Likewise.
23522 (LDFLAGS-tst-initorder2c.so): Likewise.
23523 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23524
d77f993f
DM
235252012-05-02 David S. Miller <davem@davemloft.net>
23526
23527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23528
171a70b4
PP
235292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23530
23531 [BZ #14055]
23532 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23533
0be196ad
AJ
235342012-05-02 Andreas Jaeger <aj@suse.de>
23535
23536 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23537 since we manipulate rounding mode.
23538 (CPPFLAGS-test-idouble.c): Likewise.
23539 (CPPFLAGS-test-ifloat.c): Likewise.
23540 (CFLAGS-test-ldouble.c): Likewise.
23541 (CFLAGS-test-double.c): Likewise.
23542 (CFLAGS-test-float.c): Likewise.
23543 (CFLAGS-test-misc.c): Likewise.
23544 (CFLAGS-test-test-fenv.c): Likewise.
23545
4f9d04aa
AZ
235462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23547
2b942cb7
RM
23548 [BZ #2550]
23549 [BZ #2570]
23550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23551 comparisons to determine direction to adjust input.
4f9d04aa 23552
82a79e7d
RM
235532012-05-01 Roland McGrath <roland@hack.frob.com>
23554
f5a01ca9
RM
23555 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23556 output to the target.
23557
90fe4186
RM
23558 * scripts/localplt.awk: New file.
23559 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23560 (check-localplt-CFLAGS): Variable removed.
23561 ($(all-built-dso:=.jmprel)): New static pattern rule.
23562 (generated): Add those targets.
23563 (localplt-built-dso): New variable.
23564 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23565
23566 * elf/check-localplt.c: File removed.
23567
82397ed6
RM
23568 * scripts/check-execstack.awk: New file.
23569 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23570 (check-execstack-CFLAGS): Variable removed.
23571 ($(objpfx)check-execstack.h): Target removed.
23572 ($(objpfx)execstack-default): New target.
23573 (generated): Add that instead of check-execstack.h.
23574 ($(all-built-dso:=.phdr)): New static pattern rule.
23575 (generated): Add those targets.
23576 * elf/check-execstack.c: File removed.
23577
82a79e7d
RM
23578 * scripts/check-textrel.awk: New file.
23579 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23580 (check-textrel-CFLAGS): Variable removed.
23581 (all-built-dso): Use := to define.o
23582 ($(all-built-dso:=.dyn)): New static pattern rule.
23583 (generated): Add those targets.
23584 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23585 * config.make.in (READELF): New substituted variable.
23586 * elf/check-textrel.c: File removed.
23587
62fde54f 235882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23589
615605c9
JM
23590 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23591 allow.
23592 * conform/data/ctype.h-data [C99-based standards] (isblank):
23593 Expect function.
23594 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23595 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23597 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23598 Specify type. Require positive value.
23599 (EILSEQ): Likewise.
23600 (ERANGE): Likewise.
23601 [ISO || POSIX] (EILSEQ): Do not expect.
23602 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23603 Specify type. Require positive value.
23604 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23605 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23606 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23607 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23608 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23609 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23610 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23611 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23617 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23621 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23622 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23647 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23653 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23660 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23661 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23662 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23663 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23664 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23665 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23666 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23667 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23668 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23669 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23670 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23671 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23672 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23673 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23674 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23675 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23676 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23677 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23678 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23679 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23680 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23681 Require >= 2.
23682 (FLT_ROUNDS): Expect as macro, not constant.
23683 (FLT_MANT_DIG): Use macro-int-constant.
23684 (DBL_MANT_DIG): Likewise.
23685 (LDBL_MANT_DIG): Likewise.
23686 (FLT_DIG): Likewise.
23687 (DBL_DIG): Likewise.
23688 (LDBL_DIG): Likewise.
23689 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23690 (DBL_MIN_EXP): Likewise.
23691 (LDBL_MIN_EXP): Likewise.
23692 (FLT_MAX_EXP): Use macro-int-constant.
23693 (DBL_MAX_EXP): Likewise.
23694 (LDBL_MAX_EXP): Likewise.
23695 (FLT_MAX_10_EXP): Likewise.
23696 (DBL_MAX_10_EXP): Likewise.
23697 (LDBL_MAX_10_EXP): Likewise.
23698 (FLT_MAX): Use macro-constant.
23699 (DBL_MAX): Likewise.
23700 (LDBL_MAX): Likewise.
23701 (FLT_EPSILON): Use macro-constant. Give upper bound.
23702 (DBL_EPSILON): Likewise.
23703 (LDBL_EPSILON): Likewise.
23704 (FLT_MIN): Likewise.
23705 (DBL_MIN): Likewise.
23706 (LDBL_MIN): Likewise.
23707 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23708 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23709 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23710 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23711 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23712 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23713 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23714 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23715 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23716 [ISO11] (FLT_TRUE_MIN): Likewise.
23717 [ISO11] (LDBL_TRUE_MIN): Likewise.
23718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23719 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23720 (SCHAR_MIN): Use macro-int-constant. Specify type.
23721 (SCHAR_MAX): Likewise.
23722 (UCHAR_MAX): Likewise.
23723 (CHAR_MIN): Likewise.
23724 (CHAR_MAX): Likewise.
23725 (MB_LEN_MAX): Use macro-int-constant.
23726 (SHRT_MIN): Use macro-int-constant. Specify type.
23727 (SHRT_MAX): Likewise.
23728 (USHRT_MAX): Likewise.
23729 (INT_MAX): Likewise.
23730 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23731 bound negative.
23732 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23733 bound with "U".
23734 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23735 bound with "L".
23736 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23737 bound negative. Suffix upper bound with "L".
23738 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23739 bound with "UL".
23740 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23741 Specify type.
23742 [C99-based standards] (LLONG_MAX): Likewise.
23743 [C99-based standards] (ULLONG_MAX): Likewise.
23744 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23745 == 0.
23746 [ISO11] (max_align_t): Require type.
23747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23748
c9140a62
JM
23749 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23750 from $CFLAGS, without defining away __attribute__ calls.
23751 (checknamespace): Use $CFLAGS_namespace.
23752
9af0bf29
JM
23753 * conform/conformtest.pl (@keywords): Only include C99 keywords
23754 for standards based on C99 or C11.
23755
343222a2
JM
23756 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23757 Disable tests.
23758 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23759 UNIX98]: Likewise.
23760
661f8cf0
JM
23761 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23762 usability of symbols in #if.
23763
ee74b9cb
JM
23764 * conform/conformtest.pl: If macro or constant types start
23765 "promoted:", expect the symbol to be of the following type
23766 promoted by the integer promotions.
62fde54f 23767
aafc49b3
JM
23768 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23769 in one place. Also handle "macro-constant".
23770
fefdf574
JM
23771 * conform/conformtest.pl: Only accept expected macro values with
23772 "==". Parse all "macro" lines in one place.
23773 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23774
f2d922fe
JM
23775 * conform/conformtest.pl: Handle braced types on "constant" lines
23776 instead of handling "typed-constant".
23777 * conform/data/signal.h-data: Use "constant" instead of
23778 "typed-constant".
23779
d22956c9
JM
23780 * conform/conformtest.pl: Handle "optional-" at start of lines in
23781 one place rather than duplicating several cases. Handle each
23782 format of "macro" line with initial "optional-".
23783
028e2e38
JM
23784 * conform/conformtest.pl: Only accept expected constant or
23785 optional-constant values with "==". Parse all "constant" lines in
23786 one place. Parse all "optional-constant" lines in one place.
23787 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23788 * conform/data/fmtmsg.h-data: Likewise.
23789 * conform/data/netinet/in.h-data: Likewise.
23790 * conform/data/tar.h-data: Likewise.
23791 * conform/data/limits.h-data: Use "==" form on "constant" and
23792 "optional-constant" lines.
23793
1b8f2850
JM
23794 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23795 Use -std=c99 for XOPEN2K.
23796 (@knownproblems): Remove.
23797 (newtoken): Don't check %isknown.
23798
a05a144b
JM
23799 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23800 Do not expect macro.
23801 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23813 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23814 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23815 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23816 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23817 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23818 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23819 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23820 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23821 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23831 [XPG3] (acosh): Likewise.
23832 [XPG3] (asinh): Likewise.
23833 [XPG3] (atanh): Likewise.
23834 [XPG3] (cbrt): Likewise.
23835 [XPG3] (expm1): Likewise.
23836 [XPG3] (ilogb): Likewise.
23837 [XPG3] (log1p): Likewise.
23838 [XPG3] (logb): Likewise.
23839 [XPG3] (nextafter): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23842 [XPG3] (remainder): Likewise.
23843 [XPG3] (rint): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23850 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23851 [UNIX98 || XOPEN2K] (scalb): Expect.
23852 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23853 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23854 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23855 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23856 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23857 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23858 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23859 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23860 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23861 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23862 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23863 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23864 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23865 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23866 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23867 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23868 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23869 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23870 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23871 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23872 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23873 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23874 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23875 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23876 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23877 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23878 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23879 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23880 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23881 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23882 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23883 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23884 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23885 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23886 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23887 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23888 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23889 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23890 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23891 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23892 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23893 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23894 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23895 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23896 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23897 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23898 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23899 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23900 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23901 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23902 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23903 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23904 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23905 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23906 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23907 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23908 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23909 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23910 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23911 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23912 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23913 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23914 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23915 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23916 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23917 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23918 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23919 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23920 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23921 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23922 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23923 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23924 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23925 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23926 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23927 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23928 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23929 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23930 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23931 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23932 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23933 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23934 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23935 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23936 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23937 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23938 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23939 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23940 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23941 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23942 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23943 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23944 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23945 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23946 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23947 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23948 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23949 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23950 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23951 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23952 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23953 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23954 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23955 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23956 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23957 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23958 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23959 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23960 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23961 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23962 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23963 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23964 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23965 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23966 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23967 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23968 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23969 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23970 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23971 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23972 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23973 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23974 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23975 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23976 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23977 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23978 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23979 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23980 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23981 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23982 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23983 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23984 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23985 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23986 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23987 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23988 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23989
73c5ebe3
JM
23990 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23991 _XOPEN_SOURCE_EXTENDED for XPG4.
23992
39c33b6c
JM
23993 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23994
62fde54f
JM
23995 * Makeconfig (localtime): Remove variable.
23996 (inst_localtime-file): Likewise.
23997
0741d64c
AS
239982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23999
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24001 Update.
24002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24003 Update.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24005 Update.
24006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24007 Update.
24008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24009 Update.
24010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24011 Update.
24012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24013 Update.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24015 Update.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24017 Update.
24018
7cb029ee
JM
240192012-05-01 Joseph Myers <joseph@codesourcery.com>
24020
24021 [BZ #2550]
24022 [BZ #2570]
24023 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24024 comparisons to determine direction to adjust input.
24025 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24026 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24028 Likewise.
24029 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24030 Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24032 Likewise.
24033 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24034 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24035 Likewise.
24036 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24037 Likewise.
24038 * math/libm-test.inc (nexttoward_test): Add more tests.
24039
412bd966
AS
240402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24041
24042 [BZ #14040]
24043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24044 in version GLIBC_2.1, not GLIBC_2.0.
24045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24046 Likewise.
24047
9568c0c2
JM
240482012-04-30 Joseph Myers <joseph@codesourcery.com>
24049
adfbc8ac
JM
24050 [BZ #13942]
24051 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24052 (1 - x) * (1 + x).
24053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24054 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24055 * math/libm-test.inc (acos_test): Add more tests.
24056 (asin_test): Likewise.
24057 * sysdeps/i386/fpu/libm-test-ulps: Update.
24058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24059
5ba3cc69
JM
24060 [BZ #14034]
24061 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24062 of square root.
24063 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24064 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24065 * math/libm-test.inc (acos_test_tonearest): New function.
24066 (acos_test_towardzero): Likewise.
24067 (acos_test_downward): Likewise.
24068 (acos_test_upward): Likewise.
24069 (asin_test_tonearest): Likewise.
24070 (asin_test_towardzero): Likewise.
24071 (asin_test_downward): Likewise.
24072 (asin_test_upward): Likewise.
24073 (main): Call the new functions.
24074 * sysdeps/i386/fpu/libm-test-ulps: Update.
24075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24076
9568c0c2
JM
24077 [BZ #13884]
24078 [BZ #13924]
24079 * math/e_exp10.c: Include <float.h>.
24080 (__ieee754_exp10): Handle underflow here rather than multiplying
24081 large negative argument by M_LN10.
24082 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24083 of __ieee754_expf.
24084 * math/e_exp10l.c: Include <float.h>.
24085 (__ieee754_exp10l): Handle underflow here rather than multiplying
24086 large negative argument by M_LN10l.
24087 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24088 spurious overflow exception on underflow.
24089
5ac3ea17
MP
240902012-04-29 Marek Polacek <polacek@redhat.com>
24091
24092 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24093 (__fortify_function): New macro.
24094 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24095 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24096 __extern_always_inline.
24097 * libio/bits/stdio2.h: Likewise.
24098 * libio/bits/stdio.h: Likewise.
24099 * string/string.h: Likewise.
24100 * string/bits/string3.h: Likewise.
24101 * include/stdio.h: Likewise.
24102 * stdlib/bits/stdlib.h: Likewise.
24103 * stdlib/stdlib.h: Likewise.
24104 * rt/bits/mqueue2.h: Likewise.
24105 * rt/mqueue.h: Likewise.
24106 * posix/bits/unistd.h: Likewise.
24107 * posix/unistd.h: Likewise.
24108 * io/bits/poll2.h: Likewise.
24109 * io/bits/fcntl2.h: Likewise.
24110 * io/fcntl.h: Likewise.
24111 * io/sys/poll.h: Likewise.
24112 * misc/bits/syslog.h: Likewise.
24113 * misc/bits/syslog-ldbl.h: Likewise.
24114 * misc/sys/syslog.h: Likewise.
24115 * socket/bits/socket2.h: Likewise.
24116 * socket/sys/socket.h: Likewise.
24117 * debug/tst-chk1.c: Likewise.
24118 * wcsmbs/bits/wchar2.h: Likewise.
24119 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24120 * wcsmbs/wchar.h: Likewise.
24121
ecf0ebfb
AJ
241222012-04-29 Andreas Jaeger <aj@suse.de>
24123
24124 * Makerules (tests): Remove enable-check-abi protection.
24125 (check-abi-warn): Remove.
24126 (check-abi-%): Remove check-abi-warn usage.
24127
24128 * configure.in: Remove check-abi configure option.
24129 * configure: Regenerated.
24130 * config.make.in (enable-check-abi): Remove.
24131
6d5c57fa
AS
241322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24133
24c5d07e 24134 [BZ #14033]
ded5180a
AS
24135 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24136 double functions to double *_finite functions.
24137
7e0d315d
AS
24138 [BZ #13941]
24139 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24140 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24141 LDBL_MIN_EXP.
24142 * stdio-common/Makefile (tests): Add tst-sprintf3.
24143 * stdio-common/tst-sprintf3.c: New file.
24144
6d5c57fa
AS
24145 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24146 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24147
0749ff8b
JM
241482012-04-28 Joseph Myers <joseph@codesourcery.com>
24149
24150 * conform/conformtest.pl: Remove duplicate typed-constant
24151 handling.
24152
8dbd5d7b
DM
241532012-04-28 David S. Miller <davem@davemloft.net>
24154
24155 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24156 (check-abi-%): Remove AWK script prerequisite and explicit
24157 abilist directory.
24158 (check-abi): Rewrite to just diff the symlist with the abilist.
24159 (config-tls, config-abi-config): Delete, no longer used.
24160 (update-abi-%): Remove AWK script and explicit abilist directory.
24161 (update-abi): Rewrite to simply compare and conditionally copy the
24162 symlist and the sysdep abilist file. Remove update-abi-config
24163 checks.
24164 * abilist/ld.abilist: Remove.
24165 * abilist/libBrokenLocale.abilist: Remove.
24166 * abilist/libanl.abilist: Remove.
24167 * abilist/libcrypt.abilist: Remove.
24168 * abilist/libdl.abilist: Remove.
24169 * abilist/librt.abilist: Remove.
24170 * abilist/libthread_db.abilist: Remove.
24171 * abilist/libutil.abilist: Remove.
24172 * scripts/extract-abilist.awk: Remove.
24173 * scripts/merge-abilist.awk: Remove.
24174 * sysdeps/generic/libcidn.abilist: New file.
24175 * sysdeps/generic/libnss_compat.abilist: New file.
24176 * sysdeps/generic/libnss_db.abilist: New file.
24177 * sysdeps/generic/libnss_dns.abilist: New file.
24178 * sysdeps/generic/libnss_files.abilist: New file.
24179 * sysdeps/generic/libnss_hesiod.abilist: New file.
24180 * sysdeps/generic/libnss_nis.abilist: New file.
24181 * sysdeps/generic/libnss_nisplus.abilist: New file.
24182 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24183 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24184 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24185 file.
24186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24187 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24188 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24189 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24190 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24191 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24192 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24193 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24194 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24195 file.
24196 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24197 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24199 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24200 file.
24201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24202 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24204 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24206 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24207 file.
24208 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24209 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24210 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24211 file.
24212 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24214 New file.
24215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24216 New file.
24217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24218 New file.
24219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24220 New file.
24221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24222 New file.
24223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24224 New file.
24225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24226 New file.
24227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24228 New file.
24229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24230 New file.
24231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24232 New file.
24233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24234 New file.
24235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24236 New file.
24237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24238 New file.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24240 file.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24242 New file.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24244 New file.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24246 file.
24247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24248 New file.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24250 New file.
24251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24252 file.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24254 New file.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24256 New file.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24258 New file.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24260 New file.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24262 New file.
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24264 New file.
24265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24267 file.
24268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24269 New file.
24270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24271 file.
24272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24273 file.
24274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24275 file.
24276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24277 file.
24278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24279 file.
24280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24281 New file.
24282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24283 file.
24284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24285 file.
24286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24287 New file.
24288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24289 file.
24290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24292 file.
24293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24294 New file.
24295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24296 file.
24297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24298 file.
24299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24300 file.
24301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24302 file.
24303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24304 file.
24305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24306 New file.
24307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24308 file.
24309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24310 file.
24311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24312 New file.
24313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24314 file.
24315 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24316 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24317 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24318 file.
24319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24320 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24321 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24322 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24323 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24324 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24325 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24326 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24327 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24328 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24331 file.
24332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24333 New file.
24334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24335 file.
24336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24337 file.
24338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24339 file.
24340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24341 file.
24342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24343 file.
24344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24345 New file.
24346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24347 New file.
24348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24349 file.
24350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24351 New file.
24352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24353 file.
24354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24356 file.
24357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24358 New file.
24359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24360 file.
24361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24362 file.
24363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24364 file.
24365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24366 file.
24367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24368 file.
24369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24370 New file.
24371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24372 New file.
24373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24374 file.
24375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24376 New file.
24377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24378 file.
24379
41d73a1b
JM
243802012-04-28 Joseph Myers <joseph@codesourcery.com>
24381
24382 * conform/conformtest.pl: Fix typo in handling typed-constant from
24383 allow-header.
24384
28aeeda4
JM
243852012-04-27 Joseph Myers <joseph@codesourcery.com>
24386
adae8f5e
JM
24387 * README: Cut down references to pre-2.6 Linux kernels and
24388 Linuxthreads. Update lists of configurations in libc and ports
24389 and sort alphabetically. Say "or newer" with Linux kernel version
24390 requirements.
24391
28aeeda4
JM
24392 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24393
a462cb63
RA
243942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24395
24396 [BZ #887]
24397 * math/libm-test.inc (logb_test_downward): New test to expose
24398 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24399 rounding mode.
24400
6ad3493e
JM
244012012-04-27 Joseph Myers <joseph@codesourcery.com>
24402
24403 [BZ #14027]
24404 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24405 to be done.
24406 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24407 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24408
2ce4f015
JM
244092012-04-26 Joseph Myers <joseph@codesourcery.com>
24410
5aeb141a
JM
24411 * sysdeps/unix/i386/brk.S: Remove file.
24412 * sysdeps/unix/i386/dl-brk.S: Likewise.
24413 * sysdeps/unix/i386/pipe.S: Likewise.
24414 * sysdeps/unix/i386/sigreturn.S: Likewise.
24415 * sysdeps/unix/i386/syscall.S: Likewise.
24416 * sysdeps/unix/i386/vfork.S: Likewise.
24417 * sysdeps/unix/i386/wait.S: Likewise.
24418
7143acae
JM
24419 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24420 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24421
2ce4f015
JM
24422 * configure.in (arm*-none*): Do not allow without
24423 --enable-hacker-mode.
24424 (netbsd*): Remove case setting base_os.
24425 (386bsd*): Likewise.
24426 (freebsd*): Likewise.
24427 (bsdi*): Likewise.
24428 (osf*): Likewise.
24429 (sunos*): Likewise.
24430 (ultrix*): Likewise.
24431 (newsos*): Likewise.
24432 (dynix*): Likewise.
24433 (*bsd*): Likewise.
24434 (sysv*): Likewise.
24435 (isc*): Likewise.
24436 (esix*): Likewise.
24437 (sco*): Likewise.
24438 (minix*): Likewise.
24439 (irix4*): Likewise.
24440 (irix6*): Likewise.
24441 (solaris[2-9]*): Likewise.
24442 (none): Likewise.
24443 * configure: Regenerated.
24444
0ac229c8
AZ
244452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24446
24447 [BZ #11521]
24448 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24449 overflow or cancellation in calculating denominator.
24450 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24452 down expression to avoid unexpected rounding in newer GCCs.
24453 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24454
33f244f4
DM
244552012-04-26 David S. Miller <davem@davemloft.net>
24456
24457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24458 long-double compat symbols.
24459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24472
cfa1f3e8
DM
244732012-04-25 David S. Miller <davem@davemloft.net>
24474
24475 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24476 HWCAP_* values only after the memory barriers have been defined.
24477 (atomic_full_barrier): Define.
24478 (atomic_read_barrier): Define.
24479 (atomic_write_barrier): Define.
24480
6e236b92
SP
244812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24482
24483 * shlib-versions: Add libgcc_s version information.
24484 * sysdeps/generic/libgcc_s.h: Remove.
24485 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24486 libgcc_s.h.
24487 * sysdeps/gnu/unwind-resume.c: Likewise.
24488 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24489
aab39a09
DM
244902012-04-25 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/unix/sparc/brk.S: Delete.
24493 * sysdeps/unix/sparc/dl-brk.S: Delete.
24494 * sysdeps/unix/sparc/pipe.S: Delete.
24495 * sysdeps/unix/sparc/sysdep.S: Delete.
24496 * sysdeps/unix/sparc/sysdep.h: Delete.
24497 * sysdeps/unix/sparc/vfork.S: Delete.
24498 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24499 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24500 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24501 ret_ERRVAL, r0, r1, MOVE): Define.
24502 (JUMPTARGET): Remove.
24503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24504 sysdeps/unix/sparc/sysdep.h
24505 (ENTRY, END): Remove.
24506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24507
a3cc4f48
JM
245082012-04-25 Joseph Myers <joseph@codesourcery.com>
24509
2ed8cda2
JM
24510 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24511 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24512 -DIS_IN_build.
24513
35d76d59
JM
24514 * timezone/README: Update upstream location and email address for
24515 tzcode and tzdata.
24516 * timezone/zdump.c: Update from tzcode 2012b.
24517 * timezone/zic.c: Likewise.
24518
a3cc4f48
JM
24519 * configure.in (libc_cv_as_needed): Remove test.
24520 * configure: Regenerated.
24521 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24522 conditional definition.
24523 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24524 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24525 * config.make.in (have-as-needed): Remove variable.
24526
ceab42c3
SP
245272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24528 Paul Pluzhnikov <ppluzhnikov@google.com>
24529
24530 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24531 strings correctly.
24532
3ce2865f
CLT
245332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24534
24535 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24536 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24537 * sysdeps/sh/strlen.S: Likewise.
24538
f37e0d68
JM
245392012-04-24 Joseph Myers <joseph@codesourcery.com>
24540
ae186e9a
JM
24541 * sysdeps/unix/fork.S: Remove file.
24542 * sysdeps/unix/i386/fork.S: Likewise.
24543 * sysdeps/unix/sparc/fork.S: Likewise.
24544
b96914af
JM
24545 * sysdeps/unix/system.c: Remove file.
24546 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24547
f37e0d68
JM
24548 * sysdeps/unix/getegid.S: Remove file.
24549 * sysdeps/unix/geteuid.S: Likewise.
24550
87ef29ca
RM
245512012-04-24 Roland McGrath <roland@hack.frob.com>
24552
83bcd236
RM
24553 * scripts/check-localplt.awk: New file.
24554 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24555 of diff.
24556 * scripts/data/localplt-generic.data: Add a comment.
24557
87ef29ca
RM
24558 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24559 NODE when __dir_mkfile failed.
24560 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24561 Reported by Ludovic Courtès <ludo@gnu.org>.
24562
e5a6e567
AJ
245632012-04-24 Andreas Jaeger <aj@suse.de>
24564
24565 * Makerules (common-clean): Also remove gen-as-const-headers
24566 files.
24567
c1820385
JM
245682012-04-24 Joseph Myers <joseph@codesourcery.com>
24569
24570 * Makerules (native-compile): Do not change working directory for
24571 build. Use $(OUTPUT_OPTION) in command.
24572 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24573
94e02fc4
AZ
245742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24575
24576 [BZ #13886]
24577 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24578 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24579 * math/libm-test.inc (floor_test): Add more tests.
24580 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24581
3a533ca3
JM
245822012-04-24 Joseph Myers <joseph@codesourcery.com>
24583
940ab4b3
JM
24584 * sysdeps/unix/getdents.c: Remove file.
24585 * sysdeps/unix/sysv/getdents.c: Likewise.
24586 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24587
90e037bd
JM
24588 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24589 sysdeps/unix/mman/syscalls.list.
24590 (mmap): Likewise.
24591 (mprotect): Likewise.
24592 (msync): Likewise.
24593 (munmap): Likewise.
24594 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24595 * sysdeps/unix/mman/syscalls.list: Remove.
24596 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24597
3a533ca3
JM
24598 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24599 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24600 * configure: Regenerated.
24601 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24602 $(libgcc_s_suffix).
24603 * config.make.in (libgcc_s_suffix): Remove variable.
24604
1ad743de
JM
246052012-04-23 Joseph Myers <joseph@codesourcery.com>
24606
4ad451e2
JM
24607 * sysdeps/unix/sysv/gethostname.c: Move to ...
24608 * sysdeps/posix/gethostname.c: ... here.
24609
5e37ce39
JM
24610 * sysdeps/unix/execve.S: Remove file.
24611
1ad743de
JM
24612 * sysdeps/unix/_exit.S: Remove file.
24613
4e681b5b
AJ
246142012-04-23 Andreas Jaeger <aj@suse.de>
24615
24616 [BZ #13739]
24617 * manual/Makefile: Remove make dist support, there's no
24618 need for a stand-alone documentation tar ball.
24619 (TEXI2DVI): Define always, it's not in Makeconfig.
24620 (dist): Removed.
24621 (tar-it): Removed.
24622 (edition): Removed.
24623 (glibc-doc-$(edition).tar): Removed
24624 (%.Z): Removed.
24625 (%.gz): Removed.
24626 (%.uu): Removed.
24627 (ETAGS): Remove, it's in Makeconfig.
24628 (move-if-change): Remove, it's in Makeconfig.
24629
38686a03 246302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24631
24632 [BZ #13970]
24633 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24634 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24635 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24636 (strtod_l, strtof_l, strtold_l): Remove __wur.
24637 It is not necessarily an error to ignore strtol's return value.
24638 One can reliably look at the stored endptr to decide whether
24639 the number had valid syntax.
24640
7c0616fa
AJ
246412012-04-21 Andreas Jaeger <aj@suse.de>
24642
803cb6b7 24643 [BZ #13739]
7c0616fa
AJ
24644 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24645
b0fe253f
JM
246462012-04-21 Joseph Myers <joseph@codesourcery.com>
24647
24648 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24649 * sysdeps/unix/sysv/Versions: Remove file.
24650
8280f22d
MT
246512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24652
24653 [BZ #13927]
24654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24655
75ce411f 246562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24657
24658 [BZ #7064]
24659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24660 version from __vm86.
24661
097d59fa
JM
246622012-04-20 Joseph Myers <joseph@codesourcery.com>
24663
a90f3bcb
JM
24664 * sysdeps/unix/common/lxstat.c: Remove file.
24665 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24666
edc7ea78
JM
24667 * sysdeps/unix/sysv/Makefile: Remove file.
24668
cb78c221
JM
24669 * sysdeps/unix/sysv/direct.h: Remove file.
24670
efa6a45f
JM
24671 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24672 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24673 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24674 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24675 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24676 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24677 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24678
9c9f2d0c
JM
24679 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24680
4541c83b
JM
24681 * sysdeps/unix/xmknod.c: Remove file.
24682 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24683
f5d153a0
JM
24684 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24685
aa746595
JM
24686 * sysdeps/unix/sysv/i386/time.S: Remove file.
24687
cce5905e
JM
24688 * sysdeps/unix/fxstat.c: Remove file.
24689 * sysdeps/unix/xstat.c: Likewise.
24690 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24691
37fa3841
JM
24692 * sysdeps/unix/sysv/sigaction.c: Remove file.
24693
ff1962a3
JM
24694 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24695 (sysdep_headers): Remove variable.
24696 [termio.h not in sysdep_headers] (generated): Likewise.
24697 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24698 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24699 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24700 * sysdeps/unix/sysv/tcflow.c: Likewise.
24701 * sysdeps/unix/sysv/tcflush.c: Likewise.
24702 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24703 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24704 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24705 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24706 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24707
e7740d31
JM
24708 * sysdeps/unix/siglist.c: Remove file.
24709
ee06f18b
JM
24710 * sysdeps/unix/getppid.S: Remove file.
24711
097d59fa
JM
24712 * sysdeps/unix/mkdir.c: Remove file.
24713 * sysdeps/unix/rmdir.c: Likewise.
24714
ff3d51ec
AS
247152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24716
24717 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24718 ERR_MAX value.
24719 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24720 errlist-compat value.
24721
50f81fd7
DM
247222012-04-18 David S. Miller <davem@davemloft.net>
24723
24724 * sysdeps/generic/memcopy.h (reg_char): Delete.
24725 * debug/strcat_chk.c: Use char, not reg_char.
24726 * debug/strcpy_chk.c: Likewise.
24727 * debug/strncat_chk.c: Likewise.
24728 * debug/strncpy_chk.c: Likewise.
24729 * string/memchr.c: Likewise.
24730 * string/memrchr.c: Likewise.
24731 * string/rawmemchr.c: Likewise.
24732 * string/strcat.c: Likewise.
24733 * string/strchr.c: Likewise.
24734 * string/strchrnul.c: Likewise.
24735 * string/strcmp.c: Likewise.
24736 * string/strcpy.c: Likewise.
24737 * string/strncat.c: Likewise.
24738 * string/strncmp.c: Likewise.
24739 * string/strncpy.c: Likewise.
24740
8ff41c46
WS
247412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24742
24743 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24744 __builtin_memcopy is called when src and dest ranges are known to not
24745 overlap.
24746
6b652f46
WS
247472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24748
24749 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24750 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24751 fwd_align_merge macro call.
24752 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24753 bwd_align_merge macro call.
24754 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24755
b282631e
WS
247562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24757
24758 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24759 bwd_align_merge macros.
24760 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24761 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24762 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24763
95aa737c
DM
247642012-04-18 David S. Miller <davem@davemloft.net>
24765
24766 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24767
7a99a614
AJ
247682012-04-18 Andreas Jaeger <aj@suse.de>
24769
24770 [BZ# 6794]
24771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24772 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24773 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24774
24775 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24776 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24777 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24778
24779 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24780 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24781 Adjust for changed ldbl-128 files.
24782
24783 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24784 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24785 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24786
e5270c23
DM
247872012-04-17 David S. Miller <davem@davemloft.net>
24788
24789 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24790
fb5e92c9
AS
247912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24792
24793 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24794 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24795 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24796 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24798 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24799
76da7265
AZ
248002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24801
24802 [BZ #6794]
24803 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24804 * math/libm-test.inc: Add ilogb errno and exception tests.
24805 * math/w_ilogb.c: New file: ilogb wrapper.
24806 * math/w_ilogbf.c: New file: ilogbf wrapper.
24807 * math/w_ilogbl.c: New file: ilogbl wrapper.
24808 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24809 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24810 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24811 exception being thrown with 0.0 as argument.
24812 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24813 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24814 exception being thrown with 0.0 as argument.
24815 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24816 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24817 exception being thrown with 0.0 as argument.
24818 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24819 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24820 exception being thrown with 0.0 as argument.
24821 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24822 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24823 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24824 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24826 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24827 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24828 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24829 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24830
0396e69d
PB
248312012-04-17 Petr Baudis <pasky@ucw.cz>
24832
24833 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24834 with altivec.
24835
750b5926
MP
248362012-04-16 Marek Polacek <polacek@redhat.com>
24837
24838 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24839
751728a1
MP
248402012-04-16 Marek Polacek <polacek@redhat.com>
24841
24842 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24843 operands of fdivp instruction.
24844
34a27407
L
248452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24846
24847 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24848 * elf/tst-auditmod3b.c: Likewise.
24849 * elf/tst-auditmod4b.c: Likewise.
24850 * elf/tst-auditmod5b.c: Likewise.
24851 * elf/tst-auditmod6b.c: Likewise.
24852 * elf/tst-auditmod6c.c: Likewise.
24853 * elf/tst-auditmod7b.c: Likewise.
24854 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24855 * sysdeps/x86_64/preconfigure.in: Likewise.
24856 * sysdeps/x86_64/preconfigure: Regenerated.
24857
7e73e17d
L
248582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24859
24860 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24861 __ILP32__.
24862
c7a6ab72
AB
248632012-04-13 Antoine Balestrat <merkil33@gmail.com>
24864
24865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24866 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24867
a9e8e0e0
CL
248682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24869
24870 [BZ #13973]
24871 * locale/iso-639.def: Fix gl language name. Spotted by
24872 Yaron Shahrabani.
24873
ec98af7d
RM
248742012-04-12 Roland McGrath <roland@hack.frob.com>
24875
24876 [BZ #2074]
24877 * libio/libio.h (__io_write_fn): Update comment.
24878
247c3ede
PB
248792012-04-12 Petr Baudis <pasky@ucw.cz>
24880
24881 [BZ #2074]
24882 * stdio.texi (Hook Functions): The user provided writer function
24883 is not allowed to return -1.
24884
55939d6d
DM
248852012-04-11 David S. Miller <davem@davemloft.net>
24886
24887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24888
90020f5a
MF
248892012-04-11 Mike Frysinger <vapier@gentoo.org>
24890
24891 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24892 Add a leading slash to rtkaio.
24893
288f9098
JM
248942012-04-11 Jim Meyering <meyering@redhat.com>
24895
90020f5a
MF
24896 [BZ #11959]
24897 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24898 It is not necessarily an error to ignore fwrite's return
24899 value. One can reliably use ferror to test for errors after
24900 the fact.
288f9098 24901
4be2b570
L
249022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * bits/types.h (__snseconds_t): New type.
24905 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24906
24907 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24909 (__SNSECONDS_T_TYPE): Likewise.
24910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24911 (__SNSECONDS_T_TYPE): Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24913 (__SNSECONDS_T_TYPE): Likewise.
24914
288f9098 249152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24916
24917 [BZ #2636]
24918 * manual/time.texi (Processor Time): Return type of times is
24919 elapsed real time since an arbitrary point in the past.
24920 (CPU Time): Move CLK_TCK from here...
24921 (Processor Time): ...to here. Correct description.
24922 * manual/conf.texi (Constants for Sysconf): Correct description of
24923 _SC_CLK_TCK.
24924
d7dd4413
DM
249252012-04-10 David S. Miller <davem@davemloft.net>
24926
24927 [BZ #13967]
24928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24929 where the is a gap between DT_REL(A) and DT_JMPREL.
24930
b46068fc
L
249312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24932
24933 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24934 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24935 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24936
73d65cc3
SP
249372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24938
24939 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24940 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24941 (dl_main): Handle --inhibit-cache.
24942 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24943 _dl_inhibit_cache.
24944 * elf/dl-load.c (_dl_map_object): Use it.
24945 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24946
bcc8d661
JM
249472012-04-09 Joseph Myers <joseph@codesourcery.com>
24948
8f9a2fae
JM
24949 [BZ #13872]
24950 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24951 (__ieee754_powl): Saturate large exponents rather than testing for
24952 overflow of y*log2(x).
24953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24954 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24955 exceptions.
24956
bcc8d661
JM
24957 [BZ #11521]
24958 * math/s_ctan.c: Include <float.h>.
24959 (__ctan): Avoid internal overflow or cancellation in calculating
24960 denominator.
24961 * math/s_ctanf.c: Likewise.
24962 * math/s_ctanl.c: Likewise.
24963 * math/s_ctanh.c: Likewise.
24964 * math/s_ctanhf.c: Likewise.
24965 * math/s_ctanhl.c: Likewise.
24966 * math/libm-test.inc (ctan_test): Add more tests.
24967 (ctanh_test): Likewise.
24968 * sysdeps/i386/fpu/libm-test-ulps: Update.
24969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24970
823fbbb4
AJ
249712012-04-09 Andreas Jaeger <aj@suse.de>
24972
03879793
AJ
24973 [BZ #6894]
24974 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24975 is an optional BSD extension.
24976
823fbbb4
AJ
24977 [BZ #10254]
24978 * manual/stdio.texi (Opening Streams): Document additional fopen
24979 parameters.
24980
8de131cb
RM
249812012-04-09 Roland McGrath <roland@hack.frob.com>
24982
24983 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24984 %eax without telling the compiler.
24985
c0ed9d7d
CD
249862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24987
24988 [BZ # 13963]
24989 * manual/install.texi: Use sourceware.org.
24990
c483f6b4
JM
249912012-04-09 Joseph Myers <joseph@codesourcery.com>
24992
d7dd9453
JM
24993 [BZ #13873]
24994 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24995 (__ieee754_pow): Generate overflow and underflow using huge*huge
24996 and tiny*tiny rather than just returning constant infinity or zero
24997 for large exponents.
24998 * math/libm-test.inc (pow_test): Require overflow exceptions for
24999 applicable cases of large exponents.
25000
c483f6b4
JM
25001 [BZ #706]
25002 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25003 (__ieee754_pow): Use iterative multiplication algorithm only for
25004 integer exponents with absolute value below 1024. Check for odd
25005 integer exponents when using algorithm for real exponents.
25006 * math/libm-test.inc (pow_test): Add more tests.
25007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25008
d2de7579
JM
250092012-04-08 Joseph Myers <joseph@codesourcery.com>
25010
25011 [BZ #13705]
25012 * math/libm-test.inc (exp_test): Do not allow overflow exception
25013 on underflow test.
25014
f77f1232
AJ
250152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25016
25017 [BZ #13705]
25018 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25019 instead of __kernel_standard_f.
25020
3884932b
MF
250212012-04-08 Mike Frysinger <vapier@gentoo.org>
25022
25023 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25024 * sysdeps/x86_64/memset_chk.S: Likewise.
25025
54472e9c
AJ
250262012-04-08 Andreas Jaeger <aj@suse.de>
25027
6ab0fbfc
AJ
25028 [BZ #10153]
25029 * manual/startup.texi (Environment Access): Describe return value
25030 for putenv and setenv.
25031
61efba8c
AJ
25032 [BZ #6895]
25033 * manual/filesys.texi (Directory Entries): Add description for
25034 DT_LNK.
25035
95c3f29a
AJ
25036 [BZ #6890]
25037 * manual/filesys.texi (Directory Entries): Clarify that it's file
25038 system not operating system in the description of DT_UNKNOWN.
25039
54472e9c
AJ
25040 [BZ #6578]
25041 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25042
624254b1
SC
250432012-04-08 Stephen Compall <s11@member.fsf.org>
25044
25045 [BZ #6649]
25046 * manual/llio.texi (Opening and Closing Files): Add cross
25047 reference to explain mode argument.
25048
1e4920e0
MF
250492012-04-07 Mike Frysinger <vapier@gentoo.org>
25050
25051 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25052 * sysdeps/x86_64/memset_chk.S: Likewise.
25053
5ed848f3
DM
250542012-04-07 David S. Miller <davem@davemloft.net>
25055
25056 * elf/elf.h (R_SPARC_WDISP10): Define.
25057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25058 R_SPARC_SIZE32.
25059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25060 R_SPARC_SIZE64 and R_SPARC_H34.
25061
96154cd8
CD
250622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25063
25064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25065 conditions and remove no longer applicable assertion.
25066
9904dc47
L
250672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25068
25069 * bits/byteswap.h: Include <features.h>.
25070 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25071 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25072
f8887d0a
L
250732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25074
25075 * bits/byteswap.h (__bswap_16): Removed.
25076 Include <bits/byteswap-16.h> to get __bswap_16.
25077 * sysdeps/i386/bits/byteswap.h: Likewise.
25078 * sysdeps/s390/bits/byteswap.h: Likewise.
25079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25080 * bits/byteswap-16.h: New file.
25081 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25082 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25083 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25084 * string/Makefile (headers): Add bits/byteswap-16.h.
25085
62470f60
PP
250862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25087
25088 [BZ #13895]
25089 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25090 extra indirection.
25091 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25092 * nss/tst-nss-static.c: New.
25093
4dad7bab
RM
250942012-04-06 Robert Millan <rmh@gnu.org>
25095
25096 [BZ #6486]
25097 * manual/llio.texi (File Position Primitive): lseek
25098 refers to WHENCE when it really means OFFSET.
25099
e9142a17
AJ
251002012-04-06 Andreas Jaeger <aj@suse.de>
25101
2c040eff
AJ
25102 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25103 strncmp declarations.
25104
e9142a17
AJ
25105 * abilist/libc.abilist: Add __poll and __ppoll.
25106
ff9f1c5f
DM
251072012-04-05 David S. Miller <davem@davemloft.net>
25108
dcd2ae90
DM
25109 * scripts/check-local-headers.sh: Accept a host triplet in the
25110 path matched by the exclude regexp.
25111
993eb054
DM
25112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25113 definition.
25114 * sysdeps/powerpc/powerpc32/dl-machine.h
25115 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25116 * sysdeps/s390/s390-32/dl-machine.h
25117 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25118 * sysdeps/sparc/sparc32/dl-machine.h
25119 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25120 * sysdeps/sparc/sparc64/dl-machine.h
25121 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25122
ff9f1c5f
DM
25123 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25124 lazy binding.
48e2e132 25125 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25126 undefined symbol errors.
25127
48e2e132 25128 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25129 DT_NEEDED entries.
25130
e80d6f94
MM
251312012-04-05 Michael Matz <matz@suse.de>
25132
25133 [BZ #13592]
25134 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25135
349fa79f
AJ
251362012-04-05 Andreas Jaeger <aj@suse.de>
25137
25138 [BZ #13908]
25139 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25140 comment.
25141
f402708f
KK
251422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25143
25144 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25145 which ROUND is no valid rounding mode.
25146
2ecccfc9
KK
251472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25148
25149 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25150 read again.
25151 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25152
8a53f50f
KK
251532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25154
25155 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25156 an exception using FPU order intentionally.
25157
251582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25159
25160 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25161 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25162 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25163 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25164
d653abb7
SJ
251652012-04-05 Simon Josefsson <simon@josefsson.org>
25166
25167 [BZ #12340]
25168 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25169 EINVAL when BUFLEN is too smal.
25170
c3b1bf7d
TS
251712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25172
25173 [BZ #13553]
25174 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25175 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25176
b1aa60f3
AJ
251772012-04-03 Andreas Jaeger <aj@suse.de>
25178
c3b1bf7d 25179 [BZ #13938]
67f60a26
AJ
25180 * manual/setjmp.texi (System V contexts): Fix sentence.
25181
b1aa60f3
AJ
25182 [BZ #13926]
25183 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25184 New macro for this case.
25185 [!__GNUC__] (__bswap_64): New inline function for this case.
25186 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25187 * bits/byteswap.h: Likewise.
25188 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25189 ull, guard with __GLIBC_HAVE_LONG_LONG.
25190
25191 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25192 __GLIBC_HAVE_LONG_LONG.
25193
25194 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25195 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25196
39c59c35
TMQMF
251972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25198
25199 [BZ #13691]
25200 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25201 inptr and inend, rather than using last_ch.
25202
135ffda8
DM
252032012-04-02 David S. Miller <davem@davemloft.net>
25204
25205 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25206 * stdio-common/printf-parse.h (read_int): Change return type to
25207 'int', return -1 on INT_MAX overflow.
25208 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25209 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25210 overflows INT_MAX. Check for overflow of in-format-string precision
25211 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25212 SIZE_MAX not INT_MAX for integer overflow test.
25213 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25214 skip the construct in the format string but do not record anything.
25215 * stdio-common/bug22.c: Adjust to test both width/prevision
25216 INT_MAX overflow as well as total length INT_MAX overflow. Check
25217 explicitly for proper errno values.
25218
228c019e
TS
252192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25220
302cadd3
TS
25221 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25222 CHAR_MAX.
25223 * string/test-strcmp.c [! WIDE]: Likewise.
25224 * time/tst-mktime2.c: Likewise for INT_MAX.
25225 * string/test-string.h: #include <sys/param.h> for MIN.
25226
228c019e
TS
25227 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25228 * sysdeps/i386/init-first.c (init): Likewise.
25229 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25230 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25231 * sysdeps/sh/init-first.c (init): Likewise.
25232
cfa633f5
UD
252332012-04-01 Ulrich Drepper <drepper@gmail.com>
25234
25235 * po/ru.po: Update from translation team.
d1635ef8 25236 * po/vi.po: Likewise.
cfa633f5 25237
6cd0a5ea
SP
252382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25239
25240 * resolv/nss_dns/dns-host.c: Merge copyright years.
25241
4b43400f
LD
252422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25243
25244 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25245 Optimize memcpy with prefetch if
25246 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25247 src, dst pointers have unequal 16 byte alignments.
25248
48c41d04
SP
252492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25250
25251 [BZ #13928]
25252 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25253 from a CNAME entry and return the minimum ttl for the query.
25254 (gaih_getanswer_slice): Likewise.
25255
b8dc394d
JL
252562012-03-30 Jeff Law <law@redhat.com>
25257
25258 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25259 due to long keys.
25260 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25261 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25262
2f5a5ed0
JL
25263 * resolv/nss_dns/dns-host.c: Update copyright year.
25264
1d39e359
UD
252652012-03-30 Ulrich Drepper <drepper@gmail.com>
25266
c030f70c 25267 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25268 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25269
1d39e359
UD
25270 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25271 comments for sendmmsg.
25272
252732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25274
25275 [BZ #13691]
25276 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25277 with only 1 character between 0x0041 and 0x01b0.
25278 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25279 * wcsmbs/tst-mbsnrtowcs.c: New file.
25280
20fde227
DM
252812012-03-29 David S. Miller <davem@davemloft.net>
25282
25283 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25284 small copies by hand.
25285
984a4237
JL
252862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25287
25288 [BZ #13761]
25289 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25290 _nss_compat_initgroups_dyn): Fall back to malloc/free
25291 for large group memberships.
25292
18c9d62b
DM
252932012-03-28 David S. Miller <davem@davemloft.net>
25294
88d85d4f
DM
25295 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25296 that branches into memcpy.
25297 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25298 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25299 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25300 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25302 bits.
25303 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25304 implementation too.
25305 * sysdeps/sparc/mempcpy.S: New file.
25306
e5aa83e1
DM
25307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25308 the IFUNC routine in the libc case.
25309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25310
88570753
DM
25311 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25312 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25313 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25314 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25315 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25316 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25317 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25318 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25319
249d7567
DM
25320 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25321 loop to 256 bytes instead of 64 bytes and fix test signedness.
25322
18c9d62b
DM
25323 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25324 * sysdeps/sparc/sparc32/Makefile: rather than here...
25325 * sysdeps/sparc/sparc64/Makefile: and here.
25326
05f3d1f6
UD
253272012-03-28 Ulrich Drepper <drepper@gmail.com>
25328
25329 * malloc/mallocbug.c: Avoid warnings about unused variables.
25330
86ae07a8
JL
253312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25332
25333 [BZ #13760]
25334 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25335 in the right place. Discard and retry query if response is
25336 larger than input buffer size.
25337
41bf21a1
JM
253382012-03-28 Joseph Myers <joseph@codesourcery.com>
25339
d6270972
JM
25340 [BZ #369]
25341 [BZ #2678]
25342 [BZ #3866]
25343 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25344 x for large integer exponent.
25345 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25346 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25347 sign of result as needed afterwards.
25348 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25349 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25350 result for underflowing pow the same as for overflow.
25351 (__kernel_standard_l): Handle powl overflow and underflow here
25352 rather than calling __kernel_standard.
25353 * math/libm-test.inc (pow_test): Add more tests.
25354
414fca03 25355 [BZ #3868]
41bf21a1
JM
25356 [BZ #13879]
25357 [BZ #13910]
25358 [BZ #13911]
25359 [BZ #13912]
25360 [BZ #13913]
25361 [BZ #13915]
25362 [BZ #13916]
25363 [BZ #13917]
25364 [BZ #13918]
25365 [BZ #13919]
25366 [BZ #13920]
25367 [BZ #13921]
25368 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25369 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25370 (__kernel_standard_l): New function.
25371 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25372 __kernel_standard.
25373 * math/w_acosl.c (__acosl): Likewise.
25374 * math/w_asinl.c (__asinl): Likewise.
25375 * math/w_atan2l.c (__atan2l): Likewise.
25376 * math/w_atanhl.c (__atanhl): Likewise.
25377 * math/w_coshl.c (__coshl): Likewise.
25378 * math/w_exp10l.c (__exp10l): Likewise.
25379 * math/w_exp2l.c (__exp2l): Likewise.
25380 * math/w_fmodl.c (__fmodl): Likewise.
25381 * math/w_hypotl.c (__hypotl): Likewise.
25382 * math/w_j0l.c (__j0l, __y0l): Likewise.
25383 * math/w_j1l.c (__j1l, __y1l): Likewise.
25384 * math/w_jnl.c (__jnl, __ynl): Likewise.
25385 * math/w_lgammal.c (__lgammal): Likewise.
25386 * math/w_log10l.c (__log10l): Likewise.
25387 * math/w_log2l.c (__log2l): Likewise.
25388 * math/w_logl.c (__logl): Likewise.
25389 * math/w_powl.c (__powl): Likewise.
25390 * math/w_remainderl.c (__remainderl): Likewise.
25391 * math/w_scalbl.c (sysv_scalbl): Likewise.
25392 * math/w_sinhl.c (__sinhl): Likewise.
25393 * math/w_sqrtl.c (__sqrtl): Likewise.
25394 * math/w_tgammal.c (__tgammal): Likewise.
25395 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25396 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25397 * math/libm-test.inc (acos_test): Add more tests.
25398 (acosh_test): Likewise.
25399 (asin_test): Likewise.
25400 (atanh_test): Likewise.
25401 (exp_test): Likewise.
25402 (exp10_test): Likewise.
25403 (exp2_test): Likewise.
25404 (expm1_test): Likewise.
25405 (lgamma_test): Likewise.
25406 (log_test): Likewise.
25407 (log10_test): Likewise.
25408 (log1p_test): Likewise.
25409 (log2_test): Likewise.
25410 (pow_test): Do not allow some spurious overflow exceptions.
25411 (sqrt_test): Add more tests.
25412 (tgamma_test): Likewise.
25413 (y0_test): Likewise.
25414 (y1_test): Likewise.
25415 (yn_test): Likewise.
25416
dd62fda6
AB
254172012-03-27 Anton Blanchard <anton@samba.org>
25418
25419 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25420 MAP_HUGETLB.
25421 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25422 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25424
1e3cdfda
AJ
254252012-03-27 David S. Miller <davem@davemloft.net>
25426
b855ab85
DM
25427 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25428
1e3cdfda
AJ
25429 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25430 have-as-vis3 check.
25431
254322012-03-27 Andreas Jaeger <aj@suse.de>
25433
25434 * sysdeps/x86_64/elf/configure.in: Moved to ...
25435 * sysdeps/x86_64/configure.in: ... here.
25436 * sysdeps/x86_64/elf/start.S: Moved to ...
25437 * sysdeps/x86_64/start.S: ... here.
25438 * sysdeps/x86_64/elf/configure: Delete.
25439
25440 * sysdeps/x86_64/configure.in: Merge contents from
25441 sysdeps/i386/configure.in (without i686 check).
25442
25443 * sysdeps/i386/elf/Versions: Merge into ...
25444 * sysdeps/i386/Versions: ... this.
25445 * sysdeps/i386/elf/Versions: Delete file.
25446 * sysdeps/i386/elf/start.S: Moved to ...
25447 * sysdeps/i386/start.S: ...here.
25448 * sysdeps/i386/elf/configure.in: Merge into...
25449 * sysdeps/i386/configure.in: ...here.
25450 * sysdeps/i386/elf/configure.in: Delete file.
25451 * sysdeps/i386/elf/configure: Delete file.
25452
25453 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25454 * debug/backtracesyms.c: ... here.
25455 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25456 * debug/backtracesymsfd.c: ... here.
25457 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25458 * sysdeps/generic/ifunc-sel.h: ... here.
25459
25460 * sysdeps/unix/i386/start.c: Delete file.
25461 * sysdeps/unix/sparc/start.c: Delete file.
25462 * sysdeps/unix/start.c: Delete file.
25463
25464 * sysdeps/sh/elf/configure.in: Moved to ...
25465 * sysdeps/sh/configure.in: ... here.
25466 * sysdeps/sh/elf/start.S: Moved to ...
25467 * sysdeps/sh/start.S: ... here.
25468 * sysdeps/sh/elf/configure: Delete file.
25469
25470 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25471 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25472 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25473 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25474 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25475 * sysdeps/powerpc/powerpc64/start.S: here.
25476 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25477 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25478 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25479 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25480 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25481
25482 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25483 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25484 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25485 * sysdeps/powerpc/powerpc32/start.S: ... here.
25486 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25487 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25488 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25489
25490 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25491 * sysdeps/powerpc/ifunc-sel.h: ... here.
25492 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25493 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25494
25495 * sysdeps/sparc/elf/configure.in: Moved to ...
25496 * sysdeps/sparc/configure.in: ... here.
25497 * sysdeps/sparc/elf/configure: Delete file.
25498 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25499 * sysdeps/sparc/sparc32/start.S: ... here.
25500 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25501 * sysdeps/sparc/sparc64/start.S: ... here.
25502 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25503 * sysdeps/sparc/sparc32/Makefile: ... this.
25504 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25505 * sysdeps/sparc/sparc64/Makefile: ... this.
25506
25507 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25508 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25509 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25510 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25511 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25512 * sysdeps/s390/s390-32/setjmp.S: ... here.
25513 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25514 * sysdeps/s390/s390-32/configure.in: ... here.
25515 * sysdeps/s390/s390-32/elf/configure: Delete file.
25516 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25517 * sysdeps/s390/s390-32/start.S: ... here.
25518
25519 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25520 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25521 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25522 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25523 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25524 * sysdeps/s390/s390-64/setjmp.S: ... here.
25525 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25526 * sysdeps/s390/s390-64/configure.in: ... here
25527 * sysdeps/s390/s390-64/elf/configure: Delete file.
25528 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25529 * sysdeps/s390/s390-64/start.S: ... here.
25530 * sysdeps/s390/s390-64/elf/configure: Delete.
25531
25532 * configure.in: Remove support for elf directories in sysdeps.
25533
25534 * configure: Regenerated.
25535 * sysdeps/i386/configure: Regenerated.
25536 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25537 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25538 * sysdeps/s390/s390-32/configure: Regenerated.
25539 * sysdeps/s390/s390-64/configure: Regenerated.
25540 * sysdeps/sh/configure: Regenerated.
25541 * sysdeps/sparc/configure: Regenerated.
25542 * sysdeps/x86_64/configure: Regenerated.
25543
a3f61311
AS
255442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25545
c876e002
AS
25546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25547
a3f61311
AS
25548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25549 denormal result into account.
25550
ac4c54f0
RM
255512012-03-25 Roland McGrath <roland@hack.frob.com>
25552
25553 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25554 Reported by Allan McRae <allan@archlinux.org>.
25555
6a9b9c02
JL
255562012-03-23 Jeff Law <law@redhat.com>
25557
25558 * nss/getnssent.c (__nss_getent): Fix typo.
25559
4c42a0c1
DM
255602012-03-23 David S. Miller <davem@davemloft.net>
25561
25562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25563
1532c7ac
L
255642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25565
25566 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25567 to pad to uint64_t for each field.
25568 (dl_tls_index): Replace unsigned long with uint64_t.
25569
3ff42526
PP
255702012-03-23 Daniel Jacobowitz <dmj@google.com>
25571 Paul Pluzhnikov <ppluzhnikov@google.com>
25572
25573 [BZ #6528]
25574 * grp/Makefile (otherlibs): Don't set it.
25575 * inet/Makefile (otherlibs): Likewise.
25576 * login/Makefile (otherlibs): Likewise.
25577 * nscd/Makefile (otherlibs): Likewise.
25578 * posix/Makefile (otherlibs): Likewise.
25579 * pwd/Makefile (otherlibs): Likewise.
25580 * rt/Makefile (otherlibs): Likewise.
25581 * sunrpc/Makefile (otherlibs): Likewise.
25582 * nss/Makefile (otherlibs): Likewise.
25583 Add libnss_files to routines and static-only-routines.
25584 ($(objpfx)getent): Remove rule.
25585 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25586 static-only-routines.
25587
7c69cd14
JM
255882012-03-22 Joseph Myers <joseph@codesourcery.com>
25589
25590 [BZ #13892]
25591 * math/s_cexp.c: Include <float.h>.
25592 (__cexp): Handle exp result overflowing not necessarily
25593 overflowing both real and imaginary parts of result.
25594 * math/s_cexpf.c: Likewise.
25595 * math/s_cexpl.c: Likewise.
25596 * math/libm-test.inc (cexp_test): Add more tests.
25597 * sysdeps/i386/fpu/libm-test-ulps: Update.
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25599
81b035fe
L
256002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25601
25602 * include/link.h (ELFW): New macro.
25603 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25604 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25605
1da7940c
L
256062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25607
25608 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25609 with uint64_t.
25610
b749dbb9
L
256112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25612
25613 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25614 declaration.
25615 (struct La_x32_retval): Likewise.
25616
2ff87f3f
L
256172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25618
25619 * sysdeps/x86_64/preconfigure.in: New file.
25620 * sysdeps/x86_64/preconfigure: New generated file.
25621
c0df8e69
JM
256222012-03-22 Joseph Myers <joseph@codesourcery.com>
25623
48e44791
JM
25624 [BZ #13824]
25625 * math/e_exp2l.c: Include <float.h>.
25626 (__ieee754_exp2l): Handle overflow and underflow cases
25627 separately. Only pass fractional part of argument to
25628 __ieee754_expl.
25629 * math/libm-test.inc (exp2_test): Add more tests.
25630
c0df8e69
JM
25631 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25632 negating x to take absolute value.
25633 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25634 Likewise.
25635 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25636 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25637 Likewise.
25638 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25639 computing low part if x was negated.
25640 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25641
c8e43ba7
L
256422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25645 la_x32_gnu_pltexit.
25646 (pltexit): Cast int_retval to ptrdiff_t.
25647 * elf/tst-auditmod3b.c: Likewise.
25648 * elf/tst-auditmod4b.c: Likewise.
25649 * elf/tst-auditmod5b.c: Likewise.
25650 * elf/tst-auditmod6b.c: Likewise.
25651 * elf/tst-auditmod6c.c: Likewise.
25652 * elf/tst-auditmod7b.c: Likewise.
25653
25654 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25655 and x32_gnu_pltexit.
25656
25657 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25658 __ELF_NATIVE_CLASS.
25659 (La_x32_regs): New macro.
25660 (La_x32_retval): Likewise.
25661 (la_x32_gnu_pltenter): New function prototype.
25662 (la_x32_gnu_pltexit): Likewise.
25663
7998fa78
AS
256642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25665
dcb33988
AS
25666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25667 exponent.
25668
233fc563
AS
25669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25670
7998fa78
AS
25671 * configure.in (libc_cv_cc_nofma): Check for option to disable
25672 generation of FMA instructions.
25673 * configure: Regenerate.
25674 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25675 * sysdeps/ieee754/dbl-64/Makefile: New file.
25676 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25677 Remove brandred-fma4.
25678 (CFLAGS-brandred-fma4.c): Remove.
25679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25680 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25681 define.
25682 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25683 define.
25684
8e95c99a
L
256852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25686
25687 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25688 LLONG_MAX != LONG_MAX.
25689 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25690 (_fitoa_word): Likewise.
25691 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25692 LLONG_MAX != LONG_MAX.
25693 * stdio-common/_itowa.h: Include <_itoa.h>.
25694 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25695 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25696 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25697 only if not defined.
25698 (_ITOA_WORD_TYPE): Likewise.
25699 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25700 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25701
6f4db457
DM
257022012-03-21 David S. Miller <davem@davemloft.net>
25703
25704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25705
7785fe5a
L
257062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25707
25708 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25709 of x86_64 when setting libc_cv_slibdir, libdir and
25710 libc_cv_localedir.
25711 * sysdeps/unix/sysv/linux/configure: Regenerated.
25712
4535cd55
JM
257132012-03-21 Joseph Myers <joseph@codesourcery.com>
25714
25715 * manual/lang.texi (Old Varargs): Remove section.
25716 (How Variadic): Update menu.
25717 (va_start): Do not mention varargs.h.
25718
17228132
TS
257192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25720 Joseph Myers <joseph@codesourcery.com>
25721
25722 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25723 link test.
25724 * configure: Regenerated.
25725
8149f976
TS
257262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25727
05f3d1f6
UD
25728 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25729 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25730 conformtest.pl
8149f976 25731
1a4ac776
JM
257322012-03-21 Joseph Myers <joseph@codesourcery.com>
25733
be22ce65
JM
25734 * NOTES: Remove.
25735 * Makefile (files-for-dist): Remove NOTES.
25736 (NOTES): Remove rule.
25737 * README: Don't refer to NOTES.
25738 * manual/creature.texi: Don't include macros.texi.
25739 * manual/intro.texi (creature.texi): Remove comment referring to
25740 NOTES.
25741
40b601fb
JM
25742 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25743 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25744 * configure: Regenerated.
25745 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25746 LIBC_TRY_CC_OPTION.
25747 (libc_cv_as_i686): Likewise.
25748 (libc_cv_cc_avx): Likewise.
25749 (libc_cv_cc_sse2avx): Likewise.
25750 (libc_cv_cc_fma4): Likewise.
25751 (libc_cv_cc_novzeroupper): Likewise.
25752 * sysdeps/i386/configure: Regenerated.
25753
1a4ac776
JM
25754 [BZ #13883]
25755 * sysdeps/i386/fpu/s_cexp.S: Remove.
25756 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25757 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25758 * math/libm-test.inc (cexp_test): Add more tests.
25759 * sysdeps/i386/fpu/libm-test-ulps: Update.
25760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25761
a458e7fe
AM
257622012-03-21 Allan McRae <allan@archlinux.org>
25763
25764 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25765
0cb7efc5
JM
257662012-03-21 Joseph Myers <joseph@codesourcery.com>
25767
25768 [BZ #13871]
25769 * math/w_exp2.c: Do not include <float.h>.
25770 (o_threshold, u_threshold): Remove.
25771 (__exp2): Calculate result before checking finiteness and calling
25772 __kernel_standard.
25773 * math/w_exp2f.c: Likewise.
25774 * math/w_exp2l.c: Likewise.
25775 * math/libm-test.inc (exp2_test): Require overflow exception for
25776 1e6 input.
2460d3aa
JM
25777
25778 [BZ #3866]
25779 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25780 range of signed 64-bit integers before using fistpll. Remove
25781 checks for whether integers fit in mantissa bits.
25782 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25783 the range of signed 32-bit integers before using fistpl. Remove
25784 checks for whether integers fit in mantissa bits.
25785 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25786 (__ieee754_powl): Test for y outside the range of signed 64-bit
25787 integers before using fistpll. Reduce 64-bit values to 63-bit
25788 ones as needed.
25789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25790 divide-by-zero is raised for zero to large negative powers.
25791 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25792 (__ieee754_powl): Test for y outside the range of signed 64-bit
25793 integers before using fistpll. Reduce 64-bit values to 63-bit
25794 ones as needed.
25795 * math/libm-test.inc (pow_test): Add more tests.
25796
eb96ffb0
L
257972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25798
25799 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25800 <stdio-common/_itoa.h>.
25801 * debug/segfault.c: Likewise.
25802 * elf/dl-cache.c: Likewise.
25803 * elf/dl-minimal.c: Likewise.
25804 * elf/dl-misc.c: Likewise.
25805 * elf/dl-sysdep.c: Likewise.
25806 * elf/dl-version.c: Likewise.
25807 * elf/rtld.c: Likewise.
25808 * hurd/hurdsock.c: Likewise.
25809 * hurd/lookup-retry.c: Likewise.
25810 * malloc/malloc.c: Likewise.
25811 * malloc/mtrace.c: Likewise.
25812 * nscd/nscd_getgr_r.c: Likewise.
25813 * nscd/nscd_getpw_r.c: Likewise.
25814 * nscd/nscd_getserv_r.c: Likewise.
25815 * posix/getopt_init.c: Likewise.
25816 * posix/wordexp.c: Likewise.
25817 * stdio-common/_itoa.c: Likewise.
25818 * stdio-common/printf_fphex.c: Likewise.
25819 * stdio-common/vfprintf.c: Likewise.
25820 * string/_strerror.c: Likewise.
25821 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25822 * sysdeps/i386/i686/hp-timing.h: Likewise.
25823 * sysdeps/mach/_strerror.c: Likewise.
25824 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25825 * sysdeps/mach/hurd/sethostid.c: Likewise.
25826 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25827 * sysdeps/mach/xpg-strerror.c: Likewise.
25828 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25829 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25830 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25831 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25832 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25833 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25834 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25835 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25836 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25837 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25838 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25839 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25840 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25841 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25842 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25843 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25844 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25845 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25846 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25847 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25848 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25849
25850 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25851
25852 * stdio-common/_itoa.h: Moved to ...
25853 * sysdeps/generic/_itoa.h: Here.
25854
25855 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25856
25857 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25858 instead of "_itoa.h" and "_itowa.h".
25859 * stdio-common/vfprintf.: Likewise.
25860
d1af992d
L
258612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25862
25863 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25864 <bits/wordsize.h>.
25865 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25866 (__signbit): Likwise.
25867 (llrintf): Likwise.
25868 (llrint): Likwise.
25869
114883e0
L
258702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25871
25872 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25873 __WORDSIZE != 64.
25874
c135cc1b
JM
258752012-03-20 Joseph Myers <joseph@codesourcery.com>
25876
25877 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25878 OVERFLOW_EXCEPTION_OK.
25879 * math/libm-test.inc ("Philosophy"): Update comment about
25880 exception testing.
25881 (OVERFLOW_EXCEPTION): Define.
25882 (OVERFLOW_EXCEPTION_OK): Likewise.
25883 (INVALID_EXCEPTION_OK): Renumber.
25884 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25885 (IGNORE_ZERO_INF_SIGN): Likewise.
25886 (test_exceptions): Handle FE_OVERFLOW.
25887 (exp10_test): Expect overflow exceptions.
25888 (exp2_test): Likewise.
25889 (expm1_test): Likewise.
25890 (nextafter_test): Likewise.
25891 (pow_test): Likewise.
25892 (scalbn_test): Likewise.
25893 (scalbln_test): Likewise.
25894
95443d88
L
258952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25896
25897 * sysdeps/x86_64/bits/atomic.h
25898 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25899 64bit integer.
25900 (atomic_exchange_acq): Likewise.
25901 (__arch_exchange_and_add_body): Likewise.
25902 (__arch_add_body): Likewise.
25903 (atomic_add_negative): Likewise.
25904 (atomic_add_zero): Likewise.
25905
490df6c4
L
259062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25907
c2722551 25908 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25909 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25910
5e52b189
L
259112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25912
25913 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25914 Check __x86_64__ instead of __WORDSIZE.
25915
a9879d4c
L
259162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25917
25918 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25919
5df98260
DM
259202012-03-19 David S. Miller <davem@davemloft.net>
25921
e1497744
DM
25922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25923
5df98260
DM
25924 * sysdeps/sparc/fpu/fenv_private.h: New file.
25925 * sysdeps/sparc/fpu/math_private.h: Use it.
25926 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25927 Remove.
25928 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25929 (libc_feholdexcept_setroundl): Remove.
25930 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25931 Remove.
25932 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25933 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25934
b4c35121
L
259352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25936
25937 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25938 int64_t instead of long int.
25939 (INSERT_WORDS64): Likwise.
25940
56965fd7
L
259412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25942
25943 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25944 _Unwind_GetCFA return to _Unwind_Ptr first.
25945
83d1aec8
JM
259462012-03-19 Joseph Myers <joseph@codesourcery.com>
25947
1897ad44
JM
25948 [BZ #13629]
25949 * math/s_clog.c: Include <float.h>.
25950 (__clog): Scale large or subnormal inputs.
25951 * math/s_clogf.c: Likewise.
25952 * math/s_clogl.c: Likewise.
25953 * math/s_clog10.c: Include <float.h>.
25954 (M_LOG10_2): Define.
25955 (__clog10): Scale large or subnormal inputs.
25956 * math/s_clog10f.c: Likewise.
25957 * math/s_clog10l.c: Likewise.
25958 * math/libm-test.inc (clog_test): Add more tests.
25959 (clog10_test): Likewise.
25960 * sysdeps/i386/fpu/libm-test-ulps: Update.
25961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25962
7726d6a9
JM
25963 [BZ #11451]
25964 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25965 x and y.
25966 * math/libm-test.inc (atan2_test): Add another test.
25967
83d1aec8
JM
25968 * Makerules (common-objdir-compile): Remove.
25969 * sysdeps/unix/Makefile (config-generated): Do not add
25970 $(unix-generated) to variable.
25971 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25972 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25973 Remove rule.
25974 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25975 Likewise.
25976 [generic bits/local_lim.h] (before-compile): Do not append to
25977 variable.
25978 [generic bits/local_lim.h] (common-generated): Likewise.
25979 [generic sys/param.h] (before-compile): Do not append to variable.
25980 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25981 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25982 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25983 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25984 include.
25985 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25986 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25987 [generic sys/param.h] ($(addprefix
25988 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25989 [generic sys/param.h] (common-generated): Do not append to
25990 variable.
25991 [generic sys/param.h] (sysdep_headers): Likewise.
25992 [generic bits/errno.h] (before-compile): Do not append to
25993 variable.
25994 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25995 rule.
25996 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25997 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25998 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25999 [generic bits/errno.h] (common-generated): Do not append to
26000 variable.
26001 [generic bits/ioctls.h] (before-compile): Do not append to
26002 variable.
26003 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26004 rule.
26005 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26006 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26007 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26008 rule.
26009 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26010 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26011 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26012 [generic bits/ioctls.h] (common-generated): Do not append to
26013 variable.
26014 [generic sys/syscall.h] (syscall.h): Remove variable.
26015 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26016 rule.
26017 [generic sys/syscall.h] (before-compile): Do not append to
26018 variable.
26019 [generic sys/syscall.h] (common-generated): Likewise.
26020 * sysdeps/unix/errnos-tmpl.c: Remove file.
26021 * sysdeps/unix/errnos.awk: Likewise.
26022 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26023 * sysdeps/unix/ioctls.awk: Likewise.
26024 * sysdeps/unix/mk-local_lim.c: Likewise.
26025 * sysdeps/unix/snarf-ioctls: Likewise.
26026
4851a949
RH
260272012-03-19 Richard Henderson <rth@twiddle.net>
26028
bd37f2ee
RH
26029 * sysdeps/i386/fpu/fenv_private.h: New file.
26030 * sysdeps/i386/fpu/math_private.h: Use it.
26031 (math_opt_barrier, math_force_eval): Remove.
26032 (libc_feholdexcept_setround_53bit): Remove.
26033 (libc_feupdateenv_53bit): Remove.
26034 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26035 (math_opt_barrier, math_force_eval): Remove.
26036 (libc_feholdexcept): Remove.
26037 (libc_feholdexcept_setround): Remove.
26038 (libc_fetestexcept, libc_fesetenv): Remove.
26039 (libc_feupdateenv_test): Remove.
26040 (libc_feupdateenv, libc_feholdsetround): Remove.
26041 (libc_feresetround): Remove.
26042
d0adc922
RH
26043 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26044 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26045
0fe0f1f8
RH
26046 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26047 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26048 (libc_feupdateenv_testl): New.
26049 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26050 (libc_feupdateenv_testf): New.
26051 (libc_feupdateenv): Use libc_feupdateenv_test.
26052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26053 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26054
eb92c487
RH
26055 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26056 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26057 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26058 (libc_feresetround_noex): New.
26059 (libc_feresetround_noexf): New.
26060 (libc_feresetround_noexl): New.
26061 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26062 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26063 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26064 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26065 SET_RESTORE_ROUND.
26066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26068 (__cos): Likewise.
26069 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26070 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26071 SET_RESTORE_ROUND_NOEX.
26072 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26073 SET_RESTORE_ROUND_NOEXF.
26074 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26075 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26076 (libc_feholdsetroundf): New.
26077 (libc_feresetround, libc_feresetroundf): New.
26078
7d2e8012
RH
26079 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26080 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26081 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26082
b4dabbb4
RH
26083 * sysdeps/generic/math_private.h: Include <fenv.h>.
26084 (default_libc_feholdexcept): New.
26085 (default_libc_feholdexcept_setround): New.
26086 (default_libc_fesetenv, default_libc_feupdateenv): New.
26087 (libc_feholdexcept): Only define if undefined.
26088 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26089 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26090 (libc_feholdexcept_setroundl): Likewise.
26091 (libc_feholdexcept_setround_53bit): Likewise.
26092 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26093 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26094 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26095 (libc_feupdateenv_53bit): Likewise.
26096 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26097 (libc_feholdexcept): Convert from macro to inline function.
26098 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26099 (libc_fesetenv, libc_feupdateenv): Likewise.
26100
4851a949
RH
26101 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26102 not previously defined.
26103 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26104 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26105 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26106 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26107 * sysdeps/ieee754/flt-32/math_private.h: New file.
26108 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26109 math_private.h below SET_FLOAT_WORD.
26110 (__isnan, __isinf_ns, __finite): Remove.
26111 (__isnanf, __isinf_nsf, __finitef): Remove.
26112
e79d442e
AS
261132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26114
26115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26116
90b80344
DM
261172012-03-17 David S. Miller <davem@davemloft.net>
26118
26119 [BZ #6471]
26120 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26121 for 2.16.
26122
edc21804
DM
261232012-03-16 David S. Miller <davem@davemloft.net>
26124
77e927af
DM
26125 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26126 warnings.
26127
374976dd
DM
26128 [BZ #6471]
26129 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26130 properly.
26131 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26132 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26133 sysdep_routines when subdir is sysvipc.
26134 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26135 __getshmlba helper.
26136
edc21804
DM
26137 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26138
473c3ef3
L
261392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26140
26141 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26142 [__LP64__].
26143
eb0f39b6
L
261442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26147 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26148 (__lround): Renamed to ...
26149 (__llround): This. Replace long int with long long int.
26150 Define lround functions as aliases of llround functions.
26151 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26152
6b6cd74b
L
261532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26154
26155 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26156 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26157 adresses to uintptr_t. Replace "long int" and "unsigned long
26158 int" with "greg_t" on va_arg.
26159
f1a77b01
L
261602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26161
26162 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26163 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26164
26165 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26166 Move e_machine check before EI_CLASS check. Handle x32
26167 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26168 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26169 SKIP_EM_IA_64 and include
26170 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26171
26172 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26173 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26174 (add_system_dir): New macro.
26175
26176 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26177 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26178
11b90b9f
JM
261792012-03-16 Joseph Myers <joseph@codesourcery.com>
26180
c36e1d23
JM
26181 [BZ #2551]
26182 [BZ #2552]
26183 [BZ #2553]
26184 [BZ #2554]
26185 [BZ #2562]
26186 [BZ #2563]
26187 [BZ #2565]
26188 [BZ #2566]
26189 [BZ #2576]
26190 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26191 (y0): Likewise.
26192 * math/w_j0f.c (j0f): Likewise.
26193 (y0f): Likewise.
26194 * math/w_j0l.c (__j0l): Likewise.
26195 (__y0l): Likewise.
26196 * math/w_j1.c (j1): Likewise.
26197 (y1): Likewise.
26198 * math/w_j1f.c (j1f): Likewise.
26199 (y1f): Likewise.
26200 * math/w_j1l.c (__j1l): Likewise.
26201 (__y1l): Likewise.
26202 * math/w_jn.c (jn): Likewise.
26203 (yn): Likewise.
26204 * math/w_jnf.c (jnf): Likewise.
26205 (ynf): Likewise.
26206 * math/w_jnl.c (__jnl): Likewise.
26207 (__ynl): Likewise.
26208 * math/libm-test.inc (j0_test): Add more tests.
26209 (j1_test): Likewise.
26210 (jn_test): Likewise. Add trailing semicolon to existing test.
26211 (y0_test): Likewise.
26212 (y1_test): Likewise.
26213 * sysdeps/i386/fpu/libm-test-ulps: Update.
26214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26215
11b90b9f
JM
26216 [BZ #13851]
26217 [BZ #13854]
26218 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26219 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26220 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26222 (__tanl): Set errno for infinite argument.
26223 * sysdeps/i386/fpu/mptan.c: Remove.
26224 * sysdeps/i386/fpu/s_tan.S: Likewise.
26225 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26226 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26227 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26228 * math/libm-test.inc (tan_test): Add more tests and enable more
26229 tests for double and long double.
26230 * sysdeps/i386/fpu/libm-test-ulps: Update.
26231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232
6a1bd2a1
JK
262332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26234
26235 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26236 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26237
10a803e0
RM
262382012-03-16 Roland McGrath <roland@hack.frob.com>
26239
26240 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26241 * configure.in: Use it for both main tree and add-ons.
26242 * configure: Regenerated.
26243
f196c7f7
L
262442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26245
26246 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26247
8848d99d
JM
262482012-03-16 Joseph Myers <joseph@codesourcery.com>
26249
96cbe7f4
JM
26250 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26251 in comment.
26252
8848d99d
JM
26253 [BZ #13851]
26254 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26255 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26259 infinite argument.
26260 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26261 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26262 != 0 for prec == 2.
26263 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26264 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26265 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26266 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26267 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26268 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26269 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26270 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26271 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26272 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26273 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26274 * math/libm-test.inc (cos_test): Add more tests and enable more
26275 tests for long double.
26276 (sin_test): Likewise.
26277 (sincos_test): Likewise.
26278 * sysdeps/i386/fpu/libm-test-ulps: Update.
26279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26280
dd7f4703
DM
262812012-03-16 David S. Miller <davem@davemloft.net>
26282
26283 * sysdeps/sparc/fpu/math_private.h: New file.
26284
006f1daa
DM
262852012-03-15 David S. Miller <davem@davemloft.net>
26286
c0c83bc8
DM
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26288 file.
e6a62e18 26289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26291 file.
e6a62e18
DM
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26298 sysdep routines.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26300
88cb87d9
DM
26301 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26302 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26303
006f1daa 26304 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26306 sparc-ifunc.h
006f1daa 26307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26309 Likewise.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26311 Likewise.
006f1daa
DM
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26316 Likewise.
006f1daa
DM
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26322 Likewise.
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26324 Likewise.
006f1daa
DM
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26349
11e0098e
AS
263502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26351
26352 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26353 scaling.
26354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26355
e85b09d0
AJ
263562012-03-15 Andreas Jaeger <aj@suse.de>
26357
26358 [BZ #13852]
26359 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26360 ieee754/flt-32 implementation for sin, cos and sincos.
26361 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26362 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26363 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26364 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26365 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26366 ieee754/flt-32 implementation for tan.
26367
26368 * math/libm-test.inc (cos_test): Enable some large input tests for
26369 float as well
26370 (sin_test): Likewise.
26371 (sincos_test): Likewise.
26372 (tan_test): Add tests for large input.
26373
26374 * sysdeps/i386/fpu/libm-test-ulps: Update.
26375
81c64153
AJ
263762012-03-15 Andreas Jaeger <aj@suse.de>
26377
26378 [BZ #13658]
26379 * math/libm-test.inc (cos_test): Add more test cases.
26380 (sin_test): Likewise.
26381 (sincos_test): Likewise.
26382
7bbfa5c6
AJ
263832012-03-15 Andreas Jaeger <aj@suse.de>
26384
26385 [BZ #13837]
26386 * math/libm-test.inc (cos_test): Add a test case for large input
26387 value.
26388 (sin_test): Likewise.
26389 (sincos_test): Likewise.
26390
263912012-03-15 Andreas Jaeger <aj@suse.de>,
26392 Joseph Myers <joseph@codesourcery.com>
26393
26394 [BZ #13658]
0671f479 26395 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26396 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26397 * sysdeps/i386/fpu/branred.c: Likewise.
26398 * sysdeps/i386/fpu/dosincos.c: Likewise.
26399 * sysdeps/i386/fpu/mpa.c: Likewise.
26400 * sysdeps/i386/fpu/s_cos.S: Likewise.
26401 * sysdeps/i386/fpu/s_sin.S: Likewise.
26402 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26403 * sysdeps/i386/fpu/sincos32.c: Likewise.
26404
26405 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26406 Define.
26407 (libc_feupdateenv_53bit): Define.
26408 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26409 Define.
26410 (libc_feupdateenv_53bit): Define.
26411
26412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26413 53 bit (without extend i386 double precision).
26414
26415 * math/libm-test.inc (sincos_test): Add tests for large input.
26416 (sin): Likewise.
26417 (cos): Likewise.
26418
26419 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26420
9cad04ea
AS
264212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26422
26423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26424
f7062b9a
DM
264252012-03-15 David S. Miller <davem@davemloft.net>
26426
26427 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26428 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26429 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26430 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26443 file.
f7062b9a 26444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26446 file.
f7062b9a 26447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26449 file.
f7062b9a 26450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26452 file.
f7062b9a
DM
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26455 fmin/fmax sysdep routines.
26456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26457
7bd951ff
DM
264582012-03-14 David S. Miller <davem@davemloft.net>
26459
559398ab
DM
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26465 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26489 routines.
26490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26491 file.
559398ab 26492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26494 file.
559398ab 26495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26497 file.
559398ab 26498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26500 file.
559398ab 26501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26503 file.
559398ab 26504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26506 file.
26507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26508 file.
26509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26510 file.
26511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26512 file.
26513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26514 New file.
26515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26516 file.
26517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26518 file.
559398ab 26519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26521 file.
559398ab 26522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26524 file.
559398ab 26525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26527 file.
559398ab 26528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26530 VIS3 routines.
559398ab
DM
26531
26532 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26533 New file.
26534
5a1c1e32
DM
26535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26536
eae47a36
DM
26537 * sysdeps/sparc/configure.in: New file.
26538 * sysdeps/sparc/configure: Generate.
26539 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26540 * configure: Regenerate.
26541 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26542 * config.make.in (have-as-vis3): New.
26543 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26544 available use -Av9d instead of -Av9a.
26545 * sysdeps/sparc/sparc64/Makefile: Likewise.
26546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26548 New file.
26549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26550 file.
26551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26552 New file.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26554 file.
eae47a36
DM
26555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26558 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26560
c0c83bc8
DM
26561 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26562 fzeros/fnegs to load 0x80000000 into a float register instead of
26563 using the stack.
7bd951ff
DM
26564 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26565
bd951ccb
JM
265662012-03-14 Joseph Myers <joseph@codesourcery.com>
26567
26568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26569 bits/syscall.h.
26570 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26571 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26572 ($(inst_includedir)/bits/syscall.h): Remove rule.
26573 ($(objpfx)bits/syscall.d): Include instead of
26574 $(objpfx)syscall-list.d.
26575 (generated): Change syscall-list.h and syscall-list.d to
26576 bits/syscall.h and bits/syscall.d.
26577
bb4e6db2
RM
265782012-03-14 Roland McGrath <roland@hack.frob.com>
26579
26580 [BZ #13846]
26581 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26582
aa4a2ae1
JM
265832012-03-14 Joseph Myers <joseph@codesourcery.com>
26584
e456826d
JM
26585 [BZ #13841]
26586 * math/s_csqrt.c: Include <float.h>.
26587 (__csqrt): Scale large or subnormal inputs.
26588 * math/s_csqrtf.c: Likewise.
26589 * math/s_csqrtl.c: Likewise.
26590 * math/libm-test.inc (csqrt_test): Add more tests.
26591 * sysdeps/i386/fpu/libm-test-ulps: Update.
26592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593
aa4a2ae1
JM
26594 [BZ #13840]
26595 * math/libm-test.inc (hypot_test): Add more tests.
26596
7c10fd35
DM
265972012-03-13 David S. Miller <davem@davemloft.net>
26598
26599 [BZ #13840]
26600 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26601 double-precision for the calculation instead of scaling.
26602
f453b98b
JM
266032012-03-13 Joseph Myers <joseph@codesourcery.com>
26604
26605 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26606 manipulate bits before adding and subtracting TWO52[sx].
26607 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26609 Likewise.
26610 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26611
09a3453f
DM
266122012-03-13 David S. Miller <davem@davemloft.net>
26613
8e59da90
DM
26614 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26615 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26617 rtld-global-offsets.h
26618 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26619
2a8ab7f2
DM
26620 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26621 large parameters.
26622
10f62770
DM
26623 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26624
5f0bdb18
DM
26625 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26626 'err' in the ifdef scope in which it is actually used.
26627
09a3453f
DM
26628 * nss/nss_db/db-init.c: Include string.h
26629
b4b2eb5e
DM
266302012-03-12 David S. Miller <davem@davemloft.net>
26631
98bb2f1c
DM
26632 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26633 masking out of the most significant byte of random value used.
26634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26635 Fix coding style in previous change.
26636
b4b2eb5e
DM
26637 * sysdeps/unix/sysv/linux/kernel-features.h
26638 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26639 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26640 expression.
26641 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26642 later.
26643
6e226b09
DM
266442012-03-11 David S. Miller <davem@davemloft.net>
26645
a1bcbd40
DM
26646 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26647 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26649 for 'resultvar' otherwise things get truncated on 64-bit.
26650
cb9d6174
DM
26651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26652 Fix masking out of the most significant byte of random value used.
26653
6e226b09
DM
26654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26655
058c132d
AS
266562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26657
26658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26659
2d2cd515
DM
266602012-03-09 David S. Miller <davem@davemloft.net>
26661
26662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26663 variables with appropriate CPP guards.
26664 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26665 frame pointer, not the stack pointer. Correct layout comments. Fix test
26666 on resulting framesize and the management of the outregs buffer for pltexit.
26667 Preserve floating point return values across _dl_call_pltexit call.
26668 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26669 framesize and the management of the outregs buffer for pltexit.
26670 Preserve floating point return values across _dl_call_pltexit
26671 call.
26672 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26673 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26674 (print_exit): Fix format string for return register value.
26675
9a07f9d0
JM
266762012-03-10 Joseph Myers <joseph@codesourcery.com>
26677
26678 * sunrpc/Makefile (others): Add rpcgen.
26679 ($(objpfx)rpcgen): Remove special build rule and dependency on
26680 libc.
26681 * sunrpc/rpcgen.c: New file.
26682
547b5e30
PE
266832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26684
c524201a
PE
26685 [BZ #13673]
26686 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26687 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26688 * sysdeps/i386/crti.S: Likewise.
26689 * sysdeps/i386/crtn.S: Likewise.
26690 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26691 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26692 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26693 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26694 * sysdeps/sh/crti.S: Likewise.
26695 * sysdeps/sh/crtn.S: Likewise.
26696 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26697
7b6235f2
PE
26698 [BZ #13673]
26699 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26700 with URL.
26701 * locale/programs/locfile-kw.gperf: Likewise.
26702 * locale/programs/charmap-kw.h: Regenerated.
26703 * locale/programs/locfile-kw.h: Likewise.
26704
547b5e30
PE
26705 [BZ #13673]
26706 * intl/plural.y: Replace FSF snail mail address with URL.
26707 * intl/plural.c: Regenerated.
26708
5f0a5dae
RH
267092012-03-09 Richard Henderson <rth@twiddle.net>
26710
26711 * include/math_private.h: Remove file.
26712 * math/math_private.h: Move file ...
26713 * sysdeps/generic/math_private.h: ... here.
26714
b8c03620
RH
26715 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26716 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26717 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26718
4e234f5d 26719 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26720 and <math_private.h>.
26721 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26722 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26723 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26724 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26725 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26729 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26738 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26739 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26751 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26753 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26754 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26772 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26778 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26780 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26784 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26785 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26786 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26788 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26795 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26801 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26809 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26812 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26814 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26815 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26816 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26821 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26822 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26823 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26824 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26825 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26826 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26827 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26828 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26829 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26830 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26831 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26832 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26833 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26834 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26835 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26836 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26840 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26842 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26843 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26844 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26845 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26846 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26848 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26849 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26850 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26851 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26852 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26854 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26855 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26857 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26858 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26859 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26860 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26861 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26862 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26863 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26864 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26865 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26869 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26870 * sysdeps/ieee754/k_standard.c: Likewise.
26871 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26885 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26886 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26888 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26938 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26941 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26943 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26944 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26976 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26993 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26994 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26998 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27003 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27019 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27020 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27021 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27031 * sysdeps/ieee754/s_lib_version.c: Likewise.
27032 * sysdeps/ieee754/s_matherr.c: Likewise.
27033 * sysdeps/ieee754/s_signgam.c: Likewise.
27034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27036 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27037 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27038 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27039 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27040 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27041 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27042 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27043 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27044 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27045 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27046 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27047 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27048 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27051 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27054 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27055
1991fa03
JM
270562012-03-09 Joseph Myers <joseph@codesourcery.com>
27057
27058 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27059 * sunrpc/rpc_main.c: Likewise.
27060 * sunrpc/rpc_svcout.c: Likewise.
27061
60d6f5a6
DM
270622012-03-09 David S. Miller <davem@davemloft.net>
27063
27064 * include/math_private.h: New file.
27065
4962050e
JM
270662012-03-09 Joseph Myers <joseph@codesourcery.com>
27067
02a6f887
JM
27068 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27069 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27070 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27071 from <bits/socket_type.h>.
27072 (enum __socket_type): Don't define here.
27073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27075 bits/socket_type.h.
27076
c6e013c1
JM
27077 [BZ #13566]
27078 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27079 checking __USE_GNU.
27080
4962050e
JM
27081 * Makerules ($(inst_includedir)/%.h): New rule.
27082 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27083 (install-others): Remove variable setting.
27084 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27085
38842f45
RH
270862012-03-08 Richard Henderson <rth@twiddle.net>
27087
67bb6da6
RH
27088 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27089 from macro to inline function; merge with the
27090 !__LIBC_INTERNAL_MATH_INLINES version.
27091 (__ieee754_sqrtf): Likewise.
27092
15194b4b
RH
27093 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27094 to inline function.
27095 (__rintf, __floor, __floorf): Likewise.
27096
64e21ede
RH
27097 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27098 macro to inline function.
27099 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27100
38842f45
RH
27101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27102 not <math/math_private.h>.
27103
c64bf5fe
DM
271042012-03-08 David S. Miller <davem@davemloft.net>
27105
27106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27107 copyright year.
27108 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27109
82d86f28
TS
271102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27111
27112 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27113 normalization.
27114 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27115 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27116
aea5d727
UD
271172012-03-08 Ulrich Drepper <drepper@gmail.com>
27118
27119 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27120 be defined individually, they must be defined as a block. Define
27121 S for printing a string instead of hidint the different by using a
27122 macro for adding the 'l'.
27123 * stdio-common/tst-fphex-wide.c: Adjust.
27124
70bca0a3
MP
271252012-03-07 Marek Polacek <polacek@redhat.com>
27126
27127 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27128
65b81130
MP
271292012-03-08 Marek Polacek <polacek@redhat.com>
27130
27131 [BZ #13806]
27132 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27133 * stdio-common/tst-fphex.c: Define a few macros to make the
27134 test reusable. Use them.
27135 * stdio-common/tst-fphex-wide.c: New file.
27136
07037eeb
JM
271372012-03-08 Joseph Myers <joseph@codesourcery.com>
27138
a7a93d50
JM
27139 [BZ #6911]
27140 * manual/macros.texi (gnusystems): New macro.
27141 (nongnusystems): Likewise.
27142 (gnulinuxhurdsystems): Likewise.
27143 (gnuhurdsystems): Likewise..
27144 (gnulinuxsystems): Likewise.
27145 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27146 variants of the GNU system, not "GNU system".
27147 * manual/conf.texi: Likewise.
27148 * manual/errno.texi: Likewise. Update example of errno macro
27149 expansion.
27150 * manual/filesys.texi: Likewise.
27151 (getumask): Document as specific to GNU/Hurd.
27152 * manual/install.texi: Likewise. Reword some references to
27153 GNU/Linux.
27154 * manual/intro.texi: Likewise.
27155 * manual/io.texi: Likewise.
27156 (File Name Portability): Detail which constraints are inapplicable
27157 to all GNU systems and which are only inapplicable to GNU/Hurd.
27158 * manual/job.texi: Likewise.
27159 * manual/llio.texi: Likewise.
27160 (O_NOCTTY): Document as present on GNU/Linux.
27161 * manual/maint.texi: Likewise.
27162 * manual/memory.texi: Likewise.
27163 * manual/pattern.texi: Likewise.
27164 * manual/pipe.texi: Likewise.
27165 * manual/process.texi: Likewise.
27166 * manual/resource.texi: Likewise.
27167 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27168 child on GNU/Hurd.
27169 * manual/setjmp.texi: Likewise.
27170 * manual/signal.texi: Likewise.
27171 * manual/startup.texi: Likewise.
27172 * manual/stdio.texi: Likewise.
27173 * manual/terminal.texi: Likewise.
27174 (ONLCR): Document as POSIX.
27175 (OXTABS): Document availability on GNU/Linux as XTABS.
27176 (ONOEOT): Document availability separately from other bits.
27177 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27178 * manual/time.texi: Likewise.
27179 * manual/users.texi: Likewise.
27180 * INSTALL: Regenerated.
27181 * sysdeps/gnu/errlist.c: Regenerated.
27182
07037eeb
JM
27183 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27184 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27185 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27186 puts.
27187 * configure: Regenerated.
27188
d1d3431a
JM
271892012-03-07 Joseph Myers <joseph@codesourcery.com>
27190
af6a1e37
JM
27191 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27192 default includes instead of AC_HEADER_CHECK.
27193 * sysdeps/i386/configure: Regenerated.
27194
d1d3431a
JM
27195 [BZ #10716]
27196 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27197 * math/s_cacoshf.c (__cacoshf): Likewise.
27198 * math/s_cacoshl.c (__cacoshl): Likewise.
27199 * math/s_casinh.c (__casinh): Set signs of result from argument.
27200 * math/s_casinhf.c (__casinhf): Likewise.
27201 * math/s_casinhl.c (__casinhl): Likewise.
27202 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27203 (casinh_test): Add more tests.
27204 * sysdeps/i386/fpu/libm-test-ulps: Update.
27205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27206
482ff4da
UD
272072012-03-07 Ulrich Drepper <drepper@gmail.com>
27208
872fda05
UD
27209 * po/zh_TW.po: Update from translation team.
27210
a4300c7a
UD
27211 * login/Makefile (distribute): Remove variable.
27212 * catgets/Makefile: Likewise.
27213 * mach/Makefile: Likewise.
27214 * malloc/Makefile: Likewise.
27215 * misc/Makefile: Likewise.
27216 * iconv/Makefile: Likewise.
27217 * nscd/Makefile: Likewise.
27218 * hurd/Makefile: Likewise.
27219 * manual/Makefile: Likewise.
27220 * locale/Makefile: Likewise.
27221 * intl/Makefile: Likewise.
27222 * conform/Makefile: Likewise.
27223 * nss/Makefile: Likewise.
27224 * time/Makefile: Likewise.
27225 * soft-fp/Makefile: Likewise.
27226 * dirent/Makefile: Likewise.
27227 * gmon/Makefile: Likewise.
27228 * po/Makefile: Likewise.
27229 * rt/Makefile: Likewise.
27230 * socket/Makefile: Likewise.
27231 * math/Makefile: Likewise.
27232 * signal/Makefile: Likewise.
27233 * debug/Makefile: Likewise.
27234 * elf/Makefile: Likewise.
27235 * timezone/Makefile: Likewise.
27236 * stdlib/Makefile: Likewise.
27237 * iconvdata/Makefile: Likewise.
27238 * sunrpc/Makefile: Likewise.
27239 * io/Makefile: Likewise.
27240 * argp/Makefile: Likewise.
27241 * inet/Makefile: Likewise.
27242 * hesiod/Makefile: Likewise.
27243 * grp/Makefile: Likewise.
27244 * csu/Makefile: Likewise.
27245 * wctype/Makefile: Likewise.
27246 * crypt/Makefile: Likewise.
27247 * libio/Makefile: Likewise.
27248 * string/Makefile: Likewise.
27249 * nis/Makefile: Likewise.
27250 * resolv/Makefile: Likewise.
27251 * stdio-common/Makefile: Likewise.
27252 * wcsmbs/Makefile: Likewise.
27253 * dlfcn/Makefile: Likewise.
27254 * posix/Makefile: Likewise.
27255
3b7c4e74 27256 [BZ #6959]
482ff4da
UD
27257 * timezone/Makefile: Don't install timezone files, just the programs
27258 and scripts.
27259
f72ed77d
UD
272602012-03-06 Ulrich Drepper <drepper@gmail.com>
27261
a000466f
UD
27262 * nss/databases.def: Add missing gshadow entry.
27263
f72ed77d
UD
27264 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27265
a53b7a4e
MP
272662012-03-06 Marek Polacek <polacek@redhat.com>
27267
27268 [BZ #13726]
27269 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27270 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27271 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27272 * stdio-common/tst-long-dbl-fphex.c: New file.
27273
e9258400
DM
272742012-03-06 David S. Miller <davem@davemloft.net>
27275
27276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27277 (set_obp_int): New function.
27278 (get_obp_int): New function.
27279 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27281 Avoid unused variable warnings on 'val' and use builtin_expect.
27282 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27283 __builtin_expect.
e9258400
DM
27284 (INLINE_CLONE_SYSCALL): Likewise.
27285
3bd2c723
DM
272862012-03-05 David S. Miller <davem@davemloft.net>
27287
27288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27289
bbb78d03
AS
272902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27291
884c5db4
AS
27292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27293
bbb78d03
AS
27294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27295 only for |x| >= 40.
27296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27297
1c9f702a 272982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27299
27300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27301 Replace gettimeofday with __vdso_gettimeofday.
27302
7be16f82
RM
27303 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27304 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27305 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27306
27307 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27308 time with __vdso_time.
27309
ed58a00f
JM
273102012-03-05 Joseph Myers <joseph@codesourcery.com>
27311
27312 * manual/lang.texi (size_t): Note types to which size_t may be
27313 equivalent with the GNU C Library, but do not describe when
27314 differences between them are significant.
27315
30ee4ced
AJ
273162012-03-05 Andreas Jaeger <aj@suse.de>
27317
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319
b7cd39e8
JM
273202012-03-05 Joseph Myers <joseph@codesourcery.com>
27321
27322 [BZ #3976]
27323 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27324 (__ieee754_pow): Save and restore rounding mode and use
27325 round-to-nearest for main computations.
27326 * math/libm-test.inc (pow_test_tonearest): New function.
27327 (pow_test_towardzero): Likewise.
27328 (pow_test_downward): Likewise.
27329 (pow_test_upward): Likewise.
27330 (main): Call the new functions.
27331 * sysdeps/i386/fpu/libm-test-ulps: Update.
27332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27333
27334 [BZ #3976]
27335 * math/libm-test.inc (cosh_test_tonearest): New function.
27336 (cosh_test_towardzero): Likewise.
27337 (cosh_test_downward): Likewise.
27338 (cosh_test_upward): Likewise.
27339 (sinh_test_tonearest): Likewise.
27340 (sinh_test_towardzero): Likewise.
27341 (sinh_test_downward): Likewise.
27342 (sinh_test_upward): Likewise.
27343 (main): Call the new functions.
27344 * sysdeps/i386/fpu/libm-test-ulps: Update.
27345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27346
6c6a98c9
TV
273472012-03-05 Tom de Vries <tom@codesourcery.com>
27348
27349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27350 default stack guard is set in last bytes.
27351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27352
21bb2d2e 273532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27354
21bb2d2e 27355 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27356
21bb2d2e
AJ
27357 [BZ #13656]
27358 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27359 possibly allocate from heap instead of stack.
27360 * stdio-common/bug-vfprintf-nargs.c: New file.
27361 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27362
c6922934
AS
273632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27364
27365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27366
bc957d53
MP
273672012-03-03 Marek Polacek <polacek@redhat.com>
27368
27369 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27370 * math/math_private.h: Likewise.
27371 * stdlib/tst-strtod.c: Likewise.
27372 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27373 * sysdeps/x86_64/bits/atomic.h: Likewise.
27374
6358490d
DM
273752012-03-02 David S. Miller <davem@davemloft.net>
27376
27377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27381 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27382 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27383 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27384 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27385
01ae168d
RM
273862012-03-02 Roland McGrath <roland@hack.frob.com>
27387
d9a17c07
RM
27388 [BZ #13792]
27389 * manual/examples/README: New file, says the example source files
27390 can be used under GPL>=2.
27391 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27392 line containing just "*/".
27393 * manual/examples/add.c: Add copyright header (GPL>=2).
27394 * manual/examples/argp-ex1.c: Likewise.
27395 * manual/examples/argp-ex2.c: Likewise.
27396 * manual/examples/argp-ex3.c: Likewise.
27397 * manual/examples/argp-ex4.c: Likewise.
27398 * manual/examples/atexit.c: Likewise.
27399 * manual/examples/db.c: Likewise.
27400 * manual/examples/dir.c: Likewise.
27401 * manual/examples/dir2.c: Likewise.
27402 * manual/examples/execinfo.c: Likewise.
27403 * manual/examples/filecli.c: Likewise.
27404 * manual/examples/filesrv.c: Likewise.
27405 * manual/examples/fmtmsgexpl.c: Likewise.
27406 * manual/examples/genpass.c: Likewise.
27407 * manual/examples/inetcli.c: Likewise.
27408 * manual/examples/inetsrv.c: Likewise.
27409 * manual/examples/isockad.c: Likewise.
27410 * manual/examples/longopt.c: Likewise.
27411 * manual/examples/memopen.c: Likewise.
27412 * manual/examples/memstrm.c: Likewise.
27413 * manual/examples/mkfsock.c: Likewise.
27414 * manual/examples/mkisock.c: Likewise.
27415 * manual/examples/mygetpass.c: Likewise.
27416 * manual/examples/pipe.c: Likewise.
27417 * manual/examples/popen.c: Likewise.
27418 * manual/examples/rprintf.c: Likewise.
27419 * manual/examples/search.c: Likewise.
27420 * manual/examples/select.c: Likewise.
27421 * manual/examples/setjmp.c: Likewise.
27422 * manual/examples/sigh1.c: Likewise.
27423 * manual/examples/sigusr.c: Likewise.
27424 * manual/examples/stpcpy.c: Likewise.
27425 * manual/examples/strdupa.c: Likewise.
27426 * manual/examples/strftim.c: Likewise.
27427 * manual/examples/strncat.c: Likewise.
27428 * manual/examples/subopt.c: Likewise.
27429 * manual/examples/swapcontext.c: Likewise.
27430 * manual/examples/termios.c: Likewise.
27431 * manual/examples/testopt.c: Likewise.
27432 * manual/examples/testpass.c: Likewise.
27433 * manual/examples/timeval_subtract.c: Likewise.
27434
01ae168d
RM
27435 [BZ #13792]
27436 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27437 function to ...
27438 * manual/timeval_subtract.c.texi: ... here, new file.
27439
49efa33d
DM
274402012-03-02 David S. Miller <davem@davemloft.net>
27441
27442 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27443
28afd92d
JM
274442012-03-02 Joseph Myers <joseph@codesourcery.com>
27445
804360ed
JM
27446 [BZ #3976]
27447 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27448 (__sin): Save and restore rounding mode and use round-to-nearest
27449 for all computations.
27450 (__cos): Save and restore rounding mode and use round-to-nearest
27451 for all computations.
27452 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27453 <fenv.h>.
27454 (tan): Save and restore rounding mode and use round-to-nearest for
27455 all computations.
27456 * math/libm-test.inc (cos_test_tonearest): New function.
27457 (cos_test_towardzero): Likewise.
27458 (cos_test_downward): Likewise.
27459 (cos_test_upward): Likewise.
27460 (sin_test_tonearest): Likewise.
27461 (sin_test_towardzero): Likewise.
27462 (sin_test_downward): Likewise.
27463 (sin_test_upward): Likewise.
27464 (tan_test_tonearest): Likewise.
27465 (tan_test_towardzero): Likewise.
27466 (tan_test_downward): Likewise.
27467 (tan_test_upward): Likewise.
27468 (main): Call the new functions.
27469 * sysdeps/i386/fpu/libm-test-ulps: Update.
27470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27471
a6d06d7b
JM
27472 [BZ #10135]
27473 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27474 small n, then large n, before computing and testing k+n.
27475 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27477 Likewise.
27478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27479 Likewise.
27480 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27481 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27487 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27488 * math/libm-test.inc (scalbn_test): Add more tests.
27489 (scalbln_test): Likewise.
27490
07e12bb3
JM
27491 * manual/filesys.texi (mode_t): Describe constraints on size and
27492 signedness, not exact equivalence to a particular type.
27493 (ino_t): Likewise.
27494 (ino64_t): Likewise.
27495 (dev_t): Likewise.
27496 (nlink_t): Likewise.
27497 (blkcnt_t): Likewise.
27498 (blkcnt64_t): Likewise.
27499 * manual/llio.texi (off_t): Likewise.
27500
28afd92d
JM
27501 [BZ #3976]
27502 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27503 (__ieee754_exp): Save and restore rounding mode and use
27504 round-to-nearest for all computations.
27505 * math/libm-test.inc (exp_test_tonearest): New function.
27506 (exp_test_towardzero): Likewise.
27507 (exp_test_downward): Likewise.
27508 (exp_test_upward): Likewise.
27509 (main): Call the new functions.
27510 * sysdeps/i386/fpu/libm-test-ulps: Update.
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512
b1eeb65d
CD
275132012-03-01 Chris Demetriou <cgd@google.com>
27514
27515 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27516 have predictable order.
27517
53362a4b
DM
275182012-03-01 David S. Miller <davem@davemloft.net>
27519
3c969083
DM
27520 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27521
759707de
DM
27522 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27523 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27524 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27525 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27526
dfdb8ff2
DM
27527 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27528 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27529 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27531 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27532 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27533 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27534 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27535 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27536
ead89f96
DM
27537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27538
7f66bd07
DM
27539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27540 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27542
53362a4b
DM
27543 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27544 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27545 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27546 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27547 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27551 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27554 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27556 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27557 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27559 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27560 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27561 * sysdeps/sparc/elf/configure: Regenerated.
27562
7b1902cb
JM
275632012-03-01 Joseph Myers <joseph@codesourcery.com>
27564
bec039bc
JM
27565 * configure.in (AS, LD): Require binutils 2.20 or later.
27566 * configure: Regenerated.
27567 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27568 as required minimum version.
27569 * INSTALL: Regenerated.
27570
7b1902cb
JM
27571 [BZ #2541]
27572 [BZ #4108]
27573 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27574 before squaring exponent.
27575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27576 bottom long double and 27 bits of top long double before squaring
27577 exponent.
27578 * math/libm-test.inc (erfc_test): Add more tests.
27579 * sysdeps/i386/fpu/libm-test-ulps: Update.
27580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27582
f775c276
KT
275832012-03-01 Kai Tietz <ktietz@redhat.com>
27584
27585 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27586 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27587 containing bit-fields.
27588 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27589 * soft-fp/single.h (_FP_UNION_S): Likewise.
27590 * soft-fp/double.h (_FP_UNION_D): Likewise.
27591
5b8a4d4a
JM
275922012-02-29 Joseph Myers <joseph@codesourcery.com>
27593
0bab47b6
JM
27594 [BZ #13786]
27595 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27596 not include ../strcmp.S.
27597 [USE_AS_STRNCASECMP_L]: Likewise.
27598 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27599 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27600 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27601 (__strncasecmp_l_ia32): Define as alias to
27602 __strncasecmp_l_nonascii.
27603
0fcad3e2
JM
27604 [BZ #5794]
27605 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27606 * sysdeps/i386/fpu/libm-test-ulps: Update.
27607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27608
5b8a4d4a
JM
27609 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27611
8fdceb2e
JL
276122012-02-29 Jeff Law <law@redhat.com>
27613
27614 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27615 out of bounds read.
27616
1f393a11
MP
276172012-02-29 Marek Polacek <polacek@redhat.com>
27618
27619 [BZ #13706]
27620 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27621 * elf/Makefile: Add rules to run tst-unused-dep.out.
27622
8847f037
DM
276232012-02-28 David S. Miller <davem@davemloft.net>
27624
27625 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27626 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27628 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27629 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27630 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27631
169d7f11
JM
276322012-02-29 Joseph Myers <joseph@codesourcery.com>
27633
27634 * math/libm-test.inc (llround_test): Move one test from
27635 lround_test. Use TEST_f_L in moved test.
27636 (lround_test): Move misplaced test to llround_test. Add testcase
27637 from bug 2561.
27638
39adf059
UD
276392012-02-28 Ulrich Drepper <drepper@gmail.com>
27640
27641 * sysdeps/x86_64/fpu/e_expf.S: New file.
27642 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27643
71b5d1c5
SB
276442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27645
27646 [BZ #13637]
27647 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27648 of remain_len that may cause incomplete multi-byte character and
27649 false match.
27650 * posix/bug-regex33.c: New file.
27651 * posix/Makefile (tests): Add bug-regex33.
27652
1f77f049
JM
276532012-02-28 Joseph Myers <joseph@codesourcery.com>
27654
27655 * manual/macros.texi: New file.
27656 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27657 * manual/libc.texinfo: Include macros.texi.
27658 * manual/creatute.texi: Likewise.
27659 * manual/install.texi: Likewise.
27660 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27661 @glibcadj{} in references to the GNU C Library.
27662 * manual/charset.texi: Likewise.
27663 * manual/conf.texi: Likewise.
27664 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27665 when not using those macros.
27666 * manual/creature.texi: Likewise.
27667 * manual/crypt.texi: Likewise.
27668 * manual/errno.texi: Likewise.
27669 * manual/filesys.texi: Likewise.
27670 * manual/header.texi: Likewise.
27671 * manual/install.texi: Likewise.
27672 * manual/intro.texi: Likewise.
27673 * manual/io.texi: Likewise.
27674 * manual/job.texi: Likewise.
27675 * manual/lang.texi: Likewise.
27676 * manual/libc.texiinfo: Likewise.
27677 * manual/llio.texi: Likewise.
27678 * manual/locale.texi: Likewise.
27679 * manual/maint.texi: Likewise.
27680 * manual/math.texi: Likewise.
27681 * manual/memory.texi: Likewise.
27682 * manual/message.texi: Likewise.
27683 * manual/nss.texi: Likewise.
27684 * manual/pattern.texi: Likewise.
27685 * manual/process.texi: Likewise.
27686 * manual/resource.texi: Likewise.
27687 * manual/search.texi: Likewise.
27688 * manual/setjmp.texi: Likewise.
27689 * manual/signal.texi: Likewise.
27690 * manual/socket.texi: Likewise.
27691 * manual/startup.texi: Likewise.
27692 * manual/stdio.texi: Likewise.
27693 * manual/string.texi: Likewise.
27694 * manual/sysinfo.texi: Likewise.
27695 * manual/syslog.texi: Likewise.
27696 * manual/terminal.texi: Likewise.
27697 * manual/time.texi: Likewise.
27698 * manual/users.texi: Likewise.
27699 * INSTALL: Regenerated.
27700 * NOTES: Regenerated.
d40c5d54 27701 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27702
450bf206
AS
277032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27704
27705 * include/dirent.h: Include <dirstream.h> before
27706 <dirent/dirent.h>.
27707
741a235b
DM
277082012-02-28 David S. Miller <davem@davemloft.net>
27709
27710 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27711 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27712 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27714
d6b5aa58
DM
277152012-02-27 David S. Miller <davem@davemloft.net>
27716
1aff59a3
DM
27717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27719 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27720 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27721
d6b5aa58
DM
27722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27723 frame pointer instead of stack pointer relative arg slot.
27724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27725 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27726 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27727
433f48bf
CD
277282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27729
27730 [BZ #3992]
27731 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27732
d674b76d
DM
277332012-02-27 David S. Miller <davem@davemloft.net>
27734
27735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27741 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27742 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27743
0e7727f7
JM
277442012-02-27 Joseph Myers <joseph@codesourcery.com>
27745
27746 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27747 later. Allow versions 5-9.
43be4ca2 27748 * configure: Regenerated.
0e7727f7
JM
27749 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27750 required minimum version and 4.6 as recommended version. Do not
27751 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27752 * INSTALL: Regenerated.
0e7727f7 27753
a78bc654
DM
277542012-02-27 David S. Miller <davem@davemloft.net>
27755
428d5830
DM
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27760 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27761 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27762 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27763 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27764
a78bc654
DM
27765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27766 manipulate bits before adding and subtracting TWO112[sx].
27767 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27768
4579f81c
RM
277692012-02-27 Roland McGrath <roland@hack.frob.com>
27770
36c8acb4
RM
27771 [BZ #13775]
27772 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27773 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27774 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27775 being in POSIX, because they are in 1003.1-2008.
27776
84ad622b
RM
27777 * rt/tst-aio.c: Include <fcntl.h>.
27778 * rt/tst-aio7.c: Likewise.
27779 * rt/tst-aio64.c: Likewise.
27780
4579f81c
RM
27781 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27782
abd923db
JM
277832012-02-27 Joseph Myers <joseph@codesourcery.com>
27784
27785 * manual/install.texi (--with-headers): Describe headers as
27786 interface headers, not private headers.
27787 (Specific advice for GNU/Linux systems): Describe use of headers
27788 from "make headers_install", not private headers from older
27789 kernels.
43be4ca2 27790 * INSTALL: Regenerated.
abd923db
JM
27791 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27792 Change to 2.6.19.
27793 * sysdeps/unix/sysv/linux/configure: Regenerated.
27794
6664049b
JM
27795 * manual/llio.texi (fclean): Remove documentation.
27796
bb8b6697
JM
27797 * manual/Makefile (libc-texi-generated): New variable. Include
27798 version.texi.
27799 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27800 $(libc-texi-generated), not duplicated list of files.
27801 (version.texi, stamp-version): New rules.
27802 (realclean): Remove $(libc-texi-generated), not individual files
27803 from that list. Do not remove dir-add.texinfo.
27804 * manual/libc.texinfo: Comment out uses of edition numbers and
27805 references to printed manual. Remove last-updated dates.
27806 (EDITION): Comment out.
27807 (ISBN): Likewise.
27808 (VERSION, UPDATED): Remove.
27809 (version.texi): Include.
27810
12e5c3b9
AS
278112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27812
27813 * sysdeps/posix/spawni.c: Include <signal.h>.
27814 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27815 * sysdeps/pthread/aio_fsync.c: Likewise.
27816
4efeffc1 278172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27818
ba63ba08
UD
27819 * conform/Makefile (tests): Run only when not cross-compiling and
27820 when fast-check is not defined.
27821
d94a4670
UD
27822 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27823 * conform/data/limits.h-data: Fixes for POSIX2008.
27824 * conform/run-conformtest.sh: Run all tests.
27825 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27826 headers.
27827 * include/bits/dlfcn.h: Likewise.
27828 * include/langinfo.h: Likewise.
27829 * include/monetary.h: Likewise.
27830 * include/sys/poll.h: Likewise.
27831
27832 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27833 for __USE_GNU.
27834 * posix/spawn.h: Define __need_sigset_t.
27835 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27836 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27837 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27838 to get sigevent_t only.
27839 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27840 only for __USE_GNU.
27841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27843 process_vm_writev only for __USE_GNU.
27844 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27845
27846 * conform/Makefile: For now ignore errors from run-conformtest.
27847 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27848 POSIX to avoid namespace pollution. Don't prepend headers.
27849 * conform/data/aio.h-data: Fixes for POSIX testing.
27850 * conform/data/fcntl.h-data: Likewise.
27851 * conform/data/glob.h-data: Likewise.
27852 * conform/data/grp.h-data: Likewise.
27853 * conform/data/pthread.h-data: Likewise.
27854 * conform/data/pwd.h-data: Likewise.
27855 * conform/data/signal.h-data: Likewise.
27856 * conform/data/spawn.h-data: Likewise.
27857 * conform/data/stdio.h-data: Likewise.
27858 * conform/data/stdlib.h-data: Likewise.
27859 * conform/data/stropts.h-data: Likewise.
27860 * conform/data/sys/mman.h-data: Likewise.
27861 * conform/data/sys/stat.h-data: Likewise.
27862 * conform/data/sys/types.h-data: Likewise.
27863 * conform/data/sys/wait.h-data: Likewise.
27864 * conform/data/time.h-data: Likewise.
27865 * conform/data/unistd.h-data: Likewise.
27866 * conform/data/utime.h-data: Likewise.
27867
27868 * io/sys/stat.h: fchmod was always in POSIX.
27869 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27870 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27871 * rt/aio.h: Define __need_timespec before including <time.h>.
27872 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27873 struct. Add forward declaration of pthread_attr_t and use it in
27874 sigevent.
27875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27877 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27878 always remove CLK_TCK definition.
27879
c20105c3
AS
278802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27881
27882 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27883
7a270350
UD
278842012-02-25 Ulrich Drepper <drepper@gmail.com>
27885
31341567
UD
27886 * conform/run-conformtest.sh: New file.
27887 * conform/Makefile: Run run-conformtest for tests.
27888 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27889 support.
27890
27891 * conform/data/uchar.h-data: New file.
27892 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27893 * conform/data/arpa/inet.h-data: Likewise.
27894 * conform/data/assert.h-data: Likewise.
27895 * conform/data/complex.h-data: Likewise.
27896 * conform/data/cpio.h-data: Likewise.
27897 * conform/data/ctype.h-data: Likewise.
27898 * conform/data/dirent.h-data: Likewise.
27899 * conform/data/dlfcn.h-data: Likewise.
27900 * conform/data/errno.h-data: Likewise.
27901 * conform/data/fcntl.h-data: Likewise.
27902 * conform/data/float.h-data: Likewise.
27903 * conform/data/fmtmsg.h-data: Likewise.
27904 * conform/data/fnmatch.h-data: Likewise.
27905 * conform/data/ftw.h-data: Likewise.
27906 * conform/data/glob.h-data: Likewise.
27907 * conform/data/grp.h-data: Likewise.
27908 * conform/data/iconv.h-data: Likewise.
27909 * conform/data/inttypes.h-data: Likewise.
27910 * conform/data/langinfo.h-data: Likewise.
27911 * conform/data/libgen.h-data: Likewise.
27912 * conform/data/limits.h-data: Likewise.
27913 * conform/data/locale.h-data: Likewise.
27914 * conform/data/math.h-data: Likewise.
27915 * conform/data/monetary.h-data: Likewise.
27916 * conform/data/mqueue.h-data: Likewise.
27917 * conform/data/ndbm.h-data: Likewise.
27918 * conform/data/net/if.h-data: Likewise.
27919 * conform/data/netdb.h-data: Likewise.
27920 * conform/data/netinet/in.h-data: Likewise.
27921 * conform/data/nl_types.h-data: Likewise.
27922 * conform/data/poll.h-data: Likewise.
27923 * conform/data/pthread.h-data: Likewise.
27924 * conform/data/pwd.h-data: Likewise.
27925 * conform/data/regex.h-data: Likewise.
27926 * conform/data/sched.h-data: Likewise.
27927 * conform/data/search.h-data: Likewise.
27928 * conform/data/semaphore.h-data: Likewise.
27929 * conform/data/setjmp.h-data: Likewise.
27930 * conform/data/signal.h-data: Likewise.
27931 * conform/data/spawn.h-data: Likewise.
27932 * conform/data/stdarg.h-data: Likewise.
27933 * conform/data/stdio.h-data: Likewise.
27934 * conform/data/stdlib.h-data: Likewise.
27935 * conform/data/string.h-data: Likewise.
27936 * conform/data/strings.h-data: Likewise.
27937 * conform/data/stropts.h-data: Likewise.
27938 * conform/data/sys/ipc.h-data: Likewise.
27939 * conform/data/sys/mman.h-data: Likewise.
27940 * conform/data/sys/msg.h-data: Likewise.
27941 * conform/data/sys/resource.h-data: Likewise.
27942 * conform/data/sys/select.h-data: Likewise.
27943 * conform/data/sys/sem.h-data: Likewise.
27944 * conform/data/sys/shm.h-data: Likewise.
27945 * conform/data/sys/socket.h-data: Likewise.
27946 * conform/data/sys/stat.h-data: Likewise.
27947 * conform/data/sys/statvfs.h-data: Likewise.
27948 * conform/data/sys/time.h-data: Likewise.
27949 * conform/data/sys/timeb.h-data: Likewise.
27950 * conform/data/sys/times.h-data: Likewise.
27951 * conform/data/sys/types.h-data: Likewise.
27952 * conform/data/sys/uio.h-data: Likewise.
27953 * conform/data/sys/un.h-data: Likewise.
27954 * conform/data/sys/utsname.h-data: Likewise.
27955 * conform/data/sys/wait.h-data: Likewise.
27956 * conform/data/syslog.h-data: Likewise.
27957 * conform/data/tar.h-data: Likewise.
27958 * conform/data/termios.h-data: Likewise.
27959 * conform/data/utime.h-data: Likewise.
27960 * conform/data/utmpx.h-data: Likewise.
27961 * conform/data/varargs.h-data: Likewise.
27962 * conform/data/wchar.h-data: Likewise.
27963 * conform/data/wctype.h-data: Likewise.
27964 * conform/data/wordexp.h-data: Likewise.
27965
27966 * include/stropts.h: New file.
27967 * include/uchar.h: New file.
27968 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27969 * include/assert.h: Likewise.
27970 * include/ctype.h: Likewise.
27971 * include/dirent.h: Likewise.
27972 * include/dlfcn.h: Likewise.
27973 * include/fcntl.h: Likewise.
27974 * include/fnmatch.h: Likewise.
27975 * include/glob.h: Likewise.
27976 * include/grp.h: Likewise.
27977 * include/libio.h: Likewise.
27978 * include/locale.h: Likewise.
27979 * include/math.h: Likewise.
27980 * include/net/if.h: Likewise.
27981 * include/netdb.h: Likewise.
27982 * include/netinet/in.h: Likewise.
27983 * include/pthread.h: Likewise.
27984 * include/pwd.h: Likewise.
27985 * include/regex.h: Likewise.
27986 * include/sched.h: Likewise.
27987 * include/search.h: Likewise.
27988 * include/setjmp.h: Likewise.
27989 * include/signal.h: Likewise.
27990 * include/stdio.h: Likewise.
27991 * include/stdlib.h: Likewise.
27992 * include/string.h: Likewise.
27993 * include/sys/cdefs.h: Likewise.
27994 * include/sys/mman.h: Likewise.
27995 * include/sys/msg.h: Likewise.
27996 * include/sys/resource.h: Likewise.
27997 * include/sys/select.h: Likewise.
27998 * include/sys/socket.h: Likewise.
27999 * include/sys/stat.h: Likewise.
28000 * include/sys/statvfs.h: Likewise.
28001 * include/sys/time.h: Likewise.
28002 * include/sys/times.h: Likewise.
28003 * include/sys/uio.h: Likewise.
28004 * include/sys/utsname.h: Likewise.
28005 * include/sys/wait.h: Likewise.
28006 * include/termios.h: Likewise.
28007 * include/time.h: Likewise.
28008 * include/ulimit.h: Likewise.
28009 * include/unistd.h: Likewise.
28010 * include/utime.h: Likewise.
28011 * include/wchar.h: Likewise.
28012 * include/wctype.h: Likewise.
28013 * include/wordexp.h: Likewise.
28014
28015 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28016
7a270350
UD
28017 * time/time.h: TIME_UTC must be a macro.
28018 Make timespec_get available for ISO C11 only as well.
28019
7724defc
UD
280202012-02-24 Ulrich Drepper <drepper@gmail.com>
28021
28022 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28023 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28024
6b1d1d46
JM
280252012-02-24 Joseph Myers <joseph@codesourcery.com>
28026
28027 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28028
0f8bbd69
JM
280292012-02-24 Joseph Myers <joseph@codesourcery.com>
28030
28031 * manual/texinfo.tex: Update to version 2012-01-19.16.
28032
66ab80bc
JM
280332012-02-24 Joseph Myers <joseph@codesourcery.com>
28034
28035 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28036
74981cc5
RM
280372012-02-24 Roland McGrath <roland@hack.frob.com>
28038
ee968201
RM
28039 [BZ #13738]
28040 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28041 * manual/fdl-1.3.texi: New file.
28042 * manual/fdl-1.1.texi: File removed.
28043
74981cc5
RM
28044 [BZ #13738]
28045 * manual/libc.texinfo (FDL_VERSION): New @set.
28046 Use it for mention of FDL in cover text.
28047 (Documentation License): Use it in @include file name.
28048
7bb764bc
JM
280492012-02-22 Joseph Myers <joseph@codesourcery.com>
28050 Roland McGrath <roland@hack.frob.com>
28051
28052 [BZ #5461]
28053 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28054 not LONG_LONG_MAX and LONG_LONG_MIN.
28055 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28056 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28057 name.
28058 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28059
6cbeae47
JM
280602012-02-22 Joseph Myers <joseph@codesourcery.com>
28061
28062 [BZ #2547]
28063 [BZ #11365]
28064 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28065 manipulate bits before adding and subtracting TWO23[sx].
28066 * math/libm-test.inc (nearbyint_test): Add more tests.
28067
fe45ce09
JM
280682012-02-22 Joseph Myers <joseph@codesourcery.com>
28069
28070 [BZ #2548]
28071 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28072 bits before adding and subtracting TWO23[sx].
28073 * math/libm-test.inc (rint_test): Add more tests.
28074 (rint_test_tonearest): Likewise.
28075 (rint_test_towardzero): Likewise.
28076 (rint_test_downward): Likewise.
28077 (rint_test_upward: Likewise.
28078
ff3b3d82
JM
280792012-02-22 Joseph Myers <joseph@codesourcery.com>
28080
28081 [BZ #10110]
28082 * include/stdc-predef.h: New file. Extracted from features.h.
28083 * include/features.h: Include stdc-predef.h.
28084 * Makefile (headers): Add stdc-predef.h.
28085 * CONFORMANCE (Compiler limitations): Update.
28086
ef0aab35
JM
280872012-02-22 Joseph Myers <joseph@codesourcery.com>
28088
28089 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28090
58639409
DM
280912012-02-21 David S. Miller <davem@davemloft.net>
28092
28093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28095
c0e70b25
DM
280962012-02-20 David S. Miller <davem@davemloft.net>
28097
28098 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28099 using a normal save/restore sequence, rather than allocating a
28100 dummy stack frame just to store a frame pointer and restore.
28101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28102
fb06851d
JM
281032012-02-21 Joseph Myers <joseph@codesourcery.com>
28104
28105 * manual/install.texi: Fix stray word in line-wrapped comment.
28106
7a8b71c3
DM
281072012-02-20 David S. Miller <davem@davemloft.net>
28108
d510c123
DM
28109 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28110 both binutils and gcc support GOTDATA.
28111
0722d7c2
DM
28112 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28113 "rd %pc" in the PIC register setup sequences.
28114
3d2b3019
DM
28115 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28116 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28117 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28118 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28119 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28121 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28124 (SYSCALL_ERROR_HANDLER): Likewise.
28125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28126 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28128 (SYSCALL_ERROR_HANDLER): Likewise.
28129
c80098a9
DM
28130 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28131 (HAVE_GCC_GOTDATA): New.
28132 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28133 relocation support in both binutils and gcc.
28134 * sysdeps/sparc/elf/configure: Regenerate.
28135
3a2545a0
DM
28136 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28137 * sysdeps/sparc/sparc32/elf/configure: Delete.
28138 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28139 * sysdeps/sparc/sparc64/elf/configure: Delete.
28140 * sysdeps/sparc/elf/configure.in: New file.
28141 * sysdeps/sparc/elf/configure: Generate.
28142
7a8b71c3
DM
28143 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28144 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28145 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28146 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28147 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28148
f1e86fca
JM
281492012-02-21 Joseph Myers <joseph@codesourcery.com>
28150
28151 * manual/install.texi: Do not mention specific glibc version
28152 numbers.
28153 * manual/libc.texinfo (VERSION, UPDATED): Update.
28154 (@copying): Use @copyright{} and range of years.
28155
0e7dfaef
JM
281562012-02-21 Joseph Myers <joseph@codesourcery.com>
28157
28158 [BZ #13695]
28159 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28160 [crti.S not in sysdirs] (generated): Do not append.
28161 [crti.S not in sysdirs] (omit-deps): Likewise.
28162 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28163 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28164 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28165 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28166 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28167 Likewise.
28168 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28169 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28170 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28171 * csu/defs.awk: Remove file.
28172 * sysdeps/generic/initfini.c: Likewise.
28173 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28174 variable.
28175 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28176 Likewise.
28177
599af3ca
JM
281782012-02-20 Joseph Myers <joseph@codesourcery.com>
28179
28180 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28181 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28182 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28185 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28186 <bits/epoll.h>.
28187 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28188 (__EPOLL_PACKED): Define to empty if not defined by
28189 <bits/epoll.h>.
28190 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28192 bits/epoll.h.
28193
0e499750
JM
281942012-02-20 Joseph Myers <joseph@codesourcery.com>
28195
28196 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28197 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28198 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28199 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28200 <bits/timerfd.h>.
28201 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28203 bits/timerfd.h.
28204
5ad91f6e
JM
282052012-02-20 Joseph Myers <joseph@codesourcery.com>
28206
28207 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28208 in C locale.
28209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28210 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213
06b99b02
AJ
282142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28215
28216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28217 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28218
7638c0fd
AS
282192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28220
28221 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28222 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28223 defined.
28224 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28225 Likewise.
28226 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28227 entry for 2.16.
28228
92221550
AJ
282292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28230
28231 * math/w_acos.c: Use non-signaling floating-point comparisons.
28232 * math/w_acosf.c: Likewise.
28233 * math/w_acosh.c: Likewise.
28234 * math/w_acoshf.c: Likewise.
28235 * math/w_acoshl.c: Likewise.
28236 * math/w_acosl.c: Likewise.
28237 * math/w_asin.c: Likewise.
28238 * math/w_asinf.c: Likewise.
28239 * math/w_asinl.c: Likewise.
28240 * math/w_atanh.c: Likewise.
28241 * math/w_atanhf.c: Likewise.
28242 * math/w_atanhl.c: Likewise.
28243 * math/w_exp2.c: Likewise.
28244 * math/w_exp2f.c: Likewise.
28245 * math/w_exp2l.c: Likewise.
28246 * math/w_j0.c: Likewise.
28247 * math/w_j0f.c: Likewise.
28248 * math/w_j0l.c: Likewise.
28249 * math/w_j1.c: Likewise.
28250 * math/w_j1f.c: Likewise.
28251 * math/w_j1l.c: Likewise.
28252 * math/w_jn.c: Likewise.
28253 * math/w_jnf.c: Likewise.
28254 * math/w_log.c: Likewise.
28255 * math/w_log10.c: Likewise.
28256 * math/w_log10f.c: Likewise.
28257 * math/w_log10l.c: Likewise.
28258 * math/w_log2.c: Likewise.
28259 * math/w_log2f.c: Likewise.
28260 * math/w_log2l.c: Likewise.
28261 * math/w_logf.c: Likewise.
28262 * math/w_logl.c: Likewise.
28263 * math/w_sqrt.c: Likewise.
28264 * math/w_sqrtf.c: Likewise.
28265 * math/w_sqrtl.c: Likewise.
28266 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28267 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28269 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28270 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28271
ebaf36eb
JM
282722012-02-19 Joseph Myers <joseph@codesourcery.com>
28273
28274 [BZ #9739]
28275 * manual/string.texi (strnlen): Use correct parameter name in
28276 equivalent expression.
28277
71c254a6
JM
282782012-02-19 Joseph Myers <joseph@codesourcery.com>
28279
28280 [BZ #11174]
28281 * manual/users.texi (seteuid): Consistently use neweuid for
28282 argument name.
28283
16d2c631
JM
282842012-02-19 Joseph Myers <joseph@codesourcery.com>
28285
28286 [BZ #13704]
28287 * manual/nss.texi (Services in the NSS configuration): Correct
28288 list of services in example configuration file.
28289
cd837b09
NB
282902012-02-19 Nick Bowler <nbowler@draconx.ca>
28291
28292 [BZ #11322]
28293 * manual/arith.texi: Remove statements about negative zero
28294 behaving identically to zero.
28295
02c4bbad
JM
282962012-02-18 Joseph Myers <joseph@codesourcery.com>
28297
28298 [BZ #5993]
28299 * manual/install.texi: Do not document upgrading from libc5.
28300
366842e7
JM
283012012-02-18 Joseph Myers <joseph@codesourcery.com>
28302
28303 [BZ #4596]
28304 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28305
dd54084d
DM
283062012-02-18 David S. Miller <davem@davemloft.net>
28307
28308 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28309 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28310 %o7 across the call.
28311 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28312 instead.
28313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28314 SETUP_PIC_REG_LEAF.
28315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28316 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28317 * sysdeps/sparc/crtn.S: Likewise.
28318
2bcc53a3
UD
283192012-02-17 Ulrich Drepper <drepper@gmail.com>
28320
28321 * aout/Makefile: Remove.
28322
09c093b5
RK
283232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28324
28325 [BZ #13058]
28326 * manual/examples/argp-ex1.c (main): Format definition in GNU
28327 style.
28328 * manual/examples/argp-ex2.c (main): Likewise.
28329 * manual/examples/argp-ex3.c (main): Likewise.
28330 * manual/examples/argp-ex4.c (main): Likewise.
28331 * manual/examples/longopt.c (main): Use new-style prototype
28332 definition.
28333 * manual/examples/strncat.c (main): Specify return type and use
28334 (void) for arguments.
28335 * manual/examples/subopt.c (main): Use char **argv argument.
28336
2ee633a2
JM
283372012-02-17 Joseph Myers <joseph@codesourcery.com>
28338
28339 [BZ #5077]
28340 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28341 rounding modes.
28342
0520adde
FB
283432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28344
28345 [BZ #6907]
28346 * manual/string.texi (strchr): Change when strchrnul is
28347 recommended.
28348
3f4081cd
DGM
283492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28350
28351 [BZ #174]
28352 * manual/locale.texi (setlocale): Document LOCPATH.
28353
d1b10e78
JM
283542012-02-17 Joseph Myers <joseph@codesourcery.com>
28355
28356 [BZ #10210]
28357 * manual/process.texi (execle): Move @dots{} before last argument.
28358
79c6869c
PB
283592012-02-17 Paul Bolle <pebolle@tiscali.nl>
28360
28361 [BZ #12047]
28362 * manual/charset.texi (Generic Charset Conversion): Fix typo
28363 (LC_TYPE -> LC_CTYPE).
28364
cc6e48bc
NB
283652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28366
28367 [BZ #5805]
28368 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28369 (scalbnf): Likewise.
28370 (scalbnl): Likewise.
28371 (scalbln): Likewise.
28372 (scalblnf): Likewise.
28373 (scalblnl): Likewise.
28374 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28375 (vwarnx): Likewise.
28376 (verr): Likewise.
28377 (verrx): Likewise.
28378 * manual/filesys.texi (telldir): Use braces around return type.
28379 * manual/llio.texi (mmap): Add space after comma.
28380 (mmap64): Likewise.
28381 * manual/math.texi (jn): Use @var{} on parameter names.
28382 (jnf): Likewise.
28383 (jnl): Likewise.
28384 (yn): Likewise.
28385 (ynf): Likewise.
28386 (ynl): Likewise.
28387 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28388 line.
28389 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28390 "...".
28391 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28392 (sched_get_priority_max): Likewise.
28393 * manual/signal.texi (sigvec): Add space after comma.
28394 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28395 names.
28396 (if_indextoname): Likewise.
28397 (if_freenameindex): Likewise.
28398 (sendto): Use ',' instead of '.' in prototype.
28399 * manual/startup.texi (syscall): Use @dots{} instead of literal
28400 "...".
28401 * manual/stdio.texi (__fpending): Separate initial words of
28402 paragraph from @deftypefun line.
28403 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28404 "...".
28405 (vsyslog): Use @var{} on parameter names.
28406 * manual/terminal.texi (stty): Use @var{} on parameter names.
28407 * manual/users.texi (getutmp): Use @var{} on parameter names.
28408 (getutmpx): Likewise.
28409
5b23062f
JM
284102012-02-17 Joseph Myers <joseph@codesourcery.com>
28411
28412 [BZ #6884]
28413 * manual/stdio.texi (fopen): Fix typos in description of
28414 ",ccs=STRING".
28415
8dee4833
AJ
284162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28417
28418 [BZ #4026]
28419 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28420 get clock_id definition.
28421
9078ce93
TS
284222012-02-17 Thomas Schwinge <thomas@schwinge.name>
28423
28424 [BZ #4822]
28425 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28426 (madvise): Cast every argument to void on its own.
28427
3835c55f
JM
284282012-02-17 Joseph Myers <joseph@codesourcery.com>
28429
28430 [BZ #9902]
28431 * manual/startup.texi (Exit Status): Fix typo.
28432
35c47e37
JM
284332012-02-17 Joseph Myers <joseph@codesourcery.com>
28434
28435 [BZ #10140]
28436 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28437 * manual/examples/argp-ex2.c: Likewise.
28438 * manual/examples/argp-ex3.c: Likewise.
28439
e3b69ca7
RH
284402012-02-16 Richard Henderson <rth@redhat.com>
28441
28442 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28443 * sysdeps/s390/s390-32/initfini.c: Remove.
28444 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28445 * sysdeps/s390/s390-64/initfini.c: Remove.
28446
df83af67
KK
284472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28448
28449 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28450 compiler output for sysdeps/generic/initfini.c.
28451 * sysdeps/sh/elf/initfini.c: Remove file.
28452
f63f3380
DM
284532012-02-16 David S. Miller <davem@davemloft.net>
28454
fb59b3a4
DM
28455 [BZ #11494]
28456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28457
f63f3380
DM
28458 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28459 * sysdeps/sparc/crti.S: New file.
28460 * sysdeps/sparc/crtn.S: New file.
28461 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28462 * sysdeps/sparc/sparc64/Makefile: Likewise.
28463
df6a4a4a
MF
284642012-02-15 Mike Frysinger <vapier@gentoo.org>
28465
6dd8f3dc 28466 [BZ #3335]
df6a4a4a
MF
28467 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28468
1cac7236
RM
284692012-02-15 Roland McGrath <roland@hack.frob.com>
28470
d2c736f8
RM
28471 [BZ #4822]
28472 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28473
1cac7236
RM
28474 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28475 (write, read, close): Likewise.
28476 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28477
8e475601
JM
284782012-02-15 Joseph Myers <joseph@codesourcery.com>
28479
28480 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28481 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28482 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28483 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28484 <bits/signalfd.h>.
28485 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28487 bits/signalfd.h.
28488
ed656b40
MP
284892012-02-14 Marek Polacek <polacek@redhat.com>
28490
28491 * sysdeps/x86_64/crti.S: New file.
28492 * sysdeps/x86_64/crtn.S: New file.
28493 * sysdeps/x86_64/elf/initfini.c: Remove file.
28494
2a979d3a
JM
284952012-02-13 Joseph Myers <joseph@codesourcery.com>
28496
28497 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28498 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28499 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28500 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28501 <bits/inotify.h>.
28502 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28504 bits/inotify.h.
28505
2a418ac3
JM
285062012-02-13 Joseph Myers <joseph@codesourcery.com>
28507
28508 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28509 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28510 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28511 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28512 <bits/eventfd.h>.
28513 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28515 bits/eventfd.h.
28516
fb779be7
TS
285172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28518
e19e83c5
RM
28519 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28520 __feraiseexcept instead of feraiseexcept.
7c35ffed 28521
fb779be7
TS
28522 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28523 nanosleep invocations.
28524 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28525 strings, and add error checking for a nanosleep invocations.
28526
59ba27a6
PE
285272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28528
28529 Replace FSF snail mail address with URLs, as per GNU coding standards.
28530 Most of the snail mail addresses were wrong anyway, and omitting
28531 them makes the source code easier to maintain. Almost all of the
28532 changes are to license notices and to locale LC_IDENTIFICATION
28533 addresses, except for this one:
28534 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28535 not its snail mail address.
28536
57b957eb
RH
285372012-02-09 Richard Henderson <rth@twiddle.net>
28538
af850b1c
RH
28539 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28540 of kernel-features.h.
28541
57b957eb
RH
28542 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28543
6b73181a
MP
285442012-02-08 Marek Polacek <polacek@redhat.com>
28545
28546 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28547 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28548 * sysdeps/gnu/_G_config.h: Likewise.
28549 * sysdeps/generic/_G_config.h: Likewise.
28550
26ecc33a
AS
285512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28552
6c6dbc63
AS
28553 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28554 tests.
28555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28556
e216c012
AS
28557 * sysdeps/powerpc/powerpc32/crti.S: New file.
28558 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28559 * sysdeps/powerpc/powerpc64/crti.S: New file.
28560 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28561
26ecc33a
AS
28562 * Makeconfig (have-initfini): Don't set.
28563 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28564 * configure.in (nopic_initfini): Don't substitute.
28565 * config.h.in (HAVE_INITFINI): Don't #undef.
28566 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28567 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28568
3add8e13
JM
285692012-02-08 Joseph Myers <joseph@codesourcery.com>
28570
28571 Support crti.S and crtn.S provided directly by architectures.
28572 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28573 [crti.S in sysdirs] (omit-deps): Likewise.
28574 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28575 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28576 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28577 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28578 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28579 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28580 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28581 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28582 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28583 compiler output for sysdeps/generic/initfini.c.
28584 * sysdeps/i386/elf/Makefile: Remove file.
28585 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28586
a22f12b4
MP
285872012-02-07 Marek Polacek <polacek@redhat.com>
28588
28589 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28590 * sysdeps/gnu/_G_config.h: Likewise.
28591 * sysdeps/mach/hurd/_G_config.h: Likewise.
28592
148cf100
MP
285932012-02-07 Marek Polacek <polacek@redhat.com>
28594
28595 * math/Makefile (tests): Add tst-CMPLX2.
28596 * math/tst-CMPLX2.c: New file.
28597
cfdc0dd7
AS
285982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28599
84ba42c4
AS
28600 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28601
cfdc0dd7
AS
28602 * math/libm-test.inc (jn_test): Add missing L suffix.
28603
622c86f4
MP
286042012-02-06 Marek Polacek <polacek@redhat.com>
28605
28606 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28607 * sysdeps/i386/fpu/e_powf.S: Likewise.
28608 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28609 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28611 * sysdeps/i386/fpu/e_pow.S: Likewise.
28612 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28613 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28614 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28615 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28616 * sysdeps/i386/fpu/e_log2.S: Likewise.
28617 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28618 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28619 * sysdeps/i386/fpu/e_powl.S: Likewise.
28620 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28621 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28622 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28623 * sysdeps/i386/fpu/e_logl.S: Likewise.
28624 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28625 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28626 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28627 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28628 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28629 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28630 * sysdeps/i386/fpu/e_log.S: Likewise.
28631 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28633 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28634 * sysdeps/i386/fpu/e_logf.S: Likewise.
28635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28637 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28638 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28639 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28640 * sysdeps/i386/fpu/e_log10.S: Likewise.
28641 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28642 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28643 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28644 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28645 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28646 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28647 * sysdeps/i386/asm-syntax.h: Likewise.
28648 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28651 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28652 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28654 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28655 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28656 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28657 * sysdeps/powerpc/sysdep.h: Likewise.
28658 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28659 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28660
d4a54ac6
JM
286612012-02-06 Joseph Myers <joseph@codesourcery.com>
28662
28663 [BZ #411]
28664 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28665
314054ea
JM
286662012-02-06 Joseph Myers <joseph@codesourcery.com>
28667
28668 * sysdeps/i386/sysdep.h: Include <features.h>.
28669 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28670 version.
28671
d8e0ca50
JM
286722012-02-05 Joseph Myers <joseph@codesourcery.com>
28673
28674 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28675 Define.
28676 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28677 LOAD_PIC_REG_STR.
28678
b1da7dd9
JM
286792012-02-03 Joseph Myers <joseph@codesourcery.com>
28680
28681 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28682 (SETUP_PIC_REG): Use GET_PC_THUNK.
28683 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28684 macro.
28685
9a1d9254
JM
286862012-02-03 Joseph Myers <joseph@codesourcery.com>
28687
28688 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28689 for non-PIC compilation.
28690 (SETUP_PIC_REG): Add .p2align directive.
28691 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28692 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28693 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28694 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28696 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28697 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28698 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28699 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28700 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28701 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28702 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28703 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28704 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28705 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28706 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28707 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28708 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28709 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28710 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28711 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28713 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28714 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28715 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28717 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28718 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28719 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28720 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28721 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28723 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28724 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28725 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28726 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28727 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28728 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28729 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28730 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28731 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28732
65dc3b75
JM
287332012-02-03 Joseph Myers <joseph@codesourcery.com>
28734
28735 * math/tst-CMPLX.c: Include <stdio.h>.
28736
d55bf177
JM
287372012-01-31 Joseph Myers <joseph@codesourcery.com>
28738
28739 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28740 float.
28741 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28742 * sysdeps/sparc/bits/mathdef.h: Likewise.
28743
69db4f8f
MP
287442012-01-31 Marek Polacek <polacek@redhat.com>
28745
28746 * libio/libio.h: Don't define _PARAMS.
28747 * locale/programs/config.h: Don't define PARAMS.
28748 * stdlib/strtol_l.c: Likewise.
28749 (__strtol_l): Remove PARAMS from the prototype.
28750
41b81892
UD
287512012-01-31 Ulrich Drepper <drepper@gmail.com>
28752
3b49edc0
UD
28753 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28754 names. Just use the correct names. Remove unnecessary wrapper
28755 functions.
28756 * malloc/arena.c: Likewise.
28757 * malloc/hooks.c: Likewise.
28758
41b81892
UD
28759 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28760 ARENA_TEST says not to. Simplify test for creation of a new arena.
28761 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28762
27a25b6e
UD
287632012-01-30 Ulrich Drepper <drepper@gmail.com>
28764
28765 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28766 into tail calls.
28767 (update_get_addr): New function.
28768 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28769 GET_ADDR_MODULE parameter.
28770
c8a89e7d
JM
287712012-01-30 Joseph Myers <joseph@codesourcery.com>
28772
28773 * crypt/cert.c: Remove __STDC__ conditionals.
28774 * crypt/crypt-entry.c: Likewise.
28775 * crypt/crypt_util.c: Likewise.
28776 * libio/filedoalloc.c: Likewise.
28777 * libio/fileops.c: Likewise.
28778 * libio/genops.c: Likewise.
28779 * libio/iofclose.c: Likewise.
28780 * libio/iofdopen.c: Likewise.
28781 * libio/iofopen.c: Likewise.
28782 * libio/iofopen64.c: Likewise.
28783 * libio/iogetdelim.c: Likewise.
28784 * libio/iopopen.c: Likewise.
28785 * libio/obprintf.c: Likewise.
28786 * libio/oldfileops.c: Likewise.
28787 * libio/oldiofclose.c: Likewise.
28788 * libio/oldiofdopen.c: Likewise.
28789 * libio/oldiofopen.c: Likewise.
28790 * libio/oldiopopen.c: Likewise.
28791 * libio/wfiledoalloc.c: Likewise.
28792 * libio/wgenops.c: Likewise.
28793 * locale/programs/xmalloc.c: Likewise.
28794 * misc/syslog.c: Likewise.
28795 * stdio-common/xbug.c: Likewise.
28796 * string/memchr.c: Likewise.
28797 * string/memcmp.c: Likewise.
28798 * string/memrchr.c: Likewise.
28799 * string/rawmemchr.c: Likewise.
28800 * sysdeps/posix/getcwd.c: Likewise.
28801 * time/strftime_l.c: Likewise.
28802
3b100462
JM
288032012-01-30 Joseph Myers <joseph@codesourcery.com>
28804
28805 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28806 * config.make.in (config-cflags-sse2avx): Define.
28807 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28808 Fix typo.
28809
607998af
CM
288102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28811
28812 * scripts/config.guess: Update from upstream config git repository.
28813 * scripts/config.sub: Likewise.
28814
3601428f
CM
288152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28816
3ac8b282
CM
28817 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28818 (EM_NUM): Update.
28819 (R_TILEPRO_*, R_TILEGX_*): New macros.
28820
e034841e
CM
28821 * scripts/firstversions.awk: Fix bug in version range handling.
28822
540d7568
CM
28823 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28824
3601428f
CM
28825 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28826
463de862
CM
28827 * include/sys/epoll.h: New file.
28828 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28829 libc_hidden_def.
28830
73139a76
UD
288312012-01-28 Ulrich Drepper <drepper@gmail.com>
28832
96bc5b45
UD
28833 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28834 Avoid unnecessary __WORDSIZE == 64 test.
28835 (fmaxf): Use VEX format if possible.
28836 (fmax): Likewise.
28837 (fminf): Likewise.
28838 (fmin): Likewise.
28839
56f6f6a2
UD
28840 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28841 * math/math_private.h: Remove libc_fegetround* and
28842 libc_fesetround*.
28843 * sysdeps/i386/configure.in: Check for -msse2avx.
28844 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28845 also if SSE2AVX is defined.
28846 Remove libc_fegetround* and libc_fesetround*.
28847 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28848 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28850 of HAS_YMM_USABLE.
28851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28856
73139a76
UD
28857 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28858
d73f93a4
AZ
288592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28860
28861 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28862 size is not set.
28863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28864
6ee65ed6
UD
288652012-01-27 Ulrich Drepper <drepper@gmail.com>
28866
28867 [BZ #13618]
28868 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28869 relocation.
28870 * Makeconfig (libm): Define.
28871 * elf/Makefile: Add rules to build and run tst-relsort1.
28872 * elf/tst-relsort1.c: New file.
28873 * elf/tst-relsort1mod1.c: New file.
28874 * elf/tst-relsort1mod2.c: New file.
28875
8db21882
JM
288762012-01-27 Joseph Myers <joseph@codesourcery.com>
28877
28878 * math/s_ldexp.c: Remove __STDC__ conditionals.
28879 * math/s_ldexpf.c: Likewise.
28880 * math/s_ldexpl.c: Likewise.
28881 * math/s_nextafter.c: Likewise.
28882 * math/s_nexttowardf.c: Likewise.
28883 * math/s_significand.c: Likewise.
28884 * math/s_significandf.c: Likewise.
28885 * math/s_significandl.c: Likewise.
28886 * math/w_jnl.c: Likewise.
28887 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28888 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28889 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28890 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28891 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28893 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28899 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28900 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28902 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28903 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28906 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28907 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28909 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28911 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28912 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28913 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28914 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28916 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28917 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28918 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28919 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28921 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28922 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28924 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28927 * sysdeps/ieee754/k_standard.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28994 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29002 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29007 * sysdeps/ieee754/s_matherr.c: Likewise.
29008 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29009 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29012
965a54a4
JM
290132012-01-26 Joseph Myers <joseph@codesourcery.com>
29014
29015 * crypt/md5.h: Remove __STDC__ conditionals.
29016 * libio/libioP.h: Likewise.
29017 * locale/programs/config.h: Likewise.
29018 * sysdeps/generic/sysdep.h: Likewise.
29019 * sysdeps/i386/asm-syntax.h: Likewise.
29020 * sysdeps/s390/asm-syntax.h: Likewise.
29021 * sysdeps/unix/sysdep.h: Likewise.
29022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29024
7071ad79
JM
290252012-01-26 Joseph Myers <joseph@codesourcery.com>
29026
29027 * libio/libio.h: Remove __STDC__ conditionals.
29028 * malloc/obstack.h: Likewise.
29029 * math/complex.h: Likewise.
29030 * math/math.h: Likewise.
29031 * sysdeps/generic/_G_config.h: Likewise.
29032 * sysdeps/gnu/_G_config.h: Likewise.
29033 * sysdeps/mach/hurd/_G_config.h: Likewise.
29034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29036 * sysdeps/sparc/bits/mathdef.h: Likewise.
29037
afc5ed09
UD
290382012-01-26 Ulrich Drepper <drepper@gmail.com>
29039
29040 [BZ #13583]
29041 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29042 Clean up HAS_* macros.
afc5ed09 29043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29044 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29045 possible.
29046 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29047 HAS_AVX.
29048 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29049 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29053
bdb6de1d
JM
290542012-01-25 Joseph Myers <joseph@codesourcery.com>
29055
29056 * elf/tst-unique3.cc (gets): Remove declaration.
29057 * elf/tst-unique3lib.cc (gets): Likewise.
29058 * elf/tst-unique3lib2.cc (gets): Likewise.
29059 * elf/tst-unique4.cc (gets): Likewise.
29060
b15549e6
UD
290612012-01-24 Ulrich Drepper <drepper@gmail.com>
29062
29063 * include/stdio.h: Add C++ protection. Add gets declarations and
29064 definitions.
29065 * debug/tst-chk1.c: Don't declare gets here.
29066 * stdio-common/tst-gets.c: Likewise.
29067
a037381f
JM
290682012-01-24 Joseph Myers <joseph@codesourcery.com>
29069
29070 * posix/glob: Remove directory.
29071
f1d4aa75
JM
290722012-01-24 Joseph Myers <joseph@codesourcery.com>
29073
29074 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29075
81c0c964
PT
290762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29077
29078 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29079 of the non-standard EPFNOSUPPORT.
29080
0ea698ae
ST
290812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29082
29083 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29084 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29085 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29086
d220b117
UD
290872012-01-21 Ulrich Drepper <drepper@gmail.com>
29088
29089 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29090
3e1aa84e
UD
290912012-01-20 Ulrich Drepper <drepper@gmail.com>
29092
29093 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29094 transient errors.
29095 * nscd/grpcache.c (cache_addgr): Likewise.
29096 * nscd/hstcache.c (cache_addhst): Likewise.
29097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29098 * nscd/pwdcache.c (cache_addpw): Likewise.
29099 * nscd/servicescache.c (cache_addserv): Likewise.
29100
400aa020
UD
291012012-01-16 Ulrich Drepper <drepper@gmail.com>
29102
d77e7869
UD
29103 * malloc/malloc.c: Various cleanups.
29104 * malloc/hooks.c: Likewise.
29105
400aa020
UD
29106 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29107 * stdlib/bug-fmtmsg1.c: New file.
29108
29109 * stdlib/fmtmsg.c (init): Add missing unlock.
29110 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29111
e0a309cf
MP
291122012-01-12 Marek Polacek <polacek@redhat.com>
29113
29114 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29115 and _GNU_SOURCE.
29116
929d11c7
WS
291172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29118
29119 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29120 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29121 macro to ensure uniqueness of label name.
29122 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29123 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29124
41d0e869
UD
291252012-01-11 Ulrich Drepper <drepper@gmail.com>
29126
0cc5ed3b
UD
29127 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29128
41d0e869
UD
29129 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29130 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29133
a47a831a
UD
291342012-01-10 Ulrich Drepper <drepper@gmail.com>
29135
daa891c0
UD
29136 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29137
29138 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29139 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29140 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29141
e58ef0f2
UD
29142 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29143
a47a831a 29144 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29148
29149 * math/bits/math-finite.h: Add ldexp support.
29150
a0bfc9c7
MP
291512012-01-10 Marek Polacek <polacek@redhat.com>
29152
29153 * locale/programs/localedef.h (show_archive_content): Add noreturn
29154 attribute.
29155
d6e97a1d
UD
291562012-01-09 Ulrich Drepper <drepper@gmail.com>
29157
29158 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29159
d5835c26
UD
291602012-01-08 Ulrich Drepper <drepper@gmail.com>
29161
e5f484c6
UD
29162 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29163
d5835c26
UD
29164 * io/Makefile (headers): Add bits/poll2.h.
29165
d1f741e9
WS
291662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29167
29168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29169 typo #include statement.
29170
ec09c1c4
UD
291712012-01-08 Ulrich Drepper <drepper@gmail.com>
29172
29173 * include/sys/cdefs.h: Define __attribute_alloc_size.
29174 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29175 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29176 * elf/pldd.c: Likewise.
29177 * iconv/iconv_charmap.c: Likewise.
29178 * iconv/iconvconfig.c: Likewise.
29179 * iconv/strtab.c: Likewise.
29180 * locale/programs/locale.c: Likewise.
29181 * locale/programs/localedef.h: Likewise.
29182 * locale/programs/simple-hash.c: Likewise.
29183 * nscd/nscd.h: Likewise.
29184 * nss/makedb.c: Likewise.
29185 * sysdeps/generic/ldconfig.h: Likewise.
29186 * locale/programs/localedef.c: Remove xmalloc prototype.
29187 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29188
20b38e03
PP
291892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29190
29191 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29192 appropriate.
29193
a0da5fe1
UD
291942012-01-08 Ulrich Drepper <drepper@gmail.com>
29195
1d5a644a 29196 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29197 * math/tst-CMPLX.c: New file.
1d5a644a 29198
8784a6db
UD
29199 * math/complex.h (CMPLXL): Fix typo.
29200
d9a216c0
UD
29201 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29202 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29203 GLIBC_2.16.
29204 * debug/tst-chk1.c: Add poll and ppoll tests.
29205 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29206 * include/sys/poll.h: Add hidden proto for ppoll.
29207 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29208 * sysdeps/mach/hurd/ppoll.c: Likewise.
29209 * io/ppoll.c: Likewise.
29210 * debug/poll_chk.c: New file.
29211 * debug/ppoll_chk.c: New file.
29212 * include/bits/poll2.h: New file.
29213 * io/bits/poll2.h: New file.
29214
ac097f5c
UD
29215 [BZ #1350]
29216 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29217
2119dcfa
UD
29218 * configure.in: static is always set to yes. Remove.
29219 * config.make.in: Don't set build-static.
29220 * Makeconfig: Remove use of build-static.
29221 * dlfcn/Makefile: Likewise.
29222 * elf/Makefile: Likewise.
29223 * math/Makefile: Likewise.
29224 * misc/Makefile: Likewise.
29225 * nptl/Makefile: Likewise.
29226 * sysdeps/mach/hurd/Makefile: Likewise.
29227
121766a9
UD
29228 * configure.in: PWD_P is not used anymore.
29229 * config.make.in: Remove PWD_P entry.
29230
51a1d39c 29231 * configure.in: Remove last remnants of RANLIB.
8720d066 29232 No need to check for signed size_t anymore.
215f4bdc
UD
29233 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29234 and IA-64.
3857022a 29235 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29236 * aclocal.m4: Likewise.
29237
d3ed7225
UD
29238 * wcsmbs/mbrtoc16.c: Implement using towc function.
29239 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29240 * wcsmbs/wcsmbsload.c: Likewise.
29241 * iconv/gconv_simple.c: Likewise.
29242 * iconv/gconv_int.h: Likewise.
29243 * iconv/gconv_builtin.h: Likewise.
29244 * iconv/iconv_prog.c: Remove CHAR16 handling.
29245
29246 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29247
29248 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29249
a0da5fe1
UD
29250 * configure.in: Remove --with-elf and --enable-bounded options.
29251 Dont set base_machine for ia64. More non-ELF conditions removed.
29252 Remove testing and setting of leading underscore information.
29253 * config.make.in (build-bounded): Set to no.
29254 * config.h.in: Remove NO_UNDERSCORES entry.
29255 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29256 them.
29257 * csu/start.c: Remove !NO_UNDERSCORE code.
29258 * locale/localeinfo.h: Likewise.
29259 * sysdeps/generic/machine-gmon.h: Likewise.
29260 * sysdeps/generic/sysdep.h: Likewise.
29261 * sysdeps/i386/sysdep.h: Likewise.
29262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29263 * sysdeps/mach/sysdep.h: Likewise.
29264 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29265 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29266 * sysdeps/sh/sysdep.h: Likewise.
29267 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29268 * sysdeps/unix/i386/sysdep.S: Likewise.
29269 * sysdeps/unix/sparc/start.c: Likewise.
29270 * sysdeps/unix/sparc/sysdep.S: Likewise.
29271 * sysdeps/unix/sparc/sysdep.h: Likewise.
29272 * sysdeps/unix/start.c: Likewise.
29273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29274 * sysdeps/x86_64/sysdep.h: Likewise.
29275
df78418a
UD
292762012-01-07 Ulrich Drepper <drepper@gmail.com>
29277
a784e502
UD
29278 [BZ #13553]
29279 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29280 for non-gcc.
29281 * argp/argp-fmtstream.h: Use const instead __const.
29282 * argp/argp.h: Likewise.
29283 * assert/assert.h: Likewise.
29284 * bits/fenv.h: Likewise.
29285 * bits/sched.h: Likewise.
29286 * bits/sigset.h: Likewise.
29287 * bits/sigthread.h: Likewise.
29288 * catgets/nl_types.h: Likewise.
29289 * conform/data/pthread.h-data: Likewise.
29290 * crypt/crypt-private.h: Likewise.
29291 * crypt/crypt.h: Likewise.
29292 * crypt/crypt_util.c: Likewise.
29293 * ctype/ctype.h: Likewise.
29294 * debug/execinfo.h: Likewise.
29295 * debug/mbsnrtowcs_chk.c: Likewise.
29296 * debug/mbsrtowcs_chk.c: Likewise.
29297 * debug/wcsnrtombs_chk.c: Likewise.
29298 * debug/wcsrtombs_chk.c: Likewise.
29299 * debug/wcstombs_chk.c: Likewise.
29300 * dirent/dirent.h: Likewise.
29301 * dlfcn/dlfcn.h: Likewise.
29302 * elf/neededtest4.c: Likewise.
29303 * grp/grp.h: Likewise.
29304 * gshadow/gshadow.h: Likewise.
29305 * iconv/gconv.h: Likewise.
29306 * iconv/gconv_int.h: Likewise.
29307 * iconv/gconv_simple.c: Likewise.
29308 * iconv/iconv.h: Likewise.
29309 * iconv/loop.c: Likewise.
29310 * iconv/skeleton.c: Likewise.
29311 * include/aio.h: Likewise.
29312 * include/aliases.h: Likewise.
29313 * include/argz.h: Likewise.
29314 * include/arpa/inet.h: Likewise.
29315 * include/assert.h: Likewise.
29316 * include/dirent.h: Likewise.
29317 * include/dlfcn.h: Likewise.
29318 * include/execinfo.h: Likewise.
29319 * include/fcntl.h: Likewise.
29320 * include/fenv.h: Likewise.
29321 * include/glob.h: Likewise.
29322 * include/grp.h: Likewise.
29323 * include/libintl.h: Likewise.
29324 * include/mntent.h: Likewise.
29325 * include/netdb.h: Likewise.
29326 * include/pwd.h: Likewise.
29327 * include/rpc/netdb.h: Likewise.
29328 * include/sched.h: Likewise.
29329 * include/search.h: Likewise.
29330 * include/shadow.h: Likewise.
29331 * include/signal.h: Likewise.
29332 * include/stdio.h: Likewise.
29333 * include/stdlib.h: Likewise.
29334 * include/string.h: Likewise.
29335 * include/sys/socket.h: Likewise.
29336 * include/sys/stat.h: Likewise.
29337 * include/sys/statfs.h: Likewise.
29338 * include/sys/statvfs.h: Likewise.
29339 * include/sys/syslog.h: Likewise.
29340 * include/sys/time.h: Likewise.
29341 * include/sys/uio.h: Likewise.
29342 * include/time.h: Likewise.
29343 * include/unistd.h: Likewise.
29344 * include/utmp.h: Likewise.
29345 * include/wchar.h: Likewise.
29346 * include/wctype.h: Likewise.
29347 * inet/aliases.h: Likewise.
29348 * inet/arpa/inet.h: Likewise.
29349 * inet/netinet/ether.h: Likewise.
29350 * inet/netinet/in.h: Likewise.
29351 * intl/libintl.h: Likewise.
29352 * io/bits/fcntl2.h: Likewise.
29353 * io/fcntl.h: Likewise.
29354 * io/ftw.h: Likewise.
29355 * io/sys/poll.h: Likewise.
29356 * io/sys/stat.h: Likewise.
29357 * io/sys/statfs.h: Likewise.
29358 * io/sys/statvfs.h: Likewise.
29359 * io/utime.h: Likewise.
29360 * libio/bits/stdio.h: Likewise.
29361 * libio/bits/stdio2.h: Likewise.
29362 * libio/libio.h: Likewise.
29363 * libio/libioP.h: Likewise.
29364 * libio/stdio.h: Likewise.
29365 * locale/lc-ctype.c: Likewise.
29366 * locale/locale.h: Likewise.
29367 * login/utmp.h: Likewise.
29368 * malloc/arena.c: Likewise.
29369 * malloc/malloc.c: Likewise.
29370 * malloc/malloc.h: Likewise.
29371 * malloc/mcheck.c: Likewise.
29372 * malloc/mtrace.c: Likewise.
29373 * math/bits/mathcalls.h: Likewise.
29374 * math/fenv.h: Likewise.
29375 * math/math_private.h: Likewise.
29376 * misc/bits/error.h: Likewise.
29377 * misc/bits/syslog.h: Likewise.
29378 * misc/err.h: Likewise.
29379 * misc/error.h: Likewise.
29380 * misc/fstab.h: Likewise.
29381 * misc/mntent.h: Likewise.
29382 * misc/regexp.h: Likewise.
29383 * misc/search.h: Likewise.
29384 * misc/sgtty.h: Likewise.
29385 * misc/sys/mman.h: Likewise.
29386 * misc/sys/syslog.h: Likewise.
29387 * misc/sys/uio.h: Likewise.
29388 * misc/sys/xattr.h: Likewise.
29389 * misc/ttyent.h: Likewise.
29390 * nis/rpcsvc/ypclnt.h: Likewise.
29391 * nss/nss.h: Likewise.
29392 * posix/bits/unistd.h: Likewise.
29393 * posix/fnmatch.h: Likewise.
29394 * posix/glob.h: Likewise.
29395 * posix/sched.h: Likewise.
29396 * posix/spawn.h: Likewise.
29397 * posix/sys/wait.h: Likewise.
29398 * posix/unistd.h: Likewise.
29399 * posix/wordexp.h: Likewise.
29400 * pwd/pwd.h: Likewise.
29401 * resolv/netdb.h: Likewise.
29402 * resource/sys/resource.h: Likewise.
29403 * rt/aio.h: Likewise.
29404 * rt/bits/mqueue2.h: Likewise.
29405 * rt/mqueue.h: Likewise.
29406 * shadow/shadow.h: Likewise.
29407 * signal/signal.h: Likewise.
29408 * socket/send.c: Likewise.
29409 * socket/sendto.c: Likewise.
29410 * socket/sys/socket.h: Likewise.
29411 * stdio-common/printf.h: Likewise.
29412 * stdlib/bits/stdlib.h: Likewise.
29413 * stdlib/fmtmsg.h: Likewise.
29414 * stdlib/monetary.h: Likewise.
29415 * stdlib/stdlib.h: Likewise.
29416 * stdlib/ucontext.h: Likewise.
29417 * streams/stropts.h: Likewise.
29418 * string/argz.h: Likewise.
29419 * string/bits/string2.h: Likewise.
29420 * string/string.h: Likewise.
29421 * string/strings.h: Likewise.
29422 * sunrpc/rpc/auth.h: Likewise.
29423 * sunrpc/rpc/auth_des.h: Likewise.
29424 * sunrpc/rpc/clnt.h: Likewise.
29425 * sunrpc/rpc/netdb.h: Likewise.
29426 * sunrpc/rpc/pmap_clnt.h: Likewise.
29427 * sunrpc/rpc/xdr.h: Likewise.
29428 * sysdeps/generic/inttypes.h: Likewise.
29429 * sysdeps/generic/net/if.h: Likewise.
29430 * sysdeps/generic/sys/swap.h: Likewise.
29431 * sysdeps/gnu/net/if.h: Likewise.
29432 * sysdeps/gnu/utmpx.h: Likewise.
29433 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29434 * sysdeps/i386/i486/bits/string.h: Likewise.
29435 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29436 * sysdeps/s390/bits/string.h: Likewise.
29437 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29438 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29439 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29440 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29441 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29442 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29443 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29444 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29445 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29446 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29447 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29448 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29449 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29450 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29451 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29452 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29453 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29458 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29459 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29460 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29461 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29462 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29463 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29464 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29465 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29466 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29467 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29468 * sysvipc/sys/ipc.h: Likewise.
29469 * sysvipc/sys/msg.h: Likewise.
29470 * sysvipc/sys/sem.h: Likewise.
29471 * sysvipc/sys/shm.h: Likewise.
29472 * termios/termios.h: Likewise.
29473 * time/sys/time.h: Likewise.
29474 * time/time.h: Likewise.
29475 * wcsmbs/bits/wchar2.h: Likewise.
29476 * wcsmbs/uchar.h: Likewise.
29477 * wcsmbs/wchar.h: Likewise.
29478 * wctype/wctype.h: Likewise.
29479
0269750c
UD
29480 [BZ #13551]
29481 * Makeconfig: Remove all but ELF support including AIX support.
29482 * Makerules: Likewise.
29483 * config.h.in: Likewise.
29484 * config.make.in: Likewise.
29485 * configure: Likewise.
29486 * configure.in: Likewise.
29487 * csu/Makefile: Likewise.
29488 * csu/version.c: Likewise.
29489 * debug/Makefile: Likewise.
29490 * dlfcn/Makefile: Likewise.
29491 * elf/Makefile: Likewise.
29492 * extra-lib.mk: Likewise.
29493 * iconv/Makefile: Likewise.
29494 * include/libc-symbols.h: Likewise.
29495 * include/shlib-compat.h: Likewise.
29496 * resolv/Makefile: Likewise.
29497 * resolv/res_libc.c: Likewise.
29498 * rt/Makefile: Likewise.
29499 * sysdeps/i386/asm-syntax.h: Likewise.
29500 * sysdeps/i386/sysdep.h: Likewise.
29501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29502 * sysdeps/mach/sysdep.h: Likewise.
29503 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29504 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29505 * sysdeps/s390/asm-syntax.h: Likewise.
29506 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29508 * sysdeps/sh/sysdep.h: Likewise.
29509 * sysdeps/unix/sparc/sysdep.h: Likewise.
29510 * sysdeps/wordsize-32/divdi3.c: Likewise.
29511 * sysdeps/x86_64/sysdep.h: Likewise.
29512
00bbd29b
UD
29513 * argp/Versions: Remove _argp_unlock_xxx.
29514
29515 [BZ #13559]
29516 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29517 * abilist/libBrokenLocale.abilist: Likewise.
29518 * abilist/libanl.abilist: Likewise.
29519 * abilist/libc.abilist: Likewise.
29520 * abilist/libcrypt.abilist: Likewise.
29521 * abilist/libdl.abilist: Likewise.
29522 * abilist/libm.abilist: Likewise.
29523 * abilist/libnsl.abilist: Likewise.
29524 * abilist/libpthread.abilist: Likewise.
29525 * abilist/libresolv.abilist: Likewise.
29526 * abilist/librt.abilist: Likewise.
29527 * abilist/libthread_db.abilist: Likewise.
29528 * abilist/libutil.abilist: Likewise.
29529 * abilist/libnss_db.abilist: New file.
29530
29531 * scripts/abilist.awk: Add support for indirect functions.
29532
a2693a0e
UD
29533 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29534
3f05895f
UD
29535 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29536
ecb6fb48
UD
29537 * shlib-versions: Remove entries for ports architectures.
29538
664f8cb9
UD
29539 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29540 files in ports.
29541 * elf/stackguard-macros.h: Remove support for IA-64.
29542 * elf/tst-auditmod1.c: Likewise.
29543 * sysdeps/generic/ldsodefs.h: Likewise.
29544
7ae81d88
UD
29545 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29546 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29547 configure files.
29548
bdeba135
UD
29549 [BZ #13552]
29550 * configure.in: Remove --enable-omitfp support.
29551 * FAQ.in: Adjust.
29552 * config.make.in: Likewise.
29553 * Makeconfig: Likewise.
29554 * manual/install.texi: Likewise.
29555
d75a0a62
UD
29556 In case anyone cares, the IA-64 architecture could move to ports.
29557 * sysdeps/ia64/*: Removed.
29558 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29559 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29560
dcc9756b
UD
29561 [BZ #13555]
29562 * configure.in: Remove entries for unsupported architectures.
29563
d3761ebc 29564 [BZ #13533]
9954432e
UD
29565 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29566 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29567 routines.
29568 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29569 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29570 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29571 fall back to using wcrtomb.
29572 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29573 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29574 renaming.
29575 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29576 * wcsmbs/tst-c16c32-1.c: New file.
29577
29578 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29579 local variable.
29580
c3a87236
UD
29581 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29582
28926a1b
UD
29583 * elf/tst-unique3.cc: Add explicit declaration of gets.
29584 * elf/tst-unique3lib.cc: Likewise.
29585 * elf/tst-unique3lib2.cc: Likewise.
29586 * elf/tst-unique4.cc: Likewise.
29587
df78418a
UD
29588 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29589
8ecd6b2a
JM
295902012-01-06 Joseph Myers <joseph@codesourcery.com>
29591
29592 [BZ #13566]
29593 * assert/assert.h (static_assert): Don't define for C++.
29594 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29595 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29596
9f115170
UD
295972012-01-03 Ulrich Drepper <drepper@gmail.com>
29598
5e0d0300
UD
29599 * iconv/loop.c (single loop): Fix assertion in storing of
29600 remaining bytes.
29601
9f115170
UD
29602 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29603
81fb02b0
UD
296042012-01-01 Ulrich Drepper <drepper@gmail.com>
29605
29606 * posix/getconf.c: Update copyright year.
29607 * nss/getent.c: Likewise.
a316c1f6 29608 * nss/makedb.c: Likewise.
81fb02b0
UD
29609 * iconv/iconvconfig.c: Likewise.
29610 * iconv/iconv_prog.c: Likewise.
29611 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29612 * elf/pldd.c: Likewise.
29613 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29614 * catgets/gencat.c: Likewise.
29615 * csu/version.c: Likewise.
29616 * elf/ldd.bash.in: Likewise.
29617 * elf/sprof.c (print_version): Likewise.
29618 * locale/programs/locale.c: Likewise.
29619 * locale/programs/localedef.c: Likewise.
a316c1f6 29620 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29621 * nscd/nscd.c (print_version): Likewise.
29622 * debug/xtrace.sh: Likewise.
29623 * malloc/memusage.sh: Likewise.
29624 * malloc/mtrace.pl: Likewise.
29625 * debug/catchsegv.sh: Likewise.
29626
2ba92745
JJ
296272011-12-30 Jakub Jelinek <jakub@redhat.com>
29628
29629 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29630 pure attribute.
29631
dadebdae
UD
296322011-12-24 Ulrich Drepper <drepper@gmail.com>
29633
d3761ebc 29634 [BZ #13533]
db6af3eb
UD
29635 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29636 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29637 transformations.
29638 * iconv/gconv_int.h: Likewise.
29639 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29640 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29641 from libc for GLIBC_2.16.
29642 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29643 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29644 * wcsmbs/uchar.h: Really define mbstate_t.
29645 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29646 * wcsmbs/c16rtomb.c: New file.
29647 * wcsmbs/mbrtoc16.c: New file.
29648 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29649 for C/POSIX locale.
29650 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29651 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29652
dadebdae
UD
29653 * wcsmbs/wchar.h: Add missing __restrict.
29654
67371b56
UD
296552011-12-23 Ulrich Drepper <drepper@gmail.com>
29656
74033a25
UD
29657 [BZ #13532]
29658 * time/Makefile (routines): Add timespec_get.
29659 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29660 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29661 timespec for ISO C11.
29662 * time/timespec_get.c: New file.
29663 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29664 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29665
380d7e87
UD
29666 [BZ #13531]
29667 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29668 * stdlib/stdlib.h: Declare aligned_alloc.
29669 * Versions.def: Add GLIBC_2.16 for libc.
29670 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29671
4e9e7a35
UD
29672 [BZ 13527]
29673 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29674 ISO C11.
29675
380d7e87 29676 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29677 code.
29678
03a71829
UD
29679 [BZ #13528]
29680 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29681
839e283e
UD
29682 [BZ #13529]
29683 * assert/assert.h (static_assert): Define.
29684
ce5294e2 29685 * version.h: Update for 2.16 development version.
90fa7312 29686
8d44e150 29687 [BZ #13526]
d7809905
UD
29688 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29689 _ISOC11_SOURCE.
29690
c0da14cd
UD
29691 * version.h (RELEASE): Bump for 2.15 release.
29692 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29693
530a3249
MP
29694 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29695 Patch by Marek Polacek <mpolacek@redhat.com>.
29696
67371b56
UD
29697 * bits/byteswap.h: Protect long long constants with __extension__.
29698 * sysdeps/i386/bits/byteswap.h: Likewise.
29699 * sysdeps/ia64/bits/byteswap.h: Likewise.
29700 * sysdeps/s390/bits/byteswap.h: Likewise.
29701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29702
15db4de1
LD
297032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29704
29705 [BZ #13540]
bbe315ea
LD
29706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29707 destination buffer.
15db4de1
LD
29708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29709
2b2596b1
MP
297102011-12-23 Marek Polacek <polacek@redhat.com>
29711
29712 * elf/dl-addr.c (determine_info): Add inline keyword.
29713 * elf/tst-auditmod4b.c (check_avx): Likewise.
29714 * elf/tst-auditmod6b.c (check_avx): Likewise.
29715 * elf/tst-auditmod6c.c (check_avx): Likewise.
29716 * elf/tst-auditmod7b.c (check_avx): Likewise.
29717
70c6c246
UD
297182011-12-23 Ulrich Drepper <drepper@gmail.com>
29719
29720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29721 !__SSE_MATH__.
29722
c044cf14
LD
297232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29724
15db4de1 29725 [BZ #13540]
c044cf14
LD
29726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29727 processing for last bytes.
29728
6b13d9d9
BH
297292011-08-06 Bruno Haible <bruno@clisp.org>
29730
d455f537
BH
29731 [BZ #13061]
29732 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29733 U+0385, not to U+1FEE.
29734
6b13d9d9
BH
29735 [BZ #13062]
29736 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29737 entry for U+00A5 U+0301.
29738
db910efd
UD
297392011-12-22 Ulrich Drepper <drepper@gmail.com>
29740
27deeafc
UD
29741 [BZ #13166]
29742 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29743 buffer for the output is too small.
29744
aed9d171
UD
29745 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29746 optimization.
29747
db910efd
UD
29748 [BZ #13185]
29749 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29750 SSE flags if possible.
29751
2bd779ae
LD
297522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29753
e7f9dac3 29754 [BZ #13540]
2bd779ae
LD
29755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29756 processing for last bytes.
29757
154bfc16
JM
297582011-12-22 Joseph Myers <joseph@codesourcery.com>
29759
29760 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29761 (syscall-list-default-options, syscall-list-default-condition)
29762 (syscall-list-includes): Define.
29763 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29764 list of ABIs and options and #if conditions for each ABI. Do not
29765 handle common syscalls between ABIs specially.
29766 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29767 Remove.
29768 (syscall-list-variants, syscall-list-32bit-options)
29769 (syscall-list-32bit-condition, syscall-list-64bit-options)
29770 (syscall-list-64bit-condition): Define.
29771 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29772 (syscall-list-variants, syscall-list-32bit-options)
29773 (syscall-list-32bit-condition, syscall-list-64bit-options)
29774 (syscall-list-64bit-condition): Define.
29775 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29776 Remove.
29777 (syscall-list-variants, syscall-list-32bit-options)
29778 (syscall-list-32bit-condition, syscall-list-64bit-options)
29779 (syscall-list-64bit-condition): Define.
29780 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29781 Remove.
29782 (syscall-list-variants, syscall-list-32bit-options)
29783 (syscall-list-32bit-condition, syscall-list-64bit-options)
29784 (syscall-list-64bit-condition): Define.
29785
21eaf3a5
UD
297862011-12-22 Ulrich Drepper <drepper@gmail.com>
29787
16c6f992
UD
29788 * locale/iso-639.def: Add brx entry.
29789
41043168
UD
29790 [BZ #13328]
29791 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29792 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29793
21eaf3a5
UD
29794 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29795 __feraiseexcept_renamed.
29796
e3a851a2
UD
297972011-12-21 Ulrich Drepper <drepper@gmail.com>
29798
4920765e
UD
29799 [BZ #13538]
29800 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29801 EPOLLET with unsigned values.
29802 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29803 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29804
e3a851a2
UD
29805 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29806 to large cancellation.
29807 * math/s_cacoshf.c: Likewise.
29808 * math/s_cacoshl.c: Likewise.
29809
b27e24b8
RK
298102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29811
29812 [BZ #13305]
aebefeee 29813 [BZ #12786]
b27e24b8
RK
29814 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29815 * math/s_cacoshf.c: Likewise.
29816 * math/s_cacoshl.c: Likewise.
29817
ee190f67
UD
298182011-12-21 Ulrich Drepper <drepper@gmail.com>
29819
29820 [BZ #13439]
29821 * iconv/gconv.h: Define __GCONV_SWAP.
29822 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29823 * iconvdata/utf-16.c: Likewise.
29824 * iconvdata/utf-32.c: Likewise.
29825
707f25df
AS
298262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29827
29828 [BZ #13524]
29829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29830 numerator after shifting it by one limb.
29831
d2daaa1e
RÁE
298322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29833
29834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29835 under [__USE_EXTERN_INLINES].
29836
a4647e72
UD
298372011-12-17 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #13446]
29840 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29841
f0b264f1
AZ
298422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29843
29844 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29845 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29846 optimized code.
29847 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29848 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29849 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29850 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29851 for strncasecmp/strncasecmp_l compilation.
29852 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29853 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29854
8ef4f244
MP
298552011-12-08 Marek Polacek <mpolacek@redhat.com>
29856
29857 [BZ #13484]
29858 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29859 of __asm__.
29860
97ac2654
UD
298612011-12-17 Ulrich Drepper <drepper@gmail.com>
29862
29863 [BZ #13506]
29864 * time/tzfile.c (__tzfile_read): Check values from file header.
29865
91d2a845
WS
298662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29867
29868 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29869 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29870 * powerpc/powerpc32/dl-start.S: Likewise.
29871 * powerpc/powerpc32/elf/start.S: Likewise.
29872 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29873 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29874 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29875 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29876 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29877 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29878 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29879 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29880 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29881 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29882 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29883 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29884 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29885 * powerpc/powerpc32/memset.S: Likewise.
29886 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29887 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29888 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29889 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29890 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29891 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29892 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29893 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29894 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29895 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29897 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29898 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29899
a1267ba1
AZ
299002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29901
29902 * math/libm-test.inc: Added more nearbyint tests.
29903 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29907
ad8ac1bd
RL
299082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29909
29910 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29911 FD_CLOEXEC.
29912
1d3e4b61
UD
299132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29914
29915 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29916 Add wcscpy-ssse3 wcscpy-c.
29917 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29918 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29919 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29920 * sysdeps/x86_64/wcschr.S: New file.
29921 * sysdeps/x86_64/wcsrchr.S: New file.
29922 * string/test-strcmp.c: Remove checking of wcscmp function for
29923 wrong alignments.
29924 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29925 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29926 wcsrchr-sse2 wcsrchr-c.
29927 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29928 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29929 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29930 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29931 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29932 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29933 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29934 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29935 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29936 * wcsmbc/wcschr.c (WCSCHR): New macro.
29937
5b330a2d
UD
299382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29939
29940 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29941 * wcsmbs/test-wcsrchr.c: New file.
29942 * string/test-strrchr.c: Add wcsrchr support.
29943 (WIDE): New macro.
29944 * wcsmbs/test-wcscpy.c: New file.
29945 * string/test-strcpy.c: Add wcscpy support.
29946 (WIDE): New macro.
26428b7c 29947
f039c043
UD
299482011-12-10 Ulrich Drepper <drepper@gmail.com>
29949
29950 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29951 the inner loop.
29952
850fb039
AS
299532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29954
29955 [BZ #13472]
29956 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29957
4efbd5cb
UD
299582011-12-04 Ulrich Drepper <drepper@gmail.com>
29959
52ff5dd0 29960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29961 Minor optimizations.
52ff5dd0 29962
4efbd5cb
UD
29963 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29964 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29965 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29966
8a426e12
UD
299672011-12-03 Ulrich Drepper <drepper@gmail.com>
29968
aff2453d
UD
29969 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29970 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29971 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29972 for gcc to avoid warnings.
29973 * inet/Makefile (tests): Add tst-checks.
29974 * inet/tst-checks.c: New file.
29975
29976 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29977 warning.
29978
29979 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29980 __wmemcmp_sse2.
29981
29982 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29983 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29984
8a426e12
UD
29985 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29986
9bea3473
UD
299872011-12-02 Ulrich Drepper <drepper@gmail.com>
29988
3a965496
UD
29989 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29990 problem.
29991
9bea3473
UD
29992 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29993
f101631b
UD
299942011-11-29 Joseph Myers <joseph@codesourcery.com>
29995
29996 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29997 conditional on GCC version.
29998 (__arch_compare_and_exchange_val_8_acq)
29999 (__arch_compare_and_exchange_val_16_acq)
30000 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30001 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30002 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30003
a98275aa
UD
300042011-12-02 Joseph Myers <joseph@codesourcery.com>
30005
30006 * sysdeps/sh/backtrace.c: New file.
30007
d4cc29a2
AS
300082011-12-02 Andreas Schwab <schwab@redhat.com>
30009
30010 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30011 parenthesis.
30012
6257af2d
AS
300132011-12-01 Andreas Schwab <schwab@redhat.com>
30014
30015 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30016 falling back to utime.
30017
b5f44c1a
AS
300182011-11-30 Andreas Schwab <schwab@redhat.com>
30019
30020 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30021 expectations for float.
30022
f3a6cc0a
AS
300232011-11-29 Andreas Schwab <schwab@redhat.com>
30024
30025 * locale/weight.h (findidx): Add parameter len.
30026 * locale/weightwc.h (findidx): Likewise.
30027 * posix/fnmatch_loop.c (FCT): Adjust caller.
30028 * posix/regcomp.c (build_equiv_class): Likewise.
30029 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30030 * posix/regexec.c (check_node_accept_bytes): Likewise.
30031 * string/strcoll_l.c (STRCOLL): Likewise.
30032 * string/strxfrm_l.c (STRXFRM): Likewise.
30033
9d65ea3a
UD
300342011-11-17 Ulrich Drepper <drepper@gmail.com>
30035
30036 * Makefile.in: Remove CVSOPT handling.
30037 * configure.in: Remove use of AC_REVISION.
30038 * iconvdata/Makefile (distribute): No need to filter out CVS.
30039 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30040 handling.
30041
5583a086
AS
300422011-11-16 Andreas Schwab <schwab@redhat.com>
30043
30044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30045 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30046 [USE_AS_STRNCASECMP_L]: Likewise.
30047 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30048 NO_TLS_DIRECT_SEG_REFS.
30049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30050 Fix argument offsets for non-PIC.
30051 [USE_AS_STRNCASECMP_L]: Likewise.
30052 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30053 NO_TLS_DIRECT_SEG_REFS.
30054
d62a8200
UD
300552011-11-15 Ulrich Drepper <drepper@gmail.com>
30056
9d65ea3a 30057 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30058 O_CLOEXEC.
30059 * locale/loadlocale.c (_nl_load_locale): Likewise.
30060
09f93bd3
AS
300612011-11-15 Andreas Schwab <schwab@redhat.com>
30062
446514f9
AS
30063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30064 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30066 (SYSCALL_GETTIME): Set errno on error.
30067
09f93bd3
AS
30068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30069 count references to noai6ai_cached.
30070
312be3f9
UD
300712011-11-15 Ulrich Drepper <drepper@gmail.com>
30072
30073 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30074
30075 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30076 FD_CLOEXEC for /proc/self/maps.
30077
30078 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30079 FD_CLOEXEC for /proc/meminfo.
30080
30081 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30082 gai.conf.
30083
30084 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30085 FD_CLOEXEC for given file.
30086
30087 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30088
30089 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30090 FD_CLOEXEC for /etc/hosts.
30091 (_gethtent): Likewise.
30092
30093 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30094
30095 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30096 cancellation and set FD_CLOEXEC for /etc/netgroup.
30097
30098 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30099 reading /etc/publickey.
30100
30101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30102 allow cancellation when reading /etc/group.
30103
30104 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30105 cancellation.
30106 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30107
30108 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30109 when using data file.
30110
30111 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30112
30113 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30114 (write_nis_obj): Use "c" and "e" in fopen.
30115
30116 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30117
30118 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30119
30120 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30121
30122 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30123
30124 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30125 locale.alias.
30126
30127 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30128
30129 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30130
30131 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30132
30133 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30134 file parsing and set FD_CLOEXEC.
30135
82af0fa8
UD
301362011-11-14 Ulrich Drepper <drepper@gmail.com>
30137
30138 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30139
a5fb313c
AS
301402011-11-14 Andreas Schwab <schwab@redhat.com>
30141
30142 * malloc/arena.c (arena_get2): Don't call reused_arena when
30143 _int_new_arena failed.
30144
6abf3465
UD
301452011-11-14 Ulrich Drepper <drepper@gmail.com>
30146
30147 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30148 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30149 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30153 to compile strcasecmp and strncasecmp.
30154 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30155 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30156
30157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30158
76e3966e
UD
301592011-11-13 Ulrich Drepper <drepper@gmail.com>
30160
30161 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30162 locale-defines.sym to gen-as-const-headers.
30163 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30164 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30166 to compile strcasecmp and strncasecmp.
30167 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30168 strcasecmp_l and strncasecmp_l.
30169 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30170 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30171 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30172 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30173 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30175 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30176 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30177 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30178 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30179 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30180
ab26144e
UD
301812011-11-12 Ulrich Drepper <drepper@gmail.com>
30182
7edb22ef
UD
30183 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30184 result of SYSDEP_GETTIME_CPU to retval.
30185 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30186 parameter list to macro. Remove trailing semicolon. Adjust users.
30187
9694fc44
UD
30188 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30189 variable.
30190
8ad89ef8
UD
30191 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30192 mantissa words.
30193 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30194
0c822ef9
UD
30195 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30196 from unused variable.
30197
874e0564
UD
30198 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30199 DWARF definitions.
30200 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30201 for assembling.
30202
3a2edc79
UD
30203 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30204 over namespaces.
30205
f3c2577f
UD
30206 * sunrpc/rpc_prot.c (rejected): Fix case value.
30207
294ce126
UD
30208 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30209 unsigned long long int to avoid warnings in shift.
30210
5e2b63c6
UD
30211 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30212 of use of trans.
30213 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30214 variable tmp.
30215
e7f4b08e
UD
30216 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30217 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30218 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30219
ab26144e
UD
30220 * nis/nis_table.c (nis_list): Use variable of correct type for
30221 result of __follow_path call.
30222
8a6d5255
AZ
302232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30224
30225 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30226 of math functions ceil, trunc, floor, round, and sqrt, when
30227 avaliable on the platform.
30228 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30229 name clash.
30230 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30231 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30232 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30233
aaddc98c
MP
302342011-10-30 Marek Polacek <mpolacek@redhat.com>
30235
30236 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30237 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30238
95b7042b
RM
302392011-11-11 Roland McGrath <roland@hack.frob.com>
30240
30241 * include/unistd.h: Fix __readlink return type.
30242 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30243
57769839
UD
302442011-11-11 Ulrich Drepper <drepper@gmail.com>
30245
30246 * stdlib/ucontext.h: Undo last change for makecontext.
30247
edc5984d
AS
302482011-11-11 Andreas Schwab <schwab@redhat.com>
30249
98591e58
AS
30250 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30251
edc5984d
AS
30252 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30253 * setjmp/setjmp.h: Mark functions as non-leaf.
30254 * setjmp/bits/setjmp2.h: Likewise.
30255 * stdlib/ucontext.h: Likewise.
30256
77cdc054
AS
302572011-11-10 Andreas Schwab <schwab@redhat.com>
30258
30259 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30260 (reused_arena): Don't check arena limit.
30261 (arena_get2): Atomically check arena limit.
30262
fe72eebd
UD
302632011-11-08 Ulrich Drepper <drepper@gmail.com>
30264
5f078c32
UD
30265 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30266 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30267
fe72eebd
UD
30268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30269 instructions.
30270
ae1bc2fa
AS
302712011-11-07 Andreas Schwab <schwab@redhat.com>
30272
7583a88d
AS
30273 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30274 handler when locking.
30275
ae1bc2fa
AS
30276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30277 Fix size of allocated buffer.
30278
10fb0bfa
AS
302792011-11-04 Andreas Schwab <schwab@redhat.com>
30280
998832a4
AS
30281 [BZ #10103]
30282 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30283 declarations for long double functions.
30284 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30285
10fb0bfa
AS
30286 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30287
3d7ba52b
AS
302882011-11-03 Andreas Schwab <schwab@redhat.com>
30289
a9ae54a1
AS
30290 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30291 installed.
30292
3d7ba52b
AS
30293 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30294 is disabled.
30295
bc8db248
ST
302962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30297
30298 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30299
45b96dd6
AS
303002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30301
647776f6
AS
30302 * include/alloca.h (stackinfo_alloca_round): Define.
30303 (extend_alloca): Use it.
30304 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30305 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30306 here.
30307
d91a8b93
AS
30308 * scripts/check-local-headers.sh: Ignore libaudit.h.
30309
45b96dd6
AS
30310 * nscd/Makefile (extra-objs): Make recursively expanded.
30311
432d41ce
UD
303122011-11-01 Ulrich Drepper <drepper@gmail.com>
30313
34372fc6
UD
30314 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30316
fadb59f8
UD
30317 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30318 * posix/tst-rfc3484-2.c: Likewise.
30319 * posix/tst-rfc3484-3.c: Likewise.
30320
78239589
UD
30321 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30322 process_vm_writev.
30323 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30324 process_vm_writev.
30325 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30326 process_vm_writev from libc using GLIBC_2.15 version.
30327
432d41ce
UD
30328 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30329
02f9c6cf
PP
303302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30331
30332 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30333 stack usage.
30334
3a2c0242
UD
303352011-10-31 Ulrich Drepper <drepper@gmail.com>
30336
f4ec4833
UD
30337 [BZ #13367]
30338 * nss/getent.c (initgroups_keys): Show error message in case no group
30339 names are given.
30340
3a2c0242
UD
30341 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30342 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30343 __bump_nl_timestamp.
30344 * nscd/connections (nscd_init): When host database is served open
30345 netlink socket and request notification about configuration changes.
30346 (main_loop_poll): Track netlink file descriptor and bump timestamp
30347 in case data becomes available.
30348 (main_loop_epoll): Likewise.
30349 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30350 (database_pers_head): Add extra_data fileds.
30351 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30352 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30353 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30354 Adjust caller.
30355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30356 in6ai data, call __free_in6ai.
30357 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30358 Add -DHAVE_NETLINK.
30359 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30360 interface information. Reuse previous data if netlink timestamp
30361 is not changed.
30362 (__bump_nl_timestamp): New function.
30363 (__free_in6ai): New function.
30364
636064eb
UD
303652011-10-30 Ulrich Drepper <drepper@gmail.com>
30366
30367 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30368 close_not_cancel_no_status here.
30369 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30370
9beb2334
UD
303712011-10-29 Ulrich Drepper <drepper@gmail.com>
30372
6ef76f3b
UD
30373 [BZ #13276]
30374 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30375 return value.
30376
0ffc4f3e 30377 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30378 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30379 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30380
cb95113e
UD
303812011-07-03 Andreas Jaeger <aj@suse.de>
30382
30383 [BZ #10709]
30384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30385 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30386 * math/libm-test.inc (sin_test): Add test case.
30387
a1b560ff
UD
303882011-10-29 Ulrich Drepper <drepper@gmail.com>
30389
c9aaface
UD
30390 [BZ #13337]
30391 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30392 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30393
d272e7f1
UD
30394 * elf/chroot_canon.c (chroot_canon): Cleanups.
30395
1bc33071
UD
30396 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30397
1760874d
TJ
30398 [BZ #13335]
30399 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30400 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30401
51d91b18
UD
30402 * string/test-strchr.c: Make usable for strchrnul testing.
30403 * string/test-strchrnul.c: New file.
30404 * string/Makefile (strop-tests): Add strchrnul.
30405
a1b560ff 30406 * po/it.po: Update from translation team.
b611fb81 30407 * po/es.po: Likewise.
a1b560ff 30408
a5b81e1f
UD
304092011-10-28 Ulrich Drepper <drepper@gmail.com>
30410
fd52bc6d
UD
30411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30412 the three constants needed as parameters. Drop the others.
30413 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30414 __m128i_strloadu_tolower.
52e4b9eb
UD
30415 Create and initialize variable zero and use it in all the places
30416 where _mm_setzero_si128 was used.
fd52bc6d 30417
a5b81e1f
UD
30418 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30419 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30420 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30422 anymore.
30423 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30424 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30425 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30426 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30427 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30428 __mpranred, __mptan.
30429 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30430 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30431 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30432 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30433 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30434 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30436 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30437 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30438
b4343346
AS
304392011-10-28 Andreas Schwab <schwab@redhat.com>
30440
0c92d8a8
AS
30441 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30442 redefine if SHARED.
30443 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30444
b4343346
AS
30445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30446 wide char related routines to wcsmbs subdir.
30447
3871f58f
AS
304482011-10-27 Andreas Schwab <schwab@redhat.com>
30449
30450 [BZ #13344]
30451 * misc/sys/cdefs.h (__THROWNL): Define.
30452 * posix/unistd.h: Use __THREADNL instead of __THREAD
30453 for memory synchronization functions.
30454
94d44d9f
RM
304552011-10-26 Roland McGrath <roland@hack.frob.com>
30456
21b64b15 30457 [BZ #13349]
94d44d9f
RM
30458 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30459 doesn't exist.
30460 * manual/stdio.texi (Obstack Streams): Node removed.
30461
f6ce9294
AS
304622011-10-26 Andreas Schwab <schwab@redhat.com>
30463
80479147
AS
30464 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30465 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30466 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30467
f6ce9294
AS
30468 * math/math_private.h (math_force_eval): Allow non-addressable
30469 arguments.
30470 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30471
618280a1
UD
304722011-10-25 Ulrich Drepper <drepper@gmail.com>
30473
e0016b11
UD
30474 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30475 file is not needed.
30476
30477 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30479 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30480 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30482 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30484 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30485 Add AVX variants.
30486 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30487 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30488 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30489 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30491 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30492 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30493 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30494 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30495 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30496 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30497 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30500 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30501 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30502 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30503 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30504 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30505
30506 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30507 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30508
618280a1
UD
30509 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30510 place. Use VEX encoding when compiling for AVX.
30511
37822576
AS
305122011-10-25 Andreas Schwab <schwab@redhat.com>
30513
1f1e1947
AS
30514 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30515 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30516
37822576
AS
30517 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30518
31ea014d
UD
305192011-10-25 Ulrich Drepper <drepper@gmail.com>
30520
d7826aa1 30521 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30522 useless if() expression.
d7826aa1
UD
30523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30524 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30532 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30534 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30536 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30537 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30541 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30542
31ea014d
UD
30543 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30544
16437fec
AS
305452011-10-25 Andreas Schwab <schwab@redhat.com>
30546
30547 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30548 condition.
30549 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30550
31d3cc00
UD
305512011-10-25 Ulrich Drepper <drepper@gmail.com>
30552
30553 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30554 .text section. Avoid duplicate constants.
30555 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30565 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30567 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30570 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30572 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30579 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30580 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30581 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30582 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30584 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30585 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30586 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30587 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30588 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30589 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30590 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30591 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30593 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30594 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30595 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30596 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30597 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30598 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30599 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30600
58985aa9
UD
306012011-10-24 Ulrich Drepper <drepper@gmail.com>
30602
202c9deb
UD
30603 * sysdeps/x86_64/dla.h: Move to ...
30604 * sysdeps/x86_64/fpu/dla.h: ...here.
30605 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30606 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30607
af968f62
UD
30608 * config.make.in: Add have-mfma4 entry.
30609 * configure.in: Substitute libc_cv_cc_fma4.
30610 * math/Makefile (dbl-only-routines): Add sincostab.
30611 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30612 Use __sincostab not sincos.
30613 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30614 name is a macro.
30615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30619 using __copysign.
30620 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30621 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30622 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30623 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30624 and __inv.
30625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30626 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30627 __copysign.
30628 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30629 define aliases when function name is a macro.
30630 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30631 sysdeps/ieee754/dbl-64/sincos.tbl.
30632 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30633 fma4-enabled routines.
30634 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30635 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30636 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30637 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30638 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30639 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30641 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30643 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30644 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30645 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30646 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30647 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30648 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30649 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30650 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30651 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30652 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30654 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30655 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30657 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30660 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30661 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30662 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30663 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30664
58985aa9
UD
30665 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30666 rename.
30667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30675
a201fbcf
AS
306762011-10-24 Andreas Schwab <schwab@redhat.com>
30677
30678 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30679
fc2ee42a
LD
306802011-10-23 Ulrich Drepper <drepper@gmail.com>
30681
bb3129bd
UD
30682 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30683
0275fff8
UD
30684 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30685 prediction.
30686 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30687
2fa2ae85
UD
30688 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30689 Remove unused variable magic_bits.
30690 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30691
fc2ee42a
LD
30692 * string/strnlen.c: Define and use STRNLEN macro.
30693 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30694 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30696 * wcsmbs/wcslen.c: Define and use WCSLEN.
30697 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30698 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30699 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30700 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30701 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30702 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30704
ce7dd29f
LD
307052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30706
30707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30708 strnlen-sse2-no-bsf.
30709 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30711 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30712 Add strnlen support.
30713 (USE_AS_STRNLEN): New macro.
30714 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30715 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30716 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30717 * sysdeps/x86_64/wcslen.S: New file.
30718
979c70a3
MZ
307192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30720
30721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30722 XMM-moves are used for copying on small sizes.
30723
2d09f82f
LD
307242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30725
30726 * wcsmbs/Makefile (strop-tests): Add wcschr.
30727 * wcsmbs/test-wcschr.c: New file.
30728 * string/test-strchr.c: Update.
30729 Add wcschr support.
30730 (WIDE): New macro.
30731
619fccca
LD
307322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30733
2d09f82f 30734 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30735 * wcsmbs/test-wcslen.c: New file.
30736 * string/test-strlen.c: Update.
30737 Add wcslen support.
30738 (WIDE): New macro.
30739
09f699ea
UD
307402011-10-23 Ulrich Drepper <drepper@gmail.com>
30741
30742 * po/it.po: Update from translation team.
30743
95584d3b
LD
307442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30745
30746 * sysdeps/x86_64/wcscmp.S: Update.
30747 Fix wrong comparison semantics.
30748 wcscmp shall use signed comparison not unsigned.
30749 Don't use substraction to avoid overflow bug.
30750 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30751 * wcsmbc/wcscmp.c: Likewise.
30752 * string/test-strcmp.c: Likewise.
30753 Add new tests to check cases with negative values.
30754
c8b3296b
UD
307552011-10-23 Ulrich Drepper <drepper@gmail.com>
30756
30757 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30758 * sysdeps/x86_64/dla.h: ...here. New file.
30759 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30768
246ad57a
AS
307692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30770
30771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30772 __ynl_finite aliases.
30773
a1a87169
UD
307742011-10-22 Ulrich Drepper <drepper@gmail.com>
30775
0d355eb7
UD
30776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30777
a1a87169
UD
30778 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30779 define DLA_FMA.
30780 [DLA_FMA] (EMULV): Use DLA_FMA.
30781 [DLA_FMA] (MUL12): Use EMULV.
30782 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30783 that are not needed.
30784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30791
ee2aafe0
AS
307922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30793
30794 * math/s_nan.c: Undef __nan.
30795 * math/s_nanf.c: Undef __nanf.
30796 * math/s_nanl.c: Undef __nanl.
30797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30798 "math_private.h".
30799
bc62c2fb
UD
308002011-10-22 Ulrich Drepper <drepper@gmail.com>
30801
77425c63
UD
30802 * math/s_catan.c: Add branch predictions.
30803 * math/s_catanf.c: Likewise.
30804 * math/s_catanh.c: Likewise.
30805 * math/s_catanhf.c: Likewise.
30806 * math/s_catanhl.c: Likewise.
30807 * math/s_catanl.c: Likewise.
30808 * math/s_cexp.c: Likewise.
30809 * math/s_cexpf.c: Likewise.
30810 * math/s_cexpl.c: Likewise.
30811 * math/s_clog.c: Likewise.
30812 * math/s_clog10.c: Likewise.
30813 * math/s_clog10f.c: Likewise.
30814 * math/s_clog10l.c: Likewise.
30815 * math/s_clogf.c: Likewise.
30816 * math/s_clogl.c: Likewise.
30817 * math/s_csqrt.c: Likewise.
30818 * math/s_csqrtf.c: Likewise.
30819 * math/s_csqrtl.c: Likewise.
30820 * math/s_ctanf.c: Likewise.
30821 * math/s_ctanh.c: Likewise.
30822 * math/s_ctanhf.c: Likewise.
30823 * math/s_ctanhl.c: Likewise.
30824 * math/s_ctanl.c: Likewise.
30825
bc62c2fb
UD
30826 * math/math_private.h: Define __nan, __nanf, __nanl.
30827 * math/s_cacosh.c: Include <math_private.h>.
30828 * math/s_cacoshl.c: Likewise.
30829 * math/s_casinh.c: Likewise.
30830 * math/s_casinhf.c: Likewise.
30831 * math/s_casinhl.c: Likewise.
30832 * math/s_ccos.c: Rely entire on ccosh.
30833 * math/s_ccosf.c: Rely entire on ccoshf.
30834 * math/s_ccosl.c: Rely entirely on ccoshl.
30835 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30836 Remove tests for FE_INVALID.
30837 * math/s_ccoshf.c: Likewise.
30838 * math/s_ccoshl.c: Likewise.
30839 * math/s_csin.c: Likewise.
30840 * math/s_csinf.c: Likewise.
30841 * math/s_csinh.c Likewise.
30842 * math/s_csinhf.c: Likewise.
30843 * math/s_csinhl.c: Likewise.
30844 * math/s_csinl.c: Likewise.
30845 * math/s_ctan.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30847 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30848 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30849
8ec250a4
UD
308502011-10-21 Ulrich Drepper <drepper@gmail.com>
30851
c196fed8
UD
30852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30853 compilation problems.
30854
8ec250a4
UD
30855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30856 __builtin_expect.
30857
8d4f46c6
UD
308582011-10-20 Ulrich Drepper <drepper@gmail.com>
30859
ed72b654
UD
30860 * sysdeps/i386/configure.in: Test for -mfma4 option.
30861 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30862 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30863 COMMON_CPUID_INDEX_80000001.
30864 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30865 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30866 use it if FMA3 is not supported.
30867 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30868
8d4f46c6
UD
30869 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30870 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30871
d45c60c2
AS
308722011-10-20 Andreas Schwab <schwab@redhat.com>
30873
30874 [BZ #12892]
30875 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30876 it would create a cycle with a link time dependency.
30877
d9a4d2ab
UD
308782011-10-19 Ulrich Drepper <drepper@gmail.com>
30879
855d1560
UD
30880 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30881 instruction.
30882 * string/Makefile (strop-tests): Add rawmemchr.
30883 * string/test-rawmemchr.c: New file.
30884
d9a4d2ab
UD
30885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30887 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30888 when compiling str{,n}casecmp and when AVX is available. Hook up
30889 new optimized code in initializers.
30890
8f3b1ffe
AS
308912011-10-19 Andreas Schwab <schwab@redhat.com>
30892
30893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30894 __feraiseexcept instead of feraiseexcept.
30895
d38f1dba
UD
308962011-10-18 Ulrich Drepper <drepper@gmail.com>
30897
d9a8d0ab
UD
30898 * math/math_private.h: Define defaults for libc_fetestexcept and
30899 libc_feupdateenv.
30900 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30901 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30902 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30903 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30904 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30905 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30906 libc_fetestexcept and libc_feupdateenv.
30907
4855e3dd
UD
30908 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30909 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30910 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30911 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30912 libc_feholdexcept_setround.
30913
581d30e3
UD
30914 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30915 Add s_nearbyint-c and s_nearbyintf-c.
30916 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30917 nearbyintf inlines.
30918 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30919 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30920 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30921 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30922
d38f1dba
UD
30923 * math/math_private.h: Define defaults for libc_fegetround,
30924 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30925 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30926 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30927 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30928 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30929 standard functions.
30930 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30931 Remove comments and hacks for old compiler versions.
30932 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30933 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30934 libc_feholdexceptl.
30935
caa6c9d8
AS
309362011-10-18 Andreas Schwab <schwab@redhat.com>
30937
30938 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30939 (__feraiseexcept_renamed): Add __NTH.
30940 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30941 namespace violations.
30942
97c066e6
UD
309432011-10-17 Ulrich Drepper <drepper@gmail.com>
30944
99ce7b04
UD
30945 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30946
1004d182
UD
30947 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30948
228a984d
UD
30949 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30950 recently added interfaces.
30951 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30952
c8553a6a
UD
30953 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30954 about macro parameter expansion.
30955
ed22dcf6
UD
30956 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30957 __NO_MATH_INLINES is defined. Cleanups.
30958
30959 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30960 and __floorf is target has SSE4.1.
30961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30962 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30963 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30964 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30965
b171c137
UD
30966 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30967 name.
30968 (floorf): Likewise.
30969
97c066e6
UD
30970 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30971
629f62ef
AS
309722011-10-17 Andreas Schwab <schwab@redhat.com>
30973
49a43d80
AS
30974 * misc/sys/cdefs.h: Fix last change.
30975
629f62ef
AS
30976 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30977 database lookup.
30978
e453f6cd
UD
309792011-10-16 Ulrich Drepper <drepper@gmail.com>
30980
aa78043a
UD
30981 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30982
ad0f5cad
UD
30983 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30984 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30991 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30992 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30993 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30994 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30995 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30996 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30997 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30998 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30999 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31000 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31001 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31002 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31003 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31004 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31005
31006 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31007 ceil, ceilf, floor, floorf.
31008
31009 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31010 Perform IRELATIVE relocations last.
31011
e453f6cd
UD
31012 * elf/do-rel.h: Add another parameter nrelative, replacing the
31013 local variable with the same name. Change name of the function
31014 to end in Rel or Rela (uppercase).
31015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31016 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31017 elf_dynamic_do_##reloc function.
31018
fd5bdc09
UD
310192011-10-15 Ulrich Drepper <drepper@gmail.com>
31020
79b195b5
UD
31021 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31022 is sufficient, at least on modern CPUs.
31023
d4a28569
UD
31024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31025
b61099b5
UD
31026 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31027 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31028
bcf01e6d
UD
31029 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31030 __expl_finite.
31031 * math/bits/math-finite.h: Add entries for exp.
31032 * math/e_expl.c: Add __*_finite alias.
31033 * sysdeps/i386/fpu/e_exp.S: Likewise.
31034 * sysdeps/i386/fpu/e_expf.S: Likewise.
31035 * sysdeps/i386/fpu/e_expl.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31037 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31041 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31042 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31043
ba1a0d59
UD
31044 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31045 is sufficient, at least on modern CPUs.
31046
fd5bdc09
UD
31047 * ctype/ctype-info.c (__ctype_init): Define.
31048 * include/ctype.h (__ctype_init): Declare.
31049 (__ctype_b_loc): The variable is always initialized.
31050 (__ctype_toupper_loc): Likewise.
31051 (__ctype_tolower_loc): Likewise.
31052 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31053 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31054
7872cfb0
AS
310552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31056
b468825a
AS
31057 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31058
7872cfb0
AS
31059 * configure.in: Also look in $cxxmachine/include for C++ system
31060 headers.
31061
be13f7bf
LD
310622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31063
31064 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31065 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31066 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31067 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31069 (USE_AS_WMEMCMP): New macro.
31070 Fixing indents.
31071 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31072 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31073 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31074 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31076 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31077 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31078 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31079 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31080 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31082 (USE_AS_WMEMCMP): New macro.
31083 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31084 * sysdeps/string/test-memcmp.c: Update.
31085 Fix simple_wmemcmp.
31086 Add new tests.
31087 * wcsmbs/wmemcmp.c: Update.
31088 (WMEMCMP): New macro.
31089 Fix overflow bug.
31090
556a2007
AJ
310912011-10-12 Andreas Jaeger <aj@suse.de>
31092
31093 [BZ #13268]
31094 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31095
538faaa7
UD
310962011-10-15 Ulrich Drepper <drepper@gmail.com>
31097
ab6737ff
UD
31098 * libio/iofwide.c (do_length): Avoid warning.
31099
538faaa7
UD
31100 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31101
396a21b1
UD
311022011-10-14 Ulrich Drepper <drepper@gmail.com>
31103
cdf2901f
UD
31104 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31105
38ad40ce
UD
31106 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31107 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31108 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31109 * sysdeps/i386/i686/fpu/e_log.S: New file.
31110 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31111 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31112
396a21b1
UD
31113 * ctype/ctype.h: Add support for inlined isXXX functions when
31114 compiling C++ code.
31115
6b1f68c9
AS
311162011-10-14 Andreas Schwab <schwab@redhat.com>
31117
349290c0
AS
31118 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31119
6b1f68c9
AS
31120 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31121
f2282d42
RM
311222011-10-13 Roland McGrath <roland@hack.frob.com>
31123
31124 [BZ #13291]
31125 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31126
5298ffa8
AS
311272011-10-13 Andreas Schwab <schwab@redhat.com>
31128
714fad23
AS
31129 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31130 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31131 feraiseexcept.
31132
81dcc7fb
AS
31133 * sysdeps/x86_64/memrchr.S: Check for zero size.
31134
5298ffa8
AS
31135 * string/stratcliff.c: Add memrchr tests.
31136
951fbcec
LD
311372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31138
31139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31140 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31141 rawmemchr-sse2 rawmemchr-sse2-bsf.
31142 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31143 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31144 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31145 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31146 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31147 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31148 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31149 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31150 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31151 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31152 * string/memrchr.c (MEMRCHR): New macro.
31153
0ac5ae23
UD
311542011-10-12 Ulrich Drepper <drepper@gmail.com>
31155
31156 Add integration with gcc's -ffinite-math-only and optimize wrapper
31157 functions in libm.
31158 * Versions.def: Define GLIBC_2.15 version for libm.
31159 * math/Makefile (headers): Add bits/math-finite.h.
31160 * math/bits/math-finite.h: New file.
31161 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31162 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31163 * math/e_acoshl.c: Add __*_finite alias.
31164 * math/e_acosl.c: Likewise.
31165 * math/e_asinl.c: Likewise.
31166 * math/e_atan2l.c: Likewise.
31167 * math/e_atanhl.c: Likewise.
31168 * math/e_coshl.c: Likewise.
31169 * math/e_exp10.c: Likewise.
31170 * math/e_exp10f.c: Likewise.
31171 * math/e_exp10l.c: Likewise.
31172 * math/e_exp2l.c: Likewise.
31173 * math/e_fmodl.c: Likewise.
31174 * math/e_gammal_r.c: Likewise.
31175 * math/e_hypotl.c: Likewise.
31176 * math/e_j0l.c: Likewise.
31177 * math/e_j1l.c: Likewise.
31178 * math/e_jnl.c: Likewise.
31179 * math/e_lgammal_r.c: Likewise.
31180 * math/e_log10l.c: Likewise.
31181 * math/e_log2l.c: Likewise.
31182 * math/e_logl.c: Likewise.
31183 * math/e_powl.c: Likewise.
31184 * math/e_sinhl.c: Likewise.
31185 * math/e_sqrtl.c: Likewise.
31186 * math/e_scalb.c: Completely rewritten and optimized.
31187 * math/e_scalbf.c: Likewise.
31188 * math/e_scalbl.c: Likewise.
31189 * math/w_acos.c: Likewise.
31190 * math/w_acosf.c: Likewise.
31191 * math/w_acosl.c: Likewise.
31192 * math/w_acosh.c: Likewise.
31193 * math/w_acoshf.c: Likewise.
31194 * math/w_acoshl.c: Likewise.
31195 * math/w_asin.c: Likewise.
31196 * math/w_asinf.c: Likewise.
31197 * math/w_asinl.c: Likewise.
31198 * math/w_atan2.c: Likewise.
31199 * math/w_atan2f.c: Likewise.
31200 * math/w_atan2l.c: Likewise.
31201 * math/w_atanh.c: Likewise.
31202 * math/w_atanhf.c: Likewise.
31203 * math/w_atanhl.c: Likewise.
31204 * math/w_exp10.c: Likewise.
31205 * math/w_exp10f.c: Likewise.
31206 * math/w_exp10l.c: Likewise.
31207 * math/w_fmod.c: Likewise.
31208 * math/w_fmodf.c: Likewise.
31209 * math/w_fmodl.c: Likewise.
31210 * math/w_j0.c: Likewise.
31211 * math/w_j0f.c: Likewise.
31212 * math/w_j0l.c: Likewise.
31213 * math/w_j1.c: Likewise.
31214 * math/w_j1f.c: Likewise.
31215 * math/w_j1l.c: Likewise.
31216 * math/w_jn.c: Likewise.
31217 * math/w_jnf.c: Likewise.
31218 * math/w_log.c: Likewise.
31219 * math/w_logf.c: Likewise.
31220 * math/w_logl.c: Likewise.
31221 * math/w_log10.c: Likewise.
31222 * math/w_log10f.c: Likewise.
31223 * math/w_log10l.c: Likewise.
31224 * math/w_log2.c: Likewise.
31225 * math/w_log2f.c: Likewise.
31226 * math/w_log2l.c: Likewise.
31227 * math/w_pow.c: Likewise.
31228 * math/w_powf.c: Likewise.
31229 * math/w_powl.c: Likewise.
31230 * math/w_remainder.c: Likewise.
31231 * math/w_remainderf.c: Likewise.
31232 * math/w_remainderl.c: Likewise.
31233 * math/w_scalb.c: Likewise.
31234 * math/w_scalbf.c: Likewise.
31235 * math/w_scalbl.c: Likewise.
31236 * math/w_sqrt.c: Likewise.
31237 * math/w_sqrtf.c: Likewise.
31238 * math/w_sqrtl.c: Likewise.
31239 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31240 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31241 used.
31242 * math/math_private.h: Declare __kernel_standard_f.
31243 * math/w_cosh.c: Remove cruft and optimize a bit.
31244 * math/w_coshf.c: Likewise.
31245 * math/w_coshl.c: Likewise.
31246 * math/w_exp2.c: Likewise.
31247 * math/w_exp2f.c: Likewise.
31248 * math/w_exp2l.c: Likewise.
31249 * math/w_hypot.c: Likewise.
31250 * math/w_hypotf.c: Likewise.
31251 * math/w_hypotl.c: Likewise.
31252 * math/w_lgamma.c: Likewise.
31253 * math/w_lgamma_r.c: Likewise.
31254 * math/w_lgammaf.c: Likewise.
31255 * math/w_lgammaf_r.c: Likewise.
31256 * math/w_lgammal.c: Likewise.
31257 * math/w_lgammal_r.c: Likewise.
31258 * math/w_sinh.c: Likewise.
31259 * math/w_sinhf.c: Likewise.
31260 * math/w_sinhl.c: Likewise.
31261 * math/w_tgamma.c: Likewise.
31262 * math/w_tgammaf.c: Likewise.
31263 * math/w_tgammal.c: Likewise.
31264 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31266 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31267 Minor optimizations. Pretty printing. Remove cruft.
31268 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31269 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31271 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31272 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31273 * sysdeps/i386/fpu/e_asin.S: Likewise.
31274 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31275 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31276 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31277 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31278 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31279 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31280 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31281 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31282 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31283 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31284 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31285 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31286 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31287 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31288 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31289 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31290 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31291 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31292 * sysdeps/i386/fpu/e_log.S: Likewise.
31293 * sysdeps/i386/fpu/e_log10.S: Likewise.
31294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31296 * sysdeps/i386/fpu/e_log2.S: Likewise.
31297 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31298 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31299 * sysdeps/i386/fpu/e_logf.S: Likewise.
31300 * sysdeps/i386/fpu/e_logl.S: Likewise.
31301 * sysdeps/i386/fpu/e_pow.S: Likewise.
31302 * sysdeps/i386/fpu/e_powf.S: Likewise.
31303 * sysdeps/i386/fpu/e_powl.S: Likewise.
31304 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31305 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31306 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31307 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31308 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31310 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31311 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31312 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31313 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31317 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31318 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31324 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31329 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31330 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31333 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31334 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31335 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31336 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31337 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31338 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31339 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31340 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31341 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31342 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31343 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31344 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31345 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31347 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31348 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31349 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31350 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31351 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31352 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31353 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31369 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31370 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31371 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31375 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31383 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31392 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31394 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31395 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31396 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31397 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31398 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31401 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31402 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31403 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31404 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31405 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31406 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31407 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31408 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31409 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31410 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31411 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31412 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31413 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31414 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31415 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31416 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31417 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31418 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31420 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31421 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31422 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31423 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31424 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31425 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31426 (__isnanf): Likewise.
31427 (__isinf_ns): Likewise.
31428 (__isinf_nsf): Likewise.
31429 (__finite): Likewise.
31430 (__finitef): Likewise.
31431 (__ieee754_sqrt): Define as macro.
31432 (__ieee754_sqrtf): Define as macro.
31433 (__ieee754_sqrtl): Define as macro.
31434 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31435 inlined copy.
31436 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31437 __FINITE_MATH_ONLY__ consistent.
31438 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31439
12cc2fcd
AS
314402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31441
a843a204
AS
31442 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31443 of rawmemchr.
31444
12cc2fcd
AS
31445 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31446
c853acd5
UD
314472011-10-09 Ulrich Drepper <drepper@gmail.com>
31448
31449 * po/ja.po: Update from translation team.
31450
c658d255
RM
314512011-10-08 Roland McGrath <roland@hack.frob.com>
31452
110946e4
RM
31453 * locale/programs/locarchive.c (prepare_address_space): New function.
31454 (create_archive, enlarge_archive, open_archive): Use it.
31455
50604220
RM
31456 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31457 inside [SHARED], where it is used.
31458
c658d255
RM
31459 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31460
31461 * nss/getent.c (netgroup_keys): Remove unused variable.
31462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31463
6a621eb7
UD
314642011-10-08 Ulrich Drepper <drepper@gmail.com>
31465
7edb55ce
UD
31466 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31467 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31469 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31470 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31471 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31472 * math/Makefile (libm-calls): Add s_isinf_ns.
31473 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31474 * math/multc3.c: Likewise.
31475 * math/s_casin.c: Likewise.
31476 * math/s_casinf.c: Likewise.
31477 * math/s_casinl.c: Likewise.
31478 * math/s_ccos.c: Likewise.
31479 * math/s_ccosf.c: Likewise.
31480 * math/s_ccosl.c: Likewise.
31481 * math/s_ctan.c: Likewise.
31482 * math/s_ctanf.c: Likewise.
31483 * math/s_ctanh.c: Likewise.
31484 * math/s_ctanhf.c: Likewise.
31485 * math/s_ctanhl.c: Likewise.
31486 * math/s_ctanl.c: Likewise.
31487 * math/w_fmod.c: Likewise.
31488 * math/w_fmodf.c: Likewise.
31489 * math/w_fmodl.c: Likewise.
31490 * math/w_remainder.c: Likewise.
31491 * math/w_remainderf.c: Likewise.
31492 * math/w_remainderl.c: Likewise.
31493 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31494 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31497 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31498 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31499 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31500 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31501
187da0ae
UD
31502 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31503 of the number.
31504 * stdio-common/printf_fphex.c: Likewise.
31505 * stdio-common/printf_size.c: Likewise.
31506
9277c064
UD
31507 * math/e_exp10.c: Include math_private.h using <...> not "...".
31508 * math/e_exp10f.c: Likewise.
31509 * math/e_exp10l.c: Likewise.
31510 * math/e_exp2l.c: Likewise.
31511 * math/e_j0l.c: Likewise.
31512 * math/e_j1l.c: Likewise.
31513 * math/e_jnl.c: Likewise.
31514 * math/e_lgammal_r.c: Likewise.
31515 * math/e_rem_pio2l.c: Likewise.
31516 * math/e_scalb.c: Likewise.
31517 * math/e_scalbf.c: Likewise.
31518 * math/e_scalbl.c: Likewise.
31519 * math/k_cosl.c: Likewise.
31520 * math/k_sinl.c: Likewise.
31521 * math/k_tanl.c: Likewise.
31522 * math/s_cacoshf.c: Likewise.
31523 * math/s_catan.c: Likewise.
31524 * math/s_catanf.c: Likewise.
31525 * math/s_catanh.c: Likewise.
31526 * math/s_catanhf.c: Likewise.
31527 * math/s_catanhl.c: Likewise.
31528 * math/s_catanl.c: Likewise.
31529 * math/s_ccosh.c: Likewise.
31530 * math/s_ccoshf.c: Likewise.
31531 * math/s_ccoshl.c: Likewise.
31532 * math/s_cexp.c: Likewise.
31533 * math/s_cexpf.c: Likewise.
31534 * math/s_cexpl.c: Likewise.
31535 * math/s_clog.c: Likewise.
31536 * math/s_clog10.c: Likewise.
31537 * math/s_clog10f.c: Likewise.
31538 * math/s_clog10l.c: Likewise.
31539 * math/s_clogf.c: Likewise.
31540 * math/s_clogl.c: Likewise.
31541 * math/s_csin.c: Likewise.
31542 * math/s_csinf.c: Likewise.
31543 * math/s_csinh.c: Likewise.
31544 * math/s_csinhf.c: Likewise.
31545 * math/s_csinhl.c: Likewise.
31546 * math/s_csinl.c: Likewise.
31547 * math/s_csqrt.c: Likewise.
31548 * math/s_csqrtf.c: Likewise.
31549 * math/s_csqrtl.c: Likewise.
31550 * math/s_ctan.c: Likewise.
31551 * math/s_ctanf.c: Likewise.
31552 * math/s_ctanh.c: Likewise.
31553 * math/s_ctanhf.c: Likewise.
31554 * math/s_ctanhl.c: Likewise.
31555 * math/s_ctanl.c: Likewise.
31556 * math/s_ldexp.c: Likewise.
31557 * math/s_ldexpf.c: Likewise.
31558 * math/s_ldexpl.c: Likewise.
31559 * math/s_significand.c: Likewise.
31560 * math/s_significandf.c: Likewise.
31561 * math/s_significandl.c: Likewise.
31562 * math/w_acos.c: Likewise.
31563 * math/w_acosf.c: Likewise.
31564 * math/w_acosh.c: Likewise.
31565 * math/w_acoshf.c: Likewise.
31566 * math/w_acoshl.c: Likewise.
31567 * math/w_acosl.c: Likewise.
31568 * math/w_asin.c: Likewise.
31569 * math/w_asinf.c: Likewise.
31570 * math/w_asinl.c: Likewise.
31571 * math/w_atan2.c: Likewise.
31572 * math/w_atan2f.c: Likewise.
31573 * math/w_atan2l.c: Likewise.
31574 * math/w_atanh.c: Likewise.
31575 * math/w_atanhf.c: Likewise.
31576 * math/w_atanhl.c: Likewise.
31577 * math/w_cosh.c: Likewise.
31578 * math/w_coshf.c: Likewise.
31579 * math/w_coshl.c: Likewise.
31580 * math/w_dremf.c: Likewise.
31581 * math/w_exp10.c: Likewise.
31582 * math/w_exp10f.c: Likewise.
31583 * math/w_exp10l.c: Likewise.
31584 * math/w_exp2.c: Likewise.
31585 * math/w_exp2f.c: Likewise.
31586 * math/w_fmod.c: Likewise.
31587 * math/w_fmodf.c: Likewise.
31588 * math/w_fmodl.c: Likewise.
31589 * math/w_hypot.c: Likewise.
31590 * math/w_hypotf.c: Likewise.
31591 * math/w_hypotl.c: Likewise.
31592 * math/w_j0.c: Likewise.
31593 * math/w_j0f.c: Likewise.
31594 * math/w_j0l.c: Likewise.
31595 * math/w_j1.c: Likewise.
31596 * math/w_j1f.c: Likewise.
31597 * math/w_j1l.c: Likewise.
31598 * math/w_jn.c: Likewise.
31599 * math/w_jnf.c: Likewise.
31600 * math/w_jnl.c: Likewise.
31601 * math/w_lgamma.c: Likewise.
31602 * math/w_lgamma_r.c: Likewise.
31603 * math/w_lgammaf.c: Likewise.
31604 * math/w_lgammaf_r.c: Likewise.
31605 * math/w_lgammal.c: Likewise.
31606 * math/w_lgammal_r.c: Likewise.
31607 * math/w_log.c: Likewise.
31608 * math/w_log10.c: Likewise.
31609 * math/w_log10f.c: Likewise.
31610 * math/w_log10l.c: Likewise.
31611 * math/w_log2.c: Likewise.
31612 * math/w_log2f.c: Likewise.
31613 * math/w_log2l.c: Likewise.
31614 * math/w_logf.c: Likewise.
31615 * math/w_logl.c: Likewise.
31616 * math/w_pow.c: Likewise.
31617 * math/w_powf.c: Likewise.
31618 * math/w_powl.c: Likewise.
31619 * math/w_remainder.c: Likewise.
31620 * math/w_remainderf.c: Likewise.
31621 * math/w_remainderl.c: Likewise.
31622 * math/w_scalb.c: Likewise.
31623 * math/w_scalbf.c: Likewise.
31624 * math/w_scalbl.c: Likewise.
31625 * math/w_sinh.c: Likewise.
31626 * math/w_sinhf.c: Likewise.
31627 * math/w_sinhl.c: Likewise.
31628 * math/w_sqrt.c: Likewise.
31629 * math/w_sqrtf.c: Likewise.
31630 * math/w_sqrtl.c: Likewise.
31631 * math/w_tgamma.c: Likewise.
31632 * math/w_tgammaf.c: Likewise.
31633 * math/w_tgammal.c: Likewise.
31634
6a621eb7
UD
31635 * po/ja.po: Update from translation team.
31636
bf582445
AJ
316372011-09-29 Andreas Jaeger <aj@suse.de>
31638
f9efbf3a
AJ
31639 [BZ #13179]
31640 * sunrpc/netname.c (netname2host): Fix logic.
31641
bf582445
AJ
31642 [BZ #6779]
31643 [BZ #6783]
31644 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31645 correctly.
31646 * math/w_remainder.c (__remainder): Likewise.
31647 * math/w_remainderf.c (__remainderf): Likewise.
31648 * math/libm-test.inc (remainder_test): Add test cases.
31649
48693bea
AK
316502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31651
31652 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31653 sdiv_qrnnd.
31654
42622229
LD
316552011-10-07 Ulrich Drepper <drepper@gmail.com>
31656
31657 * string/test-memcmp.c: Avoid unncessary #defines.
31658 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31659
093ecf92
LD
316602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31661
31662 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31663 Use new sse2 version for core i3 - i7 as it's faster
31664 than sse42 version.
31665 (bit_Prefer_PMINUB_for_stringop): New.
31666 * sysdeps/x86_64/rawmemchr.S: Update.
31667 Replace with faster SSE2 version.
31668 * sysdeps/x86_64/memrchr.S: New file.
31669 * sysdeps/x86_64/memchr.S: Update.
31670 Replace with faster SSE2 version.
31671
fde56e5c
MP
316722011-09-12 Marek Polacek <mpolacek@redhat.com>
31673
31674 * elf/dl-load.c (lose): Add cast to avoid warning.
31675
21fd49a9
UD
316762011-10-07 Ulrich Drepper <drepper@gmail.com>
31677
5a06e643
UD
31678 * po/ca.po: Update from translation team.
31679
684ae515
UD
31680 * inet/getnetgrent_r.c: Hook up nscd.
31681 * nscd/Makefile (routines): Add nscd_netgroup.
31682 (nscd-modules): Add netgroupcache.
31683 (CFLAGS-netgroupcache.c): Define.
31684 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31685 (cache_search): Add const to second parameter.
31686 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31687 INNETGR.
31688 (dbs): Add netgrdb entry.
31689 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31690 (verify_persistent_db): Handle netgrdb.
31691 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31692 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31693 GETFDNETGR.
31694 (netgroup_response_header): Define.
31695 (innetgroup_response_header): Define.
31696 (datahead): Add netgroup_response_header and innetgroup_response_header
31697 elements.
31698 * nscd/nscd.conf: Add entries for netgroup cache.
31699 * nscd/nscd.h (dbtype): Add netgrdb.
31700 (_PATH_NSCD_NETGROUP_DB): Define.
31701 (netgroup_iov_disabled): Declare.
31702 (xmalloc, xcalloc, xrealloc): Move declarations here.
31703 (cache_search): Adjust prototype.
31704 Add netgroup-related prototypes.
31705 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31706 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31707 (__nscd_innetgr): Declare.
31708 * nscd/selinux.c (perms): Use access_vector_t as element type and
31709 add netgroup-related initializers.
31710 * nscd/netgroupcache.c: New file.
31711 * nscd/nscd_netgroup.c: New file.
31712 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31713 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31714 For four parameters use innetgr.
31715 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31716 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31717 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31718 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31719
21fd49a9
UD
31720 * nscd/connections.c (register_traced_file): Don't register file
31721 for disabled databases.
31722
054c0457
UD
317232011-10-06 Ulrich Drepper <drepper@gmail.com>
31724
32b63198
UD
31725 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31726
054c0457
UD
31727 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31728 from tree and freeing node.
31729
64031225
JO
317302011-09-25 Jiri Olsa <jolsa@redhat.com>
31731
31732 * nss/nsswitch.c (__nss_database_lookup): Handle
31733 nss_parse_service_list out of memory case.
31734
0490345c
JO
317352011-09-15 Jiri Olsa <jolsa@redhat.com>
31736
31737 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31738 out of memory case.
31739
3a62d00d
AS
317402011-10-04 Andreas Schwab <schwab@redhat.com>
31741
31742 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31743 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31744 pass it down.
31745 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31746 elf_machine_rela, elf_machine_lazy_rel.
31747 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31748 (ELF_DYNAMIC_DO_REL): Likewise.
31749 (ELF_DYNAMIC_DO_RELA): Likewise.
31750 (ELF_DYNAMIC_RELOCATE): Likewise.
31751 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31752 to ELF_DYNAMIC_DO_REL.
31753 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31754 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31755 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31756 elf_machine_rela.
31757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31758 skip_ifunc, don't call ifunc function if non-zero.
31759 (elf_machine_rela): Likewise.
31760 (elf_machine_lazy_rel): Likewise.
31761 (elf_machine_lazy_rela): Likewise.
31762 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31763 (elf_machine_lazy_rel): Likewise.
31764 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31765 Likewise.
31766 (elf_machine_lazy_rel): Likewise.
31767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31768 Likewise.
31769 (elf_machine_lazy_rel): Likewise.
31770 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31771 (elf_machine_lazy_rel): Likewise.
31772 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31773 (elf_machine_lazy_rel): Likewise.
31774 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31775 (elf_machine_lazy_rel): Likewise.
31776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31777 (elf_machine_lazy_rel): Likewise.
31778 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31779 (elf_machine_lazy_rel): Likewise.
31780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31781 (elf_machine_lazy_rel): Likewise.
31782
68577918
UD
317832011-09-28 Ulrich Drepper <drepper@gmail.com>
31784
31785 * nss/nss_files/files-init.c (_nss_files_init): Use static
31786 initialization for all the *_traced_file variables.
31787
68822d74
AS
317882011-09-28 Andreas Schwab <schwab@redhat.com>
31789
31790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31791
2056100b
RM
317922011-09-27 Roland McGrath <roland@hack.frob.com>
31793
31794 [BZ #13226]
31795 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31796
32c76b63
AS
317972011-09-27 Andreas Schwab <schwab@redhat.com>
31798
31799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31800 Reread the line before reparsing it.
31801
bf972c9d
AS
318022011-09-26 Andreas Schwab <schwab@redhat.com>
31803
31804 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31805
e057a1b5
JM
318062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31807 Maxim Kuvyrkov <maxim@codesourcery.com>
31808 Joseph Myers <joseph@codesourcery.com>
31809
31810 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31811 if needed for __stack_chk_guard.
31812
bc7e1c36
RM
318132011-09-19 Roland McGrath <roland@hack.frob.com>
31814
ecb1482f
RM
31815 * sysdeps/posix/spawni.c (script_execute): Always define it.
31816 It will be optimized away if unused.
31817 (maybe_script_execute): New function.
31818 (__spawni): Call it.
31819
bc7e1c36
RM
31820 * Makerules: Don't include tls.make.
31821 (config-tls): Always set to thread.
31822 * tls.make.c: File removed.
31823
1c3b002b
MF
318242011-09-19 Mike Frysinger <vapier@gentoo.org>
31825
31826 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31827 * config.make.in (CPPFLAGS-config): New substituted variable.
31828
2840865d
UD
318292011-09-15 Ulrich Drepper <drepper@gmail.com>
31830
88738eb6
UD
31831 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31832
cbf645a6 31833 [BZ #13192]
2840865d
UD
31834 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31835 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31836
b402e91a
RM
318372011-09-15 Roland McGrath <roland@hack.frob.com>
31838
31839 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31840 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31842 (CALL_FAIL): Likewise.
31843 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31844 (CALL_FAIL): Macro removed.
31845 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31846
4c1a1f71
UD
318472011-09-15 Ulrich Drepper <drepper@gmail.com>
31848
31849 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31850 for __FINITE_MATH_ONLY__ == 1.
31851
edc121be
AS
318522011-09-15 Andreas Schwab <schwab@redhat.com>
31853
31854 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31855 __ieee754_sqrt instead of sqrt.
31856 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31857 __ieee754_sqrtf instead of sqrtf.
31858 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31859 __floorf instead of floorf.
31860 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31861 __floorf, __truncf instead of floorf, truncf.
31862
cd205654
UD
318632011-09-14 Ulrich Drepper <drepper@gmail.com>
31864
ee4d0315
UD
31865 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31866
cd205654
UD
31867 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31868 __extern_always_inline.
31869 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31870 32-bit.
31871
48b67d71
AS
318722011-09-14 Andreas Schwab <schwab@redhat.com>
31873
31874 * elf/rtld.c (dl_main): Also relocate in dependency order when
31875 doing symbol dependency testing.
31876
1ae12c75
AS
318772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31878
31879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31880 Always define `refsym'.
31881
995a80df
AS
318822011-09-13 Andreas Schwab <schwab@redhat.com>
31883
e529793b
AS
31884 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31885 (__FD_ELT): Renamed from __FDELT.
31886 * misc/bits/select2.h (__FD_ELT): Likewise.
31887 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31888 __FD_MASK instead of __FDELT, __FDMASK.
31889 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31890 Likewise.
31891 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31892 Likewise.
31893
52d4fef8
AS
31894 * elf/Makefile (gen-ldd): Fix pattern.
31895
995a80df
AS
31896 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31897 (init_tls): Likewise.
31898
8682f8b0
UD
318992011-09-12 Ulrich Drepper <drepper@gmail.com>
31900
31901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31902
de82006d
AS
319032011-09-12 Andreas Schwab <schwab@redhat.com>
31904
a7c8e6a1
AS
31905 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31906 `struct cmsghdr *' instead of `void *'.
31907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31908 Likewise.
31909
0f31fe77
AS
319102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31911
31912 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31913 if non-absolute.
31914 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31915 ldd_rewrite_script.
0f31fe77 31916
32b4c839
UD
319172011-09-11 Ulrich Drepper <drepper@gmail.com>
31918
83cd1420
UD
31919 * configure.in: Remove --with-tls option.
31920 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31921 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31922 out in case it is missing.
31923 * sysdeps/ia64/elf/configure.in: Likewise.
31924 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31925 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31926 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31927 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31928 * sysdeps/sh/elf/configure.in: Likewise.
31929 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31930 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31931 * sysdeps/x86_64/elf/configure.in: Likewise.
31932 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31933 * sysdeps/mach/hurd/tls.h: Likewise.
31934
633f745d
UD
31935 [BZ #13067]
31936 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31937
f318beb8
UD
31938 [BZ #13090]
31939 * configure.in: Fix use of AC_INIT.
31940
32b4c839
UD
31941 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31942
3ce1f295
UD
319432011-09-10 Ulrich Drepper <drepper@gmail.com>
31944
bb016596
UD
31945 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31946 __set_errno.
8e58439c
UD
31947 * malloc/hooks.c: Likewise.
31948
aebae053 31949 [BZ #11929]
02d46fc4
UD
31950 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31951 variables statically.
31952 (narenas): Initialize.
31953 (list_lock): Initialize.
bb016596
UD
31954 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31955 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31956 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31957 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31958 Add initializers to main_arena and mp_.
31959 (malloc_state): Remove pagesize member. Change all users to use
31960 GLRO(dl_pagesize).
31961
31962 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31963 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31964 is always initialized.
31965
22a89187
UD
31966 * malloc/malloc.c: Removed unused configurations and dead code.
31967 * malloc/arena.c: Likewise.
31968 * malloc/hooks.c: Likewise.
02d46fc4 31969 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31970
d063d164
UD
31971 * include/tls.h: Removed. USE___THREAD must always be defined.
31972 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31973 * elf/dl-libc.c: Likewise.
31974 * elf/dl-tsd.c: Likewise.
31975 * include/errno.h: Likewise.
31976 * include/netdb.h: Likewise.
31977 * include/resolv.h: Likewise.
31978 * inet/herrno-loc.c: Likewise.
31979 * inet/herrno.c: Likewise.
31980 * malloc/arena.c: Likewise.
31981 * malloc/hooks.c: Likewise.
31982 * malloc/malloc.c: Likewise.
31983 * resolv/res-state.c: Likewise.
31984 * resolv/res_libc.c: Likewise.
31985 * sysdeps/i386/dl-machine.h: Likewise.
31986 * sysdeps/ia64/dl-machine.h: Likewise.
31987 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31988 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31989 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31990 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31991 * sysdeps/sh/dl-machine.h: Likewise.
31992 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31993 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31994 * sysdeps/unix/i386/sysdep.S: Likewise.
31995 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31996 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32001 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32005 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32006 * sysdeps/x86_64/dl-machine.h: Likewise.
32007 * tls.make.c: Likewise.
32008
3ce1f295
UD
32009 * configure.in: Remove --with-__thread option. Make tests for
32010 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32011 tls_model attribute fail if no support is available. Remove
32012 USE_IN_LIBIO.
32013 * Makeconfig: Adjust for dropped configure option. All features are
32014 now mandatory.
32015 * Makerules: Likewise.
32016 * Versions.def: Likewise.
32017 * argp/argp-fmtstream.c: Likewise.
32018 * argp/argp-fmtstream.h: Likewise.
32019 * argp/argp-help.c: Likewise.
32020 * assert/assert.c: Likewise.
32021 * config.h.in: Likewise.
32022 * config.make.in: Likewise.
32023 * configure: Likewise.
32024 * configure.in: Likewise.
32025 * csu/Versions: Likewise.
32026 * csu/init.c: Likewise.
32027 * elf/tst-audit2.c: Likewise.
32028 * elf/tst-tls10.c: Likewise.
32029 * elf/tst-tls10.h: Likewise.
32030 * elf/tst-tls11.c: Likewise.
32031 * elf/tst-tls12.c: Likewise.
32032 * elf/tst-tls14.c: Likewise.
32033 * elf/tst-tlsmod11.c: Likewise.
32034 * elf/tst-tlsmod12.c: Likewise.
32035 * elf/tst-tlsmod13.c: Likewise.
32036 * elf/tst-tlsmod13a.c: Likewise.
32037 * elf/tst-tlsmod14a.c: Likewise.
32038 * elf/tst-tlsmod15b.c: Likewise.
32039 * elf/tst-tlsmod16a.c: Likewise.
32040 * elf/tst-tlsmod16b.c: Likewise.
32041 * elf/tst-tlsmod7.c: Likewise.
32042 * elf/tst-tlsmod8.c: Likewise.
32043 * elf/tst-tlsmod9.c: Likewise.
32044 * gmon/gmon.c: Likewise.
32045 * grp/fgetgrent_r.c: Likewise.
32046 * grp/putgrent.c: Likewise.
32047 * hurd/fopenport.c: Likewise.
32048 * include/libc-symbols.h: Likewise.
32049 * include/tls.h: Likewise.
32050 * intl/gettextP.h: Likewise.
32051 * intl/loadinfo.h: Likewise.
32052 * locale/global-locale.c: Likewise.
32053 * locale/localeinfo.h: Likewise.
32054 * mach/devstream.c: Likewise.
32055 * malloc/arena.c: Likewise.
32056 * malloc/set-freeres.c: Likewise.
32057 * misc/err.c: Likewise.
32058 * misc/getttyent.c: Likewise.
32059 * misc/mntent_r.c: Likewise.
32060 * posix/getopt.c: Likewise.
32061 * posix/wordexp.c: Likewise.
32062 * pwd/fgetpwent_r.c: Likewise.
32063 * resolv/Versions: Likewise.
32064 * resolv/res_hconf.c: Likewise.
32065 * shadow/fgetspent_r.c: Likewise.
32066 * shadow/putspent.c: Likewise.
32067 * stdio-common/printf_fphex.c: Likewise.
32068 * stdio-common/tmpfile.c: Likewise.
32069 * stdlib/abort.c: Likewise.
32070 * stdlib/fmtmsg.c: Likewise.
32071 * sunrpc/auth_unix.c: Likewise.
32072 * sunrpc/clnt_perr.c: Likewise.
32073 * sunrpc/clnt_tcp.c: Likewise.
32074 * sunrpc/clnt_udp.c: Likewise.
32075 * sunrpc/clnt_unix.c: Likewise.
32076 * sunrpc/openchild.c: Likewise.
32077 * sunrpc/svc_simple.c: Likewise.
32078 * sunrpc/svc_tcp.c: Likewise.
32079 * sunrpc/svc_udp.c: Likewise.
32080 * sunrpc/svc_unix.c: Likewise.
32081 * sunrpc/xdr.c: Likewise.
32082 * sunrpc/xdr_array.c: Likewise.
32083 * sunrpc/xdr_rec.c: Likewise.
32084 * sunrpc/xdr_ref.c: Likewise.
32085 * sunrpc/xdr_stdio.c: Likewise.
32086
1248c1c4
PB
320872011-09-09 Ulrich Drepper <drepper@gmail.com>
32088
32089 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32090
320912011-07-03 Andreas Jaeger <aj@suse.de>
32092
32093 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32094 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32095 regenerate with gen-libm-tests.pl.
32096
320972010-05-12 Petr Baudis <pasky@suse.cz>
32098
32099 [BZ #11589]
32100 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32101 around j0() zero points by switching to j1().
32102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32103 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32106
f22e1074
UD
321072011-09-09 Ulrich Drepper <drepper@gmail.com>
32108
f19009c1
UD
32109 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32110 instead of 0.
32111 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32112 instead of 0.
f19009c1
UD
32113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32114 Patch in part by Pavel Roskin <proski@gnu.org>.
32115
3f8cc204
UD
32116 [BZ #13138]
32117 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32118 realloc.
32119 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32120 Free memory block if necessary.
32121
f22e1074
UD
32122 [BZ #12847]
32123 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32124 be NULL. Don't lock in this case.
32125
0a2349f9
RM
321262011-09-09 Roland McGrath <roland@hack.frob.com>
32127
32128 * elf/elf.h (ELFOSABI_GNU): New macro.
32129 (ELFOSABI_LINUX): Define to that.
32130
f3cdd467
DZ
321312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32132
32133 * string/strncat.c (strncat): Undef the symbol in case it has been
32134 defined in bits/string.h.
32135
74718d13
UD
321362011-09-09 Ulrich Drepper <drepper@gmail.com>
32137
633e9e0f
UD
32138 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32139
0a2349f9 32140 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32141 link map.
32142
f9924780
AJ
321432011-08-17 Andreas Jaeger <aj@suse.de>
32144
32145 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32146
7f5517aa
PP
321472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32148 Ian Lance Taylor <iant@google.com>
32149
32150 * math/libm-test.inc (lround_test): New testcase.
32151 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32152
762011fe
UD
321532011-09-08 Ulrich Drepper <drepper@gmail.com>
32154
92963737
UD
32155 * Makefile: Remove support for automatic cvs check-ins.
32156 * Makerules: Likewise.
32157 * config.make.in: Likewise.
32158 * configure.in: Likewise.
32159 * intl/Makefile: Likewise.
32160 * locale/Makefile: Likewise.
32161 * po/Makefile: Likewise.
32162 * posix/Makefile: Likewise.
32163 * sysdeps/gnu/Makefile: Likewise.
32164 * sysdeps/mach/hurd/Makefile: Likewise.
32165 * sysdeps/sparc/sparc32/Makefile: Likewise.
32166
b0727fd8
JS
32167 [BZ #13118]
32168 * posix/Makefile (bug-regex32-ENV): Define.
32169 Patch by John Stanley <jpsinthemix@verizon.net>.
32170
a0f33f99
UD
32171 * misc/Makefile (headers): Add bits/select2.h.
32172 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32173 * misc/bits/select2.h: New file.
32174 * include/bits/select2.h: New file.
32175 * debug/Makefile (routines): Add fdelt_chk.
32176 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32177 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32178 FD_ISSET.
32179 * debug/fdelt_chk.c: New file.
32180
762011fe
UD
32181 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32182 * wcsmbs/test-wmemcmp.c: Likewise.
32183 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32184 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32185
321862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32187
32188 * string/Makefile (strop-tests): Add memcmp.
32189 * string/test-wmemcmp.c: New file.
32190 * string/test-memcmp.c: Add wmemcmp support.
32191
7f513ec8
RM
321922011-09-08 Roland McGrath <roland@hack.frob.com>
32193
0442afb4
RM
32194 [BZ #13153]
32195 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32196 2011-07-19 change.
32197
7f513ec8
RM
32198 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32199 garbage value in a __mach_port_mod_refs call in the cases of the
32200 task-self and thread-self ports.
32201
a12b2239
ST
322022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32203
32204 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32205
610f9ab4
AS
322062011-09-08 Andreas Schwab <schwab@redhat.com>
32207
7f513ec8 32208 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32209
48882a1a
LD
322102011-09-07 Ulrich Drepper <drepper@gmail.com>
32211
b49865be
UD
32212 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32213
fdc86bc9
UD
32214 * elf/dl-libc.c (dlerror_run): Pass back error code from
32215 dl_catch_error.
32216
c966526a
UD
32217 [BZ #13123]
32218 * elf/dl-load.c (lose): Free l_origin if it is valid.
32219
48882a1a
LD
32220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32221 names.
32222 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32223 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32224 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32225 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32227 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32228
77a2a8b4
AZ
322292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32230
32231 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32232 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32233 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32234 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32235 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32236 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32237 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32238 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32239 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32240 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32241
24f579d8
AM
322422011-08-15 Alan Modra <amodra@gmail.com>
32243
32244 [BZ #13092]
32245 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32246 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32247 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32248 ppc_mcount to static-only-routines.
32249 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32250 __mcount_internal.
32251 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32252 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32253
3d4837df
UD
322542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32255
32256 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32257 for finite and infinity parameters.
32258
22700377
WS
322592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32260
32261 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32262 and add nop instructions for throughput optimization.
32263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32264
5025581e
WS
322652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32266
32267 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32268 aligned copy for power7 with vector-scalar instructions.
32269 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32270
08a300c9
L
322712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32272
32273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32274 AVX check.
32275
59178ef9
AS
322762011-09-07 Andreas Schwab <schwab@redhat.com>
32277
32278 [BZ #13144]
32279 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32280 last change.
32281
e38ba7ab
UD
322822011-09-07 Ulrich Drepper <drepper@gmail.com>
32283
32284 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32285 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32286 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32287 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32288 clock_gettime.
32289
d53a73ac
UD
322902011-09-06 Ulrich Drepper <drepper@gmail.com>
32291
fc8bffcc
UD
32292 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32293 Forgot to demangle the pointer.
32294
ceaa0c5d
UD
32295 * sysdeps/i386/sysdep.h: Define atom_text_section.
32296 * sysdeps/x86_64/sysdep.h: Likewise.
32297 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32298 section with atom_text_section.
32299 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32301 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32303 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32304
a77d3c17
UD
32305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32306 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32307 already be defined. Change to take two parameters and don't assign
32308 result to variable. Adjust all users.
32309 Define INTERNAL_GETTIME if not already defined.
32310 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32311 call.
32312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32313 HAVE_CLOCK_GETTIME_VSYSCALL.
32314 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32315
d53a73ac
UD
32316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32317 gettimeofday vsyscall, just use time.
32318
a8f84144
AS
323192011-09-06 Andreas Schwab <schwab@redhat.com>
32320
32321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32322 <errno.h>.
32323
ef606249
UD
323242011-09-06 Ulrich Drepper <drepper@gmail.com>
32325
32326 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32327 syscall on x86-64.
32328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32329 syscall.
32330 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32332 syscall if possible.
32333
6585cb60
UD
323342011-09-05 Ulrich Drepper <drepper@gmail.com>
32335
32336 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32337 e_ident. Don't pass to find_mapsXX.
32338 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32339
a5f524e4
LD
323402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32341
32342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32343 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32344 * sysdeps/x86_64/multiarch/strchr.S: Update.
32345 Check bit_slow_BSF bit.
32346 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32347 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32349
554881ef
UD
323502011-09-05 Ulrich Drepper <drepper@gmail.com>
32351
d96de963
UD
32352 [BZ #13134]
32353 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32354 before glibc 2.15.
32355 (tryshell): Define.
32356 (__spawni): Change last parameter to be flag. Test
32357 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32358 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32359 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32360 * posix/spawni.c: Likewise.
32361 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32362 * posix/spawnp.c: Likewise. Change normal version to use
32363 SPAWN_XFLAGS_USE_PATH.
32364 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32365 SPAWN_XFLAGS_TRY_SHELL.
32366
d48e5868
UD
32367 [BZ #13150]
32368 * posix/glob.h: Remove gcc 1.x support.
32369
554881ef
UD
32370 [BZ #13068]
32371 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32372
693fb948
LD
323732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32374
32375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32376 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32377 strrchr-sse2-bsf
32378 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32379 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32380 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32382 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32383 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32384
1b48c537
UD
323852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32386
49d42c37
UD
32387 * sysdeps/x86_64/wcscmp.S: New file.
32388
1b48c537
UD
32389 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32390 wcscmp-c wcscmp-sse2
32391 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32392 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32393 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32394 * wcsmbs/wcscmp.c: Allow renaming.
32395
15c95c5d
DM
323962011-09-05 David S. Miller <davem@davemloft.net>
32397
32398 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32399 stack slot, rather than the struct return pointer slot.
32400 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32401 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32403 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32404
2f0ad8f3
UD
324052011-09-05 Ulrich Drepper <drepper@gmail.com>
32406
d88ae418
UD
32407 * po/ja.po: Update from translation team.
32408
2f0ad8f3
UD
32409 [BZ #13144]
32410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32411 kernel in 64-bit binaries.
32412
5f4318d1
DM
324132011-09-01 David S. Miller <davem@davemloft.net>
32414
32415 * elf/elf.h (HWCAP_SPARC_*): Move to..
32416 * sysdeps/sparc/sysdep.h: this new file and add new values.
32417 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32418 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32419 _DL_HWCAP_COUNT to 24.
32420 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32421 entries.
32422 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32423 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32424 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32426 instead of magic constants.
32427 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32428
3ba57516
DM
324292011-08-31 David S. Miller <davem@davemloft.net>
32430
32431 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32433 Reimplement to do errno handling inline.
32434 (SYSCALL_ERROR_HANDLER): New macro.
32435 (__SYSCALL_STRING): Do not do errno handling in asm.
32436 (__CLONE_SYSCALL_STRING): Delete.
32437 (__INTERNAL_SYSCALL_STRING): Delete.
32438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32439 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32440 (PSEUDO): Reimplement to do errno handling inline.
32441 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32442 (SYSCALL_ERROR_HANDLER): New macro.
32443 (__SYSCALL_STRING): Do not do errno handling in asm.
32444 (__CLONE_SYSCALL_STRING): Delete.
32445 (__INTERNAL_SYSCALL_STRING): Delete.
32446 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32447 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32448 i386.
32449 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32450 (inline_syscall*): Add 'err' argument.
32451 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32452 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32453 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32454 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32455
32456 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32457 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32458
2bc17433
AS
324592011-08-30 Andreas Schwab <schwab@redhat.com>
32460
32461 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32462
fbeb5f4d
JO
324632011-08-29 Jiri Olsa <jolsa@redhat.com>
32464
32465 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32466 directive.
32467
ad69cc26
DM
324682011-08-24 David S. Miller <davem@davemloft.net>
32469
32470 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32471
39dd69df
AS
324722011-08-24 Andreas Schwab <schwab@redhat.com>
32473
32474 * elf/Makefile: Add rules to build and run unload8 test.
32475 * elf/unload8.c: New file.
32476 * elf/unload8mod1.c: New file.
32477 * elf/unload8mod1x.c: New file.
32478 * elf/unload8mod2.c: New file.
32479 * elf/unload8mod3.c: New file.
32480
32481 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32482 it wasn't used.
32483
2c0b250a
DM
324842011-08-23 David S. Miller <davem@davemloft.net>
32485
32486 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32487 subtract stack bias.
32488 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32489 %sp not %fp in calculations.
32490 (_JMPBUF_UNWINDS_ADJ): Likewise.
32491
22044b48
DM
32492 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32493 (aio_suspend): Call it to force an exception region around the
32494 AIO_MISC_WAIT() invocation.
32495
2cae4995
AS
324962011-08-23 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32499 backslash.
32500
873a772e
AJ
325012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32502
32503 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32504 protection macro.
32505 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32506 and <dl-machine.h>.
32507 (Elf64_FuncDesc): Remove.
32508
25ad0df1
DM
325092011-08-22 David S. Miller <davem@davemloft.net>
32510
32511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32512 sigaltstack check, add missing cfi directives.
32513 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32514 missing cfi directives, and sigaltstack handling.
32515
e888bcbe
AS
325162011-08-16 Andreas Schwab <schwab@redhat.com>
32517
32518 [BZ #11724]
32519 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32520 object is seen twice.
32521 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32522
32523 * elf/Makefile (distribute): Add tst-initorder2.c.
32524 (tests): Add tst-initorder2.
32525 (modules-names): Add tst-initorder2a tst-initorder2b
32526 tst-initorder2c tst-initorder2d. Add rules to build them.
32527 ($(objpfx)tst-initorder2.out): New rule.
32528 * elf/tst-initorder2.c: New file.
32529 * elf/tst-initorder2.exp: New file.
32530
87162f46
AS
325312011-08-22 Andreas Schwab <schwab@redhat.com>
32532
70538b7f
AS
32533 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32534
f55ffe58
AS
32535 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32536 dependencies back to end of function.
32537
87162f46
AS
32538 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32539 $(elfobjdir)/ld.so.
32540
91b392a4
UD
325412011-08-21 Ulrich Drepper <drepper@gmail.com>
32542
32543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32544 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32546 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32547 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32548 of __vdso_gettimeofday.
32549 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32550 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32551 attribute_hidden.
32552 (_libc_vdso_platform_setup): Remove initialization of
32553 __vdso_gettimeofday and __vdso_time.
32554
5c43483f
UD
325552011-08-20 Ulrich Drepper <drepper@gmail.com>
32556
775a77e7
UD
32557 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32558 and fgetc_unlocked.
32559 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32560 getc_unlocked.
89f447ed 32561
49c74ba9
UD
32562 * elf/dl-open.c (add_to_global): Report additions to the global scope
32563 for LD_DEBUG=scopes.
32564 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32565 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32566
5c43483f
UD
32567 [BZ #13114]
32568 * stdio-common/Makefile (tests): Add bug24.
32569 * stdio-common/bug24.c: New file.
32570
a101b025
AJ
325712011-08-19 Andreas Jaeger <aj@suse.de>
32572
32573 [BZ #13114]
32574 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32575 non-existant file when using close-on-exec mode.
32576
c88f1766
UD
325772011-08-20 Ulrich Drepper <drepper@gmail.com>
32578
0276a718
UD
32579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32580 the very first instruction.
32581
c88f1766
UD
32582 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32583 the CFI state in the end.
32584 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32585 inclusion of dl-trampoline.h.
32586 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32587
51ccffa0
AS
325882011-08-19 Andreas Schwab <schwab@redhat.com>
32589
94d7165f
AS
32590 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32591 expectations for long double.
32592
51ccffa0
AS
32593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32594 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32595
fd708658 325962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32597
32598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32599 artificual limit depends upon the system page size.
32600
44f0a71e
UD
326012011-08-17 Ulrich Drepper <drepper@gmail.com>
32602
32603 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32604 * resolv/Makefile: Define CFLAGS-libresolv.
32605
8de79a24
AS
326062011-08-17 Andreas Schwab <schwab@redhat.com>
32607
32608 * nss/makedb.c (compute_tables): Make variables used in nested
32609 function static.
32610
27724598
UD
326112011-08-17 Ulrich Drepper <drepper@gmail.com>
32612
c5305d88
UD
32613 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32614 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32615 if buffer was too small.
32616
27724598
UD
32617 * elf/pldd.c (main): Attach to all threads in the process.
32618 Rewrite /proc handling to use *at functions.
32619
076fe015
UD
326202011-08-16 Ulrich Drepper <drepper@gmail.com>
32621
174baab3
UD
32622 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32623 specifies first scope to show.
32624 (dl_open_worker): Update callers. Move printing scope of new
32625 object to before the relocation.
44f0a71e 32626 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32627 * sysdeps/generic/ldsodefs.h: Update declaration.
32628
076fe015
UD
32629 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32630 string for the scope number.
32631
a60df2c3
UD
326322011-08-14 Ulrich Drepper <drepper@gmail.com>
32633
32634 * nscd/servicescache.c (cache_addserv): Make sure written is always
32635 initialized.
32636
5e4287d1
RM
326372011-08-14 Roland McGrath <roland@hack.frob.com>
32638
85ae0589
RM
32639 * sysdeps/i386/i486/bits/atomic.h
32640 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32641 statement expression, so as to suppress "set but not used" warning.
32642 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32643
69f63097
RM
32644 * string/strncat.c (STRNCAT): Use prototype definition.
32645
675456ef
RM
32646 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32647 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32648 -Iprograms here.
32649 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32650 (localedef-modules): Add localedef.
32651 (locale-modules): Add locale.
32652
5e4287d1
RM
32653 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32654 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32655 to avoid a warning.
32656
9c96ff23
DM
326572011-08-14 David S. Miller <davem@davemloft.net>
32658
32659 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32660 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32661
f9ddf089
UD
326622011-08-13 Ulrich Drepper <drepper@gmail.com>
32663
44f0a71e 32664 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32665 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32666 * elf/rtld.c (dl_main): Set l_name of vDSO.
32667 Call _dl_show_scope when DL_DEBUG_SCOPES.
32668 (process_dl_debug): Recognize scopes flag and also set it for all.
32669 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32670 Declare _dl_show_scope.
32671
1dc27704
UD
32672 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32673 (do_dlopen): Pass caller_dlopen to dl_open.
32674 (__libc_dlopen_mode): Initialize caller_dlopen.
32675
f9ddf089
UD
32676 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32677 of libc. Make tolower call locale-independent. Optimize a bit by
32678 using isdigit instead of isalnum.
32679 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32680
9ac533d3
UD
326812011-08-12 Ulrich Drepper <drepper@gmail.com>
32682
32683 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32684 was a dependency or dynamically loaded.
32685
89edf2e9
UD
326862011-08-11 Ulrich Drepper <drepper@gmail.com>
32687
8e999d29
UD
32688 * intl/l10nflist.c: Allow architecture-specific pop function.
32689 * sysdeps/x86_64/l10nflist.c: New file.
32690
89edf2e9
UD
32691 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32692 classification.
32693
14d96785
AS
326942011-08-10 Andreas Schwab <schwab@redhat.com>
32695
32696 * include/dirent.h: Add libc_hidden_proto for scandirat and
32697 scandirat64. Don't declare __scandirat64.
32698 * dirent/scandirat.c: Add libc_hidden_def.
32699 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32700 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32701
6761ac04
DM
327022011-08-10 David S. Miller <davem@davemloft.net>
32703
32704 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32705 enum.
32706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32709
c55fbd1e
UD
327102011-08-09 Ulrich Drepper <drepper@gmail.com>
32711
32712 * Versions.def [libc]: Add GLIBC_2.15.
32713 * dirent/Makefile (routines): Add scandirat and scandirat64.
32714 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32715 GLIBC_2.15.
32716 * dirent/dirent.h: Declare scandirat and scandirat64.
32717 * dirent/scandirat.c: New file.
32718 * dirent/scandirat64.c: New file.
32719 * sysdeps/wordsize-64/scandirat.c: New file.
32720 * sysdeps/wordsize-64/scandirat64.c: New file.
32721 * dirent/opendir.c: Define opendirat.
32722 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32723 using scandirat.
32724 * dirent/scandir64.c: Adjust for scandir.c change.
32725 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32726 __scandirat64, and __scandir_cancel_handler.
32727 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32728 additional parameter and use openat instead of open (outside of ld.so).
32729 Add new __opendir as wrapper around __opendirat.
32730 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32731 here without requiring old scandirat implementation.
32732
879165f2
UD
327332011-08-08 Ulrich Drepper <drepper@gmail.com>
32734
32735 * dirent/scandir.c (cancel_handler): Renamed to
32736 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32737 defined. Adjust users.
32738 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32739 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32740
cb7e923b
UD
327412011-08-04 Ulrich Drepper <drepper@gmail.com>
32742
16292edd
UD
32743 * string/test-string.h (IMPL): Use __STRING to expand name and then
32744 stringify it.
32745
cb7e923b
UD
32746 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32747 of cleanups.
32748
cff82933
LD
327492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32750
32751 * string/Makefile: Update.
32752 (strop-tests): Append strncat.
32753 * string/test-wcscmp.c: New file.
32754 New comprehensive test for wcscmp.
32755 * string/test-strcmp.c: Update.
32756 (WIDE): New define.
32757
9be9bfcc
AS
327582011-07-22 Andreas Schwab <schwab@redhat.com>
32759
32760 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32761 line.
32762
2e96f1c7
AS
327632011-07-26 Andreas Schwab <schwab@redhat.com>
32764
32765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32766 encoding to ACE if AI_IDN.
32767
85188888
JJ
327682011-08-01 Jakub Jelinek <jakub@redhat.com>
32769
32770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32771 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32772
5fa16e9b
LD
327732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32774
32775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32776 Fix overflow bug in strncat.
32777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32778
32779 * string/test-strncat.c: Update.
32780 Add new tests for checking overflow bugs.
32781
327822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32783
32784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32785 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32786 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32787 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32789 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32790 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32791 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32792 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32793
32794 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32795 (USE_AS_STRCAT): Define.
32796 Add strcat and strncat support.
32797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32798
8c1a459f
AS
327992011-07-25 Andreas Schwab <schwab@redhat.com>
32800
32801 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32802 __n bigger than INT_MAX+1.
32803 (__strncmp_g): Likewise.
32804
bba33c28
UD
328052011-07-23 Ulrich Drepper <drepper@gmail.com>
32806
798be72d
UD
32807 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32808 * libio/stido.h: Likewise.
32809
8accd4dc
UD
32810 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32811 (AF_NFC): Define.
32812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32813 (AF_NFC): Define.
32814
cbff0d96
UD
32815 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32816 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32818 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32820
9191c04a
UD
32821 [BZ #13021]
32822 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32823 installed.
32824
bba33c28
UD
32825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32826 typo.
32827 (_dl_x86_64_save_sse): Likewise.
32828
90f139dd
UD
328292011-07-22 Ulrich Drepper <drepper@gmail.com>
32830
1aae088a
UD
32831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32832 OSXSAVE.
32833 (_dl_x86_64_save_sse): Likewise.
32834
8e2045f5
UD
32835 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32836
90f139dd
UD
32837 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32838
1d002f25
AS
328392011-07-21 Andreas Schwab <schwab@redhat.com>
32840
32841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32842 change.
32843 (_dl_x86_64_save_sse): Use correct AVX check.
32844
21137f89
UD
328452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32846
32847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32848 bug in strncpy/strncat.
32849 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32850
a65c0b7a
UD
328512011-07-21 Ulrich Drepper <drepper@gmail.com>
32852
32853 * string/tester.c (test_strcat): Add tests for different alignments
32854 of source and destination.
32855 (test_strncat): Likewise.
32856
6986b98a
UD
328572011-07-20 Ulrich Drepper <drepper@gmail.com>
32858
90bb2039
UD
32859 [BZ #12852]
32860 * posix/glob.c (glob): Check passed in values before using them in
32861 expressions to avoid some overflows.
32862 (glob_in_dir): Likewise.
32863
5644ef54
UD
32864 [BZ #13007]
32865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32866 check for AVX enablement so that we don't crash with old kernels and
32867 new hardware.
32868 * elf/tst-audit4.c: Add same checks here.
32869 * elf/tst-audit6.c: Likewise.
32870
32871 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32872
bfc9dc9b
AS
328732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32874
32875 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32876
702e64bb
UD
328772011-07-20 Ulrich Drepper <drepper@gmail.com>
32878
32879 * po/cs.po: Update from translation team.
32880 * po/bg.po: Likewise.
32881
295e904f
MP
328822011-07-12 Marek Polacek <mpolacek@redhat.com>
32883
32884 * misc/sys/cdefs.h: Add support for const attribute.
32885 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32886 to gnu_dev_{major,minor,makedev} functions.
32887
3ff94596
MP
328882011-07-20 Marek Polacek <mpolacek@redhat.com>
32889
32890 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32891
28b59fca
AS
328922011-07-20 Andreas Schwab <schwab@redhat.com>
32893
32894 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32895 strlen results.
32896
19df733e
AK
328972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32898
32899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32900 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32901 register in order to avoid conflicts with the soft frame pointer
32902 being held in r11 when necessary.
32903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32904 (INTERNAL_VSYSCALL_NCS): Likewise.
32905
c8835729
MP
329062011-07-14 Marek Polacek <mpolacek@redhat.com>
32907
32908 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32909 * elf/dl-fini.c (_dl_fini): Adjust caller.
32910 * elf/dl-close.c (_dl_close_worker): Likewise.
32911 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32912
b902330c
MP
329132011-07-15 Marek Polacek <mpolacek@redhat.com>
32914
8991e135
MP
32915 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32916 "aux_cache->nlibs < 0".
32917
b902330c
MP
32918 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32919 in the reload-count case.
32920
99710781
LD
329212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32922
32923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32924 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32925 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32926 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32927 * sysdeps/x86_64/multiarch/strcat.S: New file.
32928 * sysdeps/x86_64/multiarch/strncat.S: New file.
32929 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32930 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32931 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32932 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32933 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32934 (USE_AS_STRCAT): Define.
32935 Add strcat and strncat support.
32936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32938 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32939 * string/strncat.c: Update.
32940 (USE_AS_STRNCAT): Define.
32941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32942 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32943 and i7.
32944 * sysdeps/x86_64/multiarch/init-arch.h
32945 (bit_Prefer_PMINUB_for_stringop): New.
32946 (index_Prefer_PMINUB_for_stringop): Likewise.
32947 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32948 bit_Prefer_PMINUB_for_stringop.
32949
7dc6bd90
UD
329502011-07-19 Ulrich Drepper <drepper@gmail.com>
32951
32952 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32953 buffer64.
32954 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32955 of casting of buffer.
32956 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32957 buffer32 and buffer64.
32958 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32959 writes instead of casting of buffer.
32960 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32961 buffer32.
32962 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32963 casting of buffer.
32964
e0e72284
AS
329652011-07-19 Andreas Schwab <schwab@redhat.com>
32966
32967 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32968
feb1eb0b
UD
329692011-07-19 Ulrich Drepper <drepper@gmail.com>
32970
32971 * nscd/nscd.c (termination_handler): Don't do anything for a database
32972 if it has not yet been initialized.
32973
298711ff
UD
329742011-07-18 Ulrich Drepper <drepper@gmail.com>
32975
32976 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32977
329782011-07-15 Marek Polacek <mpolacek@redhat.com>
32979
32980 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32981
f9d68389
UD
329822011-07-18 Ulrich Drepper <drepper@gmail.com>
32983
32984 * po/nl.po: Update from translation team.
32985 * po/sv.po: Likewise.
32986
db290cf5
RM
329872011-07-16 Roland McGrath <roland@hack.frob.com>
32988
32989 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32990 now disallowed by GCC.
5c550700 32991
fd5e21c7
RM
32992 * configure.in (use-default-link): Default to yes if a test -shared
32993 link meets our qualifications.
32994 * configure: Regenerated.
32995
5c550700
RM
32996 * config.make.in (output-format): New variable.
32997 * configure.in: Check for ld --print-output-format support.
32998 * configure: Regenerated.
32999 * Makerules ($(common-objpfx)format.lds)
33000 [$(output-format) != unknown]: Just use $(output-format),
33001 instead of the linker-script munging.
33002
9fa2c032
RM
330032011-07-14 Roland McGrath <roland@hack.frob.com>
33004
a6928d51
RM
33005 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33006 of $(common-objpfx)shlib.lds.
33007 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33008
661607b3
RM
33009 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33010 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33011
9fa2c032
RM
33012 * configure.in (-z relro check): Adjust test code to add a large
33013 writable data section after it.
33014 * configure: Regenerated.
33015
defe9061
RM
330162011-07-11 Roland McGrath <roland@hack.frob.com>
33017
33018 * configure.in (-z relro check): Fix test code to make the variable
33019 truly const.
33020 * configure: Regenerated.
33021
319b9ad4
UD
330222011-07-11 Ulrich Drepper <drepper@gmail.com>
33023
33024 * nscd/nscd.h (struct traced_file): Define.
33025 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33026 elements. Add traced_files.
33027 (inotify_fd): Declare.
33028 (register_traced_file): Declare.
33029 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33030 (inotify_fd): Export.
33031 (resolv_conf_descr): Remove.
33032 (nscd_init): Move inotify descriptor creation to main.
33033 Don't register files for notification here.
33034 (register_traced_file): New function.
33035 (invalidate_cache): Don't use reset_res to determine whether to call
33036 res_init, go through the list of registered files.
33037 (main_loop_poll): The inotify descriptors are now stored in the
33038 structures for the traced files.
33039 (main_loop_epoll): Likewise
33040 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33041 to __nss_disable_nscd.
33042 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33043 for a database anymore. Check the records for all the registered
33044 files instead.
33045 * nss/Makefile (libnss_files-routines): Add files-init.
33046 (libnss_db-routines): Add db-init.
33047 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33048 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33049 * nss/nss_db/db-init.c: New file.
33050 * nss/nss_files/files-init.c: New file.
33051 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33052 __nss_lookup_function.
33053 (__nss_lookup_function): Call nss_load_library.
33054 (nss_load_all_libraries): New function.
33055 (__nss_disable_nscd): Take parameter with callback function for files
33056 to register. Set is_nscd. Load all the DSOs for the NSS modules
33057 used for the cached services.
33058 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33059 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33060 options for features to all the files in nscd.
33061
33062 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33063
23bee3e8
RM
330642011-07-10 Roland McGrath <roland@hack.frob.com>
33065
33066 * csu/elf-init.c (__libc_csu_init): Comment typo.
33067
46a5b7f0
UD
330682011-07-09 Ulrich Drepper <drepper@gmail.com>
33069
33070 * po/pl.po: Update from translation team.
33071 * po/ja.po: Likewise.
33072 * po/ru.po: Likewise.
33073 * po/ko.po: Likewise.
33074 * po/fr.po: Likewise.
33075
d30cf5bb
RM
330762011-07-09 Roland McGrath <roland@hack.frob.com>
33077
113ddea4
RM
33078 * configure.in (.ctors/.dtors header and trailer check):
33079 Use an empirical test on a built program.
33080 * configure: Regenerated.
33081
574920b4
RM
33082 * configure.in (-z relro check): Use an empirical test on a built DSO.
33083 Detect, but do not require, on ia64.
33084 * configure: Regenerated.
33085
d30cf5bb
RM
33086 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33087 Update tests that use readelf to use $READELF instead.
33088 * configure: Regenerated.
33089
8538fdb3
UD
330902011-07-08 Ulrich Drepper <drepper@gmail.com>
33091
33092 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33093 if the result is not used.
33094
04d08991
AJ
330952011-07-05 Andreas Jaeger <aj@suse.de>
33096
33097 [BZ#9696]
33098 * stdlib/tst-strtod.c: Add testcase.
33099
de283087
AD
331002011-07-07 Ulrich Drepper <drepper@gmail.com>
33101
4e5f31c8 33102 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33103 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33104 The latter has a higher limit. Take additional parameter to pass to
33105 the new function.
33106 (__pathconf): Pass file to __statfs_link_max.
33107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33108 __statfs_link_max.
33109 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33110 __statfs_link_max.
33111
de283087
AD
33112 [BZ #12868]
33113 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33115 Handle Lustre.
33116 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33117 (__statfs_filesize_max): Likewise.
33118 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33119
c75fa153
AJ
331202011-07-05 Andreas Jaeger <aj@suse.de>
33121
33122 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33123
1a544854
UD
331242011-07-06 Marek Polacek <mpolacek@redhat.com>
33125
33126 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33127 `status' variable.
33128 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33129 Likewise.
33130
6f0eec67
UD
331312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33132
33133 * Makefile (strop-tests): Add strncat.
33134 * string/test-strncat.c: New file.
33135
aae30307
UD
331362011-06-30 Marek Polacek <mpolacek@redhat.com>
33137
33138 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33139
c0cfb5eb
UD
331402011-06-21 Andreas Jaeger <aj@suse.de>
33141
33142 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33143 Copy rule from iconvdata/Makefile.
33144
01636b21
UD
331452011-07-06 Ulrich Drepper <drepper@gmail.com>
33146
33147 [BZ #12922]
33148 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33149 but no long options are defined, just return 'W'.
33150
9895c8bc
UD
331512011-06-22 Marek Polacek <mpolacek@redhat.com>
33152
33153 [BZ #9696]
33154 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33155
5d4cf042
UD
331562011-07-06 Ulrich Drepper <drepper@gmail.com>
33157
33158 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33159 netgroups to read.
960e5535 33160 (innetgr): Likewise.
5d4cf042 33161
751eb97e
RM
331622011-07-05 Roland McGrath <roland@hack.frob.com>
33163
33164 * config.make.in (install_root): Default to $(DESTDIR).
33165
f15f1e45
UD
331662011-07-05 Ulrich Drepper <drepper@gmail.com>
33167
33168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33169
4e34ac6a
RM
331702011-07-02 Roland McGrath <roland@hack.frob.com>
33171
5e9b6af4
RM
33172 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33173
84f9ea0f
RM
33174 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33175 containing directory rather than embedding absolute directory names.
33176
ea5ee9f7
RM
33177 * scripts/check-local-headers.sh: Rewritten using awk.
33178 Match by word, not by line. Print error messages for matches.
33179 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33180
1b74661a
RM
33181 * Makerules [shlib-lds-flags empty]:
33182 ($(common-objpfx)libc_pic.opts): New target.
33183 ($(common-objpfx)libc_pic.os.clean): New target.
33184 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33185
33186 * config.make.in (OBJCOPY): New variable.
33187 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33188 * configure: Regenerated.
33189
f781ef40
RM
33190 * config.make.in (use-default-link): New variable.
33191 * configure.in (use_default_link): Grok --with-default-link to set it.
33192 * configure: Regenerated.
33193 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33194 (shlib-lds, shlib-lds-flags): Define to empty.
33195
2d4fa81e
RM
33196 * Makerules (shlib-lds): New variable.
33197 (shlib-lds-flags): New variable.
33198 (build-shlib, build-moduile, build-module-asneeded): Use it.
33199 ($(common-objpfx)libc.so): Use $(shlib-lds).
33200 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33201 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33202
31fffa6b
RM
33203 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33204 DT_FLAGS/DT_FLAGS_1 with zero flags.
33205
4e34ac6a
RM
33206 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33207 linker script munging.
33208
fcfc776b
UD
332092011-07-02 Ulrich Drepper <drepper@gmail.com>
33210
33211 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33212 as 128-bit value.
33213 * crypt/sha512.c (sha512_process_block): Perform total addition using
33214 128-bit if possible.
33215 (__sha512_finish_ctx): Likewise.
33216 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33217 as 64-bit value.
33218 * crypt/sha256.c (SWAP64): Define.
33219 (sha256_process_block): Perform total addition using 64-bit if
33220 possible.
33221 (__sha256_finish_ctx): Likewise.
33222
99231d9a
UD
332232011-07-01 Ulrich Drepper <drepper@gmail.com>
33224
33225 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33227 * nscd/hstcache.c (cache_addhst): Likewise.
33228 * nscd/grpcache.c (cache_addgr): Likewise.
33229 * nscd/aicache.c (addhstaiX): Likewise
33230 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33231
445b4a53
TK
332322011-07-01 Thorsten Kukuk <kukuk@suse.de>
33233
33234 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33236 * nscd/hstcache.c (cache_addhst): Likewise.
33237 * nscd/grpcache.c (cache_addgr): Likewise.
33238 * nscd/aicache.c (addhstaiX): Likewise
33239
6d4d8e8e
AS
332402011-07-01 Andreas Schwab <schwab@redhat.com>
33241
33242 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33243 domain only when needed.
33244
89f654c5
AS
332452011-06-30 Andreas Schwab <schwab@redhat.com>
33246
33247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33248 is always restored.
33249
cf3b23ff
UD
332502011-06-29 Ulrich Drepper <drepper@gmail.com>
33251
33252 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33253 are re-adding the entry.
33254 * nscd/servicescache.c (cache_addserv): Likewise.
33255
751626f9
AJ
332562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33257
33258 * sysdeps/generic/dl-irel.h: fix protection against multiple
33259 inclusions.
33260 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33261
9113ea1f
UD
332622011-06-28 Ulrich Drepper <drepper@gmail.com>
33263
5c0b8d90
UD
33264 [BZ #12935]
33265 * malloc/memusage.sh: Fix quoting in message.
33266 * debug/xtrace.sh: Likewise.
33267
9113ea1f
UD
33268 * configure.in: Remove support for --experimental-malloc option, make
33269 it the default.
33270 * config.make.in: Likewise.
33271 * malloc/Makefile: Likewise.
33272
a4172181
AS
332732011-06-27 Andreas Schwab <schwab@redhat.com>
33274
33275 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33276 two-byte characters.
33277
78a7eee7
RM
332782011-06-27 Roland McGrath <roland@hack.frob.com>
33279
62bede13
RM
33280 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33281 AC_CACHE_CHECK invocation.
33282 * configure: Regenerated.
33283
78a7eee7
RM
33284 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33285
5ce33a62
UD
332862011-06-27 Ulrich Drepper <drepper@gmail.com>
33287
034807a9
UD
33288 [BZ #12350]
33289 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33290 bit from old_res_options.
33291
4902da17
UD
33292 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33293
5ce33a62
UD
33294 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33295 value type for setfct.
33296
c2344f56
L
332972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33298
33299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33300 __gettimeofday instead of gettimeofday.
33301
68468076
UD
333022011-06-26 Ulrich Drepper <drepper@gmail.com>
33303
33304 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33305
acb0d739
L
333062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33307
33308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33309
33310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33311 info.
33312
8912479f
L
333132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33316 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33317 strcpy-sse2-unaligned strncpy-sse2-unaligned
33318 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33319 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33320 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33321 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33322 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33325 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33326 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33327 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33328 (STRCPY): Support SSE2 and SSSE3 versions.
33329
d5495a11
UD
333302011-06-24 Ulrich Drepper <drepper@gmail.com>
33331
33332 [BZ #12874]
33333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33334 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33335 kernels which artificially limit size of requests.
33336
0b1cbaae
L
333372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33338
33339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33340 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33341 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33342 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33343 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33344 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33345 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33346 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33349 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33350 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33351 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33352 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33353 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33355 Enable unaligned load optimization for Intel Core i3, i5 and i7
33356 processors.
33357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33358 Define.
33359 (index_Fast_Unaligned_Load): Define.
33360 (HAS_FAST_UNALIGNED_LOAD): Define.
33361
07f494a0
MP
333622011-06-23 Marek Polacek <mpolacek@redhat.com>
33363
33364 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33365
fa3fc0fe
UD
333662011-06-22 Ulrich Drepper <drepper@gmail.com>
33367
33368 [BZ #12907]
33369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33370 until it is clear that the information is realy needed.
33371 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33372
e12df166
AS
333732011-06-22 Andreas Schwab <schwab@redhat.com>
33374
33375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33376
852eb34d
UD
333772011-06-22 Ulrich Drepper <drepper@gmail.com>
33378
84e2a551
UD
33379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33380 /sys/devices/system/cpu/online if it is usable.
33381
852eb34d
UD
33382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33383 reading the information from the /proc filesystem to once a second.
33384
6e502e19
UD
333852011-06-21 Andreas Jaeger <aj@suse.de>
33386
33387 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33388 NULL after inclusion of kernel headers.
33389
75d39ff2
UD
333902011-06-21 Ulrich Drepper <drepper@gmail.com>
33391
51f9aa6a
UD
33392 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33393 calls to internal_setent.
33394
c0244a9d
UD
33395 [BZ #12885]
33396 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33397 addresses using gethostbyname4_r ignore IPv4 addresses.
33398
c5e3c2ae
UD
33399 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33400 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33401
75d39ff2
UD
33402 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33403
42675c6f
DM
334042011-06-20 David S. Miller <davem@davemloft.net>
33405
33406 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33407 inclusions.
33408 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33409
33410 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33411 (elf_irel): Use it.
33412 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33413 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33414 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33415 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33416 * sysdeps/x86_64/dl-irel.h: Likewise.
33417
33418 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33419 * elf/dl-sym.c: Likewise.
33420
57912a71
UD
334212011-06-15 Ulrich Drepper <drepper@gmail.com>
33422
33423 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33424 need to dereference resplen2.
33425
ee22793d
AS
334262011-06-14 Andreas Schwab <schwab@redhat.com>
33427
33428 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33429
a9e836b0
UD
334302011-06-15 Ulrich Drepper <drepper@gmail.com>
33431
77fb9117
UD
33432 * Makeconfig: Define vardbdir and inst_vardbdir.
33433 * nss/Makefile: Add rules to install db-Makefile.
33434
40c1b22c
UD
33435 * nss/nss_db/db-XXX.c: Cleanup.
33436
9f2da732
UD
33437 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33438 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33439 GLIBC_PRIVATE.
33440 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33441 * nss/makedb.c: Implement -g option to specify that value strings
33442 are generated and should not be added to table iterated over for
33443 get*ent calls.
33444 * nss/nss_db/db-initgroups.c: New file.
33445
82e9a1f7
UD
33446 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33447 interface.
33448
c41af17e
UD
33449 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33450 (internal_getgrouplist): Adjust to name change.
33451 Update use_initgroups_entry if this is not the first call.
33452 * nss/databases.def: Add initgroups entry.
33453
a9e836b0
UD
33454 * nss/makedb.c (compute_tables): Check result of multiple hash table
33455 sizes to minimize maximum chain length.
33456
2666d441
UD
334572011-06-14 Ulrich Drepper <drepper@gmail.com>
33458
33459 * Versions.def: Add entry for libnss_db.
33460 * shlib-versions: Likewise.
33461 * nss/Makefile: Add rules to build libnss_db.
33462 * nss/Versions: Add libnss_db information. Organize libnss_files
33463 entries better.
33464 * nss/db-Makefile: Add gshadow support. Change rules for the new
33465 makedb progra. Some minor improvements to generate smaller files.
33466 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33467 here from...
33468 * nss/makedb.c: ...here.
33469 Improve database format to be smaller and require less memory at
33470 runtime.
33471 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33472 db anymore.
33473 * nss/nss_db/db-netgrp.c: Likewise.
33474 * nss/nss_db/db-open.c: Likewise.
33475 * nss/nss_files/flies-XXX.x: Adjust comments.
33476 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33477 * nss/nss_files/files-grp.c: Likewise.
33478 * nss/nss_files/files-hosts.c: Likewise.
33479 * nss/nss_files/files-network.c: Likewise.
33480 * nss/nss_files/files-proto.c: Likewise.
33481 * nss/nss_files/files-pwd.c: Likewise.
33482 * nss/nss_files/files-rpc.c: Likewise.
33483 * nss/nss_files/files-service.c: Likewise.
33484 * nss/nss_files/files-sgrp.c: Likewise.
33485 * nss/nss_files/files-spwd.c: Likewise.
33486 * nss/nss_db/db-alias.c: Removed.
33487 * nss/nss_db/dummy-db.h: Removed.
33488
9ee76b5a
UD
334892011-06-02 Ulrich Drepper <drepper@gmail.com>
33490
33491 * nss/makedb.c: Rewritten to not use database library.
33492 * nss/Makefile: Update to build new makedb program.
33493
c71ca1f8
AJ
334942011-06-14 Andreas Jaeger <aj@suse.de>
33495
33496 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33497 memset declaration.
33498
3154bfb8
UD
334992011-06-10 Andreas Schwab <schwab@redhat.com>
33500
33501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33502 tmpbuf.
33503
b350afab
RM
335042011-06-10 Roland McGrath <roland@hack.frob.com>
33505
decd4e50
RM
33506 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33507 * elf/Makefile ($(objpfx)ld.so): Likewise.
33508
5615eaf2
RM
33509 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33510 Don't list ld.so twice in dependencies.
33511
33512 * posix/bug-regex31.c: Include <stdlib.h>.
33513
33514 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33515
33516 * nis/nss_compat/compat-spwd.c
33517 (getspent_next_nss_netgr): Remove unused variable.
33518 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33519
33520 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33521 nonmembers" output to use the right array.
33522
33523 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33524
33525 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33526
33527 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33528 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33529 * catgets/gencat.c (read_input_file): Likewise.
33530 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33531
33532 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33533 variable definition inside #if's controlling its use.
33534
33535 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33536
33537 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33538
33539 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33540
33541 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33542 unreachable code.
33543
33544 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33545
b68e08db
RM
33546 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33547 * configure: Regenerated.
33548
b350afab
RM
33549 * Makerules: Revert last change.
33550 * elf/Makefile: Likewise.
33551
28368601
RM
335522011-06-09 Roland McGrath <roland@hack.frob.com>
33553
33554 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33555 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33556 (reloc-link): Likewise.
33557
11988f8f
UD
335582011-06-09 Ulrich Drepper <drepper@gmail.com>
33559
33560 * elf/Makefile: Add rules to build pldd.
33561 * elf/pldd.c: New file.
33562 * elf/pldd-xx.c: New file.
33563
e80fab37
UD
335642011-06-07 Ulrich Drepper <drepper@gmail.com>
33565
33566 * version.h: Update for 2.15 development version.
33567
9b849836
DM
335682011-06-07 David S. Miller <davem@davemloft.net>
33569
33570 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33571 ifuncs.
33572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33573 elf_machine_lazy_rel): Likewise.
33574 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33576 elf_machine_lazy_rel): Likewise.
33577 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33578 dl_hwcap via passed in argument.
33579 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33580 Likewise.
33581
5a31b283
AK
335822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33583
33584 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33585
069e52f8
RM
335862011-06-06 Roland McGrath <roland@hack.frob.com>
33587
33588 [BZ #12849]
33589 * manual/fdl-1.1.texi: New file, verbatim from:
33590 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33591 * manual/lgpl-2.1.texi: New file, verbatim from:
33592 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33593 * manual/Makefile (licenses): New variable, list those new file names.
33594 (texis): Use it.
33595 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33596
33597 * manual/fdl.texi: File removed.
33598 * manual/lesser.texi: File removed.
33599 * manual/libc.texinfo (Copying, Documentation License):
33600 Use new @include file names, put @appendix directive before @include.
33601
f16846a5
JJ
336022011-06-04 Jakub Jelinek <jakub@redhat.com>
33603
33604 [BZ #12841]
33605 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33606 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33607 (mq_open): Add __NTH.
33608
3d29045b
L
336092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33610
33611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33612 Assume Intel Core i3/i5/i7 processor if AVX is available.
33613
8c297311
UD
336142011-05-31 Ulrich Drepper <drepper@gmail.com>
33615
33616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33617 typo.
33618
c8fc0c91
UD
336192011-05-31 Andreas Schwab <schwab@redhat.com>
33620
33621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33622 memory. Use alloca_account. Fix memory leak when retrying.
33623
5b27a807
UD
336242011-05-31 Ulrich Drepper <drepper@gmail.com>
33625
356f8bc6
UD
33626 * version.h (RELEASE): Bump for 2.14 release.
33627 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33628
5b27a807
UD
33629 * config.make.in (RANLIB): Remove entry.
33630
01f16ab0
UD
336312011-05-30 Ulrich Drepper <drepper@gmail.com>
33632
41fce8bd
UD
33633 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33634 (libc.pot): Work around missing support for .ksh extension in xgettext.
33635
4769ae77
UD
33636 [BZ #12684]
33637 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33638 if both request failed.
33639 (send_dg): In case of server errors clear resplen or *resplen2.
33640
6b1e7d19
UD
33641 [BZ #12454]
33642 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33643 when there are multiple maps.
33644 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33645 (_dl_fini): Remove test here.
33646
01f16ab0
UD
33647 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33648
b1ebd700
UD
336492011-05-29 Ulrich Drepper <drepper@gmail.com>
33650
7ae22829
UD
33651 [BZ #12350]
33652 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33653 bit from old_res_options.
33654 (gaih_inet): Likewise.
33655
553149f6 33656 [BZ #11099]
18a84741 33657 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33658 as signed.
33659
652ffab1
UD
33660 * resolv/res_init.c (res_setoptions): Make the code more compact.
33661
16985fd0
UD
33662 [BZ #11558]
33663 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33664 set RES_USEVC.
33665
0464f746
UD
33666 [BZ #11634]
33667 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33668
7d17596c
UD
33669 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33670
cf6bbbd7
UD
33671 [BZ #11781]
33672 * malloc/malloc.h: Declare malloc hook variables as volatile.
33673
13f1ab36
UD
33674 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33675 in last patch.
33676
b1ebd700
UD
33677 [BZ #11799]
33678 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33679 raise in the comment.
80e2212d
UD
33680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33681 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33682 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33683
ce67228d
UD
336842011-05-28 Ulrich Drepper <drepper@gmail.com>
33685
8887a920
UD
33686 [BZ #12811]
33687 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33688 grow the buffers more if it already has to be sufficient.
33689 (build_wcs_upper_buffer): Likewise.
33690 * posix/regexec.c (check_matching): Likewise.
33691 (clean_state_log_if_needed): Likewise.
33692 (extend_buffers): Don't enlarge buffers beyond size of the input
33693 buffer.
33694 Patches mostly by Emil Wojak <emil@wojak.eu>.
33695 * posix/bug-regex32.c: New file.
33696 * posix/Makefile (tests): Add bug-regex32.
33697
4f031072
UD
33698 * locale/findlocale.c (_nl_find_locale): Return right away if
33699 _nl_explode_name failed.
33700 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33701
d0478f0c
UD
33702 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33703
de81b246
UD
33704 * debug/xtrace.sh: Unify messages.
33705 * malloc/memusage.sh: Likewise.
33706
c738465a
UD
33707 [BZ #12813]
33708 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33709 time symbol from vDSO. Substitute with vsyscall if not available.
33710 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33711 __vdso_time.
33712
f1f929d7
UD
33713 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33714 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33715 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33716 Add sendmmsg and internal_sendmmsg.
33717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33718 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33719 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33720
ce67228d
UD
33721 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33722 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33724
e57420c6
UD
337252011-05-27 Ulrich Drepper <drepper@gmail.com>
33726
a8509ca5
UD
33727 [BZ #12813]
33728 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33729 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33730 available.
33731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33732 __vdso_getcpu.
33733
e57420c6
UD
33734 [BZ #12814]
33735 * iconvdata/Makefile (tests): Add bug-iconv9.
33736 * iconvdata/bug-iconv9.c: New file.
33737
4d07db15
AS
337382011-05-27 Andreas Schwab <schwab@redhat.com>
33739
33740 [BZ #12814]
33741 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33742
ea486f69
JJ
337432011-05-25 Jakub Jelinek <jakub@redhat.com>
33744
33745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33746 (struct user_regs_struct): Change intcs field back to cs.
33747
6f038433
UD
337482011-05-25 Ulrich Drepper <drepper@gmail.com>
33749
33750 * po/ja.po: Update from translation team.
33751
67f86a25
UD
337522011-05-23 Ulrich Drepper <drepper@gmail.com>
33753
33754 [BZ #12795]
33755 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33756 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33757
def7fbd6
AS
337582011-05-20 Andreas Schwab <schwab@redhat.com>
33759
33760 * stdlib/longlong.h: Update from GCC.
33761
f50ef8f1
AS
337622011-05-23 Andreas Schwab <schwab@redhat.com>
33763
33764 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33765 parameter name.
33766 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33767 Add parameter name.
33768 (__sysconf): Pass it down.
33769
de7ce8f1
UD
337702011-05-22 Ulrich Drepper <drepper@gmail.com>
33771
f2962a71
UD
33772 [BZ #12671]
33773 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33774 some situations.
33775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33776 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33777 add in in __libc_use_alloca calls. Adjust callers.
33778 (glob): Use malloc in some situations.
33779
de7ce8f1
UD
33780 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33781 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33782 pltexit.
33783
aec84f53
UD
337842011-05-21 Ulrich Drepper <drepper@gmail.com>
33785
05bb4a68
UD
33786 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33787 and CLOCK_BOOTTIME_ALARM.
33788
7ea72f99
UD
33789 [BZ #12782]
33790 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33791 is returned.
33792
7e4afad5
UD
33793 * string/_strerror.c (__strerror_r): Print negative errors as signed
33794 numbers.
33795
8e211fec
UD
33796 [BZ #12777]
33797 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33798 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33799 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33800
f7d82dc9
UD
33801 * configure.in: Fix typo in redirection and correct removal of test
33802 files in two cases.
33803
cc9e536d
UD
33804 [BZ #12788]
33805 * locale/setlocale.c (new_composite_name): Fix test to check for
33806 identical name of all categories.
33807
aec84f53
UD
33808 [BZ #12792]
33809 * libio/filedoalloc.c (local_isatty): New function.
33810 (_IO_file_doallocate): Use local_isatty.
33811 * stdio-common/perror.c (perror): In case a new stream is used
33812 forward the stream error.
33813 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33814 error flag.
33815
78e64fdc
RT
338162011-05-20 Ulrich Drepper <drepper@gmail.com>
33817
34a9094f
UD
33818 [BZ #11869]
33819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33820 alloca.
33821 * include/alloca.h (extend_alloca_account): Define.
33822
78e64fdc
RT
33823 [BZ #11857]
33824 * posix/regex.h: Fix comments with documentation of user-accessible
33825 fields after compilation and describe correct free'ing of pattern
33826 after re_compile_pattern.
33827 Patch by Reuben Thomas <rrt@sc3d.org>.
33828
457bddfc
RA
338292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33830
33831 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33832 and -mno-altivec to prevent the compiler from using Altivec and/or
33833 VSX instructions when the corresponding registers are not available.
33834
a4527b51
AS
338352011-05-19 Andreas Schwab <schwab@redhat.com>
33836
33837 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33838
ed690b2f
UD
338392011-05-19 Ulrich Drepper <drepper@gmail.com>
33840
33841 * libio/freopen.c (freopen): Use __dup2, not dup2.
33842 * libio/freopen64.c (freopen64): Likewise.
33843
8db73634
L
338442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33845
33846 [BZ #12775]
33847 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33848 * math/Makefile (tests): Add test-powl.
33849 (CFLAGS-test-powl.c): Define.
33850 * math/test-powl.c: New file.
33851
0a197a9d
L
338522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33853
33854 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33855
ee30c380
UD
338562011-05-17 Ulrich Drepper <drepper@gmail.com>
33857
33858 [BZ #11837]
33859 * iconvdata/gb18030.c: Update to GB18020-2005.
33860
6ce75379
UD
338612011-05-16 Ulrich Drepper <drepper@gmail.com>
33862
a4b89fd8
AR
33863 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33864 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33865 Patch by Aharon Robbins <arnold@skeeve.com>.
33866
ea389b12
UD
33867 [BZ #11892]
33868 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33869 on the stack.
33870
68a3f91f
UD
33871 [BZ #11895]
33872 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33873 through underflows.
33874
15cc7dd1
UD
33875 [BZ #12766]
33876 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33877 point to strings before performing equality test for error_one_per_line
33878 mode.
33879
f3799213
UD
33880 [BZ #11697]
33881 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33882
d79a9c94
UD
33883 [BZ #11820]
33884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33885 (struct user_fpregs_struct): Avoid __uint*_t types.
33886
56e5eb46
UD
33887 [BZ #6420]
33888 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33889 symbol info. Use it instead of calling _dl_addr locally.
33890 (lock_and_info): New function.
33891 (tr_freehook): Call lock_and_info and pass symbol info as additional
33892 parameter to tr_where.
33893 (tr_mallochook): Likewise.
33894 (tr_reallochook): Likewise.
33895 (tr_memalignhook): Likewise.
33896
6ce75379
UD
33897 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33898 used and couldn't be at all thread-safe.
33899
f8a3b5bf
UD
339002011-05-15 Ulrich Drepper <drepper@gmail.com>
33901
94b7cc37
UD
33902 * libio/freopen.c (freopen): Don't close old file descriptor
33903 before the new one is opened. Instead dup the new file descriptor
33904 to the old one after the new stream is created.
33905 * libio/freopen64.c (freopen64): Likewise.
33906 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33907 * libio/fileops.c (_IO_new_file_close_it): Handle new
33908 _IO_FLAGS2_NOCLOSE flag.
33909 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33910 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33911 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33912 _IO_FLAGS2_NOCLOSE flag.
33913 * include/unistd.h: Add hidden_proto for dup3.
33914 Define __have_dup3.
33915 * io/dup3.c: Define hidden symbol.
33916 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33917
bd25564e
UD
33918 [BZ #7101]
33919 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33920 when an incomplete long option is used.
33921 * posix/tst-getopt_long1.c: New file.
33922 * posix/Makefile (tests): Add tst-getopt_long1.
33923
c84cfef4
UD
33924 [BZ #10138]
33925 * scripts/config.guess: Update from autoconf-2.68.
33926 * scripts/config.sub: Likewise.
33927
3b85df27
UD
33928 [BZ #10157]
33929 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33930 tests into ...
33931 (has_cpuclock): ...this. New function.
33932 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33933 macro here based on has_cpuclock code.
33934
15a856b1
UD
33935 [BZ #10149]
33936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33937 First byte (not low byte) is now always NUL.
33938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33939
05f399e6
UD
33940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33941 Use non-cancelable interfaces.
33942
10a52685 33943 [BZ #9809]
94ecc67d
UD
33944 * locale/iso-639.def: Add entry for Sorani.
33945
f8a3b5bf
UD
33946 [BZ #11901]
33947 * include/stdlib.h: Move include protection to the right place.
33948 Define abort_msg_s. Declare __abort_msg with it.
33949 * stdlib/abort.c (__abort_msg): Adjust type.
33950 * assert/assert.c (__assert_fail_base): New function. Majority
33951 of code from __assert_fail. Allocate memory for __abort_msg with
33952 mmap.
33953 (__assert_fail): Now call __assert_fail_base.
33954 * assert/assert-perr.c: Remove bulk of implementation. Use
33955 __assert_fail_base.
33956 * include/assert.hL Declare __assert_fail_base.
33957 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33958 mmap.
33959 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33960
1af4e298
UD
339612011-05-14 Ulrich Drepper <drepper@gmail.com>
33962
f8a3b5bf 33963 [BZ #11952]
d26dfc60
MG
33964 [BZ #12453]
33965 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33966 until all modules are registered in the DTV.
33967 * elf/Makefile: Add rules to build and run tst-tls19.
33968 * elf/tst-tls19.c: New file.
33969 * elf/tst-tls19mod1.c: New file.
33970 * elf/tst-tls19mod2.c: New file.
33971 * elf/tst-tls19mod3.c: New file.
33972 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33973
2fc54d6f
UD
33974 [BZ #12083]
33975 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33976 correctly.
33977
98d76b46
UD
33978 [BZ #12601]
33979 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33980 two-byte sequence errors.
33981 * iconvdata/Makefile (tests): Add bug-iconv8.
33982 * iconvdata/bug-iconv8.c: New file.
33983
da3c19ef
UD
33984 [BZ #12626]
33985 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33986 buf2 definition.
33987
ca408c15
UD
33988 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33989
d6f67f7d
UD
33990 [BZ #12432]
33991 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33992 (dummy_getcfa): New function.
33993 (init): Get _Unwind_GetCFA address, use dummy if not found.
33994 (backtrace_helper): In recursion check, also check whether CFA changes.
33995 (__backtrace): Completely initialize arg.
33996
1af4e298 33997 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33998 storing incomplete byte sequence in state object. Avoid testing for
33999 guaranteed too small input if we know there is enough data available.
1af4e298 34000
da62f81b
AS
340012011-05-11 Andreas Schwab <schwab@redhat.com>
34002
34003 * Makeconfig (+link-pie): Indent.
34004 * Rules (binaries-pie): Define if $(have-fpie) and
34005 $(build-shared).
34006 (binaries-shared): Also filter out $(binaries-pie).
34007 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34008 * nscd/Makefile (others-pie): Add nscd.
34009 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34010 ($(objpfx)nscd): Remove command override.
34011 * login/Makefile (others-pie): Add pt_chown.
34012 ($(objpfx)pt_chown): Remove command override.
34013 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34014 remove command overrides.
34015
fcabc0f8
UD
340162011-05-13 Ulrich Drepper <drepper@gmail.com>
34017
20030ae6
UD
34018 * libio/tst_putwc.c: Fix error messages.
34019
fcabc0f8
UD
34020 [BZ #12724]
34021 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34022 currently writing and seek to current position when not.
34023 * libio/Makefile (tests): Add bug-fclose1.
34024 * libio/bug-fclose1.c: New file.
34025
320a5dc0
PB
340262011-05-12 Ulrich Drepper <drepper@gmail.com>
34027
34028 [BZ #12511]
34029 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34030 don't set DF_1_NODELETE here.
34031 (do_lookup_x): When entering new entry test for copy relocation
34032 and if necessary set DF_1_NODELETE flag.
34033 * elf/tst-unique4.cc: New file.
34034 * elf/tst-unique4.h: New file.
34035 * elf/tst-unique4lib.cc: New file.
34036 * elf/Makefile: Add rules to build and run tst-unique4.
34037 Patch by Piotr Bury <pbury@goahead.com>.
34038
22836f52
UD
340392011-05-11 Ulrich Drepper <drepper@gmail.com>
34040
f574184a
UD
34041 [BZ #12052]
34042 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34043
e1fb097f
UD
34044 [BZ #12625]
34045 * misc/mntent_r.c (addmntent): Flush the stream after the output
34046
22836f52
UD
34047 [BZ #12393]
34048 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34049 (is_trusted_path_normalize): Skip initial colon. Append slash
34050 to empty buffer. Duplicate is_trusted_path code but allow
34051 constructed patch to be prefix.
34052 (is_dst): Allow $ORIGIN followed by /.
34053 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34054 Correct testing of result of is_trusted_path_normalize
34055 (decompose_rpath): Fix warning.
34056
7b3b0b2a
UD
340572011-05-10 Ulrich Drepper <drepper@gmail.com>
34058
34059 [BZ #11257]
34060 * grp/initgroups.c (internal_getgrouplist): When we found the service
34061 list through the initgroups entry in nsswitch.conf do not always
34062 continue on a successful lookup. Don't always use the
eac80ce2 34063 __nss_group_database value if it is set.
7b3b0b2a
UD
34064 * nss/nsswitch.conf (initgroups): Change action for successful db
34065 lookup to continue for compatibility.
34066
2a81eaa5
UD
340672011-05-09 Ulrich Drepper <drepper@gmail.com>
34068
be97a69e
UD
34069 [BZ #11532]
34070 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34071 and CP774 modules.
34072 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34073 and CP774 modules.
34074 * iconvdata/tst-tables.sh: Likewise.
34075 * iconvdata/cp770.c: New file.
34076 * iconvdata/cp771.c: New file.
34077 * iconvdata/cp772.c: New file.
34078 * iconvdata/cp773.c: New file.
34079 * iconvdata/cp774.c: New file.
34080 * iconvdata/testdata/CP770: New file.
34081 * iconvdata/testdata/CP770..UTF8: New file.
34082 * iconvdata/testdata/CP771: New file.
34083 * iconvdata/testdata/CP771..UTF8: New file.
34084 * iconvdata/testdata/CP772: New file.
34085 * iconvdata/testdata/CP772..UTF8: New file.
34086 * iconvdata/testdata/CP773: New file.
34087 * iconvdata/testdata/CP773..UTF8: New file.
34088 * iconvdata/testdata/CP774: New file.
34089 * iconvdata/testdata/CP774..UTF8: New file.
34090
34091 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34092 END CHARMAP line.
34093 * iconvdata/gen-8bit-gap.sh: Likewise.
34094 * iconvdata/gen-8bit.sh: Likewise.
34095
c1e9e399
UD
34096 * locale/iso-639.def: Add ary entry.
34097
24c55fb3 34098 [BZ #11258]
96b4b1b0
UD
34099 * locale/C-translit.h.in: Add U20A1 transliteration.
34100
bdc2f971
KB
34101 [BZ #12178]
34102 * locale/iso-639.def: Add wae entry.
34103 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34104
2952b117
UD
34105 [BZ #12545]
34106 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34107 for n.
34108
2a81eaa5
UD
34109 [BZ #12711]
34110 * locale/C-translit.h.in: Add entry for U20B9.
34111 Patch by pravin.d.s@gmail.com.
34112
28377d1b
UD
341132011-05-08 Ulrich Drepper <drepper@gmail.com>
34114
7fb90fb8
UD
34115 [BZ #12713]
34116 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34117 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34118 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34119 in rtld. Use *stat64.
7fb90fb8 34120 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34121 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34122 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34123 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34124 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34125 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34126 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34127 __fstatat64 macros.
7fb90fb8
UD
34128 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34129 * dirent/rewinddir.c: Add libc_hidden_def.
34130 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34131 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34132
28377d1b
UD
34133 * include/dirent.h (__alloc_dir): Add flags parameter.
34134 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34135 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34136 __alloc_dir.
34137 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34138 from fdopendir if O_CLOEXEC is already set.
34139
66bdbaa4
AM
341402011-03-15 Alan Modra <amodra@gmail.com>
34141
34142 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34143 l_tls_firstbyte_offset non-zero. Save padding offset in
34144 l_tls_firstbyte_offset for later use.
34145 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34146 freeing static tls block.
34147
95721191
JN
341482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34149
34150 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34151 where #ifdef was intended. The intent is to prevent ARG_MAX from
34152 being defined by the kernel headers.
34153
f87dfb1f
UD
341542011-05-07 Ulrich Drepper <drepper@gmail.com>
34155
34156 [BZ #12734]
34157 * resolv/resolv.h: Define RES_NOTLDQUERY.
34158 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34159 no-tld-query and set RES_NOTLDQUERY.
34160 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34161 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34162 modern BIND to search name as TLD unless forbidden.
34163
47c3cd7a
UD
341642011-05-07 Petr Baudis <pasky@suse.cz>
34165 Ulrich Drepper <drepper@gmail.com>
34166
34167 [BZ #12393]
34168 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34169 (is_trusted_path): ...to here.
c1e9ea35 34170 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34171 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34172 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34173
8a35c912
PP
341742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34175
34176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34177 __BEGIN/__END_DECLS.
34178
acd41f47
UD
341792011-05-06 Ulrich Drepper <drepper@gmail.com>
34180
34181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34182 NSS_STATUS_NOTFOUND if no record was found.
34183
597df647
AS
341842011-05-05 Andreas Schwab <schwab@redhat.com>
34185
34186 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34187 (headers-not-in-tirpc): Remove rpc/netdb.h
34188 * resolv/netdb.h: Revert last change.
34189
b9af1301
PP
341902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34191
34192 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34193 circular dependency between libgcc.a and libc.a.
34194
4e34d5f5
AS
341952011-05-05 Andreas Schwab <schwab@redhat.com>
34196
34197 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34198 * nis/Makefile: Don't install rpcsvc/*.
34199 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34200 instead of <rpc/types.h>.
34201 (MAXHOSTNAMELEN): Define.
34202
00ee369c
AS
342032011-05-03 Andreas Schwab <schwab@redhat.com>
34204
34205 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34206
0b592a30
MB
342072011-04-28 Maciej Babinski <mbabinski@google.com>
34208
34209 [BZ #12714]
34210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34211 gethostbyname4_r when IPv6 results are possible.
34212
6e04cbbe
UD
342132011-05-02 Ulrich Drepper <drepper@gmail.com>
34214
34215 [BZ #12723]
34216 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34217 _PC_PIPE_BUF handling.
34218
e4ecafe0
BH
342192011-04-30 Bruno Haible <bruno@clisp.org>
34220
34221 [BZ #12717]
34222 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34223 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34224 to 'int'.
34225 * inet/getnameinfo.c (getnameinfo): Likewise.
34226
125ee683
UD
342272011-04-29 Ulrich Drepper <drepper@gmail.com>
34228
34229 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34230 to groups setting in database lookup.
34231 * nss/nsswitch.conf: Add initgroups entry.
34232
b722481a
EB
342332011-04-22 Ulrich Drepper <drepper@gmail.com>
34234
34235 [BZ #12685]
34236 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34237 mode string.
34238 Patch by Eric Blake <eblake@redhat.com>.
34239
4df46dbd
L
342402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sunrpc/Makefile (need-export-routines): Add svc_run.
34243 (routines): Remove svc_run.
34244 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34245 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34246 * sunrpc/svc_run.c (svc_run): Likewise.
34247 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34248
e84142d2
UD
342492011-04-21 Ulrich Drepper <drepper@gmail.com>
34250
34251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34252 problem in reallocation in last patch.
34253
877175d8
UD
342542011-04-20 Ulrich Drepper <drepper@gmail.com>
34255
34256 * sunrpc/Makefile: Move inclusion of Rules.
34257
ab8eed78
UD
342582011-04-19 Ulrich Drepper <drepper@gmail.com>
34259
34260 * nss/nss_files/files-initgroups.c: New file.
34261 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34262 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34263 _nss_files_initgroups_dyn.
34264
e3d8f584
RS
342652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34266
34267 * elf/elf.h (R_ARM_IRELATIVE): Define.
34268
af190f45
UD
342692011-04-19 Ulrich Drepper <drepper@gmail.com>
34270
34271 * po/ru.po: Update from translation team.
34272
53cf59ef
UD
342732011-04-17 Ulrich Drepper <drepper@gmail.com>
34274
34275 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34276 dependencies.
34277
4c559bcd
MF
342782011-02-06 Mike Frysinger <vapier@gentoo.org>
34279
34280 [BZ #12653]
34281 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34282 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34284 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34286
4420675c
AS
342872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34288
34289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34290 differing bytes.
34291 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34293 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34294
75ea32ab
UD
342952011-04-17 Ulrich Drepper <drepper@gmail.com>
34296
34297 [BZ #12420]
34298 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34299 storing it.
34300 * stdlib/bug-getcontext.c: New file.
34301 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34302
27390476
AK
343032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34304
34305 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34306 instructions into .machine "z9-109".
34307 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34308 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34309
10442705
AK
343102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34311
34312 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34313 between environment variables and auxiliary vector.
34314
7b57bfe5
UD
343152011-04-16 Ulrich Drepper <drepper@gmail.com>
34316
34317 * Makefile: Add rules to build linkobj/libc.so.
34318 * include/libc-symbols.h: Define libc_hidden_nolink.
34319 * include/rpc/auth.h: Mark functions which are to be hidden.
34320 * include/rpc/auth_des.h: Likewise.
34321 * include/rpc/auth_unix.h: Likewise.
34322 * include/rpc/clnt.h: Likewise.
34323 * include/rpc/des_crypt.h: Likewise.
34324 * include/rpc/key_prot.h: Likewise.
34325 * include/rpc/pmap_clnt.h: Likewise.
34326 * include/rpc/pmap_prot.h: Likewise.
34327 * include/rpc/pmap_rmt.h: Likewise.
34328 * include/rpc/rpc_msg.h: Likewise.
34329 * include/rpc/svc.h: Likewise.
34330 * include/rpc/svc_auth.h: Likewise.
34331 * include/rpc/xdr.h: Likewise.
34332 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34333 * nss/Makefile: Likewise.
34334 * sunrpc/Makefile: Don't install headers. Build library with normal
34335 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34336 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34337 for the compat linking library. Remove use of INTDEF/INTUSE.
34338 * sunrpc/auth_none.c: Likewise.
34339 * sunrpc/auth_unix.c: Likewise.
34340 * sunrpc/authdes_prot.c: Likewise.
34341 * sunrpc/authuxprot.c: Likewise.
34342 * sunrpc/clnt_gen.c: Likewise.
34343 * sunrpc/clnt_perr.c: Likewise.
34344 * sunrpc/clnt_raw.c: Likewise.
34345 * sunrpc/clnt_simp.c: Likewise.
34346 * sunrpc/clnt_tcp.c: Likewise.
34347 * sunrpc/clnt_udp.c: Likewise.
34348 * sunrpc/clnt_unix.c: Likewise.
34349 * sunrpc/des_crypt.c: Likewise.
34350 * sunrpc/des_soft.c: Likewise.
34351 * sunrpc/get_myaddr.c: Likewise.
34352 * sunrpc/key_call.c: Likewise.
34353 * sunrpc/key_prot.c: Likewise.
34354 * sunrpc/netname.c: Likewise.
34355 * sunrpc/pm_getmaps.c: Likewise.
34356 * sunrpc/pm_getport.c: Likewise.
34357 * sunrpc/pmap_clnt.c: Likewise.
34358 * sunrpc/pmap_prot.c: Likewise.
34359 * sunrpc/pmap_prot2.c: Likewise.
34360 * sunrpc/pmap_rmt.c: Likewise.
34361 * sunrpc/publickey.c: Likewise.
34362 * sunrpc/rpc_cmsg.c: Likewise.
34363 * sunrpc/rpc_common.c: Likewise.
34364 * sunrpc/rpc_dtable.c: Likewise.
34365 * sunrpc/rpc_prot.c: Likewise.
34366 * sunrpc/rpc_thread.c: Likewise.
34367 * sunrpc/rtime.c: Likewise.
34368 * sunrpc/svc.c: Likewise.
34369 * sunrpc/svc_auth.c: Likewise.
34370 * sunrpc/svc_authux.c: Likewise.
34371 * sunrpc/svc_raw.c: Likewise.
34372 * sunrpc/svc_run.c: Likewise.
34373 * sunrpc/svc_simple.c: Likewise.
34374 * sunrpc/svc_tcp.c: Likewise.
34375 * sunrpc/svc_udp.c: Likewise.
34376 * sunrpc/svc_unix.c: Likewise.
34377 * sunrpc/svcauth_des.c: Likewise.
34378 * sunrpc/xcrypt.c: Likewise.
34379 * sunrpc/xdr.c: Likewise.
34380 * sunrpc/xdr_array.c: Likewise.
34381 * sunrpc/xdr_float.c: Likewise.
34382 * sunrpc/xdr_intXX_t.c: Likewise.
34383 * sunrpc/xdr_mem.c: Likewise.
34384 * sunrpc/xdr_rec.c: Likewise.
34385 * sunrpc/xdr_ref.c: Likewise.
34386 * sunrpc/xdr_sizeof.c: Likewise.
34387 * sunrpc/xdr_stdio.c: Likewise.
34388
e6c61494
UD
343892011-04-10 Ulrich Drepper <drepper@gmail.com>
34390
34391 [BZ #12650]
34392 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34393 * sysdeps/ia64/dl-tls.h: Likewise.
34394 * sysdeps/powerpc/dl-tls.h: Likewise.
34395 * sysdeps/s390/dl-tls.h: Likewise.
34396 * sysdeps/sh/dl-tls.h: Likewise.
34397 * sysdeps/sparc/dl-tls.h: Likewise.
34398 * sysdeps/x86_64/dl-tls.h: Likewise.
34399 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34400
34fe483e
AS
344012011-03-14 Andreas Schwab <schwab@redhat.com>
34402
34403 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34404 rpath element also skip the following colon.
34405 (expand_dynamic_string_token): Add is_path parameter and pass
34406 down to DL_DST_REQUIRED and _dl_dst_substitute.
34407 (decompose_rpath): Call expand_dynamic_string_token with
34408 non-zero is_path. Ignore empty rpaths.
34409 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34410 with zero is_path.
34411
f12a32e6
AS
344122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34413
34414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34415 Make cancelable.
34416
38a7d692
UD
344172011-04-09 Ulrich Drepper <drepper@gmail.com>
34418
34419 [BZ #12655]
34420 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34421 Patch by Filipe David Manana <fdmanana@apache.org>.
34422
e451d22b
AS
344232011-04-07 Andreas Schwab <schwab@redhat.com>
34424
34425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34426 Maintain aligned stack.
34427 (CHECK_RSP): Remove unused macro.
34428
dedc7c7b
UD
344292011-04-03 Ulrich Drepper <drepper@gmail.com>
34430
34431 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34432 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34433
94521213
UD
344342011-04-02 Ulrich Drepper <drepper@gmail.com>
34435
34436 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34437
8cb700c0 34438 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34439
0354e355
L
344402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34441
34442 [BZ #12518]
34443 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34444 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34445 * sysdeps/x86_64/memmove.c: New file.
34446 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34447 (memcpy): Renamed to ...
34448 (__new_memcpy): This.
34449 (memcpy): Provide GLIBC_2_14 memcpy.
34450 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34451 (memcpy): Provide GLIBC_2_2_5 memcpy.
34452
8593482f
UD
344532011-04-01 Ulrich Drepper <drepper@gmail.com>
34454
34455 [BZ #12631]
34456 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34457
81a5726b
AS
344582011-03-30 Andreas Schwab <schwab@redhat.com>
34459
34460 * misc/syncfs.c: New file.
34461 * misc/Makefile (routines): Add syncfs.
34462 * posix/unistd.h: Declare syncfs.
34463 * sysdeps/unix/syscalls.list: Add syncfs.
34464
00e5419f
AS
344652011-04-01 Andreas Schwab <schwab@redhat.com>
34466
34467 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34468 open_by_handle_at.
34469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34474 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34476
748876bf
UD
344772011-04-01 Ulrich Drepper <drepper@gmail.com>
34478
658e451d
UD
34479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34480 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34486
748876bf
UD
34487 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34488 sync_file_range.c with -fexceptions.
34489 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34490 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34491 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34492 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34493 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34494 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34496 sync_file_range as cancellation point
34497 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34498 now a wrapper around __call_sync_file_range with cancellation handling.
34499 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34500 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34501 function name to __call_sync_file_range.
34502 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34503 Add call_sync_file_range.
748876bf 34504
6e63d5e1
AS
345052011-04-01 Andreas Schwab <schwab@redhat.com>
34506
34507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34508 bits/timex.h.
6e63d5e1 34509
46998f74
UD
345102011-04-01 Ulrich Drepper <drepper@gmail.com>
34511
4c1423ed
UD
34512 * iconv/iconv.h: Fix typo in comment.
34513 * io/fcntl.h: Likewise.
34514 * libio/stdio.h: Likewise.
34515 * posix/spawn.h: Likewise.
34516 * posix/unistd.h: Likewise.
34517 * stdlib/stdlib.h: Likewise.
34518 * time/time.h: Likewise.
34519 * wcsmbs/wchar.h: Likewise.
34520
158648c0
UD
34521 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34522 open_by_handle): Add.
34523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34524 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34525 Augment a few comments.
34526 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34531 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34532 open_by_handle.
34533
46998f74
UD
34534 * io/fcntl.h (AT_EMPTY_PATH): Define.
34535
83fe108b
UD
345362011-03-30 Ulrich Drepper <drepper@gmail.com>
34537
34538 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34539 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34540 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34541 to...
34542 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34543 * Versions.def: Add GLIBC_2.14.
34544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34545 Export.
83fe108b 34546
bb242059
UD
345472011-03-22 Ulrich Drepper <drepper@gmail.com>
34548
34549 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34550 round counter.
34551 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34552
c97a1282
L
345532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34554
34555 [BZ #12597]
34556 * string/test-strncmp.c (do_page_test): New function.
34557 (check2): Likewise.
34558 (test_main): Call check2.
34559 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34560
2a115601
UD
345612011-03-20 Ulrich Drepper <drepper@gmail.com>
34562
34563 [BZ #12587]
34564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34565 Handle cache information in CPU leaf 4.
34566 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34567
8126d904
UD
345682011-03-18 Ulrich Drepper <drepper@gmail.com>
34569
042c49c6 34570 [BZ #12583]
8126d904
UD
34571 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34572 character representation.
34573 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34574
ccfe366e
RA
345752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34576
34577 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34578 END(__isnan) to END(__isnanf) to match function entry point/label
34579 EALIGN(__isnanf,...).
34580
c6e13027
JJ
345812011-03-10 Jakub Jelinek <jakub@redhat.com>
34582
34583 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34584
33f85a3f
UD
345852011-03-10 Ulrich Drepper <drepper@gmail.com>
34586
028478fa
UD
34587 [BZ #12510]
34588 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34589 copy from the symbol referenced in the relocation to initialize the
34590 used variable.
34591 Patch by Piotr Bury <pbury@goahead.com>.
34592 * elf/Makefile: Add rules to build and tst-unique3.
34593 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34594 * elf/tst-unique3.cc: New file.
34595 * elf/tst-unique3.h: New file.
34596 * elf/tst-unique3lib.cc: New file.
34597 * elf/tst-unique3lib2.cc: New file.
34598
33f85a3f
UD
34599 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34600
03592fc7
MF
346012011-03-10 Mike Frysinger <vapier@gentoo.org>
34602
34603 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34604 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34605 to _start.
03592fc7 34606
6a5ee102
UD
346072011-03-06 Ulrich Drepper <drepper@gmail.com>
34608
34609 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34610 to-be-loaded object along a path to loader is ld.so.
34611
7e4ba49c
HJ
346122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34613 Ulrich Drepper <drepper@gmail.com>
34614
34615 * sysdeps/x86_64/memset.S: After aligning destination, code
34616 branches to different locations depending on the value of
34617 misalignment, when multiarch is enabled. Fix this.
34618
346192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34620
34621 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34622 Set _x86_64_preferred_memory_instruction for AMD processsors.
34623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34624 Set bit_Prefer_SSE_for_memop for AMD processors.
34625
13a804de
UD
346262011-03-04 Ulrich Drepper <drepper@gmail.com>
34627
34628 * libio/fmemopen.c (fmemopen): Optimize a bit.
34629
9d25c392
AS
346302011-03-03 Andreas Schwab <schwab@redhat.com>
34631
34632 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34633
a5543c6a
RM
346342011-03-03 Roland McGrath <roland@redhat.com>
34635
34636 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34637
012d35f7
DM
346382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34639
7e4ba49c 34640 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34641 __bzero_ultra1 instead of __memset_ultra1.
34642
4bff6e01
AS
346432011-02-23 Andreas Schwab <schwab@redhat.com>
34644 Ulrich Drepper <drepper@gmail.com>
34645
34646 [BZ #12509]
34647 * include/link.h (struct link_map): Add l_orig_initfini.
34648 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34649 returning unsuccessfully.
34650 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34651 close of a file loaded at startup, restore the original l_initfini
34652 list.
34653 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34654 list, store the pointer.
34655 * elf/Makefile ($(objpfx)noload-mem): New rule.
34656 (noload-ENV): Define.
34657 (tests): Add $(objpfx)noload-mem.
34658 * elf/noload.c: Include <memcheck.h>.
34659 (main): Call mtrace. Close all opened handles.
34660
f2092faf
AS
346612011-02-17 Andreas Schwab <schwab@redhat.com>
34662
34663 [BZ #12454]
34664 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34665 dependencies are missing.
34666
6c8a2e88
ST
346672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34668
f2092faf 34669 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34670 Hurd needs munmap.
34671 * sysdeps/mach/hurd/ifreq.h: New file.
34672
84a42118
PB
346732011-01-27 Petr Baudis <pasky@suse.cz>
34674 Ulrich Drepper <drepper@gmail.com>
34675
071f805e 34676 [BZ 12445]#
84a42118
PB
34677 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34678 to extend_alloca().
34679 * stdio-common/bug23.c: New file.
34680 * stdio-common/Makefile (tests): Add bug23.
34681
e23fe25b
AS
346822010-09-28 Andreas Schwab <schwab@redhat.com>
34683 Ulrich Drepper <drepper@gmail.com>
34684
34685 [BZ #12489]
34686 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34687 before performing relro protection. At old place add assertion
34688 to make sure nothing changed.
34689
d3f02e10
NS
346902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34691 Glauber de Oliveira Costa <glommer@gmail.com>
34692
34693 * elf/elf.h: Add new ARM TLS relocs.
34694
d55fd7a5
RA
346952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34696
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34698 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34699 cast from r3.
34700 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34701 'tests' variable.
34702 * sysdeps/wordsize-64/tst-writev.c: New file.
34703
2206397e
RA
347042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34705
34706 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34707 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34708 insns in _dl_start to prevent a TOC reference before relocs are
34709 resolved.
34710
e9433893
UD
347112011-02-15 Ulrich Drepper <drepper@gmail.com>
34712
34713 [BZ #12469]
34714 * Makeconfig: Remove RANLIB definition.
34715 * Makerules: Don't use RANLIB.
34716 * aclocal.m4: Remove ranlib test.
34717 * configure.in: No need to check for ranlib.
34718 * elf/rtld-Rules: Don't use RANLIB.
34719
f75286c6
ST
347202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34721
8e31c82d
ST
34722 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34723 protection macro.
34724 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34725 inclusion protection macro.
34726
f75286c6
ST
34727 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34728 SIGRTMIN and SIGRTMAX and print information in that case only when
34729 SIGRTMIN is defined.
34730
c1d0e639
JJ
347312011-02-11 Jakub Jelinek <jakub@redhat.com>
34732
34733 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34734 arginfo fn returning -1.
34735
34736 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34737 and thousands string is zero terminated.
34738
edf9294e
AS
347392011-02-03 Andreas Schwab <schwab@redhat.com>
34740
34741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34742 sysdeps/unix/sysv/linux/bits/socket.h.
34743
2b7e92df
ST
347442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34745
edf9294e
AS
34746 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34747 (__CPU_COUNT): Remove old macros.
34748 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34749 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34750 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34751 (__sched_cpualloc, __sched_cpufree): Add declarations.
34752
a4c7ea7b
UD
347532011-02-05 Ulrich Drepper <drepper@gmail.com>
34754
34755 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34756 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34757 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34758 (readdhstai): Return value of addhstaiX call.
34759 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34760 (addgrbyX): Return value returned by cache_addgr.
34761 (readdgrbyname): Return value returned by addgrbyX.
34762 (readdgrbygid): Likewise.
34763 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34764 (addpwbyX): Return value returned by cache_addpw.
34765 (readdpwbyname): Return value returned by addhstbyX.
34766 (readdpwbyuid): Likewise.
34767 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34768 (addservbyX): Return value returned by cache_addserv.
34769 (readdservbyname): Return value returned by addservbyX:
34770 (readdservbyport): Likewise.
34771 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34772 (addhstbyX): Return value returned by cache_addhst.
34773 (readdhstbyname): Return value returned by addhstbyX.
34774 (readdhstbyaddr): Likewise.
34775 (readdhstbynamev6): Likewise.
34776 (readdhstbyaddrv6): Likewise.
34777 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34778 (readdinitgroups): Return value returned by addinitgroupsX.
34779 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34780 (prune_cache): Keep track of timeout value of re-added entries.
34781 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34782 * nscd/nscd.h: Adjust prototypes of readd* functions.
34783
a0bf67cc
RM
347842011-02-04 Roland McGrath <roland@redhat.com>
34785
34786 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34787 (nis_stats): Likewise.
34788 * nis/nis_modify.c (nis_modify): Likewise.
34789 * nis/nis_remove.c (nis_remove): Likewise.
34790 * nis/nis_add.c (nis_add): Likewise.
34791
34792 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34793
34794 * posix/fnmatch_loop.c: Add some consts.
34795
34796 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34797
435b95eb
L
347982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 [BZ #12460]
34801 * config.make.in (config-cflags-novzeroupper): Define.
34802 * configure.in: Substitute libc_cv_cc_novzeroupper.
34803 * elf/Makefile (AVX-CFLAGS): Define.
34804 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34805 (CFLAGS-tst-auditmod4a.c): Likewise.
34806 (CFLAGS-tst-auditmod4b.c): Likewise.
34807 (CFLAGS-tst-auditmod6b.c): Likewise.
34808 (CFLAGS-tst-auditmod6c.c): Likewise.
34809 (CFLAGS-tst-auditmod7b.c): Likewise.
34810 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34811
8517b15e
UD
348122011-02-02 Ulrich Drepper <drepper@gmail.com>
34813
34814 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34815 function to the callback.
34816 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34817
10a656fe
AS
348182011-02-02 Andreas Schwab <schwab@redhat.com>
34819
34820 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34821 of errno.
34822
968dad0a
UD
348232011-01-19 Ulrich Drepper <drepper@gmail.com>
34824
9f94d2ea 34825 [BZ #11724]
968dad0a
UD
34826 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34827 of constructors.
34828 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34829 of destructors.
34830 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34831
34832 [BZ #11724]
34833 * elf/Makefile: Add rules to build and run new test.
34834 * elf/tst-initorder.c: New file.
34835 * elf/tst-initorder.exp: New file.
34836 * elf/tst-initordera1.c: New file.
34837 * elf/tst-initordera2.c: New file.
34838 * elf/tst-initordera3.c: New file.
34839 * elf/tst-initordera4.c: New file.
34840 * elf/tst-initorderb1.c: New file.
34841 * elf/tst-initorderb2.c: New file.
34842 * elf/tst-order-a1.c: New file.
34843 * elf/tst-order-a2.c: New file.
34844 * elf/tst-order-a3.c: New file.
34845 * elf/tst-order-a4.c: New file.
34846 * elf/tst-order-b1.c: New file.
34847 * elf/tst-order-b2.c: New file.
34848 * elf/tst-order-main.c: New file.
34849 New test case by George Gensure <werkt0@gmail.com>.
34850
86e92359
UD
348512010-10-01 Andreas Schwab <schwab@redhat.com>
34852
34853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34854 decoding ACE if AI_CANONIDN.
34855
5d5732b0
UD
348562011-01-18 Ulrich Drepper <drepper@gmail.com>
34857
34858 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34859
a77e8cbc
UD
348602011-01-17 Ulrich Drepper <drepper@gmail.com>
34861
6392473f
UD
34862 * version.h (RELEASE): Bump for 2.13 release.
34863 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34864
620a0529
UD
34865 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34866
18ba70a5
UD
34867 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34868 MADV_NOHUGEPAGE.
32465c3e
UD
34869 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34871 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34872 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34873 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34875
c0dafcf1
UD
34876 * posix/getconf.c: Update copyright year.
34877 * catgets/gencat.c: Likewise.
34878 * csu/version.c: Likewise.
34879 * debug/catchsegv.sh: Likewise.
34880 * debug/xtrace.sh: Likewise.
34881 * elf/ldconfig.c: Likewise.
34882 * elf/ldd.bash.in: Likewise.
34883 * elf/sprof.c (print_version): Likewise.
34884 * iconv/iconv_prog.c: Likewise.
34885 * iconv/iconvconfig.c: Likewise.
34886 * locale/programs/locale.c: Likewise.
34887 * locale/programs/localedef.c: Likewise.
34888 * malloc/memusage.sh: Likewise.
34889 * malloc/mtrace.pl: Likewise.
34890 * nscd/nscd.c (print_version): Likewise.
34891 * nss/getent.c: Likewise.
34892
a77e8cbc
UD
34893 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34894 PF_CAIF, and PF_ALG.
34895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34896
77e8bddf
AS
348972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34898
1f20b93a
AS
34899 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34900 (modules-names): Use them.
34901 (ifunc-test-modules, ifunc-pie-tests): Define.
34902 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34903 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34904 (test-extras): Likewise.
34905 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34906 $(compile-command.c).
34907 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34908 (all-built-dso): Define.
34909 (check-textrel.out, check-execstack.out): Depend on it.
34910
77e8bddf
AS
34911 * configure.in: Don't override --enable-multi-arch.
34912
bc425b33
UD
349132011-01-15 Ulrich Drepper <drepper@gmail.com>
34914
34915 [BZ #6812]
34916 * nscd/hstcache.c (tryagain): Define.
34917 (cache_addhst): Return tryagain not notfound for temporary errors.
34918 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34919 failed.
34920
794c3ad3
UD
349212011-01-14 Ulrich Drepper <drepper@gmail.com>
34922
70181fdd
UD
34923 [BZ #10563]
34924 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34925 to make the syscall.
34926 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34927
794c3ad3
UD
34928 [BZ #12378]
34929 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34930 and fall back to matching as normal character if the string ends before
34931 the matching ']' is found. This is what POSIX requires.
34932 * posix/testfnm.c: Adjust test result.
34933 * posix/globtest.sh: Adjust test result. Add new test.
34934 * posix/tst-fnmatch.input: Likewise.
34935 * posix/tst-fnmatch2.c: Add new test.
34936
68dc9497
AS
349372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34938
34939 * elf/Makefile (check-execstack): Revert last change. Depend on
34940 check-execstack.h.
34941 (check-execstack.h): New target.
34942 (generated): Add check-execstack.h.
34943 * elf/check-execstack.c: Include "check-execstack.h".
34944 (main): Revert last change.
34945 (handle_file): Return zero if GNU_STACK is absent and
34946 DEFAULT_STACK_PERMS doesn't include PF_X.
34947
451f001b
UD
349482011-01-13 Ulrich Drepper <drepper@gmail.com>
34949
cfa28e56
UD
34950 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34951 in child fails because the descriptor is already closed.
8cf8ce17
UD
34952 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34953 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34954 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34955
1086d70d
UD
34956 [BZ #12397]
34957 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34958 syscall.
34959
451f001b
UD
34960 [BZ #10484]
34961 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34962 temporary buffer used to handle multi lookups locally.
a85b5cb4 34963 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34964
08769175
UD
349652011-01-12 Ulrich Drepper <drepper@gmail.com>
34966
34967 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34968 loader is ld.so.
34969
5e49c52e
UD
349702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34971
34972 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34973 alignment for SSE2.
34974
60522a5f
UD
349752011-01-12 Ulrich Drepper <drepper@gmail.com>
34976
34977 [BZ #12394]
34978 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34979 characters. When rounding increased number of integer digits recompute
34980 number of groups.
34981 * stdio-common/tst-grouping.c: New file.
34982 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34983
f257bbd7
UD
349842011-01-09 Ulrich Drepper <drepper@gmail.com>
34985
34986 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34987 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34988
34989 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34990 void.
34991 * bits/select.h: Likewise.
34992
fa9c15cb
UD
349932011-01-08 Ulrich Drepper <drepper@gmail.com>
34994
34995 * po/ja.po: Update from translation team.
34996
16c2895f
DM
349972011-01-04 David S. Miller <davem@sunset.davemloft.net>
34998
34999 [BZ #11155]
35000 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35001 implementation just like for lxstat, fxstatat, et al.
35002
2543fef2
JM
350032010-12-27 Jim Meyering <meyering@redhat.com>
35004
35005 [BZ #12348]
35006 * posix/regexec.c (build_trtable): Return failure indication upon
35007 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35008
98727dbe
UD
350092010-12-25 Ulrich Drepper <drepper@gmail.com>
35010
5bd6dc5c
UD
35011 [BZ #12201]
35012 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35013 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35014 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35016
97983464
UD
35017 [BZ #12207]
35018 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35019
98727dbe
UD
35020 [BZ #12204]
35021 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35022 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35023
4a531bb0
L
350242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35025
35026 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35027 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35028 script has SORT_BY_INIT_PRIORITY.
35029 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35030 NO_CTORS_DTORS_SECTIONS is defined.
35031 * elf/soinit.c: Likewise.
35032 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35033 NO_CTORS_DTORS_SECTIONS is defined.
35034 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35035 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35036 * sysdeps/sh/init-first.c: Likewise.
35037 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35038
07eb4b71
UD
350392010-12-24 Ulrich Drepper <drepper@gmail.com>
35040
35041 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35042 always use the slow path.
35043
30950a5f
RA
350442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35045
35046 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35047 similar rule which adds the sysdep directories to the header search in
35048 order to pick up the correct platform stackinfo.h.
35049 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35050 perform test if it is, otherwise return successfully without testing.
35051 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35052 DEFAULT_STACK_PERMS define in stackinfo.h.
35053 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35054 defined in stackinfo.h.
35055 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35056 DEFAULT_STACK_PERMS defined in stackinfo.h.
35057 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35058 * sysdeps/ia64/stackinfo.h: Likewise.
35059 * sysdeps/s390/stackinfo.h: Likewise.
35060 * sysdeps/sh/stackinfo.h: Likewise.
35061 * sysdeps/sparc/stackinfo.h: Likewise.
35062 * sysdeps/x86_64/stackinfo.h: Likewise.
35063 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35064 PF_X for powerpc64. Retain PF_X for powerpc32.
35065
db753e2c
UD
350662010-12-19 Ulrich Drepper <drepper@gmail.com>
35067
14b697f7
UD
35068 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35069 accurately.
db753e2c
UD
35070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35071 GETDENTS_64BIT_ALIGNED.
35072
28300719
UD
350732010-12-14 Ulrich Drepper <dreper@gmail.com>
35074
14b697f7 35075 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35076
4f197237
AS
350772010-12-10 Andreas Schwab <schwab@redhat.com>
35078
dbb0472f
AS
35079 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35080 _GNU_SOURCE.
35081
4f197237
AS
35082 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35083 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35084 Remove __restrict.
35085 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35086 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35087
fb88ac72
UD
350882010-12-09 Ulrich Drepper <drepper@gmail.com>
35089
35090 [BZ #11655]
35091 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35092 are initialized.
35093
42acbb92
JJ
350942010-12-09 Jakub Jelinek <jakub@redhat.com>
35095
35096 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35097
c038d98d
UD
350982010-12-03 Ulrich Drepper <drepper@gmail.com>
35099
35100 * po/it.po: Update from translation team.
35101
3a4a2499
L
351022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35103
35104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35105 unused codes.
35106
1e24cf6e
UD
351072010-11-30 Ulrich Drepper <drepper@gmail.com>
35108
35109 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35110
a7690819
AS
351112010-11-24 Andreas Schwab <schwab@redhat.com>
35112
35113 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35114 specially.
35115 (gaih_getanswer_slice): Likewise.
35116
3bf8d1b1
JJ
351172010-10-20 Jakub Jelinek <jakub@redhat.com>
35118
35119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35120
6db52fbb
PB
351212010-05-31 Petr Baudis <pasky@suse.cz>
35122
35123 [BZ #11149]
35124 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35125 silently even in the chroot mode.
35126
eaca7569
UD
351272010-11-22 Ulrich Drepper <drepper@gmail.com>
35128
35129 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35130 last patch a bit. Pretty printing
35131
3056dcdb
UD
351322010-05-31 Petr Baudis <pasky@suse.cz>
35133
35134 [BZ #10085]
35135 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35136 initialization of skip_initgroups_dyn.
35137
cf7c9078
UD
351382010-11-19 Ulrich Drepper <drepper@gmail.com>
35139
35140 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35142
a1fb5e3e
UD
351432010-11-16 Ulrich Drepper <drepper@gmail.com>
35144
35145 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35146
3540d66b
AS
351472010-11-11 Andreas Schwab <schwab@redhat.com>
35148
35149 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35150 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35151 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35152 ($(objpfx)tst-fnmatch-mem): New rule.
35153 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35154 * posix/tst-fnmatch.c (main): Call mtrace.
35155
13b69574
L
351562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35157
35158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35159 Support Intel processor model 6 and model 0x2c.
35160
da93d214
LM
351612010-11-10 Luis Machado <luisgpm@br.ibm.com>
35162
35163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35164 signed comparison.
35165
8ca52c6e
L
351662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35167
35168 [BZ #12205]
35169 * string/test-strncasecmp.c (check_result): New function.
35170 (do_one_test): Use it.
35171 (check1): New function.
35172 (test_main): Use it.
35173 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35174 Support strcasecmp and strncasecmp.
35175
69da074d
UD
351762010-11-08 Ulrich Drepper <drepper@gmail.com>
35177
35178 [BZ #12194]
35179 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35181
ff02d528
L
351822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35183
35184 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35185 IFUNC support.
35186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35187 memset-x86-64.
35188 * sysdeps/x86_64/multiarch/bzero.S: New file.
35189 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35190 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35191 * sysdeps/x86_64/multiarch/memset.S: New file.
35192 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35194 Set bit_Prefer_SSE_for_memop for Intel processors.
35195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35196 Define.
35197 (index_Prefer_SSE_for_memop): Define.
35198 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35199
344d0b54
LM
352002010-11-04 Luis Machado <luisgpm@br.ibm.com>
35201
35202 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35203 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35204
c0dde15b
UD
352052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35206
35207 [BZ #12191]
35208 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35209 (__x86_64_raw_data_cache_size_half): Likewise.
35210 (__x86_64_raw_shared_cache_size): Likewise.
35211 (__x86_64_raw_shared_cache_size_half): Likewise.
35212
35213 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35214 (__x86_64_raw_data_cache_size_half): Likewise.
35215 (__x86_64_raw_shared_cache_size): Likewise.
35216 (__x86_64_raw_shared_cache_size_half): Likewise.
35217 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35218 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35219 and __x86_64_raw_shared_cache_size_half. Round
35220 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35221 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35222 to multiple of 256 bytes.
35223
0e516e0e
MS
352242010-11-03 Ulrich Drepper <drepper@gmail.com>
35225
35226 [BZ #12167]
35227 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35228 of inacessible symlinks. Verify result of symlink before returning it.
35229 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35230 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35231
0e012e87
ER
352322010-10-28 Erich Ritz <erichritz@gmail.com>
35233
35234 * math/math.h (isinf): Fix typo in comment.
35235
de0ff7bc
UD
352362010-11-01 Ulrich Drepper <drepper@gmail.com>
35237
35238 * po/da.po: Update from translation team.
35239
fa41c84d
UD
352402010-10-26 Ulrich Drepper <drepper@gmail.com>
35241
35242 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35243 is added to the list.
35244
f0967738
AK
352452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35246 Ulrich Drepper <drepper@gmail.com>
35247
35248 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35249 the global list here. Move code to...
35250 (_dl_add_to_namespace_list): ...here. New function.
35251 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35252 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35253 * elf/dl-load.c (lose): Don't remove the element from the list.
35254 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35255 (_dl_map_object): Likewise.
35256
352572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35258
35259 [BZ #12159]
35260 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35261 into all bytes of SSE register.
35262 Patch by Richard Li <richardpku@gmail.com>.
35263
f0967738 352642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35265
35266 [BZ #12140]
35267 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35268 perturbing.
35269
d0b9e94f
MB
352702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35271
35272 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35273 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35275 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35277 submachine.
35278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35279
8e9f92e9
AS
352802010-10-22 Andreas Schwab <schwab@redhat.com>
35281
35282 * include/dlfcn.h (__RTLD_SECURE): Define.
35283 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35284 mode & __RTLD_SECURE instead.
35285 (open_path): Rename preloaded parameter to secure.
35286 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35287 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35288 * elf/dl-deps.c (openaux): Likewise.
35289 * elf/rtld.c (struct map_args): Remove is_preloaded.
35290 (map_doit): Don't use it.
35291 (dl_main): Likewise.
35292 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35293 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35294
bc96fbda
AS
352952010-09-09 Andreas Schwab <schwab@redhat.com>
35296
35297 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35298 (sysd-rules-targets): Remove duplicates.
35299 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35300 rtld-%.$o dependency.
35301
22cd1c9b
AS
353022010-10-18 Andreas Schwab <schwab@redhat.com>
35303
35304 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35305 _dl_map_object do it.
35306
18edac48
UD
353072010-10-19 Ulrich Drepper <drepper@gmail.com>
35308
35309 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35310 fast fma builtins, define the macros in the C99 standard.
35311 (FP_FAST_FMAF): Likewise.
35312 (FP_FAST_FMAL): Likewise.
35313 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35314
35315 * bits/mathdef.h: Update copyright year.
35316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35317
d2050124
MM
353182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35319
35320 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35321 builtins, define the macros in the C99 standard.
35322 (FP_FAST_FMAF): Likewise.
35323 (FP_FAST_FMAL): Likewise.
35324 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35325 multiply/add.
35326 (FP_FAST_FMAF): Likewise.
35327
475facd1
JJ
353282010-10-15 Jakub Jelinek <jakub@redhat.com>
35329
35330 [BZ #3268]
35331 * math/libm-test.inc (fma_test): Some new testcases.
35332 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35334 y and infinite z. Do multiplication by C already in long double.
35335 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35337 y and infinite z. Do bitwise or of inexact bit into u.d.
35338 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35339 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35340 * sysdeps/i386/fpu/s_fma.S: Removed.
35341 * sysdeps/i386/fpu/s_fmal.S: Removed.
35342
7c08a05c
JJ
353432010-10-16 Jakub Jelinek <jakub@redhat.com>
35344
35345 [BZ #3268]
35346 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35348 computation is not scheduled after fetestexcept. Fix value
35349 of minimum denormal long double.
35350
f3f7372d
JJ
353512010-10-14 Jakub Jelinek <jakub@redhat.com>
35352
35353 [BZ #3268]
35354 * math/libm-test.inc (fma_test): Add some more tests.
35355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35356 correctly.
35357
14d43591
AS
353582010-10-15 Andreas Schwab <schwab@redhat.com>
35359
35360 * scripts/data/localplt-s390-linux-gnu.data: New file.
35361 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35362
5e908464
JJ
353632010-10-13 Jakub Jelinek <jakub@redhat.com>
35364
35365 [BZ #3268]
35366 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35367 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35368 instead of dbl-64.
35369 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35370 inlines.
35371 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35373 if one of x and y is very large and the other is subnormal.
35374 * sysdeps/s390/fpu/s_fmaf.c: New file.
35375 * sysdeps/s390/fpu/s_fma.c: New file.
35376 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35377 * sysdeps/powerpc/fpu/s_fma.S: New file.
35378 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35379 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35380 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35381
353822010-10-12 Jakub Jelinek <jakub@redhat.com>
35383
35384 [BZ #3268]
35385 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35386 fma tests.
35387 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35388 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35389 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35390 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35391 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35392 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35394
b833d51f
UD
353952010-10-12 Ulrich Drepper <drepper@redhat.com>
35396
35397 [BZ #12078]
35398 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35399 * posix/bug-regex31.input: Add test case.
35400
1751705d
UD
354012010-10-11 Ulrich Drepper <drepper@gmail.com>
35402
e9b9cbf5
UD
35403 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35404 * posix/bug-regex31.input: New file.
35405
35406 [BZ #12078]
35407 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35408 (parse_sub_exp): Fix last change, use postorder.
35409
ef06edbe
UD
35410 * posix/bug-regex31.c: New file.
35411 * posix/Makefile: Add rules to build and run bug-regex31.
35412
a129c80d
UD
35413 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35414
35415 [BZ #12078]
35416 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35417
b76b818e
UD
35418 [BZ #12108]
35419 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35420 to have entries in sys_siglist.
35421
1751705d
UD
35422 [BZ #12093]
35423 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35424 be NULL.
35425
9ff8d36f
JJ
354262010-10-07 Jakub Jelinek <jakub@redhat.com>
35427
35428 [BZ #3268]
35429 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35430 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35431 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35432 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35433 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35434 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35435 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35436 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35437 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35438 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35439 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35440 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35441 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35442 * math/ftestexcept.c (fetestexcept): Likewise.
35443 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35444 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35445 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35446 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35447 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35448 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35450
af325969
UD
354512010-10-11 Ulrich Drepper <drepper@gmail.com>
35452
c579b202 35453 [BZ #12107]
af325969
UD
35454 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35455 newline.
35456
67a67b95
UD
354572010-10-06 Ulrich Drepper <drepper@gmail.com>
35458
35459 * string/bug-strstr1.c: New file.
35460 * string/Makefile: Add rules to build and run bug-strstr1.
35461
5fb308bc
EB
354622010-10-05 Eric Blake <eblake@redhat.com>
35463
35464 [BZ #12092]
35465 * string/str-two-way.h (two_way_long_needle): Always clear memory
35466 when skipping input due to the shift table.
35467
45db99c7
UD
354682010-10-03 Ulrich Drepper <drepper@gmail.com>
35469
3b111893
UD
35470 [BZ #12005]
35471 * malloc/mcheck.c: Handle large requests.
35472
45db99c7
UD
35473 [BZ #12077]
35474 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35475 for strncmp and strncasecmp.
35476 * string/stratcliff.c: Add tests for strcmp and strncmp.
35477 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35478
cf7a1eb8
NI
354792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35480
35481 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35482 __set_fpscr.
35483
6484ba5e
AJ
354842010-09-30 Andreas Jaeger <aj@suse.de>
35485
35486 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35487 (CGROUP_SUPER_MAGIC): Define.
35488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35489 Handle btrfs and cgroup file systems.
35490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35491 Likewise.
35492
91c42559
LM
354932010-09-27 Luis Machado <luisgpm@br.ibm.com>
35494
35495 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35496 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35497
87a97932
AK
354982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35499
35500 [BZ #12067]
35501 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35502 trying to locate the ELF header.
35503
c21cc9bc
AS
355042010-09-27 Andreas Schwab <schwab@redhat.com>
35505
35506 [BZ #11611]
35507 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35508 Mask out sign-bit copies when constructing f_fsid.
35509
315970f6
PB
355102010-09-24 Petr Baudis <pasky@suse.cz>
35511
35512 * debug/stack_chk_fail_local.c: Add missing licence exception.
35513 * debug/warning-nop.c: Likewise.
35514
1ac7a2c7
JM
355152010-09-15 Joseph Myers <joseph@codesourcery.com>
35516
35517 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35518 implementing getdents64 using getdents syscall, set d_type if
35519 __ASSUME_GETDENTS32_D_TYPE.
35520
56801c50
AS
355212010-09-16 Andreas Schwab <schwab@redhat.com>
35522
35523 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35524 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35525
dda51327
UD
355262010-09-21 Ulrich Drepper <drepper@redhat.com>
35527
35528 [BZ #12037]
35529 * posix/unistd.h: Undo change of feature selection for ftruncate from
35530 2010-01-11.
35531
8ffcee4a
UD
355322010-09-20 Ulrich Drepper <drepper@redhat.com>
35533
a545ecd9 35534 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35535 detection.
35536
e24f0a8b
AS
355372010-09-20 Andreas Schwab <schwab@redhat.com>
35538
35539 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35540 fanotify_mark.
35541 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35542
7291c56f
AS
355432010-09-14 Andreas Schwab <schwab@redhat.com>
35544
35545 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35546 variables after CHECK_SP call.
35547 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35548
bc5fb037
AS
355492010-09-13 Andreas Schwab <schwab@redhat.com>
35550 Ulrich Drepper <drepper@redhat.com>
35551
35552 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35553 re-relocationg ld.so.
35554 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35555 _dl_init_paths call.
35556 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35557 here anymore.
35558
e66e7419
UD
355592010-09-14 Ulrich Drepper <drepper@redhat.com>
35560
35561 * resolv/res_init.c (__res_vinit): Count the default server we added.
35562
c044aa75
CLT
355632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35564 Ulrich Drepper <drepper@redhat.com>
35565
35566 [BZ #11968]
35567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35568 (____longjmp_chk): Use %ebx for saving value across system call.
35569 Add unwind info.
35570
32cf4069
AS
355712010-09-06 Andreas Schwab <schwab@redhat.com>
35572
35573 * manual/Makefile: Don't mix pattern rules with normal rules.
35574
817328ee
AS
355752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35576
35577 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35578 operation.
35579 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35580 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35581 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35582 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35584 Likewise.
35585
29fddf61
UD
355862010-09-04 Ulrich Drepper <drepper@redhat.com>
35587
35588 [BZ #11979]
35589 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35590 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35591
0959ffc9
UD
355922010-09-02 Ulrich Drepper <drepper@redhat.com>
35593
35594 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35595 * sysdeps/x86_64/addmul_1.S: Likewise.
35596 * sysdeps/x86_64/lshift.S: Likewise.
35597 * sysdeps/x86_64/mul_1.S: Likewise.
35598 * sysdeps/x86_64/rshift.S: Likewise.
35599 * sysdeps/x86_64/sub_n.S: Likewise.
35600 * sysdeps/x86_64/submul_1.S: Likewise.
35601
ece29840
ST
356022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35603
0959ffc9
UD
35604 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35605 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35606 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35607 * bits/sched.h [__need_schedparam]
ece29840 35608 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35609 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35610 (__defined_schedparam): Define to 1.
ece29840
ST
35611 (__sched_param): New structure, identical to sched_param.
35612 (__need_schedparam): Undefine.
35613
e53a31fe
MF
356142010-08-31 Mike Frysinger <vapier@gentoo.org>
35615
fdc0c10d
MF
35616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35617 (epoll_create1): Declare.
35618
e53a31fe
MF
35619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35620
a726d796
AS
356212010-08-31 Andreas Schwab <schwab@redhat.com>
35622
35623 [BZ #7066]
35624 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35625 shifting retval into place.
35626
2f3e3dc7
UD
356272010-09-01 Ulrich Drepper <drepper@redhat.com>
35628
f2933da9
UD
35629 * nis/rpcsvc/nis.h: Update copyright notice.
35630 * nis/rpcsvc/nis.x: Likewise.
35631 * nis/rpcsvc/nis_callback.h: Likewise.
35632 * nis/rpcsvc/nis_callback.x: Likewise.
35633 * nis/rpcsvc/nis_object.x: Likewise.
35634 * nis/rpcsvc/nis_tags.h: Likewise.
35635 * nis/rpcsvc/yp.h: Likewise.
35636 * nis/rpcsvc/yp.x: Likewise.
35637 * nis/rpcsvc/ypupd.h: Likewise.
35638 * nis/yp_xdr.c: Likewise.
35639 * nis/ypupdate_xdr.c: Likewise.
35640
2f3e3dc7
UD
35641 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35642 mainly the body of pmap_getport. Add parameters to specify timeouts.
35643 (pmap_getport): Use __libc_rpc_getport.
35644 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35645 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35646 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35647
f3dcc2f9
AS
356482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35649
35650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35651 fanotify_mark.
35652
6d34eb5b
RM
356532010-08-27 Roland McGrath <roland@redhat.com>
35654
35655 * sysdeps/i386/i686/multiarch/Makefile
35656 (CFLAGS-varshift.c): New variable.
35657
9ea3de11
UD
356582010-08-27 Ulrich Drepper <drepper@redhat.com>
35659
c96d23fc
UD
35660 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35661 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35662
9ea3de11
UD
35663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35664
35665 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35666
623aac7f
L
356672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35668
35669 * sysdeps/x86_64/strlen.S: Unroll the loop.
35670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35671 strlen-sse2 strlen-sse2-bsf.
35672 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35673 __strlen_no_bsf if bit_Slow_BSF is set.
35674 (__strlen_sse42): Removed.
35675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35676 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35677
8b2b7715
RM
356782010-08-25 Roland McGrath <roland@redhat.com>
35679
35680 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35681 * sysdeps/x86_64/multiarch/varshift.c: New file.
35682 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35683 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35684 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35685 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35686
e73015f2
L
356872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35688
35689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35690 strlen-sse2 strlen-sse2-bsf.
35691 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35692 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35693 (__strlen_sse2): Removed.
35694 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35697 bit_Slow_BSF for Atom.
35698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35699 (index_Slow_BSF): Define.
35700 (HAS_SLOW_BSF): Define.
35701
df24a73e
UD
357022010-08-25 Ulrich Drepper <drepper@redhat.com>
35703
35704 [BZ #10851]
35705 * resolv/res_init.c (__res_vinit): When no server address at all
35706 is given default to loopback.
35707
f2ac4868
RM
357082010-08-24 Roland McGrath <roland@redhat.com>
35709
09055553
RM
35710 * configure.in: Remove config-name.h generation.
35711 * configure: Regenerated.
35712 * config-name.in: File removed.
35713 * scripts/config-uname.sh: New file.
35714 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35715 ($(objdir)config-name.h): New target.
35716
f2ac4868
RM
35717 * sunrpc/rpc_parse.h: Avoid nested comment.
35718
73f27d5e
RH
357192010-08-24 Richard Henderson <rth@redhat.com>
35720 Ulrich Drepper <drepper@redhat.com>
35721 H.J. Lu <hongjiu.lu@intel.com>
35722
35723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35725 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35726 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35727 _mm_alignr_epi8 with _mm_loadu_si128.
35728 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35729 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35730 (__m128i_shift_right): Removed.
35731 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35732 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35733 * sysdeps/x86_64/multiarch/varshift.h: New file.
35734 * sysdeps/x86_64/multiarch/varshift.S: New file.
35735
84b9230c
MF
357362010-08-21 Mike Frysinger <vapier@gentoo.org>
35737
35738 * configure.in: Move assembler checks to before sysdep dir checking.
35739
9bbd0ddc
PB
357402010-08-20 Petr Baudis <pasky@suse.cz>
35741
35742 * LICENSES: Sync the sunrpc license.
35743
9da4bb31
UD
357442010-08-19 Ulrich Drepper <drepper@redhat.com>
35745
a7ab6ec8
UD
35746 * sunrpc/auth_des.c: Update copyright notice once again.
35747 * sunrpc/auth_none.c: Likewise.
35748 * sunrpc/auth_unix.c: Likewise.
35749 * sunrpc/authdes_prot.c: Likewise.
35750 * sunrpc/authuxprot.c: Likewise.
35751 * sunrpc/bindrsvprt.c: Likewise.
35752 * sunrpc/clnt_gen.c: Likewise.
35753 * sunrpc/clnt_perr.c: Likewise.
35754 * sunrpc/clnt_raw.c: Likewise.
35755 * sunrpc/clnt_simp.c: Likewise.
35756 * sunrpc/clnt_tcp.c: Likewise.
35757 * sunrpc/clnt_udp.c: Likewise.
35758 * sunrpc/clnt_unix.c: Likewise.
35759 * sunrpc/des_crypt.c: Likewise.
35760 * sunrpc/des_soft.c: Likewise.
35761 * sunrpc/get_myaddr.c: Likewise.
35762 * sunrpc/getrpcport.c: Likewise.
35763 * sunrpc/key_call.c: Likewise.
35764 * sunrpc/key_prot.c: Likewise.
35765 * sunrpc/openchild.c: Likewise.
35766 * sunrpc/pm_getmaps.c: Likewise.
35767 * sunrpc/pm_getport.c: Likewise.
35768 * sunrpc/pmap_clnt.c: Likewise.
35769 * sunrpc/pmap_prot.c: Likewise.
35770 * sunrpc/pmap_prot2.c: Likewise.
35771 * sunrpc/pmap_rmt.c: Likewise.
35772 * sunrpc/rpc/auth.h: Likewise.
35773 * sunrpc/rpc/auth_unix.h: Likewise.
35774 * sunrpc/rpc/clnt.h: Likewise.
35775 * sunrpc/rpc/des_crypt.h: Likewise.
35776 * sunrpc/rpc/key_prot.h: Likewise.
35777 * sunrpc/rpc/netdb.h: Likewise.
35778 * sunrpc/rpc/pmap_clnt.h: Likewise.
35779 * sunrpc/rpc/pmap_prot.h: Likewise.
35780 * sunrpc/rpc/pmap_rmt.h: Likewise.
35781 * sunrpc/rpc/rpc.h: Likewise.
35782 * sunrpc/rpc/rpc_des.h: Likewise.
35783 * sunrpc/rpc/rpc_msg.h: Likewise.
35784 * sunrpc/rpc/svc.h: Likewise.
35785 * sunrpc/rpc/svc_auth.h: Likewise.
35786 * sunrpc/rpc/types.h: Likewise.
35787 * sunrpc/rpc/xdr.h: Likewise.
35788 * sunrpc/rpc_clntout.c: Likewise.
35789 * sunrpc/rpc_cmsg.c: Likewise.
35790 * sunrpc/rpc_common.c: Likewise.
35791 * sunrpc/rpc_cout.c: Likewise.
35792 * sunrpc/rpc_dtable.c: Likewise.
35793 * sunrpc/rpc_hout.c: Likewise.
35794 * sunrpc/rpc_main.c: Likewise.
35795 * sunrpc/rpc_parse.c: Likewise.
35796 * sunrpc/rpc_parse.h: Likewise.
35797 * sunrpc/rpc_prot.c: Likewise.
35798 * sunrpc/rpc_sample.c: Likewise.
35799 * sunrpc/rpc_scan.c: Likewise.
35800 * sunrpc/rpc_scan.h: Likewise.
35801 * sunrpc/rpc_svcout.c: Likewise.
35802 * sunrpc/rpc_tblout.c: Likewise.
35803 * sunrpc/rpc_util.c: Likewise.
35804 * sunrpc/rpc_util.h: Likewise.
35805 * sunrpc/rpcinfo.c: Likewise.
35806 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35807 * sunrpc/rpcsvc/key_prot.x: Likewise.
35808 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35809 * sunrpc/rpcsvc/mount.x: Likewise.
35810 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35811 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35812 * sunrpc/rpcsvc/rex.x: Likewise.
35813 * sunrpc/rpcsvc/rstat.x: Likewise.
35814 * sunrpc/rpcsvc/rusers.x: Likewise.
35815 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35816 * sunrpc/rpcsvc/spray.x: Likewise.
35817 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35818 * sunrpc/rtime.c: Likewise.
35819 * sunrpc/svc.c: Likewise.
35820 * sunrpc/svc_auth.c: Likewise.
35821 * sunrpc/svc_authux.c: Likewise.
35822 * sunrpc/svc_raw.c: Likewise.
35823 * sunrpc/svc_run.c: Likewise.
35824 * sunrpc/svc_simple.c: Likewise.
35825 * sunrpc/svc_tcp.c: Likewise.
35826 * sunrpc/svc_udp.c: Likewise.
35827 * sunrpc/svc_unix.c: Likewise.
35828 * sunrpc/svcauth_des.c: Likewise.
35829 * sunrpc/xcrypt.c: Likewise.
35830 * sunrpc/xdr.c: Likewise.
35831 * sunrpc/xdr_array.c: Likewise.
35832 * sunrpc/xdr_float.c: Likewise.
35833 * sunrpc/xdr_mem.c: Likewise.
35834 * sunrpc/xdr_rec.c: Likewise.
35835 * sunrpc/xdr_ref.c: Likewise.
35836 * sunrpc/xdr_sizeof.c: Likewise.
35837 * sunrpc/xdr_stdio.c: Likewise.
35838
9da4bb31
UD
35839 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35840 handling.
35841
bdaa77bc
AS
358422010-08-19 Andreas Schwab <schwab@redhat.com>
35843
35844 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35845
fe2f79db
LM
358462010-08-19 Luis Machado <luisgpm@br.ibm.com>
35847
35848 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35849 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35850 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35851 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35852 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35853 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35854 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35855 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35856 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35857 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35858 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35859 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35860 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35861 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35862
b9b42ee0
AB
358632010-07-26 Anton Blanchard <anton@samba.org>
35864
35865 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35866 * malloc/arena.c (heap_trim): Likewise.
35867
1c06ba31
UD
358682010-08-16 Ulrich Drepper <drepper@redhat.com>
35869
35870 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35871 here. Not...
35872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35873 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35874
f8392f40
L
358752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35876
35877 * sysdeps/i386/elf/Makefile: New file.
35878
3162f12e
AS
358792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35880
35881 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35882 from fanotify_init.
35883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35885
28c90b2c
UD
358862010-08-15 Ulrich Drepper <drepper@redhat.com>
35887
35888 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35889 of strncasecmp_l.
1feccb6c 35890 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35891
ca6bb004
UD
358922010-08-14 Ulrich Drepper <drepper@redhat.com>
35893
e9f82e0d
UD
35894 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35895 strncase_l-nonascii.
35896 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35897 Add strncase_l-ssse3.
35898 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35899 * sysdeps/x86_64/strcmp.S: Likewise.
35900 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35901 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35902 * sysdeps/x86_64/strncase.S: New file.
35903 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35904 * sysdeps/x86_64/strncase_l.S: New file.
35905 * string/Makefile (strop-tests): Add strncasecmp.
35906 * string/test-strncasecmp.c: New file.
35907
35908 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35909 warning.
35910
ca6bb004
UD
35911 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35912 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35913
052fa7b3
AS
359142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35915
35916 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35917
962dba78
UD
359182010-08-12 Ulrich Drepper <drepper@redhat.com>
35919
35920 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35921 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35922 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35923
bebff237
AM
359242010-05-01 Alan Modra <amodra@gmail.com>
35925
35926 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35927 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35928 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35929 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35930 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35931 tidying. Don't tail-call __sigjmp_save for static lib.
35932 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35933 save location.
35934 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35935 (CALL_MCOUNT): Add eh info, and nop after bl.
35936 (TAIL_CALL_SYSCALL_ERROR): New macro.
35937 (PSEUDO_RET): Use it.
35938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35939 Correct save location of integer regs and cr.
35940 (_dl_profile_resolve): Correct cr save location. Delete nops
35941 after bl when SHARED. Reduce cfi size a little by better
35942 placement of cfi directives.
35943 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35944 make a stack frame. Instead use parm save area as a temp.
35945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35946 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35948 Don't make a stack frame for parent, use parm save area.
35949 Increase child stack frame to 112 bytes. Don't save unused reg,
35950 and adjust reg usage. Set up cfi on error recovery and
35951 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35953 (__makecontext): Add dummy nop after jump to exit.
35954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35955 Use correct parm save area and cr save, reduce stack frame.
35956 Correct cfi for possible PSEUDO_RET frame setup.
35957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35958 Branch to local label emitted by PSEUDO_RET rather than
35959 __syscall_error.
35960
02637374
AS
359612010-08-12 Andreas Schwab <schwab@redhat.com>
35962
35963 [BZ #11904]
35964 * locale/programs/locale.c (print_assignment): New function.
35965 (show_locale_vars): Use it.
35966
c3e2f19b
UD
359672010-08-11 Ulrich Drepper <drepper@redhat.com>
35968
3cdaa6ad
UD
35969 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35970 field.
35971 (struct statfs64): Likewise.
35972 (_STATFS_F_FLAGS): Define.
35973 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35975 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35976 (ST_VALID): Define locally.
35977 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35978 __statvfs_getflags, use the provided value.
35979 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35980 __ASSUME_STATFS_F_FLAGS.
35981
754f7da3
UD
35982 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35983
10b3bedc
UD
35984 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35985 Add sys/fanotify.h.
35986 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35987 fanotify_mask for GLIBC_2.13.
35988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35989 fanotify_init and fanotify_mark.
35990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35991 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35992
c08fb0d7
UD
35993 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35994 Add prlimit.
35995 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35996 prlimit64 for GLIBC_2.13.
35997 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35998 prlimit64.
35999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36000 syscall.
36001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36003 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36004 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36006 add prlimit alias.
36007 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36008
15bac72b
UD
36009 [BZ #11903]
36010 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36011 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36012
c3e2f19b
UD
36013 * nss/Makefile: Add rules to build and run tst-nss-test1.
36014 * shlib-versions: Add entry for libnss_test1.
36015 * nss/nss_test1.c: New file.
36016 * nss/tst-nss-test1.c: New file.
36017
36018 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36019 (__nss_configure_lookup): Set appropriate entry in
36020 __nss_configure_lookup to true.
36021 * nss/nsswitch.h: Define enum with indeces of databases in
36022 databases and __nss_database_custom arrays. Declare
36023 __nss_database_custom.
36024 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36025 to avoid using nscd when custom rules are installed.
36026 * nss/getXXbyYY_r.c: Likewise.
36027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36028
36029 * nss/nss_files/files-parse.c: Whitespace fixes.
36030
f15ce4d8
UD
360312010-08-09 Ulrich Drepper <drepper@redhat.com>
36032
36033 [BZ #11883]
36034 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36035 * posix/fnmatch_loop.c: Likewise.
36036
d22e4cc9
AK
360372010-07-17 Andi Kleen <ak@linux.intel.com>
36038
36039 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36040 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36041 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36042 * Versions.def [GLIBC_2.13]: Add.
36043
805bc17d
UD
360442010-08-06 Ulrich Drepper <drepper@redhat.com>
36045
36046 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36047 Also fail if tpwd after pwuid call is NULL.
36048
5a42321d
ST
360492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36050
36051 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36052 when converting to ms.
36053
fd3ebeda
ST
360542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36055
36056 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36057 EOPNOTSUPP errors with ENOTTY.
36058 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36059 EOPNOTSUPP errors with ENOTTY.
36060
73507d3a
UD
360612010-07-31 Ulrich Drepper <drepper@redhat.com>
36062
36063 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36064 Add strcasecmp_l-ssse3.
36065 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36066 strcasecmp.
36067 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36068 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36069 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36070
fe36dd02
UD
360712010-07-30 Ulrich Drepper <drepper@redhat.com>
36072
66f6765a
UD
36073 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36074
42e08a54
UD
36075 * string/Makefile (strop-tests): Add strcasecmp.
36076 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36077 strcasecmp_l-nonascii.
36078 (gen-as-const-headers): Add locale-defines.sym.
36079 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36080 * sysdeps/x86_64/strcasecmp.S: New file.
36081 * sysdeps/x86_64/strcasecmp_l.S: New file.
36082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36083 * sysdeps/x86_64/locale-defines.sym: New file.
36084 * string/test-strcasecmp.c: New file.
36085
fe36dd02
UD
36086 * string/test-strcasestr.c: Test both ends of the range of characters.
36087 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36088
48cbc0d6
RM
360892010-07-29 Roland McGrath <roland@redhat.com>
36090
76e6d6bc 36091 [BZ #11856]
48cbc0d6
RM
36092 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36093
880113d9
UD
360942010-07-27 Ulrich Drepper <drepper@redhat.com>
36095
36096 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36097 for ld.so.
36098
deb9cabb
AS
360992010-07-27 Andreas Schwab <schwab@redhat.com>
36100
36101 * manual/memory.texi (Malloc Tunable Parameters): Document
36102 M_PERTURB.
36103
1c7570ff
RM
361042010-07-26 Roland McGrath <roland@redhat.com>
36105
36106 [BZ #11840]
36107 * configure.in (-fgnu89-inline check): Set and substitute
36108 gnu89_inline, not libc_cv_gnu89_inline.
36109 * configure: Regenerated.
36110 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36111
24fb0f88
UD
361122010-07-26 Ulrich Drepper <drepper@redhat.com>
36113
36114 * string/test-strnlen.c: New file.
36115 * string/Makefile (strop-tests): Add strnlen.
36116 * string/tester.c (test_strnlen): Add a few more test cases.
36117 * string/tst-strlen.c: Better error reporting.
36118
36119 * sysdeps/x86_64/strnlen.S: New file.
36120
8e96b93a
UD
361212010-07-24 Ulrich Drepper <drepper@redhat.com>
36122
36123 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36124 lower-latency instructions.
36125
dbc676d4
UD
361262010-07-23 Ulrich Drepper <drepper@redhat.com>
36127
36128 * string/test-strcasestr.c: New file.
36129 * string/test-strstr.c: New file.
36130 * string/Makefile (strop-tests): Add strstr and strcasestr.
36131 * string/str-two-way.h: Don't undefine MAX.
36132 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36133
f6a31e0e
AS
361342010-07-21 Andreas Schwab <schwab@redhat.com>
36135
36136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36137 strcasestr-nonascii.
36138 (CFLAGS-strcasestr-nonascii.c): Define.
36139 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36140 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36141 Remove unused attribute.
36142
5dbc3b6c
RM
361432010-07-20 Roland McGrath <roland@redhat.com>
36144
36145 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36146 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36147 ld.so.cache was broken. With it, there is no way to disable dsocaps
36148 like LD_HWCAP_MASK can disable hwcaps.
36149
23d101d8
EPM
361502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36151
36152 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36153
cc9f2e47
UD
361542010-07-16 Ulrich Drepper <drepper@redhat.com>
36155
36156 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36157 call in strcasestr.
36158 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36159 __strcasestr_sse42_nonascii.
36160 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36161 strcasestr-nonascii.c.
36162 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36163
77c1b069
LM
361642010-06-15 Luis Machado <luisgpm@br.ibm.com>
36165
36166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36168 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36169 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36170
440566c3
UD
361712010-07-09 Ulrich Drepper <drepper@redhat.com>
36172
36173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36174 fcntl.
36175
5be9d05d
AS
361762010-07-06 Andreas Schwab <schwab@redhat.com>
36177
c30b7ee2 36178 [BZ #11577]
5be9d05d
AS
36179 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36180 dl_signal_cerror.
36181
8a492a67
UD
361822010-07-06 Ulrich Drepper <drepper@redhat.com>
36183
36184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36185 _PC_PIPE_BUF using F_GETPIPE_SZ.
36186
713df3d5
RM
361872010-07-05 Roland McGrath <roland@redhat.com>
36188
36189 * manual/arith.texi (Rounding Functions): Fix rint description
36190 implicit in round description.
36191
702e8f14
UD
361922010-07-02 Ulrich Drepper <drepper@redhat.com>
36193
36194 * elf/Makefile: Fix linking for a few tests to make recent linker
36195 happy.
36196
52ed8be9
AS
361972010-06-30 Andreas Schwab <schwab@redhat.com>
36198
36199 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36200 $(common-objpfx)libc_nonshared.a.
36201
f47c9a11
LM
362022010-06-21 Luis Machado <luisgpm@br.ibm.com>
36203
36204 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36205 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36206 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36207 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36208 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36209 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36210 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36211 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36226 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36227 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36228 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36229 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36230 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36231 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36232 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36233 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36234 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36235 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36236 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36237 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36252
6fb8cbcb
L
362532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36254
36255 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36256 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36257 * string/memmove.c (memmove): Renamed to ...
36258 (MEMMOVE): ...this. Default to memmove.
36259 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36260 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36261 (END_CHK): Define.
36262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36263 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36264 mempcpy-ssse3-back memmove-ssse3-back.
36265 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36266 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36267 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36268 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36269 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36270 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36271 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36272 * sysdeps/x86_64/multiarch/memmove.c: New file.
36273 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36274 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36275 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36276 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36277 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36279 Define.
36280 (index_Fast_Copy_Backward): Define.
36281 (HAS_ARCH_FEATURE): Define.
36282 (HAS_FAST_REP_STRING): Define.
36283 (HAS_FAST_COPY_BACKWARD): Define.
36284
4e733bac 362852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36286
36287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36288 Restore proper fallback handling.
36289
63c4ed22
UD
362902010-06-19 Ulrich Drepper <drepper@redhat.com>
36291
ac2b484c
UD
36292 [BZ #11701]
36293 * posix/group_member.c (__group_member): Correct checking loop.
36294
63c4ed22
UD
36295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36296 OOM in getpwuid_r correctly. Return error number when the caller
36297 should return, otherwise -1.
36298 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36299 call returning > 0 value.
36300 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36301
765ade4b
AS
363022010-06-07 Andreas Schwab <schwab@redhat.com>
36303
36304 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36305 libc_nonshared.a from targets in modules-names.
36306
80da2e09
KS
363072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36308
36309 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36310 requires it.
36311
158db122
LM
363122010-06-10 Luis Machado <luisgpm@br.ibm.com>
36313
36314 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36315 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36318
caa78cf8
AS
363192010-06-02 Andreas Schwab <schwab@redhat.com>
36320
36321 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36322
b2ef2c01
UD
363232010-06-14 Ulrich Drepper <drepper@redhat.com>
36324
36325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36326 and F_GETPIPE_SZ.
36327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36333
fbd643b6
RM
363342010-06-14 Roland McGrath <roland@redhat.com>
36335
36336 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36337
f32f2869
JJ
363382010-06-07 Jakub Jelinek <jakub@redhat.com>
36339
36340 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36341 __REDIRECT followed by __THROW.
36342 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36343 * posix/getopt.h (getopt): Likewise.
36344
2a50c078
EPM
363452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36346
36347 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36348 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36349 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36350 in AT_FLAGS.
36351 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36352 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36353
eb5ad2eb
LM
363542010-05-28 Luis Machado <luisgpm@br.ibm.com>
36355
36356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36357
3c88fe1e
L
363582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36359
36360 [BZ #11640]
36361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36362 Properly check family and model.
36363
d2f73151
TY
363642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36365
36366 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36367
ebd2e13d
LM
363682010-05-24 Luis Machado <luisgpm@br.ibm.com>
36369
36370 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36371
b32b8b45
UD
363722010-05-21 Ulrich Drepper <drepper@redhat.com>
36373
36374 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36375 symbol reference.
36376
9acbe24d
AS
363772010-05-19 Andreas Schwab <schwab@redhat.com>
36378
36379 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36380 symbol reference.
36381
f0ccf6ea
AS
363822010-05-21 Andreas Schwab <schwab@redhat.com>
36383
3d04ff3a
AS
36384 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36385 and internal_recvmmsg.
36386 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36387 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36389 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36390
f0ccf6ea
AS
36391 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36392 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36393 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36394
5b08ac57
AS
363952010-05-20 Andreas Schwab <schwab@redhat.com>
36396
36397 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36398
4828935d
LM
363992010-05-17 Luis Machado <luisgpm@br.ibm.com>
36400
36401 POWER7 optimizations.
36402 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36403 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36404
373d545e
UD
364052010-05-19 Ulrich Drepper <drepper@redhat.com>
36406
36407 * version.h: Update for 2.13 development version.
36408
21a2b1ae
AS
364092010-05-12 Andrew Stubbs <ams@codesourcery.com>
36410
36411 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36412 exceptions. Return 0.
36413
3f7dcb2b
RM
364142010-05-07 Roland McGrath <roland@redhat.com>
36415
36416 * elf/ldconfig.c (main): Add a const.
36417
5f24d53a 364182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36419
a160f8d8
UD
36420 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36421 (args_options): Add no-idn option.
36422 (ahosts_keys_int): Add idn_flags to ai_flags.
36423 (parse_option): Handle 'i' option to clear idn_flags.
36424
5f24d53a
UD
36425 * malloc/malloc.c (_int_free): Possible race in the most recently
36426 added check. Only act on the data if no current modification
36427 happened.
265bb1ce
UD
36428
36429See ChangeLog.17 for earlier changes.