]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: multiarch llrint/llrintf for PowerPC32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c9b5d79e
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4 multiarch PowerPC32 fpu implementations.
5 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6 New file.
7 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8 New file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10 multiarch llrint for PowerPC32.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12 New file.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14 New file.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16 file.
17
9cbb3aab
AZ
182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21
ea5a72f8
AZ
222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25 file.
26 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27 file.
28 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29 file.
30 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
31 multiarch wordcopy for PPC32.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33 wordcopy objects.
34 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35 (__libc_ifunc_impl_list): Likewise.
36 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42
93be09e7
AZ
432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
45 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47 file.
48 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49 file.
50 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51 file.
52 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53 multiarch wcscpy for PPC32.
54 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55 multiarch objects.
56 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57 (__libc_ifunc_impl_list): Likewise.
58 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
61 sysdeps/powerpc/power6/wcscpy.c.
62
bb04e529
AZ
632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64
65 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
66 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
67 file.
68 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
69 file.
70 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
71 file.
72 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
73 multiarch wcsrchr for PPC32.
74 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
75 multiarch objects.
76 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
77 (__libc_ifunc_impl_list): Likewise.
78 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
79 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
80 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
81 sysdeps/powerpc/power6/wcsrchr.c.
82
05b5cd1c
AZ
832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
86 file.
87 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
88 file.
89 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
90 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
91 multiarch wcschr for PPc32.
92 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
93 multiarch objects.
94 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
95 (__libc_ifunc_impl_list): Likewise.
96 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
97 * sysdeps/powerpc/power6/wcschr.c: ... to here.
98 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
99 sysdeps/powerpc/power6/wcschr.c.
100
ba964147
AZ
1012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
104 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
105 file.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
107 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
108 file: multiarch strchr for PPC32.
109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
110 multiarch objects.
111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
112 (__libc_ifunc_impl_list): Likewise.
113
31c81aaa
AZ
1142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
117 name.
118 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
119 file.
120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
121 file.
122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
123 multiarch strchrnul for PPC32.
124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
125 multiarch objects.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
127 (__libc_ifunc_impl_list): Likewise.
128
0d0607d9
AZ
1292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130
131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
132 file.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
134 multiarch strncasecmp for PPC32.
135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
136 file.
137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
138 multiarch strncasecmp_l for PPC32.
139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
140 strncasecmp multiarch objects.
141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
142 (__libc_ifunc_impl_list): Likewise.
143
4dfd5c86
AZ
1442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
147 file.
148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
149 multiarch strncasecmp for PPC32.
150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
151 New file.
152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
153 multiarch strcasecmp_l for PPC32.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
155 multiarch objects.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
157 (__libc_ifunc_impl_list): Likewise.
158
a19e01a3
AZ
1592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
162 file.
163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
164 file.
165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
166 multiarch strncmp for PPC32.
167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
168 multiarch objects.
169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
170 (__libc_ifunc_impl_list): Likewise.
171
ae9cf7a2
AZ
1722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173
174 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
175 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
176 file.
177 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
178 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
180 multiarch objects.
181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
182 (__libc_ifunc_impl_list): Likewise.
183
3148bb7d
AZ
1842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
187 file.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
189 file.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
192 multiarch objects.
193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
194 (__libc_ifunc_impl_list): Likewise.
195
7af8b946
AZ
1962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197
198 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
199 file.
200 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
201 file.
202 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
203 multiarch rawmemchr for PPC32.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
205 multiarch objects.
206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
207 (__libc_ifunc_impl_list): Likewise.
208
03a6aa6a
AZ
2092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210
211 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
212 file.
213 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
214 file.
215 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
216 file: memrchr multiarch for PPC32.
217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
218 multiarch objects.
219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
220 (__libc_ifunc_impl_list): Likewise.
221
1c62e6d9
AZ
2222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223
224 * string/memchr.c (__memchr): Using macro to redefine symbol name.
225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
226 file.
227 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
228 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
229 multiarch memchr for PPC32.
230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
231 multiarch objects.
232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
233 (__libc_ifunc_impl_list): Likewise.
234
87da8bdb
AZ
2352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236
237 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
238 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
239 file.
240 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
241 file.
242 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
243 file: multiarch mempcpy for PPC32.
244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
245 multiarch objects.
246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
247 (__libc_ifunc_impl_list): Likewise.
248
20ed4714
AZ
2492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
252 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
253 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
254 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
255 multiarch bzero for PPC32.
256 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
257 file.
258 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
259 file.
260 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
261 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
262 file: multiarch memset for PPC32.
263 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
265 memset multiarch objects.
266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
267 (__libc_ifunc_impl_list): Likewise.
268
ab3e3a46
AZ
2692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270
271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
272 file.
273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
275 memcmp for PPC32.
276 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
278 multiarch objects.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
280 (__libc_ifunc_impl_list): Likewise.
281
930de6f0
AZ
2822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
285 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
287 file.
288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
289 file.
290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
291 file.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
293 multiarch memcpy for PPC32.
294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
295 multiarch objects.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
297 (__libc_ifunc_impl_list): Likewise.
298
4c628e00
AZ
2992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
300
301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
302 support multiarch for POWER/PPC32.
303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
304 Likewise.
305 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
307 Implies file to make multiarch folder appers before the fpu and
308 default folder for power4 configuration.
309
f4479220
SP
3102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
311
312 * scripts/bench.pl: Append volatile keyword to type.
313
8517800f
KK
3142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
315
316 * sysdeps/sh/sotruss-lib.c: New file.
317 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
318
180138f1
AZ
3192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
320
321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
322
bbf37bdc
JM
3232013-12-05 Joseph Myers <joseph@codesourcery.com>
324
e47cc4e0
JM
325 [BZ #6810]
326 * math/w_tgamma.c: Include <errno.h>.
327 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
328 * math/w_tgammaf.c: Include <errno.h>.
329 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
330 * math/w_tgammal.c: Include <errno.h>.
331 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
332 * math/auto-libm-test-in: Do not allow missing errno on tgamma
333 underflow. Add more tgamma tests.
334 * math/auto-libm-test-out: Regenerated.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
bbf37bdc
JM
338 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
339 sin, sinh, tan, tanh, tgamma, y0 and y1.
340 * math/auto-libm-test-out: Regenerated.
341 * math/libm-test.inc (TEST_COND_x86_64): New macro.
342 (TEST_COND_x86): Likewise.
343 (M_E2l): Remove macro.
344 (M_E3l): Likewise.
345 (M_2_SQRT_PIl): Likewise.
346 (M_SQRT_PIl): Likewise.
347 (M_1_DIV_El): Likewise.
348 (log_test_data): Use AUTO_TESTS_f_f.
349 (log10_test_data): Likewise.
350 (log1p_test_data): Likewise.
351 (log2_test_data): Likewise.
352 (sin_test_data): Likewise.
353 (sin_tonearest_test_data): Likewise.
354 (sin_towardzero_test_data): Likewise.
355 (sin_downward_test_data): Likewise.
356 (sin_upward_test_data): Likewise.
357 (sinh_test_data): Likewise.
358 (sinh_tonearest_test_data): Likewise.
359 (sinh_towardzero_test_data): Likewise.
360 (sinh_downward_test_data): Likewise.
361 (sinh_upward_test_data): Likewise.
362 (tan_test_data): Likewise.
363 (tan_tonearest_test_data): Likewise.
364 (tan_towardzero_test_data): Likewise.
365 (tan_downward_test_data): Likewise.
366 (tan_upward_test_data): Likewise.
367 (tanh_test_data): Likewise.
368 (tgamma_test_data): Likewise.
369 (y0_test_data): Likewise.
370 (y1_test_data): Likewise.
371 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
372 (special_real_inputs): Add pi/4.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
375
eb5ad6b9
AZ
3762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
379 "longjmp_target" static probes.
380 (__longjmp): Rename to __longjmp_symbol.
381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
382 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
383 on which longjmp to generate.
384 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
385 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
386 probe.
387 (__sigsetjmp): Rename to __sigsetjmp_symbol.
388 (__sigjmp_save): Rename to __sigjmp_save_symbol.
389 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
390 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
391 and __sigjmp_save_symbol based on which sigsetjmp to generated.
392 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
394 __longjmp_symbol based on which __longjmp to generate.
395 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
396 probe.
397 (setjmp): Rename to setjmp_symbol.
398 (__sigsetjmp): Rename to __sigsetjmp_symbol.
399 (_setjmp): Rename to _setjmp_symbol.
400 (__sigsetjmp): Rename to __sigsetjmp_symbol.
401 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
402 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
403 which setjmp to generate.
404 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
405 "longjmp_target" static probes.
406
d136c6dc
SP
4072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
408
9298ecba
SP
409 * benchtests/README: Add note about output arguments.
410 * benchtests/bench-sincos.c: Remove file.
411 * benchtests/sincos-inputs: New file.
412 * scripts/bench.pl: Identify output arguments and define
413 static variables for them.
414
232983e9
SP
415 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
416
d136c6dc
SP
417 [BZ #15941]
418 * Makefile (INSTALL): Add install-plain.texi as the primary
419 dependency.
420 * manual/install-plain.texi: New file.
421 * manual/install.texi: Include node directive only for
422 non-plaintext output.
423
699ff837
JM
4242013-12-04 Joseph Myers <joseph@codesourcery.com>
425
ab07cea8
JM
426 * stdlib/longlong.h: Update from GCC.
427
699ff837
JM
428 [BZ #6807]
429 [BZ #15901]
430 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
431 * math/w_j0f.c (y0f): Likewise.
432 * math/w_j0l.c (__y0l): Likewise.
433 * math/w_j1.c (y1): Likewise.
434 * math/w_j1f.c (y1f): Likewise.
435 * math/w_j1l.c (__y1l): Likewise
436 * math/w_jn.c (yn): Likewise.
437 * math/w_jnf.c (ynf): Likewise.
438 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
439 Bessel function pole errors in _POSIX_ mode. Use NAN as return
440 value for Bessel function domain errors outside _SVID_ mode.
441 Adjust sign of return value for yn (negative integer, 0).
442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
443 by zero in return for negative x and set sign appropriately for
444 negative n.
445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
446 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
447 * math/libm-test.inc (y0_test_data): Add more tests and adjust
448 expectations in error cases.
449 (y1_test_data): Likewise.
450 (yn_test_data): Likewise.
451 * sysdeps/i386/fpu/libm-test-ulps: Update.
452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
453
5b118558
UW
4542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
455
456 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
457 "64" to "64-v1". Add "64-v2".
458 (abi-64-options): Rename to ...
459 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
460 (abi-64-condition): Rename to ...
461 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
462 (abi-64-ld-soname): Rename to ...
463 (abi-64-v1-ld-soname): ... this.
464 (abi-64-v2-options): Define.
465 (abi-64-v2-condition): Likewise.
466 (abi-64-v2-ld-soname): Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
468 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
472
61cd8fe4
UW
4732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
474 Alan Modra <amodra@gmail.com>
475
476 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
477 New versions for use with the ELFv2 ABI.
478 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
479 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
480 declaration.
481 (struct La_ppc64v2_retval): Likewise.
482 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
483 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
484 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
485 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
486 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
487 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
488 Do not save or restore CR.
489 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
490 (_dl_profile_resolve): Do no save or restore CR. Support extended
491 return values for ELFv2 ABI. Fix location of FPR return registers.
492 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
493 updated values for _CALL_ELF == 2.
494 (La_regs, La_retval, int_retval): Likewise.
495
8b8a692c
UW
4962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
497
498 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
499 (FRAME_MIN_SIZE_PARM): Likewise.
500 (FRAME_BACKCHAIN): Likewise.
501 (FRAME_CR_SAVE): Likewise.
502 (FRAME_LR_SAVE): Likewise.
503 (FRAME_TOC_SAVE): Likewise.
504 (FRAME_PARM_SAVE): Likewise.
505 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
506 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
507 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
508 (call_mcount_parm_offset): New macro.
509 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
510 (PROF): Use symbolic stack frame offsets.
511 (TAIL_CALL_SYSCALL_ERROR): Likewise.
512 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
513 Redefine in terms of FRAME_MIN_SIZE.
514 (_dl_runtime_resolve): Use symbolic stack frame offsets.
515 (_dl_profile_resolve): Likewise. Update comment.
516 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
517 symbols stack frame offsets.
518 (__sigsetjmp): Likewise.
519 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
520 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
521 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
522 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
523
524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
525 (FRAME_BACKCHAIN): Remove.
526 (FRAME_CR_SAVE): Likewise.
527 (FRAME_LR_SAVE): Likewise.
528 (FRAME_COMPILER_DW): Likewise.
529 (FRAME_LINKER_DW): Likewise.
530 (FRAME_TOC_SAVE): Likewise.
531 (FRAME_PARM_SAVE): Likewise.
532 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
533 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
534 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
536 (CHECK_SP): Use symbolic stack frame offsets.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
538 zone" instead of caller's parameter save area for temp storage.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
540 Likewise. Also, use symbolic stack frame offsets.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
542 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
543 our own stack frame instead of the caller's.
544 (__socket): Use symbolic stack frame offsets.
545
122b66de
UW
5462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
547 Alan Modra <amodra@gmail.com>
548
549 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
550 Define.
551 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
552 PPC64_LOCAL_ENTRY_OFFSET): Define.
553 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
554 New function.
555 (elf_machine_fixup_plt): Call it.
556 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
557 reloc arguments.
558 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
559 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
560 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
561 r2 before calling target.
562
696caf1d
UW
5632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
564 Alan Modra <amodra@gmail.com>
565
566 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
567 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
568 versions of macros to support ELFv2 ABI.
569 (LOCALENTRY): New macro.
570 (ENTRY, EALIGN): Use it.
571 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
573 fall through into ENTRY entry point.
574 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
575 Only define if _CALL_ELF != 2.
576
577 (elf_machine_matches_host): Verify ABI version matches.
578 (RTLD_START): Use LOCALENTRY.
579 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
580 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
581 (PLT_ENTRY_WORDS): New macro.
582 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
583 (elf_machine_runtime_setup): Support ELFv2 ABI.
584 (elf_machine_fixup_plt): Likewise.
585 (elf_machine_plt_conflict): Likewise.
586 (resolve_ifunc): Likewise.
587 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
589 Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
591 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
593 (makecontext): Support ELFv2 ABI.
594 * elf/elf.h (EF_PPC64_ABI): Define.
595
d31beafa
UW
5962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
597
598 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
599 New assembler macro.
600 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
601 [ASSEMBLER] (ENTRY): ... but instead here ...
602 [ASSEMBLER] (EALIGN): ... and here.
603 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
604 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
605 [!ASSEMBLER] (ENTRY_2): Use it.
606 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
607 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
608 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
609 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
610 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
612 Use PPC64_LOAD_FUNCPTR.
613
b525166b
UW
6142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
615
616 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
617
7ec07d9a
AM
6182013-12-04 Alan Modra <amodra@gmail.com>
619
620 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
621 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
622 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
623 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
624
625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
626 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
627 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
628 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
629 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
630 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
631
5162e7dd
UW
6322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
633
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
635 (__makecontext): Fix incorrect CFI when backtracing out of
636 context created via makecontext.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
638 (__setcontext): Fix incorrect CFI during switch to new context.
639 (__novec_setcontext): Likewise.
640
19e3372b
OB
6412013-12-04 Ondřej Bílka <neleai@seznam.cz>
642
643 [BZ #4772]
644 * time/strptime_l.c (__strptime_internal): Allow modifiers
645 in strptime.
646 * time/tst-strptime.c (day_tests): Add testcase.
647
648
ecaf142d
SP
6492013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
650
651 * scripts/bench.pl: Skip over blank lines.
652
fbf964ae
PE
6532013-12-04 Paul Eggert <eggert@cs.ucla.edu>
654
655 [BZ #926]
656 * manual/time.texi (Calendar Time): Clarify what timezone functions
657 use.
658
fa60a674
AZ
6592013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660
661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
662
d674f0ef
OB
6632013-12-04 Ondřej Bílka <neleai@seznam.cz>
664
665 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
666 implementation.
667 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
668 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
669 * debug/memset_chk.c (__memset_chk): Likewise.
670 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
671 * debug/strncpy_chk.c: Likewise.
672
17dea188
JM
6732013-12-03 Joseph Myers <joseph@codesourcery.com>
674
749008ff
JM
675 [BZ #15268]
676 [BZ #15425]
677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
678 (__ieee754_exp): For possibly underflowing results, check size of
679 result and force underflow exception if required.
680 * math/auto-libm-test-in: Add more tests of exp.
681 * math/auto-libm-test-out: Regenerated.
682 * sysdeps/i386/fpu/libm-test-ulps: Update.
683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684
17dea188
JM
685 [BZ #16283]
686 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
687 * math/w_exp2f.c (__exp2f): Likewise.
688 * math/w_exp2l.c (__exp2l): Likewise.
689 * math/auto-libm-test-in: Do not allow missing errno on exp2
690 underflow.
691 * math/auto-libm-test-out: Regenerated.
692
b20de2c3
OB
6932013-12-03 Ondřej Bílka <neleai@seznam.cz>
694
695 [BZ #16274]
696 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
697 handle filename validation.
698 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
699 (do_open): Delete.
700
d8e2dbe3
JM
7012013-12-03 Joseph Myers <joseph@codesourcery.com>
702
34e16df5
JM
703 [BZ #6786]
704 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
705 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
706 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
707 <float.h>.
708 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
709 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
710 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
712 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
714 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
715 * math/auto-libm-test-in: Don't allow missing errno from erfc.
716 Add more erfc tests.
717 * math/auto-libm-test-out: Regenerated.
718 * sysdeps/i386/fpu/libm-test-ulps: Update.
719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
720
d8e2dbe3
JM
721 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
722 exp2, expm1, j0 and j1.
723 * math/auto-libm-test-out: Regenerated.
724 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
725 (erfc_test_data): Likewise.
726 (exp_test_data): Likewise.
727 (exp_tonearest_test_data): Likewise.
728 (exp_towardzero_test_data): Likewise.
729 (exp_downward_test_data): Likewise.
730 (exp_upward_test_data): Likewise.
731 (exp10_test_data): Likewise.
732 (exp2_test_data): Likewise.
733 (expm1_test_data): Likewise.
734 (j0_test_data): Likewise.
735 (j1_test_data): Likewise.
736 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
737 (input_flag_type): Add flag_xfail_rounding.
738 (input_flags): Add xfail-rounding.
739 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
740 (output_for_one_input_case): Handle flag_xfail_rounding.
741 * sysdeps/i386/fpu/libm-test-ulps: Update.
742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743
18d14251
AJ
7442013-12-03 Aurelien Jarno <aurelien@aurel32.net>
745
3d2e6075 746 [BZ #16289]
18d14251
AJ
747 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
748 division by 0.
749
520d437b
SP
7502013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
751
752 [BZ #16195]
753 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
754 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
755 (STAP_PROBE0): New macro.
756 (STAP_PROBE1): Likewise.
757 (STAP_PROBE2): Likewise.
758 (STAP_PROBE3): Likewise.
759 (STAP_PROBE4): Likewise.
760
416e0145
OB
7612013-12-02 Ondřej Bílka <neleai@seznam.cz>
762
763 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
764
9d17796a
SE
7652013-12-02 Steve Ellcey <sellcey@mips.com>
766
767 * benchtests/Makefile (bench): Add sqrt.
768 (LDLIBS-bench-sqrt): New.
769 * benchtests/sqrt-input: New.
770
f524d6a8
PS
7712013-12-02 Pavel Simerda <psimerda@redhat.com>
772
639a0ef8
PS
773 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
774 (GAIH_EAI): Likewise.
775 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
776 (gaih_inet): Likewise.
777 (getaddrinfo): Don't use GAIH_EAI.
778
f524d6a8
PS
779 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
780 (struct gaih): Remove definition.
781
df3aedaf
SP
7822013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
783
784 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
785 Use HERRNOP directly.
786
1ab19dec
AZ
7872013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
788
b42ad38d 789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 790
176b0c79
JM
7912013-11-30 Joseph Myers <joseph@codesourcery.com>
792
793 * math/gen-auto-libm-tests.c (test_functions): Add more
794 single-argument functions.
795 (special_fill_pi_2): New function.
796 (special_fill_minus_pi_2): Likewise.
797 (special_fill_pi_6): Likewise.
798 (special_fill_minus_pi_6): Likewise.
799 (special_fill_pi_3): Likewise.
800 (special_fill_2pi_3): Likewise.
801 (special_fill_e): Likewise.
802 (special_fill_1_e): Likewise.
803 (special_fill_e_minus_1): Likewise.
804 (special_real_inputs): Add more special inputs.
805 (output_for_one_input_case): Do not require ERANGE on underflow to
806 zero if round-to-nearest result does not underflow to zero, unless
807 exact results required.
808 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
809 atan, atanh, cbrt, cos and cosh.
810 * math/auto-libm-test-out: Regenerated.
811 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
812 (acos_tonearest_test_data): Likewise.
813 (acos_towardzero_test_data): Likewise.
814 (acos_downward_test_data): Likewise.
815 (acos_upward_test_data): Likewise.
816 (acosh_test_data): Likewise.
817 (asin_test_data): Likewise.
818 (asin_tonearest_test_data): Likewise.
819 (asin_towardzero_test_data): Likewise.
820 (asin_upward_test_data): Likewise.
821 (asinh_test_data): Likewise.
822 (atan_test_data): Likewise.
823 (atanh_test_data): Likewise.
824 (cbrt_test_data): Likewise.
825 (cos_test_data): Likewise.
826 (cos_tonearest_test_data): Likewise.
827 (cos_towardzero_test_data): Likewise.
828 (cos_downward_test_data): Likewise.
829 (cos_upward_test_data): Likewise.
830 (cosh_test_data): Likewise.
831 (cosh_tonearest_test_data): Likewise.
832 (cosh_towardzero_test_data): Likewise.
833 (cosh_downward_test_data): Likewise.
834 (cosh_upward_test_data): Likewise.
835 * sysdeps/i386/fpu/libm-test-ulps: Update.
836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
837
ffb536d0
JM
8382013-11-29 Joseph Myers <joseph@codesourcery.com>
839
2a77a467
JM
840 [BZ #6787]
841 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
842 * math/w_exp10f.c (__exp10f): Likewise.
843 * math/w_exp10l.c (__exp10l): Likewise.
844 * math/libm-test.inc (exp10_test_data): Add more tests and expect
845 errno settings in existing tests.
846
ea3bc4e8
JM
847 [BZ #14032]
848 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
849 precision control set to double precision.
850 * sysdeps/i386/fpu/w_sqrt.c: New file.
851 * math/auto-libm-test-in: Add more tests.
852 * math/auto-libm-test-out: Update.
853
0712c9d8
JM
854 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
855 (sqrt_test_tonearest): New function.
856 (sqrt_towardzero_test_data): New variable.
857 (sqrt_test_towardzero): New function.
858 (sqrt_downward_test_data): New variable.
859 (sqrt_test_downward): New function.
860 (sqrt_upward_test_data): New variable.
861 (sqrt_test_upward): New function.
862 (main): Call the new functions.
863
ffb536d0
JM
864 * math/gen-auto-libm-tests.c: New file.
865 * math/auto-libm-test-in: Likewise.
866 * math/auto-libm-test-out: New generated file.
867 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
868 variables.
869 (%beautify): Add generated representations of zero.
870 (top level): Set $auto_input and call parse_auto_input.
871 (beautify): Remove trailing "f" from hex float constants.
872 (parse_args): Handle XFAIL_TEST.
873 (convert_condition): New function.
874 (or_value): Likewise.
875 (or_cond_value): Likewise.
876 (generate_testfile): Handle AUTO_TESTS_* lines.
877 (parse_auto_input): New function.
878 * math/libm-test.inc (XFAIL_TEST): New macro.
879 (ERRNO_UNCHANGED): Update value.
880 (ERRNO_EDOM): Likewise.
881 (ERRNO_ERANGE): Likewise.
882 (IGNORE_RESULT): Likewise.
883 (TEST_COND_flt_32): New macro.
884 (TEST_COND_dbl_64): Likewise.
885 (TEST_COND_ldbl_96_intel): Likewise.
886 (TEST_COND_ldbl_96_m68k): Likewise.
887 (TEST_COND_ldbl_128): Likewise.
888 (TEST_COND_ldbl_128ibm): Likewise.
889 (TEST_COND_long32): Likewise.
890 (TEST_COND_long64): Likewise.
891 (TEST_COND_before_rounding): Likewise.
892 (TEST_COND_after_rounding): Likewise.
893 (enable_test): Handle XFAIL_TEST flag.
894 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
895 with finite results.
896 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
897 auto-libm-test-out.
898
acd98a8e
AK
8992013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
900 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
901
902 [BZ #16214]
903 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
904 __tls_get_addr_internal instead of __tls_get_offset in order to
905 avoid GOT pointer dependency. Make rtld export
906 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
907 __tls_get_addr since we are a __tls_get_offset platform.
908 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
909 GOT pointer being set up before.
910 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
911
3c1c46a6
JM
9122013-11-28 Joseph Myers <joseph@codesourcery.com>
913
7475aef5
JM
914 * manual/math.texi (Errors in Math Functions): Document accuracy
915 goals.
916
8bca7cd8
JM
917 [BZ #15004]
918 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
919 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
920 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
921 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
925 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
926 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
931 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
932 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
933 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
934
91a1f3fe
JM
935 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
936 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
937 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
938 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
939 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
940 Likewise.
941 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
942 Likewise.
943 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
944 Likewise.
945 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
946 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
947 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
948 atomic-feupdateenv and flt-rounds.
949 * sysdeps/powerpc/nofpu/Versions (libc): Add
950 __atomic_feholdexcept, __atomic_feclearexcept,
951 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
952 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
953 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
954 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
955 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
956 here.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
958 Update.
959
c5df7609
JM
960 * manual/arith.texi (FP Exceptions): Document that exceptions may
961 not be raised when matherr is used.
962 (Math Error Reporting): Document overflow in directed rounding
963 modes. Document that errno may not be set when finite values are
964 returned on overflow. Document intent to set errno on underflow
965 only for underflow to zero.
966
3c1c46a6
JM
967 [BZ #16271]
968 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
969 round-to-nearest then adjust result for other rounding modes.
970 * include/fenv.h (fegetround): Use libm_hidden_proto.
971 * math/fegetround.c (fegetround): Use libm_hidden_def.
972 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
973 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
974 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
975 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
976 Likewise.
977 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
978 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
979 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
980 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
981
5a4c6d53
SP
9822013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
983
984 [BZ #16077]
985 * nss/Versions (libnss_files): Add
986 _nss_files_gethostbyname3_r.
987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
988 New function.
989 (HOST_DB_LOOKUP): Remove macro.
990 (_nss_files_gethostbyname_r): Implement function without the
991 HOST_DB_LOOKUP macro.
992 (_nss_files_gethostbyname2_r): Likewise.
993
897b98ba
OB
9942013-11-28 Ondřej Bílka <neleai@seznam.cz>
995
996 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
997
6f476861
UB
9982013-11-26 Uros Bizjak <ubizjak@gmail.com>
999
1000 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1001 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1002 warning.
1003
bd12ab55
AZ
10042013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1005
1006 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1007 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1008 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1009 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1010 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1011 __fe_nomask_env_priv and attribute_hidden.
1012 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1013 (libc_feupdateenv_test_ppc): Likewise.
1014 (libc_feresetround_ppc): Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1016 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1017 compat_symbol macro.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1019 (__fe_nomask_env): Likewise.
1020 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1021
52bb6543
OB
10222013-11-26 Ondřej Bílka <neleai@seznam.cz>
1023
1024 * string/Makefile: Remove ifunc tests.
1025 * string/test-string.h: Define TEST_IFUNC.
1026 * string/test-bcopy-ifunc.c: Remove.
1027 * string/test-bzero-ifunc.c: Likewise.
1028 * string/test-memccpy-ifunc.c: Likewise.
1029 * string/test-memchr-ifunc.c: Likewise.
1030 * string/test-memcmp-ifunc.c: Likewise.
1031 * string/test-memcpy-ifunc.c: Likewise.
1032 * string/test-memmem-ifunc.c: Likewise.
1033 * string/test-memmove-ifunc.c: Likewise.
1034 * string/test-mempcpy-ifunc.c: Likewise.
1035 * string/test-memrchr-ifunc.c: Likewise.
1036 * string/test-memset-ifunc.c: Likewise.
1037 * string/test-rawmemchr-ifunc.c: Likewise.
1038 * string/test-stpcpy-ifunc.c: Likewise.
1039 * string/test-stpncpy-ifunc.c: Likewise.
1040 * string/test-strcasecmp-ifunc.c: Likewise.
1041 * string/test-strcasestr-ifunc.c: Likewise.
1042 * string/test-strcat-ifunc.c: Likewise.
1043 * string/test-strchr-ifunc.c: Likewise.
1044 * string/test-strchrnul-ifunc.c: Likewise.
1045 * string/test-strcmp-ifunc.c: Likewise.
1046 * string/test-strcpy-ifunc.c: Likewise.
1047 * string/test-strcspn-ifunc.c: Likewise.
1048 * string/test-strlen-ifunc.c: Likewise.
1049 * string/test-strncasecmp-ifunc.c: Likewise.
1050 * string/test-strncat-ifunc.c: Likewise.
1051 * string/test-strncmp-ifunc.c: Likewise.
1052 * string/test-strncpy-ifunc.c: Likewise.
1053 * string/test-strnlen-ifunc.c: Likewise.
1054 * string/test-strpbrk-ifunc.c: Likewise.
1055 * string/test-strrchr-ifunc.c: Likewise.
1056 * string/test-strspn-ifunc.c: Likewise.
1057 * string/test-strstr-ifunc.c: Likewise.
1058
ab260039 10592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1060
1061 * benchtests/Makefile: Remove ifunc tests.
1062 * benchtests/bench-string.h: Define TEST_IFUNC.
1063 * benchtests/bench-bcopy-ifunc.c: Remove.
1064 * benchtests/bench-bzero-ifunc.c: Likewise.
1065 * benchtests/bench-memccpy-ifunc.c: Likewise.
1066 * benchtests/bench-memchr-ifunc.c: Likewise.
1067 * benchtests/bench-memcmp-ifunc.c: Likewise.
1068 * benchtests/bench-memcpy-ifunc.c: Likewise.
1069 * benchtests/bench-memmem-ifunc.c: Likewise.
1070 * benchtests/bench-memmove-ifunc.c: Likewise.
1071 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1072 * benchtests/bench-memrchr-ifunc.c: Likewise.
1073 * benchtests/bench-memset-ifunc.c: Likewise.
1074 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1075 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1076 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1077 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1078 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1079 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1080 * benchtests/bench-strcat-ifunc.c: Likewise.
1081 * benchtests/bench-strchr-ifunc.c: Likewise.
1082 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1083 * benchtests/bench-strcmp-ifunc.c: Likewise.
1084 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1085 * benchtests/bench-strcpy-ifunc.c: Likewise.
1086 * benchtests/bench-strcspn-ifunc.c: Likewise.
1087 * benchtests/bench-strlen-ifunc.c: Likewise.
1088 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1089 * benchtests/bench-strncat-ifunc.c: Likewise.
1090 * benchtests/bench-strncmp-ifunc.c: Likewise.
1091 * benchtests/bench-strncpy-ifunc.c: Likewise.
1092 * benchtests/bench-strnlen-ifunc.c: Likewise.
1093 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1094 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1095 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1096 * benchtests/bench-strspn-ifunc.c: Likewise.
1097 * benchtests/bench-strstr-ifunc.c: Likewise.
1098
10992013-11-26 Ondřej Bílka <neleai@seznam.cz>
1100
ab260039
OB
1101 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1102
d1d9eaf4 11032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1104
d1d9eaf4
OB
1105 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1106 * rt/aio.h: Likewise.
1107 * sysdeps/gnu/bits/utmp.h: Likewise.
1108 * sysdeps/gnu/bits/utmpx.h: Likewise.
1109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1110 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1111 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1112 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1113 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1114 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1115 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1116 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1117 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1121 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1124 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1125 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1126 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1127 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1128 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1129 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1132 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1138 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1143 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1144 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1145 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1146 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1147 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1148 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1149 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1150 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1151
a7624ed9
CD
11522013-11-25 Carlos O'Donell <carlos@redhat.com>
1153
1154 [BZ #16245]
1155 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1156 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1157
63cfe52b
JM
11582013-11-25 Joseph Myers <joseph@codesourcery.com>
1159
1160 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1162 Likewise.
1163
41e8926a
AZ
11642013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165
1166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1167 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1168 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1169 (__fesetround): Remove define.
1170 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1171 rounding and exceptions handling.
1172 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1173 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1174 (__fe_nomask_env): Likewise.
1175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1176 __fegetround instead of fegetround.
1177 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1179
6851bd4d
RM
11802013-11-21 Roland McGrath <roland@hack.frob.com>
1181
070906ff
RM
1182 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1183 it's there.
1184
6851bd4d
RM
1185 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1186
84ae135d
MI
11872013-11-21 Meador Inge <meadori@codesourcery.com>
1188
1189 [BZ #11157]
1190 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1191 (encrypt_r): Likewise.
1192 * malloc/obstack.h (obstack_free): Likewise.
1193 * posix/unistd.h (encrypt): Likewise.
1194
daf75146
GM
11952013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1196
1197 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1198 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1199 DL_CALL_DT_FINI() that call the functions directly.
1200 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1201 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1202 * elf/dl-fini.c: Likewise.
1203
10ad46bc
OB
12042013-11-20 Ondřej Bílka <neleai@seznam.cz>
1205
1206 * malloc/hooks.c (memalign_check): Add alignment rounding.
1207 * malloc/malloc.c (_mid_memalign): New function.
1208 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1209 Implement by calling _mid_memalign.
1210 * manual/probes.texi (Memory Allocation Probes): Remove
1211 memory_valloc_retry and memory_pvalloc_retry.
1212
f3fd2628
SP
12132013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1214
4712799f
SP
1215 * locale/programs/locarchive.c (open_archive): Add const
1216 qualifier to ARCHIVEFNAME and copy default fname to
1217 DEFAULT_FNAME.
1218
0417b20f
SP
1219 [BZ #15601]
1220 * libio/tst-widetext.input: Rename Oriya to Odia.
1221 * locale/iso-639.def: Likewise.
1222
f3fd2628
SP
1223 * manual/probes.texi (Mathematical Function Probes): Add
1224 documentation for sin, cos, asin and acos probes.
1225 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1226 (__sin32): Add slowasin probe.
1227 (__cos32): Add slowacos probe.
1228 (__mpsin): Add slowsin probe.
1229 (__mpcos): Add slowcos probe.
1230
73c1ce4f
JM
12312013-11-19 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #15483]
1234 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1235 thread-local __sim_exceptions_thread and global
1236 __sim_exceptions_global.
1237 (__sim_disabled_exceptions): Change to thread-local
1238 __sim_disabled_exceptions_thread and global
1239 __sim_disabled_exceptions_global.
1240 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1241 and global __sim_round_mode_global.
1242 (__simulate_exceptions): Use thread-local floating-point state and
1243 set global state from it as needed.
1244 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1245 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1246 __sim_round_mode_thread.
1247 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1248 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1249 and global __sim_exceptions_global.
1250 (__sim_disabled_exceptions): Change to thread-local
1251 __sim_disabled_exceptions_thread and global
1252 __sim_disabled_exceptions_global.
1253 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1254 and global __sim_round_mode_global.
1255 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1256 (SIM_SET_GLOBAL): Likewise.
1257 * sysdeps/powerpc/soft-fp/sfp-machine.h
1258 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1259 __sim_round_mode_thread.
1260 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1261 __sim_disabled_exceptions_thread.
1262 (__sim_exceptions): Change to __sim_exceptions_thread.
1263 (__sim_disabled_exceptions): Change to
1264 __sim_disabled_exceptions_thread.
1265 (__sim_round_mode): Change to __sim_round_mode_thread.
1266 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1267 thread-local floating-point state and set global state from it as
1268 needed.
1269 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1270 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1271 (__sim_disabled_exceptions): Remove extern declaration.
1272 (feenableexcept): Use thread-local floating-point state and set
1273 global state from it as needed.
1274 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1275 extern declaration.
1276 (__sim_disabled_exceptions): Likewise.
1277 (__sim_round_mode): Likewise.
1278 (__fegetenv): Use thread-local floating-point state.
1279 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1280 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1281 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1282 floating-point state and set global state from it as needed.
1283 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1284 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1285 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1286 Likewise.
1287 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1288 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1289 Likewise.
1290 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1291 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1292 Use __sim_round_mode_thread.
1293 * math/test-fenv-tls.c: New file.
1294 * math/Makefile (tests): Add test-fenv-tls.
1295 ($(objpfx)test-fenv-tls): Depend on
1296 $(common-objpfx)nptl/libpthread.so.
1297
b5449b12
AS
12982013-11-19 Andreas Schwab <schwab@suse.de>
1299
1300 * locale/programs/locale.c (show_info): Decode wordarray elements.
1301 * locale/categories.def (LC_MONETARY): Add element for
1302 _NL_MONETARY_CRNCYSTR.
1303 * locale/C-monetary.c (conversion_rate): New variable.
1304 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1305 element.
1306
e186536b
CM
13072013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1308
1309 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1310 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1311
5c349950
PP
13122013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1313
1314 * elf/Makefile (tst-auxv): New test.
1315 * elf/tst-auxv.c: New
1316 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1317
699df45b
JM
13182013-11-18 Joseph Myers <joseph@codesourcery.com>
1319
1320 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1321 (hidden_proto): Caller changed.
1322 (hidden_tls_proto): New macro.
1323 (libc_hidden_tls_proto): Likewise.
1324 (rtld_hidden_tls_proto): Likewise.
1325 (libm_hidden_tls_proto): Likewise.
1326 (libresolv_hidden_tls_proto): Likewise.
1327 (librt_hidden_tls_proto): Likewise.
1328 (libdl_hidden_tls_proto): Likewise.
1329 (libnss_files_hidden_tls_proto): Likewise.
1330 (libnsl_hidden_tls_proto): Likewise.
1331 (libnss_nisplus_hidden_tls_proto): Likewise.
1332 (libutil_hidden_tls_proto): Likewise.
1333
b7589107
OB
13342013-11-18 Ondřej Bílka <neleai@seznam.cz>
1335
1336 [BZ #10253]
1337 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1338 (decompose_rpath): Defer expansion to fillin_rpath.
1339 (_dl_init_paths): Pass linkmap to fillin_rpath.
1340
250c23bd
RS
13412013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1342
1343 * benchtests/Makefile: Add strsep.
1344 * benchtests/bench-strsep.c: New file: strsep benchtest.
1345 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1346
a7931fcf
AS
13472013-11-18 Andreas Schwab <schwab@suse.de>
1348
1349 * locale/programs/locale.c (show_info) [case byte]: Check for
1350 '\377' instead of '\177'.
1351 * locale/C-monetary.c (not_available): Always use "\377".
1352 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1353 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1354 detect unavailable sign_posn locale elements.
1355 * locale/localeconv.c (__localeconv): For grouping and
1356 mon_grouping handle "\177" and "\377" like no grouping.
1357 (INT_ELEM): New macro. Use it to set all numeric members.
1358 * locale/programs/ld-monetary.c (monetary_read)
1359 <tok_mon_grouping>: Normalize single -1 to the empty string.
1360 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1361 Likewise.
1362
728dab0e
OB
13632013-11-07 Ondřej Bílka <neleai@seznam.cz>
1364
1365 [BZ #16055]
1366 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1367 when we match (nil).
1368 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1369
66294491
JM
13702013-11-16 Joseph Myers <joseph@codesourcery.com>
1371
ce665817
JM
1372 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1373 (NO_TEST_INLINE): Update value.
1374 (ERRNO_UNCHANGED): Likewise.
1375 (ERRNO_EDOM): Likewise.
1376 (ERRNO_ERANGE): Likewise.
1377 (IGNORE_RESULT): Likewise.
1378 (check_float_internal): Check signs of NaN results if
1379 TEST_NAN_SIGN used.
1380 (check_complex): Pass TEST_NAN_SIGN flag through to second
1381 check_float_internal call.
1382 (copysign_test_data): Add tests with quiet NaNs as second
1383 argument. Use TEST_NAN_SIGN.
1384 (fabs_test_data): Add test of negative quiet NaN argument. Use
1385 TEST_NAN_SIGN.
1386 (signbit_test_data): Add tests of quiet NaN argument.
1387 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1388
ee1466a9
JM
1389 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1390 $ignore_result.
1391 (parse_args): Handle function results specified as IGNORE.
1392 * math/libm-test.inc (IGNORE_RESULT): New macro.
1393 (check_float_internal): Do not check numerical result if flag
1394 IGNORE_RESULT set.
1395 (check_complex): Pass through IGNORE_RESULT to second
1396 check_float_internal call.
1397 (check_int): Do not check numerical result if flag IGNORE_RESULT
1398 set.
1399 (check_long): Likewise.
1400 (check_bool): Likewise.
1401 (check_longlong): Likewise.
1402 (lrint_test_data): Add tests of infinite and NaN arguments.
1403 (lrint_tonearest_test_data): Likewise.
1404 (lrint_towardzero_test_data): Likewise.
1405 (lrint_downward_test_data): Likewise.
1406 (lrint_upward_test_data): Likewise.
1407 (llrint_test_data): Likewise.
1408 (llrint_tonearest_test_data): Likewise.
1409 (llrint_towardzero_test_data): Likewise.
1410 (llrint_downward_test_data): Likewise.
1411 (llrint_upward_test_data): Likewise.
1412 (lround_test_data): Likewise.
1413 (llround_test_data): Likewise.
1414
14407b7e
JM
1415 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1416 (ERRNO_UNCHANGED): Update value.
1417 (ERRNO_EDOM): Likewise.
1418 (ERRNO_ERANGE): Likewise.
1419 (NO_TEST_INLINE_FLOAT): New macro.
1420 (NO_TEST_INLINE_DOUBLE): Likewise.
1421 (enable_test): New function.
1422 (RUN_TEST_f_f): Check enable_test before running test.
1423 (RUN_TEST_2_f): Likewise.
1424 (RUN_TEST_fff_f): Likewise.
1425 (RUN_TEST_c_f): Likewise.
1426 (RUN_TEST_f_f1): Likewise.
1427 (RUN_TEST_fF_f1): Likewise.
1428 (RUN_TEST_fI_f1): Likewise.
1429 (RUN_TEST_ffI_f1): Likewise.
1430 (RUN_TEST_c_c): Likewise.
1431 (RUN_TEST_cc_c): Likewise.
1432 (RUN_TEST_f_i): Likewise.
1433 (RUN_TEST_f_i_tg): Likewise.
1434 (RUN_TEST_ff_i_tg): Likewise.
1435 (RUN_TEST_f_b): Likewise.
1436 (RUN_TEST_f_b_tg): Likewise.
1437 (RUN_TEST_f_l): Likewise.
1438 (RUN_TEST_f_L): Likewise.
1439 (RUN_TEST_fFF_11): Likewise.
1440 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1441 conditionals.
1442 (cosh_test_data): Likewise.
1443 (exp_test_data): Likewise.
1444 (expm1_test_data): Likewise.
1445 (hypot_test_data): Likewise.
1446 (pow_test_data): Likewise.
1447 (sinh_test_data): Likewise.
1448 (tanh_test_data): Likewise.
1449 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1450 flags argument.
1451
ca07f197
JM
1452 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1453 tests with quiet NaN input and output.
1454 (acosh_test_data): Likewise.
1455 (asin_test_data): Likewise.
1456 (asinh_test_data): Likewise.
1457 (atan_test_data): Likewise.
1458 (atanh_test_data): Likewise.
1459 (atan2_test_data): Likewise.
1460 (cbrt_test_data): Likewise.
1461 (cos_test_data): Likewise.
1462 (cosh_test_data): Likewise.
1463 (erf_test_data): Likewise.
1464 (erfc_test_data): Likewise.
1465 (exp_test_data): Likewise.
1466 (exp10_test_data): Likewise.
1467 (exp2_test_data): Likewise.
1468 (expm1_test_data): Likewise.
1469 (hypot_test_data): Likewise.
1470 (j0_test_data): Likewise.
1471 (j1_test_data): Likewise.
1472 (jn_test_data): Likewise.
1473 (lgamma_test_data): Likewise.
1474 (log_test_data): Likewise.
1475 (log10_test_data): Likewise.
1476 (log1p_test_data): Likewise.
1477 (log2_test_data): Likewise.
1478 (pow_test_data): Likewise.
1479 (scalb_test_data): Likewise.
1480 (sin_test_data): Likewise.
1481 (sincos_test_data): Likewise.
1482 (sinh_test_data): Likewise.
1483 (tan_test_data): Likewise.
1484 (tanh_test_data): Likewise.
1485 (tgamma_test_data): Likewise.
1486 (y0_test_data): Likewise.
1487 (y1_test_data): Likewise.
1488 (yn_test_data): Likewise.
1489
66294491
JM
1490 [BZ #16167]
1491 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1492 argument being NaN and avoid computations with second argument in
1493 that case.
1494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1496 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1497
1820b143
CL
14982013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1499
1500 * locale/iso-639.def: Add Chitwani Tharu (the).
1501
714bd261
AS
15022013-11-14 Andreas Schwab <schwab@suse.de>
1503
1504 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1505 word instead of empty string.
1506
7ab44563
AZ
15072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1510 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1512 (__fe_nomask_env): Likewise.
1513
e8470ea2
SE
15142013-11-13 Steve Ellcey <sellcey@mips.com>
1515
1516 * benchtests/bench-timing.h: Include time.h.
1517
17c1d9f0
L
15182013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 [BZ #15997]
1521 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1522 to 3.4.0 for x32.
1523 * sysdeps/unix/sysv/linux/configure: Regenerated.
1524
9310c284
JM
15252013-11-13 Joseph Myers <joseph@codesourcery.com>
1526
1527 [BZ #16151]
1528 * stdlib/strtod_l.c (round_and_return): Do not consider
1529 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1530 exponent one less than half the least subnormal exponent.
1531 * stdlib/test-strtod-round-data: Add more tests.
1532 * stdlib/tst-strtod-round.c (tests): Regenerated.
1533
7a2ad8cf
AZ
15342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535
1536 [BZ #14143]
1537 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1538 (__fe_mask_env): Likewise.
1539 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1540 libm_hidden_proto and add function prototype.
1541 (__fe_mask_env): Add function prototype.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1543 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1545 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1547 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1548
50727aa7
MS
15492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1550
b2f386c1 1551 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1552 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1553
a615be46
MS
15542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1555
1556 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1557 of htab_find_slot().
1558
7ddace62
DM
15592013-11-11 David S. Miller <davem@davemloft.net>
1560
1561 [BZ #16150]
1562 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1563 symbol in the non-vis3 case in static builds.
1564 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1565 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1566 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1567 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1568
9182aa67
JK
15692013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1570
1571 [BZ #387]
1572 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1573 it is empty.
1574
450a2e2d
AZ
15752013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576
b2f386c1
SP
1577 * benchtests/Makefile: Add bench-strtod.
1578 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1579
8ec3f656
AS
15802013-11-11 Andreas Schwab <schwab@suse.de>
1581
1582 [BZ #16153]
1583 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1584 terminating NUL in key length.
1585
76a9b998
AZ
15862013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1587
1588 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1589 Add artificial ODP entry for vDSO symbol for PPC64.
1590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1591 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1592
e4368156
OB
15932013-11-07 Ondřej Bílka <neleai@seznam.cz>
1594
1595 [BZ #15374]
1596 * nss/getent.c (services_keys): Recognize services starting with digit.
1597
8d6bb57c
DM
15982013-11-06 David S. Miller <davem@davemloft.net>
1599
1600 [BZ #15985]
1601 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1602 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1603
e256c421
WN
16042013-11-06 Will Newton <will.newton@linaro.org>
1605
1606 * manual/memory.texi (Malloc Examples): Remove register
1607 keyword from examples.
1608
f6e12daa 16092013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1610
f6e12daa 1611 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1612
9d880655
AS
16132013-11-04 Joseph Myers <joseph@codesourcery.com>
1614
1615 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1616 depending on [__GCC_IEC_559 > 0].
1617 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1618 depending on [__GCC_IEC_559_COMPLEX > 0].
1619
ae129d3c
CL
16202013-11-03 Chris Leonard <cjl@sugarlabs.org>
1621
1622 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1623 to iso-639.def.
1624
4a15c2a4 16252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1626
1627 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1628
8b35e35d
OB
16292013-11-01 Ondřej Bílka <neleai@seznam.cz>
1630
1631 [BZ #16112]
1632 * malloc/malloc (malloc_info): Do not handle first bin as
1633 special case.
1634
1d70fd6c
CL
16352013-11-01 Chris Leonard <cjl@sugarlabs.org>
1636
1637 * locale/iso-639.def: Add Central Nahuatl (nhn).
1638
8c5c2600
BH
16392013-11-01 Bruno Haible <bruno@clisp.org>
1640
1641 [BZ #7003]
1642 * manual/math.texi (BSD Random): Specify range upper bound as
1643 in POSIX.
1644
da5579c2
CL
16452013-10-31 Chris Leonard <cjl@sugarlabs.org>
1646
1647 * locale/iso-639.def: Add Meadow Mari (mhr).
1648
5d30d853
OB
16492013-10-31 Ondřej Bílka <neleai@seznam.cz>
1650
1651 [BZ #14752], [BZ #15763]
1652 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1653 Validate name.
1654 * rt/tst_shm.c: Add test for escaping directory.
1655
a4966c61
AS
16562013-10-31 Andreas Schwab <schwab@suse.de>
1657
8a43e768 1658 [BZ #15917]
a4966c61
AS
1659 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1660 followed by 'x' as part of digit sequence.
1661 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1662
28d708c4
MAP
16632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1664
1665 [BZ #16037]
1666 * configure.ac: allow GNU Make 4.0 and greater.
1667 * configure: Regenerated.
1668
a56ee40b
WN
16692013-10-30 Will Newton <will.newton@linaro.org>
1670
1671 [BZ #16038]
1672 * malloc/hooks.c (memalign_check): Limit alignment to the
1673 maximum representable power of two.
1674 * malloc/malloc.c (__libc_memalign): Likewise.
1675 * malloc/tst-memalign.c (do_test): Add test for very
1676 large alignment values.
1677 * malloc/tst-posix_memalign.c (do_test): Likewise.
1678
c6e4925d
OB
16792013-10-30 Ondřej Bílka <neleai@seznam.cz>
1680
1681 [BZ #11087]
1682 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1683 (munmap_chunk): Likewise.
1684 (mremap_chunk): Likewise.
1685
16862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1687
8a43e768 1688 [BZ #15799]
bbea82f7
OB
1689 * stdlib/div.c (div): Remove obsolete code.
1690 * stdlib/ldiv.c (ldiv): Likewise.
1691 * stdlib/lldiv.c (lldiv): Likewise.
1692
977f4b31
SP
16932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
1695 [BZ #16071]
1696 * nss/nss_files/files-XXX.c (get_contents_ret): New
1697 enumerator.
1698 (get_contents): New function.
1699 (internal_getent): Use it. Expand size of LINEBUFLEN.
1700
cb8a6dbd
MF
17012013-10-30 Mike Frysinger <vapier@gentoo.org>
1702
1703 * configure.in: Moved to ...
1704 * configure.ac: ... here. Change reference to configure.in
1705 to configure.ac.
1706 * sysdeps/arm/preconfigure.ac: ... here.
1707 configure.in to configure.ac.
1708 * sysdeps/gnu/configure.in: Moved to ...
1709 * sysdeps/gnu/configure.ac: ... here.
1710 * sysdeps/i386/configure.in: Moved to ...
1711 * sysdeps/i386/configure.ac: ... here.
1712 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1713 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1714 * sysdeps/mach/configure.in: Moved to ...
1715 * sysdeps/mach/configure.ac: ... here.
1716 * sysdeps/mach/hurd/configure.in: Moved to ...
1717 * sysdeps/mach/hurd/configure.ac: ... here.
1718 * sysdeps/powerpc/configure.in: Moved to ...
1719 * sysdeps/powerpc/configure.ac: ... here.
1720 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1721 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1722 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1723 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1724 * sysdeps/s390/s390-32/configure.in: Moved to ...
1725 * sysdeps/s390/s390-32/configure.ac: ... here.
1726 * sysdeps/s390/s390-64/configure.in: Moved to ...
1727 * sysdeps/s390/s390-64/configure.ac: ... here.
1728 * sysdeps/sh/configure.in: Moved to ...
1729 * sysdeps/sh/configure.ac: ... here.
1730 * sysdeps/sparc/configure.in: Moved to ...
1731 * sysdeps/sparc/configure.ac: ... here.
1732 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1733 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1734 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1735 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1736 * sysdeps/x86_64/configure.in: Moved to ...
1737 * sysdeps/x86_64/configure.ac: ... here.
1738 * sysdeps/x86_64/preconfigure.in: Moved to ...
1739 * sysdeps/x86_64/preconfigure.ac: ... here.
1740 * aclocal.m4: Change reference to configure.in to configure.ac.
1741 * config.h.in: Likewise.
1742 * manual/install.texi: Likewise.
1743 * manual/maint.texi: Likewise.
1744 * Makefile: Likewise.
1745 * malloc/Makefile: Likewise.
1746 * nscd/Makefile: Likewise.
1747 * Makeconfig: Change reference to configure.in and
1748 preconfigure.in to configure.ac and preconfigure.ac
1749 respectively.
1750 * INSTALL: Regenerated.
1751 * configure: Likewise.
1752 * sysdeps/gnu/configure: Likewise.
1753 * sysdeps/i386/configure: Likewise.
1754 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1755 * sysdeps/mach/configure: Likewise.
1756 * sysdeps/mach/hurd/configure: Likewise.
1757 * sysdeps/powerpc/configure: Likewise.
1758 * sysdeps/powerpc/powerpc32/configure: Likewise.
1759 * sysdeps/powerpc/powerpc64/configure: Likewise.
1760 * sysdeps/s390/s390-32/configure: Likewise.
1761 * sysdeps/s390/s390-64/configure: Likewise.
1762 * sysdeps/sh/configure: Likewise.
1763 * sysdeps/sparc/configure: Likewise.
1764 * sysdeps/unix/sysv/linux/configure: Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1766 * sysdeps/x86_64/configure: Likewise.
1767 * sysdeps/x86_64/preconfigure: Likewise.
1768
36a4953a
AS
17692013-10-29 Andreas Schwab <schwab@suse.de>
1770
1771 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1772
c79a1204
SP
17732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1774
dfa1b402
SP
1775 * benchtests/pow-inputs: Add new inputs.
1776
54f73d9c
SP
1777 * benchtests/exp-inputs: Add new inputs.
1778
c79a1204
SP
1779 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1780 conditional check for return value.
1781 (__cos32): Likewise.
1782
67beb545 17832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1784
1785 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1786 to provide a boost for large inputs with word alignment.
1787 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1788 implementation based on optimized PPC64 strcpy.
1789 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1790 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1791 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1792 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1793
151659f6
OB
17942013-10-25 Ondřej Bílka <neleai@seznam.cz>
1795
482a077e 1796 [BZ #2801]
151659f6
OB
1797 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1798
10b0f26b
OB
17992013-10-25 Ondřej Bílka <neleai@seznam.cz>
1800
1801 [BZ #14876]
1802 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1803 * time/tst-strptime.c (day_tests): Add testcase.
1804
ca42d35e
OB
18052013-10-25 Ondřej Bílka <neleai@seznam.cz>
1806
482a077e 1807 [BZ #14029]
ca42d35e
OB
1808 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1809
52e6d801
FB
18102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1811
1812 [BZ #16074]
1813 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1814 MAP_FAILED on error.
1815
7cbcdb36
SP
18162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 [BZ #16072]
1819 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1820 heap for large requests.
1821
894f3f10
AM
18222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1823
1824 [BZ #9954]
1825 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1826 result if the result has no associated interface.
1827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1828 interface for all 127.X.Y.Z addresses.
1829
b85545a6
CL
18302013-10-24 Chris Leonard <cjl@sugarlabs.org>
1831
1832 * locale/iso-639.def: Add Ligurian (lij)
1833
d1f23d46
OB
18342013-10-21 Ondřej Bílka <neleai@seznam.cz>
1835
1836 [BZ #15825]
1837 * sunrpc/rpc_main.c: Document rpcgen -5.
1838
4db5b08f
MS
18392013-10-19 Michael Stahl <mstahl@redhat.com>
1840
1841 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1842
a471e96a
OB
18432013-10-19 Ondřej Bílka <neleai@seznam.cz>
1844
d1f23d46 1845 [BZ #10278]
a471e96a
OB
1846 * posix/glob.c: Match only directories when trailing slash is present.
1847 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1848 (main): Add testcase.
1849
45c30c61
OB
18502013-10-19 Ondřej Bílka <neleai@seznam.cz>
1851
1852 [BZ #15670]
1853 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1854
484c12fb
CD
18552013-10-18 Carlos O'Donell <carlos@redhat.com>
1856
3d7dc513
CD
1857 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1858 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1859 AUTH_DES and cindex for FIPS 140-2.
1860 (DES Encryption): Add cindex FIPS 46-3.
1861
484c12fb
CD
1862 * locale/locarchive.h (struct locarhandle): Add fname.
1863 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1864 if an optional argument was specified to --list-archive,
1865 otherwise NULL.
1866 * locale/programs/locarchive.c (show_archive_content): Take new
1867 argument fname and pass it via ah.fname to open_archive.
1868 * locale/programs/localedef.h: Update decl.
1869 (open_archive): If AH->fname is non-null, open that file
1870 rather than the default file name, and don't ignore ENOENT.
1871 (create_archive): Set AH.fname to NULL.
1872 (delete_locales_from_archive): Likewise.
1873 (add_locales_to_archive): Likewise.
1874 * locale/programs/locfile.c (write_all_categories): Likewise.
1875
3c8325fb
JM
18762013-10-18 Joseph Myers <joseph@codesourcery.com>
1877 Aldy Hernandez <aldyh@redhat.com>
1878
1879 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1880 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1881 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1882 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1883 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1884 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1885 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1886 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1887 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1890 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1891 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1892 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1893 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1894 Likewise.
1895 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1896 Likewise.
1897 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1898 Likewise.
1899 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1900 Likewise.
1901 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1902 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1903 Likewise.
1904 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1905 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1906 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1907 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1908 Likewise.
1909 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1910 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1911 * sysdeps/powerpc/preconfigure: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1913 Likewise.
1914 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1915 Replace contents of file by #include of <fenv_libc.h>.
1916 * sysdeps/powerpc/soft-fp/sfp-machine.h
1917 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1918 and <sys/prctl.h>.
1919 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1932 Allow copysignl PLT reference to be missing.
1933
5abe0682
RS
19342013-10-18 Richard Sandiford <richard@codesourcery.com>
1935 Joseph Myers <joseph@codesourcery.com
1936
1937 [BZ #15948]
1938 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1939 single character.
1940 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1941
c7738d08
SP
19422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1943
1944 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1945 * elf/tst-tls1.c: Likewise.
1946 * elf/tst-tls10.h: Likewise.
1947 * elf/tst-tls14.c: Likewise.
1948 * elf/tst-tls2.c: Likewise.
1949 * elf/tst-tls3.c: Likewise.
1950 * elf/tst-tls4.c: Likewise.
1951 * elf/tst-tls5.c: Likewise.
1952 * elf/tst-tls6.c: Likewise.
1953 * elf/tst-tls7.c: Likewise.
1954 * elf/tst-tls8.c: Likewise.
1955 * elf/tst-tls9.c: Likewise.
1956 * elf/tst-tlsmod1.c: Likewise.
1957 * elf/tst-tlsmod13.c: Likewise.
1958 * elf/tst-tlsmod13a.c: Likewise.
1959 * elf/tst-tlsmod14a.c: Likewise.
1960 * elf/tst-tlsmod16a.c: Likewise.
1961 * elf/tst-tlsmod16b.c: Likewise.
1962 * elf/tst-tlsmod2.c: Likewise.
1963 * elf/tst-tlsmod3.c: Likewise.
1964 * elf/tst-tlsmod4.c: Likewise.
1965 * elf/tst-tlsmod5.c: Likewise.
1966 * elf/tst-tlsmod6.c: Likewise.
1967
0bfcf2c7
OB
19682013-10-18 Ondřej Bílka <neleai@seznam.cz>
1969
1970 [BZ #12486]
1971 * malloc/malloc.c: remove checks for statistics.
1972
264aad1e
OB
19732013-10-17 Ondřej Bílka <neleai@seznam.cz>
1974
1975 [BZ #15277]
1976 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1977 * inet/tst-network.c: Add testcase.
1978
b957ced8
AS
19792013-10-17 Andreas Schwab <schwab@suse.de>
1980
1981 [BZ #15218]
1982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1983 to determine canonical name.
1984
c5d5d574
OB
19852013-10-17 Ondřej Bílka <neleai@seznam.cz>
1986
1987 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1988 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1992 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1994 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1996 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2017 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2045
e5c2c2d0
JM
20462013-10-17 Joseph Myers <joseph@codesourcery.com>
2047
2048 [BZ #16041]
2049 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2050 make result into a quiet NaN.
2051
51ca9e29
JM
20522013-10-16 Joseph Myers <joseph@codesourcery.com>
2053
2054 * soft-fp/adddf3.c: Fix horizontal whitespace.
2055 * soft-fp/addsf3.c: Likewise.
2056 * soft-fp/addtf3.c: Likewise.
2057 * soft-fp/divdf3.c: Likewise.
2058 * soft-fp/divsf3.c: Likewise.
2059 * soft-fp/divtf3.c: Likewise.
2060 * soft-fp/double.h: Likewise.
2061 * soft-fp/eqdf2.c: Likewise.
2062 * soft-fp/eqsf2.c: Likewise.
2063 * soft-fp/eqtf2.c: Likewise.
2064 * soft-fp/extenddftf2.c: Likewise.
2065 * soft-fp/extended.h: Likewise.
2066 * soft-fp/extendsfdf2.c: Likewise.
2067 * soft-fp/extendsftf2.c: Likewise.
2068 * soft-fp/extendxftf2.c: Likewise.
2069 * soft-fp/fixdfdi.c: Likewise.
2070 * soft-fp/fixdfsi.c: Likewise.
2071 * soft-fp/fixdfti.c: Likewise.
2072 * soft-fp/fixsfdi.c: Likewise.
2073 * soft-fp/fixsfsi.c: Likewise.
2074 * soft-fp/fixsfti.c: Likewise.
2075 * soft-fp/fixtfdi.c: Likewise.
2076 * soft-fp/fixtfsi.c: Likewise.
2077 * soft-fp/fixtfti.c: Likewise.
2078 * soft-fp/fixunsdfdi.c: Likewise.
2079 * soft-fp/fixunsdfsi.c: Likewise.
2080 * soft-fp/fixunsdfti.c: Likewise.
2081 * soft-fp/fixunssfdi.c: Likewise.
2082 * soft-fp/fixunssfsi.c: Likewise.
2083 * soft-fp/fixunssfti.c: Likewise.
2084 * soft-fp/fixunstfdi.c: Likewise.
2085 * soft-fp/fixunstfsi.c: Likewise.
2086 * soft-fp/fixunstfti.c: Likewise.
2087 * soft-fp/floatdidf.c: Likewise.
2088 * soft-fp/floatdisf.c: Likewise.
2089 * soft-fp/floatditf.c: Likewise.
2090 * soft-fp/floatsidf.c: Likewise.
2091 * soft-fp/floatsisf.c: Likewise.
2092 * soft-fp/floatsitf.c: Likewise.
2093 * soft-fp/floattidf.c: Likewise.
2094 * soft-fp/floattisf.c: Likewise.
2095 * soft-fp/floattitf.c: Likewise.
2096 * soft-fp/floatundidf.c: Likewise.
2097 * soft-fp/floatundisf.c: Likewise.
2098 * soft-fp/floatunditf.c: Likewise.
2099 * soft-fp/floatunsidf.c: Likewise.
2100 * soft-fp/floatunsisf.c: Likewise.
2101 * soft-fp/floatunsitf.c: Likewise.
2102 * soft-fp/floatuntidf.c: Likewise.
2103 * soft-fp/floatuntisf.c: Likewise.
2104 * soft-fp/floatuntitf.c: Likewise.
2105 * soft-fp/fmadf4.c: Likewise.
2106 * soft-fp/fmasf4.c: Likewise.
2107 * soft-fp/fmatf4.c: Likewise.
2108 * soft-fp/gedf2.c: Likewise.
2109 * soft-fp/gesf2.c: Likewise.
2110 * soft-fp/getf2.c: Likewise.
2111 * soft-fp/ledf2.c: Likewise.
2112 * soft-fp/lesf2.c: Likewise.
2113 * soft-fp/letf2.c: Likewise.
2114 * soft-fp/muldf3.c: Likewise.
2115 * soft-fp/mulsf3.c: Likewise.
2116 * soft-fp/multf3.c: Likewise.
2117 * soft-fp/negdf2.c: Likewise.
2118 * soft-fp/negsf2.c: Likewise.
2119 * soft-fp/negtf2.c: Likewise.
2120 * soft-fp/op-1.h: Likewise.
2121 * soft-fp/op-2.h: Likewise.
2122 * soft-fp/op-4.h: Likewise.
2123 * soft-fp/op-8.h: Likewise.
2124 * soft-fp/op-common.h: Likewise.
2125 * soft-fp/quad.h: Likewise.
2126 * soft-fp/single.h: Likewise.
2127 * soft-fp/soft-fp.h: Likewise.
2128 * soft-fp/sqrtdf2.c: Likewise.
2129 * soft-fp/sqrtsf2.c: Likewise.
2130 * soft-fp/sqrttf2.c: Likewise.
2131 * soft-fp/subdf3.c: Likewise.
2132 * soft-fp/subsf3.c: Likewise.
2133 * soft-fp/subtf3.c: Likewise.
2134 * soft-fp/truncdfsf2.c: Likewise.
2135 * soft-fp/trunctfdf2.c: Likewise.
2136 * soft-fp/trunctfsf2.c: Likewise.
2137 * soft-fp/trunctfxf2.c: Likewise.
2138 * soft-fp/unorddf2.c: Likewise.
2139 * soft-fp/unordsf2.c: Likewise.
2140 * soft-fp/unordtf2.c: Likewise.
2141
9ebb0332
JM
21422013-10-15 Joseph Myers <joseph@codesourcery.com>
2143
2144 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2145 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2146
4b1a6d8b
OB
21472013-10-15 Ondřej Bílka <neleai@seznam.cz>
2148
2149 * elf/dl-libc.c: Clear initfini list after freeing.
2150
1e145589
JM
21512013-10-14 Joseph Myers <joseph@codesourcery.com>
2152
2153 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2154 * soft-fp/addsf3.c: Likewise.
2155 * soft-fp/addtf3.c: Likewise.
2156 * soft-fp/divdf3.c: Likewise.
2157 * soft-fp/divsf3.c: Likewise.
2158 * soft-fp/divtf3.c: Likewise.
2159 * soft-fp/double.h: Likewise.
2160 * soft-fp/eqdf2.c: Likewise.
2161 * soft-fp/eqsf2.c: Likewise.
2162 * soft-fp/eqtf2.c: Likewise.
2163 * soft-fp/extenddftf2.c: Likewise.
2164 * soft-fp/extended.h: Likewise.
2165 * soft-fp/extendsfdf2.c: Likewise.
2166 * soft-fp/extendsftf2.c: Likewise.
2167 * soft-fp/extendxftf2.c: Likewise.
2168 * soft-fp/fixdfdi.c: Likewise.
2169 * soft-fp/fixdfsi.c: Likewise.
2170 * soft-fp/fixdfti.c: Likewise.
2171 * soft-fp/fixsfdi.c: Likewise.
2172 * soft-fp/fixsfsi.c: Likewise.
2173 * soft-fp/fixsfti.c: Likewise.
2174 * soft-fp/fixtfdi.c: Likewise.
2175 * soft-fp/fixtfsi.c: Likewise.
2176 * soft-fp/fixtfti.c: Likewise.
2177 * soft-fp/fixunsdfdi.c: Likewise.
2178 * soft-fp/fixunsdfsi.c: Likewise.
2179 * soft-fp/fixunsdfti.c: Likewise.
2180 * soft-fp/fixunssfdi.c: Likewise.
2181 * soft-fp/fixunssfsi.c: Likewise.
2182 * soft-fp/fixunssfti.c: Likewise.
2183 * soft-fp/fixunstfdi.c: Likewise.
2184 * soft-fp/fixunstfsi.c: Likewise.
2185 * soft-fp/fixunstfti.c: Likewise.
2186 * soft-fp/floatdidf.c: Likewise.
2187 * soft-fp/floatdisf.c: Likewise.
2188 * soft-fp/floatditf.c: Likewise.
2189 * soft-fp/floatsidf.c: Likewise.
2190 * soft-fp/floatsisf.c: Likewise.
2191 * soft-fp/floatsitf.c: Likewise.
2192 * soft-fp/floattidf.c: Likewise.
2193 * soft-fp/floattisf.c: Likewise.
2194 * soft-fp/floattitf.c: Likewise.
2195 * soft-fp/floatundidf.c: Likewise.
2196 * soft-fp/floatundisf.c: Likewise.
2197 * soft-fp/floatunsidf.c: Likewise.
2198 * soft-fp/floatunsisf.c: Likewise.
2199 * soft-fp/floatuntidf.c: Likewise.
2200 * soft-fp/floatuntisf.c: Likewise.
2201 * soft-fp/floatuntitf.c: Likewise.
2202 * soft-fp/fmadf4.c: Likewise.
2203 * soft-fp/fmasf4.c: Likewise.
2204 * soft-fp/fmatf4.c: Likewise.
2205 * soft-fp/gedf2.c: Likewise.
2206 * soft-fp/gesf2.c: Likewise.
2207 * soft-fp/getf2.c: Likewise.
2208 * soft-fp/ledf2.c: Likewise.
2209 * soft-fp/lesf2.c: Likewise.
2210 * soft-fp/letf2.c: Likewise.
2211 * soft-fp/muldf3.c: Likewise.
2212 * soft-fp/mulsf3.c: Likewise.
2213 * soft-fp/multf3.c: Likewise.
2214 * soft-fp/negdf2.c: Likewise.
2215 * soft-fp/negsf2.c: Likewise.
2216 * soft-fp/negtf2.c: Likewise.
2217 * soft-fp/op-1.h: Likewise.
2218 * soft-fp/op-2.h: Likewise.
2219 * soft-fp/op-4.h: Likewise.
2220 * soft-fp/op-8.h: Likewise.
2221 * soft-fp/op-common.h: Likewise.
2222 * soft-fp/quad.h: Likewise.
2223 * soft-fp/single.h: Likewise.
2224 * soft-fp/soft-fp.h: Likewise.
2225 * soft-fp/sqrtdf2.c: Likewise.
2226 * soft-fp/sqrtsf2.c: Likewise.
2227 * soft-fp/sqrttf2.c: Likewise.
2228 * soft-fp/subdf3.c: Likewise.
2229 * soft-fp/subsf3.c: Likewise.
2230 * soft-fp/subtf3.c: Likewise.
2231 * soft-fp/truncdfsf2.c: Likewise.
2232 * soft-fp/trunctfdf2.c: Likewise.
2233 * soft-fp/trunctfsf2.c: Likewise.
2234 * soft-fp/trunctfxf2.c: Likewise.
2235 * soft-fp/unorddf2.c: Likewise.
2236 * soft-fp/unordsf2.c: Likewise.
2237 * soft-fp/unordtf2.c: Likewise.
2238
17c48a60
OB
22392013-10-14 Ondřej Bílka <neleai@seznam.cz>
2240
2241 [BZ #15672]
2242 * misc/error.c (error_tail): Fix possible buffer overflow.
2243
cabba934
OB
22442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2245
2246 [BZ #13028]
2247 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2248 address.
2249
94bf958a
PM
22502013-10-14 P. J. McDermott <pj@pehjota.net>
2251
2252 [BZ #832]
2253 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2254 testing pipefail option.
2255
71b4dea7
JM
22562013-10-12 Joseph Myers <joseph@codesourcery.com>
2257
2258 * soft-fp/double.h: Indent preprocessor directives inside #if.
2259 * soft-fp/extended.h: Likewise.
2260 * soft-fp/op-2.h: Likewise.
2261 * soft-fp/op-4.h: Likewise.
2262 * soft-fp/op-common.h: Likewise.
2263 * soft-fp/quad.h: Likewise.
2264 * soft-fp/single.h: Likewise.
2265 * soft-fp/soft-fp.h: Likewise.
2266
55602758
YC
22672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2268
2269 * iconv/iconv_prog.c: Fix typos.
2270 * stdio-common/psiginfo-data.h: Likewise.
2271
9cd83302
RT
22722013-10-12 Reuben Thomas <rrt@sc3d.org>
2273
2274 [BZ #15764]
2275 * locale/setlocale.c: Fix typo.
2276
99fd9f47
JM
22772013-10-12 Joseph Myers <joseph@codesourcery.com>
2278
b7ea74f0
JM
2279 [BZ #16036]
2280 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2281 signaling NaN arguments.
2282 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2283 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2284
8a509447
JM
2285 [BZ #14910]
2286 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2287 unordered operands.
2288 * soft-fp/gesf2.c (__gesf2): Likewise.
2289 * soft-fp/getf2.c (__getf2): Likewise.
2290 * soft-fp/ledf2.c (__ledf2): Likewise.
2291 * soft-fp/lesf2.c (__lesf2): Likewise.
2292 * soft-fp/letf2.c (__letf2): Likewise.
2293
98998e9f
JM
2294 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2295 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2296 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2297 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2298 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2299 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2300 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2301 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2302 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2303 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2304 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2305 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2306 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2307 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2308 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2309 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2310 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2311 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2312 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2313 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2314 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2315 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2316 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2317 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2318 * soft-fp/floattidf.c (__floattidf): Likewise.
2319 * soft-fp/floattisf.c (__floattisf): Likewise.
2320 * soft-fp/floattitf.c (__floattitf): Likewise.
2321 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2322 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2323 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2324 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2325 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2326 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2327 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2328 * soft-fp/gesf2.c (__gesf2): Likewise.
2329 * soft-fp/getf2.c (__getf2): Likewise.
2330 * soft-fp/ledf2.c (__ledf2): Likewise.
2331 * soft-fp/lesf2.c (__lesf2): Likewise.
2332 * soft-fp/letf2.c (__letf2): Likewise.
2333
8edc4a11
JM
2334 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2335 Undefine and redefine.
2336 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2337 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2338 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2339 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2340 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2341 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2342 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2343 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2344 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2345 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2346 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2347 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2348 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2349 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2350 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2351
8399acaf
JM
2352 [BZ #16032]
2353 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2354 without decrementing exponent if mantissa >= that for the
2355 denominator, not >.
2356 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2357 denominator, not >. Decrement exponent in < case instead of
2358 incrementing in >= case.
2359 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2360 without decrementing exponent if mantissa >= that for the
2361 denominator, not >.
2362
99fd9f47
JM
2363 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2364 computing saturated result for unsigned overflow.
2365
10e1cf6b
SP
23662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2367 Jeff Law <law@redhat.com>
2368
2369 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2370 (atan2Mp): Add systemtap probe marker.
2371 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2372 (__ieee754_log): Add systemtap probe marker.
2373 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2374 (atanMp): Add systemtap probe marker.
2375 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2376 (tanMp): Add systemtap probe marker.
2377 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2378 (__slowexp): Add systemtap probe marker.
2379 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2380 (__slowpow): Add systemtap probe marker.
2381 * manual/probes.texi: Document probes.
2382
3d110c7c
EB
23832013-10-11 Eric Biggers <ebiggers3@gmail.com>
2384
2385 [BZ #15362]
2386 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2387 written.
2388 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2389 written.
2390 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2391 written to buffer but not flushed.
2392 * libio/iofwrite_u.c: Likewise.
2393 * libio/iopadn.c: Return bytes returned even if EOF was
2394 encountered.
2395 * libio/iowpadn.c: Likewise.
2396 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2397 if _IO_padn does not write the whole buffer.
2398 [!COMPILE_WPRINTF] (PAD): Likewise.
2399
75b4202a
DM
24002013-10-10 David S. Miller <davem@davemloft.net>
2401
2402 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2403 directory block.
2404
6c6352e6
JM
24052013-10-10 Joseph Myers <joseph@codesourcery.com>
2406
33b853c3
JM
2407 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2408 instead of FSF address.
2409 * soft-fp/fixdfti.c: Likewise.
2410 * soft-fp/fixsfti.c: Likewise.
2411 * soft-fp/fixtfti.c: Likewise.
2412 * soft-fp/fixunsdfti.c: Likewise.
2413 * soft-fp/fixunssfti.c: Likewise.
2414 * soft-fp/fixunstfti.c: Likewise.
2415 * soft-fp/floattidf.c: Likewise.
2416 * soft-fp/floattisf.c: Likewise.
2417 * soft-fp/floattitf.c: Likewise.
2418 * soft-fp/floatuntidf.c: Likewise.
2419 * soft-fp/floatuntisf.c: Likewise.
2420 * soft-fp/floatuntitf.c: Likewise.
2421 * soft-fp/trunctfxf2.c: Likewise.
2422
6c6352e6
JM
2423 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2424 * soft-fp/fixdfti.c: Likewise.
2425 * soft-fp/fixsfti.c: Likewise.
2426 * soft-fp/fixtfti.c: Likewise.
2427 * soft-fp/fixunsdfti.c: Likewise.
2428 * soft-fp/fixunssfti.c: Likewise.
2429 * soft-fp/fixunstfti.c: Likewise.
2430 * soft-fp/floattidf.c: Likewise.
2431 * soft-fp/floattisf.c: Likewise.
2432 * soft-fp/floattitf.c: Likewise.
2433 * soft-fp/floatuntidf.c: Likewise.
2434 * soft-fp/floatuntisf.c: Likewise.
2435 * soft-fp/floatuntitf.c: Likewise.
2436 * soft-fp/trunctfxf2.c: Likewise.
2437
3bf78b71
DM
24382013-10-10 David S. Miller <davem@davemloft.net>
2439
2440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2441
6f10289e
JM
24422013-10-10 Joseph Myers <joseph@codsourcery.com>
2443
bd878fc0
JM
2444 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2445 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2446 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2447 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2448 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2449 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2450 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2451
6f10289e
JM
2452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2453 for NaNs before doing comparisons on argument.
2454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2455 Likewise.
2456
321e2684
WN
24572013-10-10 Will Newton <will.newton@linaro.org>
2458
2459 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2460 passed to _int_memalign does not overflow.
2461
40fefba1
TR
24622013-10-10 Torvald Riegel <triegel@redhat.com>
2463
2464 * scripts/bench.pl: Add include-sources directive.
2465 * benchtests/README: Update documentation.
2466
2ae21ed2
JM
24672013-10-10 Joseph Myers <joseph@codesourcery.com>
2468
dcc2dd3f
JM
2469 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2470 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2471 instead of FP_INIT_ROUNDMODE.
2472 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2473 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2474
2ae21ed2
JM
2475 [BZ #16034]
2476 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2477 copy class of input value.
2478 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2479 not handle exceptions.
2480 * soft-fp/negsf2.c (__negsf2): Likewise.
2481 * soft-fp/negtf2.c (__negtf2): Likewise.
2482 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2483
cb8f9562
JM
24842013-10-09 Joseph Myers <joseph@codesourcery.com>
2485
2486 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2487 semicolon. From Linux kernel.
2488
5b60c59d
AB
24892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2490
2491 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2492
b86835ca
YC
24932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2494
2495 [BZ #156]
2496 * manual/socket.texi: Added statement about buffer
2497 for gethostbyname2_r.
2498
e7044ea7
OB
24992013-10-08 Ondřej Bílka <neleai@seznam.cz>
2500
2501 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2502 Use .p2align directive instead, throughout.
2503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2504 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2505 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2508 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2509 * sysdeps/x86_64/strchr.S: Likewise.
2510 * sysdeps/x86_64/strrchr.S: Likewise.
2511
09544cbc
SP
25122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2513
88576635
SP
2514 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2515
e7b2d1dd
SP
2516 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2517
09544cbc
SP
2518 * sysdeps/generic/math_private.h (__mpsin1): Remove
2519 declaration.
2520 (__mpcos1): Likewise.
2521 (__mpsin): New argument __range_reduce.
2522 (__mpcos): Likewise.
2523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2524 (slow): Use __mpsin and __mpcos.
2525 (slow1): Likewise.
2526 (slow2): Likewise.
2527 (sloww): Likewise.
2528 (sloww1): Likewise.
2529 (sloww2): Likewise.
2530 (bsloww): Likewise.
2531 (bsloww1): Likewise.
2532 (bsloww2): Likewise.
2533 (cslow2): Likewise.
2534 (csloww): Likewise.
2535 (csloww1): Likewise.
2536 (csloww2): Likewise.
2537 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2538 range_reduce. Merge in __mpsin1.
2539 (__mpcos): Likewise.
2540 (__mpsin1): Remove.
2541 (__mpcos1): Likewise.
2542
7602d070
JM
25432013-10-07 Joseph Myers <joseph@codesourcery.com>
2544
2545 * locale/loadlocale.c (_nl_intern_locale_data): Use
2546 LOCFILE_ALIGNED_P.
2547 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2548 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2549 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2550 obstack data is appropriately aligned.
2551 (obstack_int32_grow_fast): Likewise.
2552 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2553 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2554 (add_locale_uint32_array): Likewise.
2555
a357259b
SP
25562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2557
2558 * benchtests/Makefile: Remove ARGLIST and RET variables.
2559 ($(objpfx)bench-%.c): Pass only function name to the script.
2560 * benchtests/README: Update documentation.
2561 * benchtests/acos-inputs: Add new directives.
2562 * benchtests/acosh-inputs: Likewise.
2563 * benchtests/asin-inputs: Likewise.
2564 * benchtests/asinh-inputs: Likewise.
2565 * benchtests/atan-inputs: Likewise.
2566 * benchtests/atanh-inputs: Likewise.
2567 * benchtests/cos-inputs: Likewise.
2568 * benchtests/cosh-inputs: Likewise.
2569 * benchtests/exp-inputs: Likewise.
2570 * benchtests/log-inputs: Likewise.
2571 * benchtests/pow-inputs: Likewise.
2572 * benchtests/rint-inputs: Likewise.
2573 * benchtests/sin-inputs: Likewise.
2574 * benchtests/sinh-inputs: Likewise.
2575 * benchtests/tan-inputs: Likewise.
2576 * benchtests/tanh-inputs: Likewise.
2577 * scripts/bench.pl: Add support for new directives.
2578
9ec1b13d
AM
25792013-10-07 Alan Modra <amodra@gmail.com>
2580
2581 * README: Fix careless merge.
2582
8b7d57cd
AM
25832013-10-05 Alan Modra <amodra@gmail.com>
2584
2585 * NEWS: Mention powerpc64le support and bugs fixed.
2586 * README: Both big-endian and little-endian powerpc64 supported.
2587
7b7bab13
ST
25882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2589
2590 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2591 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2592 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2593 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2594
d39baad1
RA
25952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2596
2597 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2598 match prototype.
2599
cd78f7e7
JM
26002013-10-04 Joseph Myers <joseph@codesourcery.com>
2601
29d73d86
JM
2602 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2603 Move -mhard-float appending from
2604 ports/sysdeps/powerpc/powerpc32/Makefile.
2605 [$(with-fp) = yes] (ASFLAGS): Likewise.
2606 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2607 * sysdeps/powerpc/nofpu: Move directory from
2608 ports/sysdeps/powerpc/nofpu.
2609 * sysdeps/powerpc/soft-fp: Move directory from
2610 ports/sysdeps/powerpc/soft-fp.
2611 * sysdeps/powerpc/powerpc32/405: Move directory from
2612 ports/sysdeps/powerpc/powerpc32/405.
2613 * sysdeps/powerpc/powerpc32/440: Move directory from
2614 ports/sysdeps/powerpc/powerpc32/440.
2615 * sysdeps/powerpc/powerpc32/464: Move directory from
2616 ports/sysdeps/powerpc/powerpc32/464.
2617 * sysdeps/powerpc/powerpc32/476: Move directory from
2618 ports/sysdeps/powerpc/powerpc32/476.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2620 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2622 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2624 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2626 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2628 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2629 * README: Update for powerpc-*-linux-gnu software floating point
2630 support in libc.
2631
e246b347
JM
2632 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2633 case to powerpc/powerpc32*.
2634 * sysdeps/unix/sysv/linux/configure: Regenerated.
2635
89c2003e
JM
2636 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2637 (_FPU_MASK_OM): Define as 0x04.
2638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2640 0x00c10080.
2641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2642 0x0000003c.
2643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2644
cd78f7e7
JM
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2646 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2647 getcontext_e500.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2649 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2650 setcontext_e500.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2652 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2653 and setcontext_e500.
2654
c755294d
CL
26552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2656
2657 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2658
e16d221c
SP
26592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
2661 * manual/threads.texi (Default Thread Attributes): Fix typo.
2662
215c7d43
WN
26632013-10-04 Will Newton <will.newton@linaro.org>
2664
2665 * malloc/Makefile: Add tst-memalign.
2666 * malloc/tst-memalign.c: New file.
2667
27d0461b
WN
2668 * malloc/tst-posix_memalign.c: Add comments.
2669 (do_test): Add comments and call free on all potentially
2670 allocated pointers. Add space after cast.
2671
1bc92709
WN
2672 * malloc/tst-pvalloc.c: Add comments.
2673 (do_test): Add comments and call free on all potentially
2674 allocated pointers. Remove duplicate check for NULL pointer.
2675 Add space after cast.
2676
66a9be9d
WN
2677 * malloc/tst-valloc.c: Add comments.
2678 (do_test): Add comments and call free on all potentially
2679 allocated pointers. Remove duplicate check for NULL pointer.
2680 Add space after cast.
2681
4cb81307
AM
26822013-10-04 Alan Modra <amodra@gmail.com>
2683
2684 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2685 Use stdint types in rather than __attribute__((mode())).
2686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2687
f8e3e9f3
AM
26882013-10-04 Alan Modra <amodra@gmail.com>
2689
2690 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2691 Correct handling of unaligned relocs for little-endian.
2692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2693
8f9ebb08
AM
26942013-10-04 Alan Modra <amodra@gmail.com>
2695
2696 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2697 * configure: Regenerate.
2698 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2699 * shlib-versions: Likewise.
2700
0edf96c2
AM
27012013-10-04 Alan Modra <amodra@gmail.com>
2702
2703 * string/tester.c (test_memrchr): Increment reported test cycle.
2704
e0f7a380
AM
27052013-10-04 Alan Modra <amodra@gmail.com>
2706
2707 * string/test-memcpy.c (do_one_test): When reporting errors, print
2708 string address and don't overrun end of string.
2709
466b0393
AM
27102013-10-04 Alan Modra <amodra@gmail.com>
2711
2712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2713 insrdi. Make better use of reg selection to speed exit slightly.
2714 Schedule entry path a little better. Remove useless "are we done"
2715 checks on entry to main loop. Handle wrapping around zero address.
2716 Correct main loop count. Handle single left-over word from main
2717 loop inline rather than by using loop_small. Remove extra word
2718 case in loop_small caused by wrong loop count. Add little-endian
2719 support.
2720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2722 cache hint.
2723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2725 support. Avoid rlwimi.
2726 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2727
3be87c77
AM
27282013-10-04 Alan Modra <amodra@gmail.com>
2729
2730 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2731 insrdi. Formatting.
3be87c77
AM
2732 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2736 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2738
759cfef3
AM
27392013-10-04 Alan Modra <amodra@gmail.com>
2740
2741 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2744 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2750 use of regs. Use power7 mtocrf. Tidy function tails.
2751
fe6e95d7
AM
27522013-10-04 Alan Modra <amodra@gmail.com>
2753
2754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2755 Formatting. Consistently use rXXX register defines or rN defines.
2756 Use early exit labels that avoid restoring unused non-volatile regs.
2757 Make cr field use more consistent with rWORDn compares. Rename
2758 regs used as shift registers for unaligned loop, using rN defines
2759 for short lifetime/multiple use regs.
2760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2762 addi 1,1,64 to pop stack frame. Simplify return value code.
2763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2764
664318c3
AM
27652013-10-04 Alan Modra <amodra@gmail.com>
2766
2767 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2768 support. Correct typos, formatting. Optimize tail. Use insrdi
2769 rather than rlwimi.
2770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2771 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2772 little-endian support. Correct typos.
2773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2774 rather than rlwimi.
2775 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2776 in loop and entry code to keep "and." results.
2777 (strchr): Add little-endian support. Comment. Move cntlzd
2778 earlier in tail.
2779 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2780
43b84013
AM
27812013-10-04 Alan Modra <amodra@gmail.com>
2782
2783 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2784 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2786 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2787
8a7413f9
AM
27882013-10-04 Alan Modra <amodra@gmail.com>
2789
2790 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2791 (rTMP): Define as r11.
2792 (strcmp): Add little-endian support. Optimise tail.
2793 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2794 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2795 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2800
33ee81de
AM
28012013-10-04 Alan Modra <amodra@gmail.com>
2802
2803 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2804 little-endian support. Remove unnecessary "are we done" tests.
2805 Handle "s" wrapping around zero and extremely large "size".
2806 Correct main loop count. Handle single left-over word from main
2807 loop inline rather than by using small_loop. Correct comments.
2808 Delete "zero" tail, use "end_max" instead.
2809 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2810
db9b4570
AM
28112013-10-04 Alan Modra <amodra@gmail.com>
2812
2813 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2814 support. Don't branch over align.
2815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2816 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2817 support. Rearrange tmp reg use to suit. Comment.
2818 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2819
f7c399cf
AM
28202013-10-04 Alan Modra <amodra@gmail.com>
2821
2822 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2823
0b2c2ace
AM
28242013-10-04 Alan Modra <amodra@gmail.com>
2825
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2827 conditional form of branch and link when obtaining pc.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2829
02f04a6c
AM
28302013-10-04 Alan Modra <amodra@gmail.com>
2831
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2833 HIWORD/LOWORD.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2836
9b874b2f
AM
28372013-10-04 Alan Modra <amodra@gmail.com>
2838
2839 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2840 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2841 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2842 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2843 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2844 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2845 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2847 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2848 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2849
be1e5d31
AB
28502013-10-04 Anton Blanchard <anton@au1.ibm.com>
2851 Alistair Popple <alistair@ozlabs.au.ibm.com>
2852 Alan Modra <amodra@gmail.com>
2853
2854 [BZ #15723]
2855 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2857 _dl_hwcap access for little-endian.
2858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2859 destroy vmx regs when saving unaligned.
2860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2861 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2862 destroy vmx regs when saving unaligned.
2863
fef13a78
AM
28642013-10-04 Alan Modra <amodra@gmail.com>
2865
2866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2867 Don't use a union to pack hi/low value.
2868
76a66d51
AB
28692013-10-04 Anton Blanchard <anton@au1.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2872 for little-endian.
2873 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2875 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2876 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2877 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2878
6a31fe7f
AM
28792013-10-04 Alan Modra <amodra@gmail.com>
2880
2881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2882 constants to usual value for .cst8 section, and remove redundant
2883 high address load.
2884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2885 constant for 0x1p52. Load little-endian words of double from
2886 correct stack offsets.
2887
7b88401f
AM
28882013-10-04 Alan Modra <amodra@gmail.com>
2889
2890 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2891 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2892 words of double from correct stack offsets.
2893 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2894 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2895 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2900 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2901 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2909 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2910
9c008155
AM
29112013-10-04 Alan Modra <amodra@gmail.com>
2912
2913 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2914 64-bit int/double union.
2915 (_FPU_SETCW): Likewise.
2916 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2917 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2918
da13146d
AM
29192013-10-04 Alan Modra <amodra@gmail.com>
2920
2921 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2922 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2923
603e8410
AM
29242013-10-04 Alan Modra <amodra@gmail.com>
2925
2926 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2927 use vector int constants.
2928 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2929
4a28b3ca
AB
29302013-10-04 Anton Blanchard <anton@au1.ibm.com>
2931
2932 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2933 array with long long.
2934 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2935 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2936 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2939 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2940 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2941 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2942 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2943 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2944 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2945 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2946 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2947
2ca85d2b
AB
29482013-10-04 Anton Blanchard <anton@au1.ibm.com>
2949
2950 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2951 (__signbit): Likewise. Correct for little-endian.
2952 (__signbitl): Call __signbit.
2953 (lrint): Correct for little-endian.
2954 (lrintf): Call lrint.
2955
62a728ae
AM
29562013-10-04 Alan Modra <amodra@gmail.com>
2957
2958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2959 union 32-bit int array member with 64-bit int array.
2960 (t515, tm256): Double rather than long double.
2961 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2962
32c301df
AM
29632013-10-04 Alan Modra <amodra@gmail.com>
2964
2965 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2966 Delete.
2967 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2969 version of math_ldbl.h.
2970
650ef4bd
AM
29712013-10-04 Alan Modra <amodra@gmail.com>
2972
2973 [BZ #15734], [BZ #15735]
2974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2975 all uses of ieee875 long double macros and unions. Simplify test
2976 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2977 ldbl_extract_mantissa value for ix,iy exponents. Properly
2978 normalize after ldbl_extract_mantissa, and don't add hidden bit
2979 already handled. Don't treat low word of ieee854 mantissa like
2980 low word of IBM long double and mask off bit when testing for
2981 zero.
2982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2983 all uses of ieee875 long double macros and unions. Simplify tests
2984 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2985 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2986 two1022, instead use their values. Recognise that tests for large
2987 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2989 Rewrite all uses of ieee875 long double macros and unions. Simplify
2990 test for 0.0L and nan. Correct negation.
2991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2992 ieee875 long double macros and unions. Correct output for large
2993 magnitude x. Correct absolute value calculation.
2994 (__erfcl): Likewise.
2995 * math/libm-test.inc: Add tests for errors discovered in IBM long
2996 double versions of fmodl, remainderl, erfl and erfcl.
2997
765714ca
AM
29982013-10-04 Alan Modra <amodra@gmail.com>
2999
3000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3001 all uses of ieee854 long double macros and unions. Simplify tests
3002 for long doubles that are fully specified by the high double.
3003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3004 Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3006 Remove dead code too.
3007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3008 (__ieee754_ynl): Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3012 Remove dead code too.
3013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3014 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3017 Simplify.
3018 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3019 Simplify.
3020 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3023 Comment on variable precision.
3024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3026 Likewise.
3027 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3031 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3032
4ebd120c
AM
30332013-10-04 Alan Modra <amodra@gmail.com>
3034
3035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3037 all uses of ieee854 long double macros and unions.
3038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3044 Likewise.
3045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3048 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3049 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3051 Simplify sign and nan test too.
3052 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3053 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3054 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3055 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3056 Likewise.
3057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3058 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3059 Likewise.
3060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3061 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3062 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3063 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3066
1b6adf88
AM
30672013-10-04 Alan Modra <amodra@gmail.com>
3068
3069 * stdio-common/printf_size.c (__printf_size): Don't use
3070 union ieee854_long_double in fpnum union.
3071 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3072 signbit macro to retrieve sign from long double.
3073 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3074 retrieve sign from long double.
3075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3076 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3077 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3078 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3079 * math/test-misc.c (main): Don't use union ieee854_long_double.
3080
4cf69995
AM
30812013-10-04 Alan Modra <amodra@gmail.com>
3082
3083 [BZ #15680]
3084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3085 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3086 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3087 calculation. Remove unnecessary test for denormal exponent.
3088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3089 Correct handling of denormals. Avoid undefined shift behaviour.
3090 Correct normalisation of low mantissa when low double is denormal.
3091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3092 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3093 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3094 Correct normalisation of low mantissa. Test for overflow of high
3095 mantissa and normalise.
3096 (ldbl_nearbyint): Use more readable constant for two52.
3097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3098 (__mpn_construct_long_double): Fix test for overflow of high
3099 mantissa and correct normalisation. Avoid undefined shift.
3100
9605ca6c
AM
31012013-10-04 Alan Modra <amodra@gmail.com>
3102
3103 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3104 (union ibm_extended_long_double): Define as an array of ieee754_double.
3105 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3107 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3108 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3112 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3116
975569d0
JM
31172013-10-03 Joseph Myers <joseph@codesourcery.com>
3118
d3d23756
JM
3119 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3120 page size instead of calling getpagesize.
3121
975569d0
JM
3122 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3123 (LOCFILE_ALIGN_MASK): Likewise.
3124 (LOCFILE_ALIGN_UP): Likewise.
3125 (LOCFILE_ALIGNED_P): Likewise.
3126 * locale/programs/ld-collate.c (collate_output): Use the new
3127 macros instead of __alignof__ (int32_t).
3128 * locale/weight.h (findidx): Likewise.
3129
b1fe1f2b
OB
31302013-10-03 Ondřej Bílka <neleai@seznam.cz>
3131
3132 [BZ #431]
3133 * manual/string.texi: Fix strncat and wcsncat.
3134
5f855e35
BM
31352013-10-03 Brooks Moses <bmoses@google.com>
3136
3137 [BZ #15915]
3138 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3139 * Makerules: ...here, and adjust associated comments.
3140
3cef6009
WN
31412013-10-02 Will Newton <will.newton@linaro.org>
3142
3143 * malloc/Makefile: Add tst-pvalloc.
3144 * malloc/tst-pvalloc.c: New file.
3145
7815420b
WN
31462013-10-02 Will Newton <will.newton@linaro.org>
3147
3148 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3149 improve test coverage.
3150
4868b204
WN
31512013-10-02 Will Newton <will.newton@linaro.org>
3152
3153 * malloc/Makefile: Add tst-posix_memalign.
3154 * malloc/tst-posix_memalign.c: New file.
3155
29c793b3
EB
31562013-10-01 Eric Blake <eblake@redhat.com>
3157
3158 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3159 Use __THROWNL rather than __THROW on static functions.
3160
fd967522
PM
31612013-09-30 Petr Machata <pmachata@redhat.com>
3162
3163 * elf/elf.h (R_AARCH64_ABS16): New macro.
3164 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3165 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3166 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3167 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3168 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3169 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3170 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3171 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3172 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3173 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3174 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3175 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3176 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3177 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3178 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3179 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3180 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3181 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3182 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3183 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3184 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3185 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3186 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3187 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3188 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3189 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3190 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3191 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3192 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3193 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3194 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3195 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3196 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3197 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3198 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3199 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3200 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3201 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3202 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3203 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3204 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3205 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3206 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3207 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3208 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3209 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3210 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3211 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3212 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3213 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3214 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3215 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3216 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3217 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3218 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3219 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3220 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3221 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3222 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3223 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3224 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3225 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3226 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3227 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3228 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3229 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3230 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3231 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3232 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3233 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3234 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3235 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3236 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3237 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3238 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3239 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3240 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3241 (R_AARCH64_TLSDESC_LDR): Likewise.
3242 (R_AARCH64_TLSDESC_ADD): Likewise.
3243 (R_AARCH64_TLSDESC_CALL): Likewise.
3244
b2179107
AS
32452013-09-30 Andreas Schwab <schwab@suse.de>
3246
3247 [BZ #15048]
3248 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3249 the nss database lookup.
3250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3252
47f28d0a
MF
32532013-09-28 Mike Frysinger <vapier@gentoo.org>
3254
3255 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3256
32572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3258
3259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3260 ${Bash-specific parameter/pattern/string} parameter expansion.
3261 * sysdeps/unix/make-syscalls.sh: Likewise.
3262
f4518a17
KK
32632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3264
3265 * sysdeps/sh/stackguard-macros.h: New file.
3266
dc1a95c7
OB
32672013-09-26 Ondřej Bílka <neleai@seznam.cz>
3268
3269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3271 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3272 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3274 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3275
5ebbff8f
AZ
32762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3279 Fix thread ID register.
3280
4fd2cf9f
JM
32812013-09-25 Joseph Myers <joseph@codesourcery.com>
3282
3283 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3284 [POSIX || UNIX98]: Require rather than permitting all symbols from
3285 <time.h>.
3286 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3287 element of struct sched_param.
3288 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3289 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3290 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3291 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3292 constant.
3293
12c22bc4
OL
32942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3295
3296 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3297 argument calculation.
3298
a03d8ea7
JM
32992013-09-24 Joseph Myers <joseph@codesourcery.com>
3300
3301 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3302 Expect macro.
3303 [POSIX] (pthread_attr_t): Do not require type.
3304 [POSIX] (pthread_cond_t): Likewise.
3305 [POSIX] (pthread_condattr_t): Likewise.
3306 [POSIX] (pthread_key_t): Likewise.
3307 [POSIX] (pthread_mutex_t): Likewise.
3308 [POSIX] (pthread_mutexattr_t): Likewise.
3309 [POSIX] (pthread_once_t): Likewise.
3310 [POSIX] (pthread_t): Likewise.
3311 [POSIX-based standards] (pthread_atfork): Expect function.
3312
6055173a
JM
33132013-09-24 Joseph Myers <joseph@codesourcery.com>
3314 Richard Sandiford <richard@codesourcery.com>
3315
3316 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3317 (swap_endianness_p): New extern variable.
3318 (set_big_endian): New inline function.
3319 (maybe_swap_uint32): Likewise.
3320 (maybe_swap_uint32_array): Likewise.
3321 (maybe_swap_uint32_obstack): Likewise.
3322 * locale/programs/locfile.c: Include <stdbool.h>.
3323 (swap_endianness_p): New variable.
3324 (add_locale_uint32): Call maybe_swap_uint32.
3325 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3326 (write_locale_data): Call maybe_swap_uint32_array.
3327 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3328 maybe_swap_uint32.
3329 (obstack_int32_grow_fast): Likewise.
3330 (output_weightwc): Call maybe_swap_uint32_obstack.
3331 (collate_output): Likewise.
3332 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3333 (OPT_LITTLE_ENDIAN): Likewise.
3334 (options): Add --little-endian and --big-endian options.
3335 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3336 * locale/programs/locarchive.c: Include "locfile.h".
3337 (GET): New macro.
3338 (SET): Likewise.
3339 (INC): Likewise.
3340 (create_archive): Use the new macros to access fields of
3341 structures directly mapped from or written to locale archives.
3342 (oldlocrecentcmp): Likewise.
3343 (enlarge_archive): Likewise.
3344 (insert_name): Likewise.
3345 (add_alias): Likewise.
3346 (add_locale): Likewise.
3347 (delete_locales_from_archive): Likewise.
3348 (show_archive_content): Likewise.
3349 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3350 locale data.
3351
39bf0bb4
RM
33522013-09-24 Roland McGrath <roland@hack.frob.com>
3353
3354 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3355 http://www.gnu.org/doc/freemanuals.texi.
3356 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3357
f02eed10
WN
33582013-09-24 Will Newton <will.newton@linaro.org>
3359
3360 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3361 macro.
3362
a3a6c312
JM
33632013-09-23 Joseph Myers <joseph@codesourcery.com>
3364
3365 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3366 unsigned char.
3367
107375ac
MR
33682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3369
3370 * manual/threads.texi (POSIX Threads): Fix a typo.
3371
141f3a77
SP
33722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3373
303e567a
SP
3374 [BZ #14547]
3375 * string/tst-strcoll-overflow.c: New test case.
3376 * string/Makefile (xtests): Add tst-strcoll-overflow.
3377 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3378 cache if string sizes may cause integer overflow.
3379
141f3a77
SP
3380 [BZ #14547]
3381 * string/strcoll_l.c (coll_seq): New members rule, idx,
3382 save_idx and back_us.
3383 (get_next_seq_nocache): New function.
3384 (do_compare_nocache): New function.
3385 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3386 when malloc fails.
3387
c61b4d41
CD
33882013-09-23 Carlos O'Donell <carlos@redhat.com>
3389
0b1f8e35
CD
3390 [BZ #15754]
3391 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3392 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3393 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3394
c61b4d41
CD
3395 [BZ #15754]
3396 * elf/Makefile (tests): Add tst-ptrguard1.
3397 (tests-static): Add tst-ptrguard1-static.
3398 (tst-ptrguard1-ARGS): Define.
3399 (tst-ptrguard1-static-ARGS): Define.
3400 * elf/tst-ptrguard1.c: New file.
3401 * elf/tst-ptrguard1-static.c: New file.
3402 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3403 * sysdeps/i386/stackguard-macros.h: Likewise.
3404 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3405 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3406 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3407 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3408 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3409 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3410
34112013-09-23 Hector Marco <hecmargi@upv.es>
3412 Ismael Ripoll <iripoll@disca.upv.es>
3413 Carlos O'Donell <carlos@redhat.com>
3414
3415 [BZ #15754]
3416 * sysdeps/generic/stackguard-macros.h: Define
3417 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3418 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3419 Define __pointer_chk_guard_local.
3420 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3421 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3422
f5f4e7b4
VV
34232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3424
3425 [BZ #15859]
3426 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3427
5bb43a43
AS
34282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * include/string.h (__ffs): Declare as hidden.
3431 * string/ffs.c (__ffs): Define as hidden.
3432 * sysdeps/i386/ffs.c (__ffs): Likewise.
3433 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3434 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3435 * sysdeps/s390/ffs.c (__ffs): Likewise.
3436 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3437
3ea5be54
AO
34382013-09-20 Alexandre Oliva <aoliva@redhat.com>
3439
ffb89e53
AO
3440 * NEWS: Mention malloc probes.
3441
322dea08
AO
3442 * malloc/arena.c (new_heap): New memory_heap_new probe.
3443 (grow_heap): New memory_heap_more probe.
3444 (shrink_heap): New memory_heap_less probe.
3445 (heap_trim): New memory_heap_free probe.
3446 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3447 (systrim): New memory_sbrk_less probe.
3448 * manual/probes.texi: Document them.
3449
655673f3
AO
3450 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3451 * manual/probes.texi: Document it.
3452
35fed6f1
AO
3453 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3454 (__libc_realloc): Add memory_realloc_retry probe.
3455 (__libc_memalign): Add memory_memalign_retry probe.
3456 (__libc_valloc): Add memory_valloc_retry probe.
3457 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3458 (__libc_calloc): Add memory_calloc_retry probe.
3459 * manual/probes.texi: Document them.
3460
6999d38c
AO
3461 * malloc/arena.c (get_free_list): Add probe
3462 memory_arena_reuse_free_list.
3463 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3464 and memory_arena_reuse.
3465 (arena_get2) [!PER_THREAD]: Likewise.
3466 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3467 memory_arena_reuse_realloc.
3468 * manual/probes.texi: Document them.
3469
0653427f
AO
3470 * malloc/malloc.c (__libc_free): Add
3471 memory_mallopt_free_dyn_thresholds probe.
3472 (__libc_mallopt): Add multiple memory_mallopt probes.
3473 * manual/probes.texi: Document them.
3474
3ea5be54
AO
3475 * malloc/malloc.c: Include stap-probe.h.
3476 (__libc_mallopt): Add memory_mallopt probe.
3477 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3478 * manual/probes.texi: New.
3479 * manual/Makefile (chapters): Add probes.
3480 * manual/threads.texi: Set next node.
3481
e35696c3 34822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3483
e35696c3
CL
3484 [BZ #15963, #13985]
3485 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3486 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3487 Add `Chinese' to `nan' entry name.
3488
4aafb73c
SP
34892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3490
3491 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3492 (POLYNOMIAL): Likewise.
3493 (TAYLOR_SINCOS): Likewise.
3494 (TAYLOR_SLOW): Likewise.
3495 (__sin): Use TAYLOR_SINCOS.
3496 (__cos): Likewise.
3497 (slow): Use TAYLOR_SLOW.
3498 (sloww): Likewise.
3499 (bsloww): Likewise.
3500 (csloww): Likewise.
3501
d84f25c7
LD
35022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3503
3504 * stdlib/strtod_l.c: Fix buffer overrun.
3505
5eea0404
SP
35062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3507
7849ff93
SP
3508 * benchtests/Makefile (bench): Add sincos.
3509 * benchtests/bench-sincos.c: New file.
3510
cfa3c886
SP
3511 * math/libm-test.inc (cos_test_data): New test inputs.
3512 (sin_test_data): Likewise.
3513
b348e1e3
SP
3514 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3515 macro.
3516 (__sin): Use it.
3517 (__cos): Likewise.
3518 (slow1): Likewise.
3519 (slow2): Likewise.
3520 (sloww1): Likewise.
3521 (sloww2): Likewise.
3522 (bsloww1): Likewise.
3523 (bsloww2): Likewise.
3524 (cslow2): Likewise.
3525 (csloww1): Likewise.
3526 (csloww2): Likewise.
3527
6cce25f8
SP
3528 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3529 function.
3530 (__sin): Use it.
3531 (__cos): Likewise.
3532
5eea0404
SP
3533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3534 gotos.
3535 (__cos): Likewise.
3536
9c21573c
MR
35372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3538
3539 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3540 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3541 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3542 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3543 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3544 * elf/cache.c (print_entry): Handle the new cache flags.
3545
24d22e65
JM
35462013-09-18 Joseph Myers <joseph@codesourcery.com>
3547 Aldy Hernandez <aldyh@redhat.com>
3548
3549 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3550 Change condition to [_SOFT_FLOAT].
3551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3563 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3566 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3567 declaration.
3568
d13ef066
JM
35692013-09-18 Joseph Myers <joseph@codesourcery.com>
3570
2e071de0
JM
3571 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3572 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3573 (__longjmp): Use LOAD_GP to load saved GPRs.
3574 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3575 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3576 (__sigsetjmp): Use SAVE_GP to save GPRs.
3577
d13ef066
JM
3578 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3579 Do not append -msoft-float.
3580 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3581
97a0650b
SP
35822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3583
3584 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3585
11ca09e9
JM
35862013-09-17 Joseph Myers <joseph@codesourcery.com>
3587
3588 [BZ #15966]
3589 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3590 (_FPU_GETCW): Use initial "__" on variable and field names but not
3591 on macro parameter name.
3592 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3593 parentheses around reference to macro parameter.
3594
08ffcf34
RS
35952013-09-13 Richard Sandiford <richard@codesourcery.com>
3596
3597 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3598 prototype.
3599 (ctype_startup): Use uint32_t in cast and sizeof for
3600 ctype->charnames.
3601
ae7080d3
JL
36022013-09-11 Jia Liu <proljc@gmail.com>
3603
3604 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3605 __daddr_t_defined.
3606 [__FreeBSD__]: Likewise.
3607
5905e7b3
OB
36082013-09-11 Ondřej Bílka <neleai@seznam.cz>
3609
3610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3611 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3612 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3613 (strchr): Remove __strchr_sse42 ifunc selection.
3614 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3615 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3616
b987c776
WN
36172013-09-11 Will Newton <will.newton@linaro.org>
3618
3619 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3620 parameter to RES. Remove hardcoded 1000 value.
3621 * benchtests/bench-skeleton.c (main): Pass RES parameter
3622 to TIMING_INIT and multiply result by 1000.
3623
ddf985af
AZ
36242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3625
3626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3627
ffdd3181
AS
36282013-09-11 Andreas Schwab <schwab@suse.de>
3629
3630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3631 if not defined.
3632 (O_TMPFILE) [__USE_GNU]: Define.
3633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3634 Define.
3635
b73ed247
WN
36362013-09-11 Will Newton <will.newton@linaro.org>
3637
3638 [BZ #15857]
3639 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3640 does not overflow.
3641
55e17aad
WN
36422013-09-11 Will Newton <will.newton@linaro.org>
3643
3644 [BZ #15856]
3645 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3646 does not overflow.
3647
1159a193
WN
36482013-09-11 Will Newton <will.newton@linaro.org>
3649
3650 [BZ #15855]
3651 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3652 does not overflow.
3653
5905e7b3 36542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3655
3656 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3661
cdfc721b
AM
36622013-09-10 Allan McRae <allan@archlinux.org>
3663
aa04af00
AM
3664 [BZ #15748]
3665 * manual/arith.texi (Parsing of Floats): Clarify
3666 cross-reference.
3667
cdfc721b
AM
3668 [BZ #15849]
3669 * manual/install.texi (Running make install): Mention
3670 --enable-pt-chown.
3671 * INSTALL: Regenerated.
3672
95e7cf29
MR
36732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3674
3675 * csu/init-first.c (_init): Remove the !SHARED condition around
3676 FPU control word initialization.
3677 * elf/dl-support.c (_dl_fpu_control): New variable.
3678 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3679 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3680 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3681 * math/test-fpucw-static.c: New file.
3682 * math/test-fpucw-ieee.c: New file.
3683 * math/test-fpucw-ieee-static.c: New file.
3684 * math/Makefile (tests): Add `test-fpucw-ieee' and
3685 `$(tests-static)'.
3686 (tests-static): New variable.
3687 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3688 dependency to...
3689 [($(build-shared),yes)]
3690 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3691 ... this.
3692 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3693 New dependency.
3694
83e43bf0
AM
36952013-09-09 Allan McRae <allan@archlinux.org>
3696
a9f5ce09
AM
3697 [BZ #15939]
3698 * manual/string.texi (Collation Functions): Fix typo in
3699 strcoll example.
3700 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3701
34829bc2
AM
3702 [BZ #15893]
3703 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3704
3932737d
AM
3705 [BZ #15892]
3706 * libio/memstream.c (open_memstream): Fix memory leak.
3707 * libio/wmemstream.c (open_wmemstream): Likewise.
3708
83e43bf0
AM
3709 [BZ #15895]
3710 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3711
0c66b8e9
WN
37122013-09-09 Will Newton <will.newton@linaro.org>
3713
3714 * malloc/Makefile: Add tst-realloc to tests.
3715 * malloc/tst-realloc.c: New file.
3716
f6b00fd1
AM
37172013-09-09 Allan McRae <allan@archlinux.org>
3718
3719 [BZ #15844]
3720 * COPYING: Update from GNU website to fix FSF address.
3721 * COPYING.LIB: Likewise.
3722
eec55e16
DM
37232013-09-06 David S. Miller <davem@davemloft.net>
3724
3725 * po/zh_TW.po: Update Chinese (traditional) translation from
3726 translation project.
3727
1ecbb381
RS
37282013-09-06 Richard Sandiford <richard@codesourcery.com>
3729 Joseph Myers <joseph@codesourcery.com>
3730
3731 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3732 "localeinfo.h".
3733 (obstack_chunk_alloc): New macro.
3734 (obstack_chunk_free): Likewise.
3735 (record_offset): New function.
3736 (init_locale_data): Likewise.
3737 (align_locale_data): Likewise.
3738 (add_locale_empty): Likewise.
3739 (add_locale_raw_data): Likewise.
3740 (add_locale_raw_obstack): Likewise.
3741 (add_locale_string): Likewise.
3742 (add_locale_wstring): Likewise.
3743 (add_locale_uint32): Likewise.
3744 (add_locale_uint32_array): Likewise.
3745 (add_locale_char): Likewise.
3746 (start_locale_structure): Likewise.
3747 (end_locale_structure): Likewise.
3748 (start_locale_prelude): Likewise.
3749 (end_locale_prelude): Likewise.
3750 (write_locale_data): Take locale_file structure rather than an
3751 iovec.
3752 * locale/programs/locfile.h: Include "obstack.h".
3753 (struct locale_file): Change to store locale file contents instead
3754 of header.
3755 (init_locale_data): New prototype.
3756 (align_locale_data): Likewise.
3757 (add_locale_empty): Likewise.
3758 (add_locale_raw_data): Likewise.
3759 (add_locale_raw_obstack): Likewise.
3760 (add_locale_string): Likewise.
3761 (add_locale_wstring): Likewise.
3762 (add_locale_uint32): Likewise.
3763 (add_locale_uint32_array): Likewise.
3764 (add_locale_char): Likewise.
3765 (start_locale_structure): Likewise.
3766 (end_locale_structure): Likewise.
3767 (start_locale_prelude): Likewise.
3768 (end_locale_prelude): Likewise.
3769 (write_locale_data): Update prototype.
3770 * locale/programs/3level.h (struct TABLE): Remove result field.
3771 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3772 Use new locale_file interface.
3773 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3774 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3775 * locale/programs/ld-address.c (address_output): Use new
3776 locale_file interface.
3777 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3778 NO_ADD_LOCALE.
3779 (collate_finish): Don't call collseq_table_finalize.
3780 (collate_output): Use new locale_file interface.
3781 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3782 in file.
3783 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3784 (TABLE): Move defines earlier in file.
3785 (ELEMENT): Likewise.
3786 (DEFAULT): Likewise.
3787 (wctrans_table_add): Move macro and inline function earlier in
3788 file.
3789 (struct wctype_table): Move type earlier in file.
3790 (add_locale_wctype_table): New static prototype.
3791 (struct locale_ctype_t): Use logical types instead of struct iovec
3792 pointers for members.
3793 (ctype_output): Use new locale_file interface.
3794 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3795 new locale_file interface.
3796 (allocate_arrays): Update for use of new locale_file interface.
3797 * locale/programs/ld-identification.c (identification_output): Use
3798 new locale_file interface.
3799 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3800 * locale/programs/ld-messages.c (messages_output): Likewise.
3801 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3802 * locale/programs/ld-name.c (name_output): Likewise.
3803 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3804 * locale/programs/ld-paper.c (paper_output): Likewise.
3805 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3806 * locale/programs/ld-time.c (time_output): Likewise.
3807
e029e2e5
AZ
38082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3809
3810 * benchtests/Makefile: Add memrchr benchmark.
3811 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3812 benchmark as memrchr.
3813 * benchtests/bench-memrchr-ifunc.c: New file.
3814 * benchtests/bench-memrchr.c: New file.
3815
bbf6e8e4
WN
38162013-09-06 Will Newton <will.newton@linaro.org>
3817
3818 * benchtests/Makefile (string-bench): Add memcpy.
3819
6c82a2f8
CD
38202013-09-05 Carlos O'Donell <carlos@redhat.com>
3821 Cong Wang <amwang@redhat.com>
3822
3823 * sysdeps/unix/sysv/linux/bits/in.h
3824 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3825 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3826 before __USE_KERNEL_IPV6_DEFS uses.
3827 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3828 IPPROTO_BEETPH.
3829 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3830 sockaddr_in6, or ipv6_mreq.
3831
5430fc65
AZ
38322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3835 memory access for final bytes in some large inputs.
3836 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3837
4660856c
AZ
38382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839
3840 * string/test-memrchr.c: New file.
3841 * string/test-memrchr-ifunc.c: New file.
3842 * string/Makefile: Add new memrchr testcase.
3843
bb8ea713
MF
38442013-09-05 Mike Frysinger <vapier@gentoo.org>
3845
3846 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3847 fanotify_init returns EPERM.
3848
b92a20b5
JM
38492013-09-04 Joseph Myers <joseph@codesourcery.com>
3850
3851 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3852 errors.
3853 (top level): Treat second token from macro or constant entries for
3854 allowed headers as allowed.
3855 * include/complex.h: Condition internal declarations on
3856 [!_ISOMAC].
3857 * include/fenv.h: Condition include of <stdbool.h> and internal
3858 declarations on [!_ISOMAC].
7447ccd9
CL
3859
38602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3861
3e181dda 3862 [BZ #15923]
7447ccd9
CL
3863 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3864
3f2e46a4
JM
38652013-09-04 Joseph Myers <joseph@codesourcery.com>
3866
3867 * configure.in (--enable-versioning): Remove configure option.
3868 (libc_cv_asm_symver_directive): Remove configure test.
3869 (libc_cv_ld_version_script_option): Likewise.
3870 (VERSIONING): Remove variable and AC_SUBST.
3871 (DO_VERSIONING): Remove AC_DEFINE.
3872 * configure: Regenerated.
3873 * config.h.in (DO_VERSIONING): Remove macro.
3874 * Makerules [$(versioning) = yes]: Change conditionals to
3875 [$(build-shared) = yes].
3876 * config.make.in (versioning): Remove variable.
3877 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3878 [$(build-shared) = yes].
3879 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3880 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3881 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3882 [$(build-shared) = yes].
3883 * extra-lib.mk [$(versioning) = yes]: Likewise.
3884 * hurd/Makefile [$(versioning) = yes]: Likewise.
3885 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3886 [SHARED].
3887 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3888 [SHARED].
3889 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3890 [SHARED && !NO_HIDDEN].
3891 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3892 [SHARED].
3893 [SHARED && DO_VERSIONING]: Likewise..
3894 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3895 [$(build-shared) = yes].
3896 * manual/install.texi (--disable-versioning): Remove
3897 documentation.
3898 * INSTALL: Regenerated.
3899 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3900 to [SHARED].
3901 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3902 [$(build-shared) = yes].
3903 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3904 * sysdeps/i386/i686/multiarch/strstr-c.c
3905 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3906 [SHARED && !NO_HIDDEN].
3907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3908 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3909 * sysdeps/powerpc/powerpc32/dl-machine.c
3910 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3911 * sysdeps/powerpc/powerpc32/sysdep.h
3912 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3913 to [SHARED && PIC && !NO_HIDDEN].
3914 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3915 conditional to [SHARED].
3916
44558701
WN
39172013-09-04 Will Newton <will.newton@linaro.org>
3918
3919 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3920 * benchtests/bench-string.h: Include bench-timing.h instead
3921 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3922 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3923 call to HP_TIMING_DIFF_INIT.
3924 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3925 instead of hp-timing.h macros.
3926 * benchtests/bench-memchr.c: Likewise.
3927 * benchtests/bench-memcmp.c: Likewise.
3928 * benchtests/bench-memcpy.c: Likewise.
3929 * benchtests/bench-memmem.c: Likewise.
3930 * benchtests/bench-memmove.c: Likewise.
3931 * benchtests/bench-memset.c: Likewise.
3932 * benchtests/bench-rawmemchr.c: Likewise.
3933 * benchtests/bench-strcasecmp.c: Likewise.
3934 * benchtests/bench-strcasestr.c: Likewise.
3935 * benchtests/bench-strcat.c: Likewise.
3936 * benchtests/bench-strchr.c: Likewise.
3937 * benchtests/bench-strcmp.c: Likewise.
3938 * benchtests/bench-strcpy.c: Likewise.
3939 * benchtests/bench-strcpy_chk.c: Likewise.
3940 * benchtests/bench-strlen.c: Likewise.
3941 * benchtests/bench-strncasecmp.c: Likewise.
3942 * benchtests/bench-strncat.c: Likewise.
3943 * benchtests/bench-strncmp.c: Likewise.
3944 * benchtests/bench-strncpy.c: Likewise.
3945 * benchtests/bench-strnlen.c: Likewise.
3946 * benchtests/bench-strpbrk.c: Likewise.
3947 * benchtests/bench-strrchr.c: Likewise.
3948 * benchtests/bench-strspn.c: Likewise.
3949 * benchtests/bench-strstr.c: Likewise.
3950
cae16d66
WN
39512013-09-04 Will Newton <will.newton@linaro.org>
3952
3953 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3954
ffa3cd7f
JM
39552013-09-03 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #15427]
3958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3959 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3960 * math/libm-test.inc (lgamma_test_data): Add more tests.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update.
3962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3963
8f02859f
OB
39642013-09-03 Ondřej Bílka <neleai@seznam.cz>
3965
3966 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3968 Add ifunc.
3969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3970 Add strcmp-sse2-unaligned
3971 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3972
18d43716
MF
39732013-09-02 Mike Frysinger <vapier@gentoo.org>
3974
3975 * Versions.def (libc): Add GLIBC_2.19.
3976
ac444012
MF
39772013-09-02 Mike Frysinger <vapier@gentoo.org>
3978
3979 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3980 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3981
b7835e32
JM
39822013-09-02 Joseph Myers <joseph@codesourcery.com>
3983
3984 [BZ #14155]
3985 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3986 intermediate calculations in recurrence.
3987 (__ieee754_ynf): Likewise.
3988 * math/libm-test.inc (jn_test_data): Do not allow spurious
3989 underflow exception. Add more tests.
3990 (yn_test_data): Add more tests.
3991 * sysdeps/i386/fpu/libm-test-ulps: Update.
3992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3993
8220f4f0
OB
39942013-09-02 Ondřej Bílka <neleai@seznam.cz>
3995
3996 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3997
f24a6d08
OB
39982013-08-30 Ondřej Bílka <neleai@seznam.cz>
3999
4000 * csu/init-first.c: Fix then/than typos.
4001 * locale/programs/ld-collate.c: Likewise.
4002 * locale/programs/linereader.h: Likewise.
4003 * manual/charset.texi: Likewise.
4004 * manual/filesys.texi: Likewise.
4005 * manual/stdio.texi: Likewise.
4006 * manual/string.texi: Likewise.
4007 * stdlib/fmtmsg.c: Likewise.
4008 * sysdeps/i386/stpncpy.S: Likewise.
4009 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4010 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4011 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4012 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4013
382466e0
OB
40142013-08-30 Ondřej Bílka <neleai@seznam.cz>
4015
4016 * elf/dl-open.c: Fix typos.
4017 * iconvdata/gbbig5.c: Likewise.
4018 * iconvdata/iso-2022-jp.c: Likewise.
4019 * iconv/gconv_int.h: Likewise.
4020 * iconv/loop.c: Likewise.
4021 * nis/rpcsvc/nis.h: Likewise.
4022 * resolv/ns_name.c: Likewise.
4023 * stdio-common/vfscanf.c: Likewise.
4024 * streams/stropts.h: Likewise.
4025 * sunrpc/rpc_thread.c: Likewise.
4026 * sysdeps/i386/strpbrk.S: Likewise.
4027 * sysdeps/ieee754/k_standard.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4030 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4031 * sysdeps/mach/hurd/profil.c: Likewise.
4032 * sysdeps/s390/dl-procinfo.h: Likewise.
4033 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4034 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4036 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4038
0186c6e9
OB
40392013-08-30 Ondřej Bílka <neleai@seznam.cz>
4040
4041 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4043
d4e16af1
OB
40442013-08-29 Ondřej Bílka <neleai@seznam.cz>
4045
4046 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4047 aix specific files.
4048 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4049 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4050 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4051 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4052 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4053 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4054 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4055 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4056
88335980
TS
40572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4058 Roland McGrath <roland@hack.frob.com>
4059
4060 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4061 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4062
ed479b02
ST
40632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4064
4065 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4066 __executable_start symbol instead of _start.
4067
f1cc4c86
TS
40682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4069
d821f07c
TS
4070 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4071 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4072 Move macros to...
4073 * sysdeps/gnu/ldsodefs.h: ... this new file.
4074
c54290cf
TS
4075 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4076 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4077 instead of ELFOSABI_LINUX.
4078
0007fc9b 4079 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4080 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4081 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4082 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4083 Likewise.
4084 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4085 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4087 Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4089 (ibm_extended_long_double): Add ieee_nan member.
4090 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4091 (do_test): New function.
4092
f1cc4c86
TS
4093 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4094 TEST_TRUNC.
4095 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4096 functions, renamed from truncdfsf_test, trunctfsf_test,
4097 trunctfdf_test.
4098 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4099 functions.
4100 (do_test): Run all these.
4101
6f65e668
OB
41022013-08-29 Ondřej Bílka <neleai@seznam.cz>
4103
4104 * argp/argp-help.c: Fix typos.
4105 * argp/argp-parse.c: Likewise.
4106 * debug/backtracesyms.c: Likewise.
4107 * elf/elf.h: Likewise.
4108 * malloc/malloc.c: Likewise.
4109 * nis/nis_print.c: Likewise.
4110 * resolv/res_comp.c: Likewise.
4111 * stdlib/stdlib.h: Likewise.
4112 * sunrpc/clnt_tcp.c: Likewise.
4113 * sunrpc/clnt_udp.c: Likewise.
4114 * sunrpc/clnt_unix.c: Likewise.
4115 * sysdeps/unix/bsd/ptsname.c: Likewise.
4116 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4117 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4119 Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4121 Likewise.
4122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4123 Likewise.
6f65e668
OB
4124 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4125
3a309239
SP
41262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4127
4128 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4130
3b813b29
MF
41312013-08-27 Mike Frysinger <vapier@gentoo.org>
4132
4133 [BZ #15897]
4134 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4135 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4136 ($(objpfx)bug-dl-leaf): New rule.
4137 ($(objpfx)bug-dl-leaf.so): Likewise.
4138 ($(objpfx)bug-dl-leaf.out): Likewise.
4139 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4140 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4141 * dlfcn/bug-dl-leaf.c: New test.
4142 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4143 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4144 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4145 (dlclose): Likewise.
4146 (dlmopen): Likewise.
4147
8cc3269f
RM
41482013-08-27 Roland McGrath <roland@hack.frob.com>
4149
7f9d0034
RM
4150 * include/netdb.h [!_ISOMAC]:
4151 Don't include <tls.h>.
4152 (h_errno, __libc_h_errno): Move declaration and macros out of
4153 [_LIBC_REENTRANT].
4154
fb431262
RM
4155 * include/resolv.h [_RESOLV_H_]:
4156 Don't include <tls.h>.
4157 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4158 * resolv/res_libc.c: Don't include <tls.h>.
4159 (_res): Use __attribute__ ((nocommon)) in place of
4160 __attribute__ ((section (".bss"))).
4161
bd81123a
RM
4162 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4163 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4164
c4e42566
RM
4165 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4166
f890a59b
RM
4167 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4168 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4169
4170 * resolv/res_mkquery.c: Include <sys/time.h>.
4171
5d1f0a09
RM
4172 * inet/ifreq.c: Moved to ...
4173 * sysdeps/unix/ifreq.c: ... here.
4174 * inet/ifreq.c: New file, true stub version.
4175
6fcf28b3
RM
4176 * socket/sa_len.c: New file.
4177 * socket/Makefile (aux): Add it.
4178 * sysdeps/unix/sysv/linux/Makefile
4179 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4180 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4181 and #include <socket/sa_len.c>.
4182 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4183 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4184
e041fb8b
RM
4185 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4186 * bits/socket.h: ... here.
4187
8cc3269f
RM
4188 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4189 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4190 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4191
5d228a43
AS
41922013-08-27 Andreas Schwab <schwab@suse.de>
4193
45b8accc
AS
4194 [BZ #15736]
4195 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4196 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4197 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4198 * string/test-strcasecmp.c (test_main): Run tests in several
4199 locales.
4200 * string/test-strncasecmp.c (test_main): Likewise.
4201
5d228a43
AS
4202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4203 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4204 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4206 (__strncasecmp_ssse3) [PIC]: Likewise.
4207
59d112a4
RM
42082013-08-26 Roland McGrath <roland@hack.frob.com>
4209
53234cc3
RM
4210 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4211
59d112a4
RM
4212 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4213 instead of explicitly declaring xdecrypt.
4214 * nis/nss_nis/nis-publickey.c: Likewise.
4215
595aba70
SP
42162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
4218 [BZ #15890]
4219 * nscd/aicache.c: Include res_hconf.h.
4220 (addhstaiX): Initialize res_hconf.
4221
ffabd393
AS
42222013-08-26 Andreas Schwab <schwab@suse.de>
4223
4224 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4225 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4226
e0a69f5c
SP
42272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4228
4229 * nscd/aicache.c (addhstaiX): Fix indentation.
4230
8c12f01d
MF
42312013-08-25 Mike Frysinger <vapier@gentoo.org>
4232
4233 * configure.ac: Quote $build_pt_chown test.
4234 * configure: Regenerated.
4235
8fe89494
JM
42362013-08-23 Joseph Myers <joseph@codesourcery.com>
4237
4238 [BZ #15532]
4239 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4240 * math/s_cexpf.c (__cexpf): Likewise.
4241 * math/s_cexpl.c (__cexpl): Likewise.
4242 * math/libm-test.inc (cexp_test_data): Correct expected return
4243 value for NaN + i0. Add another test.
4244
75b181d6
DM
42452013-08-22 David S. Miller <davem@davemloft.net>
4246
4247 * po/ca.po: Update Catalan translation from translation project.
936241e4 4248 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4249
acd06bb1
JM
42502013-08-21 Joseph Myers <joseph@codesourcery.com>
4251
4252 [BZ #15797]
4253 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4254 is infinite, not alongside NaN test.
4255 * math/s_fdimf.c (__fdimf): Likewise.
4256 * math/s_fdiml.c (__fdiml): Likewise.
4257 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4258 errno is unchanged.
4259
c0c3f78a
OB
42602013-08-21 Ondřej Bílka <neleai@seznam.cz>
4261
4262 * argp/argp-help.c: Fix typos.
4263 * crypt/speeds.c: Likewise.
4264 * csu/check_fds.c: Likewise.
4265 * elf/dl-load.c: Likewise.
4266 * elf/dl-open.c: Likewise.
4267 * elf/reldep3.c: Likewise.
4268 * elf/reldep.c: Likewise.
4269 * elf/sprof.c: Likewise.
4270 * iconv/iconv_charmap.c: Likewise.
4271 * iconv/skeleton.c: Likewise.
4272 * iconv/strtab.c: Likewise.
4273 * io/lockf64.c: Likewise.
4274 * libio/libioP.h: Likewise.
4275 * resolv/gai_notify.c: Likewise.
4276 * resolv/ns_name.c: Likewise.
4277 * resolv/ns_samedomain.c: Likewise.
4278 * resolv/res_send.c: Likewise.
4279 * stdlib/random.c: Likewise.
4280 * sunrpc/rpc/xdr.h: Likewise.
4281 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4289 * sysdeps/mach/hurd/check_fds.c: Likewise.
4290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4291 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4292 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4295 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4296 * sysdeps/pthread/aio_notify.c: Likewise.
4297 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4298 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4299 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4300 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4301 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4302
46ed1038
LD
43032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4304
4305 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4306 version if bit_Slow_SSE4_2 is set.
4307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4309
d400dcac
AZ
43102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4311
4312 [BZ #15867]
4313 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4314 trampoline stack frame information.
4315 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4317 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4318 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4319 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4320 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4321 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4322 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4323 sa_flags value.
4324 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4325 interrupting a syscall and set with option SA_SIGINFO.
4326
42c8fdd8
JM
43272013-08-20 Joseph Myers <joseph@codesourcery.com>
4328
c980f2f4
JM
4329 [BZ #15531]
4330 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4331 argument is infinite.
4332 * math/s_cprojf.c (__cprojf): Likewise.
4333 * math/s_cprojl.c (__cprojl): Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4335 * math/libm-test.inc (cproj_test_data): Add more tests.
4336
0716c4fc
JM
4337 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4338
42c8fdd8
JM
4339 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4340 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4341 size. Use __ffs to determine corresponding shift.
4342
b31469d0
JM
43432013-08-20 Joseph Myers <joseph@codesourcery.com>
4344 Roland McGrath <roland@hack.frob.com>
4345
4346 * Makefile (INSTALL): Remove trailing blank lines from output of
4347 makeinfo.
4348
4e39af6e
AK
43492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4350
4351 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4352 Align 32 bit compat elf_greg to 8 bytes.
4353
f315524e
AA
43542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4355
4356 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4357
1326ba1a
SP
43582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
4360 * string/strcoll_l.c (coll_seq): New structure.
4361 (get_next_seq_cached): New function.
4362 (get_next_seq): New function.
4363 (do_compare): New function.
4364 (STRCOLL): Use GNU style definition. Simplify implementation
4365 by using get_next_seq, get_next_seq_cached and do_compare.
4366
91ce4085
FW
43672013-08-16 Florian Weimer <fweimer@redhat.com>
4368
4369 [BZ #14699]
4370 CVE-2013-4237
4371 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4372 member.
4373 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4374 member.
4375 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4376 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4377 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4378 conditional.
4379 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4380 GETDENTS_64BIT_ALIGNED.
4381 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4382 * manual/filesys.texi (Reading/Closing Directory): Document
4383 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4384 strongly.
4385 * manual/conf.texi (Limits for Files): Add portability note to
4386 NAME_MAX, PATH_MAX.
4387 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4388
ca0a6bc4
AS
43892013-08-13 Andreas Schwab <schwab@suse.de>
4390
4391 [BZ #15749]
4392 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4393 of fabs.
4394 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4395 LDBL_MAX_EXP >= 16384]: Add tests for it.
4396
6c1fd795
DM
43972013-08-12 David S. Miller <davem@davemloft.net>
4398
4399 * version.h (RELEASE): Set to "development".
4400 (VERSION): Set to "2.18.90".
4401 * NEWS: Add 2.19 section.
4402
31ad488d
DM
44032013-08-03 David S. Miller <davem@davemloft.net>
4404
4405 * po/ko.po: Update Korean translation from translation project.
4406
db24e684
DM
44072013-08-01 David S. Miller <davem@davemloft.net>
4408
4409 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4410 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4411 Bilka.
4412
f723285b
DM
44132013-07-30 David S. Miller <davem@davemloft.net>
4414
4415 * po/fr.po: Update French translation from translation project.
4416
3cbc52db
DM
44172013-07-28 David S. Miller <davem@davemloft.net>
4418
30bbc0cc
DM
4419 * po/cs.po: Update Czech translation from translation project.
4420
3cbc52db
DM
4421 * po/sv.po: Update Swedish translation from translation project.
4422
d492e6d0
DM
44232013-07-27 David S. Miller <davem@davemloft.net>
4424
f1a7f492
DM
4425 * po/eo.po: Update Esperanto translation from translation project.
4426
90e62a4a
DM
4427 * po/vi.po: Update Vietnamese translation from translation project.
4428
d492e6d0
DM
4429 * po/de.po: Update German translation from translation project.
4430
d4baa62d
DM
44312013-07-26 David S. Miller <davem@davemloft.net>
4432
641aa7b4
DM
4433 * po/bg.po: Update Bulgarian translation from translation project.
4434
d4baa62d
DM
4435 * po/nl.po: Update Dutch translation from translation project.
4436 * po/pl.po: Update Polish translation from translation project.
4437 * po/ru.po: Update Russian translation from translation project.
4438
61a9dcb9
DM
44392013-07-24 David S. Miller <davem@davemloft.net>
4440
4441 * po/libc.pot: Update.
4442
7b1f8b58
AZ
44432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444
4445 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4446 variable page size.
4447 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4448 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4449 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4450
a8fc7a03
AK
44512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4452
4453 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4454
e4608715
CD
44552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4456 Andreas Schwab <schwab@suse.de>
4457 Roland McGrath <roland@hack.frob.com>
4458 Joseph Myers <joseph@codesourcery.com>
4459 Carlos O'Donell <carlos@redhat.com>
4460
4461 [BZ #15755]
4462 * config.h.in: Define HAVE_PT_CHOWN.
4463 * config.make.in (build-pt-chown): New variable.
4464 * configure.in (--enable-pt_chown): New configure option.
4465 * configure: Regenerate.
4466 * login/Makefile: Include Makeconfig. Build pt_chown only if
4467 build-pt-chown is enabled.
4468 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4469 pt_chown to fix pty ownership.
4470 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4471 CLOSE_ALL_FDS.
4472 * manual/install.texi (Configuring and compiling): Mention
4473 --enable-pt_chown. Add @findex for grantpt.
4474 * INSTALL: Regenerate.
4475
da2d62df
DM
44762013-07-20 David S. Miller <davem@davemloft.net>
4477
4478 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4479 difference between 32-bit and 64-bit.
4480
d7e06450
CD
44812013-07-15 Carlos O'Donell <carlos@redhat.com>
4482
4483 [BZ #15711]
4484 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4485 Avoid system header dependency with -ffreestanding.
4486 ($(objpfx)bits/syscall%d): Likewise.
4487
f959cfd7
DM
44882013-07-13 David S. Miller <davem@davemloft.net>
4489
4490 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4491 underflows from atanl/atan2l due to bug 15319.
4492 (casinh_test_data): Likewise.
4493
c61f8513
DM
44942013-07-07 David S. Miller <davem@davemloft.net>
4495
4496 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4497
72c90ed0
JA
44982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4499
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502
52dfbe13
SP
45032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4504
4505 * configure.in (--enable-lock-elision): Fix message text.
4506 * INSTALL: Regenerate.
4507 * configure: Regenerate.
4508
3f169543
AZ
45092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512
521c6785
AJ
45132013-07-03 Andreas Jaeger <aj@suse.de>
4514
4515 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4516 define.
4517 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4518 (ptrace_peeksiginfo_args): Add.
4519 (__ptrace_peeksiginfo_flags): Add.
4520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4523
d2cc15cb
AM
45242013-07-03 Allan McRae <allan@archlinux.org>
4525
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527
3aaeeca7
DM
45282013-07-02 David S. Miller <davem@davemloft.net>
4529
4530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4531
5314ed1a
MT
45322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4533
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4535
67338156
JM
45362013-07-02 Joseph Myers <joseph@codesourcery.com>
4537
4538 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4540
1717da59
AK
45412013-07-02 Andi Kleen <ak@linux.intel.com>
4542
4543 * config.h.in (ENABLE_LOCK_ELISION): Add.
4544 * configure.in (--enable-lock-elision): Add option.
4545 * manual/install.texi: Document --enable lock elision.
4546 * configure: Regenerate
4547 * INSTALL: Regenerate.
4548
1c81621c
L
45492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4550
4551 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4552 SSE4.2 strcasecmp for libc.a.
4553 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4554
77f01ab5
JM
45552013-07-02 Joseph Myers <joseph@codesourcery.com>
4556
4557 [BZ #13304]
4558 * soft-fp/op-common.h (_FP_FMA): New macro.
4559 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4560 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4561 (_FP_MUL_MEAT_1_imm): ... here.
4562 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4563 (_FP_MUL_MEAT_1_wide): ... here.
4564 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4565 (_FP_MUL_MEAT_1_hard): ... here.
4566 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4567 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4568 (_FP_MUL_MEAT_2_wide): ... here.
4569 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4570 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4571 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4572 (_FP_MUL_MEAT_2_gmp): ... here.
4573 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4574 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4575 (_FP_MUL_MEAT_4_wide): ... here.
4576 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4577 (_FP_MUL_MEAT_4_gmp): ... here.
4578 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4579 (_FP_WFRACBITS_DW_S): Likewise.
4580 (_FP_WFRACXBITS_DW_S): Likewise.
4581 (_FP_HIGHBIT_DW_S): Likewise.
4582 (FP_FMA_S): Likewise.
4583 (_FP_FRAC_HIGH_DW_S): Likewise.
4584 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4585 (_FP_WFRACBITS_DW_D): Likewise.
4586 (_FP_WFRACXBITS_DW_D): Likewise.
4587 (_FP_HIGHBIT_DW_D): Likewise.
4588 (FP_FMA_D): Likewise.
4589 (_FP_FRAC_HIGH_DW_D): Likewise.
4590 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4591 (_FP_WFRACBITS_DW_E): Likewise.
4592 (_FP_WFRACXBITS_DW_E): Likewise.
4593 (_FP_HIGHBIT_DW_E): Likewise.
4594 (FP_FMA_E): Likewise.
4595 (_FP_FRAC_HIGH_DW_E): Likewise.
4596 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4597 (_FP_WFRACBITS_DW_Q): Likewise.
4598 (_FP_WFRACXBITS_DW_Q): Likewise.
4599 (_FP_HIGHBIT_DW_Q): Likewise.
4600 (FP_FMA_Q): Likewise.
4601 (_FP_FRAC_HIGH_DW_Q): Likewise.
4602 * soft-fp/fmasf4.c: New file.
4603 * soft-fp/fmadf4.c: Likewise.
4604 * soft-fp/fmatf4.c: Likewise.
4605
6308fd9a
LD
46062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4607
4608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4609 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4610 Silvermont.
4611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4612 macro.
4613 (index_Slow_SSE4_2): Likewise.
4614 (index_Prefer_PMINUB_for_stringop): Likewise.
4615 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4616 bit_Slow_SSE4_2 is set.
4617 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4618 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4619
89cd9569
RA
46202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4621
4622 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4623 rtld_global._dl_hwcap2.
4624 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4625 POWER8.
4626 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4627 POWER8 feature descriptions defined in _dl_hwcap2.
4628 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4629 string handling for POWER8 feature bits.
4630 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4631 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4632 _dl_powerpc_cap_flags.
4633 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4634 * sysdeps/powerpc/rtld-global-offsets.sym
4635 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4636 _dl_hwcap2 in the rtld_global_ro structure.
4637
1ae8bfe0
RA
46382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4639
4640 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4641 hardware capabilities in support of AT_HWCAP2.
4642 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4643 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4644 GLRO(dl_hwcap2).
4645 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4646 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4647 explicitly the unknown a_type display mechanism is used.
4648 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4649 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4650 struct member.
4651 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4652 to macro prototype for AT_HWCAP2 support.
4653 * sysdeps/i386/dl-procinfo.h: Likewise.
4654 * sysdeps/s390/dl-procinfo.h: Likewise.
4655 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4656 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4657 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4658 return -1 for unknown a_type display fallback.
4659 * sysdeps/sparc/dl-procinfo.h: Likewise.
4660 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4662
8fbec010
JM
46632013-06-28 Joseph Myers <joseph@codesourcery.com>
4664
4665 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4666 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4667
0432680e
PY
46682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4669
4670 [BZ #12492]
4671 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4672 mprotect making __stack_prot writable.
4673
ce61a2ad
NF
46742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4675 Joseph Myers <joseph@codesourcery.com>
4676
4677 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4678 as being properly aligned.
4679
f91f1c0f
MR
46802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4681
3d0f5d0c
MR
4682 * dlfcn/modstatic5.c: New file.
4683 * dlfcn/tststatic5.c: New file.
4684 * dlfcn/Makefile (tests): Add tststatic5.
4685 (tests-static): Likewise.
4686 (modules-names): Add modstatic5.
4687 (tststatic5-ENV): New variable.
4688 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4689
f91f1c0f
MR
4690 [BZ #15022]
4691 * elf/dl-support.c (_dl_main_map): New variable.
4692 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4693 (_dl_nns, _dl_load_adds): Set to 1.
4694 (_dl_initial_searchlist): Refer to _dl_main_map.
4695 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4696 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4697 call to _dl_get_origin.
4698 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4699 around call_map.
4700 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4701 * dlfcn/modstatic3.c: New file.
4702 * dlfcn/tststatic3.c: New file.
4703 * dlfcn/tststatic4.c: New file.
4704 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4705 (tests-static): Likewise.
4706 (modules-names): Add modstatic3.
4707 (tststatic3-ENV, tststatic4-ENV): New variables.
4708 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4709 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4710
cbe7d24b
JM
47112013-06-26 Joseph Myers <joseph@codesourcery.com>
4712
4713 * configure.in (CC): Require GCC version 4.4 or later.
4714 * configure: Regenerated.
4715 * manual/install.texi (Tools for Compilation): Update GCC version
4716 requirement.
4717 * INSTALL: Regenerated.
4718
11b8a0e1
LD
47192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4720
4721 [BZ #15674]
bb5bb87c
L
4722 * string/test-memcmp.c (check2): New.
4723 (main): Call check2.
4724
11b8a0e1
LD
4725 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4726
b0037103
MR
47272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4728
4729 [BZ #15022]
4730 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4731 over to...
4732 (dl_open_worker) [!SHARED]: ... here.
4733
c18c701d
RA
47342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4735
4736 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4737
1d17fa5f
RH
47382013-06-25 Richard Henderson <rth@redhat.com>
4739
4740 * locale/programs/locarchive.c: Include <libc-internal.h>
4741
8fcb833a
JM
47422013-06-25 Joseph Myers <joseph@codesourcery.com>
4743
4744 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4745 trailing whitespace removed.
4746
17db6e8d
MF
47472013-06-24 Mike Frysinger <vapier@gentoo.org>
4748
4749 [BZ #10283]
17db6e8d
MF
4750 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4751 * locale/programs/locarchive.c: Include libc-mmap.h.
4752 (prepare_address_space): Take two new outputs (the mmap base and len).
4753 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4754 values.
4755 (create_archive): Declare new mmap base and len values for
4756 prepare_address_space, and store the result in ah.
4757 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4758 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4759 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4760 Declare new mmap base and len values for
4761 prepare_address_space, and store the result in new_ah.
4762 (open_archive): Declare new mmap base and len values for
4763 prepare_address_space, and store the result in ah.
4764 (close_archive): If ah->mmap_base is not NULL, use that and
4765 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4766 * sysdeps/generic/libc-mmap.h: New file.
4767
d605071e
MF
47682013-06-24 Mike Frysinger <vapier@gentoo.org>
4769
4770 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4771 (ALIGN_UP): Likewise.
4772 (PTR_ALIGN_DOWN): Likewise.
4773 (PTR_ALIGN_UP): Likewise.
4774
2f063a6e
RA
47752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4776
4777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4778 entry mapped to PPC_PLATFORM_POWER8.
4779 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4780 POWER8.
4781 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4782 (_dl_string_platform): Add case for exporting platform position for
4783 POWER8.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4785 search path to sysdeps/powerpc/powerpc32/power8 directory.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4787 search path to sysdeps/powerpc/powerpc64/power8 directory.
4788 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4789 power7 directories.
4790 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4791 power7 directories.
4792
a31ee4b3
SP
47932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4794
a74ca98f
SP
4795 * INSTALL: Regenerate.
4796
a31ee4b3
SP
4797 * nscd/connections.c (nscd_init): Fix comment.
4798
695c378f
JM
47992013-06-22 Joseph Myers <joseph@codesourcery.com>
4800
d8412221
JM
4801 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4802
695c378f
JM
4803 [BZ #15667]
4804 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4805 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4806
d1d54715
MR
48072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4808
4809 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4810 DL_DST_REQ_STATIC.
4811 (DL_DST_REQ_STATIC): Remove macro.
4812
8fdda7af
JM
48132013-06-21 Joseph Myers <joseph@codesourcery.com>
4814
4815 [BZ #7006]
4816 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4817 with a shift of 0 bits.
4818
f3bc5e5a
MR
48192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4820
4821 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4822 $(tststatic-ENV).
4823
be09e8c9
KK
48242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4825
4826 [BZ #15655]
4827 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4828
85c2e611
AZ
48292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4832 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4833 accepts -fno-tree-loop-distribute-patterns.
4834 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4835 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4836 recursive call.
4837 * string/memset.c (memset): Likewise.
4838 * string/test-memmove.c (simple_memmove): Disable loop transformation
4839 to library calls.
4840 * string/test-memset.c (simple_memset): Likewise.
4841 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4842 * benchtests/bench-memset.c (simple_memset): Likewise.
4843 * configure: Regenerated.
4844
c91e0825
JM
48452013-06-20 Joseph Myers <joseph@codesourcery.com>
4846
b8c792af
JM
4847 * math/test-misc.c (main): Ignore fesetround failure when failures
4848 of subsequent rounding tests would be ignored.
4849
c91e0825
JM
4850 [BZ #15654]
4851 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4852 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4853 * math/fegetenv.c (__fegetenv): Return 0.
4854 * math/fegetexcept.c (fegetexcept): Return 0.
4855 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4856 FE_TONEAREST.
4857 * math/feholdexcpt.c (feholdexcept): Return 0.
4858 * math/fesetenv.c (__fesetenv): Return 0.
4859 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4860 argument FE_TONEAREST.
4861 * math/feupdateenv.c (__feupdateenv): Return 0.
4862 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4863
bfcacbde
RM
48642013-06-18 Roland McGrath <roland@hack.frob.com>
4865
4866 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4867 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4868 ($(objpfx)rtld-%.os rules): Use them.
4869
e55a9b25
AZ
48702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871
4872 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4873 fields.
4874
346d65b3
RM
48752013-06-17 Roland McGrath <roland@hack.frob.com>
4876
12086fb4
RM
4877 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4878 length of target pattern, then descending length of dependency pattern.
4879 * configure.in (AWK): Require gawk 3.1.2 or newer.
4880 * manual/install.texi (Tools for Compilation): Say that we do.
4881 * configure: Regenerated.
4882
346d65b3
RM
4883 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4884 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4885 * scripts/sysd-rules.awk: ... this new script.
4886 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4887 than a glob-style pattern.
4888
1a846317
JM
48892013-06-17 Joseph Myers <joseph@codesourcery.com>
4890
4891 * math/test-misc.c (main): Do not treat incorrectly rounded
4892 conversions as failure unless ROUNDING_TESTS passes.
4893
8fc75e6f
JM
48942013-06-15 Joseph Myers <joseph@codesourcery.com>
4895
3711a167
JM
4896 [BZ #15631]
4897 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4898 restore exception state around main square root computation, then
4899 check for inexactness explicitly.
4900
8fc75e6f
JM
4901 * math/libm-test.inc (fma_test_data): Add another test.
4902
61dd6208
SP
49032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4904
adf23d2c
SP
4905 * manual/threads.texi (Non-POSIX Extensions): New document
4906 node. Document pthread_getattr_default_np and
4907 pthread_setattr_default_np.
4908
61dd6208
SP
4909 * Versions.def (libpthread): Add GLIBC_2.18.
4910 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4912 Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4914 Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4916 Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4918 Likewise.
4919 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4920 Likewise.
4921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4922 Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4924 Likewise.
4925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4926 Likewise.
4927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4928 Likewise.
4929
d086fc7b
LD
49302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4931
4932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4933 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4934
747ef469
SP
49352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4936 H.J. Lu <hjl.tools@gmail.com>
4937
4938 [BZ #15627]
4939 * sysdeps/x86_64/rtld-memset.c: Remove file.
4940 * sysdeps/x86_64/rtld-memset.S: New file.
4941
1b2feed2
JM
49422013-06-14 Joseph Myers <joseph@codesourcery.com>
4943
4944 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4945 (test_in_one_mode): Take arguments for whether the rounding mode
4946 is supported for each floating-point type.
4947 (do_test): Pass new arguments to test_in_one_mode using
4948 ROUNDING_TESTS.
4949
a58ad3f8
RM
49502013-06-13 Roland McGrath <roland@hack.frob.com>
4951
4952 * posix/tst-waitid.c (do_test): Distinguish different instances of
4953 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4954 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4955 before entering the kernel for waitpid.
4956
c204ab28
SP
49572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4958
4959 * NEWS: Fix note on clock function precision. Text by Roland
4960 McGrath.
4961
f4a29fba
RM
49622013-06-13 Roland McGrath <roland@hack.frob.com>
4963
4964 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4965 it into place only when and if the sanity check passes.
4966
1f24b9ad
JM
49672013-06-13 Joseph Myers <joseph@codesourcery.com>
4968
4969 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4970 output for whether conversion result is exact. Take argument
4971 indicating whether type is IBM long double.
4972 (round_for_all): Change need_exact field to ibm_ld.
4973 * stdlib/tst-strtod-round.c (struct exactness): New type.
4974 (struct test): Change bool ld_ok field to struct exactness exact.
4975 (TEST): Update all definitions for change to field.
4976 (tests): Regenerate array contents.
4977 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4978 field value. Check for IBM long double here.
4979 (do_test): Update calls to test_in_one_mode.
4980
58206c68
SP
49812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4982
4983 [BZ #12515]
4984 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4985 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4986
2d6f4c5b 49872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4988
4989 [BZ #15605]
4990 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4991 generated by the compiler on loop optimizations.
4992 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4993 general definitions.
4994
94f2c076
JM
49952013-06-12 Joseph Myers <joseph@codesourcery.com>
4996
4997 * math/bug-nextafter.c: Include <math-tests.h>.
4998 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4999 the relevant type.
5000 * math/bug-nexttoward.c: Include <math-tests.h>.
5001 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5002 the relevant type.
5003 * math/test-misc.c: Include <math-tests.h>.
5004 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5005 the relevant type.
5006
e0e50a0a
AJ
50072013-06-12 Andreas Jaeger <aj@suse.de>
5008
5009 * po/ia.po: Update Interlingua translation from translation
5010 project.
5011
25061094
SP
50122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5013
5014 * include/fenv.h: Include stdbool.h.
5015 (struct rm_ctx): New structure.
5016 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5017 Define macro.
5018 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5019 (SET_RESTORE_ROUNDF): Likewise.
5020 (SET_RESTORE_ROUNDL): Likewise.
5021 (SET_RESTORE_ROUND_NOEX): Likewise.
5022 (SET_RESTORE_ROUND_NOEXF): Likewise.
5023 (SET_RESTORE_ROUND_NOEXL): Likewise.
5024 (SET_RESTORE_ROUND_53BIT): Likewise.
5025 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5026 (libc_feresetround_noexf_ctx): Likewise.
5027 (libc_feresetround_noexl_ctx): Likewise.
5028 (libc_feholdsetround_53bit_ctx): Likewise.
5029 (libc_feresetround_53bit_ctx): Likewise.
5030 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5031 (libc_feholdexcept_setround_sse_ctx): New function.
5032 (libc_fesetenv_sse_ctx): Likewise.
5033 (libc_feupdateenv_sse_ctx): Likewise.
5034 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5035 (libc_feholdexcept_setround_387_ctx): Likewise.
5036 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5037 (libc_feholdsetround_387_prec_ctx): Likewise.
5038 (libc_feholdsetround_387_ctx): Likewise.
5039 (libc_feholdsetround_387_53bit_ctx): Likewise.
5040 (libc_feholdsetround_sse_ctx): Likewise.
5041 (libc_feresetround_sse_ctx): Likewise.
5042 (libc_feresetround_387_ctx): Likewise.
5043 (libc_feupdateenv_387_ctx): Likewise.
5044 (libc_feholdexcept_setroundf_ctx): Define macro.
5045 (libc_fesetenvf_ctx): Likewise.
5046 (libc_feupdateenvf_ctx): Likewise.
5047 (libc_feholdsetroundf_ctx): Likewise.
5048 (libc_feresetroundf_ctx): Likewise.
5049 (libc_feholdexcept_setround_ctx): Likewise.
5050 (libc_fesetenv_ctx): Likewise.
5051 (libc_feupdateenv_ctx): Likewise.
5052 (libc_feholdsetround_ctx): Likewise.
5053 (libc_feresetround_ctx): Likewise.
5054 (libc_feholdexcept_setroundl_ctx): Likewise.
5055 (libc_feupdateenvl_ctx): Likewise.
5056 (libc_feholdsetroundl_ctx): Likewise.
5057 (libc_feresetroundl_ctx): Likewise.
5058 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5059 (libc_feresetround_53bit_ctx): Likewise.
5060
59b30555
SP
50612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * locale/iso-639.def: Convert to UTF-8.
5064
f1d73d30
JM
50652013-06-11 Joseph Myers <joseph@codesourcery.com>
5066
5067 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5068 (EXCEPTION_TESTS_double): Likewise.
5069 (EXCEPTION_TESTS_long_double): Likewise.
5070 (EXCEPTION_TESTS): Likewise.
5071 * math/libm-test.inc (test_exceptions): Only test exceptions if
5072 EXCEPTION_TESTS (FLOAT).
5073
94aca5e7
SP
50742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * benchtests/Makefile (string-bench): Add strcpy_chk and
5077 stpcpy_chk.
5078 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5079 * benchtests/bench-stpcpy_chk.c: New file.
5080 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5081 * benchtests/bench-strcpy_chk.c: New file.
5082 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5083 code.
5084 (do_test): Likewise.
5085
fac0c5f2
RA
50862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5087
5088 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5089 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5090 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5091 with tabs where appropriate.
5092 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5093 dl-procinfo.h.
5094 [PPC_PLATFORM_PPC440]: Likewise.
5095 [PPC_PLATFORM_PPC464]: Likewise.
5096 [PPC_PLATFORM_PPC476]: Likewise.
5097 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5098 ppc464, and ppc476 platform strings merging from ports/
5099 dl-procinfo.h.
5100
f22bc486
AS
51012013-06-11 Andreas Schwab <schwab@suse.de>
5102
5103 [BZ #14991]
5104 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5105 (from_ucs4_idx): Regenerate.
5106 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5107 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5108 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5109 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5110 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5111 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5112 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5113 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5114 from FROM_LOOP and TO_LOOP specific macros.
5115 (BODY): Handle combining characters.
5116 * iconvdata/BIG5HKSCS.irreversible: Update.
5117 * iconvdata/BIG5HKSCS.precomposed: New file.
5118 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5119 characters.
5120 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5121
c1f75dc3
SP
51222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5123
4eacded2
SP
5124 * include/sys/time.h: Fix indentation and add copyright header.
5125
fec799f8
SP
5126 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5127 (do_test): Likewise.
5128 * string/test-memchr.c (do_one_test): Likewise.
5129 (do_test): Likewise.
5130 * string/test-memcmp.c (do_one_test): Likewise.
5131 (do_test): Likewise.
5132 * string/test-memcpy.c (do_one_test): Likewise.
5133 (do_test): Likewise.
5134 * string/test-memmem.c (do_one_test): Likewise.
5135 (do_test): Likewise.
5136 (do_random_tests): Likewise.
5137 * string/test-memmove.c (do_one_test): Likewise.
5138 (do_test): Likewise.
5139 * string/test-memset.c (do_one_test): Likewise.
5140 (do_test): Likewise.
5141 * string/test-rawmemchr.c (do_one_test): Likewise.
5142 (do_test): Likewise.
5143 * string/test-strcasecmp.c (do_one_test): Likewise.
5144 (do_test): Likewise.
5145 * string/test-strcasestr.c (do_one_test): Likewise.
5146 (do_test): Likewise.
5147 * string/test-strcat.c (do_one_test): Likewise.
5148 (do_test): Likewise.
5149 * string/test-strchr.c (do_one_test): Likewise.
5150 (do_test): Likewise.
5151 * string/test-strcmp.c (do_one_test): Likewise.
5152 (do_test): Likewise.
5153 * string/test-strcpy.c (do_one_test): Likewise.
5154 (do_test): Likewise.
5155 * string/test-string.h: Likewise.
5156 (test_init): Likewise.
5157 * string/test-strlen.c (do_one_test): Likewise.
5158 (do_test): Likewise.
5159 * string/test-strncasecmp.c (do_one_test): Likewise.
5160 (do_test): Likewise.
5161 * string/test-strncat.c (do_one_test): Likewise.
5162 (do_test): Likewise.
5163 * string/test-strncmp.c (do_one_test): Likewise.
5164 (do_test_limit): Likewise.
5165 (do_test): Likewise.
5166 * string/test-strncpy.c (do_one_test): Likewise.
5167 (do_test): Likewise.
5168 * string/test-strnlen.c (do_one_test): Likewise.
5169 (do_test): Likewise.
5170 * string/test-strpbrk.c (do_one_test): Likewise.
5171 (do_test): Likewise.
5172 * string/test-strrchr.c (do_one_test): Likewise.
5173 (do_test): Likewise.
5174 * string/test-strspn.c (do_one_test): Likewise.
5175 (do_test): Likewise.
5176 * string/test-strstr.c (do_one_test): Likewise.
5177 (do_test): Likewise.
5178
97020474
SP
5179 * benchtests/Makefile (string-bench): Add string benchmarks.
5180 * benchtests/bench-bcopy-ifunc.c: New file.
5181 * benchtests/bench-bcopy.c: New file.
5182 * benchtests/bench-bzero-ifunc.c: New file.
5183 * benchtests/bench-bzero.c: New file.
5184 * benchtests/bench-memccpy-ifunc.c: New file.
5185 * benchtests/bench-memccpy.c: New file.
5186 * benchtests/bench-memchr-ifunc.c: New file.
5187 * benchtests/bench-memchr.c: New file.
5188 * benchtests/bench-memcmp-ifunc.c: New file.
5189 * benchtests/bench-memcmp.c: New file.
5190 * benchtests/bench-memmem-ifunc.c: New file.
5191 * benchtests/bench-memmem.c: New file.
5192 * benchtests/bench-memmove-ifunc.c: New file.
5193 * benchtests/bench-memmove.c: New file.
5194 * benchtests/bench-mempcpy-ifunc.c: New file.
5195 * benchtests/bench-mempcpy.c: New file.
5196 * benchtests/bench-memset-ifunc.c: New file.
5197 * benchtests/bench-memset.c: New file.
5198 * benchtests/bench-rawmemchr-ifunc.c: New file.
5199 * benchtests/bench-rawmemchr.c: New file.
5200 * benchtests/bench-stpcpy-ifunc.c: New file.
5201 * benchtests/bench-stpcpy.c: New file.
5202 * benchtests/bench-stpncpy-ifunc.c: New file.
5203 * benchtests/bench-stpncpy.c: New file.
5204 * benchtests/bench-strcasecmp-ifunc.c: New file.
5205 * benchtests/bench-strcasecmp.c: New file.
5206 * benchtests/bench-strcasestr-ifunc.c: New file.
5207 * benchtests/bench-strcasestr.c: New file.
5208 * benchtests/bench-strcat-ifunc.c: New file.
5209 * benchtests/bench-strcat.c: New file.
5210 * benchtests/bench-strchr-ifunc.c: New file.
5211 * benchtests/bench-strchr.c: New file.
5212 * benchtests/bench-strchrnul-ifunc.c: New file.
5213 * benchtests/bench-strchrnul.c: New file.
5214 * benchtests/bench-strcmp-ifunc.c: New file.
5215 * benchtests/bench-strcmp.c: New file.
5216 * benchtests/bench-strcpy-ifunc.c: New file.
5217 * benchtests/bench-strcpy.c: New file.
5218 * benchtests/bench-strcspn-ifunc.c: New file.
5219 * benchtests/bench-strcspn.c: New file.
5220 * benchtests/bench-strlen-ifunc.c: New file.
5221 * benchtests/bench-strlen.c: New file.
5222 * benchtests/bench-strncasecmp-ifunc.c: New file.
5223 * benchtests/bench-strncasecmp.c: New file.
5224 * benchtests/bench-strncat-ifunc.c: New file.
5225 * benchtests/bench-strncat.c: New file.
5226 * benchtests/bench-strncmp-ifunc.c: New file.
5227 * benchtests/bench-strncmp.c: New file.
5228 * benchtests/bench-strncpy-ifunc.c: New file.
5229 * benchtests/bench-strncpy.c: New file.
5230 * benchtests/bench-strnlen-ifunc.c: New file.
5231 * benchtests/bench-strnlen.c: New file.
5232 * benchtests/bench-strpbrk-ifunc.c: New file.
5233 * benchtests/bench-strpbrk.c: New file.
5234 * benchtests/bench-strrchr-ifunc.c: New file.
5235 * benchtests/bench-strrchr.c: New file.
5236 * benchtests/bench-strspn-ifunc.c: New file.
5237 * benchtests/bench-strspn.c: New file.
5238 * benchtests/bench-strstr-ifunc.c: New file.
5239 * benchtests/bench-strstr.c: New file.
5240
c1f75dc3
SP
5241 * benchtests/Makefile: Disable parallel execution of targets.
5242 (string-bench): Add memcpy.
5243 (benchset): New variable to store a list of benchmark sets.
5244 (bench-func): Renamed from bench.
5245 (bench-set): New target.
5246 (bench): Depend on bench-func and bench-set.
5247 * benchtests/README: Add section on benchmark sets.
5248 * benchtests/bench-memcpy-ifunc.c: New file.
5249 * benchtests/bench-memcpy.c: New file.
5250 * benchtests/bench-string.h: New file.
5251
50fd745b
AS
52522013-06-11 Andreas Schwab <schwab@suse.de>
5253
5254 [BZ #15577]
5255 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5256 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5257 values in the triple.
5258 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5259 terminator in the group key.
5260
3ee7e9fe
AJ
52612013-06-11 Andreas Jaeger <aj@suse.de>
5262
5263 * po/zh_TW.po: Update Chinese (traditional) translation from
5264 translation project.
5265
89fb6835
SP
52662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5269 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5270 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5272 (clock_getcpuclockid): Likewise.
5273 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5274 Add weak_alias and libc_hidden_def.
5275 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5276 * rt/clock_gettime.c (clock_gettime): Rename to
5277 __clock_gettime. Add weak_alias and libc_hidden_def.
5278 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5279 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5280 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5281 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5282 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5283 Likewise.
5284 * rt/clock_settime.c (clock_settime): Rename to
5285 __clock_settime. Add weak_alias and libc_hidden_def.
5286 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5287
0efa6f8b
JM
52882013-06-10 Joseph Myers <joseph@codesourcery.com>
5289
b8c61b4b
JM
5290 * mach/err_boot.sub: Remove trailing whitespace.
5291 * mach/err_ipc.sub: Likewise.
5292 * mach/err_mach.sub: Likewise.
5293
0efa6f8b
JM
5294 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5295 (ROUNDING_TESTS_double): Likewise.
5296 (ROUNDING_TESTS_long_double): Likewise.
5297 (ROUNDING_TESTS): Likewise.
5298 * math/libm-test.inc: Include <math-tests.h>.
5299 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5300 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5301 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5302 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5303
50b818bf
SP
53042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5305
5306 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5307 of assigning.
5308
60d2f8f3
JM
53092013-06-08 Joseph Myers <joseph@codesourcery.com>
5310
4902d2c3
JM
5311 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5312 otherwise empty TRANS lines.
5313 * sysdeps/gnu/errlist.c: Regenerated.
5314
60d2f8f3
JM
5315 * catgets/gencat.c (error_print): Use (void) in function
5316 definition.
5317 * crypt/crypt_util.c (__init_des): Likewise.
5318 * crypt/speeds.c (Stop): Likewise.
5319 (main): Likewise.
5320 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5321 * inet/ruserpass.c (token): Likewise.
5322 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5323 * intl/localealias.c (extend_alias_table): Likewise.
5324 * intl/plural-exp.c (init_germanic_plural): Likewise.
5325 * libio/fcloseall.c (__fcloseall): Likewise.
5326 * libio/genops.c (_IO_flush_all): Likewise.
5327 (_IO_flush_all_linebuffered): Likewise.
5328 (_IO_cleanup): Likewise.
5329 (_IO_iter_begin): Likewise.
5330 (_IO_iter_end): Likewise.
5331 (_IO_list_lock): Likewise.
5332 (_IO_list_unlock): Likewise.
5333 (_IO_list_resetlock): Likewise.
5334 * libio/getchar.c (getchar): Likewise.
5335 * libio/getchar_u.c (getchar_unlocked): Likewise.
5336 * libio/getwchar.c (getwchar): Likewise.
5337 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5338 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5339 * login/getpt.c (__getpt): Likewise.
5340 * login/tst-utmp.c (main): Likewise.
5341 * malloc/hooks.c (__malloc_check_init): Likewise.
5342 * malloc/malloc.c (__malloc_stats): Likewise.
5343 * malloc/mtrace.c (tr_break): Likewise.
5344 (mtrace): Likewise.
5345 (muntrace): Likewise.
5346 * misc/fstab.c (endfsent): Likewise.
5347 * misc/getclktck.c (__getclktck): Likewise.
5348 * misc/getdtsz.c (__getdtablesize): Likewise.
5349 * misc/gethostid.c (gethostid): Likewise.
5350 * misc/getpagesize.c (__getpagesize): Likewise.
5351 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5352 (__get_nprocs): Likewise.
5353 (__get_phys_pages): Likewise.
5354 (__get_avphys_pages): Likewise.
5355 * misc/getttyent.c (getttyent): Likewise.
5356 (setttyent): Likewise.
5357 (endttyent): Likewise.
5358 * misc/getusershell.c (getusershell): Likewise.
5359 (endusershell): Likewise.
5360 (setusershell): Likewise.
5361 (initshells): Likewise.
5362 * misc/hsearch.c (__hdestroy): Likewise.
5363 * misc/sync.c (sync): Likewise.
5364 * misc/syslog.c (closelog_internal): Likewise.
5365 (closelog): Likewise.
5366 * misc/ttyslot.c (ttyslot): Likewise.
5367 * misc/vhangup.c (vhangup): Likewise.
5368 * posix/fork.c (__fork): Likewise.
5369 * posix/getegid.c (__getegid): Likewise.
5370 * posix/geteuid.c (__geteuid): Likewise.
5371 * posix/getgid.c (__getgid): Likewise.
5372 * posix/getpid.c (__getpid): Likewise.
5373 * posix/getppid.c (__getppid): Likewise.
5374 * posix/getuid.c (__getuid): Likewise.
5375 * posix/pause.c (pause): Likewise.
5376 * posix/setpgrp.c (setpgrp): Likewise.
5377 * posix/setsid.c (__setsid): Likewise.
5378 * posix/test-vfork.c (noop): Likewise.
5379 * resolv/gethnamaddr.c (_endhtent): Likewise.
5380 (_gethtent): Likewise.
5381 (ht_endhostent): Likewise.
5382 (gethostent): Likewise.
5383 (dns_service): Likewise.
5384 * stdlib/drand48.c (drand48): Likewise.
5385 * stdlib/lrand48.c (lrand48): Likewise.
5386 * stdlib/mrand48.c (mrand48): Likewise.
5387 * stdlib/rand.c (rand): Likewise.
5388 * stdlib/random.c (__random): Likewise.
5389 * stdlib/setenv.c (clearenv): Likewise.
5390 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5391 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5392 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5393 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5394 (__get_nprocs): Likewise.
5395 (__get_phys_pages): Likewise.
5396 (__get_avphys_pages): Likewise.
5397 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5398 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5399 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5400 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5401 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5402 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5403 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5404 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5405 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5406 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5407 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5408 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5409 * sysdeps/posix/clock.c (clock): Likewise.
5410 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5411 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5412 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5413 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5414 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5416 (__get_nprocs_conf): Likewise.
5417 (__get_phys_pages): Likewise.
5418 (__get_avphys_pages): Likewise.
5419 * time/clock.c (clock): Likewise.
5420 * time/tzset.c (__tzname_max): Likewise.
5421
2e09a79a
JM
54222013-06-07 Joseph Myers <joseph@codesourcery.com>
5423
5424 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5425 (__bswap_32): Do not use "register".
5426 * crypt/crypt.c (_ufc_doit_r): Likewise.
5427 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5428 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5429 * gmon/gmon.c (__monstartup): Likewise.
5430 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5431 * hurd/hurdmalloc.c (more_memory): Likewise.
5432 (malloc): Likewise.
5433 (free): Likewise.
5434 (realloc): Likewise.
5435 (malloc_fork_prepare): Likewise.
5436 (malloc_fork_parent): Likewise.
5437 (malloc_fork_child): Likewise.
5438 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5439 (_svcauth_des): Likewise.
5440 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5441 * inet/inet_net.c (inet_network): Likewise.
5442 * inet/inet_netof.c (inet_netof): Likewise.
5443 * inet/rcmd.c (__validuser2_sa): Likewise.
5444 * io/fts.c (fts_open): Likewise.
5445 (fts_load): Likewise.
5446 (fts_close): Likewise.
5447 (fts_read): Likewise.
5448 (fts_children): Likewise.
5449 (fts_build): Likewise.
5450 (fts_stat): Likewise.
5451 (fts_sort): Likewise.
5452 (fts_alloc): Likewise.
5453 (fts_lfree): Likewise.
5454 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5455 (_IO_file_xsgetn): Likewise.
5456 (_IO_file_xsgetn_mmap): Likewise.
5457 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5458 (_IO_cookie_write): Likewise.
5459 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5460 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5461 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5462 * malloc/obstack.c (_obstack_begin): Likewise.
5463 (_obstack_begin_1): Likewise.
5464 (_obstack_newchunk): Likewise.
5465 (_obstack_allocated_p): Likewise.
5466 (obstack_free): Likewise.
5467 (_obstack_memory_used): Likewise.
5468 * misc/getttyent.c (getttynam): Likewise.
5469 (getttyent): Likewise.
5470 (skip): Likewise.
5471 (value): Likewise.
5472 * misc/getusershell.c (initshells): Likewise.
5473 * misc/syslog.c (__vsyslog_chk): Likewise.
5474 * misc/ttyslot.c (ttyslot): Likewise.
5475 * nis/nis_hash.c (__nis_hash): Likewise.
5476 * posix/fnmatch_loop.c (FCT): Likewise.
5477 * posix/getconf.c (print_all): Likewise.
5478 (main): Likewise.
5479 * posix/getopt.c (exchange): Likewise.
5480 * posix/glob.c (globfree): Likewise.
5481 (prefix_array): Likewise.
5482 (__glob_pattern_type): Likewise.
5483 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5484 (NS_GET32): Likewise.
5485 (NS_PUT16): Likewise.
5486 (NS_PUT32): Likewise.
5487 * resolv/gethnamaddr.c (getanswer): Likewise.
5488 (gethostbyname2): Likewise.
5489 (gethostbyaddr): Likewise.
5490 (_gethtent): Likewise.
5491 (_gethtbyname2): Likewise.
5492 (_gethtbyaddr): Likewise.
5493 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5494 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5495 * resolv/res_init.c (__res_vinit): Likewise.
5496 (net_mask): Likewise.
5497 * resolv/res_mkquery.c (outchar): Likewise.
5498 (PRINT): Likewise.
5499 * stdio-common/printf_fp.c (outchar): Likewise.
5500 (PRINT): Likewise.
5501 * stdio-common/printf_fphex.c (outchar): Likewise.
5502 (PRINT): Likewise.
5503 * stdio-common/printf_size.c (outchar): Likewise.
5504 (PRINT): Likewise.
5505 * stdio-common/test_rdwr.c (main): Likewise.
5506 * stdio-common/tfformat.c (matches): Likewise.
5507 * stdio-common/vfprintf.c (outchar): Likewise.
5508 (printf_unknown): Likewise.
5509 (buffered_vfprintf): Likewise.
5510 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5511 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5512 (ReadFile): Likewise.
5513 * stdlib/qsort.c (SWAP): Likewise.
5514 (_quicksort): Likewise.
5515 * stdlib/setenv.c (__add_to_environ): Likewise.
5516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5517 * stdlib/strtol_l.c (__strtol_l): Likewise.
5518 * stdlib/tst-strtod.c (main): Likewise.
5519 * stdlib/tst-strtol.c (main): Likewise.
5520 * stdlib/tst-strtoll.c (main): Likewise.
5521 * string/bits/string2.h (__strcmp_cc): Likewise.
5522 (__strcmp_cg): Likewise.
5523 (__strcspn_c1): Likewise.
5524 (__strcspn_c2): Likewise.
5525 (__strcspn_c3): Likewise.
5526 (__strspn_c1): Likewise.
5527 (__strspn_c2): Likewise.
5528 (__strspn_c3): Likewise.
5529 (__strsep_1c): Likewise.
5530 (__strsep_2c): Likewise.
5531 (__strsep_3c): Likewise.
5532 * string/memccpy.c (__memccpy): Likewise.
5533 * string/stpcpy.c (__stpcpy): Likewise.
5534 * string/strcmp.c (strcmp): Likewise.
5535 * string/strrchr.c (strrchr): Likewise.
5536 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5537 Likewise.
5538 * sysdeps/mach/hurd/getcwd.c
5539 (_hurd_canonicalize_directory_name_internal): Likewise.
5540 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5541 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5542 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5543 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5544 Likewise, in both definitions.
5545 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5546 definitions.
5547 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5548 64] (__bswap_64): Likewise.
5549 * time/test_time.c (main): Likewise.
5550 * time/tzfile.c (__tzfile_read): Likewise.
5551 (__tzfile_compute): Likewise.
5552 * time/tzset.c (__tzset_parse_tz): Likewise.
5553 (tzset_internal): Likewise.
5554 (compute_change): Likewise.
5555 * wcsmbs/wcscat.c (__wcscat): Likewise.
5556 * wcsmbs/wcschr.c (wcschr): Likewise.
5557 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5558 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5559 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5560 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5561 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5562 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5563 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5564 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5565 * wcsmbs/wmemset.c (wmemset): Likewise.
5566
9e54314b
JM
55672013-06-06 Joseph Myers <joseph@codesourcery.com>
5568
5569 * scripts/config.guess: Update to version 2013-05-16.
5570 * scripts/config.sub: Update to version 2013-04-24.
5571 * scripts/install-sh: Update to version 2011-11-20.07.
5572 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5573 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5574
350635a5
OB
55752013-06-06 Ondřej Bílka <neleai@seznam.cz>
5576
5577 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5578 * elf/sln.c: Likewise.
5579 * hurd/hurd/ioctl.h: Likewise.
5580 * hurd/hurdmalloc.c: Likewise.
5581 * hurd/xattr.c: Likewise.
5582 * include/shlib-compat.h: Likewise.
5583 * inet/ruserpass.c: Likewise.
5584 * libio/iofgets_u.c: Likewise.
5585 * libio/iofgetws_u.c: Likewise.
5586 * locale/programs/ld-identification.c: Likewise.
5587 * locale/programs/ld-time.c: Likewise.
5588 * mach/msg-destroy.c: Likewise.
5589 * nss/nss_files/files-netgrp.c: Likewise.
5590 * resolv/res_data.c: Likewise.
5591 * soft-fp/op-1.h: Likewise.
5592 * soft-fp/op-2.h: Likewise.
5593 * soft-fp/op-4.h: Likewise.
5594 * soft-fp/op-common.h: Likewise.
5595 * stdio-common/printf_fphex.c: Likewise.
5596 * stdlib/strtod_l.c: Likewise.
5597 * sunrpc/rpc/clnt.h: Likewise.
5598 * sysdeps/generic/framestate.c: Likewise.
5599 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5600 * sysdeps/i386/bsd-setjmp.S: Likewise.
5601 * sysdeps/i386/__longjmp.S: Likewise.
5602 * sysdeps/i386/setjmp.S: Likewise.
5603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5604 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5621 * sysdeps/ieee754/support.c: Likewise.
5622 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5623 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5624 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5625 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5626 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5627 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5628 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5629 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5630 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5631 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5632 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5633 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5634 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5635 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5636 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5637 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5638 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5640
44a988af
OB
56412013-06-05 Ondřej Bílka <neleai@seznam.cz>
5642
25506f09 5643 * posix/transbug.c: Remove executable mode.
44a988af 5644
9c84384c
JM
56452013-06-05 Joseph Myers <joseph@codesourcery.com>
5646
5647 * crypt/speeds.c: Remove trailing whitespace.
5648 * dlfcn/default.c: Likewise.
5649 * elf/ifuncdep2.c: Likewise.
5650 * elf/ifuncmain1.c: Likewise.
5651 * elf/ifuncmain1vis.c: Likewise.
5652 * elf/testobj.h: Likewise.
5653 * elf/tst-stackguard1.c: Likewise.
5654 * gmon/sys/gmon.h: Likewise.
5655 * hurd/hurdmsg.c: Likewise.
5656 * hurd/new-fd.c: Likewise.
5657 * hurd/ports-get.c: Likewise.
5658 * iconvdata/ibm1008_420.c: Likewise.
5659 * inet/tst-getni1.c: Likewise.
5660 * inet/tst-getni2.c: Likewise.
5661 * libio/ioungetc.c: Likewise.
5662 * libio/wfiledoalloc.c: Likewise.
5663 * manual/libm-err-tab.pl: Likewise.
5664 * math/w_dremf.c: Likewise.
5665 * misc/ftruncate.c: Likewise.
5666 * posix/bug-glob2.c: Likewise.
5667 * posix/tst-pcre.c: Likewise.
5668 * posix/wait4.c: Likewise.
5669 * resolv/README: Likewise.
5670 * resolv/res_debug.h: Likewise.
5671 * resolv/tst-inet_ntop.c: Likewise.
5672 * setjmp/bug269-setjmp.c: Likewise.
5673 * soft-fp/extended.h: Likewise.
5674 * soft-fp/op-1.h: Likewise.
5675 * soft-fp/op-2.h: Likewise.
5676 * soft-fp/op-4.h: Likewise.
5677 * soft-fp/op-8.h: Likewise.
5678 * soft-fp/testit.c: Likewise.
5679 * stdio-common/bug16.c: Likewise.
5680 * stdlib/random.c: Likewise.
5681 * sunrpc/rpcsvc/rquota.x: Likewise.
5682 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5687 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5693 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5711 * sysdeps/ieee754/s_lib_version.c: Likewise.
5712 * sysdeps/mach/hurd/check_fds.c: Likewise.
5713 * sysdeps/mach/hurd/getsockname.c: Likewise.
5714 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5715 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5716 * sysdeps/powerpc/bits/link.h: Likewise.
5717 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5718 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5719 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5720 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5721 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5722 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5723 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5724 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5725 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5726 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5727 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5728 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5729 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5730 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5731 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5732 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5736 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5738 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5740 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5741 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5742 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5744 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5745 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5749 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5750 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5751 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5752 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5753 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5754 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5755 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5756 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5757 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5758 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5759 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5760 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5761 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5762 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5763 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5764 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5765 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5766 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5769 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5770 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5771 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5772 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5773 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5774 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5775 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5777 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5779 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5780 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5781 * sysdeps/powerpc/sysdep.h: Likewise.
5782 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5783 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5784 * sysdeps/sh/dl-trampoline.S: Likewise.
5785 * sysdeps/sh/memset.S: Likewise.
5786 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5787 * sysdeps/sh/strlen.S: Likewise.
5788 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5789 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5790 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5791 * sysdeps/sparc/sparc32/rem.S: Likewise.
5792 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5793 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5794 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5795 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5796 * sysdeps/sparc/sparc32/urem.S: Likewise.
5797 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5798 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5799 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5800 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5801 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5802 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5803 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5804 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5805 * sysdeps/unix/bsd/times.c: Likewise.
5806 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5807 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5813 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5814 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5815 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5816 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5817 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5818 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5819 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5820 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5821 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5823 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5824 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5825 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5826 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5827 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5828 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5829 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5831 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5834 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5835 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5836 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5837 * sysdeps/x86_64/strcspn.S: Likewise.
5838
869378a5
RA
58392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5840
5841 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5842 generated file. Regenerate properly from gen-translit.pl.
5843 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5844 locale/C-translit.h.
5845
840e2943
AS
58462013-06-05 Andreas Schwab <schwab@suse.de>
5847
5848 [BZ #15100]
5849 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5850 week as 6 instead of -1.
5851 * time/tst-strptime.c (day_tests): Add test case.
5852
4c60cb0c
SP
58532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5854
5855 * sysdeps/generic/math_private.h
5856 (libc_feholdexcept_setround_53bit): Replace with
5857 libc_feholdsetround_53bit.
5858 (libc_feupdateenv_53bit): Replace with
5859 libc_feresetround_53bit.
5860 (SET_RESTORE_ROUND_53BIT): Adjust.
5861
d180203e
SP
58622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5863
96df079a
SP
5864 * string/test-strchrnul.c: Add copyright header.
5865
d180203e
SP
5866 * posix/tst-getaddrinfo4.c: Increase test timeout.
5867
8b0ccb2d
CD
58682013-06-03 Carlos O'Donell <carlos@redhat.com>
5869
5870 [BZ #15536]
5871 * math/libm-test.inc (MAX_EXP): Remove
5872 (MIN_EXP): Define.
5873 (ulp): Use MIN_EXP - MANT_DIG.
5874 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5875
3b3c4d40
CD
58762013-05-31 Carlos O'Donell <carlos@redhat.com>
5877
5878 * po/be.po: Revert last change.
5879 * po/zh_CN.po: Likewise.
5880 * po/header.pot: Likewise.
5881
fab7ce3f
JM
58822013-05-31 Joseph Myers <joseph@codesourcery.com>
5883
5884 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5885 link-libc-deps to empty as target-specific variable.
5886 * Makerules (link-libc-args): New variable.
5887 (libc-for-link): Likewise.
5888 (link-libc-deps): Likewise.
5889 (lib%.so): Depend on $(link-libc-deps). Link with
5890 $(link-libc-args).
5891 (build-module): Link with $(link-libc-args).
5892 (build-module-asneeded): Likewise.
5893 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5894 list of objects.
5895 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5896 target-specific variable.
5897 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5898 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5899 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5900 libc.
5901 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5902 libc and ld.so.
5903 ($(objpfx)libpcprofile.so): Likewise.
5904 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5905 libc_nonshared.a.
5906 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5907 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5908 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5909 $(link-libc-deps).
5910 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5911 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5912 * login/Makefile ($(objpfx)libutil.so): Likewise.
5913 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5914 * math/Makefile ($(objpfx)libm.so): Likewise.
5915 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5916 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5917 variable instead of depending directly on libc.
5918 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5919 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5920 $(link-libc-deps).
5921 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5922 libc.
5923 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5924 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5925 ($(objpfx)libanl.so): Likewise.
5926 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5927 ld.so.
5928 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5929 $(link-libc-deps).
5930 * sysdeps/i386/fpu/Makefile: Remove file.
5931 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5932 ($(objpfx)libm.so): Remove dependency on ld.so.
5933
eca5920c
PF
59342013-05-30 Patsy Franklin <pfrankli@redhat.com>
5935
5936 [BZ # 15553]
5937 * nis/yp_xdr.c (XDRMAXNAME): Define.
5938 (XDRMAXRECORD): Define.
5939 (xdr_domainname): Use XDRMAXNAME.
5940 (xdr_mapname): Likewise.
5941 (xdr_peername): Likewise.
5942 (xdr_keydat): Use XDRMAXRECORD.
5943 (xdr_valdat): Likewise.
5944
59452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5946
5947 [BZ #14256]
5948 * manual/errno.texi (ESTALE): Update to account for more than
5949 just NFS file systems.
5950 * sysdeps/gnu/errlist.c: Regenerated.
5951
b9375348
SP
59522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5953
5954 [BZ #15465]
5955 * elf/Makefile (tests): Add tst-null-argv.
5956 (modules-names): Add tst-null-argv-lib.
5957 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5958 (tst-null-argv-ENV): Set environment for tst-null-argv.
5959 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5960 (RTLD_PROGNAME): New macro.
5961 * elf/tst-null-argv.c: New test case.
5962 * elf/tst-null-argv-lib.c: Library for test case.
5963 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5964 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5965 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5966 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5967 * elf/dl-init.c (call_init): Likewise.
5968 (_dl_init): Likewise.
5969 * elf/dl-load.c (print_search_path): Likewise.
5970 (_dl_map_object): Likewise.
5971 * elf/dl-lookup.c (do_lookup_x): Likewise.
5972 (add_dependency): Likewise.
5973 (_dl_lookup_symbol_x): Likewise.
5974 (_dl_debug_bindings): Likewise.
5975 * elf/dl-open.c (_dl_show_scope): Likewise.
5976 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5977 * elf/dl-version.c (match_symbol): Likewise.
5978 (_dl_check_map_versions): Likewise.
5979 * elf/rtld.c (dl_main): Likewise.
5980 (print_unresolved): Use RTLD_PROGNAME.
5981 (print_missing_version): Likewise.
5982 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5983 (elf_machine_rela): Likewise.
5984 * sysdeps/powerpc/powerpc32/dl-machine.c
5985 (__process_machine_rela): Likewise.
5986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5987 Likewise.
5988 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5989 Likewise.
5990 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5991 Likewise.
5992 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5994 Likewise.
5995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5996 Likewise.
5997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5998
8a9f20c8
CD
59992013-05-28 Carlos O'Donell <carlos@redhat.com>
6000
6001 * po/be.po: Add descriptive title.
6002 * po/zh_CN.po: Likewise.
6003 * po/header.pot: Likewise.
6004
0e60d68e
MF
60052013-05-28 Mike Frysinger <vapier@gentoo.org>
6006
6007 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6008 error message.
6009 (enlarge_archive): Likewise.
6010
56b672e9
BN
60112013-05-28 Ben North <ben@redfrontdoor.org>
6012
6013 * manual/arith.texi (frexp): It is the magnitude of the return
6014 value which lies in [0.5, 1), not the return value itself.
6015
5e056687
AZ
60162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017
6018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6019
2b66ef5d
TS
60202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6021
528c2405
TS
6022 * stdio-common/bug26.c (main): Correct fscanf template.
6023
07b4c13d
TS
6024 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6025 declare _dl_skip_args.
6026
ec9dd97c
TS
6027 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6028 Don't declare.
6029
2b66ef5d
TS
6030 * manual/platform.texi: Add missing @end deftypefun.
6031
4f8dfe27
JM
60322013-05-24 Joseph Myers <joseph@codesourcery.com>
6033
0323d086
JM
6034 [BZ #15529]
6035 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6036 bit of mantissa of 2^16382.
6037 * math/libm-test.inc (hypot_test_data): Add more tests.
6038
dd4259b9
JM
6039 * math/libm-test.inc: Add drem and pow10 to list of tested
6040 functions.
6041 (pow10_test): New function.
6042 (drem_test): Likewise.
6043 (drem_test_tonearest): Likewise.
6044 (drem_test_towardzero): Likewise.
6045 (drem_test_downward): Likewise.
6046 (drem_test_upward): Likewise.
6047 (main): Call the new functions.
6048
4f8dfe27
JM
6049 * math/libm-test.inc (finite_test_data): Remove.
6050 (finite_test): Run tests from isfinite_test_data.
6051 (gamma_test_data): Remove.
6052 (gamma_test): Run tests from lgamma_test_data.
6053 * sysdeps/i386/fpu/libm-test-ulps: Update.
6054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6055
d116b7c4
AZ
60562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057
6058 * manual/platform.texi: Add PowerPC PPR function set documentation.
6059 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6060 implementation.
6061
e96e3767
CD
60622013-05-24 Carlos O'Donell <carlos@redhat.com>
6063
6064 * math/libm-test.inc (MAX_EXP): Define.
6065 (ULPDIFF): Define.
6066 (ulp): New function.
6067 (check_float_internal): Use ULPDIFF.
6068 (cpow_test): Disable failing test.
6069 (check_ulp): Test ulp() implemetnation.
6070 (main): Call check_ulp before starting tests.
6071
b679a606
JM
60722013-05-24 Joseph Myers <joseph@codesourcery.com>
6073
e8bdba36
JM
6074 * math/gen-libm-test.pl (generate_testfile): Do not handle
6075 START_DATA and END_DATA.
6076 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6077 END_DATA.
6078 (acos_tonearest_test_data): Likewise.
6079 (acos_towardzero_test_data): Likewise.
6080 (acos_downward_test_data): Likewise.
6081 (acos_upward_test_data): Likewise.
6082 (acosh_test_data): Likewise.
6083 (asin_test_data): Likewise.
6084 (asin_tonearest_test_data): Likewise.
6085 (asin_towardzero_test_data): Likewise.
6086 (asin_downward_test_data): Likewise.
6087 (asin_upward_test_data): Likewise.
6088 (asinh_test_data): Likewise.
6089 (atan_test_data): Likewise.
6090 (atanh_test_data): Likewise.
6091 (atan2_test_data): Likewise.
6092 (cabs_test_data): Likewise.
6093 (cacos_test_data): Likewise.
6094 (cacosh_test_data): Likewise.
6095 (carg_test_data): Likewise.
6096 (casin_test_data): Likewise.
6097 (casinh_test_data): Likewise.
6098 (catan_test_data): Likewise.
6099 (catanh_test_data): Likewise.
6100 (cbrt_test_data): Likewise.
6101 (ccos_test_data): Likewise.
6102 (ccosh_test_data): Likewise.
6103 (ceil_test_data): Likewise.
6104 (cexp_test_data): Likewise.
6105 (cimag_test_data): Likewise.
6106 (clog_test_data): Likewise.
6107 (clog10_test_data): Likewise.
6108 (conj_test_data): Likewise.
6109 (copysign_test_data): Likewise.
6110 (cos_test_data): Likewise.
6111 (cos_tonearest_test_data): Likewise.
6112 (cos_towardzero_test_data): Likewise.
6113 (cos_downward_test_data): Likewise.
6114 (cos_upward_test_data): Likewise.
6115 (cosh_test_data): Likewise.
6116 (cosh_tonearest_test_data): Likewise.
6117 (cosh_towardzero_test_data): Likewise.
6118 (cosh_downward_test_data): Likewise.
6119 (cosh_upward_test_data): Likewise.
6120 (cpow_test_data): Likewise.
6121 (cproj_test_data): Likewise.
6122 (creal_test_data): Likewise.
6123 (csin_test_data): Likewise.
6124 (csinh_test_data): Likewise.
6125 (csqrt_test_data): Likewise.
6126 (ctan_test_data): Likewise.
6127 (ctan_tonearest_test_data): Likewise.
6128 (ctan_towardzero_test_data): Likewise.
6129 (ctan_downward_test_data): Likewise.
6130 (ctan_upward_test_data): Likewise.
6131 (ctanh_test_data): Likewise.
6132 (ctanh_tonearest_test_data): Likewise.
6133 (ctanh_towardzero_test_data): Likewise.
6134 (ctanh_downward_test_data): Likewise.
6135 (ctanh_upward_test_data): Likewise.
6136 (erf_test_data): Likewise.
6137 (erfc_test_data): Likewise.
6138 (exp_test_data): Likewise.
6139 (exp_tonearest_test_data): Likewise.
6140 (exp_towardzero_test_data): Likewise.
6141 (exp_downward_test_data): Likewise.
6142 (exp_upward_test_data): Likewise.
6143 (exp10_test_data): Likewise.
6144 (exp2_test_data): Likewise.
6145 (expm1_test_data): Likewise.
6146 (fabs_test_data): Likewise.
6147 (fdim_test_data): Likewise.
6148 (finite_test_data): Likewise.
6149 (floor_test_data): Likewise.
6150 (fma_test_data): Likewise.
6151 (fma_towardzero_test_data): Likewise.
6152 (fma_downward_test_data): Likewise.
6153 (fma_upward_test_data): Likewise.
6154 (fmax_test_data): Likewise.
6155 (fmin_test_data): Likewise.
6156 (fmod_test_data): Likewise.
6157 (fpclassify_test_data): Likewise.
6158 (frexp_test_data): Likewise.
6159 (gamma_test_data): Likewise.
6160 (hypot_test_data): Likewise.
6161 (ilogb_test_data): Likewise.
6162 (isfinite_test_data): Likewise.
6163 (isgreater_test_data): Likewise.
6164 (isgreaterequal_test_data): Likewise.
6165 (isinf_test_data): Likewise.
6166 (isless_test_data): Likewise.
6167 (islessequal_test_data): Likewise.
6168 (islessgreater_test_data): Likewise.
6169 (isnan_test_data): Likewise.
6170 (isnormal_test_data): Likewise.
6171 (issignaling_test_data): Likewise.
6172 (isunordered_test_data): Likewise.
6173 (j0_test_data): Likewise.
6174 (j1_test_data): Likewise.
6175 (jn_test_data): Likewise.
6176 (ldexp_test_data): Likewise.
6177 (lgamma_test_data): Likewise.
6178 (lrint_test_data): Likewise.
6179 (lrint_tonearest_test_data): Likewise.
6180 (lrint_towardzero_test_data): Likewise.
6181 (lrint_downward_test_data): Likewise.
6182 (lrint_upward_test_data): Likewise.
6183 (llrint_test_data): Likewise.
6184 (llrint_tonearest_test_data): Likewise.
6185 (llrint_towardzero_test_data): Likewise.
6186 (llrint_downward_test_data): Likewise.
6187 (llrint_upward_test_data): Likewise.
6188 (log_test_data): Likewise.
6189 (log10_test_data): Likewise.
6190 (log1p_test_data): Likewise.
6191 (log2_test_data): Likewise.
6192 (logb_test_data): Likewise.
6193 (logb_downward_test_data): Likewise.
6194 (lround_test_data): Likewise.
6195 (llround_test_data): Likewise.
6196 (modf_test_data): Likewise.
6197 (nearbyint_test_data): Likewise.
6198 (nextafter_test_data): Likewise.
6199 (nexttoward_test_data): Likewise.
6200 (pow_test_data): Likewise.
6201 (pow_tonearest_test_data): Likewise.
6202 (pow_towardzero_test_data): Likewise.
6203 (pow_downward_test_data): Likewise.
6204 (pow_upward_test_data): Likewise.
6205 (remainder_test_data): Likewise.
6206 (remainder_tonearest_test_data): Likewise.
6207 (remainder_towardzero_test_data): Likewise.
6208 (remainder_downward_test_data): Likewise.
6209 (remainder_upward_test_data): Likewise.
6210 (remquo_test_data): Likewise.
6211 (rint_test_data): Likewise.
6212 (rint_tonearest_test_data): Likewise.
6213 (rint_towardzero_test_data): Likewise.
6214 (rint_downward_test_data): Likewise.
6215 (rint_upward_test_data): Likewise.
6216 (round_test_data): Likewise.
6217 (scalb_test_data): Likewise.
6218 (scalbn_test_data): Likewise.
6219 (scalbln_test_data): Likewise.
6220 (signbit_test_data): Likewise.
6221 (sin_test_data): Likewise.
6222 (sin_tonearest_test_data): Likewise.
6223 (sin_towardzero_test_data): Likewise.
6224 (sin_downward_test_data): Likewise.
6225 (sin_upward_test_data): Likewise.
6226 (sincos_test_data): Likewise.
6227 (sinh_test_data): Likewise.
6228 (sinh_tonearest_test_data): Likewise.
6229 (sinh_towardzero_test_data): Likewise.
6230 (sinh_downward_test_data): Likewise.
6231 (sinh_upward_test_data): Likewise.
6232 (sqrt_test_data): Likewise.
6233 (tan_test_data): Likewise.
6234 (tan_tonearest_test_data): Likewise.
6235 (tan_towardzero_test_data): Likewise.
6236 (tan_downward_test_data): Likewise.
6237 (tan_upward_test_data): Likewise.
6238 (tanh_test_data): Likewise.
6239 (tgamma_test_data): Likewise.
6240 (trunc_test_data): Likewise.
6241 (y0_test_data): Likewise.
6242 (y1_test_data): Likewise.
6243 (yn_test_data): Likewise.
6244 (significand_test_data): Likewise.
6245
b679a606
JM
6246 * math/gen-libm-test.pl (@functions): Remove variable.
6247 (generate_testfile): Don't handle START and END lines.
6248 * math/libm-test.inc (START): New macro.
6249 (END): Likewise.
6250 (END_COMPLEX): Likewise.
6251 (acos_test): Use END macro without arguments.
6252 (acos_test_tonearest): Likewise.
6253 (acos_test_towardzero): Likewise.
6254 (acos_test_downward): Likewise.
6255 (acos_test_upward): Likewise.
6256 (acosh_test): Likewise.
6257 (asin_test): Likewise.
6258 (asin_test_tonearest): Likewise.
6259 (asin_test_towardzero): Likewise.
6260 (asin_test_downward): Likewise.
6261 (asin_test_upward): Likewise.
6262 (asinh_test): Likewise.
6263 (atan_test): Likewise.
6264 (atanh_test): Likewise.
6265 (atan2_test): Likewise.
6266 (cabs_test): Likewise.
6267 (cacos_test): Use END_COMPLEX macro without arguments.
6268 (cacosh_test): Likewise.
6269 (carg_test): Use END macro without arguments.
6270 (casin_test): Use END_COMPLEX macro without arguments.
6271 (casinh_test): Likewise.
6272 (catan_test): Likewise.
6273 (catanh_test): Likewise.
6274 (cbrt_test): Use END macro without arguments.
6275 (ccos_test): Use END_COMPLEX macro without arguments.
6276 (ccosh_test): Likewise.
6277 (ceil_test): Use END macro without arguments.
6278 (cexp_test): Use END_COMPLEX macro without arguments.
6279 (cimag_test): Use END macro without arguments.
6280 (clog_test): Use END_COMPLEX macro without arguments.
6281 (clog10_test): Likewise.
6282 (conj_test): Likewise.
6283 (copysign_test): Use END macro without arguments.
6284 (cos_test): Likewise.
6285 (cos_test_tonearest): Likewise.
6286 (cos_test_towardzero): Likewise.
6287 (cos_test_downward): Likewise.
6288 (cos_test_upward): Likewise.
6289 (cosh_test): Likewise.
6290 (cosh_test_tonearest): Likewise.
6291 (cosh_test_towardzero): Likewise.
6292 (cosh_test_downward): Likewise.
6293 (cosh_test_upward): Likewise.
6294 (cpow_test): Use END_COMPLEX macro without arguments.
6295 (cproj_test): Likewise.
6296 (creal_test): Use END macro without arguments.
6297 (csin_test): Use END_COMPLEX macro without arguments.
6298 (csinh_test): Likewise.
6299 (csqrt_test): Likewise.
6300 (ctan_test): Likewise.
6301 (ctan_test_tonearest): Likewise.
6302 (ctan_test_towardzero): Likewise.
6303 (ctan_test_downward): Likewise.
6304 (ctan_test_upward): Likewise.
6305 (ctanh_test): Likewise.
6306 (ctanh_test_tonearest): Likewise.
6307 (ctanh_test_towardzero): Likewise.
6308 (ctanh_test_downward): Likewise.
6309 (ctanh_test_upward): Likewise.
6310 (erf_test): Use END macro without arguments.
6311 (erfc_test): Likewise.
6312 (exp_test): Likewise.
6313 (exp_test_tonearest): Likewise.
6314 (exp_test_towardzero): Likewise.
6315 (exp_test_downward): Likewise.
6316 (exp_test_upward): Likewise.
6317 (exp10_test): Likewise.
6318 (exp2_test): Likewise.
6319 (expm1_test): Likewise.
6320 (fabs_test): Likewise.
6321 (fdim_test): Likewise.
6322 (finite_test): Likewise.
6323 (floor_test): Likewise.
6324 (fma_test): Likewise.
6325 (fma_test_towardzero): Likewise.
6326 (fma_test_downward): Likewise.
6327 (fma_test_upward): Likewise.
6328 (fmax_test): Likewise.
6329 (fmin_test): Likewise.
6330 (fmod_test): Likewise.
6331 (fpclassify_test): Likewise.
6332 (frexp_test): Likewise.
6333 (gamma_test): Likewise.
6334 (hypot_test): Likewise.
6335 (ilogb_test): Likewise.
6336 (isfinite_test): Likewise.
6337 (isgreater_test): Likewise.
6338 (isgreaterequal_test): Likewise.
6339 (isinf_test): Likewise.
6340 (isless_test): Likewise.
6341 (islessequal_test): Likewise.
6342 (islessgreater_test): Likewise.
6343 (isnan_test): Likewise.
6344 (isnormal_test): Likewise.
6345 (issignaling_test): Likewise.
6346 (isunordered_test): Likewise.
6347 (j0_test): Likewise.
6348 (j1_test): Likewise.
6349 (jn_test): Likewise.
6350 (ldexp_test): Likewise.
6351 (lgamma_test): Likewise.
6352 (lrint_test): Likewise.
6353 (lrint_test_tonearest): Likewise.
6354 (lrint_test_towardzero): Likewise.
6355 (lrint_test_downward): Likewise.
6356 (lrint_test_upward): Likewise.
6357 (llrint_test): Likewise.
6358 (llrint_test_tonearest): Likewise.
6359 (llrint_test_towardzero): Likewise.
6360 (llrint_test_downward): Likewise.
6361 (llrint_test_upward): Likewise.
6362 (log_test): Likewise.
6363 (log10_test): Likewise.
6364 (log1p_test): Likewise.
6365 (log2_test): Likewise.
6366 (logb_test): Likewise.
6367 (logb_test_downward): Likewise.
6368 (lround_test): Likewise.
6369 (llround_test): Likewise.
6370 (modf_test): Likewise.
6371 (nearbyint_test): Likewise.
6372 (nextafter_test): Likewise.
6373 (nexttoward_test): Likewise.
6374 (pow_test): Likewise.
6375 (pow_test_tonearest): Likewise.
6376 (pow_test_towardzero): Likewise.
6377 (pow_test_downward): Likewise.
6378 (pow_test_upward): Likewise.
6379 (remainder_test): Likewise.
6380 (remainder_test_tonearest): Likewise.
6381 (remainder_test_towardzero): Likewise.
6382 (remainder_test_downward): Likewise.
6383 (remainder_test_upward): Likewise.
6384 (remquo_test): Likewise.
6385 (rint_test): Likewise.
6386 (rint_test_tonearest): Likewise.
6387 (rint_test_towardzero): Likewise.
6388 (rint_test_downward): Likewise.
6389 (rint_test_upward): Likewise.
6390 (round_test): Likewise.
6391 (scalb_test): Likewise.
6392 (scalbn_test): Likewise.
6393 (scalbln_test): Likewise.
6394 (signbit_test): Likewise.
6395 (sin_test): Likewise.
6396 (sin_test_tonearest): Likewise.
6397 (sin_test_towardzero): Likewise.
6398 (sin_test_downward): Likewise.
6399 (sin_test_upward): Likewise.
6400 (sincos_test): Likewise.
6401 (sinh_test): Likewise.
6402 (sinh_test_tonearest): Likewise.
6403 (sinh_test_towardzero): Likewise.
6404 (sinh_test_downward): Likewise.
6405 (sinh_test_upward): Likewise.
6406 (sqrt_test): Likewise.
6407 (tan_test): Likewise.
6408 (tan_test_tonearest): Likewise.
6409 (tan_test_towardzero): Likewise.
6410 (tan_test_downward): Likewise.
6411 (tan_test_upward): Likewise.
6412 (tanh_test): Likewise.
6413 (tgamma_test): Likewise.
6414 (trunc_test): Likewise.
6415 (y0_test): Likewise.
6416 (y1_test): Likewise.
6417 (yn_test): Likewise.
6418 (significand_test): Likewise.
6419
bae143d2
OB
64202013-05-24 Ondřej Bílka <neleai@seznam.cz>
6421
6422 [BZ #15381]
6423 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6424
9323d39b
EM
64252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6426
d4ea44a0 6427 [BZ #14894]
9323d39b
EM
6428 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6429 __ppc_mdoio and __ppc_mdoom.
6430 * manual/platform.texi: Document new functions __ppc_yield,
6431 __ppc_mdoio and __ppc_mdoom.
6432
13e23af7
CD
64332013-05-22 Carlos O'Donell <carlos@redhat.com>
6434
6435 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6436 (main): Mention "tls" pseudo-hwcap is legacy.
6437 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6438
351fe550
JM
64392013-05-22 Joseph Myers <joseph@codesourcery.com>
6440
6441 * math/gen-libm-test.pl (parse_args): Output only string of
6442 arguments as text for test name, not full call or descriptions of
6443 tests for extra outputs.
6444 (generate_testfile): Do not pass function name to parse_args.
6445 Generate this_func variable from START.
6446 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6447 field to arg_str.
6448 (struct test_ff_f_data): Likewise.
6449 (test_ff_f_data_nexttoward): Likewise.
6450 (struct test_fi_f_data): Likewise.
6451 (struct test_fl_f_data): Likewise.
6452 (struct test_if_f_data): Likewise.
6453 (struct test_fff_f_data): Likewise.
6454 (struct test_c_f_data): Likewise.
6455 (struct test_f_f1_data): Likewise. Remove field extra_name.
6456 (struct test_fF_f1_data): Likewise.
6457 (struct test_ffI_f1_data): Likewise.
6458 (struct test_c_c_data): Rename test_name field to arg_str.
6459 (struct test_cc_c_data): Likewise.
6460 (struct test_f_i_data): Likewise.
6461 (struct test_ff_i_data): Likewise.
6462 (struct test_f_l_data): Likewise.
6463 (struct test_f_L_data): Likewise.
6464 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6465 and extra2_name.
6466 (COMMON_TEST_SETUP): New macro.
6467 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6468 (COMMON_TEST_CLEANUP): Likewise.
6469 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6470 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6471 macros.
6472 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6473 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6474 macros.
6475 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6476 (RUN_TEST_fff_f): Take argument string. Call new setup and
6477 cleanup macros.
6478 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6479 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6480 macros.
6481 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6482 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6483 macros.
6484 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6485 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6486 cleanup macros.
6487 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6488 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6489 cleanup macros.
6490 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6491 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6492 cleanup macros.
6493 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6494 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6495 macros.
6496 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6497 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6498 macros.
6499 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6500 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6501 macros.
6502 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6503 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6504 cleanup macros.
6505 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6506 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6507 cleanup macros.
6508 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6509 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6510 macros.
6511 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6512 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6513 cleanup macros.
6514 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6515 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6516 macros.
6517 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6518 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6519 macros.
6520 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6521 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6522 cleanup macros.
6523 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6524
85118d4d
EBM
65252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6526
6527 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6528 to _sifields.sigfault.
6529 (si_addr_lsb): Define new macro.
6530 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6532 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6533
7a44c18f
CD
65342013-05-03 Carlos O'Donell <carlos at redhat.com>
6535
6536 [BZ #15441]
6537 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6538 returns -1.
6539 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6540 null return -1.
6541 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6542 loading the domain.
6543
b50a7181
JM
65442013-05-22 Joseph Myers <joseph@codesourcery.com>
6545
6546 * math/gen-libm-test.pl (parse_args): Do not include expected
6547 result in test name.
6548 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6549 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6550 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6551 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6552 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6554
051063c8
SP
65552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6556
3ce9e010
SP
6557 * benchtests/Makefile: Sort function entries.
6558
051063c8
SP
6559 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6560 tanh, asinh, acosh, atanh.
6561 * benchtests/acos-inputs: New file.
6562 * benchtests/acosh-inputs: New file.
6563 * benchtests/asin-inputs: New file.
6564 * benchtests/asinh-inputs: New file.
6565 * benchtests/atanh-inputs: New file.
6566 * benchtests/cosh-inputs: New file.
6567 * benchtests/log-inputs: New file.
6568 * benchtests/sinh-inputs: New file.
6569 * benchtests/tanh-inputs: New file.
6570
47c22455
DL
65712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6572
6573 [BZ #15339]
6574 * posix/tst-getaddrinfo4.c: New test.
6575 * posix/Makefile (tests): Add it.
6576
3d04f5db
SP
65772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6578
6579 [BZ #15339]
6580 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6581 when no services were used.
6582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6583 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6584
d5dd6189
AS
65852013-05-21 Andreas Schwab <schwab@suse.de>
6586
6587 [BZ #15014]
6588 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6589 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6590 successful.
6591 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6592 redundant variable declarations and reallocation of buffer when
6593 parsing as IPv6 address. Always set NSS status when called from
6594 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6595 buffer too small. Correct computation of needed size.
6596 * nss/Makefile (tests): Add test-digits-dots.
6597 * nss/test-digits-dots.c: New test.
6598
fef94eab
SP
65992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6600
6601 * benchtests/Makefile: Remove instructions for adding
6602 benchmark tests.
6603 * benchtests/README: New file to explain how to execute and
6604 enhance the benchmark tests.
6605
e39adf43
AS
66062013-05-21 Andreas Schwab <schwab@suse.de>
6607
6608 [BZ #15493]
6609 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6610 * setjmp/tst-sigsetjmp.c: New test.
6611
b2b671b6
OB
66122013-05-20 Ondřej Bílka <neleai@seznam.cz>
6613
6614 * sysdeps/x86_64/memset.S (memset): New implementation.
6615 (__bzero): Likewise.
6616 (__memset_tail): New function.
6617
2d48b41c
OB
66182013-05-20 Ondřej Bílka <neleai@seznam.cz>
6619
6620 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6621 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6622 __memcpy_sse2_unaligned ifunc selection.
6623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6624 Add memcpy-sse2-unaligned.S.
6625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6626 Add: __memcpy_sse2_unaligned.
6627
f16cc3eb
JM
66282013-05-19 Joseph Myers <joseph@codesourcery.com>
6629
3e694268
JM
6630 [BZ #15490]
6631 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6632 math_force_eval before restoring floating-point envrionment.
6633 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6635 Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6637 <math_private.h>.
6638 (__nearbyintl): Use math_force_eval before restoring
6639 floating-point environment.
6640 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6641
db62a907
JM
6642 * math/gen-libm-test.pl (special_functions): Remove.
6643 (parse_args): Don't handle TEST_extra. Handle functions with no
6644 return value.
6645 * math/libm-test.inc (struct test_sincos_data): Replace with
6646 struct test_fFF_11_data.
6647 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6648 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6649 (sincos_test_data): Change element type to struct
6650 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6651 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6652 RUN_TEST_LOOP_sincos.
6653 * math/README.libm-test: Don't mention special handling of
6654 individual functions.
6655 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6657 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6659 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6661
f16cc3eb
JM
6662 * math/gen-libm-test.pl (get_variable): Remove function.
6663 (parse_args): Don't show pointer parameters to call in test
6664 names. Use "extra output N" in test names for extra outputs
6665 rather than naming variables.
6666
3779b5b6
JM
66672013-05-18 Joseph Myers <joseph@codesourcery.com>
6668
2ee094ff
JM
6669 [BZ #15488]
6670 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6671 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6672 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6673 double tests.
6674 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6675 disable.
6676 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6677 check_long_double.
6678
3779b5b6
JM
6679 * math/gen-libm-test.pl (@tests): Remove variable.
6680 ($count): Likewise.
6681 (new_test): Remove function.
6682 (show_exceptions): New function.
6683 (special_functions): Use show_exceptions instead of new_test.
6684 (parse_args): Likewise.
6685 (generate_testfile): Pass only function name in generated call to
6686 print_max_error or print_complex_max_error.
6687 (get_ulps): Do not handle complex tests specially.
6688 (output_test): Rename to ...
6689 (get_all_ulps_for_test): ... this. Return a string rather than
6690 printing to a file. Require ulps to be present.
6691 (output_ulps): Generate arrays rather than #defines.
6692 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6693 (struct ulp_data): New type.
6694 (BUILD_COMPLEX_ULP): Remove macro.
6695 (compare_ulp_data): New function.
6696 (find_ulps): Likewise.
6697 (find_test_ulps): Likewise.
6698 (find_function_ulps): Likewise.
6699 (find_complex_function_ulps): Likewise.
6700 (print_max_error): Determine allowed ulps using
6701 find_function_ulps.
6702 (print_complex_max_error): Determine allowed ulps using
6703 find_complex_function_ulps.
6704 (check_float_internal): Determine max ulps using find_test_ulps.
6705 (check_float): Do not take max_ulp parameter. Update call to
6706 check_float_internal.
6707 (check_complex): Likewise.
6708 (check_int): Do not take max_ulp parameter.
6709 (check_long): Likewise.
6710 (check_bool): Likewise.
6711 (check_longlong): Likewise.
6712 (struct test_f_f_data): Remove max_ulp field.
6713 (struct test_ff_f_data): Likewise.
6714 (struct test_ff_f_data_nexttoward): Likewise.
6715 (struct test_fi_f_data): Likewise.
6716 (struct test_fl_f_data): Likewise.
6717 (struct test_if_f_data): Likewise.
6718 (struct test_fff_f_data): Likewise.
6719 (struct test_c_f_data): Likewise.
6720 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6721 (struct test_fF_f1_data): Likewise.
6722 (struct test_ffI_f1_data): Likewise.
6723 (struct test_c_c_data): Remove max_ulp field.
6724 (struct test_cc_c_data): Likewise.
6725 (struct test_f_i_data): Likewise.
6726 (struct test_ff_i_data): Likewise.
6727 (struct test_f_l_data): Likewise.
6728 (struct test_f_L_data): Likewise.
6729 (struct test_sincos_data): Likewise.
6730 (RUN_TEST_f_f): Do not handle ulps.
6731 (RUN_TEST_LOOP_f_f): Likewise.
6732 (RUN_TEST_2_f): Likewise.
6733 (RUN_TEST_LOOP_2_f): Likewise.
6734 (RUN_TEST_fff_f): Likewise.
6735 (RUN_TEST_LOOP_fff_f): Likewise.
6736 (RUN_TEST_c_f): Likewise.
6737 (RUN_TEST_LOOP_c_f): Likewise.
6738 (RUN_TEST_f_f1): Likewise.
6739 (RUN_TEST_LOOP_f_f1): Likewise.
6740 (RUN_TEST_fF_f1): Likewise.
6741 (RUN_TEST_LOOP_fF_f1): Likewise.
6742 (RUN_TEST_fI_f1): Likewise.
6743 (RUN_TEST_LOOP_fI_f1): Likewise.
6744 (RUN_TEST_ffI_f1): Likewise.
6745 (RUN_TEST_LOOP_ffI_f1): Likewise.
6746 (RUN_TEST_c_c): Likewise.
6747 (RUN_TEST_LOOP_c_c): Likewise.
6748 (RUN_TEST_cc_c): Likewise.
6749 (RUN_TEST_LOOP_cc_c): Likewise.
6750 (RUN_TEST_f_i): Likewise.
6751 (RUN_TEST_LOOP_f_i): Likewise.
6752 (RUN_TEST_f_i_tg): Likewise.
6753 (RUN_TEST_LOOP_f_i_tg): Likewise.
6754 (RUN_TEST_ff_i_tg): Likewise.
6755 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6756 (RUN_TEST_f_b): Likewise.
6757 (RUN_TEST_LOOP_f_b): Likewise.
6758 (RUN_TEST_f_b_tg): Likewise.
6759 (RUN_TEST_LOOP_f_b_tg): Likewise.
6760 (RUN_TEST_f_l): Likewise.
6761 (RUN_TEST_LOOP_f_l): Likewise.
6762 (RUN_TEST_f_L): Likewise.
6763 (RUN_TEST_LOOP_f_L): Likewise.
6764 (RUN_TEST_sincos): Likewise.
6765 (RUN_TEST_LOOP_sincos): Likewise.
6766
8269107f
JM
67672013-05-17 Joseph Myers <joseph@codesourcery.com>
6768
bb38759d
JM
6769 [BZ #15480]
6770 [BZ #15485]
6771 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6772 main case of finite arguments, set rounding mode to FE_TONEAREST
6773 and discard exceptions.
6774 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6775 exceptions.
6776 (remainder_tonearest_test_data): New variable.
6777 (remainder_test_tonearest): New function.
6778 (remainder_towardzero_test_data): New variable.
6779 (remainder_test_towardzero): New function.
6780 (remainder_downward_test_data): New variable.
6781 (remainder_test_downward): New function.
6782 (remainder_upward_test_data): New variable.
6783 (remainder_test_upward): New function.
6784 (main): Call the new test functions.
6785
a00bdcf0
JM
6786 * math/libm-test.inc (struct test_f_f1_data): Remove field
6787 extra_init.
6788 (struct test_fF_f1_data): Likewise.
6789 (struct test_ffI_f1_data): Likewise.
6790 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6791 based on value of EXTRA_EXPECTED.
6792 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6793 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6794 EXTRA_VAR based on value of EXTRA_EXPECTED.
6795 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6796 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6797 EXTRA_VAR based on value of EXTRA_EXPECTED.
6798 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6799 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6800 EXTRA_VAR based on value of EXTRA_EXPECTED.
6801 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6802 * math/gen-libm-test.pl (parse_args): Don't output initializers
6803 for extra output values.
6804
de407f79
JM
6805 * math/libm-test.inc (check_int): Expect result to be exactly
6806 equal to expected value and do not handle ulps.
6807 (check_long): Likewise.
6808 (check_longlong): Likewise.
6809
8269107f
JM
6810 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6811 exceptions.
6812 (cimag_test_data): Likewise.
6813 (conj_test_data): Likewise.
6814 (copysign_test_data): Likewise.
6815 (cproj_test_data): Likewise.
6816 (creal_test_data): Likewise.
6817 (fabs_test_data): Likewise.
6818 (fdim_test_data): Likewise.
6819 (finite_test_data): Likewise.
6820 (floor_test_data): Likewise.
6821 (fmax_test_data): Likewise.
6822 (fmin_test_data): Likewise.
6823 (fmod_test_data): Likewise.
6824 (fpclassify_test_data): Likewise.
6825 (frexp_test_data): Likewise.
6826 (ilogb_test_data): Likewise.
6827 (isfinite_test_data): Likewise.
6828 (isgreater_test_data): Likewise.
6829 (isgreaterequal_test_data): Likewise.
6830 (isinf_test_data): Likewise.
6831 (isless_test_data): Likewise.
6832 (islessequal_test_data): Likewise.
6833 (islessgreater_test_data): Likewise.
6834 (isnan_test_data): Likewise.
6835 (isnormal_test_data): Likewise.
6836 (issignaling_test_data): Likewise.
6837 (isunordered_test_data): Likewise.
6838 (ldexp_test_data): Likewise.
6839 (lrint_test_data): Likewise.
6840 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6841 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6842 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6843 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6844 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6845 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6846 test input.
6847 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6848 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6849 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6850 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6851 that test input.
6852 (lrint_downward_test_data): Test for "inexact" exceptions.
6853 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6854 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6855 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6856 test input.
6857 (lrint_upward_test_data): Test for "inexact" exceptions.
6858 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6859 test input.
6860 (llrint_test_data): Test for "inexact" exceptions.
6861 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6862 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6863 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6864 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6865 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6866 (llrint_downward_test_data): Test for "inexact" exceptions.
6867 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6868 (llrint_upward_test_data): Test for "inexact" exceptions.
6869 (logb_test_data): Likewise.
6870 (logb_downward_test_data): Likewise.
6871 (nextafter_test_data): Likewise.
6872 (nexttoward_test_data): Likewise.
6873 (remainder_test_data): Likewise.
6874 (remquo_test_data): Likewise.
6875 (scalbn_test_data): Likewise.
6876 (scalbln_test_data): Likewise.
6877 (signbit_test_data): Likewise.
6878 (sqrt_test_data): Likewise.
6879 (significand_test_data): Likewise.
6880
48a18de1
SP
68812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6882
6883 [BZ #15424]
6884 * benchtests/bench-modf.c (struct args): Mark arg0 as
6885 volatile.
6886 * scripts/bench.pl: Mark members of struct args as volatile.
6887
13d3b41a
AZ
68882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889
68191c1d 6890 [BZ # 15497]
13d3b41a
AZ
6891 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6892 negative infinity on POWER6 or lower.
6893 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6894
2848b105
MR
68952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6896
6897 [BZ #15442]
6898 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6899 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6900 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6901 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6902 (_FP_SETQNAN): New macro.
6903 (_FP_SETQNAN_SEMIRAW): Likewise.
6904 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6905 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6906 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6907 (FP_EXTEND): Use _FP_FRAC_SNANP.
6908 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6909 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6910 into account.
6911 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6912 New macro.
6913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6914 Likewise.
6915
323e5cb7
JM
69162013-05-16 Joseph Myers <joseph@codesourcery.com>
6917
c58b274f
JM
6918 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6919 with DIVIDE_BY_ZERO_EXCEPTION.
6920 (gamma_test_data): Likewise.
6921 (lgamma_test_data): Likewise.
6922 (log_test_data): Likewise.
6923 (log10_test_data): Likewise.
6924 (log2_test_data): Likewise.
6925 (tgamma_test_data): Likewise.
6926
0ab34904
JM
6927 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6928 (acos_test_tonearest): Likewise.
6929 (acos_test_towardzero): Likewise.
6930 (acos_test_downward): Likewise.
6931 (acos_test_upward): Likewise.
6932 (acosh_test): Likewise.
6933 (asin_test): Likewise.
6934 (asin_test_tonearest): Likewise.
6935 (asin_test_towardzero): Likewise.
6936 (asin_test_downward): Likewise.
6937 (asin_test_upward): Likewise.
6938 (asinh_test): Likewise.
6939 (atan_test): Likewise.
6940 (atanh_test): Likewise.
6941 (atan2_test): Likewise.
6942 (cabs_test): Likewise.
6943 (cacos_test): Likewise.
6944 (cacosh_test): Likewise.
6945 (casin_test): Likewise.
6946 (casinh_test): Likewise.
6947 (catan_test): Likewise.
6948 (catanh_test): Likewise.
6949 (cbrt_test): Likewise.
6950 (ccos_test): Likewise.
6951 (ccosh_test): Likewise.
6952 (cexp_test): Likewise.
6953 (clog_test): Likewise.
6954 (clog10_test): Likewise.
6955 (cos_test): Likewise.
6956 (cos_test_tonearest): Likewise.
6957 (cos_test_towardzero): Likewise.
6958 (cos_test_downward): Likewise.
6959 (cos_test_upward): Likewise.
6960 (cosh_test): Likewise.
6961 (cosh_test_tonearest): Likewise.
6962 (cosh_test_towardzero): Likewise.
6963 (cosh_test_downward): Likewise.
6964 (cosh_test_upward): Likewise.
6965 (cpow_test): Likewise.
6966 (csin_test): Likewise.
6967 (csinh_test): Likewise.
6968 (csqrt_test): Likewise.
6969 (ctan_test): Likewise.
6970 (ctan_test_tonearest): Likewise.
6971 (ctan_test_towardzero): Likewise.
6972 (ctan_test_downward): Likewise.
6973 (ctan_test_upward): Likewise.
6974 (ctanh_test): Likewise.
6975 (ctanh_test_tonearest): Likewise.
6976 (ctanh_test_towardzero): Likewise.
6977 (ctanh_test_downward): Likewise.
6978 (ctanh_test_upward): Likewise.
6979 (erf_test): Likewise.
6980 (erfc_test): Likewise.
6981 (exp_test): Likewise.
6982 (exp_test_tonearest): Likewise.
6983 (exp_test_towardzero): Likewise.
6984 (exp_test_downward): Likewise.
6985 (exp_test_upward): Likewise.
6986 (exp10_test): Likewise.
6987 (exp2_test): Likewise.
6988 (expm1_test): Likewise.
6989 (fmod_test): Likewise.
6990 (gamma_test): Likewise.
6991 (hypot_test): Likewise.
6992 (j0_test): Likewise.
6993 (j1_test): Likewise.
6994 (jn_test): Likewise.
6995 (lgamma_test): Likewise.
6996 (log_test): Likewise.
6997 (log10_test): Likewise.
6998 (log1p_test): Likewise.
6999 (log2_test): Likewise.
7000 (logb_test_downward): Likewise.
7001 (pow_test): Likewise.
7002 (pow_test_tonearest): Likewise.
7003 (pow_test_towardzero): Likewise.
7004 (pow_test_downward): Likewise.
7005 (pow_test_upward): Likewise.
7006 (remainder_test): Likewise.
7007 (remquo_test): Likewise.
7008 (sin_test): Likewise.
7009 (sin_test_tonearest): Likewise.
7010 (sin_test_towardzero): Likewise.
7011 (sin_test_downward): Likewise.
7012 (sin_test_upward): Likewise.
7013 (sincos_test): Likewise.
7014 (sinh_test): Likewise.
7015 (sinh_test_tonearest): Likewise.
7016 (sinh_test_towardzero): Likewise.
7017 (sinh_test_downward): Likewise.
7018 (sinh_test_upward): Likewise.
7019 (sqrt_test): Likewise.
7020 (tan_test): Likewise.
7021 (tan_test_tonearest): Likewise.
7022 (tan_test_towardzero): Likewise.
7023 (tan_test_downward): Likewise.
7024 (tan_test_upward): Likewise.
7025 (tanh_test): Likewise.
7026 (tgamma_test): Likewise.
7027 (y0_test): Likewise.
7028 (y1_test): Likewise.
7029 (yn_test): Likewise.
7030
323e5cb7
JM
7031 * math/gen-libm-test.pl (adjust_arg): Remove function.
7032 (special_function): Remove argument $in_func. Only handle
7033 generating output for tables of tests, not inside functions.
7034 (parse_args): Likewise.
7035 (generate_testfile): Remove variable $in_func. Update call to
7036 parse_args.
7037 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7038 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7039 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7040 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7041 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7042 (MAX_VALUE_INIT): Rename macro to max_value.
7043 (MIN_VALUE_INIT): Rename macro to min_value.
7044 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7045 (plus_zero): Remove variable.
7046 (minus_zero): Likewise.
7047 (plus_infty): Likewise.
7048 (minus_infty): Likewise.
7049 (qnan_value): Likewise.
7050 (max_value): Likewise.
7051 (min_value): Likewise.
7052 (min_subnorm_value): Likewise.
7053
e054f494
RA
70542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7055
7056 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7057 uint64_t or uint32_t usage.
7058 * crypt/sha256-block.c: Likewise.
7059 * crypt/sha256-crypt.c: Likewise.
7060 * crypt/sha256.c: Likewise.
7061 * crypt/sha512-block.c: Likewise.
7062 * crypt/sha512-crypt.c: Likewise.
7063 * crypt/sha512.c: Likewise.
7064 * debug/backtrace-tst.c: Likewise.
7065 * debug/pcprofiledump.c: Likewise.
7066 * elf/cache.c: Likewise.
7067 * elf/dl-cache.c: Likewise.
7068 * elf/dl-misc.c: Likewise.
7069 * elf/dl-profile.c: Likewise.
7070 * elf/dl-support.c: Likewise.
7071 * elf/ldconfig.c: Likewise.
7072 * elf/sprof.c: Likewise.
7073 * iconv/dummy-repertoire.c: Likewise.
7074 * iconv/iconv_charmap.c: Likewise.
7075 * iconv/skeleton.c: Likewise.
7076 * iconvdata/8bit-generic.c: Likewise.
7077 * iconvdata/cp737.h: Likewise.
7078 * iconvdata/cp775.h: Likewise.
7079 * iconvdata/ibm1008.h: Likewise.
7080 * iconvdata/ibm1025.h: Likewise.
7081 * iconvdata/ibm1046.h: Likewise.
7082 * iconvdata/ibm1097.h: Likewise.
7083 * iconvdata/ibm1112.h: Likewise.
7084 * iconvdata/ibm1122.h: Likewise.
7085 * iconvdata/ibm1123.h: Likewise.
7086 * iconvdata/ibm1124.h: Likewise.
7087 * iconvdata/ibm1129.h: Likewise.
7088 * iconvdata/ibm1130.h: Likewise.
7089 * iconvdata/ibm1132.h: Likewise.
7090 * iconvdata/ibm1133.h: Likewise.
7091 * iconvdata/ibm1137.h: Likewise.
7092 * iconvdata/ibm1140.h: Likewise.
7093 * iconvdata/ibm1141.h: Likewise.
7094 * iconvdata/ibm1142.h: Likewise.
7095 * iconvdata/ibm1143.h: Likewise.
7096 * iconvdata/ibm1144.h: Likewise.
7097 * iconvdata/ibm1145.h: Likewise.
7098 * iconvdata/ibm1146.h: Likewise.
7099 * iconvdata/ibm1147.h: Likewise.
7100 * iconvdata/ibm1148.h: Likewise.
7101 * iconvdata/ibm1149.h: Likewise.
7102 * iconvdata/ibm1153.h: Likewise.
7103 * iconvdata/ibm1154.h: Likewise.
7104 * iconvdata/ibm1155.h: Likewise.
7105 * iconvdata/ibm1156.h: Likewise.
7106 * iconvdata/ibm1157.h: Likewise.
7107 * iconvdata/ibm1158.h: Likewise.
7108 * iconvdata/ibm1160.h: Likewise.
7109 * iconvdata/ibm1161.h: Likewise.
7110 * iconvdata/ibm1162.h: Likewise.
7111 * iconvdata/ibm1163.h: Likewise.
7112 * iconvdata/ibm1164.h: Likewise.
7113 * iconvdata/ibm1166.h: Likewise.
7114 * iconvdata/ibm1167.h: Likewise.
7115 * iconvdata/ibm12712.h: Likewise.
7116 * iconvdata/ibm1390.h: Likewise.
7117 * iconvdata/ibm1399.h: Likewise.
7118 * iconvdata/ibm16804.h: Likewise.
7119 * iconvdata/ibm4517.h: Likewise.
7120 * iconvdata/ibm4899.h: Likewise.
7121 * iconvdata/ibm4909.h: Likewise.
7122 * iconvdata/ibm4971.h: Likewise.
7123 * iconvdata/ibm5347.h: Likewise.
7124 * iconvdata/ibm803.h: Likewise.
7125 * iconvdata/ibm856.h: Likewise.
7126 * iconvdata/ibm901.h: Likewise.
7127 * iconvdata/ibm902.h: Likewise.
7128 * iconvdata/ibm9030.h: Likewise.
7129 * iconvdata/ibm9066.h: Likewise.
7130 * iconvdata/ibm921.h: Likewise.
7131 * iconvdata/ibm922.h: Likewise.
7132 * iconvdata/ibm9448.h: Likewise.
7133 * iconvdata/isiri-3342.h: Likewise.
7134 * iconvdata/jis0201.h: Likewise.
7135 * include/link.h: Likewise.
7136 * include/netdb.h: Likewise.
7137 * inet/check_native.c: Likewise.
7138 * inet/check_pf.c: Likewise.
7139 * inet/getipv4sourcefilter.c: Likewise.
7140 * inet/getnameinfo.c: Likewise.
7141 * inet/getsourcefilter.c: Likewise.
7142 * inet/htonl.c: Likewise.
7143 * inet/setipv4sourcefilter.c: Likewise.
7144 * inet/setsourcefilter.c: Likewise.
7145 * inet/test-inet6_opt.c: Likewise.
7146 * inet/tst-network.c: Likewise.
7147 * locale/C-collate.c: Likewise.
7148 * locale/C-ctype.c: Likewise.
7149 * locale/C-time.c: Likewise.
7150 * locale/C-translit.h: Likewise.
7151 * locale/loadarchive.c: Likewise.
7152 * locale/programs/3level.h: Likewise.
7153 * locale/programs/charmap.c: Likewise.
7154 * locale/programs/charmap.h: Likewise.
7155 * locale/programs/ld-address.c: Likewise.
7156 * locale/programs/ld-collate.c: Likewise.
7157 * locale/programs/ld-ctype.c: Likewise.
7158 * locale/programs/ld-identification.c: Likewise.
7159 * locale/programs/ld-measurement.c: Likewise.
7160 * locale/programs/ld-messages.c: Likewise.
7161 * locale/programs/ld-monetary.c: Likewise.
7162 * locale/programs/ld-name.c: Likewise.
7163 * locale/programs/ld-numeric.c: Likewise.
7164 * locale/programs/ld-paper.c: Likewise.
7165 * locale/programs/ld-telephone.c: Likewise.
7166 * locale/programs/ld-time.c: Likewise.
7167 * locale/programs/linereader.c: Likewise.
7168 * locale/programs/locale.c: Likewise.
7169 * locale/programs/locarchive.c: Likewise.
7170 * locale/programs/locfile.h: Likewise.
7171 * locale/programs/repertoire.c: Likewise.
7172 * locale/programs/simple-hash.c: Likewise.
7173 * locale/programs/simple-hash.h: Likewise.
7174 * malloc/memusage.c: Likewise.
7175 * malloc/memusagestat.c: Likewise.
7176 * nis/nis_defaults.c: Likewise.
7177 * nis/nis_hash.c: Likewise.
7178 * nis/nis_print.c: Likewise.
7179 * nis/nis_xdr.c: Likewise.
7180 * nscd/connections.c: Likewise.
7181 * nscd/hstcache.c: Likewise.
7182 * nscd/nscd_gethst_r.c: Likewise.
7183 * nscd/nscd_getserv_r.c: Likewise.
7184 * nscd/nscd_helper.c: Likewise.
7185 * nscd/servicescache.c: Likewise.
7186 * nss/makedb.c: Likewise.
7187 * nss/nss_db/db-XXX.c: Likewise.
7188 * nss/nss_db/db-initgroups.c: Likewise.
7189 * nss/nss_db/db-netgrp.c: Likewise.
7190 * nss/nss_files/files-network.c: Likewise.
7191 * nss/nss_files/files-parse.c: Likewise.
7192 * posix/bug-regex5.c: Likewise.
7193 * posix/fnmatch_loop.c: Likewise.
7194 * posix/regcomp.c: Likewise.
7195 * posix/regexec.c: Likewise.
7196 * posix/tst-rfc3484-2.c: Likewise.
7197 * posix/tst-rfc3484-3.c: Likewise.
7198 * posix/tst-rfc3484.c: Likewise.
7199 * resolv/nss_dns/dns-canon.c: Likewise.
7200 * resolv/nss_dns/dns-network.c: Likewise.
7201 * resolv/res_init.c: Likewise.
7202 * resolv/res_mkquery.c: Likewise.
7203 * resolv/tst-aton.c: Likewise.
7204 * stdlib/cxa_atexit.c: Likewise.
7205 * stdlib/cxa_finalize.c: Likewise.
7206 * stdlib/gen-fpioconst.c: Likewise.
7207 * stdlib/strtol_l.c: Likewise.
7208 * string/tst-endian.c: Likewise.
7209 * sunrpc/auth_des.c: Likewise.
7210 * sunrpc/clnt_udp.c: Likewise.
7211 * sunrpc/rtime.c: Likewise.
7212 * sunrpc/svcauth_des.c: Likewise.
7213 * sunrpc/xdr.c: Likewise.
7214 * sunrpc/xdr_intXX_t.c: Likewise.
7215 * sunrpc/xdr_rec.c: Likewise.
7216 * sysdeps/generic/ldconfig.h: Likewise.
7217 * sysdeps/generic/ldsodefs.h: Likewise.
7218 * sysdeps/generic/memusage.h: Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7229 * sysdeps/posix/getaddrinfo.c: Likewise.
7230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7231 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7232 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7233 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7234 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7235 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7236 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7237 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7238 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7239 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7240 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7242 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7243 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7244 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7245 * sysdeps/x86_64/dl-tls.h: Likewise.
7246 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7247 * time/alt_digit.c: Likewise.
7248 * time/era.c: Likewise.
7249 * wcsmbs/tst-c16c32-1.c: Likewise.
7250
8c75f674
JM
72512013-05-16 Joseph Myers <joseph@codesourcery.com>
7252
7253 * math/libm-test.inc (struct test_sincos_data): New type.
7254 (RUN_TEST_LOOP_sincos): New macro.
7255 (sincos_test_data): New variable.
7256 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7257
e6e49e59
RH
72582013-05-16 Richard Henderson <rth@redhat.com>
7259
7260 * math/atest-exp2.c (LIMB64): New macro.
7261 (CONSTSZ): New macro.
7262 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7263 (hexdig): Move ...
7264 (print_mpn_fp): ... to function scope.
7265 (read_mpn_hex): Remove.
7266 (get_log2): Remove.
7267 (exp2_mpn): Use mp_log2.
7268 (main): Use mp_exp1.
7269
15c7c18d
JM
72702013-05-16 Joseph Myers <joseph@codesourcery.com>
7271
105a07df
JM
7272 * math/libm-test.inc: Remove comment about not testing "inexact"
7273 exceptions.
7274 (INEXACT_EXCEPTION): New macro.
7275 (NO_INEXACT_EXCEPTION): Likewise.
7276 (INVALID_EXCEPTION_OK): Update value.
7277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7278 (OVERFLOW_EXCEPTION_OK): Likewise.
7279 (UNDERFLOW_EXCEPTION_OK): Likewise.
7280 (IGNORE_ZERO_INF_SIGN): Likewise.
7281 (ERRNO_UNCHANGED): Likewise.
7282 (ERRNO_EDOM): Likewise.
7283 (ERRNO_ERANGE): Likewise.
7284 (test_exceptions): Handle testing "inexact" exceptions.
7285 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7286 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7287 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7288 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7289 INEXACT_EXCEPTION.
7290 (rint_towardzero_test_data): Likewise.
7291 (rint_downward_test_data): Likewise.
7292 (rint_upward_test_data): Likewise.
7293
e9eee333
JM
7294 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7295 with OVERFLOW_EXCEPTION.
7296 (exp10_test_data): Likewise.
7297 (exp2_test_data): Likewise.
7298 (expm1_test_data): Likewise.
7299 (lgamma_test_data): Likewise.
7300 (pow_test_data): Likewise.
7301 (tgamma_test_data): Likewise.
7302 (yn_test_data): Remove duplicate test of overflow.
7303
1c38ff73
JM
7304 * math/libm-test.inc (struct test_cc_c_data): New type.
7305 (RUN_TEST_LOOP_cc_c): New macro.
7306 (cpow_test_data): New variable.
7307 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7308
15c7c18d
JM
7309 * math/libm-test.inc (struct test_f_L_data): New type.
7310 (RUN_TEST_LOOP_f_L): New macro.
7311 (llrint_test_data): New variable.
7312 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7313 (llrint_tonearest_test_data): New variable.
7314 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7315 (llrint_towardzero_test_data): New variable.
7316 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7317 (llrint_downward_test_data): New variable.
7318 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7319 (llrint_upward_test_data): New variable.
7320 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7321 (llround_test_data): New variable.
7322 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7323
f137ff13
PC
73242013-05-13 Peter Collingbourne <pcc@google.com>
7325
7326 * math/atest-exp2.c (get_log2): Remove const attribute.
7327
3608cb24
JM
73282013-05-15 Joseph Myers <joseph@codesourcery.com>
7329
7330 * math/libm-test.inc (struct test_f_l_data): New type.
7331 (RUN_TEST_LOOP_f_l): New macro.
7332 (lrint_test_data): New variable.
7333 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7334 (lrint_tonearest_test_data): New variable.
7335 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7336 (lrint_towardzero_test_data): New variable.
7337 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7338 (lrint_downward_test_data): New variable.
7339 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7340 (lrint_upward_test_data): New variable.
7341 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7342 (lround_test_data): New variable.
7343 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7344
39b1f617
PC
73452013-05-15 Peter Collingbourne <pcc@google.com>
7346
1deff3dc
PC
7347 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7348 (EXTRACT_WORDS64) Use where appropriate.
7349 (INSERT_WORDS64) Likewise.
7350
791f3ba0
PC
7351 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7352 constraints with x constraints.
7353 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7354
39b1f617
PC
7355 * malloc/obstack.c (_obstack_compat): Add initializer.
7356
12fba011
EM
73572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7358
7359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7360 si_trapno and add si_addr_lsb to _sifields.sigfault.
7361 (si_trapno): Remove macro.
7362 (si_addr_lsb): Define new macro.
7363 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7364
d369f531
JM
73652013-05-15 Joseph Myers <joseph@codesourcery.com>
7366
b861c6c4
JM
7367 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7368 instead of TEST_f_l.
7369 (llrint_test_tonearest): Likewise.
7370 (llrint_test_towardzero): Likewise.
7371 (llrint_test_downward): Likewise.
7372 (llrint_test_upward): Likewise.
7373 (llround_test): Likewise.
7374
7abeee12
JM
7375 * math/libm-test.inc (struct test_f_i_data): Add comment.
7376 (RUN_TEST_LOOP_f_b): New macro.
7377 (RUN_TEST_LOOP_f_b_tg): Likewise.
7378 (finite_test_data): New variable.
7379 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7380 (isfinite_test_data): New variable.
7381 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7382 (isinf_test_data): New variable.
7383 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7384 (isnan_test_data): New variable.
7385 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7386 (isnormal_test_data): New variable.
7387 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7388 (issignaling_test_data): New variable.
7389 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7390 (signbit_test_data): New variable.
7391 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7392
cbe8c4d3
JM
7393 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7394 with INVALID_EXCEPTION.
7395 (acosh_test_data): Likewise.
7396 (asin_test_data): Likewise.
7397 (atanh_test_data): Likewise.
7398 (fmod_test_data): Likewise.
7399 (log_test_data): Likewise.
7400 (log10_test_data): Likewise.
7401 (log2_test_data): Likewise.
7402 (pow_test_data): Likewise.
7403 (sqrt_test_data): Likewise.
7404 (y0_test_data): Likewise.
7405 (y1_test_data): Likewise.
7406 (yn_test_data): Likewise.
7407
5575c0e5
JM
7408 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7409 function contents.
7410
d369f531
JM
7411 * math/libm-test.inc (struct test_ff_i_data): New type.
7412 (RUN_TEST_LOOP_ff_i_tg): New macro.
7413 (isgreater_test_data): New variable.
7414 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7415 (isgreaterequal_test_data): New variable.
7416 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7417 (isless_test_data): New variable.
7418 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7419 (islessequal_test_data): New variable.
7420 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7421 (islessgreater_test_data): New variable.
7422 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7423 (isunordered_test_data): New variable.
7424 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7425
781fd748
DM
74262013-05-14 David S. Miller <davem@davemloft.net>
7427
7428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7429
87aa21df
JM
74302013-05-14 Joseph Myers <joseph@codesourcery.com>
7431
5e908270
JM
7432 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7433
f71172e5
JM
7434 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7435 extra_test to int.
7436 (struct test_f_i_data): Change type of max_ulp to int.
7437
8cfa635a
JM
7438 * math/libm-test.inc (test_ffI_f1_data): New type.
7439 (RUN_TEST_LOOP_ffI_f1): New macro.
7440 (remquo_test_data): New variable.
7441 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7442
2bcb36b2
JM
7443 * setjmp/tst-setjmp-fp.c: New file.
7444 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7445 (link-libm): New variable.
7446 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7447
acbd839a
JM
7448 * math/libm-test.inc (struct test_f_i_data): New type.
7449 (RUN_TEST_LOOP_f_i): New macro.
7450 (RUN_TEST_LOOP_f_i_tg): Likewise.
7451 (fpclassify_test_data): New variable.
7452 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7453 (ilogb_test_data): New variable.
7454 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7455
e414d745
JM
7456 * math/libm-test.inc (scalbln_test): Correct function name in END
7457 call.
7458
d9c2a0fd
JM
7459 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7460 (RUN_TEST_LOOP_fI_f1): New macro.
7461 (frexp_test_data): New variable.
7462 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7463
9dc9095d
JM
7464 * math/libm-test.inc (struct test_fF_f1_data): New type.
7465 (RUN_TEST_LOOP_fF_f1): New macro.
7466 (modf_test_data): New variable.
7467 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7468
87aa21df
JM
7469 * math/libm-test.inc (struct test_f_f1_data): New type.
7470 (RUN_TEST_LOOP_f_f1): New macro.
7471 (gamma_test_data): New variable.
7472 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7473 (lgamma_test_data): New variable.
7474 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7475
141af660
CD
74762013-05-13 Carlos O'Donell <carlos@redhat.com>
7477
7478 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7479 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7480 (main): Comment "tls" pseudo-hwcap.
7481
6d33265c
JM
74822013-05-13 Joseph Myers <joseph@codesourcery.com>
7483
68fc074c
JM
7484 * math/libm-test.inc (struct test_fl_f_data): New type.
7485 (RUN_TEST_LOOP_fl_f): New variable.
7486 (scalbln_test_data): New variable.
7487 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7488
243216e1
JM
7489 * math/libm-test.inc (struct test_fi_f_data): New type.
7490 (RUN_TEST_LOOP_fi_f): New macro.
7491 (ldexp_test_data): New variable.
7492 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7493 (scalbn_test_data): New variable.
7494 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7495
6a1992e2
JM
7496 * math/libm-test.inc (struct test_c_f_data): New type.
7497 (RUN_TEST_LOOP_c_f): New macro.
7498 (cabs_test_data): New variable.
7499 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7500 (carg_test_data): New variable.
7501 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7502 (cimag_test_data): New variable.
7503 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7504 (creal_test_data): New variable.
7505 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7506
0e400df5
JM
7507 * math/libm-test.inc (struct test_if_f_data): New type.
7508 (RUN_TEST_LOOP_if_f): New macro.
7509 (jn_test_data): New variable.
7510 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7511 (yn_test_data): New variable.
7512 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7513
6d33265c
JM
7514 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7515
f98ece5f
AZ
75162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7519 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7520
0f7d347b
SP
75212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7522
43fe811b
SP
7523 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7524 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7525 (bench-deps): Add bench-timing.h.
7526 * benchtests-bench-skeleton.c: Include bench-timing.h.
7527 (main): Use TIMING_* macros instead of clock_gettime.
7528 * benchtests/bench-timing.h: New file.
7529
0f7d347b
SP
7530 [BZ #14582]
7531 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7532 Renamed from _LIB_VERSION.
7533 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7534
601a3a5f
JM
75352013-05-12 Joseph Myers <joseph@codesourcery.com>
7536
4f184d30
JM
7537 * math/libm-test.inc (struct test_fff_f_data): New type.
7538 (RUN_TEST_LOOP_fff_f): New macro.
7539 (fma_test_data): New variable.
7540 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7541 (fma_towardzero_test_data): New variable.
7542 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7543 (fma_downward_test_data): New variable.
7544 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7545 (fma_upward_test_data): New variable.
7546 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7547
08198877
JM
7548 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7549 (struct test_c_c_data): New type.
7550 (RUN_TEST_LOOP_c_c): New macro.
7551 (cacos_test_data): New variable.
7552 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7553 (cacosh_test_data): New variable.
7554 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7555 (casin_test_data): New variable.
7556 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7557 (casinh_test_data): New variable.
7558 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7559 (catan_test_data): New variable.
7560 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7561 (catanh_test_data): New variable.
7562 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7563 (ccos_test_data): New variable.
7564 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7565 (ccosh_test_data): New variable.
7566 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7567 (cexp_test_data): New variable.
7568 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7569 (clog_test_data): New variable.
7570 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7571 (clog10_test_data): New variable.
7572 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7573 (conj_test_data): New variable.
7574 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7575 (cproj_test_data): New variable.
7576 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7577 (csin_test_data): New variable.
7578 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7579 (csinh_test_data): New variable.
7580 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7581 (csqrt_test_data): New variable.
7582 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7583 (ctan_test_data): New variable.
7584 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7585 (ctan_tonearest_test_data): New variable.
7586 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7587 (ctan_towardzero_test_data): New variable.
7588 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7589 (ctan_downward_test_data): New variable.
7590 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7591 (ctan_upward_test_data): New variable.
7592 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7593 (ctanh_test_data): New variable.
7594 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7595 (ctanh_tonearest_test_data): New variable.
7596 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7597 (ctanh_towardzero_test_data): New variable.
7598 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7599 (ctanh_downward_test_data): New variable.
7600 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7601 (ctanh_upward_test_data): New variable.
7602 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7603 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7604 of BUILD_COMPLEX.
7605
601a3a5f
JM
7606 * math/libm-test.inc (struct test_ff_f_data): New type.
7607 (struct test_ff_f_data_nexttoward): Likewise.
7608 (RUN_TEST_LOOP_2_f): New macro.
7609 (RUN_TEST_LOOP_ff_f): Likewise.
7610 (atan2_test_data): New variable.
7611 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7612 (copysign_test_data): New variable.
7613 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7614 (fdim_test_data): New variable.
7615 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7616 (fmax_test_data): New variable.
7617 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7618 (fmin_test_data): New variable.
7619 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7620 (fmod_test_data): New variable.
7621 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7622 (hypot_test_data): New variable.
7623 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7624 (nextafter_test_data): New variable.
7625 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7626 (nexttoward_test_data): New variable.
7627 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7628 (pow_test_data): New variable.
7629 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7630 (pow_tonearest_test_data): New variable.
7631 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7632 (pow_towardzero_test_data): New variable.
7633 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7634 (pow_downward_test_data): New variable.
7635 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7636 (pow_upward_test_data): New variable.
7637 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7638 (remainder_test_data): New variable.
7639 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7640 (scalb_test_data): New variable.
7641 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7642 * sysdeps/i386/fpu/libm-test-ulps: Update.
7643
74c57478
JM
76442013-05-11 Joseph Myers <joseph@codesourcery.com>
7645
8329e4da
JM
7646 * math/libm-test.inc (fma_test): Use max_value instead of local
7647 variable fltmax.
7648 (nextafter_test): Likewise.
7649
74c57478
JM
7650 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7651 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7652 (acos_downward_test_data): New variable.
7653 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7654 (acos_upward_test_data): New variable.
7655 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7656 (acosh_test_data): New variable.
7657 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7658 (asin_test_data): New variable.
7659 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7660 (asin_tonearest_test_data): New variable.
7661 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7662 (asin_towardzero_test_data): New variable.
7663 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7664 (asin_downward_test_data): New variable.
7665 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7666 (asin_upward_test_data): New variable.
7667 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7668 (asinh_test_data): New variable.
7669 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7670 (atan_test_data): New variable.
7671 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7672 (atanh_test_data): New variable.
7673 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7674 (cbrt_test_data): New variable.
7675 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7676 (ceil_test_data): New variable.
7677 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7678 (cos_test_data): New variable.
7679 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7680 (cos_tonearest_test_data): New variable.
7681 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7682 (cos_towardzero_test_data): New variable.
7683 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7684 (cos_downward_test_data): New variable.
7685 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7686 (cos_upward_test_data): New variable.
7687 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7688 (cosh_test_data): New variable.
7689 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7690 (cosh_tonearest_test_data): New variable.
7691 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7692 (cosh_towardzero_test_data): New variable.
7693 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7694 (cosh_downward_test_data): New variable.
7695 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7696 (cosh_upward_test_data): New variable.
7697 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7698 (erf_test_data): New variable.
7699 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7700 (erfc_test_data): New variable.
7701 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7702 (exp_test_data): New variable.
7703 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7704 (exp_tonearest_test_data): New variable.
7705 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7706 (exp_towardzero_test_data): New variable.
7707 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7708 (exp_downward_test_data): New variable.
7709 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7710 (exp_upward_test_data): New variable.
7711 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7712 (exp10_test_data): New variable.
7713 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7714 (exp2_test_data): New variable.
7715 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7716 (expm1_test_data): New variable.
7717 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7718 (fabs_test_data): New variable.
7719 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7720 (floor_test_data): New variable.
7721 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7722 (j0_test_data): New variable.
7723 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7724 (j1_test_data): New variable.
7725 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7726 (log_test_data): New variable.
7727 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7728 (log10_test_data): New variable.
7729 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7730 (log1p_test_data): New variable.
7731 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7732 (log2_test_data): New variable.
7733 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7734 (logb_test_data): New variable.
7735 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7736 (logb_downward_test_data): New variable.
7737 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7738 (nearbyint_test_data): New variable.
7739 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7740 (rint_test_data): New variable.
7741 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7742 (rint_tonearest_test_data): New variable.
7743 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7744 (rint_towardzero_test_data): New variable.
7745 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7746 (rint_downward_test_data): New variable.
7747 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7748 (rint_upward_test_data): New variable.
7749 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7750 (round_test_data): New variable.
7751 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7752 (sin_test_data): New variable.
7753 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7754 (sin_tonearest_test_data): New variable.
7755 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7756 (sin_towardzero_test_data): New variable.
7757 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7758 (sin_downward_test_data): New variable.
7759 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7760 (sin_upward_test_data): New variable.
7761 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7762 (sinh_test_data): New variable.
7763 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7764 (sinh_tonearest_test_data): New variable.
7765 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7766 (sinh_towardzero_test_data): New variable.
7767 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7768 (sinh_downward_test_data): New variable.
7769 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7770 (sinh_upward_test_data): New variable.
7771 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7772 (sqrt_test_data): New variable.
7773 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7774 (tan_test_data): New variable.
7775 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7776 (tan_tonearest_test_data): New variable.
7777 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7778 (tan_towardzero_test_data): New variable.
7779 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7780 (tan_downward_test_data): New variable.
7781 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7782 (tan_upward_test_data): New variable.
7783 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7784 (tanh_test_data): New variable.
7785 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7786 (tgamma_test_data): New variable.
7787 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7788 (trunc_test_data): New variable.
7789 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7790 (y0_test_data): New variable.
7791 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7792 (y1_test_data): New variable.
7793 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7794 (significand_test_data): New variable.
7795 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7796
7187d844
CG
77972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7798
7799 [BZ #12387]
7800 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7801
f63fae73
PT
78022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7803
7804 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7805
8a67a4b3
AJ
78062013-05-10 Andreas Jaeger <aj@suse.de>
7807
7808 [BZ #15448]
7809 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7810 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7811
51df539d
JM
78122013-05-10 Joseph Myers <joseph@codesourcery.com>
7813
7814 * math/gen-libm-test.pl (adjust_arg): New function.
7815 (special_functions): Handle generating output in both functions
7816 and arrays.
7817 (parse_args): Likewise.
7818 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7819 $in_func argument to parse_args.
7820 * math/libm-test.inc (struct test_f_f_data): New type.
7821 (IF_ROUND_INIT_): New macro.
7822 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7823 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7824 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7825 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7826 (ROUND_RESTORE_): Likewise.
7827 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7828 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7829 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7830 (ROUND_RESTORE_FE_UPWARD): Likewise.
7831 (RUN_TEST_LOOP_f_f): New macro.
7832 (acos_test_data): New variable.
7833 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7834 (acos_tonearest_test_data): New variable.
7835 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7836
5c637fe5
SP
78372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7838
7839 * benchtests/bench-skeleton.c (startup): Fix coding style.
7840
ab2b9461
JM
78412013-05-10 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #6809]
7844 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7845 negative infinity argument.
7846 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7847 negative infinity argument.
7848 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7849 negative infinity argument.
7850 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7851 domain errors.
7852
4c0fe6fe
FW
78532013-05-10 Florian Weimer <fweimer@redhat.com>
7854
7855 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7856 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7857 * iconv/iconv_prog.c (main): Likewise.
7858 * locale/programs/charmap-dir.c (charmap_readdir)
7859 (fopen_uncompressed): Likewise.
7860 * locale/programs/locfile.c (siblings_uncached)
7861 (write_locale_data): Use lstat64 instead of lstat.
7862 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7863 stat.
7864
a3375d29
AJ
78652013-05-10 Andreas Jaeger <aj@suse.de>
7866
7867 [BZ #15395]
7868 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7869 localization.
7870 Include <locale.h>.
7871
36129722
CD
78722013-05-09 Carlos O'Donell <carlos@redhat.com>
7873
7874 * elf/dl-close.c (_dl_close_worker): Add comments.
7875
faa7f811
JM
78762013-05-09 Joseph Myers <joseph@codesourcery.com>
7877
ed41ffef
JM
7878 [BZ #15359]
7879 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7880 high part of pi/2.
7881 (__ieee754_rem_pio2l): Update comments.
7882
d0213cd0
JM
7883 [BZ #15429]
7884 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7885 high part of pi/2.
7886 (__ieee754_rem_pio2l): Update comments.
7887
0d3e777a
JM
7888 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7889 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7890
24f56066
JM
7891 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7892 M_PI_4l.
7893
faa7f811
JM
7894 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7895 (M_PI_34_LOG10El): Likewise.
7896 (M_PI2_LOG10El): Likewise.
7897 (M_PI4_LOG10El): Likewise.
7898 (M_PI_LOG10El): Likewise.
7899
e9a5e0fd
AZ
79002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7901
7902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7903
d8cd06db
JM
79042013-05-08 Joseph Myers <joseph@codesourcery.com>
7905
a0d9f9d7
JM
7906 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7907 (MINUS_ZERO_INIT): Likewise.
7908 (PLUS_INFTY_INIT): Likewise.
7909 (MINUS_INFTY_INIT): Likewise.
7910 (QNAN_VALUE_INIT): Likewise.
7911 (MAX_VALUE_INIT): Likewise.
7912 (MIN_VALUE_INIT): Likewise.
7913 (MIN_SUBNORM_VALUE_INIT): Likewise.
7914 (plus_zero): Initialize with PLUS_ZERO_INIT.
7915 (minus_zero): Initialize with MINUS_ZERO_INIT.
7916 (plus_infty): Initialize with PLUS_INFTY_INIT.
7917 (minus_infty): Initialize with MINUS_INFTY_INIT.
7918 (qnan_value): Initialize with QNAN_VALUE_INIT.
7919 (max_value): Initialize with MAX_VALUE_INIT.
7920 (min_value): Initialize with MIN_VALUE_INIT.
7921 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7922
ae08db3b
JM
7923 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7924 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7925 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7926 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7927
f44bf14a
JM
7928 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7929 (RUN_TEST_2_f): Likewise.
7930 (RUN_TEST_ff_f): Likewise.
7931 (RUN_TEST_fi_f): Likewise.
7932 (RUN_TEST_fl_f): Likewise.
7933 (RUN_TEST_fff_f): Likewise.
7934 (RUN_TEST_c_f): Likewise.
7935 (RUN_TEST_f_f1): Likewise.
7936 (RUN_TEST_fF_f1): Likewise.
7937 (RUN_TEST_fI_f1): Likewise.
7938 (RUN_TEST_ffI_f1): Likewise.
7939 (RUN_TEST_c_c): Likewise.
7940 (RUN_TEST_cc_c): Likewise.
7941 (RUN_TEST_f_i): Likewise.
7942 (RUN_TEST_f_i_tg): Likewise.
7943 (RUN_TEST_ff_i_tg): Likewise.
7944 (RUN_TEST_f_b): Likewise.
7945 (RUN_TEST_f_b_tg): Likewise.
7946 (RUN_TEST_f_l): Likewise.
7947 (RUN_TEST_f_L): Likewise.
7948 (RUN_TEST_sincos): Likewise.
7949 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7950 whether to show exceptions. Do not include ");\n" in return
7951 value.
7952 (special_functions): Output call to RUN_TEST_sincos instead of
7953 check_float calls. Update calls to new_test.
7954 (parse_args): Output call to single RUN_TEST_* macro instead of
7955 check_* calls and other assignments. Update calls to new_test.
7956
d8cd06db
JM
7957 [BZ #2546]
7958 [BZ #2560]
7959 [BZ #5159]
7960 [BZ #15426]
7961 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7962 input to result for tgamma overflow.
7963 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7964 (gamma_coeff): New variable.
7965 (NCOEFF): New macro.
7966 (gamma_positive): New function.
7967 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7968 underflow here. Use gamma_positive instead of exp (lgamma) for
7969 other arguments.
7970 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7971 (gamma_coeff): New variable.
7972 (NCOEFF): New macro.
7973 (gammaf_positive): New function.
7974 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7975 underflow here. Use gamma_positive instead of exp (lgamma) for
7976 other arguments.
7977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7978 (gamma_coeff): New variable.
7979 (NCOEFF): New macro.
7980 (gammal_positive): New function.
7981 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7982 underflow here. Use gamma_positive instead of exp (lgamma) for
7983 other arguments.
7984 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7985 (gamma_coeff): New variable.
7986 (NCOEFF): New macro.
7987 (gammal_positive): New function.
7988 (__ieee754_gammal_r): Handle positive infinity, overflow and
7989 underflow here. Handle NaN the same as positive infinity. Remove
7990 check x < 0xffffffff for negative integers. Use gamma_positive
7991 instead of exp (lgamma) for other arguments.
7992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7993 (gamma_coeff): New variable.
7994 (NCOEFF): New macro.
7995 (gammal_positive): New function.
7996 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7997 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8001 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8002 * sysdeps/generic/math_private.h (__gamma_productf): New
8003 prototype.
8004 (__gamma_product): Likewise.
8005 (__gamma_productl): Likewise.
8006 * math/Makefile (libm-calls): Add gamma_product.
8007 * math/libm-test.inc (tgamma_test): Add more tests.
8008 * sysdeps/i386/fpu/libm-test-ulps: Update.
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010
bb7cf681
OB
80112013-05-08 Ondřej Bílka <neleai@seznam.cz>
8012
8013 * benchtests/bench-skeleton.c (main): Preheat CPU.
8014
ba853947
AJ
80152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8016
8017 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8018
8347c74c
RM
80192013-05-07 Roland McGrath <roland@hack.frob.com>
8020
8021 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8022 and _dl_skip_args_internal.
8023
e8dd4791
CD
80242013-05-07 Carlos O'Donell <carlos@redhat.com>
8025
8026 * manual/message.texi (Message Translation): Talk about users.
8027 Message to key mapping impacts design.
8028
c7405830
RM
80292013-05-06 Roland McGrath <roland@hack.frob.com>
8030
a9173057
RM
8031 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8032
976e2f03
RM
8033 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8034
9723ffc5
RM
8035 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8036 * sysdeps/wordsize-64/glob64.c: ... here.
8037
962e6658
RM
8038 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8039 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8040 New macros.
8041
ee586a6d
RM
8042 * debug/getlogin_r_chk.c: Moved to ...
8043 * login/getlogin_r_chk.c: ... here.
8044 * debug/Makefile (routines): Move getlogin_r_chk to ...
8045 * login/Makefile (routines): ... here.
8046 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8047 * login/Versions (libc: GLIBC_2.4): ... here.
8048
355f9165
RM
8049 * io/poll.c (__poll): Renamed from poll.
8050 Add libc_hidden_def.
8051 (poll): Define as weak alias.
8052
bd9ffde6
RM
8053 * debug/ptsname_r_chk.c: Moved to ...
8054 * login/ptsname_r_chk.c: ... here.
8055 * debug/Makefile (routines): Move ptsname_r_chk to ...
8056 * login/Makefile (routines): ... here.
8057 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8058 * login/Versions (libc: GLIBC_2.4): ... here.
8059
8fb16a04
RM
8060 * posix/getlogin.c: Moved to ...
8061 * login/getlogin.c: ... here.
8062 * posix/getlogin_r.c: Moved to ...
8063 * login/getlogin_r.c: ... here.
8064 * posix/getlogin_r.c: Moved to ...
8065 * login/getlogin_r.c: ... here.
8066 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8067 * login/Makefile (routines): ... here.
8068 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8069 * login/Versions (libc: GLIBC_2.0): ... here.
8070
b99b892f
RM
8071 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8072 (setrlimit): Define as weak alias.
8073
c7405830
RM
8074 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8075 Call __ names for open, ftruncate, and close.
8076 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8077 (truncate): Define as weak alias.
8078
5bf96de5
JM
80792013-05-06 Joseph Myers <joseph@codesourcery.com>
8080
9ea3513c
JM
8081 * math/gen-libm-test.pl (parse_args): Initialize x before each
8082 test of frexp, modf and remquo.
8083
5bf96de5
JM
8084 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8085 test signgam value.
8086
16e616a7
AZ
80872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8088
8089 [BZ #15418]
8090 [BZ #15419]
8091 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8092 internal tests.
8093 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8094
d5e82754
RM
80952013-05-06 Roland McGrath <roland@hack.frob.com>
8096
8097 * elf/dl-writev.h: New file.
8098 * elf/dl-misc.c: Include it.
8099 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8100 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8101
a7548d41
JM
81022013-05-04 Joseph Myers <joseph@codesourcery.com>
8103
b7dab1e4
JM
8104 * math/libm-test.inc (noXFails): Remove variable.
8105 (noXPasses): Likewise.
8106 (BUILD_COMPLEX_INT): Remove macro.
8107 (print_screen): Remove xfail argument.
8108 (print_screen_max_error): Likewise.
8109 (update_stats): Likewise.
8110 (print_max_error): Likewise. Update calls to other affected
8111 functions.
8112 (print_complex_max_error): Likewise.
8113 (test_single_exception): Update calls to print_screen.
8114 (test_single_errno): Likewise.
8115 (check_float_internal): Remove xfail argument. Update calls to
8116 other affected functions.
8117 (check_float): Likewise.
8118 (check_complex): Likewise.
8119 (check_int): Likewise.
8120 (check_long): Likewise.
8121 (check_bool): Likewise.
8122 (check_longlong): Likewise.
8123 (main): Don't print noXFails and noXPasses.
8124 * math/gen-libm-test.pl (top level): Don't mention expected
8125 failure handling in comment.
8126 (new_test): Don't handle expected failures.
8127 (parse_args): Don't mention expected failure handling in comment.
8128 (generate_testfile): Don't handle expected failures.
8129 (parse_ulps): Likewise.
8130 (print_ulps_file): Likewise.
8131 (get_failure): Remove function.
8132 (output_test): Don't handle expected failures.
8133 * make/README.libm-test: Don't mention expected failure handling.
8134
a7548d41
JM
8135 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8136 (minus_zero): Likewise.
8137 (plus_infty): Likewise.
8138 (minus_infty): Likewise.
8139 (qnan_value): Likewise.
8140 (max_value): Likewise.
8141 (min_value): Likewise.
8142 (min_subnorm_value): Likewise.
8143 (initialize): Do not initialize those variables dynamically.
8144
60bfd54c
RM
81452013-05-03 Roland McGrath <roland@hack.frob.com>
8146
cc0e6ed8
RM
8147 * io/open.c (__open_2): Moved to ...
8148 * io/open_2.c: ... this new file.
8149 * io/open64.c (__open64_2): Moved to ...
8150 * io/open64_2.c: ... this new file.
8151 * io/openat.c (__openat_2): Moved to ...
8152 * io/openat_2.c: ... this new file.
8153 * io/openat64.c (__openat64_2): Moved to ...
8154 * io/openat64_2.c: ... this new file.
8155 * io/Makefile (routines): Add them.
8156 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8157 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8158 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8159 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8160 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8161 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8162 (__openat64): Add hidden_ver.
8163 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8164 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8165
60bfd54c
RM
8166 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8167 Separately conditionalize setting of GLRO(dl_sysinfo) so
8168 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8169 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8170
83e7640f
AZ
81712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172
8173 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8175 definition.
8176 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8177 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8178 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8179 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8180 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8181
d5dc2af3
JM
81822013-05-03 Joseph Myers <joseph@codesourcery.com>
8183
c31a5b1e
JM
8184 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8185 test signgam value.
8186
d5dc2af3
JM
8187 * math/libm-test.inc (hypot_test): Do not use
8188 IGNORE_ZERO_INF_SIGN.
8189
164fd39d
AJ
81902013-05-03 Andreas Jaeger <aj@suse.de>
8191
8192 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8193 Linux 3.9.
8194 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8195 (PF_MAX): Adjust for VSOCK change.
8196
8237f48c
AZ
81972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198
8199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8200
9df02941
CD
82012013-05-02 Carlos O'Donell <carlos@redhat.com>
8202
8203 [BZ #15264]
8204 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8205 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8206 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8207
d422395e
DM
82082013-05-02 David S. Miller <davem@davemloft.net>
8209
8210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8211
a07c5731
OB
82122013-05-01 Ondřej Bílka <neleai@seznam.cz>
8213
8214 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8215
1324e37f
RM
82162013-05-01 Roland McGrath <roland@hack.frob.com>
8217
8218 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8219
0695940b
RS
82202013-05-01 Richard Smith <richard@metafoo.co.uk>
8221
bb5f27ad 8222 [BZ #14952]
0695940b
RS
8223 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8224 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8225 Use __attribute__ ((__gnu_inline__)).
8226 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8227 Don't use __attribute__ ((__gnu_inline__)).
8228
10de07f5
JM
82292013-05-01 Joseph Myers <joseph@codesourcery.com>
8230
8231 [BZ #15423]
8232 * math/s_catan.c (__catan): Handle small real or imaginary part of
8233 input specially to avoid spurious underflow.
8234 * math/s_catanf.c (__catanf): Likewise.
8235 * math/s_catanh.c (__catanh): Likewise.
8236 * math/s_catanhf.c (__catanhf): Likewise.
8237 * math/s_catanhl.c (__catanhl): Likewise.
8238 * math/s_catanl.c (__catanl): Likewise.
8239 * math/libm-test.inc (catan_test): Add more tests.
8240 (catanh_test): Likewise.
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
cb4d5414
AZ
82442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8245
8246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8247
caf84319
JM
82482013-04-30 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #15416]
8251 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8252 accurately for denominator in atan2.
8253 * math/s_catanf.c (__catanf): Likewise.
8254 * math/s_catanh.c (__catanh): Likewise.
8255 * math/s_catanhf.c (__catanhf): Likewise.
8256 * math/s_catanhl.c (__catanhl): Likewise.
8257 * math/s_catanl.c (__catanl): Likewise.
8258 * math/libm-test.inc (catan_test): Add more tests.
8259 (catanh_test): Likewise.
8260 * sysdeps/i386/fpu/libm-test-ulps: Update.
8261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8262
d569c6ee
SP
82632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8264
6dbe713d
SP
8265 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8266
f0ee064b
SP
8267 * benchtests/Makefile (bench): Remove slow benchmarks.
8268 * benchtests/atan-inputs: Add slow benchmark inputs.
8269 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8270 (BENCH_FUNC): Accept variant offset.
8271 (VARIANT): Define.
8272 * benchtests/bench-skeleton.c (main): Run benchmark for each
8273 variant.
8274 * benchtests/cos-inputs: Add slow benchmark inputs.
8275 * benchtests/exp-inputs: Likewise.
8276 * benchtests/pow-inputs: Likewise.
8277 * benchtests/sin-inputs: Likewise.
8278 * benchtests/slowatan-inputs: Remove.
8279 * benchtests/slowatan.c: Remove.
8280 * benchtests/slowcos-inputs: Remove.
8281 * benchtests/slowcos.c: Remove.
8282 * benchtests/slowexp-inputs: Remove.
8283 * benchtests/slowexp.c: Remove.
8284 * benchtests/slowpow-inputs: Remove.
8285 * benchtests/slowpow.c: Remove.
8286 * benchtests/slowsin-inputs: Remove.
8287 * benchtests/slowsin.c: Remove.
8288 * benchtests/slowtan-inputs: Remove.
8289 * benchtests/slowtan.c: Remove.
8290 * benchtests/tan-inputs: Add slow benchmark inputs.
8291 * scripts/bench.pl: Parse comments and directives.
8292
d569c6ee
SP
8293 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8294 in CPPFLAGS.
8295 ($(objpfx)bench-%.c): Remove *-ITER.
8296 * benchtests/bench-modf.c: Remove definition of ITER.
8297 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8298 (main): Loop for DURATION seconds instead of fixed number of
8299 iterations.
8300 * scripts/bench.pl: Don't expect iterations in parameters.
8301
a6a242fe
RM
83022013-04-29 Roland McGrath <roland@hack.frob.com>
8303
8304 * io/fchdir.c (__fchdir): Renamed from fchdir.
8305 (fchdir): Define as weak alias.
8306
f2da7793
JM
83072013-04-29 Joseph Myers <joseph@codesourcery.com>
8308
8309 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8310 (ERRNO_EDOM): Likewise.
8311 (ERRNO_ERANGE): Likewise.
8312 (noErrnoTests): New variable.
8313 (init_max_error): Set errno to 0.
8314 (test_single_errno): New function.
8315 (test_errno): Likewise.
8316 (check_float_internal): Call test_errno. Set errno to 0.
8317 (check_complex): Refer to errno tests in comment.
8318 (check_int): Call test_errno. Set errno to 0.
8319 (check_long): Likewise.
8320 (check_bool): Likewise.
8321 (check_longlong): Likewise.
8322 (cos_test): Use ERRNO_* flags for errno tests instead of
8323 check_int.
8324 (expm1_test): Likewise.
8325 (fmod_test): Likewise.
8326 (ilogb_test): Likewise.
8327 (lgamma_test): Likewise.
8328 (pow_test): Likewise.
8329 (remainder_test): Likewise.
8330 (sin_test): Likewise.
8331 (tan_test): Likewise.
8332 (yn_test): Likewise.
8333 (initialize): Set errno to 0.
8334 (main): Print number of errno tests.
8335 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8336
b1a36ceb
AJ
83372013-04-29 Andreas Jaeger <aj@suse.de>
8338
c3ed8088
AJ
8339 [BZ #15084]
8340 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8341 and RES_USEVC.
8342
f1a24198
AJ
8343 [BZ #15085]
8344 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8345 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8346 unimplemented.
8347
9ce3b2cb
AJ
8348 [BZ #15380]
8349 * stdlib/random.c (__initstate): Return NULL if
8350 __initstate fails.
8351
f1a24198 8352 [BZ #15086]
b1a36ceb
AJ
8353 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8354 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8355 RES_SNGLKUPREOP.
8356
7e7b6f36
AZ
83572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8358
8359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8360
4d14f449
JM
83612013-04-29 Joseph Myers <joseph@codesourcery.com>
8362
8363 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8364 of individual tests.
8365 (casin_test): Likewise.
8366 (casinh_test): Likewise.
8367
5b4217d7
JM
83682013-04-27 Joseph Myers <joseph@codesourcery.com>
8369
8370 [BZ #15409]
8371 * math/s_catan.c (__catan): Handle arguments with large real or
8372 imaginary part separately without squaring.
8373 * math/s_catanf.c (__catanf): Likewise.
8374 * math/s_catanh.c (__catanh): Likewise.
8375 * math/s_catanhf.c (__catanhf): Likewise.
8376 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8377 and redefine.
8378 (__catanhl): Handle arguments with large real or imaginary part
8379 separately without squaring.
8380 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8381 and redefine.
8382 (__catanl): Handle arguments with large real or imaginary part
8383 separately without squaring.
8384 * math/libm-test.inc (catan_test): Add more tests.
8385 (catanh_test): Likewise.
8386 * sysdeps/i386/fpu/libm-test-ulps: Update.
8387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8388
4220c3ef
AJ
83892013-04-27 Andreas Jaeger <aj@suse.de>
8390
8391 [BZ #15007]
8392 * stdlib/stdlib.h: Update guards for qecvt.
8393 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8394 <stdlib.h>.
8395
4721b2d1
AM
83962013-04-27 Allan McRae <allan@archlinux.org>
8397
8398 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399
f0302940
JM
84002013-04-26 Joseph Myers <joseph@codesourcery.com>
8401
9457fd95
JM
8402 [BZ #15406]
8403 * math/s_catan.c: Include <float.h>.
8404 (__catan): Ensure underflow exception occurs for underflowed
8405 result.
8406 * math/s_catanf.c: Include <float.h>.
8407 (__catanf): Ensure underflow exception occurs for underflowed
8408 result.
8409 * math/s_catanh.c: Include <float.h>.
8410 (__catanh): Ensure underflow exception occurs for underflowed
8411 result.
8412 * math/s_catanhf.c: Include <float.h>.
8413 (__catanhf): Ensure underflow exception occurs for underflowed
8414 result.
8415 * math/s_catanhl.c: Include <float.h>.
8416 (__catanhl): Ensure underflow exception occurs for underflowed
8417 result.
8418 * math/s_catanl.c: Include <float.h>.
8419 (__catanl): Ensure underflow exception occurs for underflowed
8420 result.
8421 * math/libm-test.inc (catan_test): Add more tests.
8422 (catanh_test): Likewise.
8423
f0302940
JM
8424 [BZ #15405]
8425 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8426 underflowed result.
8427 * math/s_ccoshf.c (__ccoshf): Likewise.
8428 * math/s_ccoshl.c (__ccoshl): Likewise.
8429 * math/s_csin.c (__csin): Likewise.
8430 * math/s_csinf.c (__csinf): Likewise.
8431 * math/s_csinh.c (__csinh): Likewise.
8432 * math/s_csinhf.c (__csinhf): Likewise.
8433 * math/s_csinhl.c (__csinhl): Likewise.
8434 * math/s_csinl.c (__csinl): Likewise.
8435 * math/libm-test.inc (ccos_test): Add more tests.
8436 (ccosh_test): Likewise.
8437 (csin_test): Likewise.
8438 (csinh_test): Likewise.
8439
aa630f59
AZ
84402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8441
8442 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8443 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8444 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8445 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8446 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8447 powerpc/power5+/fpu folders.
8448 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8449
8450
1b835983
MT
84512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8452
8453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8454
73709b26
JM
84552013-04-25 Joseph Myers <joseph@codesourcery.com>
8456
8457 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8458 additions to variable.
8459 [$(config-machine) = x86_64] (modules-names): Likewise.
8460 ($(objpfx)tst-audit3): Remove dependency.
8461 ($(objpfx)tst-audit3.out): Likewise.
8462 ($(objpfx)tst-audit4): Likewise.
8463 ($(objpfx)tst-audit4.out): Likewise.
8464 ($(objpfx)tst-audit5): Likewise.
8465 ($(objpfx)tst-audit5.out): Likewise.
8466 ($(objpfx)tst-audit6): Likewise.
8467 ($(objpfx)tst-audit6.out): Likewise.
8468 ($(objpfx)tst-audit7): Likewise.
8469 ($(objpfx)tst-audit7.out): Likewise.
8470 (tst-audit3-ENV): Remove variable.
8471 (tst-audit4-ENV): Likewise.
8472 (tst-audit5-ENV): Likewise.
8473 (tst-audit6-ENV): Likewise.
8474 (tst-audit7-ENV): Likewise.
8475 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8476 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8477 addition to variable.
8478 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8479 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8483 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8484 tst-audit3, tst-audit4 and tst-audit5.
8485 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8486 tst-audit6 and tst-audit7.
8487 [$(subdir) = elf] (modules-names): Add audit modules for those
8488 tests.
8489 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8490 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8491 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8492 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8493 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8494 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8495 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8496 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8497 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8498 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8499 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8500 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8501 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8502 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8503 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8504 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8505 Likewise.
8506 [$(subdir) = elf && $(config-cflags-avx) = yes]
8507 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8508 [$(subdir) = elf && $(config-cflags-avx) = yes]
8509 (CFLAGS-tst-auditmod4a.c): Likewise.
8510 [$(subdir) = elf && $(config-cflags-avx) = yes]
8511 (CFLAGS-tst-auditmod4b.c): Likewise.
8512 [$(subdir) = elf && $(config-cflags-avx) = yes]
8513 (CFLAGS-tst-auditmod6b.c): Likewise.
8514 [$(subdir) = elf && $(config-cflags-avx) = yes]
8515 (CFLAGS-tst-auditmod6c.c): Likewise.
8516 [$(subdir) = elf && $(config-cflags-avx) = yes]
8517 (CFLAGS-tst-auditmod7b.c): Likewise.
8518 * elf/tst-audit3.c: Move to ...
8519 * sysdeps/x86_64/tst-audit3.c: ... here.
8520 * elf/tst-audit4.c: Move to ...
8521 * sysdeps/x86_64/tst-audit4.c: ... here.
8522 * elf/tst-audit5.c: Move to ...
8523 * sysdeps/x86_64/tst-audit5.c: ... here.
8524 * elf/tst-audit6.c: Move to ...
8525 * sysdeps/x86_64/tst-audit6.c: ... here.
8526 * elf/tst-audit7.c: Move to ...
8527 * sysdeps/x86_64/tst-audit7.c: ... here.
8528 * elf/tst-auditmod3a.c: Move to ...
8529 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8530 * elf/tst-auditmod3b.c: Move to ...
8531 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8532 * elf/tst-auditmod4a.c: Move to ...
8533 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8534 * elf/tst-auditmod4b.c: Move to ...
8535 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8536 * elf/tst-auditmod5a.c: Move to ...
8537 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8538 * elf/tst-auditmod5b.c: Move to ...
8539 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8540 * elf/tst-auditmod6a.c: Move to ...
8541 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8542 * elf/tst-auditmod6b.c: Move to ...
8543 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8544 * elf/tst-auditmod6c.c: Move to ...
8545 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8546 * elf/tst-auditmod7a.c: Move to ...
8547 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8548 * elf/tst-auditmod7b.c: Move to ...
8549 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8550
1ef74943
PP
85512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8552
8553 [BZ #15366]
8554 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8555 define unconditionally.
8556 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8557 define unconditionally.
8558 (INT8_C, INT16_C, etc.): Likewise.
8559
93fd48c5
MR
85602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8561
ae9552cf
MR
8562 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8563 __ehdr_start with hidden visibility.
8564
93fd48c5
MR
8565 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8566
418601aa
CD
85672013-04-24 Carlos O'Donell <carlos@redhat.com>
8568
8569 * math/libm-test.inc (cos_test): Use accurate hex constants.
8570 (sincost_test): Likewise.
8571
2f38fbfe
JM
85722013-04-24 Joseph Myers <joseph@codesourcery.com>
8573
5e221800
JM
8574 * math/libm-test.inc (catan_test): Add more tests.
8575 (catanh_test): Likewise.
8576
77f143fd
JM
8577 * math/s_catanf.c (__catanf): Use suffixed floating-point
8578 constants.
8579 * math/s_catanhf.c (__catanhf): Likewise.
8580 * math/s_catanhl.c (__catanhl): Likewise.
8581 * math/s_catanl.c (__catanl): Likewise.
8582
2f38fbfe
JM
8583 [BZ #15394]
8584 * math/s_catan.c (__catan): Calculate imaginary part of result
8585 with log1p not log unless computing log of number close to 0.
8586 * math/s_catanf.c (__catanf): Likewise.
8587 * math/s_catanl.c (__catanl): Likewise.
8588 * math/s_catanh.c (__catanh): Calculate real part of result with
8589 log1p not log unless computing log of number close to 0.
8590 * math/s_catanhf.c (__catanhf): Likewise.
8591 * math/s_catanhl.c (__catanhl): Likewise.
8592 * math/libm-test.inc (catan_test): Add more tests.
8593 (catanh_test): Likewise.
8594 * sysdeps/i386/fpu/libm-test-ulps: Update.
8595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8596
45d69176
SP
85972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8598
8599 * benchtests/Makefile: Mention files in which fast and slow
8600 paths of math functions are implemented.
8601
87f51853
RM
86022013-04-23 Roland McGrath <roland@hack.frob.com>
8603
8604 * sysdeps/posix/timespec_get.c: New file.
8605
3c026539
AZ
86062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8607
8608 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8609 POWER.
8610 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8611 for POWER.
8612 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8613 powerpc/power5/fpu folders.
8614 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8615 * benchtests/Makefile: Add modf testcase.
8616 * benchtests/bench-modf.c: New file: Benchmark test for mo
8617
ff491d14
SP
86182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8619
8620 [BZ #14888]
8621 * time/Makefile (tests): Add tst-strptime-whitespace.
8622 * time/strptime_l.c (get_number): Use ISSPACE.
8623 (__strptime_internal): Likewise.
8624 * time/tst-strptime-whitespace.c: New test case.
8625
7ed3f4e8
AS
86262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8627
8628 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8629 member.
8630 (_nss_files_init): Set it here.
8631
5c95f7b6
HC
86322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8633
8634 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8635 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8636 unsigned.
8637
d34c9158
JBG
86382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8639
8640 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8641
2169712d
SP
86422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8643
8644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8645 size just once.
8646
29c5de99
DM
86472013-04-21 David S. Miller <davem@davemloft.net>
8648
8649 * po/ru.po: Update Russion translation from translation project.
8650
ccdad15d
AC
86512013-04-17 Adam Conrad <adconrad@0c3.net>
8652
8653 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8654 and setfsgid.
8655
0f122b8d
CD
86562013-04-17 Carlos O'Donell <carlos@redhat.com>
8657
5c5b07da 8658 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8659 * configure: Regenerate.
5c5b07da 8660 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8661 Add example to error message.
8662 * sysdeps/i386/configure: Regenerate.
8663
037714dd
SP
86642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
8666 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8667 slowtan.
8668 * benchtests/cos-inputs: New file.
8669 * benchtests/slowcos-inputs: New file.
8670 * benchtests/slowcos.c: New file.
8671 * benchtests/slowtan-inputs: New file.
8672 * benchtests/slowtan.c: New file.
8673 * benchtests/tan-inputs: New file.
8674
e913141d
RM
86752013-04-16 Roland McGrath <roland@hack.frob.com>
8676
8677 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8678 considered kosher.
8679
a2964074
SP
86802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8681
4856bcd2
SP
8682 * benchtests/Makefile: Include cppflags-iterator.mk to add
8683 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8684
a2964074
SP
8685 * Makefile.in (bench-clean): New target.
8686 * benchtests/Makefile (bench-clean): Likewise.
8687
9fbf9aca
DH
86882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8689
8690 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8691
207d1e2a
TS
86922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8693
8694 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8695
306dfba9
AS
86962013-04-15 Andreas Schwab <schwab@suse.de>
8697
8698 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8700 * nscd/pwdcache.c (cache_addpw): Likewise.
8701 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8702 more than recsize.
8703
206a6699
SP
87042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
8706 * benchtests/Makefile (bench): Write all output to
8707 bench-out.tmp together.
8708
0582f6b3
AS
87092013-04-15 Andreas Schwab <schwab@suse.de>
8710
8711 * nscd/nscd.c (main): Don't fork again after closing files.
8712
acb4325f
SP
87132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8714
5cb26d0a
SP
8715 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8716
acb4325f
SP
8717 * benchtests/Rules (bench-deps): Collect dependencies into a
8718 single variable. Add Makefile to dependencies.
8719 ($(objpfx)bench-%.c): Depend on bench-deps.
8720
47792506
RM
87212013-04-12 Roland McGrath <roland@hack.frob.com>
8722 Xavier Roche <roche+kml2@exalead.com>
8723
8724 [BZ #15361]
8725 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8726 just that it's a file descriptor.
8727 * manual/llio.texi (Synchronizing AIO Operations): Update description
8728 for EBADF error from aio_fsync.
8729
8fc1bee5
SP
87302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 * Rules (bench): Move target definition...
8733 * benchtests/Makefile: ... here.
8734
aba5e333
CD
87352013-04-11 Carlos O'Donell <carlos@redhat.com>
8736
8737 * math/libm-test.inc (cos_test): Fix PI/2 test.
8738 (sincos_test): Likewise.
8739 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8740 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8741
273cdee8
AS
87422013-04-11 Andreas Schwab <schwab@suse.de>
8743
6ecec3b6
AS
8744 [BZ #13988]
8745 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8746 accept exponent character only when digits were seen.
8747 * stdio-common/Makefile (tests): Add bug26.
8748 * stdio-common/bug26.c: New file.
8749
273cdee8
AS
8750 [BZ #14293]
8751 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8752 non-freeable.
8753
8da491f5
SP
87542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
01dc6df9
SP
8756 * Makeconfig (rtld-prefix): Define built linker prefix.
8757 * Rules (run-bench): Use it.
8758 * math/Makefile (run-regen-ulps): Likewise.
8759
8da491f5
SP
8760 * Rules (bench): Remove eval.
8761
abe7f530
SP
87622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8763 Roland McGrath <roland@hack.frob.com>
8764 Ondrej Bilka <neleai@seznam.cz>
8765
8766 [BZ #15346]
8767 * time/getdate.c: Include ctype.h and alloca.h.
8768 (__getdate_r): Trim leading and trailing spaces of input.
8769 * time/tst-getdate.c (tests): Add tests with leading and
8770 trailing spaces.
8771
61c23e62
RM
87722013-04-08 Roland McGrath <roland@hack.frob.com>
8773
8774 [BZ #14280]
8775 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8776 when computing value.
8777
7208a313
CD
87782013-04-06 Carlos O'Donell <carlos@redhat.com>
8779
085b2d41
CD
8780 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8781 Use testrun.sh to run libm tests.
8782
7208a313
CD
8783 [BZ #15309]
8784 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8785
872c0acd
MM
87862013-04-06 Marko Myllynen <myllynen@redhat.com>
8787
8788 [BZ #15264]
8789 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8790
26510bdd
CD
87912013-04-06 Carlos O'Donell <carlos@redhat.com>
8792
8793 * Makefile.in (regen-ulps): New target.
8794 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8795 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8796 [ifneq (no,$(PERL)] (regen-ulps): New target.
8797 [ifeq (no,$(PERL)] (regen-ulps): New target.
8798 * math/libm-test.inc (ulps_file_name): Define.
8799 (output_dir): New variable.
8800 (options): Add "output-dir" option.
8801 (parse_opt): Handle 'o' case.
8802 (main): If output_dir is non-NULL use it as a prefix
8803 otherwise use "".
8804 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8805
a01f19c8
CD
88062013-04-06 Carlos O'Donell <carlos@redhat.com>
8807
8808 [BZ #10060, #10062]
8809 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8810 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8811 fail configure if __sync_val_compare_and_swap is not inlined.
8812 * sysdeps/i386/configure: Regenerate.
8813 * configure.in: Build for i686 when configured for i386.
8814 * configure: Regenerate.
8815 * README: Remove i386 reference.
8816
b7a329a5
CD
88172013-04-06 Carlos O'Donell <carlos@redhat.com>
8818
8819 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8821
bf0f50df
TS
88222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8823
ee091edf
TS
8824 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8825 (lmsnanval): New variables.
8826 (F): Add conversion tests.
8827 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8828 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8829
a8b792d6
TS
8830 * stdio-common/tstdiomisc.c (F): Properly collect individual
8831 tests' results.
8832
a1cbf437
TS
8833 [BZ #14686, #15336]
8834 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8835 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8836 Instead, use input NaN values or generate a qNaN by arithmetic
8837 operation. Also fix bugs to comply with the standard.
8838 * math/libm-test.inc (remainder_test): Add more tests.
8839
8b43a0c9
TS
8840 [BZ #15335, #15342]
8841 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8843 input NaN values or generate a qNaN by arithmetic operation.
8844
d91da4ce
TS
8845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8846 unreachable code.
8847
bf0f50df
TS
8848 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8849 definitions.
8850
05e166c8
JM
88512013-04-03 Joseph Myers <joseph@codesourcery.com>
8852
8853 [BZ #14478]
8854 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8855 underflowed result.
8856 * math/s_cexpf.c (__cexpf): Likewise.
8857 * math/s_cexpl.c (__cexpl): Likewise.
8858 * math/libm-test.inc (cexp_test): Add more tests.
8859
1cef1b19
AS
88602013-04-03 Andreas Schwab <schwab@suse.de>
8861
8862 [BZ #15330]
8863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8864 order arrays from heap if bigger than alloca cutoff.
8865
74d87055
TS
88662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8867
8868 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8869 (SNAN_TESTS_double): Refer to GCC PR56831.
8870 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8871 GCC PR56828.
8872
d755bba4
SP
88732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8874
90d5d5bb
SP
8875 * Rules (bench): Move bench.out after the run is complete.
8876
73e0cd5d
SP
8877 * Rules (bench): Echo currently running benchmark.
8878
64aabd4b
SP
8879 * benchtests/Makefile (bench): Add atan and slowatan.
8880 * benchtests/atan-inputs: New file.
8881 * benchtests/slowatan-inputs: New file.
8882 * benchtests/slowatan.c: New file.
8883
c871eccd
SP
8884 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8886 its value.
8887
d755bba4
SP
8888 [BZ #15305]
8889 * sysdeps/unix/sysv/linux/kernel-features.h
8890 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8891 __ASSUME_XFS_RESTRICTED_CHOWN.
8892 * sysdeps/unix/sysv/linux/pathconf.c
8893 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8894 Save and restore errno.
8895
52ce4860
JM
88962013-04-02 Joseph Myers <joseph@codesourcery.com>
8897
8898 [BZ #15327]
8899 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8900 arguments using __kernel_casinh.
8901 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8902 arguments using __kernel_casinhf.
8903 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8904 arguments using __kernel_casinhl.
8905 * math/libm-test.inc (cacosh_test): Add more tests.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908
81f311c2
SP
89092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8910
e7906a47
SP
8911 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8913
92e3664b
SP
8914 * bench/Makefile (bench): Add sin and slowsin.
8915 * benchtests/sin-inputs: New file.
8916 * benchtests/slowsin-inputs: New file.
8917 * benchtests/slowsin.c: New file.
8918
81f311c2
SP
8919 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8920 (bench): Add slowexp and slowpow.
8921 (exp-ITER): Increase iterations.
8922 (pow-ITER): Likewise.
8923 * benchtests/exp-inputs: Change input.
8924 * benchtests/pow-inputs: Likewise.
8925 * benchtests/slowexp-inputs: New file.
8926 * benchtests/slowexp.c: New file.
8927 * benchtests/slowpow-inputs: New file.
8928 * benchtests/slowpow.c: New file.
8929
ab0f1aa9
AZ
89302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931
8932 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8933 instructions.
8934 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8935 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8936 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8937 * benchtests/Makefile: Add rint benchtest.
8938 * benchtests/rint-inputs: Input for rint benchtest.
8939
57267616
TS
89402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8941
8942 * Versions.def (libm): Add GLIBC_2.18.
8943 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8944 hidden libm prototypes.
8945 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8946 * math/Makefile (libm-calls): Add s_issignaling.
8947 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8948 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8949 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8950 declaration.
8951 * math/math.h [__USE_GNU] (issignaling): New macro.
8952 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8953 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8955 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8958 * manual/arith.texi (issignaling): New section.
8959 * manual/libm-err-tab.pl (@all_functions): Update comment.
8960 * math/gen-libm-test.pl (parse_args): Apply special handling for
8961 issignaling.
8962 * math/libm-test.inc (print_float, issignaling_test): New
8963 functions.
8964 (check_float_internal): Add issignaling checks.
8965 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8966 default definition.
8967 * sysdeps/powerpc/math-tests.h: New file.
8968 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8969 tests.
8970 * math/test-snan.c (TEST_FUNC): Likewise.
8971
6142896d
DM
89722013-03-30 David S. Miller <davem@davemloft.net>
8973
8974 * po/de.po: Update from translation team.
8975
ccc8cadf
JM
89762013-03-30 Joseph Myers <joseph@codesourcery.com>
8977
8978 [BZ #10357]
8979 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8980 imaginary part less than 1.0 and real part less than 0.5
8981 specially.
8982 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8983 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8984 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8985 (cacos_test): Add more tests.
8986 (casin_test): Likewise.
8987 (casinh_test): Likewise.
8988 * sysdeps/i386/fpu/libm-test-ulps: Update.
8989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8990
0f6a8d4b
SP
89912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
0d1029de
SP
8993 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8994 ONE with its value.
8995
c2d94018
SP
8996 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8997 (__pow_mp): Replace ONE and MONE with their values.
8998 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9000 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9001 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9002 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9004
27ec37f1
SP
9005 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9006
a64d7e0e
SP
9007 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9008 (__pow_mp): Replace ZERO and MZERO with their values.
9009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9013 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9014 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9015 (__sqr): Likewise.
9016
d26dd3eb
SP
9017 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9018
0f6a8d4b
SP
9019 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9020
e57b0c61
RM
90212013-03-28 Roland McGrath <roland@hack.frob.com>
9022
9023 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9024 Declare with __attribute__ ((weak)).
9025 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9026 Call __call_tls_dtors only if it's not NULL.
9027
356b3480
RM
90282013-03-28 Roland McGrath <roland@hack.frob.com>
9029
288f7d79
RM
9030 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9031 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9032 magic __ehdr_start linker symbol if it's defined.
9033 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9034 them up here if it was already done.
9035
dc0a0263
RM
9036 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9037 (_dl_aux_init): Use const in cast when setting it.
9038 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9039 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9040 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9041
3d3436ae
RM
9042 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9043 Declare them here.
9044 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9045 * csu/libc-tls.c: Nor here.
9046 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9047
356b3480
RM
9048 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9049 (__libc_message): Never call vsyslog.
9050
b0f1246a
AM
90512013-03-28 Alan Modra <amodra@gmail.com>
9052
9053 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9054 Define as empty.
9055 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9056 Likewise.
9057
fbbe2b9a
AZ
90582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059
9060 [BZ #15214]
9061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9062 underflow.
9063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9064
1728ab37
SP
90652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9066
7a86be6e
SP
9067 [BZ #15304]
9068 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9069 Don't add gid passed as argument.
9070
1728ab37
SP
9071 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9072
3a7182a1
JM
90732013-03-27 Joseph Myers <joseph@codesourcery.com>
9074
9075 [BZ #15307]
9076 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9077 imaginary part between 1.0 and 1.5 and real part less than 0.5
9078 specially.
9079 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9080 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9081 * math/libm-test.inc (cacos_test): Add more tests.
9082 (casin_test): Likewise.
9083 (casinh_test): Likewise.
9084 * sysdeps/i386/fpu/libm-test-ulps: Update.
9085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9086
6f2e90e7
SP
90872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9088
5739f705
SP
9089 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9090 constants.
9091 (norm): Likewise.
9092 (denorm): Likewise.
9093 (__dbl_mp): Likewise.
9094 (add_magnitudes): Likewise.
9095 (sub_magnitudes): Likewise.
9096 (__add): Likewise.
9097 (__sub): Likewise.
9098 (__mul): Likewise.
9099 (__sqr): Likewise.
9100 (__inv): Likewise.
9101 (__dvd): Likewise.
9102
e375e83d
SP
9103 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9104 commented code.
9105 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9106 (__dubcos): Likewise.
9107 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9108 (__ieee754_acos): Likewise.
9109 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9110 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9111 (__exp1): Likewise.
9112 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9114 (log1): Likewise.
9115 (my_log2): Likewise.
9116 (checkint): Likewise.
9117 * sysdeps/ieee754/dbl-64/e_remainder.c
9118 (__ieee754_remainder): Likewise.
9119 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9121 (bsloww): Likewise.
9122 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9123
6f2e90e7
SP
9124 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9126 MANTISSA_STORE_T to store computations on mantissa. Use
9127 macros for rounding and division.
9128 (denorm): Likewise.
9129 (__dbl_mp): Likewise.
9130 (add_magnitudes): Likewise.
9131 (sub_magnitudes): Likewise.
9132 (__mul): Likewise.
9133 (__sqr): Likewise.
9134 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9135 powers of two in terms of TWOPOW macro.
9136 (mp_no): Make type of mantissa as MANTISSA_T.
9137 [!RADIXI]: Define RADIXI.
9138 [!TWO52]: Define TWO52.
9139 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9140
fce14d4e
AZ
91412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9142
9143 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9144 llroundl symbol when building for PPC32.
9145
9ad027fb
MW
91462013-03-24 Mark H Weaver <mhw@netris.org>
9147
9148 * manual/arith.texi (Normalization Functions): Fix prototypes for
9149 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9150
e42a38dd
AZ
91512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152
9153 [BZ #13889]
9154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9155 high value to check if expl overflow.
9156 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9157 to check for underflow and overflow.
9158 * math/libm-test.inc: Add exp test.
9159
2e0fb521
DL
91602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9161
9162 [BZ #11120]
9163 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9164 with NOT_IN_libc.
9165
b5784d95
AZ
91662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9167
9168 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9169 symbol.
9170
5aa4a1a1
TS
91712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9172
bdef0be7
TS
9173 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9174 wrap blocks consisting of several statements.
9175
5aa4a1a1
TS
9176 * sysdeps/generic/math-tests.h: New file.
9177 * sysdeps/i386/fpu/math-tests.h: Likewise.
9178 * math/test-snan.c: Include it.
9179 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9180
98c48fe5
JM
91812013-03-21 Joseph Myers <joseph@codesourcery.com>
9182
9183 [BZ #15285]
9184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9185 (__ieee754_j0l): Do not improve calculations using cos of twice
9186 input for inputs above LDBL_MAX / 2.0L.
9187 (__ieee754_y0l): Likewise.
9188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9189 (__ieee754_j1l): Do not improve calculations using cos of twice
9190 input for inputs above LDBL_MAX / 2.0L.
9191 (__ieee754_y1l): Likewise.
9192 * math/libm-test.inc (j0_test): Add another test.
9193 (j1_test): Likewise.
9194 (y0_test): Likewise.
9195 (y1_test): Likewise.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197
3775a8bc
SP
91982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9199
9200 * Rules ($(objpfx)bench-%.c): Include code from a C source
9201 file.
9202
0a1b2ae6
JM
92032013-03-21 Joseph Myers <joseph@codesourcery.com>
9204
9205 [BZ #15287]
9206 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9207 imaginary part 1.0 and real part less than 0.5 specially.
9208 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9209 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9210 * math/libm-test.inc (cacos_test): Add more tests.
9211 (casin_test): Likewise.
9212 (casinh_test): Likewise.
9213 * sysdeps/i386/fpu/libm-test-ulps: Update.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9215
b33d4ce4
SP
92162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9217
9218 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9219 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9220
bef0b507
JM
92212013-03-20 Joseph Myers <joseph@codesourcery.com>
9222
9223 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9224 * config.make.in (config-cflags-sse4): Remove variable.
9225 (config-cflags-avx): Likewise.
9226 (config-cflags-sse2avx): Likewise.
9227 (config-cflags-novzeroupper): Likewise.
9228 (config-asflags-i686): Likewise.
9229 (have-mfma4): Likewise.
9230 (have-as-vis3): Likewise.
9231 (MIG): Likewise.
9232 * configure.in (MIG): Do not AC_SUBST.
9233 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9234 (libc_cv_cc_sse4): Do not AC_SUBST.
9235 (libc_cv_cc_avx): Likewise.
9236 (libc_cv_cc_sse2avx): Likewise.
9237 (libc_cv_cc_novzeroupper): Likewise.
9238 (libc_cv_cc_fma4): Likewise.
9239 (libc_cv_as_i686): Likewise.
9240 (libc_cv_sparc_as_vis3): Likewise.
9241 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9242 LIBC_CONFIG_VAR.
9243 (config-asflags-i686): Likewise.
9244 (config-cflags-avx): Likewise.
9245 (config-cflags-sse2avx): Likewise.
9246 (have-mfma4): Likewise.
9247 (config-cflags-novzeroupper): Likewise.
9248 * sysdeps/mach/configure.in (MIG): Likewise.
9249 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9250 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9251 LIBC_CONFIG_VAR.
9252 (config-cflags-avx): Likewise.
9253 (config-cflags-sse2avx): Likewise.
9254 (have-mfma4): Likewise.
9255 (config-cflags-novzeroupper): Likewise.
9256 * configure: Regenerated.
9257 * sysdeps/i386/configure: Likewise.
9258 * sysdeps/mach/configure: Likewise.
9259 * sysdeps/sparc/configure: Likewise.
9260 * sysdeps/x86_64/configure: Likewise.
9261
912cc4b3
RM
92622013-03-20 Roland McGrath <roland@hack.frob.com>
9263
9264 [BZ #14812]
9265 * locale/programs/localedef.c (options): Put N_ translation marker
9266 on argument names, not just descriptions.
9267
04eed2b0
MS
92682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9269
9270 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9271
a065ceff
OB
92722013-03-20 Ondřej Bílka <neleai@seznam.cz>
9273
9bb2a810 9274 [BZ #14176]
a065ceff
OB
9275 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9276
a600e5ce
RM
92772013-03-19 Roland McGrath <roland@hack.frob.com>
9278
9279 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9280 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9281 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9282 [!BEFORE_ABORT] (before_abort): New function.
9283 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9284 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9285 (writev_for_fatal): New function.
9286 (WRITEV_FOR_FATAL): New macro; call that.
9287 (backtrace_and_maps): New function.
9288 (BEFORE_ABORT): New macro; call that.
9289 (struct str_list): Type removed.
9290 (__libc_message, __libc_fatal): Functions removed.
9291 Include <sysdeps/posix/libc_fatal.c> instead.
9292
6b18bea6
JM
92932013-03-19 Joseph Myers <joseph@codesourcery.com>
9294
9295 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9296 constants.
9297 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9298 double constants.
9299
aaa8cb4b
AS
93002013-03-19 Andreas Schwab <schwab@suse.de>
9301
44673770
AS
9302 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9303 * sysdeps/gnu/configure: Regenerate.
9304
aaa8cb4b
AS
9305 * configure.in: Substitute libc_cv_rtlddir.
9306 * configure: Regenerate.
9307 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9308 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9309 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9310 * elf/Makefile (install-others, CFLAGS-interp.c)
9311 (ldso_install, common-ldd-rewrite): Likewise.
9312 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9313 $(inst_slibdir)/$(rtld-installed-name).
9314 * scripts/rellns-sh: Add -p option.
9315 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9316 for source.
9317
d3cfc668
SP
93182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9319
9320 * manual/nptl.texi: Renamed to ...
9321 * manual/threads.texi: ... this.
9322 * manual/Makefile (chapters): Update.
9323
0e2b9cdd
RM
93242013-03-18 Roland McGrath <roland@hack.frob.com>
9325
9326 [BZ #14812]
9327 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9328 on argument names, not just descriptions.
0e2b9cdd
RM
9329 * malloc/memusagestat.c (options): Likewise.
9330 * nss/getent.c (options): Likewise.
63270c24
RM
9331
93322013-03-18 Benno Schulenberg <bensberg@justemail.net>
9333
9334 [BZ #14812]
9335 * iconv/iconv_prog.c (options): Put N_ translation marker
9336 on argument names, not just descriptions.
9337 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9338
b2e1393c
OB
93392013-03-18 Ondrej Bilka <neleai@seznam.cz>
9340
9341 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9342 implementation which is faster on all x86_64 architectures.
9343 Tested on AMD, Intel Nehalem, SNB, IVB.
9344 * sysdeps/x86_64/strnlen.S: Likewise.
9345
9346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9347 Remove all multiarch strlen and strnlen versions.
9348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9349 Remove strlen and strnlen related parts.
9350
9351 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9352 Inline strlen part.
9353 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9354
9355 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9356 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9357 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9358 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9359 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9360 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9361
ec4ff04d
CD
93622013-03-17 Carlos O'Donell <carlos@redhat.com>
9363
9364 * manual/memory.texi (Malloc Tunable Parameters):
9365 Sort parameters alphabetically. Add comments for missing entries.
9366
cd18e90a
DM
93672013-03-17 David S. Miller <davem@davemloft.net>
9368
9369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9370
2a185d32
JM
93712013-03-16 Joseph Myers <joseph@codesourcery.com>
9372
d2f9799e
JM
9373 [BZ #15283]
9374 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9375 for arguments at most half maximum finite value.
9376 * math/libm-test.inc (j0_test): Add more tests.
9377 (j1_test): Likewise.
9378 (y0_test): Likewise.
9379 (y1_test): Likewise.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9382
2a185d32
JM
9383 [BZ #14155]
9384 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9385 1 / x and functions P and Q for arguments above 0x1p256L.
9386 (__ieee754_y0l): Likewise.
9387 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9388 (__ieee754_y1l): Likewise.
9389 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9390 (j1_test): Likewise.
9391 (y0_test): Likewise.
9392 (y1_test): Likewise.
9393
6cbec759
TS
93942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9395
9396 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9397 variable.
9398
bc16e260
RM
93992013-03-15 Roland McGrath <roland@hack.frob.com>
9400
aefc9b8c
RM
9401 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9402 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9403 zero since it's initialized to EXEC_PAGESIZE.
9404
bc16e260
RM
9405 * sysdeps/unix/sysv/linux/ldsodefs.h
9406 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9407 * sysdeps/generic/ldsodefs.h: ... here.
9408
a57da955
TS
94092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9410
af00a34d
TS
9411 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9412
495ded2c
TS
9413 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9414 math/test-snan.c.
9415 * math/test-snan.c: Renamed from
9416 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9417 * math/Makefile (tests): Add test-snan.
9418 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9419 test-powerpc-snan.
9420
777b0332
TS
9421 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9422 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9423 functions.
9424 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9425 __builtin_nan family of functions.
9426 * math/libm-test.inc (initialize): Initialize qnan_value with
9427 __builtin_nan family of functions.
9428 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9429 Remove variables.
9430 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9431 Remove functions.
9432 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9433 storage class. Initialize qNaN_var and sNaN_var with
9434 __builtin_nan and __builtin_nans families of functions,
9435 respectively.
9436
64d063b8
TS
9437 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9438 (sqrt_test): Remove duplicate test with qNaN input.
9439 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9440 (round_test, signbit_test, significand_test): Note missing +/-Inf
9441 as well as qNaN tests.
9442
67e971f1
TS
9443 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9444 qNaN_var. Fix a few strings, too.
9445 * math/libm-test.inc (nan_value): Rename to qnan_value.
9446 * math/gen-libm-test.pl (%beautify): Adjust to that.
9447 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9448 * math/test-misc.c (main): Likewise.
9449 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9450 to __qnan_bytes, and __qnan_union, respectively.
9451 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9452 Likewise.
9453 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9454 and lqnanval, respectively.
9455 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9456 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9457 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9458 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9459
64487e12
TS
9460 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9461 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9462 doubles.
9463
e015e27b
TS
9464 * math/test-misc.c (main): Fix copy'n'pastos.
9465 * misc/tst-efgcvt.c (special): Likewise.
9466
a57da955
TS
9467 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9468 Remove declarations.
9469
1e380345
SP
94702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9471
9472 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9473 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9474 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9475 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9476
ef26eece
AZ
94772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9478
9479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9480 macro to return vdso values correctly in IFUNC implementations.
9481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9482 Optimization by using IFUNC.
9483
8cfdb7e0
SP
94842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9485 Richard Henderson <rth@redhat.com>
9486 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9487
9488 * Makefile.in (bench): New target.
9489 * NEWS: Mention the benchmark framework.
9490 * Rules (bench): Likewise.
9491 (binaries-bench): Generate binaries for functions to
9492 benchmark.
9493 * benchtests/Makefile: New makefile for benchmark tests.
9494 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9495 programs.
9496 * benchtests/exp-inputs: New input file for EXP function.
9497 * benchtests/pow-inputs: New input file for POW function.
9498 * scripts/bench.pl: New script to generate source files for
9499 benchmark programs.
9500
bcda9880
SP
95012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9502
d22ca8cd
SP
9503 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9504 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9505 computations on mantissa. Use macros for rounding and
9506 division.
9507 (denorm): Likewise.
9508 (__dbl_mp): Likewise.
9509 (add_magnitudes): Likewise.
9510 (sub_magnitudes): Likewise.
9511 (__mul): Likewise.
9512 (__sqr): Likewise.
9513 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9514 powers of two in terms of TWOPOW macro.
9515 (mp_no): Make type of mantissa as MANTISSA_T.
9516 [!RADIXI]: Define RADIXI.
9517 [!TWO52]: Define TWO52.
9518 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9519
bcda9880
SP
9520 * manual/nptl.texi (cindex): Modify threads to pthreads.
9521
06d5adfb
JM
95222013-03-15 Joseph Myers <joseph@codesourcery.com>
9523
9524 * sysdeps/x86_64/preconfigure: Regenerated.
9525
41c7328e
JM
95262013-03-14 Joseph Myers <joseph@codesourcery.com>
9527
9528 [BZ #14155]
9529 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9530 0x1p28 and above.
9531 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9532 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9533 0x1p28 and above.
9534 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9535 * math/libm-test.inc (j0_test): Do not allow one spurious
9536 underflow exception.
9537 (y1_test): Likewise.
9538
e25cfa60
SP
95392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9540
0409959c
SP
9541 * manual/Makefile (chapters): Add nptl.
9542 * manual/debug.texi (Debugging Support): Add link to Threads
9543 chapter.
9544 * manual/nptl.texi: New file.
9545
e25cfa60
SP
9546 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9547
58a1335e
PB
95482013-03-14 Petr Baudis <pasky@ucw.cz>
9549
9550 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9551 for non-NULL pointer before the memory validity test. Pointed
9552 out by Holger Brunck <holger.brunck@keymile.com>.
9553
9dc7c64f
AS
95542013-03-13 Andreas Schwab <schwab@suse.de>
9555
9556 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9557 instead of .os.
9558
54206aa6
JM
95592013-03-13 Joseph Myers <joseph@codesourcery.com>
9560
9561 * timezone/zic.c: Update from tzcode 2013b.
9562
e98cdb38
CD
95632013-03-12 Carlos O'Donell <carlos@redhat.com>
9564
9565 * manual/install.texi (Configuring and compiling):
9566 Mention i686 and i586.
9567 * INSTALL: Regenerate.
9568
9967e003
RM
95692013-03-12 Roland McGrath <roland@hack.frob.com>
9570
9571 * sysdeps/init_array/elf-init.c: New file.
9572 * csu/elf-init.c
9573 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9574 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9575
9576 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9577 __gmon_start__ as global, but as static with a .preinit_array pointer.
9578 * sysdeps/init_array/gmon-start.c: New file. Use that.
9579 * sysdeps/init_array/crti.S: New file, empty except for comments.
9580 * sysdeps/init_array/crtn.S: Likewise.
9581
e6b5a293 95822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9583
9584 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9585 definining bcopy.
80f844c9
OB
9586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9587 Remove Prefer_SSE_for_memop.
9588 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9589 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9590 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9592 memset-x86-64.
80f844c9 9593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9594 Remove bzero, memset ifunc support.
80f844c9
OB
9595 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9596 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9597 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9598 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9599
fb6b0fcb
AS
96002013-03-11 Andreas Schwab <schwab@suse.de>
9601
9602 [BZ #15234]
9603 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9604 by SHLIB_COMPAT.
9605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9606 (GLIBC_2.16): Remove pthread_atfork.
9607
3e6bd4b1
PP
96082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9609
9610 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9611 (ptestcases.h): Likewise.
9612
222d7f00
RM
96132013-03-08 Roland McGrath <roland@hack.frob.com>
9614
9615 * Makeconfig ($(common-objpfx)config.status): Depend on
9616 sysdeps/*/preconfigure{,.in} too.
9617
1ba4f030
JM
96182013-03-08 Joseph Myers <joseph@codesourcery.com>
9619
a222d91a
JM
9620 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9621 (__free_hook): Use void * instead of __malloc_ptr_t.
9622 (__malloc_hook): Likewise.
9623 (__realloc_hook): Likewise.
9624 (__memalign_hook): Likewise.
9625 (__after_morecore_hook): Likewise.
9626 * malloc/arena.c (save_malloc_hook): Likewise.
9627 (save_free_hook): Likewise.
9628 * malloc/hooks.c (malloc_hook_ini): Likewise.
9629 (realloc_hook_ini): Likewise.
9630 (memalign_hook_ini): Likewise.
9631 * malloc/malloc.c (malloc_hook_ini): Likewise.
9632 (realloc_hook_ini): Likewise.
9633 (memalign_hook_ini): Likewise.
9634 (__free_hook): Likewise.
9635 (__malloc_hook): Likewise.
9636 (__realloc_hook): Likewise.
9637 (__memalign_hook): Likewise.
9638 (__libc_malloc): Likewise.
9639 (__libc_free): Likewise.
9640 (__libc_realloc): Likewise.
9641 (__libc_memalign): Likewise.
9642 (__libc_valloc): Likewise.
9643 (__libc_pvalloc): Likewise.
9644 (__libc_calloc): Likewise.
9645 (__posix_memalign): Likewise.
9646 * malloc/morecore.c (__sbrk): Likewise.
9647 (__default_morecore): Likewise.
9648
5cc45e10
JM
9649 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9650
dd54b864
JM
9651 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9652 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9653 __malloc_ptrdiff_t.
9654
1ba4f030
JM
9655 * malloc/malloc.h (__malloc_size_t): Remove macro.
9656 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9657 __malloc_size_t.
9658 (old_memalign_hook): Likewise.
9659 (old_realloc_hook): Likewise.
9660 (struct hdr): Likewise.
9661 (flood): Likewise.
9662 (mallochook): Likewise.
9663 (memalignhook): Likewise.
9664 (reallochook): Likewise.
9665 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9666 (tr_old_realloc_hook): Likewise.
9667 (tr_old_memalign_hook): Likewise.
9668 (tr_mallochook): Likewise.
9669 (tr_reallochook): Likewise.
9670 (tr_memalignhook): Likewise.
9671
edf66e57
AZ
96722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9673
9674 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9675 default_ldbl_pack and using as default implementation.
9676 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9677 implementation.
9678 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9679 redundant definition.
9680 (ldbl_insert_mantissa): Likewise.
9681 (ldbl_canonicalize): Likewise.
9682 (ldbl_nearbyint): Likewise.
9683 (ldbl_pack): Rename to ldbl_pack_ppc.
9684 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9685 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9686 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9687
6d9145d8
SP
96882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9689
9690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9691 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9693 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9695 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9696 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9697 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9698
4dd4e157
AJ
96992013-03-07 Andreas Jaeger <aj@suse.de>
9700
9701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9702 bits/mman-linux.h.
9703
adbb8027
SP
97042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
ce544b5b
SP
9706 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9707 Include mpa.h and declare __MPEXP.
9708 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9710 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9712 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9713 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9714 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9715
4cc149fd
SP
9716 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9717 (__slowpow): Use long double EXPL and LOGL functions to
9718 compute POW.
9719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9720 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9722 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9723 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9724 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9725
e6ebd4a7
SP
9726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9727 intermediate variable to calculate exponent.
9728 (__sqr): Likewise.
9729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9730 Likewise.
9731 (__sqr): Likewise.
9732
82a9811d
SP
9733 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9734 [!NO__SQR]: Define __sqr.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9736 and NO__SQR. Remove all code except __mul and __sqr. Include
9737 sysdeps/ieee754/dbl-64/mpa.c.
9738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9739
adbb8027
SP
9740 [BZ #12723]
9741 * posix/Makefile (tests): Add tst-pathconf.
9742 * posix/tst-pathconf.c: New test case.
9743 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9744 _PC_PIPE_BUF.
9745 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9746
39120df9
PF
97472013-03-06 Patsy Franklin <pfrankli@redhat.com>
9748
9749 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9750
67525cb8
AJ
97512013-03-06 Andreas Jaeger <aj@suse.de>
9752
664a9ce4
AJ
9753 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9754 definition via __MAP_ANONYMOUS.
9755
8e39047d
AJ
9756 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9757 it's not part of Linux headers.
9758
67525cb8
AJ
9759 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9760 (MAP_HUGE_MASK): Define.
9761
9762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9763 Define.
9764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9765 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9766 Define.
9767 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9768 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9769 Define.
9770 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9772 Define.
9773 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9774
9775 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9776 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9777 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9778 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9779 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9780 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9781
9782 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9783 Handle f2fs.
9784
9785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9786 Handle f2fs and efivarfs.
9787
9788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9789 f2fs.
9790
9791 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9792 (EFIVARFS_MAGIC): Add.
9793 (F2FS_LINK_MAX): Add.
9794
e1b42695
PP
97952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9796
9797 * stdio-common/vfprintf.c: Replace __builtin_expect with
9798 __glibc_unlikely.
9799
2d67d91a
JM
98002013-03-06 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #13550]
9803 * sysdeps/generic/bp-sym.h: Remove file.
9804 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9805 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9806 <bp-sym.h> and <bp-asm.h>.
9807 (__longjmp): Don't use BP_SYM.
9808 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9809 and <bp-asm.h>.
9810 (memcpy): Don't use BP_SYM.
9811 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9812 <bp-sym.h> and <bp-asm.h>.
9813 (memcpy): Don't use BP_SYM.
9814 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9815 <bp-asm.h>.
9816 (memcpy): Don't use BP_SYM.
9817 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9818 <bp-asm.h>.
9819 (memset): Don't use BP_SYM.
9820 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9821 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9822 (__bzero): Don't use BP_SYM.
9823 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9824 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9825 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9826 <bp-sym.h> and <bp-asm.h>.
9827 (memcmp): Don't use BP_SYM. Remove comment about bounded
9828 pointers.
9829 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9830 <bp-sym.h> and <bp-asm.h>.
9831 (memcpy): Don't use BP_SYM.
9832 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9833 <bp-sym.h> and <bp-asm.h>.
9834 (memset): Don't use BP_SYM.
9835 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9836 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9837 (__bzero): Don't use BP_SYM.
9838 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9839 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9841 <bp-sym.h> and <bp-asm.h>.
9842 (strncmp): Don't use BP_SYM. Remove comment about bounded
9843 pointers.
9844 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9845 <bp-sym.h> and <bp-asm.h>.
9846 (memcpy): Don't use BP_SYM.
9847 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9848 <bp-sym.h> and <bp-asm.h>.
9849 (memset): Don't use BP_SYM.
9850 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9851 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9852 (__bzero): Don't use BP_SYM.
9853 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9854 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9856 <bp-sym.h> and <bp-asm.h>.
9857 (__memchr): Don't use BP_SYM.
9858 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9859 <bp-sym.h> and <bp-asm.h>.
9860 (memcmp): Don't use BP_SYM. Remove comment about bounded
9861 pointers.
9862 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9863 <bp-sym.h> and <bp-asm.h>.
9864 (memcpy): Don't use BP_SYM.
9865 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9866 <bp-sym.h> and <bp-asm.h>.
9867 (__mempcpy): Don't use BP_SYM.
9868 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9869 <bp-sym.h> and <bp-asm.h>.
9870 (__memrchr): Don't use BP_SYM.
9871 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9872 <bp-sym.h> and <bp-asm.h>.
9873 (memset): Don't use BP_SYM.
9874 (__bzero): Likewise.
9875 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9876 <bp-sym.h> and <bp-asm.h>.
9877 (__rawmemchr): Don't use BP_SYM.
9878 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9879 <bp-sym.h> and <bp-asm.h>.
9880 (__STRCMP): Don't use BP_SYM.
9881 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9882 <bp-sym.h> and <bp-asm.h>.
9883 (strchr): Don't use BP_SYM.
9884 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9885 <bp-sym.h> and <bp-asm.h>.
9886 (__strchrnul): Don't use BP_SYM.
9887 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9888 <bp-sym.h> and <bp-asm.h>.
9889 (strlen): Don't use BP_SYM.
9890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9891 <bp-sym.h> and <bp-asm.h>.
9892 (strncmp): Don't use BP_SYM. Remove comment about bounded
9893 pointers.
9894 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9895 <bp-sym.h> and <bp-asm.h>.
9896 (__strnlen): Don't use BP_SYM.
9897 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9898 <bp-sym.h> and <bp-asm.h>.
9899 (__GI__setjmp): Don't use BP_SYM.
9900 (_setjmp): Likewise.
9901 (__sigsetjmp): Likewise.
9902 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9903 (L(start_addresses)): Don't use BP_SYM.
9904 (_start): Likewise.
9905 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9906 <bp-asm.h>.
9907 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9908 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9909 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9910 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9911 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9912 <bp-asm.h>.
9913 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9914 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9915 about bounded pointers.
9916 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9917 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9918 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9919 <bp-asm.h>.
9920 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9921 about bounded pointers. Remove GKM FIXME comments.
9922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9923 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9924 <bp-asm.h>.
9925 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9926 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9927 Remove GKM FIXME comments.
9928 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9929 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9930 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9931 <bp-asm.h>.
9932 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9933 about bounded pointers. Remove GKM FIXME comment.
9934 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9935 and <bp-asm.h>.
9936 (strncmp): Don't use BP_SYM. Remove comment about bounded
9937 pointers.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9939 <bp-sym.h> and <bp-asm.h>.
9940 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9942 <bp-sym.h> and <bp-asm.h>.
9943 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9944 comment.
9945
cdcf361f
PP
99462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9947
9948 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9949 call free(NULL).
9950
3c4a2b15
DM
99512013-03-05 David S. Miller <davem@davemloft.net>
9952
9953 * po/es.po: Update from translation team.
9954
cdcf361f 99552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9956
9957 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9958 <bits/mman-linux.h>.
9959 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9960 is fine.
9961 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9962 <bits/mman-linux.h> to end of file.
9963 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9964 is fine.
9965 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9966 <bits/mman-linux.h> to end of file.
9967 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9968 is fine.
9969 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9970 <bits/mman-linux.h> to end of file.
9971
9972 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9973 (MCL_CURRENT, MCL_FUTURE): Define here.
9974
5f67c04f
AK
99752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9976
8a4473cc 9977 [BZ #15232]
5f67c04f
AK
9978 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9979 attribute_hidden.
9980 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9981
c3e94a95
AK
99822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9983
9984 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9985 fourth parameter needed for rt_sigprocmask syscall.
9986 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9987 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9988 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9989 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9990 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9991 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9992
cfb6382a
JM
99932013-03-04 Joseph Myers <joseph@codesourcery.com>
9994
9995 [BZ #13550]
9996 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9997 comment about bounded pointers.
9998 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9999 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10000
539d8e01
AJ
100012013-03-04 Andreas Jaeger <aj@suse.de>
10002
10003 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10004 common definitions.
10005
10006 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10007 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10008 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10012
2e167a70 100132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10014
10015 [BZ #15055]
10016 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10017 __ieee754_sqrl instead of __sqrl.
10018
68508633
JM
100192013-03-01 Joseph Myers <joseph@codesourcery.com>
10020
10021 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10022 * sysdeps/powerpc/fpu_control.h: ... here.
10023 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10024 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10025 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10026 * sysdeps/powerpc/bits/mathinline.h: ... here.
10027
7775448e
RM
100282013-03-01 Roland McGrath <roland@hack.frob.com>
10029
10030 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10031 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10032 to just [NEED_DL_SYSINFO_DSO].
10033 * elf/dl-support.c: Likewise.
10034 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10035 * elf/rtld.c (dl_main): Likewise.
10036 * elf/setup-vdso.h (setup_vdso): Likewise.
10037 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10038 * sysdeps/unix/sysv/linux/dl-sysdep.c
10039 (_dl_discover_osversion): Likewise.
10040
4e9b5995
CD
100412013-03-01 Carlos O'Donell <carlos@redhat.com>
10042
10043 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10044 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10045
e23872c8
SP
100462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10047
e5c74c63
SP
10048 * NEWS: Mention libm performance improvements and non-x86 PI
10049 futex support.
10050
e23872c8
SP
10051 * csu/libc-start.c (__pthread_initialize_minimal): Change
10052 function arguments.
10053 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10054
b5510883
JM
100552013-02-28 Joseph Myers <joseph@codesourcery.com>
10056
10057 [BZ #13550]
10058 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10060 <bp-sym.h> and <bp-asm.h>.
10061 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10063 and <bp-asm.h>.
10064 (memcpy): Don't use BP_SYM.
10065 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10066 <bp-asm.h>.
10067 (__mpn_add_n): Don't use BP_SYM.
10068 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10069 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10070 and <bp-asm.h>.
10071 (__mpn_addmul_1): Don't use BP_SYM.
10072 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10073 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10074 <bp-sym.h>.
10075 (_setjmp): Don't use BP_SYM.
10076 (__novmx_setjmp): Likewise.
10077 (__GI__setjmp): Likewise.
10078 (__vmx_setjmp): Likewise.
10079 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10080 <bp-sym.h>.
10081 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10082 (__bzero): Don't use BP_SYM.
10083 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10084 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10085 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10086 <bp-sym.h> and <bp-asm.h>.
10087 (memcpy): Don't use BP_SYM.
10088 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10089 <bp-sym.h> and <bp-asm.h>.
10090 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10091 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10092 <bp-sym.h> and <bp-asm.h>.
10093 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10094 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10095 <bp-asm.h>.
10096 (__mpn_lshift): Don't use BP_SYM.
10097 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10098 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10099 <bp-asm.h>.
10100 (memset): Don't use BP_SYM.
10101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10103 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10104 <bp-asm.h>.
10105 (__mpn_mul_1): Don't use BP_SYM.
10106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10107 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10108 <bp-sym.h> and <bp-asm.h>.
10109 (memcmp): Don't use BP_SYM.
10110 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10111 <bp-sym.h> and <bp-asm.h>.
10112 (memcpy): Don't use BP_SYM.
10113 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10114 <bp-sym.h> and <bp-asm.h>.
10115 (memset): Don't use BP_SYM.
10116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10117 <bp-sym.h> and <bp-asm.h>.
10118 (strncmp): Don't use BP_SYM.
10119 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10120 <bp-sym.h> and <bp-asm.h>.
10121 (memcpy): Don't use BP_SYM.
10122 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10123 <bp-sym.h> and <bp-asm.h>.
10124 (memset): Don't use BP_SYM.
10125 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10126 <bp-sym.h> and <bp-asm.h>.
10127 (__memchr): Don't use BP_SYM.
10128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10129 <bp-sym.h> and <bp-asm.h>.
10130 (memcmp): Don't use BP_SYM.
10131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10132 <bp-sym.h> and <bp-asm.h>.
10133 (memcpy): Don't use BP_SYM.
10134 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10135 <bp-sym.h> and <bp-asm.h>.
10136 (__mempcpy): Don't use BP_SYM.
10137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10138 <bp-sym.h> and <bp-asm.h>.
10139 (__memrchr): Don't use BP_SYM.
10140 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10141 <bp-sym.h> and <bp-asm.h>.
10142 (memset): Don't use BP_SYM.
10143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10144 <bp-sym.h> and <bp-asm.h>.
10145 (__rawmemchr): Don't use BP_SYM.
10146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10147 <bp-sym.h> and <bp-asm.h>.
10148 (__STRCMP): Don't use BP_SYM.
10149 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10150 <bp-sym.h> and <bp-asm.h>.
10151 (strchr): Don't use BP_SYM.
10152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10153 <bp-sym.h> and <bp-asm.h>.
10154 (__strchrnul): Don't use BP_SYM.
10155 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10156 <bp-sym.h> and <bp-asm.h>.
10157 (strlen): Don't use BP_SYM.
10158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10159 <bp-sym.h> and <bp-asm.h>.
10160 (strncmp): Don't use BP_SYM.
10161 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10162 <bp-sym.h> and <bp-asm.h>.
10163 (__strnlen): Don't use BP_SYM.
10164 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10165 <bp-asm.h>.
10166 (__mpn_rshift): Don't use BP_SYM.
10167 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10168 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10169 <bp-sym.h> and <bp-asm.h>.
10170 (__sigsetjmp): Don't use BP_SYM.
10171 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10172 (L(start_addresses)): Don't use BP_SYM.
10173 (_start): Likewise.
10174 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10175 <bp-asm.h>.
10176 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10177 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10178 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10179 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10180 <bp-asm.h>.
10181 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10182 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10183 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10184 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10185 <bp-asm.h>.
10186 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10187 comments.
10188 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10189 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10190 <bp-asm.h>.
10191 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10192 FIXME comments.
10193 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10194 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10195 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10196 <bp-asm.h>.
10197 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10198 comment.
10199 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10200 and <bp-asm.h>.
10201 (strncmp): Don't use BP_SYM,
10202 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10203 <bp-asm.h>.
10204 (__mpn_sub_n): Don't use BP_SYM.
10205 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10206 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10207 and <bp-asm.h>.
10208 (__mpn_submul_1): Don't use BP_SYM.
10209 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10211 <bp-sym.h> and <bp-asm.h>.
10212 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10214 <bp-sym.h> and <bp-asm.h>.
10215 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10216 comment.
10217
8d19fe64
SP
102182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10219
10220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10221 Use ZK to minimize writes to Z.
10222 (sub_magnitudes): Simplify code a bit.
10223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10224 Use ZK to minimize writes to Z.
10225 (sub_magnitudes): Simplify code a bit.
10226
85bd816a
RM
102272013-02-27 Roland McGrath <roland@hack.frob.com>
10228
10229 * csu/gmon-start.c: Add special exception to license text.
10230
b5977bf2
RH
102312013-02-27 Richard Henderson <rth@redhat.com>
10232
10233 * scripts/config.guess: Update from config.git.
10234 * scripts/config.sub: Likewise.
10235
11d6e2f2
SP
102362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10237
09c14ed2
SP
10238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10239
a688864e
SP
10240 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10241
6295157a
SP
10242 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10243
b8de2202
SP
10244 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10245
11d6e2f2
SP
10246 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10247
7e80ddb8
RM
102482013-02-26 Roland McGrath <roland@hack.frob.com>
10249
10250 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10251 [$(build-shared = yes].
7e80ddb8 10252
7da6d9ed
SP
102532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10254
45f05884
SP
10255 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10256 (__mul): Reduce iterations for calculating mantissa.
10257
2236d359
SP
10258 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10259 MPTWO.
10260 (__mpranred): Likewise.
10261
7da6d9ed
SP
10262 [BZ #15160]
10263 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10264 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10265
b7688c42
PE
102662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10267
10268 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10269 Define __attribute__.
10270
53a5c423
SP
102712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10272
10273 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10274 unused.
10275 * posix/regex_internal.h (__attribute): Remove.
10276 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10277 (re_string_context_at): Likewise.
10278 (bitset_not): Use __attribute__ and mark function as possibly
10279 unused.
10280 (bitset_merge): Likewise.
10281 (bitset_mask): Likewise.
10282 (re_string_char_size_at): Likewise.
10283 (re_string_wchar_at): Likewise.
10284 (re_string_elem_size_at): Likewise.
10285
60f5a8b5
SP
102862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10287
2a983a2e
SP
10288 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10289 code.
10290 (cc32): Likewise.
10291
e69804d1
SP
10292 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10293 (__acr): Likewise.
10294 (__cpy): Likewise.
10295 (norm): Likewise.
10296 (denorm): Likewise.
10297 (__dbl_mp): Likewise.
10298 (add_magnitudes): Likewise.
10299 (sub_magnitudes): Likewise.
10300 (__mul): Likewise.
10301 (__inv): Likewise.
10302
2f22a1e8
SP
10303 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10304 style.
10305
8930ddc7
SP
10306 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10307 style.
10308
dc60cb11
SP
10309 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10310 code.
10311
60f5a8b5
SP
10312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10313 up changes with default code.
10314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10315 Likewise.
10316
b4d1fd33
AM
103172013-02-24 Allan McRae <allan@archlinux.org>
10318
faf6f8bc
AM
10319 * manual/socket.texi (The Internet Namespace): Order menu items
10320 to match that in the file.
10321
b4d1fd33
AM
10322 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10323 node listing of the info page menu.
10324
2366713d
JM
103252013-02-21 Joseph Myers <joseph@codesourcery.com>
10326
10327 [BZ #13550]
10328 * sysdeps/i386/bp-asm.h: Remove file.
10329 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10330 (PARMS): Do not use macros from bp-asm.h.
10331 (S1): Likewise.
10332 (S2): Likewise.
10333 (SIZE): Likewise.
10334 (__mpn_add_n): Do not use BP_SYM
10335 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10336 "bp-asm.h".
10337 (PARMS): Do not use macros from bp-asm.h.
10338 (S1): Likewise.
10339 (SIZE): Likewise.
10340 (__mpn_addmul_1): Do not use BP_SYM
10341 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10342 "bp-asm.h".
10343 (PARMS): Do not use macros from bp-asm.h.
10344 (SIGMSK): Likewise.
10345 (_setjmp): Likewise. Do not use BP_SYM.
10346 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10347 "bp-asm.h".
10348 (PARMS): Do not use macros from bp-asm.h.
10349 (SIGMSK): Likewise.
10350 (setjmp): Likewise. Do not use BP_SYM.
10351 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10352 "bp-asm.h".
10353 (PARMS): Do not use macros from bp-asm.h.
10354 (__frexp): Do not use BP_SYM.
10355 (frexp): Likewise.
10356 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10357 "bp-asm.h".
10358 (PARMS): Do not use macros from bp-asm.h.
10359 (__frexpf): Do not use BP_SYM.
10360 (frexpf): Likewise.
10361 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10362 "bp-asm.h".
10363 (PARMS): Do not use macros from bp-asm.h.
10364 (__frexpl): Do not use BP_SYM.
10365 (frexpl): Likewise.
10366 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10367 "bp-asm.h".
10368 (PARMS): Do not use macros from bp-asm.h.
10369 (__remquo): Do not use BP_SYM.
10370 (remquo): Likewise.
10371 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10372 "bp-asm.h".
10373 (PARMS): Do not use macros from bp-asm.h.
10374 (__remquof): Do not use BP_SYM.
10375 (remquof): Likewise.
10376 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10377 "bp-asm.h".
10378 (PARMS): Do not use macros from bp-asm.h.
10379 (__remquol): Do not use BP_SYM.
10380 (remquol): Likewise.
10381 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10382 "bp-asm.h".
10383 (PARMS): Do not use macros from bp-asm.h.
10384 (DEST): Likewise.
10385 (SRC): Likewise.
10386 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10387 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10388 "bp-asm.h".
10389 (PARMS): Do not use macros from bp-asm.h.
10390 (strlen): Do not use BP_SYM.
10391 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10392 "bp-asm.h".
10393 (PARMS): Do not use macros from bp-asm.h.
10394 (S1): Likewise.
10395 (S2): Likewise.
10396 (SIZE): Likewise.
10397 (__mpn_add_n): Do not use BP_SYM.
10398 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10399 "bp-asm.h".
10400 (PARMS): Do not use macros from bp-asm.h.
10401 (S1): Likewise.
10402 (SIZE): Likewise.
10403 (__mpn_addmul_1): Do not use BP_SYM.
10404 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10405 weak_alias.
10406 (bzero): Likewise.
10407 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10408 "bp-asm.h".
10409 (PARMS): Do not use macros from bp-asm.h.
10410 (S): Likewise.
10411 (SIZE): Likewise.
10412 (__mpn_lshift): Do not use BP_SYM.
10413 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10414 "bp-asm.h".
10415 (PARMS): Do not use macros from bp-asm.h.
10416 (DEST): Likewise.
10417 (SRC): Likewise.
10418 (LEN): Likewise.
10419 (memcpy): Likewise. Do not use BP_SYM.
10420 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10421 libc_hidden_def and weak_alias.
10422 (mempcpy): Do not use BP_SYM in weak_alias.
10423 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10424 "bp-asm.h".
10425 (PARMS): Do not use macros from bp-asm.h.
10426 (DEST): Likewise.
10427 (LEN): Likewise.
10428 [!BZERO_P] (CHR): Likewise.
10429 (memset): Likewise. Do not use BP_SYM.
10430 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10431 "bp-asm.h".
10432 (PARMS): Do not use macros from bp-asm.h.
10433 (S1): Likewise.
10434 (SIZE): Likewise.
10435 (__mpn_mul_1): Do not use BP_SYM.
10436 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10437 "bp-asm.h".
10438 (PARMS): Do not use macros from bp-asm.h.
10439 (S): Likewise.
10440 (SIZE): Likewise.
10441 (__mpn_rshift): Do not use BP_SYM.
10442 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10443 "bp-asm.h".
10444 (PARMS): Do not use macros from bp-asm.h.
10445 (STR): Likewise.
10446 (CHR): Likewise.
10447 (strchr): Likewise. Do not use BP_SYM.
10448 (index): Do not use BP_SYM in weak_alias.
10449 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10450 "bp-asm.h".
10451 (PARMS): Do not use macros from bp-asm.h.
10452 (DEST): Likewise.
10453 (SRC): Likewise.
10454 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10455 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10456 "bp-asm.h".
10457 (PARMS): Do not use macros from bp-asm.h.
10458 (strlen): Do not use BP_SYM.
10459 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10460 "bp-asm.h".
10461 (PARMS): Do not use macros from bp-asm.h.
10462 (S1): Likewise.
10463 (S2): Likewise.
10464 (SIZE): Likewise.
10465 (__mpn_sub_n): Do not use BP_SYM.
10466 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10467 "bp-asm.h".
10468 (PARMS): Do not use macros from bp-asm.h.
10469 (S1): Likewise.
10470 (SIZE): Likewise.
10471 (__mpn_submul_1): Do not use BP_SYM.
10472 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10473 "bp-asm.h".
10474 (PARMS): Do not use macros from bp-asm.h.
10475 (S1): Likewise.
10476 (S2): Likewise.
10477 (SIZE): Likewise.
10478 (__mpn_add_n): Do not use BP_SYM.
10479 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10480 weak_alias.
10481 (bzero): Likewise.
10482 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10483 "bp-asm.h".
10484 (PARMS): Do not use macros from bp-asm.h.
10485 (BLK2): Likewise.
10486 (LEN): Likewise.
10487 (memcmp): Do not use BP_SYM.
10488 (bcmp): Do not use BP_SYM in weak_alias.
10489 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10490 "bp-asm.h".
10491 (PARMS): Do not use macros from bp-asm.h.
10492 (DEST): Likewise.
10493 (SRC): Likewise.
10494 (LEN): Likewise.
10495 (memcpy): Likewise. Do not use BP_SYM.
10496 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10497 "bp-asm.h".
10498 (PARMS): Do not use macros from bp-asm.h.
10499 (DEST): Likewise.
10500 (SRC): Likewise.
10501 (LEN): Likewise.
10502 (memmove): Likewise. Do not use BP_SYM.
10503 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10504 "bp-asm.h".
10505 (PARMS): Do not use macros from bp-asm.h.
10506 (DEST): Likewise.
10507 (SRC): Likewise.
10508 (LEN): Likewise.
10509 (__mempcpy): Likewise. Do not use BP_SYM.
10510 (mempcpy): Do not use BP_SYM in weak_alias.
10511 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10512 "bp-asm.h".
10513 (PARMS): Do not use macros from bp-asm.h.
10514 (DEST): Likewise.
10515 (LEN): Likewise.
10516 [!BZERO_P] (CHR): Likewise.
10517 (memset): Likewise. Do not use BP_SYM.
10518 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10519 "bp-asm.h".
10520 (PARMS): Do not use macros from bp-asm.h.
10521 (STR2): Likewise.
10522 (strcmp): Do not use BP_SYM.
10523 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
10528 [USE_AS_STRTOK_R] (SAVE): Likewise.
10529 (FUNCTION): Likewise. Do not use BP_SYM.
10530 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10531 aliases.
10532 (strtok_r): Likewise.
10533 (__GI___strtok_r): Likewise.
10534 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10535 (PARMS): Do not use macros from bp-asm.h.
10536 (S): Likewise.
10537 (SIZE): Likewise.
10538 (__mpn_lshift): Do not use BP_SYM.
10539 * sysdeps/i386/memchr.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 (CHR): Likewise.
10543 (__memchr): Do not use BP_SYM.
10544 (memchr): Do not use BP_SYM in weak_alias.
10545 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10546 (PARMS): Do not use macros from bp-asm.h.
10547 (BLK2): Likewise.
10548 (LEN): Likewise.
10549 (memcmp): Do not use BP_SYM.
10550 (bcmp): Do not use BP_SYM in weak_alias.
10551 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10552 (PARMS): Do not use macros from bp-asm.h.
10553 (S1): Likewise.
10554 (SIZE): Likewise.
10555 (__mpn_mul_1): Do not use BP_SYM.
10556 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10557 "bp-asm.h".
10558 (PARMS): Do not use macros from bp-asm.h.
10559 (STR): Likewise.
10560 (CHR): Likewise.
10561 (__rawmemchr): Do not use BP_SYM.
10562 (rawmemchr): Do not use BP_SYM in weak_alias.
10563 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10564 (PARMS): Do not use macros from bp-asm.h.
10565 (S): Likewise.
10566 (SIZE): Likewise.
10567 (__mpn_rshift): Do not use BP_SYM.
10568 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10569 (PARMS): Do not use macros from bp-asm.h.
10570 (SIGMSK): Likewise.
10571 (__sigsetjmp): Likewise. Do not use BP_SYM.
10572 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10573 (_start): Do not use BP_SYM.
10574 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10575 (PARMS): Do not use macros from bp-asm.h.
10576 (DEST): Likewise.
10577 (SRC): Likewise.
10578 (__stpcpy): Likewise. Do not use BP_SYM.
10579 (stpcpy): Do not use BP_SYM in weak_alias.
10580 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10581 "bp-asm.h".
10582 (PARMS): Do not use macros from bp-asm.h.
10583 (DEST): Likewise.
10584 (SRC): Likewise.
10585 (LEN): Likewise.
10586 (__stpncpy): Likewise. Do not use BP_SYM.
10587 (stpncpy): Do not use BP_SYM in weak_alias.
10588 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10589 (PARMS): Do not use macros from bp-asm.h.
10590 (STR): Likewise.
10591 (CHR): Likewise.
10592 (strchr): Likewise. Do not use BP_SYM.
10593 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10594 "bp-asm.h".
10595 (PARMS): Do not use macros from bp-asm.h.
10596 (STR): Likewise.
10597 (CHR): Likewise.
10598 (__strchrnul): Likewise. Do not use BP_SYM.
10599 (strchrnul): Do not use BP_SYM in weak_alias.
10600 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10601 "bp-asm.h".
10602 (PARMS): Do not use macros from bp-asm.h.
10603 (STOP): Likewise.
10604 (strcspn): Do not use BP_SYM.
10605 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10606 "bp-asm.h".
10607 (PARMS): Do not use macros from bp-asm.h.
10608 (STR): Likewise.
10609 (STOP): Likewise.
10610 (strpbrk): Likewise. Do not use BP_SYM.
10611 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10612 "bp-asm.h".
10613 (PARMS): Do not use macros from bp-asm.h.
10614 (STR): Likewise.
10615 (CHR): Likewise.
10616 (strrchr): Likewise. Do not use BP_SYM.
10617 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10618 (PARMS): Do not use macros from bp-asm.h.
10619 (SKIP): Likewise.
10620 (strspn): Do not use BP_SYM.
10621 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10622 (PARMS): Do not use macros from bp-asm.h.
10623 (STR): Likewise.
10624 (DELIM): Likewise.
10625 (SAVE): Likewise.
10626 (FUNCTION): Likewise. Do not use BP_SYM.
10627 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10628 aliases.
10629 (strtok_r): Likewise.
10630 (__GI___strtok_r): Likewise.
10631 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10632 (PARMS): Do not use macros from bp-asm.h.
10633 (S1): Likewise.
10634 (S2): Likewise.
10635 (SIZE): Likewise.
10636 (__mpn_sub_n): Do not use BP_SYM.
10637 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10638 "bp-asm.h".
10639 (PARMS): Do not use macros from bp-asm.h.
10640 (S1): Likewise.
10641 (SIZE): Likewise.
10642 (__mpn_submul_1): Do not use BP_SYM.
10643 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10644 <bp-sym.h>.
10645 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10646 and <bp-asm.h>.
10647 (PARMS): Do not use macros from bp-asm.h.
10648 (FLAGS): Likewise.
10649 (PTID): Likewise.
10650 (TLS): Likewise.
10651 (CTID): Likewise.
10652 (__clone): Do not use BP_SYM.
10653 (clone): Do not use BP_SYM in weak_alias.
10654 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10655 and <bp-asm.h>.
10656 (PARMS): Do not use macros from bp-asm.h.
10657 (LEN): Likewise.
10658 (__mmap64): Do not use BP_SYM.
10659 (mmap64): Do not use BP_SYM in weak_alias.
10660 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10661 <bp-sym.h> and <bp-asm.h>.
10662 (PARMS): Do not use macros from bp-asm.h.
10663 (__posix_fadvise64_l64): Do not use BP_SYM.
10664 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10665 (PARMS): Do not use macros from bp-asm.h.
10666 (NSOPS): Likewise.
10667 (semtimedop): Do not use BP_SYM.
10668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10669 and <bp-asm.h>.
10670
582a3cff
AM
106712013-02-21 Allan McRae <allan@archlinux.org>
10672
10673 * manual/message.texi (Charset conversion in gettext):
10674 Move @end statement to beginning of line.
10675
bab8a695
SP
106762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10677
80945231
SP
10678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10679 static.
10680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10681 Likewise.
10682
bab8a695
SP
10683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10684 (denorm): Likewise.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10687
e21d7aa7
AK
106882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10689
10690 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10691 tail-call to the resolved function if pltexit isn't needed.
10692
4c7a4263
SP
106932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10694
10695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10696 or Y being zero as being unlikely.
10697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10698 Likewise.
10699
41f49342
CD
107002013-02-20 Carlos O'Donell <carlos@redhat.com>
10701
10702 * manual/nss.texi (System Databases and Name Service Switch):
10703 Remove frobnicate @pxref.
10704
50022a93
TS
107052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10706
10707 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10708 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10709
08cbd996
PM
107102013-02-20 Petr Machata <pmachata@redhat.com>
10711
10712 * elf/elf.h (R_ARM_TARGET1): New macro.
10713 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10714 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10715 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10716 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10717 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10718 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10719 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10720 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10721 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10722 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10723 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10724 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10725 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10726 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10727 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10728 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10729 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10730 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10731 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10732 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10733 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10734 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10735 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10736 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10737 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10738 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10739 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10740 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10741 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10742 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10743 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10744 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10745 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10746 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10747 (R_ARM_THM_GOT_BREL12): Likewise.
10748 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10749 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10750 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10751 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10752 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10753 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10754 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10755 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10756 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10757
c7b275d6
TS
107582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10759
10760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10761 __attribute_used__ to __attribute__ ((unused)).
10762
20cd7fb3
SP
107632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10764
10765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10766 powerpc mpa.c.
10767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10768 comment formatting.
10769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10770
92945b52
JM
107712013-02-19 Joseph Myers <joseph@codesourcery.com>
10772
10773 [BZ #13550]
10774 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10775 Remove macro.
10776 (ENTER): Remove both macro definitions.
10777 (LEAVE): Likewise.
10778 (CHECK_BOUNDS_LOW): Likewise.
10779 (CHECK_BOUNDS_HIGH): Likewise.
10780 (CHECK_BOUNDS_BOTH): Likewise.
10781 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10782 (RETURN_BOUNDED_POINTER): Likewise.
10783 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10784 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10785 (POP_ERRNO_LOCATION_RETURN): Likewise.
10786 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10787 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10788 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10789 macros.
10790 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10791 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10792 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10793 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10794 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10795 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10796 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10797 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10798 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10799 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10800 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10801 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10802 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10803 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10804 removed macros.
10805 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10806 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10807 macros.
10808 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10809 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10810 * sysdeps/i386/i586/memset.S (memset): Likewise.
10811 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10812 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10813 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10814 macros.
10815 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10816 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10817 Change uses of L(2) to L(out).
10818 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10819 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10820 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10821 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10822 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10823 removed macros.
10824 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10825 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10826 macros.
10827 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10828 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10829 (RETURN): Do not use macro LEAVE.
10830 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10831 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10832 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10833 * sysdeps/i386/i686/memset.S (memset): Likewise.
10834 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10835 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10836 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10837 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10838 Likewise.
10839 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10840 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10841 L(1_2) and L(1_3) into L(1).
10842 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10843 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10846 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10847 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10848 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10849 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10850 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10851 macros.
10852 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10853 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10854 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10855 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10856 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10857 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10858 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10859 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10860 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10861 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10862 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10863 * sysdeps/i386/strspn.S (strspn): Likewise.
10864 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10865 conditional code.
10866 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10867 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10868 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10869 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10870 L(1_3) into L(1_1).
10871 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10872 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10873 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10874 macros.
10875 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10876
2389741a
JJ
108772013-02-19 Jakub Jelinek <jakub@redhat.com>
10878
10879 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10880 macro.
10881
2016b3cd
SP
108822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10883
e4f22324
SP
10884 * math/atest-exp.c (exp_mpn): Remove ROUND.
10885 * math/atest-exp2.c (exp_mpn): Likewise.
10886 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10887
2016b3cd
SP
10888 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10889 * stdlib/tst-tls-atexit-lib.c: Likewise.
10890 * stdlib/tst-tls-atexit.c: Likewise.
10891
4be9b544
MF
108922013-02-18 Mike Frysinger <vapier@gentoo.org>
10893
10894 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10895 and __attribute_alloc_size__.
10896
2f62b9ee
MF
108972013-02-18 Mike Frysinger <vapier@gentoo.org>
10898
10899 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10900 __attribute_alloc_size__.
10901 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10902 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10903
6ff444c4
MF
109042013-02-18 Mike Frysinger <vapier@gentoo.org>
10905
10906 * include/programs/xmalloc.h: New file.
10907 * catgets/gencat.c: Include it.
10908 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10909 * elf/pldd.c: Likewise.
10910 * iconv/iconv_charmap.c: Likewise.
10911 * iconv/iconvconfig.c: Likewise.
10912 * iconv/strtab.c: Likewise.
10913 * locale/programs/locale.c: Likewise.
10914 * locale/programs/localedef.h: Likewise.
10915 * locale/programs/simple-hash.c: Likewise.
10916 * nscd/nscd.h: Likewise.
10917 * nss/makedb.c: Likewise.
10918 * sysdeps/generic/ldconfig.h: Likewise.
10919
be179c8a
SP
109202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10921
ba384f6e
SP
10922 * Versions.def: Add GLIBC_2.18.
10923 * include/link.h (struct link_map): New member l_tls_dtor_count.
10924 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10925 (__call_tls_dtors): Likewise.
10926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10927 __cxa_thread_atexit_impl.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10931 Likewise.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10933 Likewise.
10934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10935 Likewise.
10936 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10938 Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10940 Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10943 Likewise.
10944 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10945 (tests): Add test case tst-tls-atexit.
10946 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10947 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10948 (GLIBC_PRIVATE): Add __call_tls_dtors.
10949 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10950 for libstdc++.
10951 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10952 * stdlib/tst-tls-atexit.c: New test case.
10953 * stdlib/tst-tls-atexit-lib.c: New test case.
10954
ffaa74cf 10955 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10956
be179c8a
SP
10957 * elf/Versions (ld): Add _dl_find_dso_for_object.
10958 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10959 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10960 (dl_open_worker): Use _dl_find_dso_for_object.
10961 * elf/dl-sym.c (do_sym): Likewise.
10962 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10963
f78b5caa
AK
109642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10965
10966 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10967 Syntactic changes only.
10968 (_dl_runtime_profile): Do a tail-call to the resolved function.
10969
29691210
JM
109702013-02-17 Joseph Myers <joseph@codesourcery.com>
10971
10972 [BZ #13550]
10973 * sysdeps/x86_64/bp-asm.h: Remove file.
10974 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10975 <bp-sym.h> and <bp-asm.h>.
10976 (__clone): Do not use BP_SYM.
10977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10978 <bp-sym.h> and <bp-asm.h>.
10979 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10980 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10981 "bp-asm.h".
10982 (_setjmp): Do not use BP_SYM.
10983 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10984 "bp-asm.h".
10985 (setjmp): Do not use BP_SYM.
10986 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10987 libc_hidden_def.
10988 (mempcpy): Do not use BP_SYM in weak_alias.
10989 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10990 "bp-asm.h".
10991 (strchr): Do not use BP_SYM.
10992 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10993 "bp-asm.h".
10994 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10995 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10996 (_start): Do not use BP_SYM.
10997 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10998 "bp-asm.h".
10999 (strcat): Do not use BP_SYM.
11000 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11001 "bp-asm.h".
11002 (STRCMP): Do not use BP_SYM.
11003 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11004 "bp-asm.h".
11005 (STRCPY): Do not use BP_SYM.
11006 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11007 "bp-asm.h".
11008 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11009 "bp-asm.h".
11010 (FUNCTION): Do not use BP_SYM.
11011 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11012 weak_alias.
11013 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11014
f238fd19
AJ
110152013-02-17 Andreas Jaeger <aj@suse.de>
11016
11017 * time/Versions: Sort entries.
11018 * string/Versions: Likewise.
11019 * resolv/Versions: Likewise.
11020 * posix/Versions: Likewise.
11021 * iconv/Versions: Likewise.
11022 * elf/Versions: Likewise.
11023 * wcsmbs/Versions: Likewise.
11024
bd07f23c 110252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11026
22af19f9
SP
11027 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11028 loop termination condition.
11029
4709fe76
SP
11030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11031 variable to calculate EZ.
11032 (__sqr): Likewise.
2d0e0f29
SP
11033
11034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11035 the lower precision input.
11036
daaa7713
JM
110372013-02-15 Joseph Myers <joseph@codesourcery.com>
11038
11039 [BZ #13550]
11040 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11041 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11042 (run-via-rtld-prefix): Do not handle %-bp tests.
11043 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11044 (all-object-suffixes): Remove .ob.
11045 (bppfx): Remove variable.
11046 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11047 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11048 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11049 [$(build-bounded) = yes] (libtype.ob): Likewise.
11050 * Makerules (elide-routines.ob): Remove variable.
11051 (do-tests-clean): Do not handle *-bp.out.
11052 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11053 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11054 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11055 (tests): Do not include $(tests-bp.out).
11056 (xtests): Do not include $(xtests-bp.out).
11057 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11058 [$(build-bounded) = yes] ($(addprefix
11059 $(objpfx),$(binaries-bounded))): Remove rule.
11060 ($(objpfx)%-bp.out): Remove rule.
11061 * config.make.in (build-bounded): Remove variable.
11062 * crypt/Makefile [$(build-bounded) = yes]
11063 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11064 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11065 append to variable.
11066 [$(build-bounded) = yes] (install-lib): Likewise.
11067 [$(build-bounded) = yes] (generated): Likewise.
11068 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11069 Remove rule.
11070 * intl/Makefile [$(build-bounded) = yes]
11071 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11072 * math/Makefile [$(build-bounded) = yes]
11073 ($(tests:%=$(objpfx)%-bp): Likewise.
11074 * misc/Makefile [$(build-bounded) = yes]
11075 ($(objpfx)tst-tsearch-bp): Likewise.
11076 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11077 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11078 Remove dependency.
11079 * string/Makefile (o-objects.ob): Remove variable.
11080 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11081 (CFLAGS-.ob): Remove variable.
11082 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11083 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11084 both definitions of variable.
11085 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11086 (ASFLAGS-.ob): Remove variable.
11087
e97ed6dd
JM
110882013-02-14 Joseph Myers <joseph@codesourcery.com>
11089
2bdd4ca6
JM
11090 [BZ #13550]
11091 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11092 Remove __BOUNDED_POINTERS__ from condition.
11093 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11094 * string/bits/string2.h [!__NO_STRING_INLINES &&
11095 !__BOUNDED_POINTERS__]: Likewise.
11096 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11097 Likewise.
11098 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11099 Remove conditional code.
11100 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11101 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11102 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11103 condition.
11104
e97ed6dd
JM
11105 [BZ #13550]
11106 * csu/libc-start.c: Do not include <bp-sym.h>.
11107 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11108 * elf/dl-open.c: Do not include <bp-sym.h>.
11109 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11110 * math/fegetenv.c: Do not include <bp-sym.h>.
11111 (fegetenv): Do not use BP_SYM in versioned symbols.
11112 * nptl/sysdeps/pthread/bits/libc-lockP.h
11113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11114 <bp-sym.h>.
11115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11116 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11118 (__pthread_mutex_destroy): Likewise.
11119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11120 (__pthread_mutex_lock): Likewise.
11121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11122 (__pthread_mutex_trylock): Likewise.
11123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11124 (__pthread_mutex_unlock): Likewise.
11125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11126 (__pthread_mutexattr_init): Likewise.
11127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11128 (__pthread_mutexattr_destroy): Likewise.
11129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11130 (__pthread_mutexattr_settype): Likewise.
11131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11132 (__pthread_rwlock_init): Likewise.
11133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11134 (__pthread_rwlock_destroy): Likewise.
11135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11136 (__pthread_rwlock_rdlock): Likewise.
11137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11138 (__pthread_rwlock_tryrdlock): Likewise.
11139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11140 (__pthread_rwlock_wrlock): Likewise.
11141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11142 (__pthread_rwlock_trywrlock): Likewise.
11143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11144 (__pthread_rwlock_unlock): Likewise.
11145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11146 (__pthread_key_create): Likewise.
11147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11148 (__pthread_setspecific): Likewise.
11149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11150 (__pthread_getspecific): Likewise.
11151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11152 Likewise.
11153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11154 (_pthread_cleanup_push_defer): Likewise.
11155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11156 (_pthread_cleanup_pop_restore): Likewise.
11157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11158 (pthread_setcancelstate): Likewise.
11159 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11160 <bp-sym.h>.
11161 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11162 (memchr): Do not use BP_SYM in weak_alias.
11163 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11164 (fegetenv): Do not use BP_SYM in versioned symbols.
11165 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11166 (fesetenv): Do not use BP_SYM in versioned symbols.
11167 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11168 (feupdateenv): Do not use BP_SYM in versioned symbols.
11169 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11170 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11171 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11172 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11173 (open64): Do not use BP_SYM in weak_alias.
11174 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11175 (fegetenv): Do not use BP_SYM in versioned symbols.
11176 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11177 (fesetenv): Do not use BP_SYM in versioned symbols.
11178 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11179 (feupdateenv): Do not use BP_SYM in versioned symbols.
11180 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11181 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11182 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11183 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11184 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11185 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11187 <bp-sym.h>.
11188 (__libc_start_main): Do not use BP_SYM.
11189
d6752ccd
SP
111902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11191
cb57ce60
SP
11192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11193 redundant return line.
11194 (norm): Likewise.
11195 (denorm): Likewise.
11196 (dbl_mp): Likewise.
11197 (sub_magnitudes): Likewise.
11198 (__add): Likewise.
11199 (__sub): Likewise.
11200 (__mul): Likewise.
11201 (__inv): Likewise.
11202 (__dvd): Likewise.
11203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11204 (norm): Likewise.
11205 (denorm): Likewise.
11206 (dbl_mp): Likewise.
11207 (sub_magnitudes): Likewise.
11208 (__add): Likewise.
11209 (__sub): Likewise.
11210 (__mul): Likewise.
11211 (__inv): Likewise.
11212 (__dvd): Likewise.
11213
f414520d
SP
11214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11215 instead of __mul.
11216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11218 (cc32): Likewise.
11219
d6752ccd
SP
11220 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11221 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11223 of __mul for squares.
11224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11225 function
11226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11227 Likewise.
11228 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11230
70d9946a
JM
112312013-02-13 Joseph Myers <joseph@codesourcery.com>
11232
11233 [BZ #13550]
11234 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11235 code.
11236 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11237 prototype or function definition. Rename ubp_* variables and
11238 parameters. Remove argv definitions conditional on
11239 [__BOUNDED_POINTERS__].
11240 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11241 * elf/dl-runtime.c (_dl_fixup): Likewise.
11242 * include/set-hooks.h (RUN_HOOK): Likewise.
11243 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11244 definition.
11245 * string/strcpy.c (strcpy): Do not use __unbounded.
11246 * sysdeps/generic/frame.h (struct layout): Likewise.
11247 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11248 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11249 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11250 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11251 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11252 (__backtrace): Likewise.
11253 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11254 use __ptrvalue.
11255 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11256 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11257 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11258 Likewise.
11259 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11260 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11261 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11262 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11263 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11264 Do not use __unbounded.
11265 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11266 Rename __unboundedrlimits parameter to rlimits in prototype.
11267 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11268 Do not use __unbounded.
11269 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11270 not use __ptrvalue.
11271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11272 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11273 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11274 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11275 __ptrvalue or __unbounded.
11276 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11277 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11278 use __unbounded.
11279 (__new_msgctl): Do not use __ptrvalue.
11280 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11281 __unbounded.
11282 (__libc_msgrcv): Do not use __ptrvalue.
11283 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11284 startup_info): Do not use __unbounded.
11285 (__libc_start_main): Likewise. Rename ubp_* variables and
11286 parameters. Remove argv definitions conditional on
11287 [__BOUNDED_POINTERS__].
11288 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11289 __ptrvalue.
11290 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11291 use __unbounded.
11292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11293 or __ptrvalue.
11294 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11295 use __unbounded.
11296 (__new_shmctl): Do not use __ptrvalue.
11297 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11298 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11299 Likewise.
11300 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11302 (__libc_sigaction): Likewise.
11303 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11305 Likewise.
11306 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11307
cc7834d6
OB
113082013-02-13 Ondřej Bílka <neleai@seznam.cz>
11309
ffb1ec7b 11310 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11311
11312 * string/mempcpy.c: Implement by calling memcpy.
11313
bdf02814
SP
113142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11315
c2af38aa
SP
11316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11317
4e92d59e
SP
11318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11319 evaluation.
11320
909279a5
SP
11321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11322 values in the mantissa.
11323
bdf02814
SP
11324 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11325 minimize writes to Z.
11326 (sub_magnitudes): Simplify code a bit.
11327
cd525923
RM
113282013-02-12 Roland McGrath <roland@hack.frob.com>
11329
11330 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11331 from the message. The linker prefixes all warnings with that already.
11332
7e2f0d2d
AS
113332013-02-12 Andreas Schwab <schwab@suse.de>
11334
a445af0b
AS
11335 [BZ #15078]
11336 * posix/regexec.c (extend_buffers): Add parameter min_len.
11337 (check_matching): Pass minimum needed length.
11338 (clean_state_log_if_needed): Likewise.
11339 (get_subexp): Likewise.
11340 * posix/Makefile (tests): Add bug-regex34.
11341 (bug-regex34-ENV): Define.
11342 * posix/bug-regex34.c: New file.
11343
7e2f0d2d
AS
11344 [BZ #11561]
11345 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11346 elements compare against the byte sequence of it, not its name.
11347 * posix/Makefile (tests): Add bug-regex35.
11348 (bug-regex35-ENV): Define.
11349 * posix/bug-regex35.c: New file.
11350
a175b684
TV
113512013-02-11 Tom de Vries <tom@codesourcery.com>
11352
11353 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11354 comment.
11355 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11356 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11357 (CHECK_EOL): Add undef.
11358
310998fe 113592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11360
11361 * bits/stdlib-bsearch.h: New file.
11362 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11363 * stdlib/stdlib.h: Likewise.
41eda41d 11364
8ded91fb
RM
113652013-02-11 Roland McGrath <roland@hack.frob.com>
11366
11367 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11368 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11369 declaration.
11370 * manual/search.texi (Array Search Function): Add missing const in
11371 lfind prototype.
11372 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11373 declaration to use rlim_t.
11374 (Basic Scheduling Functions): Remove erroneous const from
11375 sched_getparam prototype. Remove erroneous * from
11376 sched_get_priority_max and sched_get_priority_min prototypes.
11377 (Resource Usage): Fix summary @comment on vtimes to refer to
11378 sys/vtimes.h rather than vtimes.h.
11379 Add missing *s in vtimes prototype.
11380 (Limits on Resources): Fix ulimit prototype to return long int.
11381 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11382 prototypes to use long int rather than double.
11383 (BSD Random): Fix initstate and setstate to use char *, not void *.
11384 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11385 prototype to make second argument 'struct aiocb64 *const[]'.
11386 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11387 (Status of AIO Operations): Remove erroneous const in aio_return and
11388 aio_return64 prototypes.
11389 (Synchronizing I/O): Fix sync prototype to return void.
11390 * manual/startup.texi (Suboptions): Remove an erroneous const in
11391 getsubopt prototype.
11392 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11393 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11394 use size_t rather than int.
11395 (Scanning All Users): Likewise for getpwent_r.
11396 (Setting Groups): Add missing const to setgroups prototype.
11397 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11398 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11399 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11400 'const void *' rather than 'const char *'.
11401 (Host Address Functions): Likewise for inet_ntop.
11402 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11403 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11404 ssize_t for return value.
11405 (Sending Data): Likewise for send, sendto, sendmsg.
11406 (Socket Option Functions): Add a missing const in setsockopt prototype.
11407 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11408 use wchar_t for the argument.
11409 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11410 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11411 take no arguments.
11412 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11413 double/float/long double for second argument.
11414 Fix return types of significand, significandf, significandl.
11415 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11416 argument in fchmod prototype.
11417 (File Owner): Use uid_t and gid_t in fchown prototype.
11418 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11419 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11420 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11421 use 'const struct dirent **' as argument types to CMP function pointer
11422 argument.
11423 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11424 (File Times): Fix summary magic @comment for struct utimbuf and utime
11425 to refer to utime.h, not time.h.
11426 * manual/string.texi (Argz Functions): Add missing const in
11427 argz_extract and argz_next prototypes.
11428 (Finding Tokens in a String): Likewise for basename.
11429 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11430 (Copying and Concatenation): Fix typo in wmemmove prototype.
11431 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11432 (Signal Stack): Remove erroneous const in sigstack prototype.
11433 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11434 prototype.
11435 (Simple Calendar Time): Likewise for stime.
11436 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11437 prototype.
11438 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11439 say sys/sysctl.h instead.
11440 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11441 and vsyslog prototypes.
11442
fe77fe6d
TV
114432013-02-11 Tom de Vries <tom@codesourcery.com>
11444
11445 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11446 Remove.
11447
3a09b620
RM
114482013-02-11 Roland McGrath <roland@hack.frob.com>
11449
11450 * misc/sys/mman.h: Fix typo in mremap comment.
11451
550a0b89
RM
114522013-02-08 Roland McGrath <roland@hack.frob.com>
11453
11454 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11455 the '\0' terminator.
11456
a2da1673
JM
114572013-02-08 Joseph Myers <joseph@codesourcery.com>
11458
11459 [BZ #13550]
11460 * debug/segfault.c: Don't include <bp-checks.h>.
11461 * sysdeps/generic/bp-checks.h: Remove file.
11462 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11463 (__GETDENTS): Don't use CHECK_N.
11464 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11465 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11466 (__getgroups): Don't use CHECK_N.
11467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11468 (setgroups): Don't use CHECK_N.
11469 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11470 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11471 (__libc_msgrcv): Don't use CHECK_N.
11472 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11473 (__libc_msgsnd): Don't use CHECK_N.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11475 <bp-checks.h>.
11476 (__libc_pread): Don't use CHECK_N.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11478 include <bp-checks.h>.
11479 (__libc_pread64): Don't use CHECK_N.
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11481 include <bp-checks.h>.
11482 (__libc_pwrite): Don't use CHECK_N.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11484 include <bp-checks.h>.
11485 (__libc_pwrite64): Don't use CHECK_N.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11487 <bp-checks.h>.
11488 (__libc_pread): Don't use CHECK_N.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11490 include <bp-checks.h>.
11491 (__libc_pread64): Don't use CHECK_N.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11493 include <bp-checks.h>.
11494 (__libc_pwrite): Don't use CHECK_N.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11496 include <bp-checks.h>.
11497 (__libc_pwrite64): Don't use CHECK_N.
11498 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11499 (do_pread): Don't use CHECK_N.
11500 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11501 (do_pread64): Don't use CHECK_N.
11502 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11503 (do_pwrite): Don't use CHECK_N.
11504 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11505 (do_pwrite64): Don't use CHECK_N.
11506 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11507 (__libc_readv): Don't use CHECK_N.
11508 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11509 (semop): Don't use CHECK_N.
11510 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11511 <bp-checks.h>.
11512 (semtimedop): Don't use CHECK_N.
11513 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11514 (__libc_pread): Don't use CHECK_N.
11515 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11516 <bp-checks.h>.
11517 (__libc_pread64): Don't use CHECK_N.
11518 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11519 <bp-checks.h>.
11520 (__libc_pwrite): Don't use CHECK_N.
11521 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11522 <bp-checks.h>.
11523 (__libc_pwrite64): Don't use CHECK_N.
11524 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11525 <bp-checks.h>.
11526 (__libc_msgrcv): Don't use CHECK_N.
11527 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11528 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11529 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11530 (__libc_writev): Don't use CHECK_N.
11531
b84660a8
RM
115322013-02-08 Roland McGrath <roland@hack.frob.com>
11533
7f3e75f8
RM
11534 * string/strcpy.c: Removed unused variable.
11535
b84660a8
RM
11536 * Makeconfig (+sysdep-includes): Define with := rather than =.
11537 Use an existing include/ subdir of each sysdeps dir before it.
11538
471514d3
CD
115392013-02-08 Carlos O'Donell <carlos@redhat.com>
11540
11541 * nscd/connection.c (register_traced_file): Comment function.
11542 [HAVE_INOTIFY] (union __inev): Define.
11543 [HAVE_INOTIFY] (inotify_check_files): New function.
11544 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11545 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11546 clear_db_cache.
11547 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11548
b2d3c3be
CD
115492013-02-08 Carlos O'Donell <carlos@redhat.com>
11550
11551 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11552 loaded if not already and that a failure is permanent.
11553
b39949d2
CD
115542013-02-08 Carlos O'Donell <carlos@redhat.com>
11555
ddacd1db 11556 [BZ #15006]
b39949d2
CD
11557 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11558 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11559
b2c9eff4
JM
115602013-02-08 Joseph Myers <joseph@codesourcery.com>
11561
f3aae3f3
JM
11562 [BZ #13550]
11563 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11564 (CHECK_1_NULL_OK): Likewise.
11565 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11566 (__fxstat): Do not use CHECK_1.
11567 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11568 <bp-checks.h>.
11569 (___fxstat64): Do not use CHECK_1.
11570 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11571 <bp-checks.h>.
11572 (__fxstatat): Do not use CHECK_1.
11573 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11574 <bp-checks.h>.
11575 (__fxstatat64): Do not use CHECK_1.
11576 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11577 <bp-checks.h>.
11578 (__fxstat): Do not use CHECK_1.
11579 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11580 <bp-checks.h>.
11581 (__fxstatat): Do not use CHECK_1.
11582 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11583 <bp-checks.h>.
11584 (__getresgid): Do not use CHECK_1.
11585 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11586 <bp-checks.h>.
11587 (__getresuid): Do not use CHECK_1.
11588 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11589 <bp-checks.h>.
11590 (__lxstat): Do not use CHECK_1.
11591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11592 <bp-checks.h>.
11593 (__old_msgctl): Do not use CHECK_1.
11594 (__new_msgctl): Likewise.
11595 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11596 <bp-checks.h>.
11597 (__new_setrlimit): Do not use CHECK_1.
11598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11599 <bp-checks.h>.
11600 (__old_shmctl): Do not use CHECK_1.
11601 (__new_shmctl): Likewise.
11602 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11603 <bp-checks.h>.
11604 (__xstat): Do not use CHECK_1.
11605 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11606 (__lxstat): Do not use CHECK_1.
11607 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11608 <bp-checks.h>.
11609 (___lxstat64): Do not use CHECK_1.
11610 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11611 (__old_msgctl): Do not use CHECK_1.
11612 (__new_msgctl): Likewise.
11613 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11614 <bp-checks.h>.
11615 (__gettimeofday): Do not use CHECK_1.
11616 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11617 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11618 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11619 <bp-checks.h>.
11620 (__gettimeofday): Do not use CHECK_1.
11621 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11622 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11623 (__new_shmctl): Do not use CHECK_1.
11624 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11625 <bp-checks.h>.
11626 (do_sigtimedwait): Do not use CHECK_1.
11627 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11628 <bp-checks.h>.
11629 (do_sigwaitinfo): Do not use CHECK_1.
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11631 <bp-checks.h>.
11632 (msgctl): Do not use CHECK_1.
11633 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11634 <bp-checks.h>.
11635 (shmctl): Do not use CHECK_1.
11636 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11637 (ustat): Do not use CHECK_1.
11638 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11639 <bp-checks.h>.
11640 (__fxstat): Do not use CHECK_1.
11641 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11642 <bp-checks.h>.
11643 (__fxstatat): Do not use CHECK_1.
11644 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11645 <bp-checks.h>.
11646 (__lxstat): Do not use CHECK_1.
11647 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11648 <bp-checks.h>.
11649 (__xstat): Do not use CHECK_1.
11650 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11651 (__xstat): Do not use CHECK_1.
11652 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11653 (___xstat64): Do not use CHECK_1.
11654
b2c9eff4
JM
11655 [BZ #13550]
11656 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11657 definitions.
11658 (CHECK_BOUNDS_HIGH): Likewise.
11659 * string/strcpy.c: Do not include <bp-checks.h>.
11660 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11661
f1d70dad
RM
116622013-02-07 Roland McGrath <roland@hack.frob.com>
11663
11664 * nscd/nscd-client.h (__nscd_drop_map_ref):
11665 Add __attribute__ ((unused)).
11666 * nis/nss-nisplus.h (niserr2nss): Likewise.
11667
11668 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11669 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11670
11671 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11672 Remove inline keyword.
11673 * include/rounding-mode.h (round_away): Likewise.
11674 * libio/wfileops.c (adjust_wide_data): Likewise.
11675 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11676 (__m128i_strloadu_tolower): Likewise.
11677 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11678 (__m128i_strloadu_tolower): Likewise.
11679 * time/mktime.c (ydhms_diff): Likewise.
11680 * locale/elem-hash.h (elem_hash): Likewise.
11681 * locale/setlocale.c (setdata): Likewise.
11682 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11683 (re_string_wchar_at): Likewise.
11684 (bitset_not, bitset_merge, bitset_mask): Likewise.
11685 [!(__GNUC__ > 3)] (inline): Remove macro.
11686 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11687 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11688 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11689 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11690 * string/memcmp.c (memcmp_bytes): Likewise.
11691 * locale/programs/locarchive.c (compute_hashval): Likewise.
11692 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11693 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11694 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11695 * nss/getent.c (print_rpc, print_protocols): Likewise.
11696 (print_passwd, print_group, print_aliases): Likewise.
11697 * nis/nss-nisplus.h (niserr2nss): Likewise.
11698 * nscd/connections.c (restart_p): Likewise.
11699 Change return type to bool.
11700
eab55bfb
RM
117012013-02-05 Roland McGrath <roland@hack.frob.com>
11702
7bd642f5
RM
11703 * Makeconfig (all-Depend-files): Add existing
11704 $(sorted-subdirs:=/Depend) files.
11705 (all-subdirs): Remove nss.
11706 * sysdeps/unix/inet/Subdirs: Add it here instead.
11707 * hesiod/Depend: New file.
11708
573c29b2
RM
11709 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11710 instead of calling alloca.
11711
b2e25af0
RM
11712 * io/lseek.c (__lseek): Rename to __libc_lseek.
11713 Define __lseek as an alias.
11714
eab55bfb
RM
11715 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11716
9a0d1941
CD
117172013-02-04 Carlos O'Donell <carlos@redhat.com>
11718
11719 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11720 else clause and remove check for non-standard endianness.
11721
b83bbec4
DM
117222013-02-04 David S. Miller <davem@davemloft.net>
11723
11724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11725
6277fdab
JM
117262013-02-04 Joseph Myers <joseph@codesourcery.com>
11727
11728 [BZ #13550]
11729 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11730 (__ubp_memchr): Remove prototype.
11731 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11732 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11733 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11734 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11735 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11736 Remove alias.
11737 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11738 (__ubp_memchr): Likewise.
11739 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11740 (__ubp_memchr): Likewise.
11741 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11742 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11743 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11744 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11745 CHECK_STRING.
11746 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11747 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11748 (__getcwd): Do not use CHECK_STRING.
11749 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11750 <bp-checks.h>.
11751 (__real_chown): Do not use CHECK_STRING.
11752 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11753 <bp-checks.h>.
11754 (fchownat): Do not use CHECK_STRING.
11755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11756 CHECK_STRING.
11757 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11758 <bp-checks.h>.
11759 (__lchown): Do not use CHECK_STRING.
11760 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11761 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11762 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11763 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11765 include <bp-checks.h>.
11766 (truncate64): Do not use CHECK_STRING.
11767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11768 <bp-checks.h>.
11769 (__real_chown): Do not use CHECK_STRING.
11770 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11771 <bp-checks.h>.
11772 (__lchown): Do not use CHECK_STRING.
11773 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11774 <bp-checks.h>.
11775 (__chown): Do not use CHECK_STRING.
11776 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11777 <bp-checks.h>.
11778 (truncate64): Do not use CHECK_STRING.
11779 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11780 Likewise.
11781 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11782 (__xmknod): Do not use CHECK_STRING.
11783 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11784 <bp-checks.h>.
11785 (__xmknodat): Do not use CHECK_STRING.
11786 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11787 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11788
903ae060
AS
117892013-02-04 Andreas Schwab <schwab@suse.de>
11790
11791 [BZ #14142]
11792 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11793 * include/netdb.h: Likewise for h_errno.
11794 * elf/tst-stackguard1.c: Include <tls.h>.
11795
542f9466
JK
117962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11797
11798 * elf/link.h (struct link_map): Extend the l_addr comment.
11799 * include/link.h (struct link_map): Likewise.
11800
e782a927
JM
118012013-02-01 Joseph Myers <joseph@codesourcery.com>
11802
11803 [BZ #13550]
11804 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11805 (BOUNDED_1): Remove macro.
11806 * debug/backtrace.c: Don't include <bp-checks.h>.
11807 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11808 (__backtrace): Likewise.
11809 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11810 <bp-checks.h>.
11811 (__backtrace): Don't use BOUNDED_1.
11812 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11813 <bp-checks.h>.
11814 (__backtrace): Don't use BOUNDED_1.
11815 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11816 (__backtrace): Don't use BOUNDED_1.
11817 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11818 (shmat): Don't use BOUNDED_N.
11819
8cf28c5e
JM
118202013-01-31 Joseph Myers <joseph@codesourcery.com>
11821
3a7ac8a0
JM
11822 [BZ #13550]
11823 * sysdeps/generic/bp-start.h: Remove file.
11824 * csu/libc-start.c: Don't include <bp-start.h>.
11825 (LIBC_START_MAIN): Set up __environ directly instead of using
11826 INIT_ARGV_and_ENVIRON.
11827 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11828 <bp-start.h>.
11829
f3499f95
JM
11830 [BZ #13550]
11831 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11832 definitions.
11833 (CHECK_FCNTL): Likewise.
11834 (CHECK_N_PAGES): Likewise.
11835
32a45bea
JM
11836 [BZ #13550]
11837 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11838 definitions.
11839 (CHECK_SIGSET_NULL_OK): Likewise.
11840 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11841 <bp-checks.h>.
11842 (sigpending): Don't use CHECK_SIGSET.
11843 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11844 <bp-checks.h>.
11845 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11846 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11847 <bp-checks.h>.
11848 (do_sigsuspend): Don't use CHECK_SIGSET.
11849 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11850 use CHECK_SIGSET.
11851 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11852 (do_sigwait): Don't use CHECK_SIGSET.
11853 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11854 use CHECK_SIGSET.
11855 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11856 include <bp-checks.h>.
11857 (sigpending): Don't use CHECK_SIGSET.
11858 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11859 include <bp-checks.h>.
11860 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11861 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11862 <bp-checks.h>.
11863 (sigpending): Don't use CHECK_SIGSET.
11864 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11865 <bp-checks.h>.
11866 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11867
2e8a5c8c
JM
11868 [BZ #13550]
11869 * sysdeps/generic/bp-semctl.h: Remove file.
11870 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11871 <bp-checks.h> and <bp-semctl.h>.
11872 (__old_semctl): Don't use CHECK_SEMCTL.
11873 (__new_semctl): Likewise.
11874 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11875 and <bp-semctl.h>.
11876 (__old_semctl): Don't use CHECK_SEMCTL.
11877 (__new_semctl): Likewise.
11878 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11879 <bp-checks.h> and <bp-semctl.h>.
11880 (__old_semctl): Don't use CHECK_SEMCTL.
11881 (__new_semctl): Likewise.
11882 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11883 <bp-checks.h> and <bp-semctl.h>.
11884 (semctl): Don't use CHECK_SEMCTL.
11885
c2d54929
JM
11886 [BZ #13550]
11887 * Makerules (elide-bp-thunks): Remove variable.
11888 (elide-routines.oS): Don't use $(elide-bp-thunks).
11889 (elide-routines.os): Likewise.
11890 (elide-routines.o): Likewise.
11891 (elide-routines.op): Likewise.
11892 (elide-routines.og): Likewise.
11893 (objects): Don't use $(bp-thunks).
11894 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11895 include.
11896 (common-generated): Do not add s-proto-bp.d.
11897 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11898 (int): Likewise.
11899 (typ): Likewise.
11900 Do not generate makefile rules for bounded-pointer thunks.
11901 * sysdeps/generic/bp-thunks.h: Remove file.
11902 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11903 * sysdeps/unix/s-proto-bp.S: Likewise.
11904
8cf28c5e
JM
11905 [BZ #15062]
11906 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11907 parts of result separately when argument is not close to line from
11908 -i to i and one part of argument is small.
11909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11911 * math/libm-test.inc (cacos_test): Add more tests.
11912 (casin_test): Likewise.
11913 (casinh_test): Likewise.
11914 * sysdeps/i386/fpu/libm-test-ulps: Update.
11915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11916
c4e33b8d
DM
119172013-01-31 David S. Miller <davem@davemloft.net>
11918
11919 * po/de.po: Update from translation team.
11920
3b60b421
MK
119212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11922
11923 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11924
bb931195
TS
119252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11926
b5a5da23
TS
11927 * configure.in (_AC_PROG_CC_C89): New definition.
11928 * configure: Regenerate.
11929
bb931195
TS
11930 * configure.in (AC_PROG_CPP): New definition.
11931 * configure: Regenerate.
11932
8c53a12c
JM
119332013-01-23 Joseph Myers <joseph@codesourcery.com>
11934
11935 * debug/tst-backtrace.h: New file.
11936 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11937 (ret): Remove variable.
11938 (x): Likewise.
11939 (FAIL): Remove macro.
11940 (NO_INLINE): Likewise.
11941 (fn1): Use match function instead of strstr.
11942 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11943 (ret): Remove variable.
11944 (x): Likewise.
11945 (FAIL): Remove macro.
11946 (NO_INLINE): Likewise.
11947 (fn): Use match function instead of strstr.
11948 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11949 (ret): Remove variable.
11950 (x): Likewise.
11951 (FAIL): Remove macro.
11952 (NO_INLINE): Likewise.
11953 (handle_signal): Use match function instead of strstr.
11954 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11955 (ret): Remove variable.
11956 (x): Likewise.
11957 (FAIL): Remove macro.
11958 (NO_INLINE): Likewise.
11959 (handle_signal): Use match function instead of strstr.
11960
4858fa2a
RM
119612013-01-23 Roland McGrath <roland@hack.frob.com>
11962
11963 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11964
bae8e7f5
DM
119652013-01-23 David S. Miller <davem@davemloft.net>
11966
11967 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11968 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11969 argument of CAS if possible.
11970 * sysdeps/sparc/sparc64/bits/atomic.h
11971 (__arch_compare_and_exchange_val_32_acq): Likewise.
11972 (__arch_compare_and_exchange_val_64_acq): Likewise.
11973
9cbbc4ae
PT
119742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11975
11976 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11977 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11978 Include <limits.h>.
67b3f58c 11979 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11980
5655a0b5
AC
119812013-01-23 Adam Conrad <adconrad@0c3.net>
11982
11983 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11984 (LDFLAGS-tst-array5): Likewise.
11985
052aff95
JM
119862013-01-23 Joseph Myers <joseph@codesourcery.com>
11987
11988 [BZ #15036]
11989 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11990 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11991 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11992 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11993
7c1e01aa
DM
119942013-01-21 David S. Miller <davem@davemloft.net>
11995
11996 * sysdeps/sparc/backtrace.c: New file.
11997 * sysdeps/sparc/sparc32/backtrace.h: New file.
11998 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11999 * sysdeps/sparc/sparc64/backtrace.h: New file.
12000 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12001 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12002 -funwind-tables.
12003
ab087e0a
AS
120042013-01-21 Andreas Schwab <schwab@suse.de>
12005
12006 [BZ #15020]
12007 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12008 closed its stdout.
12009
ed689c2f
AS
120102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12011
12012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12013 "mpa2.h".
12014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12015
31d470ac
JM
120162013-01-18 Joseph Myers <joseph@codesourcery.com>
12017 Mark Mitchell <mark@codesourcery.com>
12018 Tom de Vries <tom@codesourcery.com>
12019 Paul Pluzhnikov <ppluzhnikov@google.com>
12020
12021 * debug/tst-backtrace2.c: New file.
12022 * debug/tst-backtrace3.c: Likewise.
12023 * debug/tst-backtrace4.c: Likewise.
12024 * debug/tst-backtrace5.c: Likewise.
12025 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12026 (CFLAGS-tst-backtrace3.c): Likewise.
12027 (CFLAGS-tst-backtrace4.c): Likewise.
12028 (CFLAGS-tst-backtrace5.c): Likewise.
12029 (LDFLAGS-tst-backtrace2): Likewise.
12030 (LDFLAGS-tst-backtrace3): Likewise.
12031 (LDFLAGS-tst-backtrace4): Likewise.
12032 (LDFLAGS-tst-backtrace5): Likewise.
12033 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12034 tst-backtrace4 and tst-backtrace5.
12035
90567f30 120362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12037 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12038
12039 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12040 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12042 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12044 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12045 "+r" and remove output regs list as redundant. Add explicit inline
12046 asm to specify register of return val to work around compiler codegen
12047 bug. Remove (int) cast on return value. Add return type parameter to
12048 use in macro so that this macro does not truncate return value for
12049 64-bit values.
12050 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12051 pass to INTERNAL_VSYSCALL_NCS.
12052 (INLINE_VSYSCALL): Add 'long int' as return type to
12053 INTERNAL_VSYSCALL_NCS macro invocation.
12054 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12055 INTERNAL_VSYSCALL_NCS macro invocation.
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12057
d3b9ea61
SP
120582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12059
0b57daeb
SP
12060 [BZ #14496]
12061 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12062 Fix application of SIMD FP exception mask.
12063
caa99d06
SP
12064 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12065 mp_no from a power of two.
12066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12067 __mpexp_twomm1. Use __pow_mp.
12068
d3b9ea61
SP
12069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12070 multiplication.
12071
1dbaee3c
DM
120722013-01-17 David S. Miller <davem@davemloft.net>
12073
12074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12075
728d7b43
JM
120762013-01-17 Joseph Myers <joseph@codesourcery.com>
12077
12078 [BZ #15023]
12079 * include/complex.h: Condition contents on [!_COMPLEX_H].
12080 (__kernel_casinhf): New prototype.
12081 (__kernel_casinh): Likewise.
12082 (__kernel_casinhl): Likewise.
12083 * math/Makefile (libm_calls): Add k_casinh.
12084 * math/k_casinh.c: New file.
12085 * math/k_casinhf.c: Likewise.
12086 * math/k_casinhl.c: Likewise.
12087 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12088 finite nonzero arguments.
12089 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12090 finite nonzero arguments.
12091 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12092 finite nonzero arguments.
12093 * math/s_casinh.c: Do not include <float.h>.
12094 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12095 * math/s_casinhf.c: Do not include <float.h>.
12096 (__casinhf): Move code for finite nonzero arguments to
12097 k_casinhf.c.
12098 * math/s_casinhl.c: Do not include <float.h>.
12099 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12100 redefine.
12101 (__casinhl): Move code for finite nonzero arguments to
12102 k_casinhl.c.
12103 * math/libm-test.inc (cacos_test): Add more tests.
12104 * sysdeps/i386/fpu/libm-test-ulps: Update.
12105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106
2a26ef3a
PT
121072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12108
12109 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12110 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12111 [!HAVE_MREMAP]: Remove [defined linux] case.
12112 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12113
a897655d
SP
121142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12115
12116 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12117
881ebe89 121182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12119
12120 * elf/elf.h (R_386_SIZE32): New relocation.
12121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12122 R_386_SIZE32.
12123 (elf_machine_rela): Likewise.
12124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12125 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12126
59981e9b
JM
121272013-01-17 Joseph Myers <joseph@codesourcery.com>
12128
12129 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12130 (FP_FAST_FMA): Do not define.
12131 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12132 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12133 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12134 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12135 !_SOFT_FLOAT]: Likewise.
12136 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12138 value.
12139 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12140 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12141 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12143 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12144 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12145 file.
12146
cfa8054f
AS
121472013-01-16 Andreas Schwab <schwab@suse.de>
12148
12149 [BZ #14327]
12150 * include/stdlib.h (__mktemp): Add declaration.
12151 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12152 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12153
dd930cc5
SP
121542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12155
881ebe89
SP
12156 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12157 definitions.
12158 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12159 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12160 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12161 definitions here.
12162 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12163 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12164 definitions.
12165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12166 and ONE.
12167 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12168 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12170 definitions.
12171 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12172 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12173 definitions.
12174 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12175
dd930cc5
SP
12176 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12177
c19a9f89
DM
121782013-01-15 David S. Miller <davem@davemloft.net>
12179
1aa61767
DM
12180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12181 trunc{,f} to libm-sysdep_routes.
12182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12184 file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12187 file.
12188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12189 file.
12190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12192 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12193 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12194 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12195 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12196 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12197 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12198
c42d5e98
DM
12199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12200 nearbyint{,f} to libm-sysdep_routes.
12201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12203 New file.
12204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12205 file.
12206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12207 New file.
12208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12209 file.
12210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12212 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12213 file.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12216 file.
12217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12218 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12219 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12220
c19a9f89
DM
12221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12222 libc_feholdexcept and libc_fesetenv.
12223
357679d2
MF
122242013-01-15 Mike Frysinger <vapier@gentoo.org>
12225
12226 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12227
65a82e3d
DM
122282013-01-14 David S. Miller <davem@davemloft.net>
12229
8b954ab9
DM
12230 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12231 (SPARC_ASM_VIS2_IFUNC): Likewise.
12232 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12234 use of 'siam' instruction.
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12236 Likewise.
12237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12238 Likewise.
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12240 Likewise.
12241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12246 file.
12247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12248 file.
12249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12250 file.
12251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12252 file.
12253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12258 new VIS2 routines.
12259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12262 Likewise.
12263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12268 routines to libm-sysdep_routines.
12269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12270
65a82e3d
DM
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12272 fdim/fdimf to libm-sysdep_routines.
12273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12274 file.
12275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12277 file.
12278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12281 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12282 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12283 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12284 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12285
e34ab705
SP
122862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12287
2a91b573
SP
12288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12289 to optimize copies.
12290
1066a534
SP
12291 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12294
e34ab705
SP
12295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12296 local variable MPTWO.
12297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12298 Likewise.
12299
aba5e596
MF
123002013-01-13 Mike Frysinger <vapier@gentoo.org>
12301
12302 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12303 GLOB_NOESCAPE.
12304
e557e9e5
MF
123052013-01-13 Mike Frysinger <vapier@gentoo.org>
12306
12307 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12308
0428cec9
MF
123092013-01-13 Mike Frysinger <vapier@gentoo.org>
12310
12311 * manual/pattern.texi (glob_t): Document gl_flags.
12312 (glob64_t): Likewise.
12313
8794a964
DM
123142013-01-11 David S. Miller <davem@davemloft.net>
12315
66438c3f
RM
12316 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12317 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12318 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12319 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12320 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12321 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12322 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12323 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12324 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12325 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12326 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12327 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12328 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12329
4ae4244d
DM
12330 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12331 sparc V9 rather than using V8 code.
12332 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12333 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12334
8794a964
DM
12335 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12336 Move to...
12337 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12338 Here.
12339
6270516e
RM
123402013-01-11 Roland McGrath <roland@hack.frob.com>
12341
12342 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12343 not in the main loop.
12344 * configure: Regenerated.
12345
6a57d931
JM
123462013-01-11 Joseph Myers <joseph@codesourcery.com>
12347
12348 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12349 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12350 to just #else.
12351 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12352 [!__GLIBC_HAVE_LONG_LONG] case.
12353 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12354 condition to just #else.
12355 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12356 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12357 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12358 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12359 unconditional.
12360 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12361 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12362 #elif condition to just #else.
12363 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12364 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12365 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12366 #elif condition to just #else.
12367
0e8529e9
SE
123682013-01-11 Steve Ellcey <sellcey@mips.com>
12369
12370 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12371 (EF_MIPS_ARCH_64): Fix value.
12372 (EF_MIPS_ARCH_32R2): New.
12373 (EF_MIPS_ARCH_64R2): New.
12374
740b3dbe
L
123752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * Makeconfig (+link-pie-before-libc): New.
12378 (+link-pie-after-libc): Likewise.
12379 (+link-pie-tests): Likewise.
12380 (+link-pie): Rewritten.
12381 (link-before-libc): Remove $(config-LDFLAGS).
12382 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12383 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12384 (config-LDFLAGS): Renamed to ...
12385 (rtld-LDFLAGS): This.
12386 (rtld-tests-LDFLAGS): New macro.
12387 (link-libc-rpath-link): Likewise.
12388 (link-libc-tests-rpath-link): Likewise.
12389 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12390 (link-libc): Prepand $(link-libc-rpath-link).
12391 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12392 (test-program-prefix): New macro.
12393 (test-via-rtld-prefix): Likewise.
12394 (test-program-cmd): Likewise.
12395 (host-test-program-cmd): Likewise.
12396 * Makefile ($(common-objpfx)testrun.sh): Replace
12397 $(run-program-prefix) with $(test-program-prefix).
12398 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12399 $(rtld-LDFLAGS).
12400 ($(common-objpfx)shlib.lds): Likewise.
12401 (build-module-helper): Likewise.
12402 ($(common-objpfx)format.lds): Likewise.
12403 * Rules (binaries-pie-tests): New.
12404 (binaries-pie-notests): Likewise.
12405 (binaries-pie): Rewritten.
12406 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12407 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12408 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12409 (make-test-out): Replace $(host-built-program-cmd) with
12410 $(host-test-program-cmd).
12411 * config.make.in (build-hardcoded-path-in-tests): New variable.
12412 * configure.in (--enable-hardcoded-path-in-tests): New configure
12413 option.
12414 (hardcoded_path_in_tests): New AC_SUBST.
12415 * configure: Regenerated.
12416 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12417 $(built-program-cmd) with $(test-program-cmd).
12418 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12419 (test_program_cmd): This.
12420 * elf/Makefile ($(objpfx)order.out): Run test with
12421 $(test-program-prefix).
12422 ($(objpfx)order2.out): Likewise.
12423 ($(objpfx)tst-initorder.out): Likewise.
12424 ($(objpfx)tst-initorder2.out): Likewise.
12425 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12426 $(test-program-cmd).
12427 ($(objpfx)tst-array1-static.out): Likewise.
12428 ($(objpfx)tst-array2.out): Likewise.
12429 ($(objpfx)tst-array3.out): Likewise.
12430 ($(objpfx)tst-array4.out): Likewise.
12431 ($(objpfx)tst-array5.out): Likewise.
12432 ($(objpfx)tst-array5-static.out): Likewise.
12433 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12434 $(test-program-cmd).
12435 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12436 $(run-program-prefix) with $(test-program-prefix).
12437 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12438 (test_program_prefix): This.
12439 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12440 $(run-program-prefix) with $(test-program-prefix).
12441 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12442 (test_program_prefix): This.
12443 * iconvdata/tst-tables.sh: Likewise.
12444 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12445 $(run-program-prefix) with $(test-program-prefix).
12446 ($(objpfx)tst-translit.out): Likewise.
12447 ($(objpfx)tst-gettext2.out): Likewise.
12448 ($(objpfx)tst-gettext4.out): Likewise.
12449 ($(objpfx)tst-gettext6.out): Likewise.
12450 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12451 (test_program_prefix): This.
12452 * intl/tst-gettext2.sh: Likewise.
12453 * intl/tst-gettext4.sh Likewise.
12454 * intl/tst-gettext6.sh: Likewise.
12455 * intl/tst-translit.sh: Likewise.
12456 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12457 with $(test-program-cmd).
12458 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12459 $(run-program-prefix) with $(test-program-prefix).
12460 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12461 (test_program_prefix): This.
12462 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12463 $(run-program-prefix) with $(test-program-prefix).
12464 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12465 (test_program_prefix): This.
12466 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12467 * posix/Makefile ($(objpfx)globtest.out): Replace
12468 $(run-via-rtld-prefix) and $(test-wrapper) with
12469 $(test-program-prefix) and $(test-via-rtld-prefix).
12470 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12471 $(test-program-prefix).
12472 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12473 $(host-test-program-cmd).
12474 (tst-spawn-ARGS): Likewise.
12475 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12476 $(test-program-prefix).
12477 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12478 (test_via_rtld_prefix): This.
12479 (test_wrapper): Renamed to ...
12480 (test_program_prefix): This.
12481 (run_program_prefix): Replaced by test_program_prefix.
12482 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12483 (test_program_prefix): This.
12484 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12485 with $(host-test-program-cmd).
12486 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12487 $(run-program-prefix) with $(test-program-prefix).
12488 ($(objpfx)tst-printf.out): Likewise.
12489 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12490 $(test-program-cmd).
12491 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12492 (test_program_prefix): This.
12493 * stdio-common/tst-unbputc.sh: Likewise.
12494 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12495 $(run-program-prefix) with $(test-program-prefix).
12496 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12497 (test_program_prefix): This.
12498 * string/Makefile ($(objpfx)tst-svc.out): Replace
12499 $(built-program-cmd) with $(test-program-cmd).
12500
c6fe55cf
AJ
125012013-01-11 Andreas Jaeger <aj@suse.de>
12502
12503 [BZ #15003]
12504 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12505 value. Sync with Linux 3.7.
12506
9e6919c8
DM
125072013-01-10 David S. Miller <davem@davemloft.net>
12508
12509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12510 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12511 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12512
1c9f1a02
RM
125132013-01-10 Roland McGrath <roland@hack.frob.com>
12514
12515 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12516 never set.
12517 * configure: Regenerated.
12518
b9de2dde
DM
125192013-01-10 David S. Miller <davem@davemloft.net>
12520
12521 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12522 sparc V9 rather than using V8 code.
12523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12525
e7f68ef4
RM
125262013-01-10 Roland McGrath <roland@hack.frob.com>
12527
12528 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12529 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12530 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12531 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12532 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12533 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12534 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12535 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12536 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12537 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12538 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12539 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12540 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12541 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12542 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12543 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12544 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12545 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12546 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12547 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12548 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12549 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12550 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12551 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12552 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12553 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12554 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12555
5a47cc9c
DM
125562013-01-10 David S. Miller <davem@davemloft.net>
12557
12558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12559
4cf8f209
L
125602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 * posix/Makefile (tests-static): New variable.
12563 (tests): Add $(tests-static).
12564 (tst-exec-static-ARGS): New variable.
12565 (tst-spawn-static-ARGS): Likewise.
12566 * posix/tst-exec-static.c: New file.
12567 * posix/tst-spawn-static.c: Likewise.
12568 * posix/tst-exec.c: Support run directly.
12569 * posix/tst-spawn.c: Likewise.
12570
fed0faa1
JM
125712013-01-10 Joseph Myers <joseph@codesourcery.com>
12572
828beb13
JM
12573 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12574 long.
12575 * math/bits/mathcalls.h (llrint): Likewise.
12576 (llround): Likewise.
12577 * stdlib/stdlib.h (struct drand48_data): Likewise.
12578 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12579 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12581 Likewise.
12582 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12583 Likewise.
12584 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12585 (elf_greg_t): Likewise.
12586 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12587 (__jmp_buf): Likewise.
12588 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12589 definitions.
12590 (llrint): Likewise, for all definitions.
12591 (llrintl): Likewise.
12592
fed0faa1
JM
12593 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12594 Remove [__GNUC__] condition.
12595 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12596 condition to just [__USE_ISOC99].
12597 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12598
1a20cb20
L
125992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12600
12601 [BZ #14200]
12602 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12603 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12604 defined.
12605 (_POSIX_V6_ILP32_OFF32): Likewise.
12606 (_XBS5_ILP32_OFF32): Likewise.
12607 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12608 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12609
751b85f7
SP
126102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
7490eb81
SP
12612 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12613
751b85f7
SP
12614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12615 doubles __mpexp_twomm1. Adjust usage.
12616 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12617 Remove.
12618
988197f0
AS
126192013-01-10 Andreas Schwab <schwab@suse.de>
12620
12621 [BZ #14964]
12622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12623 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12624
e83d7298
DM
126252013-01-09 David S. Miller <davem@davemloft.net>
12626
034ed64b 12627 [BZ #15003]
e83d7298
DM
12628 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12629 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12630 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12631 TCP_FASTOPEN): Define.
12632 (tcp_repair_opt): New structure.
12633 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12634 enum values.
12635 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12636 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12637 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12638 (tcp_cookie_transactions): New structure.
12639
d5e0b9bd
AB
126402013-01-09 Anton Blanchard <anton@samba.org>
12641
12642 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12646
0c07e3ea
JM
126472013-01-09 Joseph Myers <joseph@codesourcery.com>
12648
12649 * include/features.h (__USE_ANSI): Remove.
12650
232f7002
RM
126512013-01-09 Roland McGrath <roland@hack.frob.com>
12652
ad98e30c
RM
12653 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12654
232f7002
RM
12655 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12656
950c99ca
SP
126572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12658
b5792741
SP
12659 * sysdeps/s390/fpu/libm-test-ulps: Update.
12660
47cf2278
SP
12661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12662
950c99ca
SP
12663 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12664 (__acr): Likewise.
12665 (__cpy): Likewise.
12666 (norm): Likewise.
12667 (denorm): Likewise.
12668 (__mp_dbl): Likewise.
12669 (__dbl_mp): Likewise.
12670 (add_magnitudes): Likewise.
12671 (sub_magnitudes): Likewise.
12672 (__add): Likewise.
12673 (__sub): Likewise.
12674 (__mul): Likewise.
12675 (__inv): Likewise.
12676 (__dvd): Likewise.
12677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12678 (__acr): Likewise.
12679 (__cpy): Likewise.
12680 (norm): Likewise.
12681 (denorm): Likewise.
12682 (__mp_dbl): Likewise.
12683 (__dbl_mp): Likewise.
12684 (add_magnitudes): Likewise.
12685 (sub_magnitudes): Likewise.
12686 (__add): Likewise.
12687 (__sub): Likewise.
12688 (__mul): Likewise.
12689 (__inv): Likewise.
12690 (__dvd): Likewise.
12691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12692 (__acr): Likewise.
12693 (__cpy): Likewise.
12694 (norm): Likewise.
12695 (denorm): Likewise.
12696 (__mp_dbl): Likewise.
12697 (__dbl_mp): Likewise.
12698 (add_magnitudes): Likewise.
12699 (sub_magnitudes): Likewise.
12700 (__add): Likewise.
12701 (__sub): Likewise.
12702 (__mul): Likewise.
12703 (__inv): Likewise.
12704 (__dvd): Likewise.
12705
eede9df9
JM
127062013-01-08 Joseph Myers <joseph@codesourcery.com>
12707
12708 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12709 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12710 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12711 2 && __USE_EXTERN_INLINES]: Likewise.
12712
c40ea3d9
AJ
127132013-01-08 Andreas Jaeger <aj@suse.de>
12714
12715 [BZ# 14985]
12716 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12717 Remove.
12718 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12719 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12720
2ccdea26
AB
127212013-01-07 Anton Blanchard <anton@samba.org>
12722
12723 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12724 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12725 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12726 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12727 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12728 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12729 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12730 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12733 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12736 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12738 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12743 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12746 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12747 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12748 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12750 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12752 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12753 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12755 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12756 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12757 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12758 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12765 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12766
a9708fed
JM
127672013-01-07 Joseph Myers <joseph@codesourcery.com>
12768
375607b9
JM
12769 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12770 (__MALLOC_PMT): Likewise.
12771 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12772 [__GNUC__], only on [_LIBC].
12773 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12774 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12775 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12776 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12777 forward declaration.
12778 (realloc_hook_ini): Likewise.
12779 (memalign_hook_ini): Likewise.
12780 (__libc_memalign): Do not use __MALLOC_PMT in variable
12781 declaration.
12782 (__libc_valloc): Likewise.
12783 (__libc_pvalloc): Likewise.
12784 (__libc_calloc): Likewise.
12785 (__posix_memalign): Likewise.
12786
a9708fed
JM
12787 [BZ #14996]
12788 * math/s_casinh.c: Include <float.h>.
12789 (__casinh): Do not do computation with squaring and square root
12790 for large arguments.
12791 * math/s_casinhf.c: Include <float.h>.
12792 (__casinhf): Do not do computation with squaring and square root
12793 for large arguments.
12794 * math/s_casinhl.c: Include <float.h>.
12795 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12796 (__casinhl): Do not do computation with squaring and square root
12797 for large arguments.
12798 * math/libm-test.inc (casin_test): Add more tests.
12799 (casinh_test): Likewise.
12800 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12802
afec409a
L
128032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12806 (__x86_64_raw_data_cache_size): Likewise.
12807 (__x86_64_data_cache_size_half): Likewise.
12808 (__x86_64_raw_data_cache_size_half): Likewise.
12809 (__x86_64_shared_cache_size): Likewise.
12810 (__x86_64_raw_shared_cache_size): Likewise.
12811 (__x86_64_shared_cache_size_half): Likewise.
12812 (__x86_64_raw_shared_cache_size_half): Likewise.
12813 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12814 to ...
12815 (__x86_data_cache_size): This.
12816 (__x86_64_raw_data_cache_size): Renamed to ...
12817 (__x86_raw_data_cache_size): This.
12818 (__x86_64_data_cache_size_half): Renamed to ...
12819 (__x86_data_cache_size_half): This.
12820 (__x86_64_raw_data_cache_size_half): Renamed to ...
12821 (__x86_raw_data_cache_size_half): This.
12822 (__x86_64_shared_cache_size): Renamed to ...
12823 (__x86_shared_cache_size): This.
12824 (__x86_64_raw_shared_cache_size): Renamed to ...
12825 (__x86_raw_shared_cache_size): This.
12826 (__x86_64_shared_cache_size_half): Renamed to ...
12827 (__x86_shared_cache_size_half): This.
12828 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12829 (__x86_raw_shared_cache_size_half): This.
12830 * sysdeps/x86_64/memcpy.S: Updated.
12831 * sysdeps/x86_64/memset.S: Likewise.
12832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12834 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12835
0b3986d0
DM
128362013-01-04 David S. Miller <davem@davemloft.net>
12837
12838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12839
e47686e9
AS
128402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12841
d643bac1
AS
12842 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12843 1 to avoid redefinition warning.
12844 (__USE_GNU): Don't define.
12845 (init_signaling_nan): Protoize.
12846
e47686e9
AS
12847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12848
b18decba
SP
128492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12850
fffb407f
SP
12851 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12853 (__cpymn): Likewise.
12854 (norm): Remove commented code.
12855 (denorm): Likewise.
12856 (__mp_dbl): Likewise.
12857 (__inv): Likewise.
12858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12859 (__cpymn): Likewise.
12860 (norm): Remove commented code.
12861 (denorm): Likewise.
12862 (__mp_dbl): Likewise.
12863 (__inv): Likewise.
12864
b18decba
SP
12865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12866 mp_no value for 1.0 and 2.0.
12867 (norm): Use RADIXI instead of radixi.d.
12868 (denorm): Likewise.
12869 (__mul): Use 0.0 instead of zero.d.
12870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12871 mp_no value for 1.0 and 2.0.
12872 (norm): Use RADIXI instead of radixi.d.
12873 (denorm): Likewise.
12874 (__mul): Use 0.0 instead of zero.d.
12875
cdc1c96f
JM
128762013-01-04 Joseph Myers <joseph@codesourcery.com>
12877
12878 [BZ #14994]
12879 * math/s_casinh.c (__casinh): Reduce finite argument to first
12880 quadrant then set signs of results at the end.
12881 * math/s_casinhf.c (__casinhf): Likewise.
12882 * math/s_casinhl.c (__casinhl): Likewise.
12883 * math/libm-test.inc (casin_test): Add more tests.
12884 (casinh_test): Likewise.
12885 * sysdeps/i386/fpu/libm-test-ulps: Update.
12886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12887
302913e1
SP
128882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12889
6420d207
SP
12890 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12891
a9e48ab4
SP
12892 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12893
b7837264
SP
12894 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12895 declarations.
12896 (denorm): Likewise.
12897 (__mp_dbl): Likewise.
12898 (__inv): Likewise.
12899
f8af25d2
SP
12900 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12901 and adjust the header comment.
12902
302913e1
SP
12903 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12904 variable name from declaration.
12905
5d7dd1ca
L
129062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12909 Initialize COMMON_CPUID_INDEX_7 element.
12910 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12911 (CPUID_RTM): Likewise.
12912 (HAS_RTM): Likewise.
12913 (COMMON_CPUID_INDEX_7): New enum.
12914
2f5f40f4
AS
129152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12916
12917 [BZ #14981]
12918 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12919 size is zero, record memory as freed.
12920
4056f4a0
AJ
129212013-01-03 Andreas Jaeger <aj@suse.de>
12922
12923 * po/ia.po: Add new Interlingua translation.
12924
ab15736f 129252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12926
12927 * locale/programs/localedef.c: Fix description of '--posix' flag.
12928
568035b7
JM
129292013-01-02 Joseph Myers <joseph@codesourcery.com>
12930
e6898b8d
JM
12931 * NEWS: Update dates in second copyright notice.
12932 * README: Update copyright dates in example.
12933 * manual/libc.texinfo: Update copyright dates.
12934 * scripts/test-installation.pl: Update copyright date in --version
12935 output.
12936
0e2f9562
JM
12937 * hurd/ctty-input.c: Fix copyright notice formatting.
12938 * hurd/ctty-output.c: Likewise.
12939 * hurd/dtable.c: Likewise.
12940 * hurd/hurd-raise.c: Likewise.
12941 * hurd/hurdprio.c: Likewise.
12942 * hurd/msgportdemux.c: Likewise.
12943 * misc/sys/file.h: Likewise.
12944 * misc/sys/ioctl.h: Likewise.
12945 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12946 * sysdeps/mach/hurd/chdir.c: Likewise.
12947 * sysdeps/mach/hurd/fchdir.c: Likewise.
12948 * sysdeps/mach/hurd/rename.c: Likewise.
12949 * sysdeps/mach/hurd/rmdir.c: Likewise.
12950 * sysdeps/mach/hurd/seekdir.c: Likewise.
12951 * sysdeps/mach/hurd/setsid.c: Likewise.
12952 * sysdeps/posix/wait3.c: Likewise.
12953
568035b7
JM
12954 * All files with FSF copyright notices: Update copyright dates
12955 using scripts/update-copyrights.
12956 * intl/plural.c: Regenerated.
12957 * locale/programs/charmap-kw.h: Likewise.
12958 * locale/programs/locfile-kw.h: Likewise.
12959
da08f647
SP
129602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
0f5477af
SP
12962 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12963 four values.
12964
44e0d4c2
SP
12965 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12966 calculation loop and add branch prediction.
12967
4d55b4e5
SP
12968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12969 check access beyond bounds of m1np.
12970
da08f647
SP
12971 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12972 MPTWO.
12973 (__inv): Remove local variable MPTWO to use the global
12974 constant.
12975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12977 variable MPTWO.
12978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12979 MP3HALFS static const.
12980
8e051029
DM
129812013-01-01 David S. Miller <davem@davemloft.net>
12982
12983 * po/ca.po: Update from translation team.
12984
f4cf5f2d
JM
129852013-01-01 Joseph Myers <joseph@codesourcery.com>
12986
12987 * scripts/update-copyrights: New file.
12988 * Makeconfig: Reformat copyright notice.
12989 * ctype/ctype.h: Likewise.
12990 * debug/swprintf_chk.c: Likewise.
12991 * elf/dl-cache.c: Likewise.
12992 * elf/dl-debug.c: Likewise.
12993 * elf/dl-object.c: Likewise.
12994 * grp/initgroups.c: Likewise.
12995 * hurd/Makefile: Likewise.
12996 * hurd/hurd/signal.h: Likewise.
12997 * hurd/hurdfault.c: Likewise.
12998 * hurd/hurdioctl.c: Likewise.
12999 * hurd/hurdlookup.c: Likewise.
13000 * hurd/intr-msg.c: Likewise.
13001 * iconv/gconv_open.c: Likewise.
13002 * libio/swprintf.c: Likewise.
13003 * locale/lc-ctype.c: Likewise.
13004 * locale/nl_langinfo.c: Likewise.
13005 * mach/Machrules: Likewise.
13006 * mach/Makefile: Likewise.
13007 * malloc/obstack.h: Likewise.
13008 * manual/Makefile: Likewise.
13009 * manual/tsort.awk: Likewise.
13010 * misc/bits/stab.def: Likewise.
13011 * nis/nis_print_group_entry.c: Likewise.
13012 * nis/nis_table.c: Likewise.
13013 * nis/nss_compat/compat-pwd.c: Likewise.
13014 * nis/nss_compat/compat-spwd.c: Likewise.
13015 * po/Makefile: Likewise.
13016 * posix/fnmatch.c: Likewise.
13017 * posix/regex.h: Likewise.
13018 * resolv/Makefile: Likewise.
13019 * resolv/nss_dns/dns-network.c: Likewise.
13020 * resolv/res_hconf.c: Likewise.
13021 * scripts/gen-sorted.awk: Likewise.
13022 * soft-fp/soft-fp.h: Likewise.
13023 * stdio-common/printf.h: Likewise.
13024 * stdlib/monetary.h: Likewise.
13025 * stdlib/random.c: Likewise.
13026 * stdlib/random_r.c: Likewise.
13027 * sysdeps/generic/Makefile: Likewise.
13028 * sysdeps/gnu/Makefile: Likewise.
13029 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13039 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13041 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13057 * sysdeps/mach/hurd/errnos.awk: Likewise.
13058 * sysdeps/mach/hurd/fork.c: Likewise.
13059 * sysdeps/mach/hurd/getcwd.c: Likewise.
13060 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13061 * sysdeps/mach/hurd/mmap.c: Likewise.
13062 * sysdeps/mach/hurd/utimes.c: Likewise.
13063 * sysdeps/mach/hurd/xmknod.c: Likewise.
13064 * sysdeps/posix/profil.c: Likewise.
13065 * sysdeps/posix/readdir_r.c: Likewise.
13066 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13067 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13068 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13069 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13073 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13075 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13077 * sysdeps/pthread/lio_listio.c: Likewise.
13078 * sysdeps/sparc/dl-procinfo.h: Likewise.
13079 * sysdeps/unix/i386/sysdep.S: Likewise.
13080 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13081 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13082 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13083 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13085 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13086 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13087 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13088 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13089 * sysdeps/wordsize-32/divdi3.c: Likewise.
13090 * time/sys/time.h: Likewise.
13091 * wcsmbs/Makefile: Likewise.
13092
0549fbba
DM
130932013-01-01 David S. Miller <davem@davemloft.net>
13094
a141f1a7
DM
13095 * po/fr.po: Update from translation team.
13096
0549fbba
DM
13097 * catgets/gencat.c: Update copyright year.
13098 * csu/version.c: Likewise.
13099 * debug/catchsegv.sh: Likewise.
13100 * debug/pcprofiledump.c: Likewise.
13101 * debug/xtrace.sh: Likewise.
13102 * elf/ldconfig.c: Likewise.
13103 * elf/ldd.bash.in: Likewise.
13104 * elf/pldd.c: Likewise.
13105 * elf/sotruss.ksh: Likewise.
13106 * elf/sprof.c: Likewise.
13107 * iconv/iconv_prog.c: Likewise.
13108 * iconv/iconvconfig.c: Likewise.
13109 * locale/programs/locale.c: Likewise.
13110 * locale/programs/localedef.c: Likewise.
13111 * login/programs/pt_chown.c: Likewise.
13112 * malloc/memusage.sh: Likewise.
13113 * malloc/memusagestat.c: Likewise.
13114 * malloc/mtrace.pl: Likewise.
13115 * nscd/nscd.c: Likewise.
13116 * nss/getent.c: Likewise.
13117 * nss/makedb.c: Likewise.
13118 * posix/getconf.c: Likewise.
13119
18ea052c
SP
131202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13121
13122 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13123 numbers.
13124
9c89fca6
MF
131252012-12-30 Mike Frysinger <vapier@gentoo.org>
13126
13127 * math/bits/mathcalls.h (modf): Use __nonnull.
13128
085ec079
SP
131292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13130
13131 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13132 (split): Use macro CN instead of the bare value.
13133 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13134 could be used.
13135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13136 instead of the bare value.
13137 (power1): Likewise.
13138
6d9f97e1
SP
131392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13140
d63f73be
SP
13141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13142 __ATAN_TWOM.
13143 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13144
6d9f97e1
SP
13145 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13146 their values.
13147 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13149 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13150 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13151
4c4febf5
AJ
131522012-12-28 Andreas Jaeger <aj@suse.de>
13153
af5843ef
AJ
13154 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13155 values are from Linux 3.7.
13156
4c4febf5
AJ
13157 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13158 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13159
99136f82
SP
131602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13161
2f216c3c 13162 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13163 TRUE case.
13164
99136f82
SP
13165 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13166 (norm): Likewise.
13167 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13168 variables with preprocessor constants.
13169 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13170 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13171 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13172
7fffbdff
BH
131732012-12-27 Bruno Haible <bruno@clisp.org>
13174
13175 [BZ #14317]
13176 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13177 only if needed.
13178
b76eb5f0
SP
131792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13180
31a7fe5c
SP
13181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13182 and use variable directly.
13183 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13184
b76eb5f0
SP
13185 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13186 MPONE.
13187 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13189 variable MPONE.
13190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13192 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13193 include directive. Remove local variable MPONE.
13194 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13195 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13196 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13197
2c8bfe7d
DM
131982012-12-25 David S. Miller <davem@davemloft.net>
13199
13200 * version.h (RELEASE): Set to "development".
13201 (VERSION): Set to "2.17.90".
13202 * NEWS: Add 2.18 section.
13203
147d03b0
DM
132042012-12-21 David S. Miller <davem@davemloft.net>
13205
13206 * po/hr.po: Update from translation team.
13207
a8ebb2b9
AK
132082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13209
13210 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13211
95b4f1b6
SE
132122012-12-19 Steve Ellcey <sellcey@mips.com>
13213
b2d94007 13214 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13215
cedb2a90
MS
132162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13217
13218 * manual/contrib.texi (Contributors): Spelling correction.
13219
bbf527d6
DM
132202012-12-15 David S. Miller <davem@davemloft.net>
13221
13222 * po/ru.po: Update from translation team.
13223
bc38c906
DM
132242012-12-13 David S. Miller <davem@davemloft.net>
13225
85429b1a
DM
13226 * NEWS: Mention IFUNC testsuite enhancements.
13227
d283e353
DM
13228 * po/pl.po: Update from translation team.
13229 * po/bg.po: Likewise.
13230
bc38c906
DM
13231 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13232 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13233
a181b0d7
DM
132342012-12-11 David S. Miller <davem@davemloft.net>
13235
4641d57e
DM
13236 * po/sv.po: Update from translation team.
13237
f7bc6495
DM
13238 * po/vi.po: Update from translation team.
13239
6fc9048f
DM
13240 * po/cs.po: Update from translation team.
13241
a181b0d7
DM
13242 * po/de.po: Update from translation team.
13243 * po/eo.po: Likewise.
13244 * po/nl.po: Likewise.
13245
f70bfe80
SP
132462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13247
3c8b4190
SP
13248 [BZ #14246]
13249 * manual/argp.texi (Argp Helper Functions): Move node to follow
13250 Argp Parsing State.
13251
f70bfe80
SP
13252 [BZ #14872]
13253 * manual/conf.texi (Limits on File System Capacity): Mention if
13254 terminating null is included in the max size.
13255
188f0adf
AJ
132562012-12-10 Andreas Jaeger <aj@suse.de>
13257
13258 * po/cs.po: Update from translation team.
13259
56e7d3ad
SP
132602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13261
13262 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13263 void pointer and cast to uintptr_t.
13264 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13265 path.
13266 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13267 * sysdeps/s390/s390-64/memset.S: Likewise.
13268
76f2d2ea 132692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13270
13271 [BZ #14833]
13272 * menual/message.texi (Message Translation): Fix typos.
13273 (Helper programs for gettext): Likewise.
13274
67cbf9a2
AS
132752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13276
13277 [BZ #14898]
13278 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13279 Change to -1.
13280
682d0e9a
DM
132812012-12-07 David S. Miller <davem@davemloft.net>
13282
13283 * po/libc.pot: Update.
13284
573cd484
RH
132852012-12-07 Richard Henderson <rth@redhat.com>
13286
7e9da188 13287 [BZ #10114]
573cd484
RH
13288 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13289 normal/normal case to before the switch.
13290 (_FP_DIV): Likewise.
13291
e933a943
MF
132922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13293 Mike Frysinger <vapier@gentoo.org>
13294
13295 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13296 check for __NR_fadvise64_64.
13297
82123268
CM
132982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13299
13300 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13301 0, not just to plain "0" as a statement.
13302 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13303 with cw.
13304
d9814526
JM
133052012-12-06 Joseph Myers <joseph@codesourcery.com>
13306
13307 * NEWS: Use sourceware.org in Bugzilla URL.
13308
7728c574
SP
133092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13310
f16946dd
SP
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13312 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13313
5704bbcb
SP
13314 * stdio-common/tst-put-error.c (do_test): Add newline to the
13315 padded test to ensure flush.
13316
17aa0516
JL
133172012-12-05 Jeff Law <law@redhat.com>
13318
13319 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13320
363313b5
JM
133212012-12-05 Joseph Myers <joseph@codesourcery.com>
13322
effbd42a
JM
13323 * README: Don't refer to ports add-on as distributed separately.
13324 Mention AArch64 in list of systems supported in the ports add-on.
13325
87600365
JM
13326 * LICENSES: Add more non-FSF copyright and license notices.
13327
a0d7066a
JM
13328 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13329 ((unused)).
13330
66ca5a5b
JM
13331 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13332
363313b5
JM
13333 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13334 10000 as width of padded output.
13335
b37984ad
JM
133362012-12-04 Joseph Myers <joseph@codesourcery.com>
13337
9003570a
JM
13338 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13339
b37984ad
JM
13340 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13341 variable LX with __attribute__ ((unused)).
13342 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13343 Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13347 with __attribute__ ((unused)).
13348
c8df52ec
DM
133492012-12-04 David S. Miller <davem@abraco.davemloft.net>
13350
13351 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13352
b3b099af
JM
133532012-12-04 Joseph Myers <joseph@codesourcery.com>
13354
c33aa6e3
JM
13355 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13356 (CFLAGS-nldbl-acos.c): New variable.
13357 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13358 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13359 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13360 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13361 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13362 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13363 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13364 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13365 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13366 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13367 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13368 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13369 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13370 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13371 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13372 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13373 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13374 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13375 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13376 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13377 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13378 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13379 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13380 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13381 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13382 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13383 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13384 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13385 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13386 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13387 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13388 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13389 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13390 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13391 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13392 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13393 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13394 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13395 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13396 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13397 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13398 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13399 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13400 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13401 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13402 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13403 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13404 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13405 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13406 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13407 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13408 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13409 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13410 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13411 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13412 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13413 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13414 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13415 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13416 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13417 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13418 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13419 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13420 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13421 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13422 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13423 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13424 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13425 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13426 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13427 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13428 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13429 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13430 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13431 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13432 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13433 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13434 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13435 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13436 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13437 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13438 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13439 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13440 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13441 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13442 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13443 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13444 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13445 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13446 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13447 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13448 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13449 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13450 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13451 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13452 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13453 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13454
20f0018d
JM
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13456 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13457
b3b099af
JM
13458 [BZ #14914]
13459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13460 whole low double instead of just low 47 bits when splitting values
13461 into two parts.
13462
029264d1
AM
134632012-12-03 Allan McRae <allan@archlinux.org>
13464
13465 * manual/stdio.texi (Predefined Printf Handlers): Remove
13466 @hsep and @vsep usage.
13467
c9d6789e
MF
134682012-12-03 Mike Frysinger <vapier@gentoo.org>
13469
13470 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13471 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13472
4b7634a5
JL
134732012-12-03 Jeff Law <law@redhat.com>
13474
13475 * time/sys/time.h (settimeofday): Do not mark TV argument
13476 as __nonnull.
13477
eb6cbd24
MF
134782012-12-01 Mike Frysinger <vapier@gentoo.org>
13479
13480 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13481 when currently writing and seek to current position when not.
13482 * libio/Makefile (tests): Remove bug-fclose1.
13483 * libio/bug-fclose1.c: Delete.
13484
f638872a
JM
134852012-12-01 Joseph Myers <joseph@codesourcery.com>
13486
13487 * manual/arith.texi (feenableexcept): Fix typo.
13488 (fedisableexcept): Likewise.
13489
48085d14
RM
134902012-11-30 Roland McGrath <roland@hack.frob.com>
13491
13492 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13493 second, differently-typed declaration, rather than a cast.
13494
1a538b9f
SP
134952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13496
13497 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13498 * include/rpc/svc.h: ... here.
13499
d07f2ff1 135002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13501
13502 [BZ #13013]
13503 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13504 depending n and resplen2 to catch cases where answer
13505 equals answerp2.
13506
c93ec1f0
CD
135072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13508
13509 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13510 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13511
37db69de
MF
135122012-11-29 Mike Frysinger <vapier@gentoo.org>
13513
13514 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13515
e10c4e4f
RM
135162012-11-29 Roland McGrath <roland@hack.frob.com>
13517
13518 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13519
2af1b328
JL
135202012-11-28 Jeff Law <law@redhat.com>
13521
13522 [BZ #13761]
13523 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13524 dataset_temporary. Track alloca usage into alloca_used.
13525 If dataset is large allocate and release it via malloc/free.
13526
111db5b1
FW
135272012-06-04 Florian Weimer <fweimer@redhat.com>
13528
f06cc227 13529 [BZ #14197]
111db5b1
FW
13530 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13531
dd694abd
DM
135322012-11-28 David S. Miller <davem@davemloft.net>
13533
13534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13535
9984dd01
JM
135362012-11-28 Joseph Myers <joseph@codesourcery.com>
13537
13538 [BZ #14803]
13539 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13540 of pi/2 rounded to nearest to 64 bits.
13541 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13542 nearest to 64 bits.
13543 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13544 bits.
13545
14bc93a9
JL
135462012-11-28 Jeff Law <law@redhat.com>
13547 Martin Osvald <mosvald@redhat.com>
13548
13549 [BZ #14889]
13550 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13551 * sunrpc/svc.c: Include time.h.
13552 (__svc_accept_failed): New function.
13553 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13554 any reason other than EINTR, call __svc_accept_failed.
13555 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13556 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13557
e3c6aa3a
AS
135582012-11-28 Andreas Schwab <schwab@suse.de>
13559
13560 * scripts/abilist.awk: Also handle indirect functions in .opd
13561 section.
13562
1bead169
JM
135632012-11-28 Joseph Myers <joseph@codesourcery.com>
13564
13565 [BZ #13881]
13566 * sysdeps/x86/fpu/powl_helper.c: New file.
13567 * sysdeps/x86/fpu/Makefile: Likewise.
13568 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13569 (p3): New object.
13570 (__ieee754_powl): Use __powl_helper for finite arguments except
13571 integer exponents below 8.
13572 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13573 (p3): New object.
13574 (__ieee754_powl): Use __powl_helper for finite arguments except
13575 integer exponents below 8.
13576 * math/libm-test.inc (pow_test): Add more tests and enable some
13577 previously disabled tests.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13580
0817d63d
SP
135812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13582 Carlos O'Donell <carlos_odonell@mentor.com>
13583
13584 * nss/makedb.c (is_prime): Assert that input is odd and greater
13585 than 4. Note that fact in a comment too.
13586 (next_prime): Add 4 to input.
13587
de2fd463
SP
135882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13589
13590 [BZ #11741]
13591 * libio/Makefile (tests): Add test case tst-fwrite-error.
13592 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13593 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13594 * libio/tst-fwrite-error.c: New test case.
13595
c515fb51
L
135962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13599 before casting to void *.
13600 * include/libc-internal.h (__pointer_type): New macro.
13601 (__integer_if_pointer_type_sub): Likewise.
13602 (__integer_if_pointer_type): Likewise.
13603 (cast_to_integer): Likewise.
13604 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13605 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13606 before casting to atomic64_t.
13607 (atomic_exchange_acq): Likewise.
13608 (__arch_exchange_and_add_body): Likewise.
13609 (__arch_add_body): Likewise.
13610 (atomic_add_negative): Likewise.
13611 (atomic_add_zero): Likewise.
13612
4cf77aa9
JM
136132012-11-26 Joseph Myers <joseph@codesourcery.com>
13614
13615 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13616 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13617 (add_fdes): Likewise.
13618 (linear_search_fdes): Likewise.
13619 (binary_search_unencoded_fdes): Likewise.
13620
d260b3b4
AS
136212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13622
13623 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13624
67060746
AC
136252012-11-24 Adam Conrad <adconrad@0c3.net>
13626
13627 * configure.in: Autodetect C++ header directories.
13628 * configure: Regenerated.
13629
800938a1
MF
136302012-11-23 Mike Frysinger <vapier@gentoo.org>
13631
13632 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13633
4e6e34e6
AS
136342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13635
13636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13637
7c7feb47
JM
136382012-11-22 Joseph Myers <joseph@codesourcery.com>
13639
7184dcdf
JM
13640 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13641 LDBL_MANT_DIG == 106]: Disable some tests.
13642 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13643 Likewise.
13644 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13645 Likewise.
13646
0a42601f
JM
13647 [BZ #14871]
13648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13649 input for small inputs. Return +/- pi/2 for large inputs.
13650 * math/libm-test.inc (atan_test): Add more tests.
13651
79c9b9fe
JM
13652 * sysdeps/generic/unwind-dw2-fde-glibc.c
13653 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13654 __attribute__ ((unused)).
13655
c60d3bf2
JM
13656 [BZ #14645]
13657 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13658 x * y if x and y are nonzero and z is zero.
13659
ef1e0867
JM
13660 [BZ #14811]
13661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13662 nonzero exponents with absolute value below 0x1p-117 to +/-
13663 0x1p-117.
13664
1468ded3
JM
13665 [BZ #14869]
13666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13667 up arguments below 2**-450, not just those below 2**-500.
13668 * math/libm-test.inc (hypot_test): Add another test.
13669
8e27e3cc
JM
13670 [BZ #14868]
13671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13672 Return a+b for ratio over 2**120, not 2**60.
13673 * math/libm-test.inc (hypot_test): Add another test.
13674
c9c0279b
JM
13675 * math/libm-test.inc (clog_test): Use
13676 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13677 (clog10_test): Likewise.
13678
7c7feb47
JM
13679 [BZ #6778]
13680 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13681
fff1530e
AS
136822012-11-22 Andreas Schwab <schwab@suse.de>
13683
13684 * sysdeps/i386/fpu/libm-test-ulps: Update.
13685
94558d30
PT
136862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13687
13688 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13689 printf output with newline.
13690
7e1be741
L
136912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13692
6bfea974
L
13693 [BZ #14865]
13694 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13695 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13696 -z nodlopen, -z initfirst and -z execstack support.
13697 * configure: Regenerated.
13698
7e1be741
L
13699 * elf/elf.h (DF_1_NODIRECT): New macro.
13700 (DF_1_IGNMULDEF): Likewise.
13701 (DF_1_NOKSYMS): Likewise.
13702 (DF_1_NOHDR): Likewise.
13703 (DF_1_EDITED): Likewise.
13704 (DF_1_NORELOC): Likewise.
13705 (DF_1_SYMINTPOSE): Likewise.
13706 (DF_1_GLOBAUDIT): Likewise.
13707 (DF_1_SINGLETON): Likewise.
13708 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13709 DT_1_SUPPORTED_MASK bits.
13710 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13711
105ce2ce
CD
137122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13713
13714 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13715
123be9de
TS
137162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13717
d072f3f7
TS
13718 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13719 macro.
13720
123be9de
TS
13721 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13722 (sendmmsg): Move declarations...
13723 * socket/sys/socket.h: ... here.
13724 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13725 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13726 include it from...
13727 * socket/recvmmsg.c: ... this new file.
13728 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13729 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13730 definition of __sendmmsg hidden.
13731 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13732 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13733 Move ENOSYS stub into and include it from...
13734 * socket/sendmmsg.c: ... this new file.
13735 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13736 (sysdep_routines): Move recvmmsg and sendmmsg...
13737 * socket/Makefile (routines): ... here.
13738 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13739 (GLIBC_PRIVATE): Add __sendmmsg.
13740 * include/sys/socket.h (__sendmmsg): Add declarations.
13741 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13742 sendmmsg.
13743
cf9a5d18
JM
137442012-11-20 Joseph Myers <joseph@codesourcery.com>
13745
13746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13747 variable I1 with __attribute__ ((unused)).
13748 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13749
ecd4caf9
JM
137502012-11-19 Joseph Myers <joseph@codesourcery.com>
13751
be14d48f
JM
13752 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13753 DUMMY variables with __attribute__ ((unused)).
13754
ecd4caf9
JM
13755 * bits/byteswap.h: Include <bits/types.h>.
13756 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13757
986cab95
PT
137582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13759
13760 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13761 string_t. Do not manually set errno.
13762 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13763 length with __strnlen. Make sure to both set errno and return it on
13764 failure.
13765
6d33cc9d
DM
137662012-11-19 David S. Miller <davem@davemloft.net>
13767
13768 With help from Joseph Myers.
13769 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13770 very large arguments properly.
13771 * math/libm-test.inc (atan_test): New tests.
13772 (atan2_test): New tests.
13773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13775
ee663277
JM
137762012-11-19 Joseph Myers <joseph@codesourcery.com>
13777
877f2d8e
JM
13778 [BZ #14856]
13779 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13780 Define to 3.
13781
116fc08a
JM
13782 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13783 [POSIX] (EADDRNOTAVAIL): Likewise.
13784 [POSIX] (EAFNOSUPPORT): Likewise.
13785 [POSIX] (EALREADY): Likewise.
13786 [POSIX] (ECONNABORTED): Likewise.
13787 [POSIX] (ECONNREFUSED): Likewise.
13788 [POSIX] (ECONNRESET): Likewise.
13789 [POSIX] (EDESTADDRREQ): Likewise.
13790 [POSIX] (EDQUOT): Likewise.
13791 [POSIX] (EHOSTUNREACH): Likewise.
13792 [POSIX] (EIDRM): Likewise.
13793 [POSIX] (EISCONN): Likewise.
13794 [POSIX] (ELOOP): Likewise.
13795 [POSIX] (EMULTIHOP): Likewise.
13796 [POSIX] (ENETDOWN): Likewise.
13797 [POSIX] (ENETUNREACH): Likewise.
13798 [POSIX] (ENOBUFS): Likewise.
13799 [POSIX] (ENODATA): Likewise.
13800 [POSIX] (ENOLINK): Likewise.
13801 [POSIX] (ENOMSG): Likewise.
13802 [POSIX] (ENOPROTOOPT): Likewise.
13803 [POSIX] (ENOSR): Likewise.
13804 [POSIX] (ENOSTR): Likewise.
13805 [POSIX] (ENOTCONN): Likewise.
13806 [POSIX] (ENOTSOCK): Likewise.
13807 [POSIX] (EOPNOTSUPP): Likewise.
13808 [POSIX] (EOVERFLOW): Likewise.
13809 [POSIX] (EPROTO): Likewise.
13810 [POSIX] (EPROTONOSUPPORT): Likewise.
13811 [POSIX] (EPROTOTYPE): Likewise.
13812 [POSIX] (ESTALE): Likewise.
13813 [POSIX] (ETIME): Likewise.
13814 [POSIX] (ETXTBSY): Likewise.
13815 [POSIX] (EWOULDBLOCK): Likewise.
13816 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13817 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13818 [POSIX] (SEEK_CUR): Likewise.
13819 [POSIX] (SEEK_END): Likewise.
13820 [POSIX || UNIX98] (mode_t): Do not require.
13821 [POSIX] (off_t): Likewise.
13822 [POSIX] (pid_t): Likewise.
13823 [POSIX] (sys/stat.h): Do not allow header.
13824 [POSIX] (unistd.h): Likewise.
13825 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13826 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13827 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13828 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13829 require.
13830 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13831 sigevent): Specify elements.
13832 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13833 entry.
13834 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13835 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13836
a483863f
JM
13837 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13838 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13839 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13840 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13841 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13842 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13843 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13844 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13845 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13846 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13847 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13848 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13849 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13851 Likewise.
13852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13853 Likewise.
13854 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13855 Likewise.
13856 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13857 Likewise.
13858 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13859 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13860 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13861 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13862 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13863 Specify lower bound on value.
13864 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13865 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13866 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13867 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13868 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13869 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13870 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13871 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13872 value.
13873 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13874 as optional.
13875 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13876 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13877 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13878 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13879 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13880 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13881 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13882 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13883 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13884 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13885 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13886 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13887 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13888 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13889 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13890 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13891 entry.
13892 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13893 optional.
13894 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13895 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13896 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13897 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13898 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13899 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13900 Likewise.
13901 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13903 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13904 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13905 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13906 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13908 as optional.
13909 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13911 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13912 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13913 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13914 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13915 specify as optional.
13916 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13917 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13918 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13919 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13920 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13921 [XPG3] (NL_LANGMAX): Likewise.
13922 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13923 [POSIX || XPG3] (NL_NMAX): Likewise.
13924 [POSIX || XPG3] (NL_SETMAX): Likewise.
13925 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13926 [XPG3] (NZERO): Likewise.
13927 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13928 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13929 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13930 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13931 (REG_ERANGE): Expect.
13932 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13933 optional-constant.
13934 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13935 Use (void) in prototype.
13936 [POSIX] (*_t): Allow.
13937 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13938 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13939 (WRDE_BADVAL): Expect.
13940
5ba924e3
JM
13941 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13942 expect.
13943 [XPG3 || XPG4] (O_RSYNC): Likewise.
13944 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13945 Likewise.
13946 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13947 [XPG3 || XPG4] (sigqueue): Likewise.
13948 [XPG3 || XPG4] (sigtimedwait): Likewise.
13949 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13950 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13951 [XPG3 || XPG4] (vsnprintf): Likewise.
13952 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13953 Likewise.
13954 [XPG3 || XPG4] (blksize_t): Likewise.
13955 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13956 Likewise.
13957 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13958 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13959 [XPG3 || XPG4] (struct itimerspec): Likewise.
13960 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13961 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13962 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13963 [XPG3 || XPG4] (clockid_t): Likewise.
13964 [XPG3 || XPG4] (timer_t): Likewise.
13965 [XPG3 || XPG4] (clock_getres): Likewise.
13966 [XPG3 || XPG4] (clock_gettime): Likewise.
13967 [XPG3 || XPG4] (clock_settime): Likewise.
13968 [XPG3 || XPG4] (nanosleep): Likewise.
13969 [XPG3 || XPG4] (timer_create): Likewise.
13970 [XPG3 || XPG4] (timer_delete): Likewise.
13971 [XPG3 || XPG4] (timer_gettime): Likewise.
13972 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13973 [XPG3 || XPG4] (timer_settime): Likewise.
13974 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13975 [XPG3 || XPG4] (getlogin_r): Likewise.
13976 [XPG3 || XPG4] (pread): Likewise.
13977 [XPG3 || XPG4] (pthread_atfork): Likewise.
13978 [XPG3 || XPG4] (pwrite): Likewise.
13979
ee663277
JM
13980 [BZ #14835]
13981 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13982 <bits/siginfo.h>.
13983
942caa16
PT
139842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13985
e19af380
PT
13986 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13987 finalizing MALLSTREAM.
13988
942caa16
PT
13989 * sysdeps/mach/hurd/syncfs.c: New file.
13990
cfde9b46
SP
139912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13992
13993 [BZ #14719]
13994 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13995 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13997 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13998 (_nss_dns_gethostbyname4_r): Likewise.
13999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14000 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14001
f6da27e5
PH
140022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14003
14004 [BZ #13763]
14005 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14006
6665d4a2
SM
140072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14008
1f51ee92
SM
14009 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14010 * elf/cache.c (print_entry): Print ",AArch64" for
14011 FLAG_AARCH64_LIB64
14012
6665d4a2
SM
14013 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14014 * elf/cache.c (print_entry): Print ",hard-float" for
14015 FLAG_ARM_LIBHF.
14016
05b227bd
DM
140172012-11-18 David S. Miller <davem@davemloft.net>
14018
14019 With help from Joseph Myers.
14020 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14021 cutoff to 2**-13.
14022 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14023 cutoff to 2**-25.
14024 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14025 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14026 small.
14027 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14028 * math/libm-test.inc (y0_test): New tests.
14029 (y1_test): New tests.
14030 * sysdeps/i386/fpu/libm-test-ulps: Update.
14031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14033
786b0b67
AS
140342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14035
14036 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14037 64-bit targets.
14038 * configure: Regenerated.
14039
8e18b86d
DM
140402012-11-17 David S. Miller <davem@davemloft.net>
14041
14042 [BZ #14811]
14043 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14044 nonzero exponents with absolute value below 0x1p-128 to +/-
14045 0x1p-128.
14046
531f1ae0
JM
140472012-11-17 Joseph Myers <joseph@codesourcery.com>
14048
12df29e2
JM
14049 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14050
150dc1a0
JM
14051 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14052
531f1ae0
JM
14053 * posix/getconf-speclist.c: New file.
14054 * posix/posix-envs.def: Likewise.
14055 * posix/confstr.c (START_ENV_GROUP): New macro.
14056 (END_ENV_GROUP): Likewise.
14057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14058 (KNOWN_PRESENT_ENV_STRING): Likewise.
14059 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14060 (UNKNOWN_ENVIRONMENT): Likewise.
14061 (confstr): Include posix-envs.def instead of handling
14062 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14063 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14064 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14065 (END_ENV_GROUP): Likewise.
14066 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14067 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14068 (UNKNOWN_ENVIRONMENT): Likewise.
14069 (__sysconf): Include posix-envs.def instead of handling associated
14070 cases directly here.
14071 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14072 preprocessing getconf-speclist.c rather than running getconf or
14073 generating empty file.
14074
a93f9cbc
PT
140752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14076
14077 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14078
d64d9f87
AL
140792012-11-16 Andrej Lajovic <natrij@gmail.com>
14080
14081 [BZ #14672]
14082 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14083
447885eb
DM
140842012-11-16 David S. Miller <davem@davemloft.net>
14085
14086 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14087 smaller than LDBL_EPSILON/2.0L, just return xm1.
14088
bcbf9830
L
140892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14090
14091 * elf/tst-array1.c (init): Set constructor priority to 1000.
14092 (fini): Set destructor priority to 1000.
14093 * elf/tst-array2dep.c: Likewise.
14094
2b766585
SP
140952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14096
14097 [BZ #11741]
14098 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14099 (_IO_new_file_xsputn): Also return EOF if none of the input
14100 data was written when overflow failed.
14101 * libio/iopadn.c (_IO_padn): Likewise.
14102 * libio/iowpadn.c (_IO_wpadn): Likewise.
14103 * stdio-common/tst-put-error.c: Add copyright notice.
14104 (do_test): Add case for printing padded string.
14105 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14106 _IO_padn returned error.
14107 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14108 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14109 return EOF.
14110
b1848fde
SP
141112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14112
14113 * libio/libioP.h: Add comment note that the references to C++
14114 bits are now obsolete.
14115
2fd89785
MS
141162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14117
14118 * math/libm-test.inc (check_complex): Use asprintf.
14119
e3ea5409
JM
141202012-11-14 Joseph Myers <joseph@codesourcery.com>
14121
14122 * debug/pcprofiledump.c (print_version): Update copyright year.
14123 * malloc/memusagestat.c (print_version): Likewise.
14124
2e64d265
L
141252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 [BZ #14831]
14128 * elf/Makefile (tests): Add tst-audit8.
14129 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14130 ($(objpfx)tst-audit8.out): New target.
14131 (tst-audit8-ENV): New variable.
14132 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14133 audit if l_reloc_result is NULL.
14134 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14135 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14136 * elf/tst-audit8.c: New file.
14137
c485e4d2
MS
141382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14139
14140 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14141 * misc/Makefile (CFLAGS-select.c): Define.
14142 * posix/Makefile (CFLAGS-pause.c): Define.
14143
3a0d900a
DM
141442012-11-13 David S. Miller <davem@davemloft.net>
14145
14146 * crypt/Makefile: Move test targets after toplevel Rules
14147 inclusion. Grab any necessary sysdep routines when linking.
14148 * crypt/md5.c (md5_process_block): Remove define, we will always
14149 name it __md5_process_block.
14150 (md5_finish_ctx): Update md5_process_block call.
14151 (md5_stream): Likewise.
14152 (md5_process_bytes): Likewise.
14153 (md5_process_block): Rename to __md5_process_block and move to ...
14154 * crypt/md5-block.c: ... here.
14155 * crypt/sha256.c (sha256_process_block): Move to ...
14156 * crypt/sha256-block.c: ... here.
14157 * crypt/sha512.c (sha512_process_block): Move to ...
14158 * crypt/sha512-block.c: ... here.
14159 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14160 path.
14161 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14162 * sysdeps/sparc/sparc64/multiarch/Makefile
14163 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14164 crypt subdir.
14165 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14167 multiarch changes.
14168 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14169 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14170 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14171 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14172 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14173 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14174 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14175 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14176 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14177 file.
14178 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14180 file.
14181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14182
8ca89318
JM
141832012-11-13 Joseph Myers <joseph@codesourcery.com>
14184
e27d476a
JM
14185 * timezone/tzselect.ksh: Update from tzcode git revision
14186 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14187 * timezone/zdump.c: Likewise.
14188 * timezone/zic.c: Likewise.
14189 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14190 in TZVERSION setting, not $(PKGVERSION).
14191 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14192 REPORT_BUGS_TO settings.
14193
8ca89318
JM
14194 [BZ #14838]
14195 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14196 macro.
14197
47594329
MS
141982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14199
14200 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14201 detection to immediately after _FP_ROUND().
14202 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14203 bits are 0.
14204
640ac3f1
DM
142052012-11-11 David S. Miller <davem@davemloft.net>
14206
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14208 inttypes.h
14209 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14210 __close rather than their public counterparts.
14211
3d2577bb
JM
142122012-11-10 Joseph Myers <joseph@codesourcery.com>
14213
14214 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14215 file.
14216 [UNIX98] (sem_timedwait): Do not expect.
14217 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14218 [XPG4 || UNIX98] (sockatmark): Do not expect.
14219 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14220 (clock_getcpuclockid): Do not expect.
14221 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14222 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14223 Do not expect.
14224 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14225 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14226 [UNIX98] (vwscanf): Likewise.
14227 [UNIX98] (vswscanf): Likewise.
14228
fb1ae1ee
JM
142292012-11-09 Joseph Myers <joseph@codesourcery.com>
14230
9ec6f8bd
JM
14231 * timezone/version.h: Remove file.
14232 * timezone/README: Do not refer to version.h.
14233 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14234 $(objpfx)version.h.
14235 ($(objpfx)zdump.o): Likewise.
c3f81911 14236 ($(objpfx)version.h): New target.
9ec6f8bd 14237
0aa8f8a1
JM
14238 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14239 2012i.
14240 * timezone/README: Don't mention modification to tzselect.ksh.
14241 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14242 work on unmodified tzselect.ksh. Substitute version numbers in
14243 tzselect.ksh.
14244
4e87147f
JM
14245 * Makefile (format-me): Remove.
14246 (INSTALL): Adjust indentation. Use commands directly instead of
14247 using $(format-me).
14248
8b748aed
JM
14249 * aclocal.m4 (ACX_PKGVERSION): New macro.
14250 (ACX_BUGURL): Likewise.
14251 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14252 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14253 (REPORT_BUGS_TO): Likewise.
14254 * configure: Regenerated.
14255 * config.h.in (PKGVERSION): New macro.
14256 (REPORT_BUGS_TO): Likewise.
14257 * config.make.in (PKGVERSION): New variable.
14258 (PKGVERSION_TEXI): Likewise.
14259 (REPORT_BUGS_TO): Likewise.
14260 (REPORT_BUGS_TEXI): Likewise.
14261 * Makefile (format-me): Use -I$(common-objpfx)manual.
14262 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14263 ($(common-objpfx)manual/%): New target.
14264 (manual/%): Remove target.
14265 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14266 (print_version): Use PKGVERSION.
14267 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14268 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14269 and REPORT_BUGS_TO.
14270 ($(objpfx)xtrace): Likewise.
14271 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14272 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14273 (print_version): Use PKGVERSION.
14274 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14275 (do_version): Use PKGVERSION.
14276 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14277 REPORT_BUGS_TO.
14278 (common-ldd-rewrite): Likewise.
14279 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14280 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14281 (print_version): Use PKGVERSION.
14282 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14283 * elf/pldd.c (argp_program_bug_address): Remove variable.
14284 (more_help): New function.
14285 (argp): Use more_help.
14286 (print_version): Use PKGVERSION.
14287 * elf/sln.c (main): Use PKGVERSION.
14288 (usage): Use REPORT_BUGS_TO.
14289 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14290 (top level): Use PKGVERSION.
14291 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14292 (print_version): Use PKGVERSION.
14293 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14294 (print_version): Use PKGVERSION.
14295 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14296 (print_version): Use PKGVERSION.
14297 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14298 (print_version): Use PKGVERSION.
14299 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14300 (print_version): Use PKGVERSION.
14301 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14302 (print_version): Use PKGVERSION.
14303 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14304 and BUGURL.
14305 ($(objpfx)memusage): Likewise.
14306 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14307 (do_version): Use PKGVERSION.
14308 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14309 (print_version): Use PKGVERSION.
14310 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14311 ($PKGVERSION): New variable.
14312 ($REPORT_BUGS_TO): Likewise.
14313 (usage): Use $REPORT_BUGS_TO.
14314 (top level): Use $PKGVERSION.
14315 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14316 ($(objpfx)pkgvers.texi): New rule.
14317 ($(objpfx)stamp-pkgvers): Likewise.
14318 * manual/install.texi: Include pkgvers.texi.
14319 (--with-pkgversion): Document new configure option.
14320 (--with-bugurl): Likewise.
14321 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14322 than necessarily for this particular distribution. Use
14323 REPORT_BUGS_TO for where to report bugs.
14324 * INSTALL: Regenerated.
14325 * manual/libc.texinfo: Include pkgvers.texi.
14326 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14327 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14328 (print_version): Use PKGVERSION.
14329 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14330 (print_version): Use PKGVERSION.
14331 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14332 (print_version): Use PKGVERSION.
14333 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14334 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14335 macro.
14336 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14337 (print_version): Use PKGVERSION.
14338 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14339 (print_version): Use PKGVERSION.
14340 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14341 and PKGVERSION.
14342
92e4b6a9
JM
14343 * timezone/checktab.awk: Update from tzcode 2012i.
14344 * timezone/ialloc.c: Likewise.
14345 * timezone/private.h: Likewise.
14346 * timezone/scheck.c: Likewise.
14347 * timezone/tzfile.h: Likewise.
14348 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14349 (TZVERSION): Hardcode tzcode version number.
14350 * timezone/zdump.c: Update from tzcode 2012i.
14351 * timezone/zic.c: Likewise.
14352 * timezone/version.h: New file.
14353 * timezone/README: Describe version.h. Update upstream location.
14354
9bde902c
JM
14355 [BZ #14824]
14356 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14357 (mktemp): Enable declaration.
14358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14362 Likewise.
14363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14364 Likewise.
14365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14366 Likewise.
14367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14368 Likewise.
14369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14370 Likewise.
14371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14372 Likewise.
14373
fb1ae1ee
JM
14374 [BZ #14821]
14375 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14376 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14377 for copies of such integer values.
14378 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14379 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14380
2c1adbcb
AJ
143812012-11-09 Andreas Jaeger <aj@suse.de>
14382
14383 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14384 definitions and declarations that are provided by
14385 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14386
d0f8457e
AK
143872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14388
3a235abb 14389 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14390 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14391 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14392 definition.
14393
57241e26
MS
143942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14395
14396 * elf/elf.h: Update comment before AArch64 relocations.
14397
60e8270d
DM
143982012-11-07 David S. Miller <davem@davemloft.net>
14399
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14402 (__start_context): Declare.
14403 (__makecontext_ret): Delete.
14404 (__makecontext): Hook up __start_context instead of
14405 __makecontext_ret.
14406 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14407 (sysdep_routines): Add __start_context when in stdlib.
14408
0fbb0fbc
JM
144092012-11-07 Joseph Myers <joseph@codesourcery.com>
14410
14411 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14412 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14413 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14414 hardcoded "nm".
14415 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14416 (READELF): New variable. Use it instead of hardcoded "readelf".
14417
eb48db7e
L
144182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14421 * sysdeps/x86/Makefile: Here.
14422 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14423 * sysdeps/x86/tst-xmmymm.sh: This.
14424
05bcf62a
JM
144252012-11-07 Joseph Myers <joseph@codesourcery.com>
14426
c4b6cf53
JM
14427 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14428 expectations.
14429 [UNIX98] (pthread_barrier_t): Do not expect.
14430 [UNIX98] (pthread_barrierattr_t): Likewise.
14431 [UNIX98] (pthread_spinlock_t): Likewise.
14432 [UNIX98] (pthread_barrier_destroy): Likewise.
14433 [UNIX98] (pthread_barrier_init): Likewise.
14434 [UNIX98] (pthread_barrier_wait): Likewise.
14435 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14436 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14437 [UNIX98] (pthread_barrierattr_init): Likewise.
14438 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14439 [UNIX98] (pthread_getcpuclockid): Likewise.
14440 [UNIX98] (pthread_mutex_timedlock): Likewise.
14441 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14442 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14443 [UNIX98] (pthread_sigmask): Likewise.
14444 [UNIX98] (pthread_spin_destroy): Likewise.
14445 [UNIX98] (pthread_spin_init): Likewise.
14446 [UNIX98] (pthread_spin_lock): Likewise.
14447 [UNIX98] (pthread_spin_trylock): Likewise.
14448 [UNIX98] (pthread_spin_unlock): Likewise.
14449 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14450 Do not expect.
14451 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14453 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14454 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14455 [XPG3 || XPG4] (pthread_key_t): Likewise.
14456 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14457 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14458 [XPG3 || XPG4] (pthread_once_t): Likewise.
14459 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14460 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14462 [XPG3 || XPG4] (pthread_t): Likewise.
14463
cbe6e120
JM
14464 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14465 not expect.
14466 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14467
1b126443
JM
14468 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14469 Change function return type to int.
14470
b961a573
JM
14471 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14472 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14473 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14474 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14475 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14476 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14477 [!POSIX] (posix_madvise): Likewise.
14478 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14479 && !UNIX98].
14480 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14481 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14482 (mode_t): Likewise.
14483 (posix_mem_offset): Likewise.
14484 (posix_typed_mem_get_info): Likewise.
14485 (posix_typed_mem_open): Likewise.
14486
9e188909
JM
14487 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14488 Change condition to [XOPEN2K8].
14489
05bcf62a
JM
14490 * conform/conformtest.pl: Preprocess allow-header data with -x c
14491 instead of from stdin.
14492 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14493 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14494 [C99-based standards] (cerfc): Likewise.
14495 [C99-based standards] (cexp2): Likewise.
14496 [C99-based standards] (cexpm1): Likewise.
14497 [C99-based standards] (clog10): Likewise.
14498 [C99-based standards] (clog1p): Likewise.
14499 [C99-based standards] (clog2): Likewise.
14500 [C99-based standards] (clgamma): Likewise.
14501 [C99-based standards] (ctgamma): Likewise.
14502 [C99-based standards] (cerff): Likewise.
14503 [C99-based standards] (cerfcf): Likewise.
14504 [C99-based standards] (cexp2f): Likewise.
14505 [C99-based standards] (cexpm1f): Likewise.
14506 [C99-based standards] (clog10f): Likewise.
14507 [C99-based standards] (clog1pf): Likewise.
14508 [C99-based standards] (clog2f): Likewise.
14509 [C99-based standards] (clgammaf): Likewise.
14510 [C99-based standards] (ctgammaf): Likewise.
14511 [C99-based standards] (cerfl): Likewise.
14512 [C99-based standards] (cerfcl): Likewise.
14513 [C99-based standards] (cexp2l): Likewise.
14514 [C99-based standards] (cexpm1l): Likewise.
14515 [C99-based standards] (clog10l): Likewise.
14516 [C99-based standards] (clog1pl): Likewise.
14517 [C99-based standards] (clog2l): Likewise.
14518 [C99-based standards] (clgammal): Likewise.
14519 [C99-based standards] (ctgammal): Likewise.
14520 * conform/data/inttypes.h-data [C99-based standards]: Include
14521 stdint.h-data. Remove all expectations for stdint.h contents.
14522 [C99-based standards] (PRI*): Do not allow.
14523 [C99-based standards] (SCN*): Likewise.
14524 [C99-based standards] (*_t): Likewise.
14525 [C99-based-standards] (PRId8): Expect macro.
14526 [C99-based-standards] (PRIi8): Likewise.
14527 [C99-based-standards] (PRIo8): Likewise.
14528 [C99-based-standards] (PRIu8): Likewise.
14529 [C99-based-standards] (PRIx8): Likewise.
14530 [C99-based-standards] (PRIX8): Likewise.
14531 [C99-based-standards] (SCNd8): Likewise.
14532 [C99-based-standards] (SCNi8): Likewise.
14533 [C99-based-standards] (SCNo8): Likewise.
14534 [C99-based-standards] (SCNu8): Likewise.
14535 [C99-based-standards] (SCNx8): Likewise.
14536 [C99-based-standards] (PRIdLEAST8): Likewise.
14537 [C99-based-standards] (PRIiLEAST8): Likewise.
14538 [C99-based-standards] (PRIoLEAST8): Likewise.
14539 [C99-based-standards] (PRIuLEAST8): Likewise.
14540 [C99-based-standards] (PRIxLEAST8): Likewise.
14541 [C99-based-standards] (PRIXLEAST8): Likewise.
14542 [C99-based-standards] (SCNdLEAST8): Likewise.
14543 [C99-based-standards] (SCNiLEAST8): Likewise.
14544 [C99-based-standards] (SCNoLEAST8): Likewise.
14545 [C99-based-standards] (SCNuLEAST8): Likewise.
14546 [C99-based-standards] (SCNxLEAST8): Likewise.
14547 [C99-based-standards] (PRIdFAST8): Likewise.
14548 [C99-based-standards] (PRIiFAST8): Likewise.
14549 [C99-based-standards] (PRIoFAST8): Likewise.
14550 [C99-based-standards] (PRIuFAST8): Likewise.
14551 [C99-based-standards] (PRIxFAST8): Likewise.
14552 [C99-based-standards] (PRIXFAST8): Likewise.
14553 [C99-based-standards] (SCNdFAST8): Likewise.
14554 [C99-based-standards] (SCNiFAST8): Likewise.
14555 [C99-based-standards] (SCNoFAST8): Likewise.
14556 [C99-based-standards] (SCNuFAST8): Likewise.
14557 [C99-based-standards] (SCNxFAST8): Likewise.
14558 [C99-based-standards] (PRId16): Likewise.
14559 [C99-based-standards] (PRIi16): Likewise.
14560 [C99-based-standards] (PRIo16): Likewise.
14561 [C99-based-standards] (PRIu16): Likewise.
14562 [C99-based-standards] (PRIx16): Likewise.
14563 [C99-based-standards] (PRIX16): Likewise.
14564 [C99-based-standards] (SCNd16): Likewise.
14565 [C99-based-standards] (SCNi16): Likewise.
14566 [C99-based-standards] (SCNo16): Likewise.
14567 [C99-based-standards] (SCNu16): Likewise.
14568 [C99-based-standards] (SCNx16): Likewise.
14569 [C99-based-standards] (PRIdLEAST16): Likewise.
14570 [C99-based-standards] (PRIiLEAST16): Likewise.
14571 [C99-based-standards] (PRIoLEAST16): Likewise.
14572 [C99-based-standards] (PRIuLEAST16): Likewise.
14573 [C99-based-standards] (PRIxLEAST16): Likewise.
14574 [C99-based-standards] (PRIXLEAST16): Likewise.
14575 [C99-based-standards] (SCNdLEAST16): Likewise.
14576 [C99-based-standards] (SCNiLEAST16): Likewise.
14577 [C99-based-standards] (SCNoLEAST16): Likewise.
14578 [C99-based-standards] (SCNuLEAST16): Likewise.
14579 [C99-based-standards] (SCNxLEAST16): Likewise.
14580 [C99-based-standards] (PRIdFAST16): Likewise.
14581 [C99-based-standards] (PRIiFAST16): Likewise.
14582 [C99-based-standards] (PRIoFAST16): Likewise.
14583 [C99-based-standards] (PRIuFAST16): Likewise.
14584 [C99-based-standards] (PRIxFAST16): Likewise.
14585 [C99-based-standards] (PRIXFAST16): Likewise.
14586 [C99-based-standards] (SCNdFAST16): Likewise.
14587 [C99-based-standards] (SCNiFAST16): Likewise.
14588 [C99-based-standards] (SCNoFAST16): Likewise.
14589 [C99-based-standards] (SCNuFAST16): Likewise.
14590 [C99-based-standards] (SCNxFAST16): Likewise.
14591 [C99-based-standards] (PRId32): Likewise.
14592 [C99-based-standards] (PRIi32): Likewise.
14593 [C99-based-standards] (PRIo32): Likewise.
14594 [C99-based-standards] (PRIu32): Likewise.
14595 [C99-based-standards] (PRIx32): Likewise.
14596 [C99-based-standards] (PRIX32): Likewise.
14597 [C99-based-standards] (SCNd32): Likewise.
14598 [C99-based-standards] (SCNi32): Likewise.
14599 [C99-based-standards] (SCNo32): Likewise.
14600 [C99-based-standards] (SCNu32): Likewise.
14601 [C99-based-standards] (SCNx32): Likewise.
14602 [C99-based-standards] (PRIdLEAST32): Likewise.
14603 [C99-based-standards] (PRIiLEAST32): Likewise.
14604 [C99-based-standards] (PRIoLEAST32): Likewise.
14605 [C99-based-standards] (PRIuLEAST32): Likewise.
14606 [C99-based-standards] (PRIxLEAST32): Likewise.
14607 [C99-based-standards] (PRIXLEAST32): Likewise.
14608 [C99-based-standards] (SCNdLEAST32): Likewise.
14609 [C99-based-standards] (SCNiLEAST32): Likewise.
14610 [C99-based-standards] (SCNoLEAST32): Likewise.
14611 [C99-based-standards] (SCNuLEAST32): Likewise.
14612 [C99-based-standards] (SCNxLEAST32): Likewise.
14613 [C99-based-standards] (PRIdFAST32): Likewise.
14614 [C99-based-standards] (PRIiFAST32): Likewise.
14615 [C99-based-standards] (PRIoFAST32): Likewise.
14616 [C99-based-standards] (PRIuFAST32): Likewise.
14617 [C99-based-standards] (PRIxFAST32): Likewise.
14618 [C99-based-standards] (PRIXFAST32): Likewise.
14619 [C99-based-standards] (SCNdFAST32): Likewise.
14620 [C99-based-standards] (SCNiFAST32): Likewise.
14621 [C99-based-standards] (SCNoFAST32): Likewise.
14622 [C99-based-standards] (SCNuFAST32): Likewise.
14623 [C99-based-standards] (SCNxFAST32): Likewise.
14624 [C99-based-standards] (PRId64): Likewise.
14625 [C99-based-standards] (PRIi64): Likewise.
14626 [C99-based-standards] (PRIo64): Likewise.
14627 [C99-based-standards] (PRIu64): Likewise.
14628 [C99-based-standards] (PRIx64): Likewise.
14629 [C99-based-standards] (PRIX64): Likewise.
14630 [C99-based-standards] (SCNd64): Likewise.
14631 [C99-based-standards] (SCNi64): Likewise.
14632 [C99-based-standards] (SCNo64): Likewise.
14633 [C99-based-standards] (SCNu64): Likewise.
14634 [C99-based-standards] (SCNx64): Likewise.
14635 [C99-based-standards] (PRIdLEAST64): Likewise.
14636 [C99-based-standards] (PRIiLEAST64): Likewise.
14637 [C99-based-standards] (PRIoLEAST64): Likewise.
14638 [C99-based-standards] (PRIuLEAST64): Likewise.
14639 [C99-based-standards] (PRIxLEAST64): Likewise.
14640 [C99-based-standards] (PRIXLEAST64): Likewise.
14641 [C99-based-standards] (SCNdLEAST64): Likewise.
14642 [C99-based-standards] (SCNiLEAST64): Likewise.
14643 [C99-based-standards] (SCNoLEAST64): Likewise.
14644 [C99-based-standards] (SCNuLEAST64): Likewise.
14645 [C99-based-standards] (SCNxLEAST64): Likewise.
14646 [C99-based-standards] (PRIdFAST64): Likewise.
14647 [C99-based-standards] (PRIiFAST64): Likewise.
14648 [C99-based-standards] (PRIoFAST64): Likewise.
14649 [C99-based-standards] (PRIuFAST64): Likewise.
14650 [C99-based-standards] (PRIxFAST64): Likewise.
14651 [C99-based-standards] (PRIXFAST64): Likewise.
14652 [C99-based-standards] (SCNdFAST64): Likewise.
14653 [C99-based-standards] (SCNiFAST64): Likewise.
14654 [C99-based-standards] (SCNoFAST64): Likewise.
14655 [C99-based-standards] (SCNuFAST64): Likewise.
14656 [C99-based-standards] (SCNxFAST64): Likewise.
14657 [C99-based-standards] (PRIdMAX): Likewise.
14658 [C99-based-standards] (PRIiMAX): Likewise.
14659 [C99-based-standards] (PRIoMAX): Likewise.
14660 [C99-based-standards] (PRIuMAX): Likewise.
14661 [C99-based-standards] (PRIxMAX): Likewise.
14662 [C99-based-standards] (PRIXMAX): Likewise.
14663 [C99-based-standards] (SCNdMAX): Likewise.
14664 [C99-based-standards] (SCNiMAX): Likewise.
14665 [C99-based-standards] (SCNoMAX): Likewise.
14666 [C99-based-standards] (SCNuMAX): Likewise.
14667 [C99-based-standards] (SCNxMAX): Likewise.
14668 [C99-based-standards] (PRIdPTR): Likewise.
14669 [C99-based-standards] (PRIiPTR): Likewise.
14670 [C99-based-standards] (PRIoPTR): Likewise.
14671 [C99-based-standards] (PRIuPTR): Likewise.
14672 [C99-based-standards] (PRIxPTR): Likewise.
14673 [C99-based-standards] (PRIXPTR): Likewise.
14674 [C99-based-standards] (SCNdPTR): Likewise.
14675 [C99-based-standards] (SCNiPTR): Likewise.
14676 [C99-based-standards] (SCNoPTR): Likewise.
14677 [C99-based-standards] (SCNuPTR): Likewise.
14678 [C99-based-standards] (SCNxPTR): Likewise.
14679 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14680 allow.
14681 * conform/data/stdint.h-data: Update comments to clarify
14682 requirements.
14683 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14684 type.
14685 [C99-based standards] (INT8_MAX): Likewise.
14686 [C99-based standards] (INT16_MIN): Likewise.
14687 [C99-based standards] (INT16_MAX): Likewise.
14688 [C99-based standards] (INT32_MIN): Likewise.
14689 [C99-based standards] (INT32_MAX): Likewise.
14690 [C99-based standards] (INT64_MIN): Likewise.
14691 [C99-based standards] (INT64_MAX): Likewise.
14692 [C99-based standards] (UINT8_MAX): Likewise.
14693 [C99-based standards] (UINT16_MAX): Likewise.
14694 [C99-based standards] (UINT32_MAX): Likewise.
14695 [C99-based standards] (UINT64_MAX): Likewise.
14696 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14697 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14698 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14699 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14700 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14701 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14702 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14703 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14704 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14705 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14706 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14707 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14708 [C99-based standards] (INT_FAST8_MIN): Likewise.
14709 [C99-based standards] (INT_FAST8_MAX): Likewise.
14710 [C99-based standards] (INT_FAST16_MIN): Likewise.
14711 [C99-based standards] (INT_FAST16_MAX): Likewise.
14712 [C99-based standards] (INT_FAST32_MIN): Likewise.
14713 [C99-based standards] (INT_FAST32_MAX): Likewise.
14714 [C99-based standards] (INT_FAST64_MIN): Likewise.
14715 [C99-based standards] (INT_FAST64_MAX): Likewise.
14716 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14717 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14718 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14719 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14720 [C99-based standards] (INTPTR_MIN): Likewise.
14721 [C99-based standards] (INTPTR_MAX): Likewise.
14722 [C99-based standards] (UINTPTR_MAX): Likewise.
14723 [C99-based standards] (INTMAX_MIN): Likewise.
14724 [C99-based standards] (INTMAX_MAX): Likewise.
14725 [C99-based standards] (UINTMAX_MAX): Likewise.
14726 [C99-based standards] (PTRDIFF_MIN): Likewise.
14727 [C99-based standards] (PTRDIFF_MAX): Likewise.
14728 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14729 [C99-based standards] (SIZE_MAX): Likewise.
14730 [C99-based standards] (WCHAR_MAX): Likewise.
14731 [C99-based standards] (WINT_MAX): Likewise.
14732 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14733 constraint on value.
14734 [C99-based standards] (WCHAR_MIN): Likewise.
14735 [C99-based standards] (WINT_MIN): Likewise.
14736 [C99-based standards] (*_t): Allow.
14737 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14738 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14739 Include math.h-data and complex.h-data. Remove all expectations
14740 of math.h and complex.h contents.
14741 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14742 at end of line.
14743 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14744 (struct tm): Expect tag.
14745 [C99-based-standards] (wcstof): Expect function.
14746 [C99-based-standards] (wcstold): Likewise.
14747 [C99-based-standards] (wcstoll): Likewise.
14748 [C99-based-standards] (wcstoull): Likewise.
14749 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14750 macro-int-constant. Specify type.
14751 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14752 constraint on value.
14753 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14754 Specify type.
14755 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14756 Specify value.
14757 [ISO C standards]: Do not allow headers.
14758 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14759 wcs[abcdefghijklmnopqrstuvwxyz]*.
14760 [ISO C standards] (*_t): Do not allow.
14761 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14762 Expect function.
14763 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14764 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14765 Specify type.
14766 [ISO C standards]: Do not allow headers.
14767 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14768 is[abcdefghijklmnopqrstuvwxyz]*.
14769 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14770 to[abcdefghijklmnopqrstuvwxyz]*.
14771 [ISO C standards] (*_t): Do not allow.
14772 * conform/data/stdalign.h-data: New file.
14773 * conform/data/stdbool.h-data: Likewise.
14774 * conform/data/stdnoreturn.h-data: Likewise.
14775
7514feb8
RM
147762012-11-07 Roland McGrath <roland@hack.frob.com>
14777
14778 [BZ #14815]
14779 * manual/filesys.texi (Directory Entries): Typo fix.
14780 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14781
19b2ecfc
MS
147822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14783
14784 * elf/elf.h (EM_AARCH64): New macro.
14785 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14786 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14787 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14788 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14789 (R_AARCH64_TLSDESC): Likewise.
14790 (NT_ARM_TLS): Likewise.
14791 (NT_ARM_HW_BREAK): Likewise.
14792 (NT_ARM_HW_WATCH): Likewise.
14793
60e235ee
JM
147942012-11-07 Joseph Myers <joseph@codesourcery.com>
14795
14796 [BZ #14811]
14797 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14798 (__ieee754_powl): Saturate nonzero exponents with absolute value
14799 below 0x1p-79 to +/- 0x1p-79.
14800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14801 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14802 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14803 nonzero exponents with absolute value below 0x1p-32 to +/-
14804 0x1p-32.
14805 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14806 (__ieee754_powl): Saturate nonzero exponents with absolute value
14807 below 0x1p-79 to +/- 0x1p-79.
14808 * math/libm-test.inc (pow_test): Add more tests.
14809
0ab234b7
AK
148102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14811
14812 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14813 _dl_s390_cap_flags with kernel. Increase string length.
14814 (_dl_s390_platforms): Add z196 and zEC12.
14815
45832f74
JM
148162012-11-07 Joseph Myers <joseph@codesourcery.com>
14817
14818 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14819 Change XOPEN21K to XOPEN2K.
14820
19218757
MK
148212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14822
14823 * string/memmove.c: Use memcpy when possible.
14824
c5f45721
AJ
148252012-11-06 Andreas Jaeger <aj@suse.de>
14826
14827 * po/eo.po: Update from translation team.
14828
82477c28
JM
148292012-11-06 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #14793]
14832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14833 exponent and small x and y exponents, scale x or y up. Increase
14834 by 2 the exponent used in scaling up.
14835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14837 * math/libm-test.inc (fma_test): Add more tests.
14838 (fma_test_towardzero): Likewise.
14839 (fma_test_downward): Likewise.
14840 (fma_test_upward): Likewise.
14841
99252c8c
JM
148422012-11-05 Joseph Myers <joseph@codesourcery.com>
14843
acfa885f
JM
14844 [BZ #14805]
14845 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14846 fenv_t *.
14847
99252c8c
JM
14848 [BZ #14801]
14849 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14850 namespace for names of struct fields.
14851 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14852 fenv_t fields.
14853 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14854 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14855
d6d98dea
ST
148562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14857
14858 [BZ #3665]
14859 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14860
e10bb107
TS
148612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14862
14863 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14864 PTR_DEMANGLE.
14865
14866 [BZ #5246]
14867 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14868 PTR_DEMANGLE.
14869
a0c2940d
JM
148702012-11-04 Joseph Myers <joseph@codesourcery.com>
14871
14872 [BZ #14797]
14873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14874 definitely overflow as x * y not x * y + z.
14875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14877 * math/libm-test.inc (fma_test): Add more tests.
14878 (fma_test_towardzero): Likewise.
14879 (fma_test_downward): Likewise.
14880 (fma_test_upward): Likewise.
14881
b830319d
TS
148822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14883
14884 [BZ #157]
14885
14886 * include/stub-tag.h: Remove file.
14887 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14888 '#include' of it.
14889 * manual/maint.texi (Porting): Don't reference it.
14890 * Makerules ($(objpfx)stubs): Likewise.
14891 * dirent/closedir.c: Don't include <stub-tag.h>.
14892 * dirent/dirfd.c: Likewise.
14893 * dirent/fdopendir.c: Likewise.
14894 * dirent/getdents.c: Likewise.
14895 * dirent/getdents64.c: Likewise.
14896 * dirent/opendir.c: Likewise.
14897 * dirent/readdir.c: Likewise.
14898 * dirent/readdir64.c: Likewise.
14899 * dirent/readdir64_r.c: Likewise.
14900 * dirent/readdir_r.c: Likewise.
14901 * dirent/rewinddir.c: Likewise.
14902 * dirent/seekdir.c: Likewise.
14903 * dirent/telldir.c: Likewise.
14904 * gmon/profil.c: Likewise.
14905 * grp/setgroups.c: Likewise.
14906 * inet/if_index.c: Likewise.
14907 * io/access.c: Likewise.
14908 * io/chdir.c: Likewise.
14909 * io/chmod.c: Likewise.
14910 * io/chown.c: Likewise.
14911 * io/close.c: Likewise.
14912 * io/dup.c: Likewise.
14913 * io/dup2.c: Likewise.
14914 * io/dup3.c: Likewise.
14915 * io/euidaccess.c: Likewise.
14916 * io/faccessat.c: Likewise.
14917 * io/fchdir.c: Likewise.
14918 * io/fchmod.c: Likewise.
14919 * io/fchmodat.c: Likewise.
14920 * io/fchown.c: Likewise.
14921 * io/fchownat.c: Likewise.
14922 * io/fcntl.c: Likewise.
14923 * io/flock.c: Likewise.
14924 * io/fstatfs.c: Likewise.
14925 * io/fstatfs64.c: Likewise.
14926 * io/fstatvfs.c: Likewise.
14927 * io/fstatvfs64.c: Likewise.
14928 * io/futimens.c: Likewise.
14929 * io/fxstat.c: Likewise.
14930 * io/fxstat64.c: Likewise.
14931 * io/fxstatat.c: Likewise.
14932 * io/fxstatat64.c: Likewise.
14933 * io/getcwd.c: Likewise.
14934 * io/isatty.c: Likewise.
14935 * io/lchmod.c: Likewise.
14936 * io/lchown.c: Likewise.
14937 * io/link.c: Likewise.
14938 * io/linkat.c: Likewise.
14939 * io/lseek.c: Likewise.
14940 * io/lseek64.c: Likewise.
14941 * io/lxstat64.c: Likewise.
14942 * io/mkdir.c: Likewise.
14943 * io/mkdirat.c: Likewise.
14944 * io/mkfifo.c: Likewise.
14945 * io/mkfifoat.c: Likewise.
14946 * io/open.c: Likewise.
14947 * io/open64.c: Likewise.
14948 * io/openat.c: Likewise.
14949 * io/openat64.c: Likewise.
14950 * io/pipe.c: Likewise.
14951 * io/pipe2.c: Likewise.
14952 * io/poll.c: Likewise.
14953 * io/posix_fadvise.c: Likewise.
14954 * io/posix_fadvise64.c: Likewise.
14955 * io/posix_fallocate.c: Likewise.
14956 * io/posix_fallocate64.c: Likewise.
14957 * io/read.c: Likewise.
14958 * io/readlink.c: Likewise.
14959 * io/readlinkat.c: Likewise.
14960 * io/rmdir.c: Likewise.
14961 * io/sendfile.c: Likewise.
14962 * io/sendfile64.c: Likewise.
14963 * io/statfs.c: Likewise.
14964 * io/statfs64.c: Likewise.
14965 * io/statvfs.c: Likewise.
14966 * io/statvfs64.c: Likewise.
14967 * io/symlink.c: Likewise.
14968 * io/symlinkat.c: Likewise.
14969 * io/ttyname.c: Likewise.
14970 * io/ttyname_r.c: Likewise.
14971 * io/umask.c: Likewise.
14972 * io/unlink.c: Likewise.
14973 * io/unlinkat.c: Likewise.
14974 * io/utime.c: Likewise.
14975 * io/utimensat.c: Likewise.
14976 * io/write.c: Likewise.
14977 * io/xmknod.c: Likewise.
14978 * io/xmknodat.c: Likewise.
14979 * io/xstat.c: Likewise.
14980 * io/xstat64.c: Likewise.
14981 * login/getpt.c: Likewise.
14982 * login/grantpt.c: Likewise.
14983 * login/unlockpt.c: Likewise.
14984 * math/e_acoshl.c: Likewise.
14985 * math/e_acosl.c: Likewise.
14986 * math/e_asinl.c: Likewise.
14987 * math/e_atan2l.c: Likewise.
14988 * math/e_atanhl.c: Likewise.
14989 * math/e_coshl.c: Likewise.
14990 * math/e_expl.c: Likewise.
14991 * math/e_fmodl.c: Likewise.
14992 * math/e_gammal_r.c: Likewise.
14993 * math/e_hypotl.c: Likewise.
14994 * math/e_j0l.c: Likewise.
14995 * math/e_j1l.c: Likewise.
14996 * math/e_jnl.c: Likewise.
14997 * math/e_lgammal_r.c: Likewise.
14998 * math/e_log10l.c: Likewise.
14999 * math/e_log2l.c: Likewise.
15000 * math/e_logl.c: Likewise.
15001 * math/e_powl.c: Likewise.
15002 * math/e_rem_pio2l.c: Likewise.
15003 * math/e_sinhl.c: Likewise.
15004 * math/e_sqrtl.c: Likewise.
15005 * math/fclrexcpt.c: Likewise.
15006 * math/fedisblxcpt.c: Likewise.
15007 * math/feenablxcpt.c: Likewise.
15008 * math/fegetenv.c: Likewise.
15009 * math/fegetexcept.c: Likewise.
15010 * math/fegetround.c: Likewise.
15011 * math/feholdexcpt.c: Likewise.
15012 * math/fesetenv.c: Likewise.
15013 * math/fesetround.c: Likewise.
15014 * math/feupdateenv.c: Likewise.
15015 * math/fgetexcptflg.c: Likewise.
15016 * math/fraiseexcpt.c: Likewise.
15017 * math/fsetexcptflg.c: Likewise.
15018 * math/ftestexcept.c: Likewise.
15019 * math/k_cosl.c: Likewise.
15020 * math/k_rem_pio2l.c: Likewise.
15021 * math/k_sinl.c: Likewise.
15022 * math/k_tanl.c: Likewise.
15023 * math/s_asinhl.c: Likewise.
15024 * math/s_atanl.c: Likewise.
15025 * math/s_cbrtl.c: Likewise.
15026 * math/s_erfl.c: Likewise.
15027 * math/s_expm1l.c: Likewise.
15028 * math/s_log1pl.c: Likewise.
15029 * math/s_tanhl.c: Likewise.
15030 * misc/acct.c: Likewise.
15031 * misc/brk.c: Likewise.
15032 * misc/chflags.c: Likewise.
15033 * misc/chroot.c: Likewise.
15034 * misc/fchflags.c: Likewise.
15035 * misc/fgetxattr.c: Likewise.
15036 * misc/flistxattr.c: Likewise.
15037 * misc/fremovexattr.c: Likewise.
15038 * misc/fsetxattr.c: Likewise.
15039 * misc/fsync.c: Likewise.
15040 * misc/ftruncate.c: Likewise.
15041 * misc/futimes.c: Likewise.
15042 * misc/futimesat.c: Likewise.
15043 * misc/getdomain.c: Likewise.
15044 * misc/getdtsz.c: Likewise.
15045 * misc/gethostid.c: Likewise.
15046 * misc/gethostname.c: Likewise.
15047 * misc/getloadavg.c: Likewise.
15048 * misc/getpagesize.c: Likewise.
15049 * misc/getsysstats.c: Likewise.
15050 * misc/getxattr.c: Likewise.
15051 * misc/gtty.c: Likewise.
15052 * misc/ioctl.c: Likewise.
15053 * misc/lgetxattr.c: Likewise.
15054 * misc/listxattr.c: Likewise.
15055 * misc/llistxattr.c: Likewise.
15056 * misc/lremovexattr.c: Likewise.
15057 * misc/lsetxattr.c: Likewise.
15058 * misc/lutimes.c: Likewise.
15059 * misc/madvise.c: Likewise.
15060 * misc/mincore.c: Likewise.
15061 * misc/mlock.c: Likewise.
15062 * misc/mlockall.c: Likewise.
15063 * misc/mmap.c: Likewise.
15064 * misc/mprotect.c: Likewise.
15065 * misc/msync.c: Likewise.
15066 * misc/munlock.c: Likewise.
15067 * misc/munlockall.c: Likewise.
15068 * misc/munmap.c: Likewise.
15069 * misc/preadv.c: Likewise.
15070 * misc/preadv64.c: Likewise.
15071 * misc/ptrace.c: Likewise.
15072 * misc/pwritev.c: Likewise.
15073 * misc/pwritev64.c: Likewise.
15074 * misc/readv.c: Likewise.
15075 * misc/reboot.c: Likewise.
15076 * misc/remap_file_pages.c: Likewise.
15077 * misc/removexattr.c: Likewise.
15078 * misc/revoke.c: Likewise.
15079 * misc/select.c: Likewise.
15080 * misc/setdomain.c: Likewise.
15081 * misc/setegid.c: Likewise.
15082 * misc/seteuid.c: Likewise.
15083 * misc/sethostid.c: Likewise.
15084 * misc/sethostname.c: Likewise.
15085 * misc/setregid.c: Likewise.
15086 * misc/setreuid.c: Likewise.
15087 * misc/setxattr.c: Likewise.
15088 * misc/sstk.c: Likewise.
15089 * misc/stty.c: Likewise.
15090 * misc/swapoff.c: Likewise.
15091 * misc/swapon.c: Likewise.
15092 * misc/sync.c: Likewise.
15093 * misc/syncfs.c: Likewise.
15094 * misc/syscall.c: Likewise.
15095 * misc/truncate.c: Likewise.
15096 * misc/ualarm.c: Likewise.
15097 * misc/usleep.c: Likewise.
15098 * misc/ustat.c: Likewise.
15099 * misc/utimes.c: Likewise.
15100 * misc/vhangup.c: Likewise.
15101 * misc/writev.c: Likewise.
15102 * posix/_exit.c: Likewise.
15103 * posix/alarm.c: Likewise.
15104 * posix/execve.c: Likewise.
15105 * posix/fexecve.c: Likewise.
15106 * posix/fork.c: Likewise.
15107 * posix/fpathconf.c: Likewise.
15108 * posix/getaddrinfo.c: Likewise.
15109 * posix/getegid.c: Likewise.
15110 * posix/geteuid.c: Likewise.
15111 * posix/getgid.c: Likewise.
15112 * posix/getgroups.c: Likewise.
15113 * posix/getlogin.c: Likewise.
15114 * posix/getlogin_r.c: Likewise.
15115 * posix/getpgid.c: Likewise.
15116 * posix/getpid.c: Likewise.
15117 * posix/getppid.c: Likewise.
15118 * posix/getresgid.c: Likewise.
15119 * posix/getresuid.c: Likewise.
15120 * posix/getsid.c: Likewise.
15121 * posix/getuid.c: Likewise.
15122 * posix/glob64.c: Likewise.
15123 * posix/nanosleep.c: Likewise.
15124 * posix/pathconf.c: Likewise.
15125 * posix/pause.c: Likewise.
15126 * posix/posix_madvise.c: Likewise.
15127 * posix/pread.c: Likewise.
15128 * posix/pread64.c: Likewise.
15129 * posix/pwrite.c: Likewise.
15130 * posix/pwrite64.c: Likewise.
15131 * posix/sched_getaffinity.c: Likewise.
15132 * posix/sched_getp.c: Likewise.
15133 * posix/sched_gets.c: Likewise.
15134 * posix/sched_primax.c: Likewise.
15135 * posix/sched_primin.c: Likewise.
15136 * posix/sched_rr_gi.c: Likewise.
15137 * posix/sched_setaffinity.c: Likewise.
15138 * posix/sched_setp.c: Likewise.
15139 * posix/sched_sets.c: Likewise.
15140 * posix/sched_yield.c: Likewise.
15141 * posix/setgid.c: Likewise.
15142 * posix/setlogin.c: Likewise.
15143 * posix/setpgid.c: Likewise.
15144 * posix/setresgid.c: Likewise.
15145 * posix/setresuid.c: Likewise.
15146 * posix/setsid.c: Likewise.
15147 * posix/setuid.c: Likewise.
15148 * posix/sleep.c: Likewise.
15149 * posix/spawni.c: Likewise.
15150 * posix/sysconf.c: Likewise.
15151 * posix/times.c: Likewise.
15152 * posix/wait.c: Likewise.
15153 * posix/wait3.c: Likewise.
15154 * posix/wait4.c: Likewise.
15155 * posix/waitpid.c: Likewise.
15156 * resolv/gai_sigqueue.c: Likewise.
15157 * resource/getpriority.c: Likewise.
15158 * resource/getrlimit.c: Likewise.
15159 * resource/getrusage.c: Likewise.
15160 * resource/nice.c: Likewise.
15161 * resource/setpriority.c: Likewise.
15162 * resource/setrlimit.c: Likewise.
15163 * resource/ulimit.c: Likewise.
15164 * rt/aio_cancel.c: Likewise.
15165 * rt/aio_fsync.c: Likewise.
15166 * rt/aio_read.c: Likewise.
15167 * rt/aio_sigqueue.c: Likewise.
15168 * rt/aio_suspend.c: Likewise.
15169 * rt/aio_write.c: Likewise.
15170 * rt/clock_getres.c: Likewise.
15171 * rt/clock_gettime.c: Likewise.
15172 * rt/clock_nanosleep.c: Likewise.
15173 * rt/clock_settime.c: Likewise.
15174 * rt/lio_listio.c: Likewise.
15175 * rt/mq_close.c: Likewise.
15176 * rt/mq_getattr.c: Likewise.
15177 * rt/mq_notify.c: Likewise.
15178 * rt/mq_open.c: Likewise.
15179 * rt/mq_receive.c: Likewise.
15180 * rt/mq_send.c: Likewise.
15181 * rt/mq_setattr.c: Likewise.
15182 * rt/mq_timedreceive.c: Likewise.
15183 * rt/mq_timedsend.c: Likewise.
15184 * rt/mq_unlink.c: Likewise.
15185 * rt/shm_open.c: Likewise.
15186 * rt/shm_unlink.c: Likewise.
15187 * rt/timer_create.c: Likewise.
15188 * rt/timer_delete.c: Likewise.
15189 * rt/timer_getoverr.c: Likewise.
15190 * rt/timer_gettime.c: Likewise.
15191 * rt/timer_settime.c: Likewise.
15192 * setjmp/__longjmp.c: Likewise.
15193 * setjmp/setjmp.c: Likewise.
15194 * signal/kill.c: Likewise.
15195 * signal/killpg.c: Likewise.
15196 * signal/raise.c: Likewise.
15197 * signal/sigaction.c: Likewise.
15198 * signal/sigaltstack.c: Likewise.
15199 * signal/sigblock.c: Likewise.
15200 * signal/sigignore.c: Likewise.
15201 * signal/sigintr.c: Likewise.
15202 * signal/signal.c: Likewise.
15203 * signal/sigpause.c: Likewise.
15204 * signal/sigpending.c: Likewise.
15205 * signal/sigqueue.c: Likewise.
15206 * signal/sigreturn.c: Likewise.
15207 * signal/sigset.c: Likewise.
15208 * signal/sigsetmask.c: Likewise.
15209 * signal/sigstack.c: Likewise.
15210 * signal/sigsuspend.c: Likewise.
15211 * signal/sigtimedwait.c: Likewise.
15212 * signal/sigvec.c: Likewise.
15213 * signal/sigwait.c: Likewise.
15214 * signal/sigwaitinfo.c: Likewise.
15215 * signal/sysv_signal.c: Likewise.
15216 * socket/accept.c: Likewise.
15217 * socket/accept4.c: Likewise.
15218 * socket/bind.c: Likewise.
15219 * socket/connect.c: Likewise.
15220 * socket/getpeername.c: Likewise.
15221 * socket/getsockname.c: Likewise.
15222 * socket/getsockopt.c: Likewise.
15223 * socket/isfdtype.c: Likewise.
15224 * socket/listen.c: Likewise.
15225 * socket/recv.c: Likewise.
15226 * socket/recvfrom.c: Likewise.
15227 * socket/recvmsg.c: Likewise.
15228 * socket/send.c: Likewise.
15229 * socket/sendmsg.c: Likewise.
15230 * socket/sendto.c: Likewise.
15231 * socket/setsockopt.c: Likewise.
15232 * socket/shutdown.c: Likewise.
15233 * socket/sockatmark.c: Likewise.
15234 * socket/socket.c: Likewise.
15235 * socket/socketpair.c: Likewise.
15236 * stdio-common/ctermid.c: Likewise.
15237 * stdio-common/cuserid.c: Likewise.
15238 * stdio-common/remove.c: Likewise.
15239 * stdio-common/rename.c: Likewise.
15240 * stdio-common/renameat.c: Likewise.
15241 * stdio-common/tempname.c: Likewise.
15242 * stdlib/getcontext.c: Likewise.
15243 * stdlib/makecontext.c: Likewise.
15244 * stdlib/setcontext.c: Likewise.
15245 * stdlib/swapcontext.c: Likewise.
15246 * stdlib/system.c: Likewise.
15247 * streams/fattach.c: Likewise.
15248 * streams/fdetach.c: Likewise.
15249 * streams/getmsg.c: Likewise.
15250 * streams/getpmsg.c: Likewise.
15251 * streams/putmsg.c: Likewise.
15252 * streams/putpmsg.c: Likewise.
15253 * sysdeps/unix/bsd/getpt.c: Likewise.
15254 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15255 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15256 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15258 Likewise.
15259 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15260 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15261 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15262 * sysvipc/msgctl.c: Likewise.
15263 * sysvipc/msgget.c: Likewise.
15264 * sysvipc/msgrcv.c: Likewise.
15265 * sysvipc/msgsnd.c: Likewise.
15266 * sysvipc/semctl.c: Likewise.
15267 * sysvipc/semget.c: Likewise.
15268 * sysvipc/semop.c: Likewise.
15269 * sysvipc/semtimedop.c: Likewise.
15270 * sysvipc/shmat.c: Likewise.
15271 * sysvipc/shmctl.c: Likewise.
15272 * sysvipc/shmdt.c: Likewise.
15273 * sysvipc/shmget.c: Likewise.
15274 * termios/tcdrain.c: Likewise.
15275 * termios/tcflow.c: Likewise.
15276 * termios/tcflush.c: Likewise.
15277 * termios/tcgetattr.c: Likewise.
15278 * termios/tcgetpgrp.c: Likewise.
15279 * termios/tcsendbrk.c: Likewise.
15280 * termios/tcsetattr.c: Likewise.
15281 * termios/tcsetpgrp.c: Likewise.
15282 * time/adjtime.c: Likewise.
15283 * time/clock.c: Likewise.
15284 * time/getitimer.c: Likewise.
15285 * time/gettimeofday.c: Likewise.
15286 * time/setitimer.c: Likewise.
15287 * time/settimeofday.c: Likewise.
15288 * time/stime.c: Likewise.
15289 * time/time.c: Likewise.
15290
152912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15292
a20492cf
PT
15293 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15294 /usr/old/bin.
15295
72e182e3
PT
15296 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15297 instead of spaces.
15298 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15299
fbeafede
JM
153002012-11-03 Joseph Myers <joseph@codesourcery.com>
15301
5b5b04d6
JM
15302 [BZ #14796]
15303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15304 FE_TONEAREST before applying Dekker multiplication and Knuth
15305 addition. Clear inexact exceptions and check for exact zero
15306 results afterwards.
15307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15308 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15310 * math/libm-test.inc (fma_test): Add more tests.
15311 (fma_test_towardzero): Likewise.
15312 (fma_test_downward): Likewise.
15313 (fma_test_upward): Likewise.
15314 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15315 function.
15316 (libc_fesetround): New macro.
15317 (libc_fesetroundf): Likewise.
15318 (libc_fesetroundl): Likewise.
15319 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15320 function.
15321 (libc_fesetround_387): Likewise.
15322 (libc_fesetroundf): New macro.
15323 (libc_fesetround): Likewise.
15324 (libc_fesetroundl): Likewise.
15325 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15326 function.
15327 (libc_fesetroundf): New macro.
15328 (libc_fesetround): Likewise.
15329 (libc_fesetroundl): Likewise.
15330 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15331 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15332 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15333 libm_hidden_ver.
15334 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15335 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15336 libm_hidden_def.
15337 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15338 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15339 libm_hidden_ver.
15340 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15341 libm_hidden_def.
15342
fbeafede
JM
15343 [BZ #3439]
15344 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15345 integer constant usable in #if and use that to give value to enum
15346 constant.
15347 (FE_DIVBYZERO): Likewise.
15348 (FE_UNDERFLOW): Likewise.
15349 (FE_OVERFLOW): Likewise.
15350 (FE_INVALID): Likewise.
15351 (FE_INVALID_SNAN): Likewise.
15352 (FE_INVALID_ISI): Likewise.
15353 (FE_INVALID_IDI): Likewise.
15354 (FE_INVALID_ZDZ): Likewise.
15355 (FE_INVALID_IMZ): Likewise.
15356 (FE_INVALID_COMPARE): Likewise.
15357 (FE_INVALID_SOFTWARE): Likewise.
15358 (FE_INVALID_SQRT): Likewise.
15359 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15360 (FE_TONEAREST): Likewise.
15361 (FE_TOWARDZERO): Likewise.
15362 (FE_UPWARD): Likewise.
15363 (FE_DOWNWARD): Likewise.
15364 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15365 (FE_DIVBYZERO): Likewise.
15366 (FE_OVERFLOW): Likewise.
15367 (FE_UNDERFLOW): Likewise.
15368 (FE_INEXACT): Likewise.
15369 (FE_TONEAREST): Likewise.
15370 (FE_DOWNWARD): Likewise.
15371 (FE_UPWARD): Likewise.
15372 (FE_TOWARDZERO): Likewise.
15373 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15374 (FE_UNDERFLOW): Likewise.
15375 (FE_OVERFLOW): Likewise.
15376 (FE_DIVBYZERO): Likewise.
15377 (FE_INVALID): Likewise.
15378 (FE_TONEAREST): Likewise.
15379 (FE_TOWARDZERO): Likewise.
15380 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15381 (FE_OVERFLOW): Likewise.
15382 (FE_UNDERFLOW): Likewise.
15383 (FE_DIVBYZERO): Likewise.
15384 (FE_INEXACT): Likewise.
15385 (FE_TONEAREST): Likewise.
15386 (FE_TOWARDZERO): Likewise.
15387 (FE_UPWARD): Likewise.
15388 (FE_DOWNWARD): Likewise.
15389 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15390 (FE_DIVBYZERO): Likewise.
15391 (FE_OVERFLOW): Likewise.
15392 (FE_UNDERFLOW): Likewise.
15393 (FE_INEXACT): Likewise.
15394 (FE_TONEAREST): Likewise.
15395 (FE_DOWNWARD): Likewise.
15396 (FE_UPWARD): Likewise.
15397 (FE_TOWARDZERO): Likewise.
15398
105ca950
CM
153992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15400
15401 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15402
a542b389
AS
154032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15404
15405 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15406 commands. Quote $PWD.
15407 (blacklist_exports): Don't use remove_newlines. Replace "declare
15408 -x" by "export".
15409 (remove_newlines): Remove.
15410
f62c8abc
L
154112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15412
15413 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15414 * stdlib/stdlib.h (atof): Moved to ...
15415 * include/bits/stdlib-float.h: Here. New file.
15416 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15417 * stdlib/bits/stdlib-float.h: New file.
15418 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15419 -mno-sse -mno-mmx.
15420 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15421 <xmmintrin.h>.
15422
0155d5b2
JM
154232012-11-02 Joseph Myers <joseph@codesourcery.com>
15424
a68d0680
JM
15425 * conform/conformtest.pl (@headers): Add fenv.h.
15426 * conform/data/fenv.h-data: New file.
15427 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15428 include of <math/fenv.h>.
15429
caf7f573
JM
15430 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15431 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15432 && !UNIX98]. Enables tests for XOPEN2K8.
15433 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15434 POSIX2008]: Likewise.
15435
6c073ad6
JM
15436 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15437 (struct rusage): Do not expect type or its members.
15438
0155d5b2
JM
15439 [BZ #3439]
15440 * math/math.h (FP_NAN): Define macro to integer constant usable in
15441 #if and use that to give value to enum constant.
15442 (FP_INFINITE): Likewise.
15443 (FP_ZERO): Likewise.
15444 (FP_SUBNORMAL): Likewise.
15445 (FP_NORMAL): Likewise.
15446
b5dcacb4
AS
154472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15448
15449 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15450 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15451 arguments.
15452
f7934be8
RM
154532012-11-02 Roland McGrath <roland@hack.frob.com>
15454
15455 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15456 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15457 autoconf-time if not.
15458 * configure.in: Remove AC_PREREQ.
15459
d7d08bde
TMQMF
154602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15461
15462 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15463 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15464 of the internal implementation.
15465
dcdae19a
JM
154662012-11-02 Joseph Myers <joseph@codesourcery.com>
15467
15468 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15469 except include of <misc/sys/syslog.h>.
15470
d6cffd3e
AS
154712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15472
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15474 function returns with a NULL context exit with zero.
15475
b3563932
TMQMF
154762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15477
15478 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15479
b288a93d
L
154802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15481
15482 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15483 (run_program_cmd): This.
15484 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15485 (tst_langinfo): New variable. Use it.
15486
a2421a68
SAS
154872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15488
15489 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15490 floating point opcodes.
15491
6f796e1b
TS
154922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15493
7402596b
TS
15494 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15495 variable.
15496
d0d4f868
TS
15497 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15498
6f796e1b
TS
15499 * sysdeps/mach/hurd/powerpc: Remove directory.
15500 * sysdeps/mach/powerpc: Likewise.
15501
4da224a2
AS
155022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15503
15504 * scripts/check-local-headers.sh: Ignore c++ headers.
15505
341dd673
TS
155062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15507
15508 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15509 __libc_cleanup_region_start argument.
15510
473611b2
JM
155112012-11-01 Joseph Myers <joseph@codesourcery.com>
15512
15513 [BZ #14784]
15514 [BZ #14785]
15515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15516 x * y using scaling, not as x * y + z.
15517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15519 * math/libm-test.inc (fma_test): Add more tests.
15520 (fma_test_towardzero): Likewise.
15521 (fma_test_downward): Likewise.
15522 (fma_test_upward): Likewise.
15523
4078da3d
TS
155242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15525
15526 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15527
903252aa
JM
155282012-10-31 Joseph Myers <joseph@codesourcery.com>
15529
15530 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15531 New variable.
15532
cbc818d0
TS
155332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15534
15535 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15536
5a03cb1e
AS
155372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15538
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15540 Fix sort order.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15542 Likewise.
15543
90aff2ff
TMQMF
155442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15545
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15547 Fix the order of the list for glibc 2.17.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15549 Likewise.
15550
1818fcb7
AS
155512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15552
15553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15554
ef82f4da
JM
155552012-10-31 Joseph Myers <joseph@codesourcery.com>
15556
16a0e2ec
JM
15557 [BZ #14610]
15558 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15559 for low part of x being zero before using __atanl (y).
15560 * math/libm-test.inc (atan2_test): Add another test.
15561
0eb69512
JM
15562 * manual/install.texi (Configuring and compiling): Document
15563 general use of test-wrapper and test-wrapper-env.
15564 * INSTALL: Regenerated.
15565
ef82f4da
JM
15566 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15567 (__fma): Do not extract and scale down low bits on after-rounding
15568 systems when result rounded to normal precision would have normal
15569 exponent.
15570 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15571 (__fmal): Do not extract and scale down low bits on after-rounding
15572 systems when result rounded to normal precision would have normal
15573 exponent.
15574 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15575 (__fmal): Do not extract and scale down low bits on after-rounding
15576 systems when result rounded to normal precision would have normal
15577 exponent.
15578 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15579 macro.
15580 (fma_test): Add more tests.
15581 (fma_test_towardzero): Likewise.
15582 (fma_test_downward): Likewise.
15583 (fma_test_upward): Likewise.
15584
954ef0d9
L
155852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15586
15587 * sysdeps/i386/tininess.h: Renamed to ...
15588 * sysdeps/x86/tininess.h: This.
15589 * sysdeps/x86_64/tininess.h: Removed.
15590
df61ffb2
JM
155912012-10-30 Joseph Myers <joseph@codesourcery.com>
15592
15593 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15594 input. Use $(build-program-cmd).
15595 ($(objpfx)tst-array1-static.out): Likewise.
15596 ($(objpfx)tst-array2.out): Likewise.
15597 ($(objpfx)tst-array3.out): Likewise.
15598 ($(objpfx)tst-array4.out): Likewise.
15599 ($(objpfx)tst-array5.out): Likewise.
15600 ($(objpfx)tst-array5-static.out): Likewise.
15601
01767843
CM
156022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15603
47cc1490
CM
15604 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15605 if defined.
15606
01767843
CM
15607 * nss/nsswitch.h (nss_interface_function): Provide new
15608 macro for use with NSS functions.
15609 * grp/initgroups.c: Use new macro.
15610 * nss/getXXbyYY.c: Likewise.
15611 * nss/getXXbyYY_r.c: Likewise.
15612 * nss/getXXent.c: Likewise.
15613 * nss/getXXent_r.c: Likewise.
15614 * sysdeps/posix/getaddrinfo.c: Likewise.
15615
8321aa97
AJ
156162012-10-30 Andreas Jaeger <aj@suse.de>
15617
15618 * po/ru.po: Update Russion translation from translation project.
15619
2a27fd6d
JM
156202012-10-30 Joseph Myers <joseph@codesourcery.com>
15621
8627a232
JM
15622 [BZ #14152]
15623 [BZ #14783]
15624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15625 result and shift together with sticky bit instead of replicating
15626 round-to-nearest rounding.
15627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15629 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15630 missing underflow exceptions.
15631 (fma_test_towardzero): Add more tests.
15632 (fma_test_downward): Likewise.
15633 (fma_test_upward): Likewise.
15634
2a27fd6d
JM
15635 [BZ #14047]
15636 * sysdeps/generic/tininess.h: New file.
15637 * sysdeps/i386/tininess.h: Likewise.
15638 * sysdeps/sh/tininess.h: Likewise.
15639 * sysdeps/x86_64/tininess.h: Likewise.
15640 * stdlib/tst-strtod-underflow.c: Likewise.
15641 * stdlib/tst-tininess.c: Likewise.
15642 * stdlib/strtod_l.c: Include <tininess.h>.
15643 (round_and_return): Do not set errno for exact underflow cases.
15644 Force an underflow exception when setting errno for underflow.
15645 Determine underflow based on rounding to normal precision if
15646 TININESS_AFTER_ROUNDING.
15647 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15648 ERANGE for exact underflow cases.
15649 * stdlib/Makefile (tests): Add tst-tininess and
15650 tst-strtod-underflow.
15651 ($(objpfx)tst-tininess): Use $(link-libm).
15652 ($(objpfx)tst-strtod-underflow): Likewise.
15653
e7170363
AJ
156542012-10-30 Andreas Jaeger <aj@suse.de>
15655
e5088dc6
AJ
15656 [BZ#14767]
15657 * elf/Makefile (tests): Remove conditional for have-initfini-array
15658 since this is now always required and the variable does not exist
15659 anymore.
15660 (tests-static): Likewise.
15661 (modules-names): Likewise.
15662
e7170363 15663 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15664
15665 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15666 merged with constructor/destructor.
15667 (init_array): Likewise.
15668 * elf/tst-array2dep.c (fini_array): Likewise.
15669 (init_array): Likewise.
15670
60457d8a
MF
156712012-10-29 Mike Frysinger <vapier@gentoo.org>
15672
15673 * manual/message.texi: Delete @cartouche tags.
15674
8bece752
PT
156752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15676
94ce799f
PT
15677 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15678 EOPNOTSUPP.
15679 * sysdeps/mach/hurd/fsync.c: Likewise.
15680
8bece752
PT
15681 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15682 [_POSIX_REALTIME_SIGNALS]: Change condition to
15683 [_POSIX_REALTIME_SIGNALS > 0].
15684
86ebe6b1
AJ
156852012-10-27 Andreas Jaeger <aj@suse.de>
15686
15687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15688 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15690 [__WORDSIZE != 64]: Likewise.
15691
54399c08
L
156922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * iconvdata/tst-table.sh: Remove ${SHELL}.
15695 * iconvdata/tst-tables.sh: Likewise.
15696
e2211bed
DM
156972012-10-25 David S. Miller <davem@davemloft.net>
15698
15699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15700 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15701 of strtoull.
15702
f303f97c
DM
15703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15704 ifunc-impl-list.c
15705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15706 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15707 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15708 file.
15709
1e9d84cd
RM
157102012-10-25 Roland McGrath <roland@hack.frob.com>
15711
15712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15713 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15714 __getdirentries.
15715
df381762
JM
157162012-10-25 Joseph Myers <joseph@codesourcery.com>
15717 Jim Blandy <jimb@codesourcery.com>
15718
15719 * scripts/cross-test-ssh.sh: New file.
15720 * manual/install.texi (Configuring and compiling): Document use of
15721 cross-test-ssh.sh.
15722 * INSTALL: Regenerated.
15723
bff64913
PT
157242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15725
15726 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15727 EOPNOTSUPP.
15728
25fe8932
JM
157292012-10-25 Joseph Myers <joseph@codesourcery.com>
15730
15731 * Makeconfig (run-program-prefix): Fix comment.
15732
cc1290d0
JM
157332012-10-24 Joseph Myers <joseph@codesourcery.com>
15734 Jim Blandy <jimb@codesourcery.com>
15735
15736 * Makeconfig (test-wrapper): New variable,
15737 (test-wrapper-env): Likewise.
15738 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15739 (run-built-tests): Define to yes.
15740 (run-program-prefix): Use $(test-wrapper).
15741 (built-program-cmd): Likewise.
15742 * Rules (make-test-out): Use $(test-wrapper-env) and
15743 $(host-built-program-cmd).
15744 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15745 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15746 tst-pathopt.sh.
15747 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15748 $(test-wrapper-env) to tst-rtld-load-self.sh.
15749 ($(objpfx)order2.out): Use $(test-wrapper).
15750 ($(objpfx)tst-initorder.out): Likewise.
15751 ($(objpfx)tst-initorder2.out): Likewise.
15752 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15753 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15754 (test_wrapper_env): New variable. Use it to run ld.so.
15755 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15756 Use it to run ld.so.
15757 (test_wrapper_env): Likewise.
15758 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15759 $(test-wrapper) to run-iconv-test.sh.
15760 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15761 (ICONV): Use $test_wrapper.
15762 * posix/Makefile ($(objpfx)globtest.out): Pass
15763 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15764 globtest.sh, not $(run-program-prefix).
15765 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15766 (test_wrapper): Likewise.
15767 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15768 set together with run_via_rtld_prefix.
15769 (run_program_prefix): Define in terms of test_wrapper and
15770 run_via_rtld_prefix.
15771
6e6249d0
RM
157722012-10-24 Roland McGrath <roland@hack.frob.com>
15773
15774 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15775 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15776 Targets removed.
15777
15778 [BZ #14743]
15779 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15780 Declare __clock_getres, __clock_gettime, __clock_settime,
15781 __clock_nanosleep, and __clock_getcpuclockid.
15782 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15783 Remove librt_hidden_def (clock_gettime).
15784 * sysdeps/unix/clock_gettime.c: Likewise.
15785 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15787 * rt/clock_getres.c: Define __clock_getres as an alias.
15788 * sysdeps/posix/clock_getres.c: Likewise.
15789 * rt/clock_settime.c: Define __clock_settime as an alias.
15790 * sysdeps/unix/clock_settime.c: Likewise.
15791 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15792 * sysdeps/unix/clock_nanosleep.c: Likewise.
15793 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15794 * rt/clock-compat.c: New file.
15795 * rt/Makefile (librt-routines): Add clock-compat and move
15796 $(clock-routines) to ...
15797 (routines): ... here, new variable.
15798 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15799 Don't add get_clockfreq here.
15800 * rt/Versions (libc: GLIBC_2.17): New version set.
15801 Add clock_* symbols here.
15802 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15803 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15804 (GLIBC_2.17): Add clock_* symbols.
15805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15809 Likewise.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15811 Likewise.
15812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15816 * NEWS: Mention the move.
15817
15818 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15819 Use __open, __read, __close rather than their public counterparts.
15820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15821 (__get_clockfreq_via_cpuinfo): Likewise.
15822 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15823 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15824
15825 * config.h.in (HAVE_IFUNC): New #undef.
15826 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15827 was successful.
15828 * configure: Regenerated.
15829
0cae3f4b
MF
158302012-10-24 Mike Frysinger <vapier@gentoo.org>
15831
15832 * configure.in: Move READELF check to start of file.
15833 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15834 libc_cv_asm_gnu_indirect_function in the process.
15835 * configure: Regenerated.
15836
8175a253
MF
158372012-10-24 Mike Frysinger <vapier@gentoo.org>
15838
15839 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15840 send the output to /dev/null.
15841 (libc_cv_cc_with_libunwind): Likewise.
15842 (libc_cv_as_noexecstack): Likewise.
15843 * configure: Regenerate.
15844
0708a7d1
JM
158452012-10-24 Joseph Myers <joseph@codesourcery.com>
15846
10b40d85
JM
15847 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15848
0708a7d1
JM
15849 * posix/globtest.sh (TMPDIR): Do not set.
15850 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15851 (testout): Likewise.
15852
9fddec1a
AJ
158532012-10-24 Andreas Jaeger <aj@suse.de>
15854
3a8db22f
AJ
15855 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15856 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15857 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15858 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15859 posix_fadvise64, posix_fallocate64.
15860
9fddec1a
AJ
15861 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15862 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15863 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15864 Likewise.
15865 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15866 Likewise.
15867 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15868
15869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15870 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15871 <bits/fcntl-linux.h>.
15872 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15873
15874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15875 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15876 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15877 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15878 [__WORDSIZE != 64]: Likewise.
15879
ebfd1bbd
JM
158802012-10-23 Joseph Myers <joseph@codesourcery.com>
15881
03ac099f
JM
15882 * Makeconfig (run-built-tests): New variable.
15883 * Rules [$(cross-compiling) = yes]: Change condition to
15884 [$(run-built-tests) = no].
15885 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15886 to [$(run-built-tests) = yes].
15887 * elf/Makefile [$(cross-compiling) = no]: Likewise
15888 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15889 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15890 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15891 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15892 * io/Makefile [$(cross-compiling) = no]: Likewise.
15893 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15894 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15895 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15896 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15897 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15898 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15899 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15900 * string/Makefile [$(cross-compiling) = no]: Likewise.
15901
ebfd1bbd
JM
15902 * posix/Makefile ($(objpfx)globtest.out): Pass
15903 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15904 $(rtld-installed-name).
15905 * posix/globtest.sh (elf_objpfx): Remove variable.
15906 (rtld_installed_name): Likewise.
15907 (library_path): Likewise.
15908 (run_program_prefix): New variable. Use for running globtest
15909 binary.
15910
166bca24
JB
159112012-10-23 Jim Blandy <jimb@codesourcery.com>
15912 Joseph Myers <joseph@codesourcery.com>
15913
15914 * Makeconfig (host-built-program-cmd): New variable.
15915 * elf/Makefile (tst-stackguard1-ARGS): Use
15916 $(host-built-program-cmd).
15917 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15918 (tst-spawn-ARGS): Likewise.
15919 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15920
88866099
JM
159212012-10-23 Joseph Myers <joseph@codesourcery.com>
15922 Jim Blandy <jimb@codesourcery.com>
15923
15924 * Makeconfig (run-via-rtld-prefix): New variable.
15925 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15926 (built-program-cmd): Likewise.
15927
b4b4c296
AJ
159282012-10-22 Andreas Jaeger <aj@suse.de>
15929
15930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15931 __O_RSYNC if it exists, otherwise to O_SYNC.
15932
6fb54a22
JB
159332012-10-22 Jim Blandy <jimb@codesourcery.com>
15934 Joseph Myers <joseph@codesourcery.com>
15935
15936 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15937 /dev/null.
15938 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15939 from /dev/null
15940 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15941 /dev/null.
15942
481b90b9
AJ
159432012-10-22 Andreas Jaeger <aj@suse.de>
15944
2a0e2669
AJ
15945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15946 Define always.
15947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15948
76e38f9a
AJ
15949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15950 bits/fcntl-linux.h.
15951
7cd37b43
AJ
15952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15953 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15954
481b90b9
AJ
15955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15956 to __O_LARGEFILE.
15957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15958 to __O_LARGEFILE.
15959
aba75984
JB
159602012-10-21 Jim Blandy <jimb@codesourcery.com>
15961 Joseph Myers <joseph@codesourcery.com>
15962
15963 * config.make.in (NM): New variable.
15964
88d4247f
AJ
159652012-10-21 Andreas Jaeger <aj@suse.de>
15966
15967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15968 definitions and declarations that are provided by
15969 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15970
f2eed205
L
159712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15972
15973 [BZ #14683]
15974 * elf/Makefile (tests-static): Add tst-leaks1-static.
15975 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15976 ($(objpfx)tst-leaks1-static): New rule.
15977 ($(objpfx)tst-leaks1-static-mem): Likewise.
15978 (tst-leaks1-static-ENV): New macro.
15979 * elf/dl-open.c (dl_open_worker): Check the main application
15980 only if SHARED is defined.
15981 * elf/tst-leaks1-static.c: New file.
15982
335e6931
AJ
159832012-10-20 Andreas Jaeger <aj@suse.de>
15984
15985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15986 generic values for Linux.
15987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15988 and declarations that are provided by <bits/fcntl-linux.h> and
15989 include <bits/fcntl-linux.h>.
15990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15992
ac5c94d3
RM
159932012-10-20 Roland McGrath <roland@hack.frob.com>
15994
15995 * io/fcntl.h: Move include of <bits/types.h> to the top and
15996 include it unconditionally.
15997
de54b33a
L
159982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15999
228cfb01
L
16000 * wcsmbs/Makefile (tests-ifunc): New variable.
16001 (tests): Add $(tests-ifunc).
16002 * wcsmbs/test-wcschr-ifunc.c: New file.
16003 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16004 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16005 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16006 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16007 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16008
69f07e5f
L
16009 * string/Makefile (tests-ifunc): New variable.
16010 (tests): Add $(tests-ifunc).
16011 * string/test-memccpy.c (TEST_NAME): New macro.
16012 * string/test-memchr.c (TEST_NAME): Likewise.
16013 * string/test-memcmp.c (TEST_NAME): Likewise.
16014 * string/test-memcpy.c (TEST_NAME): Likewise.
16015 * string/test-memmem.c (TEST_NAME): Likewise.
16016 * string/test-memmove.c (TEST_NAME): Likewise.
16017 * string/test-memset.c (TEST_NAME): Likewise.
16018 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16019 * string/test-stpcpy.c (TEST_NAME): Likewise.
16020 * string/test-stpncpy.c (TEST_NAME): Likewise.
16021 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16022 * string/test-strcasestr.c (TEST_NAME): Likewise.
16023 * string/test-strcat.c (TEST_NAME): Likewise.
16024 * string/test-strchr.c (TEST_NAME): Likewise.
16025 * string/test-strcmp.c(TEST_NAME): Likewise.
16026 * string/test-strcpy.c (TEST_NAME): Likewise.
16027 * string/test-strcspn.c (TEST_NAME): Likewise.
16028 * string/test-strlen.c (TEST_NAME): Likewise.
16029 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16030 * string/test-strncmp.c (TEST_NAME): Likewise.
16031 * string/test-strncpy.c (TEST_NAME): Likewise.
16032 * string/test-strnlen.c (TEST_NAME): Likewise.
16033 * string/test-strpbrk.c (TEST_NAME): Likewise.
16034 * string/test-strrchr.c (TEST_NAME): Likewise.
16035 * string/test-strspn.c (TEST_NAME): Likewise.
16036 * string/test-strstr.c (TEST_NAME): Likewise.
16037 * string/test-bcopy-ifunc.c: New file.
16038 * string/test-bzero-ifunc.c: Likewise.
16039 * string/test-memccpy-ifunc.c: Likewise.
16040 * string/test-memchr-ifunc.c: Likewise.
16041 * string/test-memcmp-ifunc.c: Likewise.
16042 * string/test-memcpy-ifunc.c: Likewise.
16043 * string/test-memmem-ifunc.c: Likewise.
16044 * string/test-memmove-ifunc.c: Likewise.
16045 * string/test-mempcpy-ifunc.c: Likewise.
16046 * string/test-memset-ifunc.c: Likewise.
16047 * string/test-rawmemchr-ifunc.c: Likewise.
16048 * string/test-stpcpy-ifunc.c: Likewise.
16049 * string/test-stpncpy-ifunc.c: Likewise.
16050 * string/test-strcasecmp-ifunc.c: Likewise.
16051 * string/test-strcasestr-ifunc.c: Likewise.
16052 * string/test-strcat-ifunc.c: Likewise.
16053 * string/test-strchr-ifunc.c: Likewise.
16054 * string/test-strchrnul-ifunc.c: Likewise.
16055 * string/test-strcmp-ifunc.c: Likewise.
16056 * string/test-strcpy-ifunc.c: Likewise.
16057 * string/test-strcspn-ifunc.c: Likewise.
16058 * string/test-strlen-ifunc.c: Likewise.
16059 * string/test-strncasecmp-ifunc.c: Likewise.
16060 * string/test-strncat-ifunc.c: Likewise.
16061 * string/test-strncmp-ifunc.c: Likewise.
16062 * string/test-strncpy-ifunc.c: Likewise.
16063 * string/test-strnlen-ifunc.c: Likewise.
16064 * string/test-strpbrk-ifunc.c: Likewise.
16065 * string/test-strrchr-ifunc.c: Likewise.
16066 * string/test-strspn-ifunc.c: Likewise.
16067 * string/test-strstr-ifunc.c: Likewise.
16068
de54b33a
L
16069 * debug/Makefile (tests-ifunc): New variable.
16070 (tests): Add $(tests-ifunc).
16071 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16072 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16073 * debug/test-stpcpy_chk-ifunc.c: New file.
16074 * debug/test-strcpy_chk-ifunc.c: Likewise.
16075
88481c16
SP
160762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16077
16078 [BZ #13601]
16079 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16080 header is not read in.
16081
135948bd
JM
160822012-10-19 Joseph Myers <joseph@codesourcery.com>
16083
89f1c388
JM
16084 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16085 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16086 directly. Pass built executable to script as
16087 $(built-program-cmd).
16088 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16089 $testprogram without using LD_LIBRARY_PATH and $ldso.
16090
e40a0d21
JM
16091 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16092 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16093 $(rtld-installed-name).
16094 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16095 (rtld_installed_name): Likewise.
16096 (library_path): Likewise.
16097 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16098 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16099 $(run-program-prefix) to tst-tables.sh.
16100 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16101 it to run tst-table-from and tst-table-to.
16102 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16103 Pass it to tst-table.sh.
16104 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16105 $(run-program-prefix) to tst-gettext.sh.
16106 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16107 tst-translit.sh.
16108 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16109 tst-gettext2.sh.
16110 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16111 to run tst-gettext.
16112 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16113 to run tst-gettext2.
16114 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16115 to run tst-translit.
16116 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16117 $(run-program-prefix) to tst-mtrace.sh.
16118 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16119 to run tst-mtrace.
16120 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16121 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16122 $(rtld-installed-name).
16123 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16124 (rtld_installed_name): Likewise.
16125 (run_program_prefix): New variable. Use it to run wordexp-test.
16126
728e272a
JM
16127 * Makeconfig (ARCH): Remove all definitions.
16128 (machine): Likewise.
16129 [ARCH]: Remove conditional code.
16130 [!objdir]: Give error.
16131 [!objdir] (objpfx): Remove.
16132 [!objdir] (common-objpfx): Likewise.
16133 [!objdir] (common-objdir): Likewise.
16134 * configure.in (config_makefile): Remove. Hardcode Makefile in
16135 AC_CONFIG_FILES call.
16136 * configure: Regenerated.
16137
d528cdcf
JM
16138 [BZ #13888]
16139 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16140 or TMPDIR.
16141 (testout): Likewise.
16142
135948bd
JM
16143 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16144 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16145 $(rtld-installed-name).
16146 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16147 (rtld_installed_name): Likwise.
16148 (runit): Remove function.
16149 (run_getconf): New variable, Use it for running getconf binary.
16150
38c78296
L
161512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 [BZ #14716]
16154 * string/test-memmem.c (check_result): New function.
16155 (do_one_test): Use it.
16156 (check1): New function.
16157 (test_main): Use it.
16158
d077f65f
MT
161592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16160
16161 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16162
ced52c71
JM
161632012-10-18 Joseph Myers <joseph@codesourcery.com>
16164
16165 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16166 (_G_LSEEK64): Likewise.
16167 (_G_MMAP64): Likewise.
16168 (_G_FSTAT64): Likewise.
16169 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16170 (_G_LSEEK64): Likewise.
16171 (_G_MMAP64): Likewise.
16172 (_G_FSTAT64): Likewise.
16173 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16174 unconditional. Call __mmap64 directly.
16175 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16176 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16177 __lseek64 directly.
16178 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16179 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16180 __mmap64 directly.
16181 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16182 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16183 __lseek64 directly.
16184 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16185 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16186 __lseek64 directly.
16187 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16188 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16189 __lseek64 directly.
16190 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16191 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16192 __fxstat64 directly.
16193 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16194 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16195 unconditional.
16196 (freopen64) [!_G_OPEN64]: Remove conditional code.
16197 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16198 unconditional.
16199 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16200 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16201 unconditional.
16202 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16203 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16204 unconditional.
16205 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16206 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16207 unconditional.
16208 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16209 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16210 unconditional.
16211 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16212 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16213 unconditional.
16214 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16215 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16216 unconditional.
16217 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16218
b741de23
SP
162192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16220
16221 [BZ #12140]
16222 * manual/memory.texi (Malloc Tunable Parameters): Add note
16223 about free list pointers overwriting some perturb bytes.
16224 Wording suggested by Roland McGrath.
16225
f9b9d9c9
JM
162262012-10-17 Joseph Myers <joseph@codesourcery.com>
16227
16228 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16229 (lgamma_test): Likewise.
16230 (tgamma_test): Likewise.
16231
172a631a
FW
162322012-10-16 Florian Weimer <fweimer@redhat.com>
16233
16234 [BZ #14700]
16235 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16236 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16237
e9f37252
MK
162382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16239
16240 * NEWS: Mention BZ #14716.
16241 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16242 when removing AVAILABLE1_USES_J macro.
16243
d394eb74
L
162442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16245
16246 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16247 (__bswap_64): __uint64_t for unsigned 64-bit int.
16248
ca38dc17
AS
162492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16250
16251 * include/string.h (memmem): Declare libc hidden alias.
16252 * string/memmem.c (memmem): Define libc hidden alias.
16253 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16254 __read, __close instead of open, read, close.
16255
9a387d1f
L
162562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16257
ac49ecaf
L
16258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16259 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16260 global and hidden.
16261 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16262 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16263 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16264 Likewise.
16265 (__rawmemchr_sse2): Likewise.
16266 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16267 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16268 (__strchr_sse2): Likewise.
16269 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16270 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16271 (__strcasecmp_sse2): Likewise.
16272 (__strncasecmp_sse2): Likewise.
16273 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16274 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16275 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16276 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16277 (__strrchr_sse2): Likewise.
16278 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16279 ifunc-impl-list.c.
16280 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16281 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16282 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16283 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16284 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16285 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16286 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16287 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16288 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16289 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16290 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16292 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16293 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16294 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16295 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16296 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16297 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16298 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16299 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16300 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16301 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16302 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16303 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16304 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16306 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16307 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16308 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16309 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16310
b090e8ea
L
16311 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16312 global and hidden.
16313 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16314 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16315 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16316 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16317 Likewise.
16318 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16319 Likewise.
16320 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16321 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16322 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16323 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16324 ifunc-impl-list.c.
16325 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16334 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16335 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16336 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16337 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16338 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16339 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16341 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16342 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16348 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16350 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16351 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16352 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16353 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16354 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16355 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16356 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16357 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16358 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16359 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16361 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16362 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16364 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16365 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16366
11dd4af6
L
16367 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16368 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16369 * include/ifunc-impl-list.h: New file.
16370 * misc/ifunc-impl-list.c: Likewise.
16371 * misc/Makefile (routines): Add ifunc-impl-list.
16372 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16373 * string/test-string.h: Include <ifunc-impl-list.h>.
16374 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16375 impl_array): New variables.
16376 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16377 are defined.
16378 (test_init): Call __libc_ifunc_impl_list to initialize
16379 func_list if TEST_IFUNC and TEST_NAME are defined.
16380
9a387d1f
L
16381 * string/Makefile (strop-tests): Add bcopy and bzero.
16382 * string/test-bcopy.c: New file.
16383 * string/test-bzero.c: Likewise.
16384 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16385 defined.
16386 * string/test-memset.c: Support bzero test if TEST_BZERO is
16387 defined.
16388 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16389 __libc_memmove.
16390 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16391 __libc_memset.
16392 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16393 of memset.
16394
472371b9
JM
163952012-10-10 Joseph Myers <joseph@codesourcery.com>
16396
1e4a9536
JM
16397 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16398 * configure: Regenerated.
16399
d173d12e
JM
16400 * Makeconfig (+link-static-before-libc): Don't include
16401 $(link-static-libc).
16402
472371b9
JM
16403 * libio/libio.h (_IO_pos_t): Remove.
16404
89a3ad0b
AO
164052012-10-10 Alexandre Oliva <aoliva@redhat.com>
16406
16407 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16408 McGrath.
16409
e7451425
AO
164102012-10-10 Alexandre Oliva <aoliva@redhat.com>
16411
16412 * crypt/crypt-entry.c: Include fips-private.h.
16413 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16414 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16415 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16416 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16417
4ba74a35
AO
164182012-10-10 Alexandre Oliva <aoliva@redhat.com>
16419
16420 * crypt/crypt-private.h: Include stdbool.h.
16421 (_ufc_setup_salt_r): Return bool.
16422 * crypt/crypt-entry.c: Include errno.h.
16423 (__crypt_r): Return NULL with EINVAL for bad salt.
16424 * crypt/crypt_util.c (bad_for_salt): New.
16425 (_ufc_setup_salt_r): Check that salt is long enough and within
16426 the specified alphabet.
16427 * crypt/badsalttest.c: New file.
16428 * crypt/Makefile (tests): Add it.
16429 ($(objpfx)badsalttest): New.
16430
f96f1242
MK
164312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16432
16433 * NEWS: Add entry for BZ #14602.
16434
0e8e0c1c
JM
164352012-10-09 Joseph Myers <joseph@codesourcery.com>
16436
16437 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16438 type-generic.
16439 * math/libm-test.inc: Update comment listing what functions and
16440 macros are tested.
16441 (isgreater_test): New function.
16442 (isgreaterequal_test): Likewise.
16443 (isless_test): Likewise.
16444 (islessequal_test): Likewise.
16445 (islessgreater_test): Likewise.
16446 (isunordered_test): Likewise.
16447 (main): Call the new functions.
16448
273edc5e
RM
164492012-10-09 Roland McGrath <roland@hack.frob.com>
16450
b8493de0
RM
16451 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16452 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16453 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16454 * sysdeps/i386/configure: Regenerated.
16455 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16456 * sysdeps/mach/configure: Regenerated.
16457 * sysdeps/mach/hurd/configure: Regenerated.
16458 * sysdeps/powerpc/configure: Regenerated.
16459 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16460 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16461 * sysdeps/s390/s390-32/configure: Regenerated.
16462 * sysdeps/s390/s390-64/configure: Regenerated.
16463 * sysdeps/sh/configure: Regenerated.
16464 * sysdeps/sparc/configure: Regenerated.
16465 * sysdeps/unix/sysv/linux/configure: Regenerated.
16466 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16467 * sysdeps/x86_64/configure: Regenerated.
16468
273edc5e
RM
16469 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16470 defined. Don't check if MAP is NULL.
16471
c8450f70
JM
164722012-10-09 Joseph Myers <joseph@codesourcery.com>
16473
16474 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16475 (_G_stat64): Likewise.
16476 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16477 (_G_stat64): Likewise.
16478 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16479 instead of struct _G_stat64.
16480 * libio/fileops.c (mmap_remap_check): Likewise.
16481 (decide_maybe_mmap): Likewise.
16482 (_IO_new_file_seekoff): Likewise.
16483 (_IO_file_stat): Likewise.
16484 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16485 _G_off64_t.
16486 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16487 instead of struct _G_stat64.
16488 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16489
57e605ba
MK
164902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16491
16492 [BZ #14602]
16493 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16494 Replace with ...
16495 (CHECK_EOL): New macro.
16496 (two_way_short_needle): Check beginning of haystack for EOL. Use
16497 CHECK_EOL.
16498 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16499 Replace with CHECK_EOL.
16500 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16501 Replace with CHECK_EOL.
16502
ef1bb361
JM
165032012-10-08 Joseph Myers <joseph@codesourcery.com>
16504
16505 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16506 type-generic.
16507 * math/libm-test.inc: Update comment listing what functions and
16508 macros are tested.
16509 (finite_test): New function.
16510 (isinf_test): Likewise.
16511 (isnan_test): Likewise.
16512 (fpclassify_test): Test subnormal input.
16513 (isfinite_test): Likewise.
16514 (isnormal_test): Likewise.
16515 (main): Call the new functions.
16516
55f11534
JN
165172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16518
16519 [BZ #14660]
16520 * Makerules (%.dynsym): Force C locale when running
16521 $(OBJDUMP) --dynamic-syms.
16522
1ab29350
AS
165232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16524
16525 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16526 <stdint.h>.
16527
f1ecb7ef
DM
165282012-10-06 David S. Miller <davem@davemloft.net>
16529
16530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16531 upper 32-bits of the length value in %o2 since we use branch-on-register
16532 tests which consider the entire 64-bit register.
16533
5d41d91a
L
165342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16535
16536 * string/test-strstr.c (check2): Add a test for page boundary.
16537
3baddb72
DM
165382012-10-05 David S. Miller <davem@davemloft.net>
16539
16540 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16542 file.
16543 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16544 sysdep_routines.
16545 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16546 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16547 and bzero when HWCAP_SPARC_CRYPTO is present.
16548
9cee5585
L
165492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16550
d7e0dab9
L
16551 [BZ #14602]
16552 * string/test-strstr.c (check2): New function.
16553 (test_main): Call check2.
16554
03759f47
L
16555 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16556 and bug-strchr1.
16557 * string/bug-strcasestr1.c (do_test): Moved to ...
16558 * string/test-strcasestr.c (check1): Here. New function.
16559 (do_one_test): Break out result checking code into ...
16560 (check_result): This. New function.
16561 (do_one_test): Call check_result.
16562 (test_main): Call check1.
16563 * string/bug-strchr1.c (do_test): Moved to ...
16564 * string/test-strchr.c (check1): Here. New function.
16565 (do_one_test): Break out result checking code into ...
16566 (check_result): This. New function.
16567 (do_one_test): Call check_result.
16568 (test_main): Call check1.
16569 * string/bug-strstr1.c (main): Moved to ...
046f153e 16570 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16571 (do_one_test): Break out result checking code into ...
16572 (check_result): This. New function.
16573 (do_one_test): Call check_result.
16574 (test_main): Call check1.
16575 * string/bug-strcasestr1.c: Removed.
16576 * string/bug-strchr1.c: Likewise.
16577 * string/bug-strstr1.c: Likewise.
16578
53cea63e
L
16579 * elf/Makefile (dl-routines): Add hwcaps.
16580 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16581 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16582 (_dl_important_hwcaps): Moved to ...
16583 * elf/dl-hwcaps.c: Here. New file.
16584 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16585
9cee5585 16586 [BZ #14557]
bb859b06
L
16587 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16588 if IS_IN_rtld isn't defined.
16589
9cee5585
L
16590 * elf/dl-support.c (_dl_sysinfo_map): New.
16591 Include "get-dynamic-info.h" and "setup-vdso.h".
16592 (_dl_non_dynamic_init): Call setup_vdso.
16593 * elf/dynamic-link.h: Don't include <assert.h>.
16594 (elf_get_dynamic_info): Moved to ...
16595 * elf/get-dynamic-info.h: Here. New file.
16596 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16597 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16598 * elf/setup-vdso.h: Here. New file.
16599 * elf/rtld.c: Include "setup-vdso.h".
16600 (dl_main): Call setup_vdso.
16601
23c31b76
JM
166022012-10-05 Joseph Myers <joseph@codesourcery.com>
16603
28234b07
JM
16604 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16605 creal in comment listing functions tested. List finite, isinf,
16606 isnan, isless, islessequal, isgreater, isgreaterequal,
16607 islessgreater, isunordered, lgamma_r and pow10 as functions and
16608 macros not tested. Mention which functions not tested are aliases
16609 for other functions. Fix typo. Note that signs of NaNs are not
16610 tested.
16611
23c31b76
JM
16612 * scripts/config.guess: Update from config.git.
16613 * scripts/config.sub: Likewise.
16614
9043e228
RM
166152012-10-04 Roland McGrath <roland@hack.frob.com>
16616
16617 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16618 * misc/madvise.c (madvise): Renamed to __madvise.
16619 Make madvise a weak alias.
16620 * include/sys/mman.h: Declare __madvise.
16621 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16622 * sysdeps/unix/syscalls.list
16623 (madvise): Make __madvise the strong name, and madvise a weak alias.
16624 * sysdeps/unix/sysv/linux/syscalls.list
16625 (madvise, mmap): Remove redundant entries.
16626 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16627 * malloc/malloc.c (mtrim): Likewise.
16628 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16629
f57f8055
RM
166302012-10-03 Roland McGrath <roland@hack.frob.com>
16631
16632 * sysdeps/mach/hurd/dl-cache.c: File removed.
16633 * config.h.in (USE_LDCONFIG): New #undef.
16634 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16635 * configure: Regenerated.
16636 * elf/Makefile (dl-routines): Add dl-cache only under
16637 [$(use-ldconfig) = yes].
16638 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16639 cache on [USE_LDCONFIG].
16640 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16641 [USE_LDCONFIG].
16642 * elf/rtld.c (dl_main): Likewise.
16643
5bb0c10a
PT
166442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16645
16646 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16647 _SC_LEVEL4_CACHE_LINESIZE.
16648
010188c6
RM
166492012-10-03 Roland McGrath <roland@hack.frob.com>
16650
16651 * sysdeps/unix/bsd/confstr.h: File removed.
16652
b6c5ec07
AO
166532012-10-02 Alexandre Oliva <aoliva@redhat.com>
16654
16655 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16656 sys/sdt-config.h.
16657
408223d4
RM
166582012-10-02 Roland McGrath <roland@hack.frob.com>
16659
16660 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16661 Make 'mapoff' field ElfW(Off) rather than off_t.
16662
bb9510dc
DL
166632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16664
fc997c6e
DL
16665 * nscd/Makefile: Remove nscd-cflags and all its users.
16666 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16667 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16668
bb9510dc
DL
16669 [BZ #10631]
16670 * malloc.c (malloc_printerr): Clarify error message.
16671
05699367
L
166722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 [BZ #14648]
16675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16676 Set bit_FMA_Usable if FMA is supported.
16677 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16678 macro.
16679 (bit_FMA4_Usable): Updated.
16680 (index_FMA_Usable): New macro.
16681 (CPUID_FMA): Likewise
16682 (HAS_FMA): Defined with bit_FMA_Usable.
16683
51367701
RM
166842012-10-01 Roland McGrath <roland@hack.frob.com>
16685
16686 * bits/types.h (__swblk_t): Type removed.
16687 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16688 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16690 (__SWBLK_T_TYPE): Likewise.
16691 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16692 (__SWBLK_T_TYPE): Likewise.
16693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16694 (__SWBLK_T_TYPE): Likewise.
16695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16696 (__SWBLK_T_TYPE): Likewise.
16697
4d57bf63 166982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16699 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16700
16701 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16702 (xdr_mapname): Use YPMAXMAP as maxsize.
16703 (xdr_peername): Use YPMAXPEER as maxsize.
16704 (xdr_keydat): Use YPAXRECORD as maxsize.
16705 (xdr_valdat): Use YPMAXRECORD as maxsize.
16706
93c65d43
RM
167072012-10-01 Roland McGrath <roland@hack.frob.com>
16708
497a03d6
RM
16709 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16710
93c65d43
RM
16711 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16712 * csu/init-first.c: ... here.
16713 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16714 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16715 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16716 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16717 * sysdeps/i386/init-first.c: File removed.
16718 * sysdeps/sh/init-first.c: File removed.
16719
bec749fd
JM
167202012-10-01 Joseph Myers <joseph@codesourcery.com>
16721
16722 [BZ #14645]
16723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16724 if x * y might underflow to zero and z is zero.
16725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16726 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16727 * math/libm-test.inc (min_subnorm_value): New variable.
16728 (fma_test): Add more tests.
16729 (fma_test_towardzero): Likewise.
16730 (fma_test_downward): Likewise
16731 (fma_test_upward): Likewise.
16732 (initialize): Set min_subnorm_value.
16733
8ec5b013
JM
167342012-09-29 Joseph Myers <joseph@codesourcery.com>
16735
16736 [BZ #14638]
16737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16738 0 + 0.
16739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16740 mode for addition resulting in exact zero.
16741 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16743 exact 0 + 0.
16744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16746 * math/libm-test.inc (fma_test): Add more tests.
16747 (fma_test_towardzero): New function.
16748 (fma_test_downward): Likewise.
16749 (fma_test_upward): Likewise.
16750 (main): Call the new functions.
16751
b1fa802e
DM
167522012-09-28 David S. Miller <davem@davemloft.net>
16753
16754 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16755
d3b9fd9e
RM
167562012-09-28 Roland McGrath <roland@hack.frob.com>
16757
ea4d37b3
RM
16758 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16759 instead of SIGALRM.
16760
ac51c949
RM
16761 * sysdeps/gnu/_G_config.h: Moved to ...
16762 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16763 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16764 * sysdeps/generic/_G_config.h: ... here.
16765
28c195f7
RM
16766 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16767
848917f9
RM
16768 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16769
6bacf05b
RM
16770 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16771 Conditionalize target on [libnss_test1.so-version].
16772
91363dbb
RM
16773 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16774
cc87f7d8
RM
16775 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16776 (elfobjdir): Move out of conditionals.
16777
b1c608fe
RM
16778 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16779 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16780 (__nss_lookup_function): Conditionalize label remove_from_tree on
16781 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16782
1d9a6d96
DM
167832012-09-28 David S. Miller <davem@davemloft.net>
16784
16785 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16786 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16787 file.
16788 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16789 sysdep_routines.
16790 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16792 when HWCAP_SPARC_CRYPTO is present.
16793
72581615
PT
167942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16795
16796 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16797
715a900c
JL
167982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16799
16800 [BZ #6530]
16801 * stdio-common/vfprintf.c (process_string_arg): Revert
16802 2000-07-22 change.
16803
168042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16805
16806 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16807 for testcase.
16808 * stdio-common/tst-sprintf.c: Include <locale.h>
16809 (main): Test sprintf's handling of incomplete multibyte
16810 characters.
16811
9bac1d86
L
168122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16813
16814 * elf/dl-runtime.c (VERSYMIDX): Removed.
16815 * elf/dl-version.c (VERSYMIDX): Likewise.
16816 * elf/do-rel.h (VERSYMIDX): Likewise.
16817 (VALIDX): Likewise.
16818 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16819 * elf/rtld.c (VALIDX): Likewise.
16820 (ADDRIDX): Likewise.
9bac1d86
L
16821 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16822 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16823 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16824 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16825 (VALIDX): Likewise.
16826 (ADDRIDX): Likewise.
9bac1d86 16827
b31606c0
PT
168282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16829
16830 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16831
11541177
JL
168322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16833
16834 [BZ #11438]
16835 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16836 to global scope.
16837 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16838 addresses are in the same scope as 192.0.2/24.
16839 * posix/gai.conf: Document new scope table defaults.
16840
adb26fae
SP
168412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16842
16843 [BZ #5298]
16844 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16845 for ftell. Compute offsets from write pointers instead.
16846 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16847
4573c6b0
SP
168482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16849
16850 [BZ #14543]
16851 * libio/Makefile (tests): New test case tst-fseek.
16852 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16853 combination works in wide mode.
16854 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16855 state when the external buffer state changes.
16856
aa9bbfe6
DM
168572012-09-27 David S. Miller <davem@davemloft.net>
16858
16859 [BZ #14376]
16860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16861 pass reloc->r_addend in as the 'high' argument to
16862 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16863
784421e7
DM
16864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16865
c39bc8b8
PT
168662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16867
16868 * rt/tst-aio2.c: Include <pthread.h>.
16869 * rt/tst-aio3.c: Likewise.
16870
1ccc2399
SE
168712012-09-27 Steve Ellcey <sellcey@mips.com>
16872
16873 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16874
31ed4153
L
168752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16876
25f5f885
L
16877 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16878 contents on [SHARED].
31ed4153 16879
b7bfe116
MP
168802012-09-26 Marek Polacek <polacek@redhat.com>
16881
16882 [BZ #14530]
16883 [BZ #13741]
16884 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16885 for C++ and GCC <4.3 as well as for non GCC compilers.
16886
43c4edba
MT
168872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16888
16889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16890
6a1bf82f
RM
168912012-09-25 Roland McGrath <roland@hack.frob.com>
16892
16893 * Makefile.in (all, install): Declare with .PHONY.
16894 Reported by Michael Hope <michael.hope@linaro.org>.
16895
8ad11b9a
TMQMF
168962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16897
16898 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16899 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16900 system header.
16901 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16902 Likewise.
16903 (sydep_routines): Add the new and the internal functions.
16904 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16905 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16907 (GLIBC_2.17): Add the new function.
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16909 (GLIBC_2.17): Likewise.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16911 (GLIBC_2.17): Likewise.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16913 (GLIBC_2.17): Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16915
7e2fca8d
AM
169162012-09-25 Alan Modra <amodra@gmail.com>
16917
16918 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16919 Add release barrier before setting once_control to say
16920 initialisation is done. Add hints on lwarx. Use macro in
16921 place of isync.
16922 (clear_once_control): Add release barrier.
16923
b87c4b24
JM
169242012-09-25 Joseph Myers <joseph@codesourcery.com>
16925
d032e0d2
JM
16926 [BZ #13629]
16927 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16928 specially.
16929 * math/s_clog10.c (__clog10): Likewise.
16930 * math/s_clog10f.c (__clog10f): Likewise.
16931 * math/s_clog10l.c (__clog10l): Likewise.
16932 * math/s_clogf.c (__clogf): Likewise.
16933 * math/s_clogl.c (__clogl): Likewise.
16934 * math/Makefile (libm-calls): Add x2y2m1.
16935 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16936 (__x2y2m1): Likewise.
16937 (__x2y2m1l): Likewise.
16938 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16939 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16942 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16943 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16944 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16945 * sysdeps/i386/fpu/libm-test-ulps: Update.
16946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16947
b87c4b24
JM
16948 [BZ #14621]
16949 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16950 int as type of variable DEPTH.
16951 (glob): Use size_t instead of int as type of variables NEWCOUNT
16952 and OLD_PATHC.
16953
6d3bf199
LD
169542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16955
22bf5c17
LD
16956 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16957 Add s_sincosf-sse2.
16958 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16959 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16960 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16961 macros for using routine as __sincosf_ia32.
16962 Use macro for function declaration and weak_alias.
16963 * sysdeps/i386/fpu/libm-test-ulps: Update.
16964
16965 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16967
16968 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16969 subnormal argument.
16970 * math/s_cexpf.c (__cexpf): Likewise.
16971 * math/s_csinf.c (__csinf): Likewise.
16972 * math/s_csinhf.c (__csinhf): Likewise.
16973 * math/s_ctanf.c (__ctanf): Likewise.
16974 * math/s_ctanhf.c (__ctanhf): Likewise.
16975 * math/s_ccosh.c (__ccoshf): Likewise.
16976 * math/s_cexp.c (__cexpl): Likewise.
16977 * math/s_csin.c (__csin): Likewise.
16978 * math/s_csinh.c (__csinh): Likewise.
16979 * math/s_ctan.c (__ctan): Likewise.
16980 * math/s_ctanh.c (ctanh): Likewise.
16981 * math/s_ccoshl.c (__ccoshl): Likewise.
16982 * math/s_cexpl.c (__cexpl): Likewise.
16983 * math/s_csinl.c (__csinl): Likewise.
16984 * math/s_csinhl.c (__csinhl): Likewise.
16985 * math/s_ctanl.c (__ctanl): Likewise.
16986 * math/s_ctanhl.c (__ctanhl): Likewise.
16987
203e5603
JM
169882012-09-25 Joseph Myers <joseph@codesourcery.com>
16989
16990 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16991 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16992 (_IO_off_t): Define to __off_t, not _G_off_t.
16993 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16994 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16995 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16996 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16997 type of __dummy and __dummy2 fields.
16998 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16999 (_G_ssize_t): Likewise.
17000 (_G_off_t): Likewise.
17001 (_G_pid_t): Likewise.
17002 (_G_uid_t): Likewise.
17003 (_G_wchar_t): Likewise.
17004 (_G_wint_t): Likewise.
17005 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17006 (_G_ssize_t): Likewise.
17007 (_G_off_t): Likewise.
17008 (_G_pid_t): Likewise.
17009 (_G_uid_t): Likewise.
17010 (_G_wchar_t): Likewise.
17011 (_G_wint_t): Likewise.
17012 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17013 (_G_ssize_t): Likewise.
17014 (_G_off_t): Likewise.
17015 (_G_pid_t): Likewise.
17016 (_G_uid_t): Likewise.
17017 (_G_wchar_t): Likewise.
17018 (_G_wint_t): Likewise.
17019
9fab36eb
SP
170202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17021
17022 * malloc/arena.c: Include malloc-sysdep.h.
17023 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17024 is sufficient to shrink the heap or an unmap is needed.
17025 * sysdeps/generic/malloc-sysdep.h: New file. Define
17026 new function check_may_shrink_heap.
17027 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17028 new function check_may_shrink_heap.
17029
2b4f00d1
SP
170302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17031
17032 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17033 comments.
17034
9a9028b1
DL
170352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17036
57c69bef
DL
17037 * catgets/test-gencat.sh: Add "set -e".
17038 * elf/tst-pathopt.sh: Likewise.
17039 * grp/tst_fgetgrent.sh: Likewise.
17040 * iconvdata/run-iconv-test.sh: Likewise.
17041 * intl/tst-gettext.sh: Likewise.
17042 * intl/tst-gettext2.sh: Likewise.
17043 * intl/tst-gettext4.sh: Likewise.
17044 * intl/tst-gettext6.sh: Likewise.
17045 * intl/tst-translit.sh: Likewise.
17046 * io/ftwtest-sh: Likewise.
17047 * libio/test-freopen.sh: Likewise.
17048 * malloc/tst-mtrace.sh: Likewise.
17049 * posix/globtest.sh: Likewise.
17050 * posix/tst-getconf.sh: Likewise.
17051 * posix/wordexp-tst.sh: Likewise.
17052 * stdio-common/tst-printf.sh: Likewise.
17053 * stdio-common/tst-unbputc.sh: Likewise.
17054 * stdlib/tst-fmtmsg.sh: Likewise.
17055 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17056 * catgets/Makefile: Do not specify -e option when running
17057 testsuite shell scripts.
17058 * elf/Makefile: Likewise.
17059 * grp/Makefile: Likewise.
17060 * iconvdata/Makefile: Likewise.
17061 * intl/Makefile: Likewise.
17062 * io/Makefile: Likewise.
17063 * libio/Makefile: Likewise.
17064 * malloc/Makefile: Likewise.
17065 * posix/Makefile: Likewise.
17066 * stdio-common/Makefile: Likewise.
17067 * stdlib/Makefile: Likewise.
17068 * sysdeps/x86_64/Makefile: Likewise.
17069
9a9028b1
DL
17070 * io/ftwtest-sh: Add copyright header.
17071 * posix/globtest.sh: Likewise.
17072 * posix/tst-getconf.sh: Likewise.
17073 * posix/wordexp-tst.sh: Likewise.
17074 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17075
ced6f16e
L
170762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17077
94b32c39
L
17078 [BZ #13679]
17079 * Makeconfig (+link): Defined as $(+link-static) if
17080 $(build-shared) isn't yes.
17081 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17082 isn't yes.
17083 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17084
189e935b
L
17085 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17086
ced6f16e
L
17087 [BZ #14562]
17088 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17089 new chunk size with MALLOC_ALIGN_MASK.
17090
a9f8e53a
JM
170912012-09-24 Joseph Myers <joseph@codesourcery.com>
17092
17093 [BZ #5044]
17094 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17095 <rounding-mode.h>.
17096 (__printf_fphex): Determine rounding using get_rounding_mode and
17097 round_away.
17098 * stdio-common/tst-printf-round.c (struct hex_test): New
17099 structure.
17100 (hex_tests): New variable.
17101 (test_hex_in_one_mode): New function.
17102 (do_test): Also run tests for hex float output.
17103
43153109
JM
171042012-09-21 Joseph Myers <joseph@codesourcery.com>
17105
17106 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17107 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17108 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17109 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17110 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17111 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17112 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17113 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17114
8a26625d
JM
171152012-09-20 Joseph Myers <joseph@codesourcery.com>
17116
17117 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17118 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17119 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17120 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17121
f3fd569c
DL
171222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17123
17124 [BZ #14579]
17125 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17126 mode only.
17127 * elf/tst-rtld-load-self.sh: New test.
17128 * elf/Makefile: Run it.
17129
63bbedd4
JM
171302012-09-18 Joseph Myers <joseph@codesourcery.com>
17131
17132 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17133 (tst-writev-ENV): Remove.
17134 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17135
626f8b6a
CM
171362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17137
17138 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17139
b7aaa4d6
JM
171402012-09-17 Joseph Myers <joseph@codesourcery.com>
17141
17142 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17143 unconditional.
17144 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17145 Likewise.
17146 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17147 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17148 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17149 Likewise.
17150
65513990
L
171512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17152
17153 [BZ #14587]
17154 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17155 * config.make.in (have-cpp-asm-debuginfo): Removed.
17156 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17157 * configure: Regenerated.
17158
784761be
JM
171592012-09-14 Joseph Myers <joseph@codesourcery.com>
17160
17161 [BZ #5044]
17162 * stdio-common/printf_fp.c: Include <stdbool.h> and
17163 <rounding-mode.h>.
17164 (___printf_fp): Determine rounding using get_rounding_mode and
17165 round_away.
17166 * stdio-common/tst-printf-round.c: New file.
17167 * stdio-common/Makefile (tests): Add tst-printf-round.
17168 (link-libm): New variable.
17169 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17170
9503345f
L
171712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 [BZ #14576]
17174 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17175 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17176 Likewise.
17177 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17178 Likewise.
17179
ad35fc00
JM
171802012-09-13 Joseph Myers <joseph@codesourcery.com>
17181
17182 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17183 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17184 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17186
6c9b0f68
JM
171872012-09-12 Joseph Myers <joseph@codesourcery.com>
17188
17189 [BZ #14518]
17190 * include/rounding-mode.h: New file.
17191 * sysdeps/generic/get-rounding-mode.h: Likewise.
17192 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17193 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17194 (MAX_VALUE): New macro.
17195 (MIN_VALUE): Likewise.
17196 (overflow_value): New function.
17197 (underflow_value): Likewise.
17198 (round_and_return): Use overflow_value and underflow_value to
17199 determine return values in overflow and underflow cases. Use
17200 round_away to determine rounding depending on rounding mode.
17201 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17202 determine return values in overflow and underflow cases.
17203 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17204 (struct test_results): New structure.
17205 (struct test): Use struct test_results to store expected results
17206 for all rounding modes.
17207 (TEST): Include expected results for all rounding modes.
17208 (test_in_one_mode): New function.
17209 (do_test): Use test_in_one_mode to compute and check results.
17210 Check results for all rounding modes.
17211 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17212 $(link-libm).
17213
19fcedd5
AM
172142012-12-09 Allan McRae <allan@archlinux.org>
17215
1e9d84cd 17216 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17217
8bbfd2f1
JM
172182012-09-11 Joseph Myers <joseph@codesourcery.com>
17219
17220 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17221 (_G_int32_t): Likewise.
17222 (_G_uint16_t): Likewise.
17223 (_G_uint32_t): Likewise.
17224 (_G_HAVE_BOOL): Likewise.
17225 (_G_HAVE_ATEXIT): Likewise.
17226 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17227 (_G_HAVE_IO_FILE_OPEN): Likewise.
17228 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17229 (_G_int32_t): Likewise.
17230 (_G_uint16_t): Likewise.
17231 (_G_uint32_t): Likewise.
17232 (_G_HAVE_BOOL): Likewise.
17233 (_G_HAVE_ATEXIT): Likewise.
17234 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17235 (_G_HAVE_IO_FILE_OPEN): Likewise.
17236 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17237 (_G_int32_t): Likewise.
17238 (_G_uint16_t): Likewise.
17239 (_G_uint32_t): Likewise.
17240 (_G_HAVE_BOOL): Likewise.
17241 (_G_HAVE_ATEXIT): Likewise.
17242 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17243 (_G_HAVE_IO_FILE_OPEN): Likewise.
17244
b1dc5912
L
172452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * csu/libc-tls.c: Update copyright years.
17248
0e886ef9
JM
172492012-09-10 Joseph Myers <joseph@codesourcery.com>
17250
28361c5e
JM
17251 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17252 [!_G_USING_THUNKS]: Remove conditional code.
17253 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17254 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17255
0e886ef9
JM
17256 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17257 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17258 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17259 (_G_VTABLE_LABEL_PREFIX): Likewise.
17260 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17261 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17262 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17263 (_G_VTABLE_LABEL_PREFIX): Likewise.
17264 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17265 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17266 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17267 (_G_VTABLE_LABEL_PREFIX): Likewise.
17268 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17269
bcba7aa2
L
172702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17271
17272 * libio/Makefile: Include ../Makeconfig before tests.
17273 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17274 only if $(build-shared) is yes.
17275
06585ee8
L
17276 * iconv/gconv_db.c: Update copyright years.
17277
80ccd52c
LD
172782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17279
17280 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17281 unwind info if defined PIC. Fix special cases description.
17282 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17283
17284 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17285 DP_HI_MASK entry.
17286 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17287
691bc9c1
L
172882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17289
3d9b46b3
L
17290 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17291
de2139a9
L
17292 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17293 is NULL.
17294
5ca78dd0
L
17295 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17296 (LDLIBS-tst-chk4): This.
17297 (LDFLAGS-tst-chk5): Renamed to ...
17298 (LDLIBS-tst-chk5): This.
17299 (LDFLAGS-tst-chk6): Renamed to ...
17300 (LDLIBS-tst-chk6): This.
17301 (LDFLAGS-tst-lfschk4): Renamed to ...
17302 (LDLIBS-tst-lfschk4): This.
17303 (LDFLAGS-tst-lfschk5): Renamed to ...
17304 (LDLIBS-tst-lfschk5): This.
17305 (LDFLAGS-tst-lfschk6): Renamed to ...
17306 (LDLIBS-tst-lfschk6): This.
17307
691bc9c1
L
17308 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17309 on $(common-objpfx)soversions.mk.
17310
65cafb1c
JM
173112012-09-07 Joseph Myers <joseph@codesourcery.com>
17312
17313 [BZ #10014]
17314 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17315 example host name.
17316
c78ab094
SP
173172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17318
17319 * malloc/arena.c (arena_get_retry): New function that gets
17320 another arena for the caller to try its request on.
17321 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17322 current arena cannot fulfill the request.
17323 (__libc_memalign): Likewise.
17324 (__libc_memalign): Likewise.
17325 (__libc_pvalloc): Likewise.
17326 (__libc_calloc): Likewise.
17327
01f49f59
JT
173282012-09-05 John Tobey <john.tobey@gmail.com>
17329
17330 [BZ #13542]
17331 * manual/arith.texi (Operations on Complex): Fix description
17332 of carg branch cut.
17333
4c23fed5
JM
173342012-09-06 Joseph Myers <joseph@codesourcery.com>
17335
1d3c8572
JM
17336 [BZ #10014]
17337 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17338 host name.
17339
4c23fed5
JM
17340 [BZ #10038]
17341 * manual/memory.texi (Memory): Make order of menu items match
17342 order of sections.
17343
04570aaa
L
173442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17347 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17348 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17349
b80af2f4
L
173502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 * csu/libc-tls.c (static_dtv): Renamed to ...
17353 (_dl_static_dtv): This. Make it global.
17354 (_dl_initial_dtv): Removed.
17355 (__libc_setup_tls): Updated.
17356 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17357 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17358 DL_INITIAL_DTV.
17359
2abe9f15
PM
173602012-09-06 Petr Machata <pmachata@redhat.com>
17361
17362 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17363 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17364 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17365 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17366
0948c3af
L
173672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17368
17369 [BZ #14545]
17370 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17371 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17372 freeing dtv[-1].
17373
a5055ad1
L
173742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 [BZ #14544]
17377 * Makeconfig (link-static-before-libc): Replace $(+prector)
17378 with $(+prectorT).
17379 (link-static-after-libc): Replace $(+postctor) with
17380 $(+postctorT).
17381 (link-bounded): Replace $(+prector)/$(+postctor) with
17382 $(+prectorT)/$(+postctorT).
17383 (+prectorT): New macro.
17384 (+postctorT): Likewise.
17385
ed8c2ecd
JM
173862012-09-06 Joseph Myers <joseph@codesourcery.com>
17387
17388 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17389 (round_str): Handle values above the maximum for IBM long double
17390 as inexact.
17391 * stdlib/tst-strtod-round.c (tests): Regenerated.
17392
14c996c8
AK
173932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17394
17395 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17396 assembler flag.
17397 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17398 zarch_nohighgprs around the zarch optimized routines.
17399 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17400 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17402 for zarch.
17403
430d6ce6
DM
174042012-09-05 David S. Miller <davem@davemloft.net>
17405
17406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17407
ff04dda4
DM
17408 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17409 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17410 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17411 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17412 entries.
17413
24d4e01b
AO
174142012-09-05 Alexandre Oliva <aoliva@redhat.com>
17415
17416 * malloc/arena.c: Fold copyright years.
17417 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17418
61d58174
AO
174192012-09-05 Alexandre Oliva <aoliva@redhat.com>
17420
17421 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17422
20196a5e
AO
174232012-09-05 Alexandre Oliva <aoliva@redhat.com>
17424
17425 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17426
5c447383
AO
174272012-09-05 Alexandre Oliva <aoliva@redhat.com>
17428
17429 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17430 change internal state upon failure.
17431
fad64255
AO
174322012-09-05 Alexandre Oliva <aoliva@redhat.com>
17433
17434 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17435 * malloc/memusage.c (mmap): Likewise.
17436 (mmap64, mremap): Likewise. Adjust name in comment.
17437
1ffb8c90
SP
174382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17439
17440 * libio/fileops.c: Fix typos in comments.
17441 * libio/oldfileops.c: Likewise.
17442 * libio/wfileops.c: Likewise.
17443
6ef9cc37
SP
174442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17445
17446 [BZ #1349]
17447 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17448 (tst-malloc-usable-ENV): Set environment for test case.
17449 * malloc/hooks.c (malloc_check_get_size): New function to get
17450 requested size.
17451 * malloc/malloc.c (musable): Use malloc_check_get_size.
17452 * malloc/tst-malloc-usable.c: New test case.
17453
4d038ae3
AS
174542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17455
17456 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17457
c4e85184
AM
174582012-09-05 Allan McRae <allan@archlinux.org>
17459
b9dafc56 17460 [BZ #13966]
c4e85184
AM
17461 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17462 determine header location.
17463 * configure: Regenerated.
17464
e1343020
AS
174652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17466
17467 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17468 float format.
17469 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17470 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17471 format.
e1343020
AS
17472 (test): Regenerate.
17473
0a9f1987
DM
174742012-09-04 David S. Miller <davem@davemloft.net>
17475
17476 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17477 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17479
29237804
FW
174802012-09-04 Florian Weimer <fweimer@redhat.com>
17481
17482 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17483 failures.
17484
edb3cb88
FW
17485 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17486
60160d83
JM
174872012-09-04 Joseph Myers <joseph@codesourcery.com>
17488
17489 [BZ #9914]
17490 * libio/iogetdelim.c: Include <limits.h>.
17491 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17492 + len + 1 would overflow.
17493
bcd6c8dc
AJ
174942012-09-03 Andreas Jaeger <aj@suse.de>
17495
17496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17497 * sysdeps/i386/fpu/libm-test-ulps: Update.
17498
4ffffbd2
LD
174992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17500
17501 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17502 Add s_sinf-sse2, s_conf-sse2.
17503
17504 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17505 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17506 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17507 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17508
17509 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17510 for using routine as __sinf_ia32.
17511 Use macro for function declaration and weak_alias.
17512 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17513 for using routine as __cosf_ia32.
17514 Use macro for function declaration and weak_alias.
17515
17516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17517 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17518
17519 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17520 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17522
17523 * math/libm-test.inc (cos_test): Add more test cases.
17524 (sin_test): Likewise.
17525 (sincos_test): Likewise.
17526
511fa286
AK
175272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17528
17529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17530 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17531 hidden.
17532 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17533
5f30cfec
L
175342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 [BZ #14538]
17537 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17538 first element of the GOT.
17539 (elf_machine_load_address): Return the difference between
17540 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17541
0786794f
AM
175422012-09-01 Allan McRae <allan@archlinux.org>
17543
5f30cfec
L
17544 [BZ #13412]
17545 * configure.in (AWK): Require gawk version 3.0 or later.
17546 * configure: Regenerated.
0786794f 17547
26889eac
JM
175482012-09-01 Joseph Myers <joseph@codesourcery.com>
17549
17550 * sysdeps/unix/sysv/linux/kernel-features.h
17551 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17553 [__NR_clock_getres]: Make code unconditional.
17554 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17555 (clock_getcpuclockid): Remove code left unreachable by removal of
17556 conditionals.
17557 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17558 code unconditional.
17559 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17561 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17562 Make code unconditional.
17563 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17564 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17565 * sysdeps/unix/sysv/linux/clock_settime.c
17566 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17567 conditional code.
17568 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17569 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17570
d22e28b0
L
175712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17572
17573 [BZ #14476]
17574 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17575 scripts/test-installation.pl.
17576
17577 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17578 and $ld_so_version if it is set.
17579
050af9c4
SP
175802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17581
17582 [BZ #14516]
17583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17584 failure if reading from procfs failed.
17585 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17586
ad845c0b
JM
175872012-08-27 Joseph Myers <joseph@codesourcery.com>
17588
17589 * sysdeps/unix/sysv/linux/kernel-features.h
17590 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17591 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17592 Remove conditional code.
17593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17594 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17595 Remove conditional code.
17596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17597 * sysdeps/unix/sysv/linux/i386/fxstat.c
17598 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17600 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17601 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17603 * sysdeps/unix/sysv/linux/i386/lxstat.c
17604 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17606 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17607 Remove conditional code.
17608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17609 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17610 Remove conditional code.
17611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17612 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17613 <kernel-features.h>.
17614 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17615 Remove.
17616 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17617 Remove conditional code.
17618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17619 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17620 Remove conditional.
17621
5dbf56af
MF
176222012-08-27 Mike Frysinger <vapier@gentoo.org>
17623
17624 [BZ #5400]
17625 * NEWS: Add fixed bug number.
17626
d6e70f43
JM
176272012-08-27 Joseph Myers <joseph@codesourcery.com>
17628
7efb4737
JM
17629 [BZ #14519]
17630 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17631 underflowing exponent in case of negative sign.
17632 * stdlib/tst-strtod-round-data: Add more tests.
17633 * stdlib/tst-strtod-round.c (tests): Regenerated.
17634
af92131a
JM
17635 [BZ #3479]
17636 * stdlib/strtod_l.c (NDIG): Remove.
17637 (HEXNDIG): Likewise.
17638 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17639 smallest representable value.
17640 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17641 lie within an exact representation of 1/2 ulp of the result.
17642 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17643 unconditionally.
17644 (TENS_P9_IDX): Define unconditionally.
17645 (TENS_P9_SIZE): Likewise.
17646 (TENS_P10_IDX): Likewise.
17647 (TENS_P10_SIZE): Likewise.
17648 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17649 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17650 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17651 entries for 10^2^13 and 10^2^14.
17652 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17653 (TENS_P13_IDX): Define.
17654 (TENS_P13_SIZE): Likewise.
17655 (TENS_P14_IDX): Likewise.
17656 (TENS_P14_SIZE): Likewise.
17657 (_fpioconst_pow10): Change array size to
17658 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17659 unconditional.
17660 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17661 1024]: Add entries for 10^2^13 and 10^2^14.
17662 [LAST_POW10 > _LAST_POW10]: Remove #error.
17663 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17664 (_fpioconst_pow10): Change array size to
17665 FPIOCONST_POW10_ARRAY_SIZE.
17666 * stdlib/gen-fpioconst.c: New file.
17667 * stdlib/gen-tst-strtod-round.c: Likewise.
17668 * stdlib/tst-strtod-round-data: Likewise.
17669 * stdlib/tst-strtod-round.c: Likewise.
17670 * stdlib/Makefile (tests): Add tst-strtod-round.
17671
d6e70f43
JM
17672 [BZ #14459]
17673 * stdlib/strtod_l.c: Include <stdint.h>.
17674 (NDEBUG): Do not define.
17675 (round_and_return): Change EXPONENT parameter to type intmax_t.
17676 Rearrange calculations to avoid internal overflow possibilities.
17677 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17678 Rearrange calculations to avoid internal overflow possibilities.
17679 Assert that number fits inside MPNSIZE limbs.
17680 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17681 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17682 calculations and add assertions to avoid internal overflow
17683 possibilities. Add casts to avoid signed/unsigned operations.
17684 * stdlib/tst-strtod-overflow.c: New file.
17685 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17686
1f529f7d
MP
176872012-08-25 Marek Polacek <polacek@redhat.com>
17688
17689 * time/time.h: Fix some typos in comments.
17690
59a629f1
RM
176912012-08-23 Roland McGrath <roland@hack.frob.com>
17692
17693 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17694 * posix/tst-rfc3484-2.c: Likewise.
17695 * posix/tst-rfc3484-3.c: Likewise.
17696
d3bafbc9
SM
176972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17698
17699 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17700 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17701
4efcc022
JM
177022012-08-23 Joseph Myers <joseph@codesourcery.com>
17703
17704 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17705 #include of fxstatat64.c.
17706
3cc3ef96
RM
177072012-08-22 Roland McGrath <roland@hack.frob.com>
17708
f04e2132
RM
17709 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17710 * shadow/getspent_r.c: Likewise.
17711 * shadow/getspnam.c: Likewise.
17712 * shadow/getspnam_r.c: Likewise.
17713 * gshadow/getsgent.c: Likewise.
17714 * gshadow/getsgent_r.c: Likewise.
17715 * gshadow/getsgnam.c: Likewise.
17716 * gshadow/getsgnam_r.c: Likewise.
17717 * inet/getnetbyad.c: Likewise.
17718 * inet/getnetbyad_r.c: Likewise.
17719 * inet/getnetbynm.c: Likewise.
17720 * inet/getnetbynm_r.c: Likewise.
17721 * inet/getnetent.c: Likewise.
17722 * inet/getnetent_r.c: Likewise.
17723 * inet/getproto.c: Likewise.
17724 * inet/getproto_r.c: Likewise.
17725 * inet/getprtent.c: Likewise.
17726 * inet/getprtent_r.c: Likewise.
17727 * inet/getprtname.c: Likewise.
17728 * inet/getprtname_r.c: Likewise.
17729 * inet/getrpcbyname.c: Likewise.
17730 * inet/getrpcbyname_r.c: Likewise.
17731 * inet/getrpcbynumber.c: Likewise.
17732 * inet/getrpcbynumber_r.c: Likewise.
17733 * inet/getrpcent.c: Likewise.
17734 * inet/getrpcent_r.c: Likewise.
17735 * inet/getaliasent.c: Likewise.
17736 * inet/getaliasent_r.c: Likewise.
17737 * inet/getaliasname.c: Likewise.
17738 * inet/getaliasname_r.c: Likewise.
17739 * nscd/getgrgid_r.c: Likewise.
17740 * nscd/getgrnam_r.c: Likewise.
17741 * nscd/gethstbyad_r.c: Likewise.
17742 * nscd/gethstbynm3_r.c: Likewise.
17743 * nscd/getpwnam_r.c: Likewise.
17744 * nscd/getpwuid_r.c: Likewise.
17745 * nscd/getsrvbynm_r.c: Likewise.
17746 * nscd/getsrvbypt_r.c: Likewise.
17747 * nscd/gai.c: Likewise.
17748
c53d909c
RM
17749 * configure.in (build_nscd): New substituted variable, set
17750 by --disable-build-nscd and defaults to $use_nscd.
17751 * configure: Regenerated.
17752 * config.make.in (build-nscd): New substituted variable.
17753 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17754 Change conditional to require [$(build-nscd) = yes] as well.
17755 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17756
3cc3ef96
RM
17757 [BZ# 13696]
17758 * configure.in (use_nscd): New substituted variable, set by
17759 --disable-nscd. If enabled, define USE_NSCD.
17760 * configure: Regenerated.
17761 * config.h.in: Add USE_NSCD.
17762 * config.make.in (use-nscd): New substituted variable.
17763 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17764 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17765 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17766 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17767 (CFLAGS-getgrnam_r.c): Likewise.
17768 (CFLAGS-initgroups.c): Likewise.
17769 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17770 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17771 Variables removed.
17772 * inet/getnetgrent_r.c
17773 (nscd_setnetgrent): New function, broken out of ...
17774 (setnetgrent): ... here. Call it.
17775 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17776 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17777 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17778 * nscd/Makefile (routines, aux): Move definitions after include of
17779 Makeconfig. Conditionalize on [$(use-nscd) != no].
17780 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17781 Conditionalize on [USE_NSCD].
17782 (is_nscd, nscd_init_cb): Likewise.
17783 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17784 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17785 * nss/nss_db/db-init.c: Likewise.
17786 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17787 [USE_NSCD].
17788 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17789 (make_request): Use it.
17790 (cache_valid_p): New function.
17791 (__check_pf): Use it.
17792 * NEWS: Add item for --disable-nscd.
17793
07e51550
DL
177942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17795
17796 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17797 to support sed >= 4.2.1-20-ga9bf076.
17798 * configure: Regenerated.
17799
35a5b08b
RM
178002012-08-22 Roland McGrath <roland@hack.frob.com>
17801
17802 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17803 Conditionalize whole body on [IREL].
17804
8479f23a
JL
178052012-08-22 Jeff Law <law@redhat.com>
17806
17807 [BZ #14505]
17808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17809 if the family is PF_UNSPEC.
17810
48da0b21
MF
178112012-08-22 Mike Frysinger <vapier@gentoo.org>
17812
17813 * Makerules (lib-version): Rename from V.
17814 (install-lib-nosubdir): Change V to lib-version.
17815
15d0da8c
WS
178162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17817
17818 [BZ #14252]
17819 * powerpc32/power6/wcschr.c: New file.
17820 * powerpc32/power6/wcscpy.c: New file.
17821 * powerpc32/power6/wcsrchr.c: New file.
17822 * powerpc64/power6/wcschr.c: New file.
17823 * powerpc64/power6/wcscpy.c: New file.
17824 * powerpc64/power6/wcsrchr.c: New file.
17825
bcca0895
MK
178262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17827
17828 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17829 (two_way_short_needle): Use it.
5a4aaa33
RM
17830 * string/strstr.c (AVAILABLE1_USES_J): Define.
17831 * string/strcasestr.c: Likewise.
99677e57
MK
17832
17833 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17834 array references.
17835 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17836
400726de
MK
17837 [BZ #11607]
17838 * NEWS: Add an entry.
17839 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17840 define their defaults.
17841 (two_way_short_needle): Detect end-of-string on-the-fly.
17842 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17843 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17844 * string/bug-strcasestr1.c: New test.
17845 * string/Makefile: Run it.
17846
20a71f2c
MK
178472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17848
17849 [BZ #11607]
17850 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17851 the first character.
17852
21ad0558
RM
178532012-08-21 Roland McGrath <roland@hack.frob.com>
17854
17855 * csu/elf-init.c (__libc_csu_irel): Function removed.
17856 * csu/libc-start.c (apply_irel): New function.
17857 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17858
0e1d9911
JM
178592012-08-21 Joseph Myers <joseph@codesourcery.com>
17860
17861 * sysdeps/unix/sysv/linux/kernel-features.h
17862 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17863 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17864 <kernel-features.h>.
17865 [__NR_fadvise64_64]: Make code unconditional.
17866 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17867 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17868 !__NR_fadvise64_64)]: Likewise.
17869 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17870 !__NR_fadvise64_64))]: Likewise.
17871 [__NR_fadvise64]: Make code unconditional.
17872 [!__NR_fadvise64]: Remove conditional code.
17873 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17874 <kernel-features.h>.
17875 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17876 unconditional.
17877 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17878 conditional code.
17879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17880 not include <kernel-features.h>.
17881 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17882 unconditional.
17883 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17884 conditional code.
17885 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17886 include <kernel-features.h>.
17887 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17888 unconditional.
17889 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17890 conditional code.
17891
14a50c9d
WS
178922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17893
17894 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17895 slight instruction rearrangements per scrollpipe analysis.
17896 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17897
c0f4faf0
RM
178982012-08-20 Roland McGrath <roland@hack.frob.com>
17899
696da859
RM
17900 * manual/syslog.texi (syslog; vsyslog, closelog):
17901 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17902 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17903
c0f4faf0
RM
17904 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17905 DSOCAPS to match condition on defining it.
17906
348363b2
JM
179072012-08-20 Joseph Myers <joseph@codesourcery.com>
17908
a35cbf28
JM
17909 * sysdeps/unix/sysv/linux/kernel-features.h
17910 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17912 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17913 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17915 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17916 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17918 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17919 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17920
445f7ecd
JM
17921 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17922 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17923
348363b2
JM
17924 * sysdeps/unix/sysv/linux/kernel-features.h
17925 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17926 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17927 unconditional.
17928 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17929 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17930 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17931 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17932 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17933 Make code unconditional.
17934 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17935 (__mmap64) [!__NR_mmap2]: Likewise.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17937 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17938 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17940 [__NR_mmap2]: Make code unconditional.
17941 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17942 (__mmap64) [!__NR_mmap2]: Likewise.
17943
bc5bc0e5
AK
179442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17945
17946 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17947
88d506de
AJ
179482012-08-18 Andreas Jaeger <aj@suse.de>
17949
17950 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17951
493387d2
MF
179522012-08-18 Mike Frysinger <vapier@gentoo.org>
17953
17954 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17955 * include/unistd.h (__have_sock_cloexec): Likewise.
17956 (__have_pipe2): Likewise.
17957 (__have_dup3): Likewise.
17958
a277af22
MF
179592012-08-18 Mike Frysinger <vapier@gentoo.org>
17960
17961 [BZ #9685]
17962 * include/unistd.h (__have_pipe2): Change define into an extern int.
17963 (__have_dup3): Likewise.
17964 * socket/have_sock_cloexec.c: Include fcntl.h.
17965 (__have_pipe2): New variable.
17966 (__have_dup3): Likewise.
17967
fdab8fd3
MF
179682012-08-17 Mike Frysinger <vapier@gentoo.org>
17969
17970 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17971
31035e80
MP
179722012-08-17 Marek Polacek <polacek@redhat.com>
17973
17974 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17975 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17976
3bd9e993
RM
179772012-08-17 Roland McGrath <roland@hack.frob.com>
17978
c91c505f
RM
17979 * configure.in: Add AC_SUBST for sysheaders.
17980 * configure: Regenerated.
17981 * config.make.in (sysheaders): New substituted variable.
17982
7c6f9d53
RM
17983 * sysdeps/unix/mkfifo.c: Moved ...
17984 * sysdeps/posix/mkfifo.c: ... here.
17985 * sysdeps/unix/mkfifoat.c: Moved ...
17986 * sysdeps/posix/mkfifoat.c: ... here.
17987
17988 * sysdeps/unix/utime.c: Moved ...
17989 * sysdeps/posix/utime.c: ... here.
17990
17991 * sysdeps/unix/time.c: Moved ...
17992 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17993 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17994 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17995
17996 * sysdeps/unix/nice.c: Moved ...
17997 * sysdeps/posix/nice.c: ... here.
17998
17999 * sysdeps/unix/alarm.c: Moved ...
18000 * sysdeps/posix/alarm.c: ... here.
18001
3bd9e993
RM
18002 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18003
d1f09384
JL
180042012-08-17 Jeff Law <law@redhat.com>
18005
18006 * intl/Makefile (codeset_mo): New variable.
18007 ($(codeset_mo)): New target.
18008 (tst-codeset.out): Depend on that. Remove explicit rule.
18009 (tst-gettext3.out, tst-gettext5.out): Likewise.
18010 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18011 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18012 * intl/tst-codeset.sh: Remove.
18013 * intl/tst-gettext3.sh: Likewise.
18014 * intl/tst-gettext5.sh: Likewise.
18015
2ae1ae5c
RM
180162012-08-17 Roland McGrath <roland@hack.frob.com>
18017
c31fdb83
RM
18018 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18019 * sysdeps/unix/syscalls.list: ... here.
18020
a0844057
RM
18021 * sysdeps/posix/getaddrinfo.c
18022 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18023 (gaiconf_init, gaiconf_reload): Use them.
18024 [!_STATBUF_ST_NSEC]
18025 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18026 Define using time_t rather than struct timespec.
18027
750c1f2a
RM
18028 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18029 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18030 Macros removed.
18031 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18032 [!NO_THREADS].
18033 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18034 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18035 Likewise.
18036
2ae1ae5c
RM
18037 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18038 __libc_cleanup_push argument.
18039
e66a42f5
RM
18040 * bits/param.h: New file.
18041 * misc/sys/param.h: New file.
18042 * include/sys/param.h: New file.
18043 * misc/Makefile (headers): Add bits/param.h.
18044 * sysdeps/generic/sys/param.h: File removed.
18045 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18046 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18047 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18048 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18049
b7c08a66
RM
18050 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18051 last change.
18052
b2e1c562
RM
18053 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18054 [_IO_MTSAFE_IO].
18055 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18056 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18057 New macros.
18058
c75ccd4c
RM
18059 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18060 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18061 rather than -D_IO_MTSAFE_IO conditionally.
18062 * stdio-common/Makefile (CPPFLAGS): Likewise.
18063 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18064 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18065 Use $(libio-mtsafe).
18066 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18067 of -D_IO_MTSAFE_IO.
18068 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18069 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18070 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18071 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18072 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18073 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18074 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18075 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18076 (CFLAGS-fread_u_chk.c): Likewise.
18077 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18078 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18079 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18080 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18081 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18082 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18083 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18084 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18085 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18086
18087 * libio/Makefile: Test [$(libc-reentrant) = yes]
18088 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18089
18090 * Makeconfig
18091 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18092 * sysdeps/pthread/configure: File removed.
18093 * sysdeps/pthread/Makeconfig: New file.
18094 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18095 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18096
d9195db8
GB
180972012-08-16 Gary Benson <gbenson@redhat.com>
18098
18099 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18100 unmapping the first object in a namespace.
18101
86466cd9
RM
181022012-08-16 Roland McGrath <roland@hack.frob.com>
18103
18104 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18105 (__internal_setnetgrent): ... this. Add internal_function to
18106 definition. Add libc_hidden_def.
18107 (setnetgrent): Update caller.
18108 (internal_endnetgrent): Renamed to ...
18109 (__internal_endnetgrent): ... this. Add internal_function to
18110 definition. Add libc_hidden_def.
18111 (endnetgrent): Update caller.
18112 (internal_getnetgrent_r): Renamed to ...
18113 (__internal_getnetgrent_r): ... this. Add internal_function to
18114 definition. Add libc_hidden_def.
18115 (__getnetgrent_r): Update caller.
18116 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18117
c3c8283c
JM
181182012-08-16 Joseph Myers <joseph@codesourcery.com>
18119
18120 * stdlib/longlong.h: Update from GCC.
18121
db1ee0a8
RM
181222012-08-16 Roland McGrath <roland@hack.frob.com>
18123
18124 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18125 on _QL, which is set by umul_ppmm but never used.
18126 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18127 variables, which are set by GMP macros but never used.
18128 * stdio-common/_itowa.c (_itowa): Likewise.
18129 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18130 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18131
30f69637
CD
181322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18133
18134 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18135 struct La_sh_regs is not constant.
18136 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18137 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18138 and struct La_sparc64_regs are not constant.
18139
93a78ac4
JM
181402012-08-16 Joseph Myers <joseph@codesourcery.com>
18141
18142 * sysdeps/unix/sysv/linux/kernel-features.h
18143 (__ASSUME_POSIX_TIMERS): Remove.
18144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18146 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18147 Make code unconditional.
18148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18149 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18150 Make code unconditional.
18151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18152 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18153 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18155 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18156 Make code unconditional.
18157 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18158 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18159 (__libc_missing_posix_timers): Remove.
18160
dd924cd7
RM
181612012-08-15 Roland McGrath <roland@hack.frob.com>
18162
4b4f2771
RM
18163 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18164 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18165
601c888b
RM
18166 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18167
176790a7
RM
18168 * elf/dl-sym.c: Include <stdlib.h>.
18169
329bc018
RM
18170 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18171 constants, which avoids warnings in 32-bit builds.
18172
e04e272d
RM
18173 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18174 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18175
952bf94a
RM
18176 * misc/lseek.c: File moved to ...
18177 * io/lseek.c: ... here.
18178
7c99b50a
RM
18179 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18180
dd924cd7
RM
18181 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18182 shifting LEN more than 31 bits at once.
18183
b3f479a8
LD
181842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18185
18186 [BZ #14195]
8c4ae0d4
RM
18187 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18188 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18189 * string/test-strncasecmp.c (check1): Renamed to...
18190 (bz12205): ...this.
18191 (bz14195): Add new testcase for two empty input strings and N > 0.
18192 (test_main): Call new testcase, adapt for renamed function.
18193
9c55864e
AJ
181942012-08-15 Andreas Jaeger <aj@suse.de>
18195
18196 [BZ #14090]
18197 * crypt/md5test2.c: New test, based on test supplied by Serge
18198 Belyshev <belyshev@depni.sinp.msu.ru>.
18199 * crypt/Makefile (xtests): Add md5test-giant..
18200 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18201
02dcb6c5
PE
182022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18203
18204 [BZ #14090]
18205 * crypt/md5.c (md5_process_block): Don't assume the buffer
18206 length is less than 2**32.
18207 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18208 length is less than 2**64.
18209
a3f95dcc
RM
182102012-08-15 Roland McGrath <roland@hack.frob.com>
18211
be75d758
RM
18212 * string/str-two-way.h: Include <sys/param.h>.
18213 (MAX): Macro removed.
18214
7312ca90
RM
18215 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18216 Move #define and #undef of memmove to just before and after
18217 including <string.h>.
18218
9a0a5486
RM
18219 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18220 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18221 and after including <string.h>. Move declarations of
18222 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18223 to before #include "string/memmove.c".
18224
67cc348d
RM
18225 * include/dirent.h: Declare __getdirentries.
18226
a3f95dcc
RM
18227 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18228 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18229
ca98e171
MF
182302012-08-14 Mike Frysinger <vapier@gentoo.org>
18231
18232 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18233 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18234 * sysdeps/i386/configure: Regenerated.
18235 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18236 STABS_CURRENT_FILE, and STABS_FUN.
18237 (END): Remove call to STABS_FUN_END.
18238 (STABS_CURRENT_FILE1): Delete.
18239 (STABS_CURRENT_FILE): Likewise.
18240 (STABS_FUN): Likewise.
18241 (STABS_FUN_END): Likewise.
18242 (STABS_FUN2): Likewise.
18243 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18244 * sysdeps/x86_64/configure: Regenerated.
18245
5908bf46
RM
182462012-08-14 Roland McGrath <roland@hack.frob.com>
18247
18248 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18249 * elf/dl-lookup.c: Likewise.
5908bf46 18250
f2c05b9e
JM
182512012-08-14 Joseph Myers <joseph@codesourcery.com>
18252
18253 * sysdeps/unix/sysv/linux/kernel-features.h
18254 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18255 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18256 unconditionally.
18257 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18258 unconditionally.
18259 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18260 condition on __ASSUME_CLONE_THREAD_FLAGS.
18261
e11f5155
AJ
182622012-08-14 Andreas Jaeger <aj@suse.de>
18263
18264 * sysdeps/i386/fpu/libm-test-ulps: Update.
18265
51a9ba86
MK
182662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18267
2fdd4f78
AJ
18268 * include/atomic.h (atomic_exchange_and_add): Split into ...
18269 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18270 New atomic macros.
51a9ba86 18271
ba6cba9e
MT
182722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18273
18274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18275
42443a47
JL
182762012-08-13 Jeff Law <law@redhat.com>
18277
18278 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18279 null byte in the output string.
18280
121dce05
JM
182812012-08-10 Joseph Myers <joseph@codesourcery.com>
18282
18283 * sysdeps/unix/sysv/linux/kernel-features.h
18284 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18285 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18286 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18287 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18288 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18289 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18290 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18291
bf51f568
JL
182922012-08-09 Jeff Law <law@redhat.com>
18293
18294 [BZ #13939]
18295 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18296 When avoid_arena is set, don't retry in the that arena. Pick the
18297 next one, whatever it might be.
18298 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18299 (arena_lock): Pass in new parameter to arena_get2.
18300 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18301 arena_get2.
18302 (__libc_malloc): Unify retrying after main arena failure with
18303 __libc_memalign version.
18304 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18305
f85fa270
L
183062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 [BZ #14166]
18309 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18310 to __redirect_strstr.
18311 (__strstr_sse42): Use typeof __redirect_strstr.
18312 (__strstr_ia32): Likewise.
18313 (__libc_strstr): New prototype.
18314 (strstr): Renamed to ...
18315 (__libc_strstr): This.
18316 (strstr): New strong alias of __libc_strstr.
18317 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18318 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18319 __redirect_time.
18320 Include <time.h>.
18321 (__libc_time): New prototype.
18322 (time_ifunc): Replace time with __libc_time.
18323 (time): New strong alias and hidden definition of __libc_time.
18324 (__GI_time): Remove strong alias.
18325 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18326 Include <stddef.h>.
18327 (memmove): Redefined to __redirect_memmove.
18328 (__memmove_sse2): Use typeof __redirect_memmove.
18329 (__memmove_ssse3): Likewise.
18330 (__memmove_ssse3_back): Likewise.
18331 (__libc_memmove): New prototype.
18332 (memmove): Renamed to ...
18333 (__libc_memmove): This.
18334 (memmove): New strong alias of __libc_memmove.
18335
33b4a91e
MS
183362012-08-08 Mark Salter <msalter@redhat.com>
18337
18338 * elf/elf.h
18339 (R_MN10300_TLS_GD): Define.
18340 (R_MN10300_TLS_LD): Likewise.
18341 (R_MN10300_TLS_LDO): Likewise.
18342 (R_MN10300_TLS_GOTIE): Likewise.
18343 (R_MN10300_TLS_IE): Likewise.
18344 (R_MN10300_TLS_LE): Likewise.
18345 (R_MN10300_TLS_DTPMOD): Likewise.
18346 (R_MN10300_TLS_DTPOFF): Likewise.
18347 (R_MN10300_TLS_TPOFF): Likewise.
18348 (R_MN10300_SYM_DIFF): Likewise.
18349 (R_MN10300_ALIGN): Likewise.
18350 (R_MN10300_NUM): Update.
18351
b36137f1
JM
183522012-08-08 Joseph Myers <joseph@codesourcery.com>
18353
18354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18355 Remove.
18356
cdd915fd
RM
183572012-08-08 Roland McGrath <roland@hack.frob.com>
18358
a2433aac
RM
18359 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18360
cdd915fd
RM
18361 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18362 sysdeps/unix -> sysdeps/posix move.
18363 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18364
bf9b740a
AM
183652012-08-07 Allan McRae <allan@archlinux.org>
18366
18367 [BZ #14303]
18368 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18369 (SUNOS_CPP): Likewise.
18370 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18371 not found.
18372 (open_input): Call CPP using execvp.
18373
93df14ee
JM
183742012-08-07 Joseph Myers <joseph@codesourcery.com>
18375
18376 * sysdeps/unix/sysv/linux/kernel-features.h
18377 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18378 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18379 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18380 (__ASSUME_WAITID_SYSCALL): Likewise.
18381 * sysdeps/unix/sysv/linux/dl-execstack.c
18382 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18383 code unconditional.
18384 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18385 conditional code.
18386 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18387 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18388 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18389 code.
18390 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18391 unconditional.
18392 [__ASSUME_WAITID_SYSCALL]: Likewise.
18393 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18394
d34689de
RM
183952012-08-07 Roland McGrath <roland@hack.frob.com>
18396
a281decc
RM
18397 * sysdeps/unix/closedir.c: Renamed to ...
18398 * sysdeps/posix/closedir.c: ... here.
18399 * sysdeps/unix/dirfd.c: Renamed to ...
18400 * sysdeps/posix/dirfd.c: ... here.
18401 * sysdeps/unix/dirstream.h: Renamed to ...
18402 * sysdeps/posix/dirstream.h: ... here.
18403 * sysdeps/unix/fdopendir.c: Renamed to ...
18404 * sysdeps/posix/fdopendir.c: ... here.
18405 * sysdeps/unix/opendir.c: Renamed to ...
18406 * sysdeps/posix/opendir.c: ... here.
18407 * sysdeps/unix/readdir.c: Renamed to ...
18408 * sysdeps/posix/readdir.c: ... here.
18409 * sysdeps/unix/readdir_r.c: Renamed to ...
18410 * sysdeps/posix/readdir_r.c: ... here.
18411 * sysdeps/unix/rewinddir.c: Renamed to ...
18412 * sysdeps/posix/rewinddir.c: ... here.
18413 * sysdeps/unix/seekdir.c: Renamed to ...
18414 * sysdeps/posix/seekdir.c: ... here.
18415 * sysdeps/unix/telldir.c: Renamed to ...
18416 * sysdeps/posix/telldir.c: ... here.
18417 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18418 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18419 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18420 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18421
22895b47
RM
18422 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18423 * bits/fcntl.h: ... here.
18424
707a53b6
RM
18425 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18426 not 0.
18427 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18428 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18429 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18430 (struct flock): Move l_start, l_len to the beginning.
18431 Use __pid_t for l_pid.
18432 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18433 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18434 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18435 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18436 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18437 [__USE_LARGEFILE64] (struct flock64): New type.
18438 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18439
f0bd3e25
RM
18440 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18441 * bits/dirent.h: ... here.
18442
d34689de
RM
18443 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18444 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18445
6dad2c06
JM
184462012-08-07 Joseph Myers <joseph@codesourcery.com>
18447
18448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18449 Change from 2.6.0 to 2.6.16.
18450 * sysdeps/unix/sysv/linux/configure: Regenerated.
18451 * sysdeps/unix/sysv/linux/kernel-features.h
18452 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18453 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18454 version.
18455 (__ASSUME_UTIMES): Likewise.
18456 (__ASSUME_CLONE_STOPPED): Remove.
18457 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18458 architectures, not kernel version.
18459 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18460 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18461 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18462 (__ASSUME_WAITID_SYSCALL): Likewise.
18463 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18464 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18465 * README: State 2.6.16 as minimum Linux kernel version. Do not
18466 refer to older versions.
18467
03af9520
RM
184682012-08-06 Roland McGrath <roland@hack.frob.com>
18469
8e49df1d
RM
18470 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18471 Define alphasort64 as an alias.
18472 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18473 Define versionsort64 as an alias.
18474 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18475 Define scandir64 as an alias.
18476 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18477 Define scandirat64 as an alias.
18478 * dirent/alphasort64.c (alphasort64):
18479 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18480 * dirent/versionsort64.c: Likewise.
18481 * dirent/scandir64.c: Likewise.
18482 * dirent/scandirat64.c: Likewise.
18483 * sysdeps/wordsize-64/alphasort.c: File removed.
18484 * sysdeps/wordsize-64/alphasort64.c: File removed.
18485 * sysdeps/wordsize-64/scandir.c: File removed.
18486 * sysdeps/wordsize-64/scandir64.c: File removed.
18487 * sysdeps/wordsize-64/scandirat.c: File removed.
18488 * sysdeps/wordsize-64/scandirat64.c: File removed.
18489 * sysdeps/wordsize-64/versionsort.c: File removed.
18490 * sysdeps/wordsize-64/versionsort64.c: File removed.
18491 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18492 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18497 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18499
18500 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18502 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18504 [defined __arch64__ || defined __sparcv9]
18505 (__INO_T_MATCHES_INO64_T): New macro.
18506 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18507 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18508 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18509 * sysdeps/unix/sysv/linux/bits/dirent.h
18510 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18511 (_DIRENT_MATCHES_DIRENT64): New macro.
18512
03af9520
RM
18513 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18514 Define lockf64 as an alias.
18515 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18516 Define fseeko64 as an alias.
18517 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18518 Define ftello64 as an alias.
18519 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18520 Define _IO_fgetpos64 and fgetpos64 as aliases.
18521 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18522 Define _IO_fsetpos64 and fsetpos64 as aliases.
18523 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18524 Conditionalize body on this.
18525 * libio/fseeko64.c: Likewise.
18526 * libio/ftello64.c: Likewise.
18527 * libio/iofgetpos64.c: Likewise.
18528 * libio/iofsetpos64.c: Likewise.
18529 * sysdeps/wordsize-64/lockf.c: File removed.
18530 * sysdeps/wordsize-64/lockf64.c: File removed.
18531 * sysdeps/wordsize-64/fseeko.c: File removed.
18532 * sysdeps/wordsize-64/fseeko64.c: File removed.
18533 * sysdeps/wordsize-64/ftello.c: File removed.
18534 * sysdeps/wordsize-64/ftello64.c: File removed.
18535 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18536 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18537 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18538 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18539 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18545 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18549
18550 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18552 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18554 [defined __arch64__ || defined __sparcv9]
18555 (__OFF_T_MATCHES_OFF64_T): New macro.
18556 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18557 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18558 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18559 (__OFF_T_MATCHES_OFF64_T): New macro.
18560
c5757acd
L
185612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18562
18563 * stdlib/secure-getenv.c (__secure_getenv): Replace
18564 GLIBC_2_16 with GLIBC_2_17.
18565
3a31811e
L
185662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18567
18568 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18570
faa2bccb
DM
185712012-08-03 David S. Miller <davem@davemloft.net>
18572
18573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18574
85fe1997
JM
185752012-08-03 Joseph Myers <joseph@codesourcery.com>
18576
18577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18578 Remove.
18579 (__ASSUME_CORRECT_SI_PID): Likewise.
18580 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18581 (__ASSUME_TMPFS_NAME): Likewise.
18582 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18583 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18584 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18585 (HAVE_AUX_SECURE): Make definition unconditional.
18586 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18587 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18588
4f75b7a0
RM
185892012-08-03 Roland McGrath <roland@hack.frob.com>
18590
18591 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18592 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18593 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18594 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18595 __eloop_threshold instead of SYMLOOP_MAX.
18596
18597 * sysdeps/generic/eloop-threshold.h: New file.
18598 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18599 of MAXSYMLINKS.
18600 * elf/chroot_canon.c (chroot_canon): Likewise.
18601
7aab07e4
JM
186022012-08-03 Joseph Myers <joseph@codesourcery.com>
18603
18604 [BZ #13717]
18605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18606 Change to 2.6.0 everywhere.
18607 * sysdeps/unix/sysv/linux/configure: Regenerated.
18608 * sysdeps/unix/sysv/linux/kernel-features.h
18609 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18610 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18611 kernel versions.
18612 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18613 (__ASSUME_FUTEX_REQUEUE): Remove.
18614 (__ASSUME_STATFS64): Define unconditionally.
18615 (__ASSUME_AT_SECURE): Likewise.
18616 (__ASSUME_CORRECT_SI_PID): Likewise.
18617 (__ASSUME_TGKILL): Define without depending on kernel version for
18618 i386.
18619 (__ASSUME_UTIMES): Likewise.
18620 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18621 kernel version.
18622 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18623 (__ASSUME_TMPFS_NAME): Likewise.
18624 * README: Update reference to Linux kernel versions.
18625
b67e9372
MP
186262012-08-02 Marek Polacek <polacek@redhat.com>
18627
1f529f7d 18628 [BZ# 14150]
b67e9372
MP
18629 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18630 libc_cv_asm_type_prefix with %.
18631 * configure: Regenerated.
d2441631
RM
18632 * include/libc-symbols.h: Remove comment about
18633 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18634 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18635 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18636 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18637 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18638 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18639 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18640 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18641 * elf/tst-unique2mod1.c: Likewise.
18642 * elf/tst-unique1mod2.c: Likewise.
18643 * elf/tst-unique1mod1.c: Likewise.
18644 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18645 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18646 Replace ASM_TYPE_DIRECTIVE with .type.
18647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18648 * sysdeps/i386/sysdep.h: Likewise.
18649 * sysdeps/x86_64/sysdep.h: Likewise.
18650 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18652 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18653 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18654 * sysdeps/powerpc/powerpc32/sysdep.h:
18655 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18656 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18658 * sysdeps/i386/fpu/e_powf.S: Likewise.
18659 * sysdeps/i386/fpu/e_expl.S: Likewise.
18660 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18661 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18662 * sysdeps/i386/fpu/e_pow.S: Likewise.
18663 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18665 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18666 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18667 * sysdeps/i386/fpu/e_log2.S: Likewise.
18668 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18669 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18670 * sysdeps/i386/fpu/e_powl.S: Likewise.
18671 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18672 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18673 * sysdeps/i386/fpu/e_logl.S: Likewise.
18674 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18675 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18676 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18678 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18679 * sysdeps/i386/fpu/e_log.S: Likewise.
18680 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18681 * sysdeps/i386/fpu/e_logf.S: Likewise.
18682 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18683 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18684 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18685 * sysdeps/i386/fpu/e_log10.S: Likewise.
18686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18692 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18693 * sysdeps/i386/i686/strtok.S: Likewise.
18694 * sysdeps/i386/i386-mcount.S: Likewise.
18695 * sysdeps/i386/strtok.S: Likewise.
18696 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18700 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18701 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18702 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18703 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18705 * sysdeps/x86_64/_mcount.S: Likewise.
18706 * sysdeps/x86_64/strtok.S: Likewise.
18707 * sysdeps/sh/_mcount.S: Likewise.
18708
2747bf9a
RM
187092012-08-01 Roland McGrath <roland@hack.frob.com>
18710
18711 * libio/iofopen.c: Include <fcntl.h>.
18712 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18713 (_IO_fopen64, fopen64): Define as aliases.
18714 * libio/iofopen64.c: Include <fcntl.h>.
18715 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18716 Conditionalize body on this.
18717 * sysdeps/wordsize-64/iofopen.c: File removed.
18718 * sysdeps/wordsize-64/iofopen64.c: File removed.
18719
3fb791b8
MP
187202012-08-01 Marek Polacek <polacek@redhat.com>
18721
18722 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18723 Use dlfcn directly instead of a variable.
18724 (binfmt-subdir): Do not define.
18725 (dlfcn): Likewise.
18726
a9f1039f
JM
187272012-08-01 Joseph Myers <joseph@codesourcery.com>
18728
23bddc06
JM
18729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18730 Remove all definitions.
18731 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18732 <kernel-features.h>.
18733 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18734 (miss_F_GETOWN_EX): Remove all definitions.
18735 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18736 macro definition.
18737 [!__ASSUME_FCNTL64]: Remove conditional code.
18738 [__ASSUME_FCNTL64]: Make code unconditional.
18739 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18740 <kernel-features.h>.
18741 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18742 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18743 (lockf64) [__NR_fcntl64]: Make code unconditional.
18744 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18745
a9f1039f
JM
18746 * sysdeps/unix/sysv/linux/kernel-features.h
18747 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18748 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18749 Make code unconditional.
18750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18753 [__NR_vfork]: Make code unconditional.
18754 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18755 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18757 [__NR_vfork]: Make code unconditional.
18758 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18759 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18760
09c0ee5f
RM
187612012-08-01 Roland McGrath <roland@hack.frob.com>
18762
48aec5b9
RM
18763 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18764 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18765
cd97c966
RM
18766 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18767 Define mkstemp64 as an alias.
3f55550c
RM
18768 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18769 Define mkstemps64 as an alias.
cd97c966
RM
18770 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18771 Define mkostemp64 as an alias.
b8625cfc
RM
18772 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18773 Define mkostemps64 as an alias.
cd97c966
RM
18774 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18775 Conditionalize body on this.
18776 * misc/mkostemp64.c: Likewise.
b8625cfc 18777 * misc/mkostemps64.c: Likewise.
3f55550c 18778 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18779 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18780 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18781 * sysdeps/wordsize-64/mkostemp.c: File removed.
18782 * sysdeps/wordsize-64/mkstemp.c: File removed.
18783 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18787
09c0ee5f
RM
18788 [BZ #14138]
18789 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18790 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18791 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18792 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18793
18794 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18795 compat_symbol macros from <shlib-compat.h> rather than the underlying
18796 default_symbol_version and symbol_version macros, so that DEFAULT
18797 lines in shlib-versions are respected.
18798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18799
7e66ee51
FW
188002012-08-01 Florian Weimer <fweimer@redhat.com>
18801
18802 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18803 Declare with warn_unused_result.
18804 (setgid, setregid, setegid, setresgid): Likewise.
18805 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18806 Likewise.
18807 * WUR-REPORT: Remove set*id functions.
18808
d2a54255
PT
188092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18810
18811 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18812
7ecdb005
RM
188132012-07-31 Roland McGrath <roland@hack.frob.com>
18814
b4180a5e 18815 [BZ #10191]
789bd351
RM
18816 * include/sys/socket.h (__libc_accept, __libc_accept4):
18817 Add attribute_hidden.
18818 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18819
40ce302d
RM
18820 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18821 use of PTR_MANGLE.
18822 * inet/getnetgrent_r.c (setup): Likewise.
18823
7ecdb005
RM
18824 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18825
e2eabb2c
DM
188262012-07-31 David S. Miller <davem@davemloft.net>
18827
18828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18829
d0419dbf
JM
188302012-07-31 Joseph Myers <joseph@codesourcery.com>
18831
18832 [BZ #13629]
18833 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18834 value between 1.0 and 2.0 and smaller part has absolute value less
18835 than 1.0.
18836 * math/s_clog10.c (__clog10): Likewise.
18837 * math/s_clog10f.c (__clog10f): Likewise.
18838 * math/s_clog10l.c (__clog10l): Likewise.
18839 * math/s_clogf.c (__clogf): Likewise.
18840 * math/s_clogl.c (__clogl): Likewise.
18841 * math/libm-test.inc (clog_test): Add more tests.
18842 (clog10_test): Likewise.
18843 * sysdeps/i386/fpu/libm-test-ulps: Update.
18844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18845
2bc13872
FW
188462012-07-31 Florian Weimer <fweimer@redhat.com>
18847
18848 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18849 Exit with zero in case no suitable GID is found, and write a
18850 message to standard error.
18851
bea9b193
RM
188522012-07-30 Roland McGrath <roland@hack.frob.com>
18853
18854 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18855 rather than to 1.
18856 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18857 (MAXPATHLEN): Removed.
18858 (NOGROUP, NODEV): New macros.
18859 (setbit, clrbit, isset, isclr): New macros.
18860 (howmany, roundup, powerof2): New macros.
18861 (DEV_BSIZE): New macro.
18862
18863 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18864 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18865
18866 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18867 definition on [!__NO_LONG_DOUBLE_MATH].
18868
18869 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18870 PTR_MANGLE and PTR_DEMANGLE.
18871
18872 * socket/accept4.c (accept4): Rename to __libc_accept4.
18873 Define accept4 as a weak alias.
18874
18875 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18876 on [_DIRENT_HAVE_D_TYPE].
18877 * io/ftw.c (ftw_dir): Likewise.
18878
18879 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18880
18881 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18882
18883 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18884 Use the BSD numbers rather than the arbitrary ones we had.
18885 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18886 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18887 (SIGXCPU, SIGXFSZ): New macros.
18888 (_NSIG): Now 32.
18889
18890 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18891 initializer on [_LIBC_REENTRANT].
18892
18893 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18894 definitions inside [_POSIX_MAPPED_FILES].
18895
18896 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18897
18898 * dirent/opendir.c: Include <fcntl.h>.
18899
18900 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18901 (__libc_getspecific): Likewise.
18902 (__libc_key_create): Likewise.
18903
18904 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18905 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18906 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18907 (tmpfile64): Define as alias.
18908 * sysdeps/wordsize-64/tmpfile.c: File removed.
18909 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18911 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18912
18913 * stdio-common/vfscanf.c: Include <stdbool.h>.
18914 * nss/makedb.c: Likewise.
18915 * stdio-common/_i18n_number.h: Likewise.
18916 * argp/argp-help.c: Likewise.
18917 * posix/wordexp.c: Likewise.
18918 * sysdeps/posix/spawni.c: Likewise.
18919 * nss/nss_files/files-initgroups.c: Likewise.
18920 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18921 * nss/nss_files/files-initgroups.c: Likewise.
18922 * nss/nss_db/db-netgrp.c: Likewise.
18923 * nss/nss_db/db-initgroups.c: Likewise.
18924 * io/fchmodat.c: Include <sys/stat.h>.
18925
18926 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18927 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18928
18929 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18930 [HAVE_MMAP].
18931
18932 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18933 Add multiple inclusion protection.
18934
e5abc686
DM
189352012-07-27 David S. Miller <davem@davemloft.net>
18936
18937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18938
815e6fa3
GB
189392012-07-27 Gary Benson <gbenson@redhat.com>
18940
18941 [BZ #14298]
18942 * elf/rtld.c: Include <stap-probe.h>.
18943 (dl_main): Added static probes "init_start" and "init_complete".
18944 * elf/dl-load.c: Include <stap-probe.h>.
18945 (lose): Take new parameter "nsid".
18946 Added static probe "map_failed".
18947 (_dl_map_object_from_fd): Pass namespace id to lose.
18948 Added static probe "map_start".
18949 (open_verify): Pass namespace id to lose.
18950 * elf/dl-open.c: Include <stap-probe.h>.
18951 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18952 and "reloc_complete".
18953 * elf/dl-close.c: Include <stap-probe.h>.
18954 (_dl_close_worker): Added static probes "unmap_start" and
18955 "unmap_complete".
18956 * elf/rtld-debugger-interface.txt: New file documenting the above.
18957
9f98c16c
RM
189582012-07-26 Roland McGrath <roland@hack.frob.com>
18959
18960 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18961 rather than a string variable.
18962 * sunrpc/rpc_main.c (h_output): Likewise.
18963 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18964
f3c22df3
PT
189652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18966
18967 * inet/check_native.c: New file.
18968
3129cfc6
JM
189692012-07-26 Joseph Myers <joseph@codesourcery.com>
18970
da865e95
JM
18971 [BZ #13629]
18972 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18973 if larger part has absolute value 1.0.
18974 * math/s_clog10.c (__clog10): Likewise.
18975 * math/s_clog10f.c (__clog10f): Likewise.
18976 * math/s_clog10l.c (__clog10l): Likewise.
18977 * math/s_clogf.c (__clogf): Likewise.
18978 * math/s_clogl.c (__clogl): Likewise.
18979 * math/libm-test.inc (clog_test): Add more tests.
18980 (clog10_test): Likewise.
18981 * sysdeps/i386/fpu/libm-test-ulps: Update.
18982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983
3129cfc6
JM
18984 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18985 (pltexit): Likewise.
18986 (La_regs): Likewise.
18987 (La_retval): Likewise.
18988 (int_retval): Likewise.
18989 Update #error for removed macros to refer only to definitions in
18990 tst-audit.h.
18991 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18992 macro.
18993 (pltexit): Likewise.
18994 (La_regs): Likewise.
18995 (La_retval): Likewise.
18996 (int_retval): Likewise.
18997 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18998 macro.
18999 (pltexit): Likewise.
19000 (La_regs): Likewise.
19001 (La_retval): Likewise.
19002 (int_retval): Likewise.
19003 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19004 macro.
19005 (pltexit): Likewise.
19006 (La_regs): Likewise.
19007 (La_retval): Likewise.
19008 (int_retval): Likewise.
19009 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19010 macro.
19011 (pltexit): Likewise.
19012 (La_regs): Likewise.
19013 (La_retval): Likewise.
19014 (int_retval): Likewise.
19015 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19016 macro.
19017 (pltexit): Likewise.
19018 (La_regs): Likewise.
19019 (La_retval): Likewise.
19020 (int_retval): Likewise.
19021 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19022 macro.
19023 (pltexit): Likewise.
19024 (La_regs): Likewise.
19025 (La_retval): Likewise.
19026 (int_retval): Likewise.
19027 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19028 macro definitions in tst-audit.h.
19029 * sysdeps/i386/tst-audit.h: New file.
19030 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19031 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19032 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19033 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19034 * sysdeps/sh/tst-audit.h: Likewise.
19035 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19036 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19037 * sysdeps/x86_64/tst-audit.h: Likewise.
19038
bfc07087
AJ
190392012-07-26 Andreas Jaeger <aj@suse.de>
19040
b1b2aaf8
AJ
19041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19042 ptrace.
19043
19044 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19045 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19046 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19047 PTRACE_O_MASK.
19048 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19049 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19050 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19051
bfc07087
AJ
19052 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19053 value.
19054
19055 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19056 _sigsys.
19057 (si_call_addr, si_syscall, si_arch): Define new macro.
19058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19059 _sigsys.
19060 (si_call_addr, si_syscall, si_arch): Define new marcro.
19061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19062 _sigsys.
19063 (si_call_addr, si_syscall, si_arch): Define new macro.
19064 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19065 _sigsys.
19066 (si_call_addr, si_syscall, si_arch): Define new macro.
19067
89b4b02f
JM
190682012-07-25 Joseph Myers <joseph@codesourcery.com>
19069
19070 [BZ #13717]
19071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19072 Change to 2.4.21 where previously 2.4.1.
19073 * sysdeps/unix/sysv/linux/configure: Regenerated.
19074 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19075 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19076 Linux kernel version.
19077 (__ASSUME_STD_AUXV): Remove.
19078 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19079 kernel version.
19080 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19081 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19082 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19083 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19084 (__ASSUME_NETLINK_SUPPORT): Likewise.
19085 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19086 (__no_netlink_support): Remove conditional definition.
19087 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19088 Remove.
19089 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19090 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19091 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19092 (if_nameindex_ioctl): Remove.
19093 (if_nameindex_netlink): Do not handle __no_netlink_support.
19094 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19095 code.
19096 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19097 Remove conditional code.
19098 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19099 code.
19100 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19101 unconditional.
19102 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19103 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19104 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19105 Remove.
19106 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19107 [!__ASSUME_STD_AUXV]: Remove conditional code.
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19109 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19110 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19112 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19114 code.
19115 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19117 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19118 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19119 conditional code.
19120 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19122 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19123 code.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19125 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19126 conditional code.
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19128 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19129 code unconditional.
19130 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19131 conditional code.
19132 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19133 unconditional.
19134 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19135 conditional code.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19137 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19138 unconditional.
19139 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19140 conditional code.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19142 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19143 code unconditional.
19144 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19145 conditional code.
19146 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19147 unconditional.
19148 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19149 conditional code.
19150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19151 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19152 code unconditional.
19153 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19154 conditional code.
19155 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19156 unconditional.
19157 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19158 conditional code.
19159
842a39cd
AS
191602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19161
19162 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19163 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19164 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19165 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19166 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19167 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19168 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19169 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19170 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19171 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19172 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19173 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19174 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19175 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19176 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19177 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19178 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19179 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19180 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19182 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19185
84b3fd84
FW
191862012-07-25 Florian Weimer <fweimer@redhat.com>
19187
19188 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19189 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19190 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19191 Introduce __libc_secure_getenv.
0c7936d5
FW
19192 * stdlib/Versions (2.17): Add secure_getenv
19193 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19194 * stdlib/secure-getenv.c: Rename __secure_getenv to
19195 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19196 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19197 * stdlib/tst-secure-getenv.c: New.
19198 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19199 * manual/startup.texi (Environment Access): Document
19200 secure_getenv.
84b3fd84
FW
19201 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19202 __libc_secure_getenv.
19203 * inet/ruserpass.c (ruserpass): Likewise.
19204 * malloc/mtrace.c (mtrace): Likewise.
19205 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19206 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19207 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19208 * sysdeps/posix/tempname.c: Likewise. Evaluate
19209 HAVE_SECURE_GETENV.
19210 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19211 __secure_getenv to __libc_secure_getenv.
84b3fd84 19212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19214 Likewise.
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19216 Likewise.
19217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19224
56e49b71
JM
192252012-07-25 Joseph Myers <joseph@codesourcery.com>
19226
19227 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19228 (struct La_i86_retval): Likewise.
19229 (struct La_x86_64_regs): Likewise.
19230 (struct La_x86_64_retval): Likewise.
19231 (struct La_x32_regs): Likewise.
19232 (struct La_x32_retval): Likewise.
19233 (struct La_ppc32_regs): Likewise.
19234 (struct La_ppc32_retval): Likewise.
19235 (struct La_ppc64_regs): Likewise.
19236 (struct La_ppc64_retval): Likewise.
19237 (struct La_sh_regs): Likewise.
19238 (struct La_sh_retval): Likewise.
19239 (struct La_s390_32_regs): Likewise.
19240 (struct La_s390_32_retval): Likewise.
19241 (struct La_s390_64_regs): Likewise.
19242 (struct La_s390_64_retval): Likewise.
19243 (struct La_sparc32_regs): Likewise.
19244 (struct La_sparc32_retval): Likewise.
19245 (struct La_sparc64_regs): Likewise.
19246 (struct La_sparc64_retval): Likewise.
19247 (struct audit_ifaces): Remove architecture-specific pltenter and
19248 pltexit members.
19249 * sysdeps/i386/ldsodefs.h: New file.
19250 * sysdeps/powerpc/ldsodefs.h: Likewise.
19251 * sysdeps/s390/ldsodefs.h: Likewise.
19252 * sysdeps/sh/ldsodefs.h: Likewise.
19253 * sysdeps/sparc/ldsodefs.h: Likewise.
19254 * sysdeps/x86_64/ldsodefs.h: Likewise.
19255
354691b7
MP
192562012-07-25 Marek Polacek <polacek@redhat.com>
19257
19258 [BZ #6808]
19259 * math/libm-test.inc (yn_test): Add another test.
19260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19261 to ERANGE when the result is +-Inf.
19262 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19263 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19264 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19265 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19266
bf9e2071
JM
192672012-07-24 Joseph Myers <joseph@codesourcery.com>
19268
19269 * conform/data/time.h-data (NULL): Use macro-constant. Require
19270 equal to 0.
19271 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19272 clock_t.
19273 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19274
57633811
TS
192752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19276
19277 * configure.in <sysdeps resolving>: Correct printing
19278 Implies_before.
19279 * configure: Regenerate.
19280
c23c33b0
TS
192812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19282
19283 * math/w_ilogb.c: Include <limits.h>.
19284 * math/w_ilogbl.c: Likewise.
19285
b5982523
JM
192862012-07-20 Joseph Myers <joseph@codesourcery.com>
19287
19288 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19289 va_copy. Document allowing for unavailable va_copy only as
19290 pre-C99 compatibility.
19291 * manual/string.texi (Copying and Concatenation): Use va_copy
19292 instead of __va_copy in concat example.
19293
ac4ea442
PT
192942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19295
19296 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19297 (__sendto): Use create_address_port. Initialize APORT and deallocate
19298 it if not null.
19299
f98eafbd
PT
19300 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19301 with O_NOLINK passed to __file_name_lookup.
19302
898c7aab
PT
19303 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19304 with O_NOLINK passed to __file_name_lookup.
19305
0ced335a
PT
19306 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19307 negative N or less than NGIDS.
19308
b3404dbd
PT
19309 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19310 type to string_t. Set ERANGE as errno and return it if NAME is not big
19311 enough. Use memcpy instead of strncpy.
19312
0f48659e
JM
193132012-07-20 Joseph Myers <joseph@codesourcery.com>
19314
19315 * elf/Makefile (check-data): Remove.
19316 (localplt.data): New vpath directive.
19317 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19318 instead of $(check-data).
19319 * scripts/data/localplt-generic.data: Move to ...
19320 * sysdeps/generic/localplt.data: ... here.
19321 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19322 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19323 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19325 ... here.
19326 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19328 ... here.
19329 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19331 ... here.
19332 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19334 ... here.
19335 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19337 ... here.
19338 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19340 ... here.
19341
d37cbdaa
AZ
193422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343
19344 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19345 PPC32 and PPC64 files.
19346 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19347 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19348
46f85fc2
AK
193492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19350
19351 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19352 __makecontext_ret to ...
19353 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19354 ... here and call exit if uc_link is NULL. New file.
19355 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19356 __makecontext_ret.S.
19357 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19358 __makecontext_ret to ...
19359 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19360 ... here and call exit if uc_link is NULL. New file.
19361 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19362 __makecontext_ret.S.
19363
08f43f9b
AK
193642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19365
19366 * elf/elf.h (R_390_IRELATIVE): New definition.
19367 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19368 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19369 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19370 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19371 (elf_machine_lazy_rel): Likewise.
19372 * sysdeps/s390/dl-irel.h: New file.
19373 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19374 * sysdeps/s390/s390-64/memset.S: New asm code.
19375 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19376 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19378 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19379 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19380 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19381 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19382 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19383 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19384 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19385 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19386 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19387 * sysdeps/s390/s390-32/memset.S: New asm code.
19388 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19389
3b05db33
MP
193902012-07-17 Marek Polacek <polacek@redhat.com>
19391
19392 [BZ #14349]
19393 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19394 * sysdeps/s390/s390-64/configure.in: Likewise.
19395 * sysdeps/sparc/configure.in: Likewise.
19396 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19397 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19398 * sysdeps/i386/configure.in: Likewise.
19399 * sysdeps/x86_64/configure.in: Likewise.
19400 * sysdeps/sh/configure.in: Likewise.
19401 * sysdeps/s390/s390-32/configure: Regenerated.
19402 * sysdeps/s390/s390-64/configure: Likewise.
19403 * sysdeps/x86_64/configure: Likewise.
19404 * sysdeps/sh/configure: Likewise.
19405 * sysdeps/powerpc/powerpc64/configure: Likewise.
19406 * sysdeps/powerpc/powerpc32/configure: Likewise.
19407 * sysdeps/sparc/configure: Likwise.
19408 * sysdeps/i386/configure: Likewise.
19409
a66877c6
MP
19410 * elf/dl-open.c: Comment fixes.
19411
cfc82fd8
JM
194122012-07-17 Joseph Myers <joseph@codesourcery.com>
19413
bd29910a
JM
19414 * Makefile [CXX] (check-data): Remove.
19415 [CXX] (c++-types.data): New vpath directive.
19416 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19417 vpath. Do not allow for C++ type data being missing.
19418 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19419 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19420 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19421 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19422 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19423 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19424 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19426 ... here.
19427 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19429 ... here.
19430 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19432 ... here.
19433 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19435 ... here.
19436 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19438 ... here.
19439 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19441 ... here.
19442 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19444 ... here.
19445 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19447
cfc82fd8
JM
19448 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19449 definitions to architecture-specific files.
19450 (TLS_IE): Likewise.
19451 (TLS_LD): Likewise.
19452 (TLS_GD): Likewise.
19453 * sysdeps/i386/tls-macros.h: New file.
19454 * sysdeps/powerpc/tls-macros.h: Likewise.
19455 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19456 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19457 * sysdeps/sh/tls-macros.h: Likewise.
19458 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19459 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19460 * sysdeps/x86_64/tls-macros.h: Likewise.
19461
f7db3170
TS
194622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19463
07cbfc23
TS
19464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19465 zero value for regular exit case.
19466
f7db3170
TS
19467 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19468 (__start_context): Preserve zero value for regular exit case.
19469
dc97c227
TS
194702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19471 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19472
19473 * manual/setjmp.texi (setcontext): Clarify normal process
19474 termination when uc_link is the null pointer.
19475 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19476 exit call.
19477
d0cd7d02
AS
194782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19479
19480 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19481 preprocessor. Test for each exception mask separately.
19482
dd318934
AJ
194832012-07-16 Andreas Jaeger <aj@suse.de>
19484
19485 * po/ru.po: Update from translation team.
19486
8048311a
JM
194872012-07-15 Joseph Myers <joseph@codesourcery.com>
19488
19489 * conform/data/string.h-data (NULL): Use macro-constant. Require
19490 equal to 0.
19491 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19492 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19493 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19494 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19496
b637d46e
AJ
194972012-07-13 Andreas Jaeger <aj@suse.de>
19498
19499 * po/fr.po: Update from translation team.
19500
541428fe
MP
195012012-07-12 Marek Polacek <polacek@redhat.com>
19502
19503 [BZ #14173]
19504 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19506 loop condition.
19507
ec332e94
JM
195082012-07-12 Joseph Myers <joseph@codesourcery.com>
19509
19510 [BZ #13717]
19511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19512 Change to 2.4.1 where previously 2.4.0.
19513 * sysdeps/unix/sysv/linux/configure: Regenerated.
19514 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19515 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19516 version.
19517 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19518 (__ASSUME_AT_CLKTCK): Remove.
19519 (__ASSUME_AT_PAGESIZE): Likewise.
19520 (__ASSUME_AT_XID): Likewise.
19521 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19522 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19523 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19524 unconditionally.
19525 (HAVE_AUX_PAGESIZE): Likewise.
19526 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19527 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19528 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19529
7b6e99be
JB
195302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19531
19532 [BZ #14307]
19533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19534 the temporary buffer used to invoke __gethostbyname2_r,
19535 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19536 host_data / struct gaih_addrtuple.
19537 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19538 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19539 header file nss/nsswitch.h.
19540 * nss/nsswitch.h (global scope): Add definition of implementation
19541 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19542 resolv/nss_dns/dns-host.c).
19543
608404eb
AJ
195442012-07-11 Andreas Jaeger <aj@suse.de>
19545
19546 * po/fr.po: Update from translation team.
19547
71220aca
AJ
19548 * po/sv.po: Update from translation team
19549 * po/fr.po: Another update from translation team.
19550
28cfe843
AZ
195512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19552
19553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19554 for subnormals or multiply small sinh result by itself.
19555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19557
6b90f981
DM
195582012-07-11 David S. Miller <davem@davemloft.net>
19559
19560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19561
c6825772
AS
195622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19563
19564 [BZ #14347]
19565 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19566 (INTERNAL_MARK): Shift it here.
19567
7b8e0d49
MP
195682012-07-10 Marek Polacek <polacek@redhat.com>
19569
19570 [BZ #14151]
19571 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19572 libc_cv_asm_global_directive with .globl.
19573 * configure: Regenerated.
19574 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19575 with .globl.
19576 * sysdeps/i386/configure: Regenerated.
19577 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19578 with .globl.
19579 * sysdeps/x86_64/configure: Regenerated.
19580 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19581 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19582 * elf/tst-unique2mod2.c: Likewise.
19583 * elf/tst-unique2mod1.c: Likewise.
19584 * elf/tst-unique1mod2.c: Likewise.
19585 * elf/tst-unique1mod1.c: Likewise.
19586 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19587 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19588 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19590 * sysdeps/mach/sysdep.h: Likewise.
19591 * sysdeps/i386/sysdep.h: Likewise.
19592 * sysdeps/i386/i386-mcount.S: Likewise.
19593 * sysdeps/x86_64/_mcount.S: Likewise.
19594 * sysdeps/x86_64/sysdep.h: Likewise.
19595 * sysdeps/sh/_mcount.S: Likewise.
19596 * sysdeps/sh/sysdep.h: Likewise.
19597 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19598 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19599 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19600 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19601 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19602 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19603 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19604 * locale/localeinfo.h: Likewise.
19605 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19606 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19607
6c55cda3
RM
196082012-07-09 Roland McGrath <roland@hack.frob.com>
19609
19610 [BZ #14336]
19611 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19612 system".
19613 * manual/message.texi (The Uniforum approach): Likewise.
19614 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19615 (glibc iconv Implementation): Likewise.
19616
638a572e
JM
196172012-07-09 Joseph Myers <joseph@codesourcery.com>
19618
19619 [BZ #14337]
19620 * math/s_clog.c (__clog): Avoid scaling a value down where that
19621 could result in underflow.
19622 * math/s_clog10.c (__clog10): Likewise.
19623 * math/s_clog10f.c (__clog10f): Likewise.
19624 * math/s_clog10l.c (__clog10l): Likewise.
19625 * math/s_clogf.c (__clogf): Likewise.
19626 * math/s_clogl.c (__clogl): Likewise.
19627 * math/libm-test.inc (clog_test): Add more tests.
19628 (clog10_test): Likewise.
19629 * sysdeps/i386/fpu/libm-test-ulps: Update.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
261f4859
AS
196322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19633
0abaf3e4
AS
19634 [BZ #14283]
19635 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19636 by 7 not 8 to examine high bit of fractional part.
19637
261f4859
AS
19638 [BZ #14042]
19639 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19640 for call to __mcount_internal.
19641 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19642 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19643 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19644
f17ac40d
JM
196452012-07-06 Joseph Myers <joseph@codesourcery.com>
19646
9ad63c23
JM
19647 [BZ #14154]
19648 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19649 approximation for values within 0x1p-13f of an odd multiple of
19650 pi/4.
19651 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19652 exception. Add more tests.
19653 * sysdeps/i386/fpu/libm-test-ulps: Update.
19654
f17ac40d
JM
19655 [BZ #6778]
19656 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19657 inputs and return -1 for them. Do not check for +Inf in case not
19658 reachable for +Inf.
19659 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19660 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19662 and return -1 for them. Do not check for +Inf in case not
19663 reachable for +Inf.
19664 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19665 define.
19666 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19667 and return -1 for them. Do not check for +Inf in case not
19668 reachable for +Inf.
19669 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19670 spurious underflow.
19671 * sysdeps/i386/fpu/libm-test-ulps: Update.
19672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673
fb21f89b
MF
196742012-07-06 Mike Frysinger <vapier@gentoo.org>
19675
19676 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19677
cdfe2c5e
JM
196782012-07-05 Joseph Myers <joseph@codesourcery.com>
19679
19680 [BZ #14157]
19681 [BZ #14331]
19682 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19683 could result in spurious underflow. Scale down values above
19684 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19685 * math/s_csqrtf.c (__csqrtf): Likewise.
19686 * math/s_csqrtl.c (__csqrtl): Likewise.
19687 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19688 spurious underflow.
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19691
70d35b67
AS
196922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19693
704bc459
AS
19694 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19695 xopen-msg.sed.
19696 * catgets/xopen-msg.awk: New file.
19697 * catgets/xopen-msg.sed: Removed.
19698
70d35b67
AS
19699 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19700 po2text.sed.
19701 * intl/po2test.awk: New file.
19702 * intl/po2test.sed: Removed.
19703
ca61cf32
JM
197042012-07-04 Joseph Myers <joseph@codesourcery.com>
19705
19706 [BZ #14328]
19707 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19708 or multiply small sinh result by itself.
19709 * math/s_ctanf.c (__ctanf): Likewise.
19710 * math/s_ctanh.c (__ctanh): Likewise.
19711 * math/s_ctanhf.c (__ctanhf): Likewise.
19712 * math/s_ctanhl.c (__ctanhl): Likewise.
19713 * math/s_ctanl.c (__ctanl): Likewise.
19714 * math/libm-test.inc (ctan_test_tonearest): New function.
19715 (ctan_test_towardzero): Likewise.
19716 (ctan_test_downward): Likewise.
19717 (ctan_test_upward): Likewise.
19718 (ctanh_test_tonearest): Likewise.
19719 (ctanh_test_towardzero): Likewise.
19720 (ctanh_test_downward): Likewise.
19721 (ctanh_test_upward): Likewise.
19722 (main): Call these new functions.
19723 * sysdeps/i386/fpu/libm-test-ulps: Update.
19724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19725
ca48a46a
MF
197262012-07-03 Mike Frysinger <vapier@gentoo.org>
19727
19728 * .gitignore: Delete /ports entry.
19729
9d63d37d
AJ
197302012-07-03 Andreas Jaeger <aj@suse.de>
19731
19732 * po/bg.po: Update from translation team.
19733 * po/cs.po: Likewise.
19734 * po/de.po: Likewise.
19735 * po/hr.po: Likewise.
19736 * po/nl.pl: Likewise.
19737 * po/pl.po: Likewise.
19738 * po/vi.po: Likewise.
19739
370ca3d2
JM
197402012-07-03 Joseph Myers <joseph@codesourcery.com>
19741
95f5a9a8
JM
19742 * Makeconfig [!+link] (+link-before-libc): New variable.
19743 [!+link] (+link-after-libc): Likewise.
19744 [!+link] (+link-tests): Likewise.
19745 [!+link] (+link): Define in terms of $(+link-before-libc) and
19746 $(+link-after-libc).
19747 [!+link-static] (+link-static-before-libc): New variable.
19748 [!+link-static] (+link-static-after-libc): Likewise.
19749 [!+link-static] (+link-static-tests): Likewise.
19750 [!+link-static] (+link-static): Define in terms of
19751 $(+link-static-before-libc) and $(+link-static-after-libc).
19752 [build-shared] (link-libc-before-gnulib): New variable.
19753 [build-shared] (link-libc-tests): Likewise.
19754 [build-shared] (link-libc): Define in terms of
19755 $(link-libc-before-gnulib).
19756 [!build-shared] (link-libc-tests): New variable.
19757 (link-libc-static-tests): New variable.
19758 [!gnulib] (gnulib-arch): New variable.
19759 [!gnulib] (gnulib-tests): Likewise.
19760 [!gnulib] (static-gnulib-arch): Likewise.
19761 [!gnulib] (static-gnulib-tests): Likewise.
19762 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19763 Define with "=" instead of ":=".
19764 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19765 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19766 * Rules (binaries-all-notests): New variable.
19767 (binaries-all-tests): Likewise.
19768 (binaries-static-notests): Likewise.
19769 (binaries-static-tests): Likewise.
19770 (binaries-all): Define using $(binaries-all-notests) and
19771 $(binaries-all-tests).
19772 (binaries-static): Define using $(binaries-static-notests) and
19773 $(binaries-static-tests).
19774 (binaries-shared-tests): New variable.
19775 (binaries-shared-notests): Likewise.
19776 (binaries-shared): Remove variable.
19777 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19778 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19779 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19780 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19781 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19782 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19783 * elf/Makefile (sln-modules): New variable.
19784 (extra-objs): Add $(sln-modules:=.o).
19785 (ldconfig-modules): Add static-stubs.
19786 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19787 * elf/static-stubs.c: New file.
19788
7a845b2c
JM
19789 [BZ #14283]
19790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19791 by 7 not 8 to examine high bit of fractional part. Use volatile
19792 variables when splitting into final array of floats if
19793 __FLT_EVAL_METHOD__ != 0.
19794 * math/libm-test.inc (cos_test): Add another test.
19795 (sin_test): Likewise.
19796 * sysdeps/i386/fpu/libm-test-ulps: Update.
19797
e2283f38
JM
19798 [BZ #14273]
19799 * math/libm-test.inc (cosh_test): Add more tests.
19800
370ca3d2
JM
19801 * version.h (RELEASE): Set to "development".
19802 (VERSION): Set to "2.16.90".
19803
ee9247c3
CD
198042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19805
19806 * NEWS: Update copyright. Remove last-updated date.
19807 Mention math library bug fixes and timezone data changes.
19808 * README: Mention GNU/Hurd, x32, and HPPA support status.
19809
4648c381
TS
198102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19811
19812 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19813
aac78a43
AJ
198142012-06-27 Andreas Jaeger <aj@suse.de>
19815
19816 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19817
ed3dbfad
AJ
198182012-06-25 Andreas Jaeger <aj@suse.de>
19819
19820 * sysdeps/s390/fpu/libm-test-ulps: Update.
19821
4d0ee855
AS
198222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19823 Thomas Schwinge <thomas@codesourcery.com>
19824
19825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19826 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19828 fanotify_mark.
19829
af1bce34
TS
198302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19831
a9fa33ba
TS
19832 * sysdeps/mach/start.c: Remove file.
19833 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19834 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19835 * sysdeps/sh/init-first.c: Likewise.
19836
58f902b8
TS
19837 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19838 registers for frame unwinding purposes, add CFI directives.
19839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19841 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19842 Likewise.
19843
1518f58b
TS
19844 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19845 __fortify_fail returning.
19846 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19847
db9b5059
TS
19848 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19849 sysdeps/sh/____longjmp_chk.S.
19850 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19851 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19852 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19853 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19854
967705fe
TS
19855 * sysdeps/sh/abort-instr.h: New file.
19856 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19857 process in case exit returns.
19858
a9def8c4
TS
19859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19860 initialize the GOT register before use.
19861
2a649725
TS
19862 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19863 calculation of ARGC > 4.
19864
af1bce34
TS
19865 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19866 meaningful names to some local labels.
19867
d230f50a
KK
198682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19869 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19870
19871 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19872 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19873 (__arch_compare_and_exchange_val_16_acq): Likewise.
19874 (__arch_compare_and_exchange_val_32_acq): Likewise.
19875 (atomic_exchange_and_add): Fix gUSA sequence.
19876 (atomic_add): Likewise.
19877 (atomic_add_negative): Likewise.
19878 (atomic_add_zero): Likewise.
19879 (atomic_bit_test_set): Likewise.
19880
0479b305
AS
198812012-06-22 Andreas Schwab <schwab@redhat.com>
19882
19883 [BZ #13579]
19884 * include/link.h (struct link_map): Add l_free_initfini.
19885 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19886 l_initfini.
19887 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19888 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19889 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19890 set.
19891
0e3933b9
CD
198922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19893
19894 * configure.in: Use AC_LANG_SOURCE.
19895 * configure: Regenerate.
19896
4248b1b1
RM
198972012-06-22 Roland McGrath <roland@hack.frob.com>
19898
19899 * configure.in (libc_cv_localstatedir): New substituted variable.
19900 * configure: Regenerated.
19901 * config.make.in (localstatedir): New variable, substituted from
19902 libc_cv_localstatedir.
19903 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19904 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19905 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19906 * sysdeps/gnu/configure: Regenerated.
19907
006dd861
JL
199082012-06-21 Jeff Law <law@redhat.com>
19909
19910 [BZ #14277]
19911 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19912 free. Simplify list management for _LIBC case.
19913
79662d42
JM
199142012-06-21 Joseph Myers <joseph@codesourcery.com>
19915
b7abb4bf
JM
19916 [BZ #14273]
19917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19918 Clear sign bit of 64-bit integer value before comparing against
19919 overflow value.
19920
79662d42
JM
19921 * sysdeps/mach/configure: Regenerated.
19922
1f150908
L
199232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19924
19925 [BZ #14278]
19926 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19927
28363bbf
JL
199282012-06-21 Jeff Law <law@redhat.com>
19929
19930 [BZ #13882]
19931 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19932 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19933 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19934 * elf/dl-open.c (dl_open_worker): Likewise.
19935
09615db4
CD
199362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19937
19938 * scripts/list-sources.sh: Scan PORTS for translations.
19939 * po/libc.pot: Regenerated.
19940
2174c6dd
AJ
199412012-06-21 Andreas Jaeger <aj@suse.de>
19942
19943 [BZ #12194]
19944 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19945 warning.
19946 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19947 * bits/byteswap-16.h (__bswap_16): Likewise.
19948 * bits/byteswap.h (__bswap_constant_16): Likewise.
19949
3ee947b1
L
199502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19951
19952 [BZ #14117]
a2f34833
L
19953 * sysdeps/i386/fpu_control.h: Removed.
19954 * sysdeps/x86_64/fpu_control.h: Moved to ...
19955 * sysdeps/x86/fpu_control.h: Here.
19956
3ee947b1
L
19957 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19958 (_FPU_SETCW): Likewise.
19959
ed1825f8
L
199602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19961
25f1282a
L
19962 [BZ #14117]
19963 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19964 * sysdeps/x86/fpu/bits/mathinline.h: This.
19965 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19966
ed1825f8
L
19967 [BZ #14050]
19968 [BZ #14117]
19969 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19970 functions if __x86_64__ is defined.
19971
36d54b74
CLT
199722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19973
19974 * string/endian.h: Add !__ASSEMBLER__ condition for including
19975 conversion interfaces.
19976
10285c21
JM
199772012-06-15 Joseph Myers <joseph@codesourcery.com>
19978
19979 [BZ #14241]
19980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19981 of ABS(x) in calculating zero to negative powers other than odd
19982 integers.
19983 * math/libm-test.inc (pow_test): Add more tests.
19984
06c5abbd
AJ
199852012-06-15 Andreas Jaeger <aj@suse.de>
19986
19987 * manual/contrib.texi (Contributors): Update entry of Liubov
19988 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19989 Machado Filho.
19990
a3aeac40
CH
199912012-06-15 Cyril Hrubis <metan@ucw.cz>
19992
19993 * string/string.h: Add __wur to GNU version of strerror_r.
19994
49bdf4c1
L
199952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19996
19997 [BZ #14229]
19998 * string/Makefile (tests): Add tst-strtok_r.
19999 * string/tst-strtok_r.c: New file.
20000 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20001 RAX_LP/RDX_LP on SAVE_PTR.
20002
834f9b8d
RM
200032012-06-14 Roland McGrath <roland@hack.frob.com>
20004
20005 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20006
75fa1921
JM
200072012-06-14 Joseph Myers <joseph@codesourcery.com>
20008
20009 * libm_test.inc (csqrt_test): Allow more spurious underflow
20010 exceptions.
20011 (j0_test): Likewise.
20012 (j1_test): Likewise.
20013 (y0_test): Likewise.
20014 (y1_test): Likewise.
20015
771766df
CD
200162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20017
20018 * po/Makefile (libc.pot): Use UTF-8 charset.
20019
ceb9e56b
PP
200202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20021
20022 [BZ #14210]
20023 Suppress sign-conversion warning from FD_SET.
20024 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20025 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20026 not unsigned long int.
20027 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20028
ddb28975
L
200292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20030
20031 [BZ #14050]
20032 [BZ #14117]
20033 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20034 __extern_always_inline instead of __extern_inline.
20035 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20036 (__signbit): Likewise.
20037 (__signbitl): Support C++ namespace.
20038 (lrintf): New inline function.
20039 (lrint): Likewise.
20040 (llrintf): Likewise.
20041 (llrint): Likewise.
20042 (fmaxf): Likewise.
20043 (fmax): Likewise.
20044 (fminf): Likewise.
20045 (fmin): Likewise.
20046 (rint): Likewise.
20047 (rintf): Likewise.
20048 (ceil): Likewise.
20049 (ceilf): Likewise.
20050 (floor): Likewise.
20051 (floorf): Likewise.
20052 (nearbyint): Likewise.
20053 (nearbyintf): Likewise.
20054
d7b4fb26
TS
200552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20056
20057 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20058 non-default versions.
20059
eb55f5c2
RM
200602012-06-11 Roland McGrath <roland@hack.frob.com>
20061
20062 [BZ #14218]
20063 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20064
366af02c
TS
200652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20066
99ff6e5c
TS
20067 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20068 (FE_UPWARD, FE_DOWNWARD): Don't define.
20069 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20070 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20071
366af02c
TS
20072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20073 reading it.
20074 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20075 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20076
793ea851
KK
200772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20078
20079 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20080 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20081 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20082 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20083
a728a38f
L
200842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20085
20086 [BZ #14117]
c08010c7
L
20087 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20088 * sysdeps/i386/fpu/Implies: New file.
20089 * sysdeps/x86_64/fpu/Implies: Likewise.
20090 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20091 * sysdeps/x86/fpu/bits/fenv.h: This.
20092
a728a38f
L
20093 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20094 __SSE_MATH__.
20095
6e230d11
SP
200962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20097
20098 [BZ #14134]
20099 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20100 character 0xffff that matches the last element of the
20101 conversion table.
20102
1b671feb
AZ
201032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20104
20105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20106 fmodl commit.
20107
6043738b
AZ
201082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20109
20110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20111 values higher than 25.6283.
20112
34ae0b32
AZ
201132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20114
20115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20116 subnormal exponent extraction and add some __builtin_expect.
20117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20118 Fix for subnormal mantissa calculation.
20119
1214ec8f
MF
201202012-06-04 Mike Frysinger <vapier@gentoo.org>
20121
20122 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20123 cpu2 is -1 and errno is not ENOSYS.
20124
f3d1f93c
L
201252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20126
20127 [BZ #14117]
0e4a3cd7
L
20128 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20129 * sysdeps/x86/bits/string.h: This.
20130 * sysdeps/x86_64/bits/string.h: Removed.
20131
6704c645
L
20132 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20133 if not compiling for x86-64, but compiling for >= i486.
20134
48495318
L
20135 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20136 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20137
14adcbfc
L
20138 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20139 New macro from Linux kernel 3.4.0.
20140 (FP_XSTATE_MAGIC2): Likewise.
20141 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20142 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20143 (struct _fpx_sw_bytes): New struct.
20144 (struct _xsave_hdr): Likewise.
20145 (struct _ymmh_state): Likewise.
20146 (struct _xstate): Likewise.
20147
68e408ab
L
20148 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20149 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20150 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20151 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20152 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20153 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20154
f3d1f93c
L
20155 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20156 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20157 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20158 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20159 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20160 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20161
d9dc34cd
TMQMF
201622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20163
20164 [BZ #13743]
20165 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20166 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20167 (sysdep_headers): Include sys/platform/ppc.h.
20168 * sysdeps/powerpc/test-gettimebase.c: Test for
20169 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20170 * manual/Makefile (appendices): Include platform.texi.
20171 * manual/contrib.texi (Contributors): Update @node pointers.
20172 * manual/maint.texi (Maintenance): Likewise.
20173 (Platform): New node.
20174 * manual/platform.texi: New file. Document the new features.
20175
4af3879c
SP
201762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20177 Jakub Jelinek <jakub@redhat.com>
20178
20179 [BZ #14188]
20180 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20181 where __builtin_expect is unavailable.
20182
2fd6ff13
DM
201832012-06-03 David S. Miller <davem@davemloft.net>
20184
20185 * stdlib/longlong.h: Updated from GCC.
20186
173f7220
AS
201872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20188
20189 [BZ #14042]
20190 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20191 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20192 __mcount_internal.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20194 (GLIBC_2.16): Likewise.
20195
f34a1c6f
L
201962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20197
20198 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20199
88a4576f
JM
202002012-06-01 Joseph Myers <joseph@codesourcery.com>
20201
ea32bcdd
JM
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20203 (default-abi): New variable.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20205 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20206 variable.
20207 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20208 Likewise.
20209 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20210 Likewise.
20211 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20212 Likewise.
20213
88a4576f
JM
20214 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20215 definition. Document in comment.
20216
402fe938
DM
202172012-06-01 David S. Miller <davem@davemloft.net>
20218
20219 * stdlib/longlong.h: Updated from GCC.
20220
3553723f
L
202212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20222
20223 [BZ #14117]
3bd872c4
L
20224 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20225 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20226 sys/debugreg.h sys/io.h here.
20227 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20228 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20229 sys/io.h.
20230 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20231 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20232 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20233 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20234 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20235 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20236
3553723f
L
20237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20238 Define only if __x86_64__ is defined.
20239
4842e4fe
JM
202402012-06-01 Joseph Myers <joseph@codesourcery.com>
20241
c5bfe3d5
JM
20242 [BZ #14048]
20243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20244 Use int64_t for variable i.
20245 * math/libm-test.inc (fmod_test): Add more tests.
20246
4842e4fe
JM
20247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20248 z computation is not scheduled after fetestexcept.
20249 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20250 Use math_force_eval instead of asm to ensure calculation scheduled
20251 before exception test.
20252 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20253 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20254
efb73488
AJ
202552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20256
20257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20258 computation is not scheduled after fetestexcept.
20259
29bcce7c
L
202602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20261
20262 [BZ #14117]
20263 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20264 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20265
73a68f94
AZ
202662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20267
20268 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20269 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20270
67b6df78
L
202712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20272
edf2933a 20273 [BZ #14117]
ebc64a18
L
20274 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20275 <bits/wordsize.h>.
20276 (__WCHAR_MIN): Support __WORDSIZE == 64.
20277 (__WCHAR_MAX): Likewise.
20278
edf2933a
L
20279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20281
57c6cf40
L
20282 [BZ #14183]
20283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20284 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20285
67b6df78 20286 [BZ #14117]
8eb6281e
L
20287 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20289
aac639f4
L
20290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20291 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20292
67b6df78
L
20293 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20294 Defined to 1 if __x86_64__ isn't defined.
20295 (_STAT_VER_LINUX_OLD): New.
20296 (st_atime): Remove duplicate.
20297 (st_mtime): Likewise.
20298 (st_ctime): Likewise.
20299
1c2cfe81
DM
203002012-05-31 David S. Miller <davem@davemloft.net>
20301
20302 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20303 entries.
20304
5be8418c
AS
203052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20306
e7725326
AS
20307 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20308 gen-libm-test.pl.
20309
5be8418c
AS
20310 [BZ #14132]
20311 * elf/dl-reloc.c: Include <_itoa.h>.
20312 (_dl_reloc_bad_type): Remove use of INTUSE.
20313 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20314 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20315 * stdio-common/psiginfo.c (psiginfo): Likewise.
20316 * stdio-common/psignal.c (psignal): Likewise.
20317 * string/strsignal.c (strsignal): Likewise.
20318 * include/signal.h (_sys_siglist): Declare hidden proto.
20319 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20320 INTVARDEF with libc_hidden_data_def.
20321 * stdio-common/itoa-udigits.c: Likewise.
20322 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20323 (_itoa_lower_digits_internal): Remove declaration.
20324 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20325 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20326 (_sys_sigabbrev_internal): Remove aliases.
20327 (_sys_siglist): Define hidden alias.
20328
507352f1
MT
203292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20330
20331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20332 bits/sysctl.h.
20333
42bbb1c3
L
203342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20335
20336 [BZ #14117]
6bd784b6
L
20337 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20338 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20339
8bca20f0
L
20340 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20341 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20342 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20343 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20344 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20345 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20346
f9e890a9
L
20347 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20349 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20350
471101a1
L
20351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20352 with __addr.
20353 (insw): Likewise.
20354 (insl): Likewise.
20355 (outsb): Likewise.
20356 (outsw): Likewise.
20357 (outsl): Likewise.
20358
6451c862
L
20359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20362
a254b8c9
L
20363 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20364 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20365 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20366 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20367 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20368 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20369
b8dfdd92
L
20370 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20371 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20372
578cd270
L
20373 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20374 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20375
de662f5f
L
20376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20379
25653439
L
20380 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20381 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20382 to ...
20383 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20384
6bad24a0
L
20385 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20386 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20387 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20388
42bbb1c3
L
20389 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20390 for x86-64.
20391 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20392
2d10d547
JM
203932012-05-31 Joseph Myers <joseph@codesourcery.com>
20394
20395 * math/math.h (M_El): Use two more decimal places.
20396 (M_LOG2El): Likewise.
20397 (M_LOG10El): Likewise.
20398 (M_LN2l): Likewise.
20399 (M_LN10l): Likewise.
20400 (M_PIl): Likewise.
20401 (M_PI_2l): Likewise.
20402 (M_PI_4l): Likewise.
20403 (M_1_PIl): Likewise.
20404 (M_2_PIl): Likewise.
20405 (M_2_SQRTPIl): Likewise.
20406 (M_SQRT2l): Likewise.
20407 (M_SQRT1_2l): Likewise.
20408
f230c29b
DM
204092012-05-31 David S. Miller <davem@davemloft.net>
20410
20411 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20412 values between float registers.
20413 * sysdeps/sparc/sparc64/memset.S: Likewise.
20414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20415
fed806c3
MF
204162012-05-31 Mike Frysinger <vapier@gentoo.org>
20417
20418 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20419 -D_FORTIFY_SOURCE=1.
20420 (CPPFLAGS-tst-longjmp_chk.c): Define.
20421 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20422 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20423 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20424 CFLAGS-tst-wchar-h.c.
20425
30917259
MP
204262012-05-31 Marek Polacek <polacek@redhat.com>
20427
20428 [BZ #14132]
20429 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20430 __endmntent_internal): Remove declaration.
20431 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20432 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20433 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20434
1c58d5dc
DM
204352012-05-30 David S. Miller <davem@davemloft.net>
20436
20437 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20438 (___Q_simulate_exceptions): Use real FP ops rather than writing
20439 into the %fsr.
20440 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20441 Likewise.
20442
7dc00e0d
L
204432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20444
20445 [BZ #14117]
0bd53985
L
20446 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20447 * sysdeps/x86/bits/xtitypes.h: This.
20448
3a257e66
L
20449 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20450 * sysdeps/x86/bits/wordsize.h: This.
20451
62f62904
L
20452 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20453 * sysdeps/x86/bits/huge_vall.h: This.
20454
404fe9d9
L
20455 * sysdeps/i386/bits/select.h: Removed.
20456 * sysdeps/x86_64/bits/select.h: Renamed to ...
20457 * sysdeps/x86/bits/select.h: This.
20458
d48d0446
L
20459 * sysdeps/i386/bits/setjmp.h: Removed.
20460 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20461 * sysdeps/x86/bits/setjmp.h: This.
20462
7dc00e0d
L
20463 * sysdeps/i386/bits/mathdef.h: Removed.
20464 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20465 * sysdeps/x86/bits/mathdef.h: This.
20466
03277f8f
AS
204672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20468
20469 [BZ #14132]
20470 * include/sys/socket.h (__connect_internal)
20471 (__libc_sa_len_internal): Remove declaration.
20472 (__connect, __libc_sa_len): Declare hidden_proto.
20473 (SA_LEN): Remove use of INTUSE.
20474 * socket/connect.c: Add libc_hidden_def.
20475 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20476 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20477 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20478 alias.
20479 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20481 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20482 of adding _internal alias.
20483
13764867
L
204842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20485
20486 [BZ #14117]
6bd97696
L
20487 * sysdeps/i386/bits/link.h: Removed.
20488 * sysdeps/i386/bits/linkmap.h: Likewise.
20489 * sysdeps/x86_64/bits/link.h: Renamed to ...
20490 * sysdeps/x86/bits/link.h: This.
20491 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20492 * sysdeps/x86/bits/linkmap.h: This.
20493
f726f0bb
L
20494 * sysdeps/i386/bits/endian.h: Removed.
20495 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20496 * sysdeps/x86/bits/endian.h: This.
20497
13764867
L
20498 * sysdeps/i386/bits/byteswap.h: Removed.
20499 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20500 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20501 * sysdeps/x86/bits/byteswap.h: This.
20502 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20503 * sysdeps/x86/bits/byteswap-16.h: This.
20504 * sysdeps/i386/Implies: Add x86.
20505 * sysdeps/x86_64/Implies: Likewise.
20506
ae251b0b
DM
205072012-05-30 David S. Miller <davem@davemloft.net>
20508
20509 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20510 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20511 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20512 (FP_TRAPPING_EXCEPTIONS): Define.
20513 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20514 (FP_TRAPPING_EXCEPTIONS): Define.
20515 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20516 subnormals only when inexact has been signalled or underflow
20517 exceptions are enabled.
20518 (_FP_PACK_CANONICAL): Likewise.
20519
d5c90867
L
205202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 [BZ #14183]
20523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20524 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20525
63f1549e
RH
205262012-05-30 Richard Henderson <rth@twiddle.net>
20527
8d8f2279
RH
20528 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20529 with #ifndef NOT_IN_libc.
20530
63f1549e
RH
20531 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20532 marked to avoid plt entry.
20533
0ab0291b
L
205342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 [BZ #14112]
20537 * Makeconfig (default-abi): New macro.
20538 (abi-includes): Likewise.
20539 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20540 $(abi-$(default-abi)-lib-soname) for soname if defined.
20541 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20542 abi-variants.
20543 * Makefile (installed-stubs): Likewise.
20544 * include/stubs-biarch.h: Removed.
20545 * scripts/lib-names.awk: Only handle one library at a time.
20546 * scripts/soversions.awk: Remove WORDSIZE support.
20547 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20548 entries.
20549 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20550 Removed.
20551 (syscall-list-default-condition): Likewise.
20552 (syscall-list-default-condition): Likewise.
20553 (syscall-list-includes): Likewise.
20554 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20555 syscall-list-* with abi-*. Handle undefined abi-variants.
20556 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20557 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20558 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20559 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20560 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20561 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20562 Removed.
20563 (syscall-list-32-options): Likewise.
20564 (syscall-list-32-condition): Likewise.
20565 (syscall-list-64-options): Likewise.
20566 (syscall-list-64-condition): Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20568 macro.
20569 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20570 Renamed to ...
20571 (abi-*): This.
20572 (abi-64-ld-soname): New macro.
20573 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20574 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20575 Renamed to ...
20576 (abi-*): This.
20577 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20578 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20579
4da0431d
JM
205802012-05-30 Joseph Myers <joseph@codesourcery.com>
20581
3a85279c
JM
20582 * sysdeps/unix/sysv/linux/kernel-features.h
20583 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20584 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20585 include <kernel-features.h>.
20586 [!__NR_ftruncate64]: Remove conditional code.
20587 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20588 [__NR_ftruncate64]: Make code unconditional.
20589 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20590 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20591 include <kernel-features.h>.
20592 [!__NR_ftruncate64]: Remove conditional code.
20593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20594 [__NR_ftruncate64]: Make code unconditional.
20595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20597 include <kernel-features.h>.
20598 [!__NR_ftruncate64]: Remove conditional code.
20599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20600 [__NR_ftruncate64]: Make code unconditional.
20601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20603 include <kernel-features.h>.
20604 [!__NR_ftruncate64]: Remove conditional code.
20605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20606 [__NR_ftruncate64]: Make code unconditional.
20607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20608
4da0431d
JM
20609 * configure.in (libc_cv_fpie): Weaken to a compile test using
20610 LIBC_TRY_CC_OPTION.
20611 * configure: Regenerated.
20612
11ef492c
AK
206132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20614
20615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20619 Refreshed.
20620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20626 Refreshed.
20627
d66ef399
DM
206282012-05-27 David S. Miller <davem@davemloft.net>
20629
20630 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20631 (___Q_zero): New.
20632 (__Q_simulate_exceptions): Return void. Change to simulate
20633 exceptions by writing into the %fsr.
20634 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20635 (__Qp_handle_exceptions): Likewise.
20636 (numbers): Delete.
20637 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20638 __Qp_handle_exceptions.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20640 __Qp_handle_exceptions.
20641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20642 as unused and give dummy FP_RND_NEAREST initializer.
20643 (FP_INHIBIT_RESULTS): Define.
20644 (___Q_simulate_exceptions): Update declaration.
20645 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20646 formatting.
20647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20648 as unused and give dummy FP_RND_NEAREST initializer.
20649 (__Qp_handle_exceptions): Update declaration.
20650 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20651 formatting.
20652
04fb54b5
TS
206532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20654
20655 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20656 the temporary FPU control word.
20657 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20658 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20659 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20660 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20661 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20662 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20663 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20665 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20666 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20667 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20668
3f99608f
KK
206692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20670
20671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20672 fields.
20673
65a4de4e
CLT
206742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20675
20676 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20677 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20678 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20679 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20680 Likewise.
20681 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20682 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20683 Likewise.
20684
15749d40
UD
206852012-05-27 Ulrich Drepper <drepper@gmail.com>
20686
20687 * po/h.po: Update from translation team.
20688
25dbcb27
AS
206892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20690
3d3f8e55
AS
20691 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20692
25dbcb27
AS
20693 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20694 handling of denormals.
20695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20696 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20698 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20702 Likewise.
20703
7ad47a80 207042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20705
20706 [BZ #14152]
20707 * math/libm-test.inc (fma_test): Don't always expect underflow
20708 exception.
20709
9c6ea9fa
SP
207102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20711
20712 [BZ #12416]
20713 * elf/tst-execstack.c: Include stackinfo.h.
20714 (do_test): Adjust test case to ensure that pthread_getattr_np
20715 behaviour remains the same after marking stack executable.
20716
a8239222
JM
207172012-05-25 Joseph Myers <joseph@codesourcery.com>
20718
20719 * sysdeps/unix/sysv/linux/kernel-features.h
20720 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20721 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20722 kernel-features.h.
20723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20725 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20726 kernel-features.h.
20727 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20728 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20729
918b5606
L
207302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20731
20732 * configure.in: Define the default includes to being none.
20733 * configure: Regenerated.
20734
3a097cc7
RM
207352012-05-25 Roland McGrath <roland@hack.frob.com>
20736
8422c9a5
RM
20737 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20738 * sysdeps/x86_64/setjmp.S: Likewise.
20739 * sysdeps/i386/bsd-setjmp.S: Likewise.
20740 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20741 * sysdeps/i386/setjmp.S: Likewise.
20742 * sysdeps/i386/__longjmp.S: Likewise.
20743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20744 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20745
3a097cc7
RM
20746 * include/stap-probe.h: New file.
20747 * configure.in: Handle --enable-systemtap.
20748 * configure: Regenerated.
20749 * config.h.in (USE_STAP_PROBE): New #undef.
20750 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20751 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20752 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20753
21708942
JM
207542012-05-25 Joseph Myers <joseph@codesourcery.com>
20755
20756 [BZ #13717]
20757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20758 to 2.4.0 where earlier.
20759 * sysdeps/unix/sysv/linux/configure: Regenerated.
20760 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20761 <kernel-features.h>.
20762 [__ASSUME_32BITUIDS]: Make code unconditional.
20763 [!__ASSUME_32BITUIDS]: Remove conditional code.
20764 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20765 <kernel-features.h>.
20766 [__ASSUME_32BITUIDS]: Make code unconditional.
20767 [!__ASSUME_32BITUIDS]: Remove conditional code.
20768 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20769 [__ASSUME_32BITUIDS]: Make code unconditional.
20770 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20771 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
20776 <kernel-features.h>.
20777 [__ASSUME_32BITUIDS]: Make code unconditional.
20778 [!__ASSUME_32BITUIDS]: Remove conditional code.
20779 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20780 <kernel-features.h>.
20781 [__ASSUME_32BITUIDS]: Make code unconditional.
20782 [!__ASSUME_32BITUIDS]: Remove conditional code.
20783 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20784 <kernel-features.h>.
20785 [__ASSUME_32BITUIDS]: Make code unconditional.
20786 [!__ASSUME_32BITUIDS]: Remove conditional code.
20787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20788 <kernel-features.h>.
20789 [__ASSUME_32BITUIDS]: Make code unconditional.
20790 [!__ASSUME_32BITUIDS]: Remove conditional code.
20791 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20792 <kernel-features.h>.
20793 [__ASSUME_32BITUIDS]: Make code unconditional.
20794 [!__ASSUME_32BITUIDS]: Remove conditional code.
20795 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20796 <kernel-features.h>.
20797 [__ASSUME_32BITUIDS]: Make code unconditional.
20798 [!__ASSUME_32BITUIDS]: Remove conditional code.
20799 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20800 <kernel-features.h>.
20801 [__ASSUME_32BITUIDS]: Make code unconditional.
20802 [!__ASSUME_32BITUIDS]: Remove conditional code.
20803 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20804 <kernel-features.h>.
20805 [__ASSUME_32BITUIDS]: Make code unconditional.
20806 [!__ASSUME_32BITUIDS]: Remove conditional code.
20807 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20808 <kernel-features.h>.
20809 [__ASSUME_32BITUIDS]: Make code unconditional.
20810 [!__ASSUME_32BITUIDS]: Remove conditional code.
20811 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20812 <kernel-features.h>.
20813 [__NR_setresgid] (__setresgid): Do not declare.
20814 [__ASSUME_32BITUIDS]: Make code unconditional.
20815 [!__ASSUME_32BITUIDS]: Remove conditional code.
20816 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20817 <kernel-features.h>.
20818 [__NR_setresuid] (__setresuid): Do not declare.
20819 [__ASSUME_32BITUIDS]: Make code unconditional.
20820 [!__ASSUME_32BITUIDS]: Remove conditional code.
20821 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20822 <kernel-features.h>.
20823 [__ASSUME_32BITUIDS]: Make code unconditional.
20824 [!__ASSUME_32BITUIDS]: Remove conditional code.
20825 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20826 <kernel-features.h>.
20827 [__ASSUME_32BITUIDS]: Make code unconditional.
20828 [!__ASSUME_32BITUIDS]: Remove conditional code.
20829 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20830 <kernel-features.h>.
20831 [__ASSUME_32BITUIDS]: Make code unconditional.
20832 [!__ASSUME_32BITUIDS]: Remove conditional code.
20833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20834 <kernel-features.h>.
20835 [__ASSUME_32BITUIDS]: Make code unconditional.
20836 [!__ASSUME_32BITUIDS]: Remove conditional code.
20837 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20838 <kernel-features.h>.
20839 [__ASSUME_32BITUIDS]: Make code unconditional.
20840 [!__ASSUME_32BITUIDS]: Remove conditional code.
20841 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20842 <kernel-features.h>.
20843 [__ASSUME_32BITUIDS]: Make code unconditional.
20844 [!__ASSUME_32BITUIDS]: Remove conditional code.
20845 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20846 <kernel-features.h>.
20847 [__ASSUME_32BITUIDS]: Make code unconditional.
20848 [!__ASSUME_32BITUIDS]: Remove conditional code.
20849 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20850 <kernel-features.h>.
20851 [__ASSUME_32BITUIDS]: Make code unconditional.
20852 [!__ASSUME_32BITUIDS]: Remove conditional code.
20853 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20854 <kernel-features.h>.
20855 [__ASSUME_32BITUIDS]: Make code unconditional.
20856 [!__ASSUME_32BITUIDS]: Remove conditional code.
20857 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20858 <kernel-features.h>.
20859 [__ASSUME_32BITUIDS]: Make code unconditional.
20860 [!__ASSUME_32BITUIDS]: Remove conditional code.
20861 * sysdeps/unix/sysv/linux/kernel-features.h
20862 (__ASSUME_SETRESUID_SYSCALL): Remove.
20863 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20864 (__ASSUME_32BITUIDS): Likewise.
20865 (__ASSUME_LDT_WORKS): Likewise.
20866 (__ASSUME_O_DIRECTORY): Likewise.
20867 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20868 architecture but not kernel version.
20869 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20870 (__ASSUME_MMAP2_SYSCALL): Likewise.
20871 (__ASSUME_STAT64_SYSCALL): Likewise.
20872 (__ASSUME_IPC64): Likewise.
20873 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20874 <kernel-features.h>.
20875 [__ASSUME_32BITUIDS]: Make code unconditional.
20876 [!__ASSUME_32BITUIDS]: Remove conditional code.
20877 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20878 <kernel-features.h>.
20879 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20880 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20881 132096]: Remove conditional code.
20882 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20883 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20884 <kernel-features.h>.
20885 [__ASSUME_32BITUIDS]: Make code unconditional.
20886 [!__ASSUME_32BITUIDS]: Remove conditional code.
20887 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20888 <kernel-features.h>.
20889 [__ASSUME_32BITUIDS]: Make code unconditional.
20890 [!__ASSUME_32BITUIDS]: Remove conditional code.
20891 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20892 <kernel-features.h>.
20893 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20894 unconditional.
20895 (__setresgid): Do not declare.
20896 [__ASSUME_32BITUIDS]: Make code unconditional.
20897 [!__ASSUME_32BITUIDS]: Remove conditional code.
20898 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20899 <kernel-features.h>.
20900 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20901 unconditional.
20902 (__setresuid): Do not declare.
20903 [__ASSUME_32BITUIDS]: Make code unconditional.
20904 [!__ASSUME_32BITUIDS]: Remove conditional code.
20905 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20906 <kernel-features.h>.
20907 [__ASSUME_32BITUIDS]: Make code unconditional.
20908 [!__ASSUME_32BITUIDS]: Remove conditional code.
20909 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20910 <kernel-features.h>.
20911 [__ASSUME_32BITUIDS]: Make code unconditional.
20912 [!__ASSUME_32BITUIDS]: Remove conditional code.
20913
a386f1cc
RH
209142012-05-25 Richard Henderson <rth@twiddle.net>
20915
20916 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20917 dl_hwcap to ifunc resolver.
20918 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20919 elf_ifunc_invoke.
20920 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20921 dl_hwcap to ifunc resolver.
20922 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20923
b6550497
JM
209242012-05-24 Joseph Myers <joseph@codesourcery.com>
20925
20926 [BZ #14153]
20927 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20928 for |x| <= 2**-26, not 2**-57.
20929 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20930 exception.
20931
b0bc23a1
JL
209322012-05-24 Jeff Law <law@redhat.com>
20933
20934 * stdio-common/Makefile (tests): Add bug25.
20935 * stdio-common/bug25.c: New test.
20936
347c92e9
L
209372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20938
20939 [BZ #13576]
20940 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20941 multiple of MALLOC_ALIGNMENT in size.
20942 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20943
6bcc8b3f
JM
209442012-05-24 Joseph Myers <joseph@codesourcery.com>
20945
20946 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20947 Require >= 256.
20948 (FILENAME_MAX): Use macro-int-constant.
20949 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20950 (_IOFBF): Use macro-int-constant.
20951 (_IOLBF): Likewise.
20952 (_IONBF): Likewise.
20953 (SEEK_CUR): Likewise.
20954 (SEEK_END): Likewise.
20955 (SEEK_SET): Likewise.
20956 (TMP_MAX): Likewise.
20957 (EOF): Use macro-int-constant. Require < 0.
20958 (NULL): Use macro-constant. Require == 0.
20959 (stdin): Require type to be FILE *.
20960 (stdout): Likewise.
20961 (stderr): Likewise.
20962 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20963 macro-int-constant.
20964 (EXIT_SUCCESS): Likewise.
20965 (NULL): Use macro-constant. Require == 0.
20966 (RAND_MAX): Use macro-int-constant.
20967 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20968 [C99-based standards] (strtof): Require function.
20969 [C99-based standards] (strtold): Likewise.
20970 [C99-based standards] (strtoll): Likewise.
20971 [C99-based standards] (strtoull): Likewise.
20972 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20973 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20974 [ISO || ISO99 || ISO11] (math.h): Likewise.
20975 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20976 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20978
d18ea0c5
AS
209792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20980
20981 [BZ #14132]
56d25bb8
AS
20982 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20983 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20984 * intl/dgettext.c (DCGETTEXT): Likewise.
20985 * intl/gettext.c (DCGETTEXT): Likewise.
20986 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20987 * posix/regex_internal.h (gettext): Likewise.
20988 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20989 Remove declaration.
20990 * include/argz.h (__argz_count_internal)
20991 (__argz_stringify_internal): Remove declaration.
20992 (__argz_count, __argz_stringify): Declare hidden proto.
20993 * intl/dcgettext.c: Remove use of INTDEF.
20994 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20995 * string/argz-stringify.c: Likewise.
20996 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20997 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20998 Declare hidden proto.
d18ea0c5
AS
20999 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21000 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21001 Declare hidden proto.
21002 * include/stdio.h (__asprintf_internal): Don't declare.
21003 (__asprintf): Don't define as macro. Declare hidden proto.
21004 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21005 (__fsetlocking): Declare hidden proto.
21006 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21007 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21008 hidden proto.
21009 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21010 (_IO_setlinebuf): Remove use of INTUSE.
21011 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21012 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21013 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21014 Remove declaration.
21015 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21016 (_IO_do_flush): Remove use of INTUSE.
21017 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21018 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21019 (_IO_adjust_column, _IO_least_wmarker)
21020 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21021 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21022 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21023 (_IO_default_doallocate, _IO_wdefault_doallocate)
21024 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21025 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21026 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21027 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21028 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21029 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21030 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21031 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21032 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21033 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21034 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21035 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21036 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21037 proto.
21038 (_IO_flush_all_internal, _IO_adjust_column_internal)
21039 (_IO_default_uflow_internal, _IO_default_finish_internal)
21040 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21041 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21042 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21043 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21044 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21045 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21046 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21047 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21048 (_IO_file_close_internal, _IO_file_close_it_internal)
21049 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21050 (_IO_file_init_internal, _IO_file_attach_internal)
21051 (_IO_file_fopen_internal, _IO_file_read_internal)
21052 (_IO_file_sync_internal, _IO_file_seek_internal)
21053 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21054 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21055 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21056 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21057 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21058 (_IO_list_all_internal, _IO_link_in_internal)
21059 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21060 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21061 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21062 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21063 (_IO_do_write_internal, _IO_padn_internal)
21064 (_IO_getline_info_internal, _IO_getline_internal)
21065 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21066 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21067 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21068 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21069 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21070 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21071 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21072 with libc_hidden_ver, remove use of INTUSE.
21073 * libio/genops.c: Likewise.
21074 * libio/freopen.c: Likewise.
21075 * libio/freopen64.c: Likewise.
21076 * libio/iofclose.c: Likewise.
21077 * libio/iofdopen.c: Likewise.
21078 * libio/iofflush.c: Likewise.
21079 * libio/iofflush_u.c: Likewise.
21080 * libio/iofgets.c: Likewise.
21081 * libio/iofgets_u.c: Likewise.
21082 * libio/iofopen.c: Likewise.
21083 * libio/iofopncook.c: Likewise.
21084 * libio/iofread.c: Likewise.
21085 * libio/iofread_u.c: Likewise.
21086 * libio/ioftell.c: Likewise.
21087 * libio/iofwrite.c: Likewise.
21088 * libio/iogetline.c: Likewise.
21089 * libio/iogets.c: Likewise.
21090 * libio/iogetwline.c: Likewise.
21091 * libio/iopadn.c: Likewise.
21092 * libio/iopopen.c: Likewise.
21093 * libio/ioseekoff.c: Likewise.
21094 * libio/ioseekpos.c: Likewise.
21095 * libio/iosetbuffer.c: Likewise.
21096 * libio/iosetvbuf.c: Likewise.
21097 * libio/ioungetc.c: Likewise.
21098 * libio/ioungetwc.c: Likewise.
21099 * libio/iovdprintf.c: Likewise.
21100 * libio/iovsprintf.c: Likewise.
21101 * libio/iovsscanf.c: Likewise.
21102 * libio/memstream.c: Likewise.
21103 * libio/obprintf.c: Likewise.
21104 * libio/oldfileops.c: Likewise.
21105 * libio/oldiofclose.c: Likewise.
21106 * libio/oldiofdopen.c: Likewise.
21107 * libio/oldiofopen.c: Likewise.
21108 * libio/oldiopopen.c: Likewise.
21109 * libio/oldstdfiles.c: Likewise.
21110 * libio/putc.c: Likewise.
21111 * libio/setbuf.c: Likewise.
21112 * libio/setlinebuf.c: Likewise.
21113 * libio/stdfiles.c: Likewise.
21114 * libio/strops.c: Likewise.
21115 * libio/vasprintf.c: Likewise.
21116 * libio/vscanf.c: Likewise.
21117 * libio/vsnprintf.c: Likewise.
21118 * libio/vswprintf.c: Likewise.
21119 * libio/wfiledoalloc.c: Likewise.
21120 * libio/wfileops.c: Likewise.
21121 * libio/wgenops.c: Likewise.
21122 * libio/wmemstream.c: Likewise.
21123 * libio/wstrops.c: Likewise.
21124 * libio/__fpurge.c: Likewise.
21125 * libio/__fsetlocking.c: Likewise.
21126 * assert/assert.c: Likewise.
21127 * debug/fgets_chk.c: Likewise.
21128 * debug/fgets_u_chk.c: Likewise.
21129 * debug/fread_chk.c: Likewise.
21130 * debug/fread_u_chk.c: Likewise.
21131 * debug/gets_chk.c: Likewise.
21132 * debug/obprintf_chk.c: Likewise.
21133 * debug/vasprintf_chk.c: Likewise.
21134 * debug/vdprintf_chk.c: Likewise.
21135 * debug/vsnprintf_chk.c: Likewise.
21136 * debug/vsprintf_chk.c: Likewise.
21137 * malloc/mtrace.c: Likewise.
21138 * misc/error.c: Likewise.
21139 * misc/syslog.c: Likewise.
21140 * stdio-common/asprintf.c: Likewise.
21141 * stdio-common/fxprintf.c: Likewise.
21142 * stdio-common/getw.c: Likewise.
21143 * stdio-common/isoc99_fscanf.c: Likewise.
21144 * stdio-common/isoc99_scanf.c: Likewise.
21145 * stdio-common/isoc99_vfscanf.c: Likewise.
21146 * stdio-common/isoc99_vscanf.c: Likewise.
21147 * stdio-common/isoc99_vsscanf.c: Likewise.
21148 * stdio-common/printf-prs.c: Likewise.
21149 * stdio-common/printf_fp.c: Likewise.
21150 * stdio-common/printf_fphex.c: Likewise.
21151 * stdio-common/printf_size.c: Likewise.
21152 * stdio-common/putw.c: Likewise.
21153 * stdio-common/scanf.c: Likewise.
21154 * stdio-common/sprintf.c: Likewise.
21155 * stdio-common/tmpfile.c: Likewise.
21156 * stdio-common/vfprintf.c: Likewise.
21157 * stdio-common/vfscanf.c: Likewise.
21158 * stdlib/strfmon_l.c: Likewise.
21159 * sunrpc/openchild.c: Likewise.
21160 * sunrpc/xdr_stdio.c: Likewise.
21161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21162 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21163
d6c33fda
RM
211642012-05-24 Roland McGrath <roland@hack.frob.com>
21165
c1487492
RM
21166 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21167
21168 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21169 in the third column, to generate for the shared library an IFUNC
21170 that uses _dl_vdso_vsym.
21171 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21172 * Makeconfig (object-suffixes-noshared): New variable.
21173
21174 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21175 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21176 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21177 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21178
d6c33fda
RM
21179 [BZ #14132]
21180 * include/sys/time.h (__gettimeofday): Remove macro.
21181 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21182 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21183 Remove INTDEF.
21184 (__gettimeofday): Add libc_hidden_def.
21185 (gettimeofday): Add libc_hidden_weak.
21186 * sysdeps/mach/gettimeofday.c: Likewise.
21187 * sysdeps/posix/gettimeofday.c: Likewise.
21188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21191 (__gettimeofday_internal): Remove strong_alias.
21192 (__gettimeofday): Add libc_hidden_def.
21193 (gettimeofday): Add libc_hidden_weak.
21194 * sysdeps/unix/syscalls.list (gettimeofday):
21195 Remove __gettimeofday_internal alias.
21196
b5a2bbe6
L
211972012-05-24 Daniel Jacobowitz <drow@false.org>
21198 H.J. Lu <hongjiu.lu@intel.com>
21199
21200 [BZ #12495]
21201 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21202 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21203 (largebin_index_32_big): New.
21204 (largebin_index): Use it for 16-byte alignment.
21205 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21206 correction with front_misalign.
21207
cfba4fda
L
212082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21209
7f907421
L
21210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21212 Likewise.
21213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21214 Likewise.
21215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21216 Likewise.
21217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21218 Likewise.
21219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21220 Likewise.
21221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21222 Likewise.
21223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21224 Likewise.
21225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21226 Likewise.
21227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21228 Likewise.
21229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21230 Likewise.
21231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21232 Likewise.
21233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21234 Likewise.
21235
cfba4fda
L
21236 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21237 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21238
80bad0cc
JM
212392012-05-24 Joseph Myers <joseph@codesourcery.com>
21240
7a25eb06
JM
21241 [BZ #10846]
21242 [BZ #14036]
21243 * math/libm-test.inc (exp_test): Add test from bug 14036.
21244 (pow_test): Add test from bug 10846.
21245
795405f9
JM
21246 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21247 and other flags.
21248 (special_function): Do not include flags in test name.
21249 (parse_args): Likewise.
21250 * sysdeps/i386/fpu/libm-test-ulps: Update.
21251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21252 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21255
80bad0cc
JM
21256 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21257 exceptions.
21258 * math/libm-test.inc ("Philosophy"): Update comment about
21259 exception testing.
21260 (UNDERFLOW_EXCEPTION): New macro.
21261 (UNDERFLOW_EXCEPTION_OK): Likewise.
21262 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21263 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21264 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21265 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21266 (INVALID_EXCEPTION_OK): Update value.
21267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21268 (OVERFLOW_EXCEPTION_OK): Likewise.
21269 (IGNORE_ZERO_INF_SIGN): Likewise.
21270 (test_exceptions): Handle underflow exceptions.
21271 (acos_test): Update for underflow exception expectations.
21272 (cexp_test): Likewise.
21273 (clog_test): Likewise.
21274 (clog10_test): Likewise.
21275 (csqrt_test): Likewise.
21276 (ctan_test): Likewise.
21277 (ctanh_test): Likewise.
21278 (exp_test): Likewise.
21279 (exp10_test): Likewise.
21280 (exp2_test): Likewise.
21281 (expm1_test): Likewise.
21282 (fma_test): Likewise.
21283 (j0_test): Likewise.
21284 (jn_test): Likewise.
21285 (nexttoward_test): Likewise.
21286 (pow_test): Likewise.
21287 (scalbn_test): Likewise.
21288 (scalbln_test): Likewise.
21289 (tan_test): Likewise.
21290 (y1_test): Likewise.
21291 * sysdeps/i386/fpu/libm-test-ulps: Update.
21292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21293
9e0e3d0b
DM
212942012-05-23 David S. Miller <davem@davemloft.net>
21295
21296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21297 (__libc_sigaction): Remove unused local variables.
21298
ccd0a08f
L
212992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21302
62bdf9a6
PE
213032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21304
f8591f80
PE
21305 mktime: avoid signed integer overflow
21306 * time/mktime.c (__mktime_internal): Do not mishandle the case
21307 where diff == INT_MIN.
21308
94c7d826
PE
21309 mktime: simplify computation of average
21310 * time/mktime.c (ranged_convert): Use new time_t_avg function
21311 instead of rolling our own (probably-slower) code.
21312
ce73d683
PE
21313 mktime: do not assume signed right shift propagates sign bit
21314 * time/mktime.c (isdst_differ): New static function.
21315 (__mktime_internal): No need to normalize tm_isdst now.
21316 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21317 tm_isdst values.
21318
72a22e59
PE
21319 mktime: merge another wrapv change from gnulib
21320 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21321 from some compilers.
21322
68605433
PE
21323 mktime: remove incorrect attempt at unusual arithmetics
21324 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21325 The code didn't really work on such machines anyway.
21326 (TYPE_MINIMUM): Assume two's complement.
21327 (twos_complement_arithmetic): Verify that long_int and time_t
21328 are two's complement (or unsigned, in the latter case).
21329
03cf7fe3
PE
21330 mktime: check signed shifts on long_int and time_t, too
21331 * time/mktime.c (SHR): Check that shifts work as desired
21332 on the types long_int and time_t too, as SHR is used on
21333 such types.
21334
f04dfbc2
PE
21335 mktime: do not assume 'long' is wide enough
21336 * time/mktime.c (verify): Move decl up.
21337 (long_int): New type.
21338 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21339 to remove assumption in the code that 'long' is wide enough to
21340 store year values. This assumption is not true on x32 and on
21341 some non-glibc platforms.
21342
62bdf9a6
PE
21343 mktime: merge wrapv change from gnulib
21344 * time/mktime.c (WRAPV): New macro.
21345 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21346 (guess_time_tm, __mktime_internal): Do not assume that signed
21347 integer overflow wraps around; modern compilers generate code
21348 where this assumption is no longer valid.
21349
5e292e4f
L
213502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21351
21352 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21353 Replace "jmp L(pseudo_end)" with "ret".
21354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21355 Likewise.
21356
8caf8c87
AJ
213572012-05-23 Andreas Jaeger <aj@suse.de>
21358
21359 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21360 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21361
1a09dc56
AJ
213622012-05-23 Andreas Jaeger <aj@suse.de>
21363 Maximilian Attems <max@stro.at>
21364
21365 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21366 New macros.
21367
1c87aba0
L
213682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21369
21370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21371 code so that pseudo_end is just ret and the stack pointer is
21372 correct also for static library in error case.
21373
40e45bd5
JM
213742012-05-23 Joseph Myers <joseph@codesourcery.com>
21375
c2670533
JM
21376 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21377 move to syscalls.list.
21378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21382
40e45bd5
JM
21383 * manual/install.texi (Running make install): Do not mention Linux
21384 kernel version for which pt_chown is not needed.
21385 (Linux): Do not mention problems with nscd with 2.0 kernels.
21386 * INSTALL: Regenerated.
21387
be08eda5
AJ
213882012-05-23 Andreas Jaeger <aj@suse.de>
21389
21390 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21391 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21392 macro.
21393 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21395 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21397 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21403 * sysdeps/unix/sysv/linux/bits/in.h
21404 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21405
a6a056bb
RM
214062012-05-22 Roland McGrath <roland@hack.frob.com>
21407
21408 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21409 (PREPARE_VERSION): Just use assert instead, it will be elided
21410 under [NDEBUG] anyway.
21411
c9009328
L
214122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/unix/sysv/linux/Makefile: Include
21415 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21416 (sysdep_routines): Remove sysctl.
c9009328
L
21417 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21418 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21420 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21421 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21422
73338355
AJ
214232012-05-22 Andreas Jaeger <aj@suse.de>
21424
21425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21426 that pseudo_end is just ret and the stack pointer is correct also
21427 for static library in error case.
21428
d44638b0
PP
214292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21430
21431 [BZ #14122]
21432 * nss/nsswitch.c (defconfig_entries): New variable.
21433 (__nss_database_lookup): Don't leak defconfig entries.
21434 (nss_parse_service_list): Don't leak on error paths.
21435 (free_database_entries): New function.
21436 (free_defconfig): New function.
21437 (free_mem): Move common code to free_database_entries.
21438
31a39bd8
L
214392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21440
da0331a8
L
21441 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21442 Add arch_prctl.
21443 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21444
31a39bd8
L
21445 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21446 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21448 New macro.
21449 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21450 (INTERNAL_SYSCALL_TYPES): Likewise.
21451 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21452 (LOAD_REGS_TYPES_[1-6]): Likewise.
21453 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21454 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21455
45470df3
AZ
214562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21457
21458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21459 copysignl for GLIBC_2_0.
21460 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21461 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21463 logbl for GLIBC_2_0.
21464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21465 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21466
98a61bcb
L
214672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21468
a4f6e481
L
21469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21470 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21471
f63d5db6
L
21472 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21473 Use "neg %eax".
21474
98a61bcb
L
21475 * time/mktime.c: Update copyright years.
21476
95770f14
PE
214772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21478
6226efbd
PE
21479 mktime: merge comment-quoting-style change from gnulib
21480 * time/mktime.c: Quote 'like this' in comments.
21481 The GNU coding standards suggest that we no longer quote `like this',
21482 as "`" and "'" are typically rendered asymmetrically nowadays.
21483 The typical gnulib style is to quote 'like this' when quoting
21484 code, and "like this" when quoting English.
21485
b99e4f78
PE
21486 * time/mktime.c (compile-command): Add "-I.".
21487
643e01e6
PE
21488 mktime: merge mktime-internal.h change from gnulib
21489 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21490
2554247d
PE
21491 mktime: merge time_r change from gnulib
21492 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21493
826dd0ab
PE
21494 mktime: merge DEBUG change from gnulib
21495 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21496 case system <time.h> has a #define.
21497
bd83aabe
PE
21498 mktime: merge <sys/types.h> change from gnulib
21499 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21500 since <time.t> is now guaranteed to define time_t.
21501
95770f14
PE
21502 mktime: merge HAVE_CONFIG_H change from gnulib
21503 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21504
5e1a27a9
L
215052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21506
0e44a77e
L
21507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21508 Use "neg %eax".
21509
5e1a27a9
L
21510 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21511 __rlim_t cast.
21512 (struct rusage): Use anonymous union to pad each field to
21513 __syscall_slong_t.
21514
46259bec
DM
215152012-05-21 David S. Miller <davem@davemloft.net>
21516
21517 * Makefules (o-iterator): Remove .s cases.
21518 (compile-command.s): Delete.
21519 (COMPILE.s): Delete.
21520 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21521
59f0c22e
JM
215222012-05-21 Joseph Myers <joseph@codesourcery.com>
21523
21524 * configure.in (libc_cv_predef_stack_protector): Only consider
21525 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21526 * configure: Regenerated.
21527
20c07380
L
215282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21529
bbb3154b
L
21530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21531 New macro. Use R*LP on int and pointer.
21532 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21533 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21534 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21535 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21536
20c07380
L
21537 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21538 [__WORDSIZE_TIME64_COMPAT32] instead of
21539 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21540 (struct utmp): Likewise.
21541 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21542 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21543 Renamed to ...
21544 (__WORDSIZE_TIME64_COMPAT32): This.
21545 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21546 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21547 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21548 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21549 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21550 (__WORDSIZE_TIME64_COMPAT32): New macro.
21551
d8d1017e
AJ
215522012-05-21 Andreas Jaeger <aj@suse.de>
21553
21554 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21555 only if [SHARED]. Add prototype for __wcschr_ia32.
21556
6c7fb145
RM
215572012-05-21 Roland McGrath <roland@hack.frob.com>
21558
21559 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21560 of %rbp unmolested in the jmp_buf while mangling the low bits.
21561 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21562 unmolested high bits of %rbp while demangling the low bits.
21563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21564
66274218
AJ
215652012-05-21 Andreas Jaeger <aj@suse.de>
21566
07c58f8f
AJ
21567 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21568 * sunrpc/svc_simple.c: Use it for registerrpc.
21569 * sunrpc/xcrypt.c: Use it for passwd2des.
21570
66274218
AJ
21571 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21572
61f65140
L
215732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21576 Don't define if [__SYSCALL_WORDSIZE != 32].
21577 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21578 New macro.
21579
5fefb436
AJ
215802012-05-21 Bruno Haible <bruno@clisp.org>
21581 Andreas Jaeger <aj@suse.de>
21582
21583 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21584 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21585 inptr and inend for must_buffer_ch.
21586 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21587 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21588 * stdio-common/Makefile (tests): Remove bug15.
21589 (bug15-ENV): Remove macro.
21590 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21591 anymore.
21592
d8e272ab
AJ
215932012-05-19 Andreas Jaeger <aj@suse.de>
21594 Roland McGrath <roland@hack.frob.com>
21595
21596 * manual/contrib.texi: Completely rewritten. It contains now an
21597 alphabetical list of contributors and their contributions.
21598
4a56a162
RH
215992012-05-21 Richard Henderson <rth@twiddle.net>
21600
21601 * misc/getauxval.c (__getauxval): Use unsigned long int.
21602 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21603 (getauxval): Use unsigned long int.
21604
d024d23c
L
216052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21606
21607 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21608
cbc00a03
RM
216092012-05-21 Roland McGrath <roland@hack.frob.com>
21610
21611 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21612 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21613 __alignof__ (long double).
21614
478143fa
AZ
216152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21616
21617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21618
c7683a6d
RH
216192012-05-20 Richard Henderson <rth@twiddle.net>
21620
21621 * misc/getauxval.c: New file.
21622 * misc/sys/auxv.h: New file.
21623 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21624 (routines): Add getauxval.
21625 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21627 * elf/dl-sysdep.c (_dl_auxv): Remove.
21628 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21629 * elf/dl-support.c (_dl_auxv): New variable.
21630 (_dl_aux_init): Initialize it.
21631 * manual/startup.texi (Auxiliary Vector): New node.
21632 * sysdeps/generic/bits/hwcap.h: New file.
21633 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21634 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21635 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21636 * sysdeps/sparc/sysdep.h: ... here. Include it.
21637 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21640 Update.
c7683a6d
RH
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21649
a6f1845d
AZ
216502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21651
21652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21653
cbcbe830
DM
216542012-05-19 David S. Miller <davem@davemloft.net>
21655
21656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21657
e0b16cc2
JM
216582012-05-19 Joseph Myers <joseph@codesourcery.com>
21659
21660 [BZ #14123]
21661 * math/s_ccosh.c: Include <float.h>
21662 (__ccosh): Avoid internal overflow calculating sinh and cosh
21663 values before multiplying by sin and cos values.
21664 * math/s_ccoshf.c: Likewise.
21665 * math/s_ccoshl.c: Likewise.
21666 * math/s_csin.c: Likewise.
21667 * math/s_csinf.c: Likewise.
21668 * math/s_csinl.c: Likewise.
21669 * math/s_csinh.c: Likewise.
21670 * math/s_csinhf.c: Likewise.
21671 * math/s_csinhl.c: Likewise.
21672 * math/libm-test.inc (ccos_test): Add more tests.
21673 (ccosh_test): Likewise.
21674 (csin_test): Likewise.
21675 (csinh_test): Likewise.
21676 * sysdeps/i386/fpu/libm-test-ulps: Update.
21677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678
6ad13e08
L
216792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21680
f66f0ce8
L
21681 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21682 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21683
6ad13e08
L
21684 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21685
b1d072a7
JM
216862012-05-19 Joseph Myers <joseph@codesourcery.com>
21687
21688 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21689 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21690 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21691 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21692 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21693 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21694 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21695 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21696 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21697 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21698 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21699 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21700 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21701 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21702 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21703 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21704 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21705 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21706 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21707 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21708 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21709 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21710 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21711 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21712 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21713 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21714 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21715 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21716 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21717 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21718 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21719
9eae47cb
AJ
217202012-05-18 Andreas Jaeger <aj@suse.de>
21721
21722 * csu/.gitignore: Delete.
21723
bb07f69f
L
217242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21725
21726 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21727 (timex): Use __syscall_slong_t.
21728
e6bdb741
AJ
217292012-05-18 Andreas Jaeger <aj@suse.de>
21730 Carlos O'Donell <carlos_odonell@mentor.com>
21731
21732 * manual/install.texi (Configuring and compiling): Update
21733 description about files modified in the source directory.
d6c33fda 21734 * INSTALL: Regenerated.
e6bdb741 21735
1b74487e
L
217362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21739 value. Use "or" to set return value to -1.
21740 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21741 negate return value.
21742
a88b64b9
TMQMF
217432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21744
21745 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21746 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21747 failure if the compiler has Graphite support disabled.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21749 Likewise.
21750 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21751 CFLAGS-memmove.c): Likewise.
21752 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21753 Likewise.
21754
3707636e
L
217552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21756
610b8622
L
21757 * sysdeps/x86_64/x32/_itoa.h: New file.
21758
7cd195df
L
21759 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21760 getdents system call only if kernel and user dirents have the
21761 same d_ino and d_off.
21762
94b07d20
L
21763 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21764 LLONG_MAX != LONG_MAX.
21765 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21766 (_fitoa_word): Likewise.
21767
18298070
L
21768 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21769 years.
21770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21771 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21772 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21773
553c7ea4
L
21774 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21775 include <bits/wordsize.h>. Check __x86_64__ instead of
21776 __WORDSIZE.
21777 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21778 if __x86_64__ is defined. Use anonymous union on fpstate.
21779
3707636e
L
21780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21781 anonymous union.
21782
b53ef01a
AS
217832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21784
37fb1dc0
AS
21785 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21786 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21787 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21788 Refer to _rtld_local_ro instead of _rtld_global_ro.
21789 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21790 Likewise.
21791 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21792 Likewise.
21793 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21794 Likewise.
21795 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21796 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21797 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21798
b53ef01a
AS
21799 * sysdeps/powerpc/powerpc32/dl-machine.c
21800 (__elf_machine_runtime_setup) [PROF]: Don't reference
21801 _dl_prof_resolve.
21802
7a185db2
AJ
218032012-05-18 Andreas Jaeger <aj@suse.de>
21804
21805 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21806 function only available for GCCs before 3.4 since GCC 3.4
21807 introduced a builtin.
21808 (lrint): Likewise.
21809 (llrintf): Likewise.
21810 (llrint): Likewise.
21811 (fmaxf): Likewise.
21812 (fmax): Likewise.
21813 (fminf): Likewise.
21814 (fmin): Likewise.
21815 (rint): Likewise.
21816 (rintf): Likewise.
21817 (nearbyint): Likewise.
21818 (nearbyintf): Likewise.
21819 (ceil): Likewise.
21820 (ceilf): Likewise.
21821 (floor): Likewise.
21822 (floorf): Likewise.
21823
3e5aef87
L
218242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21825
428bd707
L
21826 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21827 on both fields and cast pointer to __syscall_ulong_t.
21828
3e5aef87
L
21829 * bits/types.h (__fsword_t): New type.
21830 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21831 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21833 (__FSWORD_T_TYPE): Likewise.
21834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21835 (__FSWORD_T_TYPE): Likewise.
21836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21837 (__FSWORD_T_TYPE): Likewise.
21838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21839 (__FSWORD_T_TYPE): Likewise.
21840 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21841 __SWORD_TYPE with __fsword_t.
21842 (statfs64): Likewise.
21843
1ba7c3dc
DM
218442012-05-17 David S. Miller <davem@davemloft.net>
21845
21846 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21847
59910343
AJ
218482012-05-17 Andreas Jaeger <aj@suse.de>
21849
21850 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21851 warning.
21852
2e4c1e9e
L
218532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21854
21855 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21856
de7f5ce7
AJ
218572012-05-17 Andreas Jaeger <aj@suse.de>
21858
21859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21860 when it is used.
21861
286abc3d
CM
218622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21863
21864 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21865
477cc68e
L
218662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21867
21868 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21869 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21870
1a0994f5
CD
218712012-05-17 Andreas Jaeger <aj@suse.de>
21872 Carlos O'Donell <carlos_odonell@mentor.com>
21873
21874 [BZ #14059]
21875 * sysdeps/x86_64/multiarch/init-arch.h
21876 (bit_YMM_Usable): Rename to...
21877 (bit_AVX_Usable): ... this.
21878 (bit_FMA4_Usable): New macro.
21879 (bit_XMM_state): New macro.
21880 (bit_YMM_state): New macro.
21881 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21882 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21883 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21884 (CPUID_OSXSAVE): New macro.
21885 (CPUID_AVX): New macro.
21886 (CPUID_FMA4): New macro.
21887 (index_YMM_Usable): Rename to...
21888 (index_AVX_Usable): ... this.
21889 (HAS_AVX): Use HAS_ARCH_FEATURE.
21890 (HAS_FMA4): Likewise.
21891 (HAS_YMM_USABLE): Remove.
21892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21893 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21894 are present.
21895 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21896 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21897 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21898 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21899 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21900
0af797de
CM
219012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21902
21903 * math/libm-test.c: Support platforms without multiple rounding modes.
21904 * math/bug-nextafter.c: Support platforms without FP exceptions.
21905 * math/bug-nexttoward.c: Likewise.
21906 * math/test-fenv.c: Likewise.
21907 * math/test-misc.c: Likewise.
21908 * stdlib/bug-getcontext.c: Likewise.
21909
e39745ff
AJ
219102012-05-17 Andreas Jaeger <aj@suse.de>
21911
21912 * manual/examples/search.c (critter_cmp): Change signature to
21913 avoid warnings.
21914 * manual/string.texi (Collation Functions): Likewise.
21915
48970aba
L
219162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 * bits/types.h: Fold copyright years.
21919 * bits/typesizes.h: Likewise.
21920 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21924 * time/time.h: Likewise.
21925
bedee953
PP
219262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21927
21928 [BZ #208]
21929 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21930 in instead of returning them. Return void.
21931 (__libc_mallinfo): Accumulate over all arenas.
21932 (__malloc_stats): Adjust for change in int_mallinfo interface.
21933
61653dfb
RM
219342012-05-16 Roland McGrath <roland@hack.frob.com>
21935
30b99d79
RM
21936 [BZ #10375]
21937 * configure.in (NM): Add AC_CHECK_TOOL for it.
21938 (libc_extra_cflags): New substituted variable.
21939 Check for -fstack-protector being used implicitly.
21940 * configure: Regenerated.
21941 * config.make.in (config-extra-cflags): New variable,
21942 gets @libc_extra_cflags@.
21943 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21944
61653dfb
RM
21945 [BZ #10375]
21946 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21947 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21948 * configure: Regenerated.
21949 * config.make.in (CPPUNDEFS): New substituted variable.
21950 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21951 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21952 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21953
661768bb
L
219542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21957 (mq_attr): Use __syscall_slong_t.
21958
d4261567
L
219592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21962 Check __x86_64__ instead of __WORDSIZE.
21963 (_STAT_VER_LINUX): Likewise.
21964 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21965 __syscall_ulong_t and __syscall_slong_t.
21966 (stat64): Likewise.
21967
cf3ff365
L
219682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21969
21970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21971
76cf3e4d
L
219722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21973
21974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21975
a637753a
L
219762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21979 __syscall_ulong_t.
21980
d5e05119
L
21981 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21982 include <bits/wordsize.h>. Check __x86_64__ instead of
21983 __WORDSIZE.
21984 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21985 defined.
21986 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21987
f62ee380
L
21988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21989 include <bits/wordsize.h>. Check __x86_64__ instead of
21990 __WORDSIZE.
21991 (user_regs_struct): Use "__extension__ unsigned long long"
21992 instead of "unsigned long" if __x86_64__ is defined.
21993 (user): Likewise. Pad after pointer field if __ILP32__ is
21994 defined.
21995
4e124ced
JM
219962012-05-16 Joseph Myers <joseph@codesourcery.com>
21997
6a3951a0
JM
21998 * configure.in (makeinfo): Require version 4.5 or later. Allow
21999 versions 5 to 9.
22000 * configure: Regenerated.
22001 * manual/install.texi (texinfo): Increase version requirement to
22002 4.5 or later.
22003 * INSTALL: Regenerated.
22004
4e124ced
JM
22005 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22006
953ca31a
L
220072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22008
22009 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22010
617aca05
L
22011 * sysdeps/x86_64/x32/ffs.c: New file.
22012
5762f7ae
L
22013 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22014 __syscall_ulong_t.
22015 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22016 defined. Use __syscall_ulong_t.
22017 (shminfo): Use __syscall_ulong_t.
22018 (shm_info): Likewise.
22019
a26b6856
L
22020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22021 __syscall_ulong_t.
22022
cb2b9ef7
L
22023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22024 <bits/wordsize.h>.
22025 (msgqnum_t): Use __syscall_ulong_t.
22026 (msglen_t): Likewise.
22027 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22028 __syscall_ulong_t.
22029
34683bb0
L
22030 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22032
84a68786
L
22033 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22034
48baa5f1
L
22035 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22036 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22037
180be88b
L
22038 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22039 __syscall_slong_t.
22040
5e90c8ad
L
22041 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22042 include <bits/wordsize.h>. Check __x86_64__ instead of
22043 __WORDSIZE.
22044
23dfb58b
L
22045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22046 "unsigned long long int" if __x86_64__ is defined.
22047 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22048
ce5d54b0
L
22049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22051 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22052
13dc9eac
L
22053 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22054 <stdint.h>.
22055 (GET_PC): Cast to uintptr_t first.
22056 (GET_FRAME): Likewise.
22057 (GET_STACK): Likewise.
22058
a7895d15
L
22059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22061 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22063 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22065 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22066 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22067 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22072 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22085 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22088
656416c9
AS
220892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22090
5bd66283
AS
22091 * Makerules (+depfiles): Also collect depfiles from .oS in
22092 $(extra-objs).
22093 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22094 .oS, $(libnldbl-routines)).
22095
656416c9
AS
22096 * Makerules (native-compile-mkdep-flags): Define.
22097 * sunrpc/Makefile (extra-objs): Add $(addprefix
22098 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22099 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22100 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22101 calling $(make-target-directory).
22102
a46f2169
L
221032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22104
22105 * bits/types.h (__snseconds_t): Removed.
22106 * time/time.h (struct timespec): Replace __snseconds_t with
22107 __syscall_slong_t.
22108 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22109 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22110 Likewise.
22111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22112 (__SNSECONDS_T_TYPE): Likewise.
22113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22114 (__SNSECONDS_T_TYPE): Likewise.
22115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22116 (__SNSECONDS_T_TYPE): Likewise.
22117
6af6528b
L
221182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22119
22120 * sysdeps/mach/hurd/bits/typesizes.h
22121 (__SYSCALL_SLONG_TYPE): New macro.
22122 (__SYSCALL_ULONG_TYPE): Likewise.
22123
de986b56
L
221242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22125
22126 * bits/types.h (__syscall_slong_t): New type.
22127 (__syscall_ulong_t): Likewise.
22128
22129 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22130 (__SYSCALL_ULONG_TYPE): Likewise.
22131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22132 (__SYSCALL_SLONG_TYPE): Likewise.
22133 (__SYSCALL_ULONG_TYPE): Likewise.
22134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22135 (__SYSCALL_SLONG_TYPE): Likewise.
22136 (__SYSCALL_ULONG_TYPE): Likewise.
22137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22138 (__SYSCALL_SLONG_TYPE): Likewise.
22139 (__SYSCALL_ULONG_TYPE): Likewise.
22140
85736dc7
L
221412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22142
22143 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22144 Add sigaltstack-offsets.sym.
22145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22146 <sigaltstack-offsets.h>.
22147 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22148 longjmp_msg pointer.
22149 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22150 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22151 signal stack.
22152 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22153
cc03b296
JM
221542012-05-15 Joseph Myers <joseph@codesourcery.com>
22155
a9538892
JM
22156 * elf/stackguard-macros.h: Remove file.
22157 * sysdeps/generic/stackguard-macros.h: New file.
22158 * sysdeps/i386/stackguard-macros.h: Likewise.
22159 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22160 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22161 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22162 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22163 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22164 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22165 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22166 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22167 <elf/stackguard-macros.h>.
22168
cc03b296
JM
22169 [BZ #14109]
22170 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22171 __aligned__ in attribute.
22172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22173 (gregset_t): Likewise.
22174
93171016
L
221752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22176
22177 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22178 * sysdeps/x86_64/64/Implies-after: Here. New file.
22179 * sysdeps/x86_64/x32/Implies-after: New file.
22180
d86813a0
L
221812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22184 and access return value for _dl_profile_fixup. Use R10_LP to
22185 load frame size.
22186
2953ec75
L
221872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22190
3b550e9e
L
221912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22192
22193 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22194 * sysdeps/x86_64/x32/sysdep.h: New file.
22195
eda41706
L
221962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22197
22198 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22199 * sysdeps/x86_64/setjmp.S: Likewise.
22200
9ea01d93
AZ
222012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22202
22203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22205 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22207 remove unused global constant.
22208
02a91938
CM
222092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22210
22211 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22212 include of <not-cancel.h>.
22213
6540185f
RM
222142012-05-15 Roland McGrath <roland@hack.frob.com>
22215
22216 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22217
509072a0
AJ
222182012-05-15 Jeff Law <law@redhat.com>
22219 Andreas Jaeger <aj@suse.de>
22220
22221 [BZ #13594]
22222 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22223 out from...
22224 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22225 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22227 code changing __hst_map_handle.map.
22228
ba75122d
RM
222292012-05-15 Roland McGrath <roland@hack.frob.com>
22230
22231 * configure.in (sysnames): Look for Implies-before and Implies-after
22232 files.
22233 * configure: Regenerated.
22234
890d8bd8
L
222352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22236
22237 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22238 8-byte data alignment with LP_SIZE alignment.
22239
f6ee6623
L
222402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22241
22242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22243 into R10_LP.
22244
ea2626f6
L
222452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22246
22247 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22248
085f715e
L
222492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22252 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22254 Likewise.
22255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22256
be8498fc
L
222572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22258
22259 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22260 (stackinfo_sub_sp): Likewise.
22261
70bc83b9
L
222622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22263
22264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22265 RAX_LP.
22266
9bc0b730
L
222672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22270 into R*_LP.
22271
6d2850e7
L
222722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22275 sizes into R*_LP.
22276
3cb84561
L
222772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22280
54e2ed81
L
222812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22284 into R11_LP and load __x86_64_shared_cache_size_half into
22285 R8_LP.
22286
8a17f349
L
222872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22290 R8_LP.
22291
777b1eea
AZ
222922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22293
22294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22295 logb for POWER7.
22296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22297 logbf for POWER7.
22298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22299 logbl for POWER7.
22300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22301 powerpc32/power7/fpu/s_logb.c via #include.
22302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22303 powerpc32/power7/fpu/s_logbf.c via #include.
22304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22305 powerpc32/power7/fpu/s_logbl.c via #include.
22306
d20d4ac2
JM
223072012-05-15 Joseph Myers <joseph@codesourcery.com>
22308
22309 * README.libm: Remove file.
22310
6cdef1ab
L
223112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22314 count for x32. Use R*_LP and omit operand-size suffix.
22315
0b254d8f
L
223162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22319 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22320 * sysdeps/x86_64/x32/shlib-versions: New file.
22321
ceb809dc
RM
223222012-05-14 Roland McGrath <roland@hack.frob.com>
22323
22324 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22325 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22326 Use _dl_fatal_printf instead.
22327
37f1abd4
JM
223282012-05-14 Joseph Myers <joseph@codesourcery.com>
22329
22330 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22331 set if not set by the user. Do not allow for being unset.
22332 * sysdeps/unix/sysv/linux/configure: Regenerated.
22333
11de3a33
L
223342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22335
22336 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22337 the `q' suffix from lea and replace .quad with ASM_ADDR.
22338
e02f153a
L
223392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22342 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22343 instead of $17.
22344 (PTR_DEMANGLE): Likewise.
22345
520ae0fd
L
223462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22347
22348 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22349 (LP_OP): Likewise.
22350 (ASM_ADDR): Likewise.
22351 (RAX_LP): Likewise.
22352 (RBP_LP): Likewise.
22353 (RBX_LP): Likewise.
22354 (RCX_LP): Likewise.
22355 (RDI_LP): Likewise.
22356 (RSI_LP): Likewise.
22357 (RSP_LP): Likewise.
22358 (R8_LP): Likewise.
22359 (R9_LP): Likewise.
22360 (R10_LP): Likewise.
22361 (R10_LP): Likewise.
22362 (R11_LP): Likewise.
22363 (R12_LP): Likewise.
22364 (R13_LP): Likewise.
22365 (R14_LP): Likewise.
22366 (R15_LP): Likewise.
22367
b985be81
L
223682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22369
22370 * sysdeps/x86_64/x32/dl-machine.h: New file.
22371
6a4888ff
AJ
223722012-05-14 Andreas Jaeger <aj@suse.de>
22373
22374 * manual/Makefile (subdir): Remove export of subdir.
22375 (all): Remove target.
22376 (.PHONY): Remove all from list.
22377 (mkinstalldirs): Remove.
22378 (.PHONY): Remove installdirs from list.
22379 ($(inst_infodir)/libc.info): Use make-target-directory.
22380 (installdirs): Remove.
22381 (subdir_%): Remove.
22382 (glibc-targets): Remove.
22383 (lib): Remove.
22384 (stubs): Remove.
22385 ($(objpfx)stubs ../po/manual.pot): Remove.
22386 ($(objpfx)stamp%): Remove.
22387 (make-target-directory): Remove.
22388 (subdir_install): Remove.
22389 (routines): Remove.
22390 (aux): Remove.
22391 (sources): Remove.
22392 (objects): Remove.
22393 (headers): Remove.
22394
22395 [BZ #13750]
22396 * manual/.gitignore: Remove, it's not needed anymore.
22397 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22398 all files in it.
22399 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22400 directory.
22401 (texis): Renamed to $(objpfx)texis.
22402 (texis-path): New, contains path to generated files.
22403 (chapters.%): Use texis-path for complete path, add extra argument
22404 libc-texinfo.sh.
22405 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22406 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22407 (summary,texi, stamp-summary): Use complete path of
22408 files. Generate files in build dir.
22409 (dir-add.texi): Build in build dir.
22410 (libm-err.texi,stamp-libm-err): Likewise.
22411 (version.texi, stamp-version): Likewise.
22412 (.%c.texi): Likewise.
22413 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22414 (mostlyclean): Remove target.
22415 (realclean): Remove target.
22416 (generated): Add new variable with contents from mostlyclean and
22417 realclean, remove entries duplicated in common-mostlyclean, add
22418 stamp-libm-err and stamp-version.
22419 (generated-dirs): Add libc directory.
22420 ($(inst_infodir)/libc.info): Install files from build dir.
22421
22422 * manual/install.texi (Configuring and compiling): Adjust since
22423 the info files are not part of the tar ball anymore.
22424
7ac77294
AJ
224252012-05-14 Andreas Jaeger <aj@suse.de>
22426
22427 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22428 variable.
22429
ffb7875d
JM
224302012-05-14 Joseph Myers <joseph@codesourcery.com>
22431
22432 [BZ #13717]
22433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22434 to 2.2.0 where earlier.
22435 * sysdeps/unix/sysv/linux/configure: Regenerated.
22436 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22437 Remove conditional code.
22438 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22439 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22440 Remove conditional code.
22441 [!__NR_lchown]: Likewise.
22442 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22443 [__NR_lchown]: Likewise.
22444 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22445 comment referencing __ASSUME_LCHOWN_SYSCALL.
22446 * sysdeps/unix/sysv/linux/i386/sigaction.c
22447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22449 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22450 Remove conditional code.
22451 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22452 (__protocol_available): Remove #if 0 code.
22453 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22454 conditional code.
22455 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22456 * sysdeps/unix/sysv/linux/kernel-features.h
22457 (__ASSUME_GETCWD_SYSCALL): Don't define.
22458 (__ASSUME_REALTIME_SIGNALS): Likewise.
22459 (__ASSUME_PREAD_SYSCALL): Likewise.
22460 (__ASSUME_PWRITE_SYSCALL): Likewise.
22461 (__ASSUME_POLL_SYSCALL): Likewise.
22462 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22463 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22464 non-SPARC.
22465 (__ASSUME_SIOCGIFNAME): Don't define.
22466 (__ASSUME_MSG_NOSIGNAL): Likewise.
22467 (__ASSUME_SENDFILE): Define unconditionally.
22468 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22469 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22470 conditional code.
22471 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22472 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22473 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22474 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22475 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22476 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22477 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22502 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22503 Remove conditional code.
22504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22505 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22506 Remove conditional code.
22507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22508 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22509 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22510 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22511 Remove conditional code.
22512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22513 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22514 Remove conditional code.
22515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22516 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22517 Remove conditional code.
22518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22519 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22520 Remove conditional code.
22521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22522 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22523 Remove conditional code.
22524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22525 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22528 * sysdeps/unix/sysv/linux/sigaction.c
22529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22531 * sysdeps/unix/sysv/linux/sigpending.c
22532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22534 * sysdeps/unix/sysv/linux/sigprocmask.c
22535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22537 * sysdeps/unix/sysv/linux/sigsuspend.c
22538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22541 (__libc_missing_rt_sigs): Remove.
22542 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22543 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22544 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22545 Remove conditional code.
22546 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22547 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22548 return 1.
22549 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22550 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22552 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22553
1bfb7291
AJ
225542012-05-14 Andreas Jaeger <aj@suse.de>
22555
caae5a81
AJ
22556 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22557 it's not used in glibc.
22558 (__coshm1): Likewise.
22559 (__acosh1p): Likewise.
22560 (__sgn): Likewise.
22561
1bfb7291
AJ
22562 * manual/string.texi (Copying and Concatenation): Add missing
22563 variable in concat example.
22564 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22565
c044d724
L
225662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22567
144c5467 22568 [BZ #14103]
c044d724
L
22569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22570 __builtin_clzl with __builtin_clzll.
22571
2523c62b
L
225722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 [BZ #14104]
22575 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22576 libc_freeres_ptr.
22577
d7bb4c42
LD
225782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22579
22580 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22581 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22582 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22583 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22584
9dc4e1fb
MF
225852012-05-14 Mike Frysinger <vapier@gentoo.org>
22586
22587 * NEWS: Update ia64 info.
22588
c7df0112
AS
225892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22590
22591 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22592 used as bcopy.
22593
dc70356c
TS
225942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22595
22596 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22597 * sysdeps/unix/syscalls.list (dup3): Likewise.
22598 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22599 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22600
9fb1a21f
L
226012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22602
22603 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22604 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22605
4822a2a5
L
226062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22609 thread pointer.
22610 (TLS_IE): Use mov/add instead of movq/addq to load thread
22611 pointer.
22612 (TLS_GD_PREFIX): New.
22613 (TLS_GD): Use it.
22614
842b81d6
DM
226152012-05-11 David S. Miller <davem@davemloft.net>
22616
22617 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22618 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22619 (_FPU_SETCW): Likewise.
22620
1cf463cd
L
226212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22622
22623 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22624 is 32-byte aligned.
22625
60cc4a18
AS
226262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22627
22628 [BZ #11837]
22629 * iconvdata/gb18030.c: Update tables.
22630 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22631 characters specially.
22632 (BODY for TO_LOOP): Add encoding of missing ranges.
22633
febb44a4
TS
226342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22635
22636 [BZ #13673]
22637 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22638 * sysdeps/mach/hurd/dup3.c: Likewise.
22639 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22640 * sysdeps/powerpc/memmove.c:: Likewise.
22641
0a10fb9e
L
226422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22645 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22646
df8a552f
L
226472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22648
22649 * elf/elf.h (R_X86_64_RELATIVE64): New.
22650 (R_X86_64_NUM): Updated.
22651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22652 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22653 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22654 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22655 tst-quad1pie tst-quad2pie
22656 (modules-names): Add tst-quadmod1 tst-quadmod2.
22657 ($(objpfx)tst-quad1): New dependency.
22658 ($(objpfx)tst-quad2): Likewise.
22659 ($(objpfx)tst-quad1pie): Likewise.
22660 ($(objpfx)tst-quad2pie): Likewise.
22661 * sysdeps/x86_64/tst-quad1.c: New file.
22662 * sysdeps/x86_64/tst-quad1pie.c: New file.
22663 * sysdeps/x86_64/tst-quad2.c: Likewise.
22664 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22665 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22666 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22667 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22668 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22669
f34d6f84
ST
226702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22671
f42d41d1
ST
22672 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22673 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22674 * streams/stropts.h (t_scalar_t): Define type.
22675
3c3571fc
ST
22676 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22677 (_PATH_PRESERVE): Set to "/var/lib".
22678 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22679
61f06bd3
ST
22680 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22681 instead of int.
22682
918d4d71
ST
22683 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22684 if __dir_mkfile succeeded.
22685
f34d6f84
ST
22686 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22687 checking for _hurd_dtablesize. Unlock it right after having
22688 finished _hurd_dtable allocation.
22689
10589b4a
TS
226902012-05-10 Thomas Schwinge <thomas@schwinge.name>
22691
674cdbc7
TS
22692 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22693 * sysdeps/mach/hurd/configure: Regenerated.
22694 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22695 special-casing to...
22696 * sysdeps/gnu/configure.in: ... this new file.
22697 * sysdeps/unix/sysv/linux/configure: Regenerated.
22698 * sysdeps/gnu/configure: New generated file.
22699
8e41b99f
TS
22700 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22701 for Linux: use nsec instead of usec, as well as:
22702 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22703 members of type struct timespec.
22704 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22705 New macros.
22706 (struct stat64): Likewise.
22707 (_STATBUF_ST_NSEC): New macro.
22708 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22709
10589b4a
TS
22710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22711 __strtoul_internal rather than strtoul.
22712
63643c85
PT
227132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22714
22715 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22716 and reject them.
22717
3faebe6a
ST
227182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22719
22720 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22721 which preserves existing values.
22722 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22723
c6474b07
PT
227242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22725
22726 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22727 TIMEOUT values. Return EINVAL for NFDS values either negative or
22728 greater than FD_SETSIZE.
22729
1043890b
ST
227302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22731
22732 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22733 allocated, call __vm_protect to finish enabling the existing space, and
22734 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22735 allocate the remainder.
22736
37ed8b9b
PT
227372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22738
22739 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22740 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22741
db653660
ST
227422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22743
37ed8b9b
PT
22744 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22745 sysdeps/mach/hurd/readlink.c.
b29d4053 22746
db653660
ST
22747 * posix/tst-sysconf.c (posix_options): Only use
22748 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22749 _POSIX_SYNCHRONIZED_IO when they are defined
22750 * sysdeps/mach/hurd/bits/posix_opt.h:
22751 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22752 (_XOPEN_REALTIME): Undefine macro.
22753 (_XOPEN_REALTIME_THREADS): Undefine macro.
22754 (_XOPEN_SHM): Undefine macro.
22755 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22756 macro to -1.
22757 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22758 macro to -1.
22759 (_POSIX_ASYNC_IO): Undefine macro.
22760 (_POSIX_PRIORITIZED_IO): Undefine macro.
22761 (_POSIX_SPIN_LOCKS): Define macro to -1.
22762
ee16e894
ST
22763 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22764 SA_NODEFER, SA_RESETHAND.
22765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22766 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22767 F_DUPFD_CLOEXEC.
22768
6103ae3b
TS
227692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22770
22771 * elf/Makefile (pldd-modules): Define unconditionally.
22772
80b4e5f3
TS
227732012-05-10 Thomas Schwinge <thomas@schwinge.name>
22774
22775 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22776
edadcbd6
ST
227772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22778
22779 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22780 Return ENOENT when name is empty.
22781 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22782
80694780
TS
227832012-05-10 Thomas Schwinge <thomas@schwinge.name>
22784
1792c087
TS
22785 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22786
80694780
TS
22787 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22788
6b645f0d
ST
227892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22790
80694780
TS
22791 Fix mlock in all cases except non-readable pages.
22792 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22793 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22794
6b645f0d
ST
22795 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22796 (__mkdir): When path is `/', just fail with EEXIST.
22797 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22798
e468f8a3
TS
227992012-05-10 Thomas Schwinge <thomas@schwinge.name>
22800
22801 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22802 <sys/uio.h> (for writev).
22803 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22804 and <sys/param.h> (for MIN).
22805
a4186cff
PT
228062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22807
22808 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22809 REQUESTED_TIME. Properly set the remaining time and return EINTR
22810 if interrupted.
22811
510bbf14
TS
228122012-05-10 Thomas Schwinge <thomas@schwinge.name>
22813
22814 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22815 Depend on against $(link-rpcuserlibs).
22816
5d5722e8
ST
228172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22818
a4186cff
PT
22819 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22820 (__libc_stack_end): Do not use attribute_relro.
22821 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22822 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22823 to libthread-provided value.
a4186cff
PT
22824 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22825 attribute_relro.
5d5722e8 22826
37233df9
TS
228272012-05-10 Thomas Schwinge <thomas@schwinge.name>
22828
be971a2b
TS
22829 [BZ #3748]
22830 * bits/libc-lock.h (__libc_once_get): New macro.
22831 * sysdeps/mach/bits/libc-lock.h: Likewise.
22832 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22834 instead of using implementation details.
22835
37233df9
TS
22836 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22837 * libio/freopen.c: Likewise.
22838 * libio/freopen64.c: Likewise.
22839 * misc/syslog.c: Likewise.
22840 * nscd/connections.c: Likewise.
22841 * nscd/netgroupcache.c: Likewise.
22842 * sysdeps/posix/getcwd.c: Likewise.
22843
38de94a5
RM
228442012-05-10 Roland McGrath <roland@hack.frob.com>
22845
22846 * math/w_ilogbf.c: Add #include <limits.h>.
22847
67530489
ST
228482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22849
a4186cff 22850 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22851 path instead of returning without unlocking.
22852
67530489
ST
22853 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22854 immediate-write ioctls.
22855 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22856
5aa3a74a
TS
228572012-05-10 Thomas Schwinge <thomas@schwinge.name>
22858
18bad2ae
TS
22859 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22860 __builtin_frame_address instead of making assumptions about the
22861 location of the return address relative to DATA. Force early load of
22862 the return address.
22863 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22864 __builtin_frame_address.
22865
5aa3a74a
TS
22866 dup3 for GNU Hurd.
22867 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22868 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22869 implement dup3 and do some further code clean-ups.
22870 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22872
ecd0de9a
ST
228732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22874
cd9fa985
ST
22875 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22876
a4186cff
PT
22877 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22878 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22879 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22880 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22881 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22882 d->port.lock.
802ca5a5 22883
a4186cff
PT
22884 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22885 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22886 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22887
bcf55240
TS
228882012-05-10 Thomas Schwinge <thomas@schwinge.name>
22889
6960eb42
TS
22890 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22891 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22892 definitions.
22893
eb43375f
TS
22894 accept4 for GNU Hurd.
22895 * include/sys/socket.h (__libc_accept4): New prototype.
22896 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22897 to implement __libc_accept4.
22898 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22899 __libc_accept4.
22900 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22901
bcf55240
TS
22902 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22903 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22904 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22905 signal-defines.sym.
22906
6178c55b
ST
229072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22908
a4186cff 22909 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22910
6f080c2f
TS
229112012-05-10 Thomas Schwinge <thomas@schwinge.name>
22912
22913 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22914 assertion on O_CLOEXEC flag.
22915 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22916 * hurd/intern-fd.c: Likewise.
22917 * hurd/port2fd.c: Likewise.
22918
bcfe3a54
ST
229192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22920
22921 [BZ #3906]
22922 * bits/in.h (IPV6_PKTINFO): Define new macro.
22923 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22924
89c9aa49
AZ
229252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22926
22927 [BZ #13954]
22928 [BZ #13955]
22929 [BZ #13956]
22930 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22932 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22933 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22935 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22936 * math/libm-test.inc (logb_test) : Additional logb tests.
22937
021db4be
AJ
229382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22939 Andreas Jaeger <aj@suse.de>
22940
22941 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22942 * configure: Regenerated.
22943 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22944 * config.make.in (link-obsolete-rpc): New substituted variable.
22945 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22946 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22947 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22948 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22949 so that libc.a contains the symbols.
22950 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22951 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22952 * sunrpc/auth_none.c: Likewise.
22953 * sunrpc/auth_unix.c: Likewise.
22954 * sunrpc/authdes_prot.c: Likewise.
22955 * sunrpc/authuxprot.c: Likewise.
22956 * sunrpc/clnt_gen.c: Likewise.
22957 * sunrpc/clnt_perr.c: Likewise.
22958 * sunrpc/clnt_raw.c: Likewise.
22959 * sunrpc/clnt_simp.c: Likewise.
22960 * sunrpc/clnt_tcp.c: Likewise.
22961 * sunrpc/clnt_udp.c: Likewise.
22962 * sunrpc/clnt_unix.c: Likewise.
22963 * sunrpc/des_crypt.c: Likewise.
22964 * sunrpc/des_soft.c: Likewise.
22965 * sunrpc/get_myaddr.c: Likewise.
22966 * sunrpc/key_call.c: Likewise.
22967 * sunrpc/key_prot.c: Likewise.
22968 * sunrpc/netname.c: Likewise.
22969 * sunrpc/pm_getmaps.c: Likewise.
22970 * sunrpc/pm_getport.c: Likewise.
22971 * sunrpc/pmap_clnt.c: Likewise.
22972 * sunrpc/pmap_prot.c: Likewise.
22973 * sunrpc/pmap_prot2.c: Likewise.
22974 * sunrpc/pmap_rmt.c: Likewise.
22975 * sunrpc/publickey.c: Likewise.
22976 * sunrpc/rpc_cmsg.c: Likewise.
22977 * sunrpc/rpc_common.c: Likewise.
22978 * sunrpc/rpc_dtable.c: Likewise.
22979 * sunrpc/rpc_prot.c: Likewise.
22980 * sunrpc/rpc_thread.c: Likewise.
22981 * sunrpc/rtime.c: Likewise.
22982 * sunrpc/svc.c: Likewise.
22983 * sunrpc/svc_auth.c: Likewise.
22984 * sunrpc/svc_raw.c: Likewise.
22985 * sunrpc/svc_run.c: Likewise.
22986 * sunrpc/svc_tcp.c: Likewise.
22987 * sunrpc/svc_udp.c: Likewise.
22988 * sunrpc/svc_unix.c: Likewise.
22989 * sunrpc/svcauth_des.c: Likewise.
22990 * sunrpc/xcrypt.c: Likewise.
22991 * sunrpc/xdr.c: Likewise.
22992 * sunrpc/xdr_array.c: Likewise.
22993 * sunrpc/xdr_float.c: Likewise.
22994 * sunrpc/xdr_intXX_t.c: Likewise.
22995 * sunrpc/xdr_mem.c: Likewise.
22996 * sunrpc/xdr_rec.c: Likewise.
22997 * sunrpc/xdr_ref.c: Likewise.
22998 * sunrpc/xdr_sizeof.c: Likewise.
22999 * sunrpc/xdr_stdio.c: Likewise.
23000
b5c086a2
RM
230012012-05-10 Roland McGrath <roland@hack.frob.com>
23002
23003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23004 change. Update copyright years.
23005
6d74dd09
JM
230062012-05-10 Joseph Myers <joseph@codesourcery.com>
23007
23008 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23009
28e72501
MK
230102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23011 Joseph Myers <joseph@codesourcery.com>
23012 Paul Pluzhnikov <ppluzhnikov@google.com>
23013
23014 [BZ #14012]
23015 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23016 requiring rpcgen.
23017 [cross-compiling] (extra-libs): Likewise.
23018 [cross-compiling] (extra-libs-others): Likewise.
23019 [cross-compiling] (librpcsvc-routines): Likewise.
23020 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23021 [cross-compiling] (omit-deps): Likewise.
23022 (sunrpc-CPPFLAGS): New variable.
23023 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23024 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23025 (cross-rpcgen-objs): New variable.
23026 (extra-objs): Append $(cross-rpcgen-objs).
23027 ($(cross-rpcgen-objs)): New rule.
23028 ($(objpfx)cross-rpcgen): Likewise.
23029 (rpcgen-cmd): Define to use $(built-program-file). Expand
23030 comment.
23031 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23032 ($(objpfx)x%.stmp): Likewise.
23033 * sunrpc/proto.h [IS_IN_build] (_): Define.
23034 [IS_IN_build] (_libc_intl_domainname): Likewise.
23035
c8c59454
L
230362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23037
23038 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23039 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23040 and R_X86_64_TPOFF64.
23041
6f27cd16
JM
230422012-05-10 Joseph Myers <joseph@codesourcery.com>
23043
23044 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23045 sysdeps/unix/sysv/syscalls.list.
23046 (stime): Likewise.
23047 (utime): Likewise.
23048 * sysdeps/unix/sysv/syscalls.list: Remove file.
23049
02467e1c
PE
230502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23051
23052 [BZ #3440]
23053 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23054 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23055 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23056 (__LC_IDENTIFICATION): Make these macros useful in #if
23057 expressions, as required by C99.
23058
da392631
AS
230592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23060
23061 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23062 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23063 after this.
23064
8115f29b
L
230652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 * stdlib/longlong.h: Updated from GCC.
23068
bdd74070
AJ
230692012-05-09 Andreas Jaeger <aj@suse.de>
23070
edfe0dbe
AJ
23071 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23072 default is first entry.
23073 (run_mode): Set type.
23074 (main): Remove informal message about syslog.
23075 (options): Fix typo.
23076
bcfe3a54
ST
23077 [BZ #14053]
23078 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23079 to asm.
bcfe3a54
ST
23080 (lrint): Likewise.
23081 (llrintf): Likewise.
23082 (llrint): Likewise.
23083 (rint): Likewise.
23084 (rintf): Likewise.
23085 (nearbyint): Likewise.
23086 (nearbyintf): Likewise.
bdd74070 23087
91d8d69e
AJ
230882012-05-09 Andreas Jaeger <aj@suse.de>
23089 Pedro Alves <palves@redhat.com>
23090
23091 * nscd/nscd.c (run_mode): Use enum.
23092 (main): Cleanup coding style issue.
23093
bb90b80b
AJ
230942012-05-09 Alexandre Oliva <aoliva@redhat.com>
23095 Andreas Jaeger <aj@suse.de>
23096
bcfe3a54
ST
23097 * nscd/nscd.c (go_background): Replaced with...
23098 (run_mode): ... this.
bb90b80b 23099 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23100 (options): Add -F --foreground.
23101 (main): Implement it.
23102 (parse_opt): Parse it.
bb90b80b 23103
1a4b75a1
AJ
231042012-05-09 Andreas Jaeger <aj@suse.de>
23105
23106 [BZ #14083]
23107 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23108 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23109 -Wconversion warning.
23110 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23111 Likewise.
23112
b1cc2472
JM
231132012-05-09 Joseph Myers <joseph@codesourcery.com>
23114
23115 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23116 == 0.
23117 (LC_ALL): Use macro-int-constant.
23118 (LC_COLLATE): Likewise.
23119 (LC_CTYPE): Likewise.
23120 (LC_MESSAGES): Likewise.
23121 (LC_MONETARY): Likewise.
23122 (LC_NUMERIC): Likewise.
23123 (LC_TIME): Likewise.
23124 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23125 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23127 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23128 Specify type.
23129 [C99-based standards] (float_t): Expect type.
23130 [C99-based standards] (double_t): Expect type.
23131 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23132 type.
23133 [C99-based standards] (HUGE_VALL): Likewise.
23134 [C99-based standards] (INFINITY): Likewise.
23135 [C99-based standards] (NAN): Likewise.
23136 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23137 [C99-based standards] (FP_NAN): Likewise.
23138 [C99-based standards] (FP_NORMAL): Likewise.
23139 [C99-based standards] (FP_SUBNORMAL): Likewise.
23140 [C99-based standards] (FP_ZERO): Likewise.
23141 [C99-based standards] (FP_FAST_FMA): Use
23142 optional-macro-int-constant. Specify type. Require == 1.
23143 [C99-based standards] (FP_FAST_FMAF): Likewise.
23144 [C99-based standards] (FP_FAST_FMAL): Likewise.
23145 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23146 [C99-based standards] (FP_ILOGBNAN): Likewise.
23147 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23148 Specify type.
23149 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23150 [C99-based standards] (math_errhandling): Specify type.
23151 [ISO99 || ISO11] (signgam): Do not allow.
23152 [non-C99-based standards] (copysignf): Do not allow.
23153 [non-C99-based standards] (exp2f): Likewise.
23154 [non-C99-based standards] (log2f): Likewise.
23155 [non-C99-based standards] (modff): Allow.
23156 [non-C99-based standards] (erff): Do not allow.
23157 [non-C99-based standards] (erfcf): Likewise.
23158 [non-C99-based standards] (gammaf): Likewise.
23159 [non-C99-based standards] (hypotf): Likewise.
23160 [non-C99-based standards] (j0f): Likewise.
23161 [non-C99-based standards] (j1f): Likewise.
23162 [non-C99-based standards] (jnf): Likewise.
23163 [non-C99-based standards] (lgammaf): Likewise.
23164 [non-C99-based standards] (tgammaf): Likewise.
23165 [non-C99-based standards] (y0f): Likewise.
23166 [non-C99-based standards] (y1f): Likewise.
23167 [non-C99-based standards] (ynf): Likewise.
23168 [non-C99-based standards] (isnanf): Likewise.
23169 [non-C99-based standards] (acoshf): Likewise.
23170 [non-C99-based standards] (asinhf): Likewise.
23171 [non-C99-based standards] (atanhf): Likewise.
23172 [non-C99-based standards] (cbrtf): Likewise.
23173 [non-C99-based standards] (expm1f): Likewise.
23174 [non-C99-based standards] (ilogbf): Likewise.
23175 [non-C99-based standards] (log1pf): Likewise.
23176 [non-C99-based standards] (logbf): Likewise.
23177 [non-C99-based standards] (nextafterf): Likewise.
23178 [non-C99-based standards] (remainderf): Likewise.
23179 [non-C99-based standards] (rintf): Likewise.
23180 [non-C99-based standards] (scalbf): Likewise.
23181 [non-C99-based standards] (copysignl): Likewise.
23182 [non-C99-based standards] (exp2l): Likewise.
23183 [non-C99-based standards] (log2l): Likewise.
23184 [non-C99-based standards] (modfl): Allow.
23185 [non-C99-based standards] (erfl): Do not allow.
23186 [non-C99-based standards] (erfcl): Likewise.
23187 [non-C99-based standards] (gammal): Likewise.
23188 [non-C99-based standards] (hypotl): Likewise.
23189 [non-C99-based standards] (j0l): Likewise.
23190 [non-C99-based standards] (j1l): Likewise.
23191 [non-C99-based standards] (jnl): Likewise.
23192 [non-C99-based standards] (lgammal): Likewise.
23193 [non-C99-based standards] (tgammal): Likewise.
23194 [non-C99-based standards] (y0l): Likewise.
23195 [non-C99-based standards] (y1l): Likewise.
23196 [non-C99-based standards] (ynl): Likewise.
23197 [non-C99-based standards] (isnanl): Likewise.
23198 [non-C99-based standards] (acoshl): Likewise.
23199 [non-C99-based standards] (asinhl): Likewise.
23200 [non-C99-based standards] (atanhl): Likewise.
23201 [non-C99-based standards] (cbrtl): Likewise.
23202 [non-C99-based standards] (expm1l): Likewise.
23203 [non-C99-based standards] (ilogbl): Likewise.
23204 [non-C99-based standards] (log1pl): Likewise.
23205 [non-C99-based standards] (logbl): Likewise.
23206 [non-C99-based standards] (nextafterl): Likewise.
23207 [non-C99-based standards] (remainderl): Likewise.
23208 [non-C99-based standards] (rintl): Likewise.
23209 [non-C99-based standards] (scalbl): Likewise.
23210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23211 [non-C99-based standards] (FP_*): Do not allow.
23212 [C99-based standards] (FP_*): Change to
23213 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23214 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23215 allow.
23216 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23217 (SIG_ERR): Likewise.
23218 [X/Open-based standards] (SIG_HOLD): Likewise.
23219 (SIG_IGN): Likewise.
23220 (SIGABRT): Use macro-int-constant. Specify type. Require
23221 positive value.
23222 (SIGFPE): Likewise.
23223 (SIGILL): Likewise.
23224 (SIGINT): Likewise.
23225 (SIGSEGV): Likewise.
23226 (SIGTER): Likewise.
23227 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23228 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23229 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23230 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23231 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23232 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23233 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23234 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23235 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23236 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23237 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23238 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23239 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23240 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23241 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23242 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23243 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23244 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23245 [X/Open-based standards] (SIGTRAP): Likewise.
23246 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23247 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23248 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23249 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23250 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23251 allow.
23252
b9f1922d
IW
232532012-05-08 Ian Wienand <ianw@vmware.com>
23254
23255 [BZ #14080]
23256 * time/tzset.c (__tzset_parse_tz): Update default rules for
23257 daylight time changes in the Energy Policy Act of 2005.
23258
1db86e88
AJ
232592012-05-09 Andreas Jaeger <aj@suse.de>
23260
23261 [BZ #13983]
23262 * elf/ldconfig.c (parse_conf): Change string to make clear that
23263 ldconfig only issued a warning if ld.so.conf does not exist.
23264
dee4a4e3
DM
232652012-05-08 David S. Miller <davem@davemloft.net>
23266
ee0db190
DM
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23268 movxtod instead of popping the value on the stack.
23269
dee4a4e3
DM
23270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23271
6a43ec98
CD
232722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23273
23274 * config.h.in: Add HAVE_ARM_PCS_VFP.
23275
05c2c961
RMG
232762012-05-08 Roland Mc Grath <roland@hack.frob.com>
23277
bcfe3a54
ST
23278 [BZ #13979]
23279 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23280 checking but the checks are disabled for any reason.
05c2c961 23281
4b30f61a
L
232822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23283
23284 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23285 and ELF64_R_TYPE with ELFW(R_TYPE).
23286
eee2bc67
JM
232872012-05-08 Joseph Myers <joseph@codesourcery.com>
23288
7ea5391a
JM
23289 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23290 (ulimit): Likewise.
23291
eee2bc67
JM
23292 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23293 (settimeofday): Likewise.
23294
abb66a67
MF
232952012-05-08 Mike Frysinger <vapier@gentoo.org>
23296
23297 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23298 a struct th_u2 inside the union, and move tu_block/tu_code into
23299 a new th_u3 union of tu_block/tu_code inside of that. Move
23300 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23301 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23302 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23303 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23304 (th_stuff): Change to th_u1.tu_stuff.
23305 (th_data): Define.
23306 (th_msg): Change to th_u1.th_u2.tu_data.
23307
7f18b530
DM
233082012-05-07 David S. Miller <davem@davemloft.net>
23309
05760585
DM
23310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23311
7f18b530
DM
23312 [BZ #14074]
23313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23314 (SETUP_PIC_REG): Use it.
23315 (SETUP_PIC_REG_LEAF): Use it.
23316
495fd99f
JM
233172012-05-07 Joseph Myers <joseph@codesourcery.com>
23318
23319 [BZ #13885]
23320 [BZ #13923]
23321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23322 USE_AS_EXPM1L.
23323 (EXPL_FINITE): Likewise.
23324 (FLDLOG): Likewise.
23325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23326 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23327 e_expl.S.
23328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23329 USE_AS_EXPM1L.
23330 (EXPL_FINITE): Likewise.
23331 (FLDLOG): Likewise.
23332 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23333 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23334 e_expl.S.
23335 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23336 test of -max_value argument for long double.
23337 * sysdeps/i386/fpu/libm-test-ulps: Update.
23338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339
6693d694
DM
233402012-05-06 David S. Miller <davem@davemloft.net>
23341
23342 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23343 quad soft-float symbols whose references which are compiler
23344 generated.
23345 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23346
6c23e11c
JM
233472012-05-06 Joseph Myers <joseph@codesourcery.com>
23348
d8b82cad
JM
23349 [BZ #13884]
23350 [BZ #13914]
23351 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23352 USE_AS_EXP10L.
23353 (EXPL_FINITE): Likewise.
23354 (FLDLOG): Likewise.
23355 (c0): Likewise.
23356 (c1): Likewise.
23357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23358 Adjust comments for base varying.
23359 (__expl_finite): Change alias to EXPL_FINITE.
23360 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23361 e_expl.S.
23362 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23363 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23365 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23367 USE_AS_EXP10L.
23368 (EXPL_FINITE): Likewise.
23369 (FLDLOG): Likewise.
23370 (c0): Likewise.
23371 (c1): Likewise.
23372 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23373 Adjust comments for base varying.
23374 (__expl_finite): Change alias to EXPL_FINITE.
23375 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23376 tests for bugs.
23377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23378
6c23e11c
JM
23379 [BZ #14064]
23380 * math/libm-test.inc (check_float_internal): Correct ulp
23381 calculation for subnormal expected results.
23382
29ba805c
AJ
233832012-05-06 Andreas Jaeger <aj@suse.de>
23384
23385 * Makeconfig (+math-flags): New, set to -frounding-math.
23386 (+cflags): Add +math-flags so that all of glibc gets compiled with
23387 it.
23388
23389 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23390
7b17aeda
JM
233912012-05-05 Joseph Myers <joseph@codesourcery.com>
23392
5779f134
JM
23393 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23394 Disable one test.
23395
41498f4d
JM
23396 [BZ #13787]
23397 [BZ #13922]
23398 [BZ #14036]
23399 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23400 (__ieee754_expl): Allow for and saturate large arguments.
23401 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23402 (u_threshold): Likewise.
23403 (__exp): Call __ieee754_exp before checking for overflow and
23404 underflow.
23405 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23406 (u_threshold): Likewise.
23407 (__expf): Call __ieee754_expf before checking for overflow and
23408 underflow.
23409 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23410 (u_threshold): Likewise.
23411 (__expl): Call __ieee754_expl before checking for overflow and
23412 underflow.
23413 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23414 (__ieee754_expl): Allow for and saturate large arguments.
23415 * math/libm-test.inc (exp_test): Add another test. Do not allow
23416 missing overflow exception on overflow.
23417 (expm1_test): Do not allow missing overflow exception on overflow.
23418
6698b8bf
JM
23419 * sysdeps/i386/fpu/e_expl.c: Move to ...
23420 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23421 rather than using inline asm.
23422 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23423 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23424 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23425
7b17aeda
JM
23426 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23427 (nice): Likewise.
23428 (poll): Likewise.
23429 (signal): Likewise.
23430 (time): Likewise.
23431 (times): Likewise.
23432
f7c85819
JM
234332012-05-04 Joseph Myers <joseph@codesourcery.com>
23434
23435 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23436 sysdeps/unix/common/syscalls.list.
23437 (fchmod): Likewise.
23438 (fchown): Likewise.
23439 (ftruncate): Likewise.
23440 (getrusage): Likewise.
23441 (gettimeofday): Likewise.
23442 (setpgid): Likewise.
23443 (setregid): Likewise.
23444 (setreuid): Likewise.
23445 (sigaction): Likewise.
23446 (truncate): Likewise.
23447 (vhangup): Likewise.
23448 * sysdeps/unix/common/syscalls.list: Remove file.
23449 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23450 * sysdeps/unix/sysv/linux/Implies: Likewise.
23451
336270d0
L
234522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23453
23454 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23456 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23457 Moved to ...
23458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23459 Here.
23460 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23461 to ...
23462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23463 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23464 to ...
23465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23466 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23467 to ...
23468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23469 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23470 to ...
23471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23472 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23473 to ...
23474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23475 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23476 to ...
23477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23478 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23479 to ...
23480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23481 Here.
23482 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23483 to ...
23484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23485 Here.
23486 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23487 to ...
23488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23489 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23490 Moved to ...
23491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23492 Here.
23493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23494 to ...
23495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23496
d128e450
JM
234972012-05-04 Joseph Myers <joseph@codesourcery.com>
23498
fa8ee516
JM
23499 * sysdeps/unix/common/bits/dirent.h: Remove file.
23500 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23501
d128e450
JM
23502 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23503 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23504 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23505 * sysdeps/unix/bsd/isatty.c: Likewise.
23506 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23507 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23508 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23509
ff8faaf0 235102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23511
62881be4 23512 [BZ #13563]
31dc8730
AZ
23513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23514 long double comparison inaccuracies.
23515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23517
6fef930c
AS
235182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23519
23520 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23522
8f203e6c
JM
235232012-05-04 Joseph Myers <joseph@codesourcery.com>
23524
23525 [BZ #14049]
23526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23527 nonzero digits before rounding a hex value.
23528 * stdlib/tst-strtod.c (tests): Add another test.
23529
5197d9c2
AK
235302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23531
23532 * sysdeps/s390/fpu/libm-test-ulps: Update.
23533
f0c1dedf
AJ
235342012-05-03 Andreas Jaeger <aj@suse.de>
23535
23536 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23537 does not get optimized out.
23538 (malloc_opt_barrier): New.
23539
a65ef2ae 235402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23541 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23542
2b942cb7 23543 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23544 intermediate file deletion.
2b942cb7 23545 (generated): Add .symlist files.
a65ef2ae 23546
54b71e02
JM
235472012-05-03 Joseph Myers <joseph@codesourcery.com>
23548
23549 [BZ #13775]
23550 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23551 Redirect under this condition.
23552 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23553 [__USE_GNU] (__dprintf_chk): Not under this condition.
23554 [__USE_GNU] (__vdprintf_chk): Likewise.
23555 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23556 under this condition.
23557 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23558 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23559 [__USE_XOPEN2K8] (vdprintf): Likewise.
23560 [__USE_GNU] (__dprintf_chk): Not under this condition.
23561 [__USE_GNU] (__vdprintf_chk): Likewise.
23562 [__USE_GNU] (dprintf): Likewise.
23563 [__USE_GNU] (vdprintf): Likewise.
23564
d3dfcc41
RM
235652012-05-03 Roland McGrath <roland@hack.frob.com>
23566
23567 * elf/Makefile (common-generated): Set this instead of generated for
23568 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23569 $(all-built-dso)-derived lists.
23570
7ac30cc5
AJ
235712012-05-03 Andreas Jaeger <aj@suse.de>
23572
0c51e550
AJ
23573 * sysdeps/i386/fpu/libm-test-ulps: Update.
23574
7ac30cc5
AJ
23575 * FAQ: Removed.
23576 * FAQ.in: Likewise.
23577 * scripts/gen-FAQ.pl: Likewise.
23578 * manual/install.texi (Installation): Point to online location of
23579 FAQ.
23580 * Makefile (files-for-dist): Remove FAQ.
23581 (FAQ): Remove.
23582
d4c2917f
AM
235832012-05-02 Allan McRae <allan@archlinux.org>
23584
23585 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23586 (LDFLAGS-reldepmod5.so): Likewise.
23587 (LDFLAGS-reldep6mod1.so): Likewise.
23588 (LDFLAGS-reldep6mod4.so): Likewise.
23589 (LDFLAGS-reldep8mod3.so): Likewise.
23590 (LDFLAGS-unload4mod1.so): Likewise.
23591 (LDFLAGS-unload4mod2.so): Likewise.
23592 (LDFLAGS-tst-initorder): Likewise.
23593 (LDFLAGS-tst-initordera2.so): Likewise.
23594 (LDFLAGS-tst-initordera3.so): Likewise.
23595 (LDFLAGS-tst-initordera4.so): Likewise.
23596 (LDFLAGS-tst-initorderb2.so): Likewise.
23597 (LDFLAGS-noload): Likewise.
23598 (LDFLAGS-next): Likewise.
23599 (LDFLAGS-order2mod1.so): Likewise.
23600 (LDFLAGS-order2mod2.so): Likewise.
23601 (LDFLAGS-tst-initorder2): Likewise.
23602 (LDFLAGS-tst-initorder2a.so): Likewise.
23603 (LDFLAGS-tst-initorder2b.so): Likewise.
23604 (LDFLAGS-tst-initorder2c.so): Likewise.
23605 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23606
d77f993f
DM
236072012-05-02 David S. Miller <davem@davemloft.net>
23608
23609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23610
171a70b4
PP
236112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23612
23613 [BZ #14055]
23614 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23615
0be196ad
AJ
236162012-05-02 Andreas Jaeger <aj@suse.de>
23617
23618 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23619 since we manipulate rounding mode.
23620 (CPPFLAGS-test-idouble.c): Likewise.
23621 (CPPFLAGS-test-ifloat.c): Likewise.
23622 (CFLAGS-test-ldouble.c): Likewise.
23623 (CFLAGS-test-double.c): Likewise.
23624 (CFLAGS-test-float.c): Likewise.
23625 (CFLAGS-test-misc.c): Likewise.
23626 (CFLAGS-test-test-fenv.c): Likewise.
23627
4f9d04aa
AZ
236282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629
2b942cb7
RM
23630 [BZ #2550]
23631 [BZ #2570]
23632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23633 comparisons to determine direction to adjust input.
4f9d04aa 23634
82a79e7d
RM
236352012-05-01 Roland McGrath <roland@hack.frob.com>
23636
f5a01ca9
RM
23637 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23638 output to the target.
23639
90fe4186
RM
23640 * scripts/localplt.awk: New file.
23641 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23642 (check-localplt-CFLAGS): Variable removed.
23643 ($(all-built-dso:=.jmprel)): New static pattern rule.
23644 (generated): Add those targets.
23645 (localplt-built-dso): New variable.
23646 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23647
23648 * elf/check-localplt.c: File removed.
23649
82397ed6
RM
23650 * scripts/check-execstack.awk: New file.
23651 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23652 (check-execstack-CFLAGS): Variable removed.
23653 ($(objpfx)check-execstack.h): Target removed.
23654 ($(objpfx)execstack-default): New target.
23655 (generated): Add that instead of check-execstack.h.
23656 ($(all-built-dso:=.phdr)): New static pattern rule.
23657 (generated): Add those targets.
23658 * elf/check-execstack.c: File removed.
23659
82a79e7d
RM
23660 * scripts/check-textrel.awk: New file.
23661 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23662 (check-textrel-CFLAGS): Variable removed.
23663 (all-built-dso): Use := to define.o
23664 ($(all-built-dso:=.dyn)): New static pattern rule.
23665 (generated): Add those targets.
23666 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23667 * config.make.in (READELF): New substituted variable.
23668 * elf/check-textrel.c: File removed.
23669
62fde54f 236702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23671
615605c9
JM
23672 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23673 allow.
23674 * conform/data/ctype.h-data [C99-based standards] (isblank):
23675 Expect function.
23676 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23677 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23679 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23680 Specify type. Require positive value.
23681 (EILSEQ): Likewise.
23682 (ERANGE): Likewise.
23683 [ISO || POSIX] (EILSEQ): Do not expect.
23684 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23685 Specify type. Require positive value.
23686 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23687 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23688 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23689 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23690 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23691 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23692 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23693 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23694 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23695 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23696 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23697 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23698 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23699 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23700 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23701 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23702 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23703 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23704 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23705 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23706 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23707 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23708 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23709 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23710 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23711 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23712 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23713 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23714 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23715 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23716 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23717 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23718 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23719 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23720 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23721 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23722 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23723 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23724 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23725 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23726 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23727 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23728 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23729 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23730 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23731 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23732 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23733 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23734 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23735 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23736 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23737 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23738 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23739 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23740 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23741 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23742 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23743 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23744 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23745 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23746 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23747 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23748 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23749 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23750 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23751 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23752 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23753 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23754 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23755 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23758 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23759 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23760 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23761 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23762 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23763 Require >= 2.
23764 (FLT_ROUNDS): Expect as macro, not constant.
23765 (FLT_MANT_DIG): Use macro-int-constant.
23766 (DBL_MANT_DIG): Likewise.
23767 (LDBL_MANT_DIG): Likewise.
23768 (FLT_DIG): Likewise.
23769 (DBL_DIG): Likewise.
23770 (LDBL_DIG): Likewise.
23771 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23772 (DBL_MIN_EXP): Likewise.
23773 (LDBL_MIN_EXP): Likewise.
23774 (FLT_MAX_EXP): Use macro-int-constant.
23775 (DBL_MAX_EXP): Likewise.
23776 (LDBL_MAX_EXP): Likewise.
23777 (FLT_MAX_10_EXP): Likewise.
23778 (DBL_MAX_10_EXP): Likewise.
23779 (LDBL_MAX_10_EXP): Likewise.
23780 (FLT_MAX): Use macro-constant.
23781 (DBL_MAX): Likewise.
23782 (LDBL_MAX): Likewise.
23783 (FLT_EPSILON): Use macro-constant. Give upper bound.
23784 (DBL_EPSILON): Likewise.
23785 (LDBL_EPSILON): Likewise.
23786 (FLT_MIN): Likewise.
23787 (DBL_MIN): Likewise.
23788 (LDBL_MIN): Likewise.
23789 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23790 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23791 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23792 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23793 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23794 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23795 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23796 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23797 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23798 [ISO11] (FLT_TRUE_MIN): Likewise.
23799 [ISO11] (LDBL_TRUE_MIN): Likewise.
23800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23801 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23802 (SCHAR_MIN): Use macro-int-constant. Specify type.
23803 (SCHAR_MAX): Likewise.
23804 (UCHAR_MAX): Likewise.
23805 (CHAR_MIN): Likewise.
23806 (CHAR_MAX): Likewise.
23807 (MB_LEN_MAX): Use macro-int-constant.
23808 (SHRT_MIN): Use macro-int-constant. Specify type.
23809 (SHRT_MAX): Likewise.
23810 (USHRT_MAX): Likewise.
23811 (INT_MAX): Likewise.
23812 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23813 bound negative.
23814 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23815 bound with "U".
23816 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23817 bound with "L".
23818 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23819 bound negative. Suffix upper bound with "L".
23820 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23821 bound with "UL".
23822 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23823 Specify type.
23824 [C99-based standards] (LLONG_MAX): Likewise.
23825 [C99-based standards] (ULLONG_MAX): Likewise.
23826 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23827 == 0.
23828 [ISO11] (max_align_t): Require type.
23829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23830
c9140a62
JM
23831 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23832 from $CFLAGS, without defining away __attribute__ calls.
23833 (checknamespace): Use $CFLAGS_namespace.
23834
9af0bf29
JM
23835 * conform/conformtest.pl (@keywords): Only include C99 keywords
23836 for standards based on C99 or C11.
23837
343222a2
JM
23838 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23839 Disable tests.
23840 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23841 UNIX98]: Likewise.
23842
661f8cf0
JM
23843 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23844 usability of symbols in #if.
23845
ee74b9cb
JM
23846 * conform/conformtest.pl: If macro or constant types start
23847 "promoted:", expect the symbol to be of the following type
23848 promoted by the integer promotions.
62fde54f 23849
aafc49b3
JM
23850 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23851 in one place. Also handle "macro-constant".
23852
fefdf574
JM
23853 * conform/conformtest.pl: Only accept expected macro values with
23854 "==". Parse all "macro" lines in one place.
23855 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23856
f2d922fe
JM
23857 * conform/conformtest.pl: Handle braced types on "constant" lines
23858 instead of handling "typed-constant".
23859 * conform/data/signal.h-data: Use "constant" instead of
23860 "typed-constant".
23861
d22956c9
JM
23862 * conform/conformtest.pl: Handle "optional-" at start of lines in
23863 one place rather than duplicating several cases. Handle each
23864 format of "macro" line with initial "optional-".
23865
028e2e38
JM
23866 * conform/conformtest.pl: Only accept expected constant or
23867 optional-constant values with "==". Parse all "constant" lines in
23868 one place. Parse all "optional-constant" lines in one place.
23869 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23870 * conform/data/fmtmsg.h-data: Likewise.
23871 * conform/data/netinet/in.h-data: Likewise.
23872 * conform/data/tar.h-data: Likewise.
23873 * conform/data/limits.h-data: Use "==" form on "constant" and
23874 "optional-constant" lines.
23875
1b8f2850
JM
23876 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23877 Use -std=c99 for XOPEN2K.
23878 (@knownproblems): Remove.
23879 (newtoken): Don't check %isknown.
23880
a05a144b
JM
23881 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23882 Do not expect macro.
23883 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23884 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23885 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23886 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23887 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23888 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23889 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23890 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23891 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23892 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23893 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23894 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23895 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23896 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23897 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23898 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23899 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23900 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23901 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23902 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23903 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23904 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23907 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23908 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23909 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23910 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23911 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23912 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23913 [XPG3] (acosh): Likewise.
23914 [XPG3] (asinh): Likewise.
23915 [XPG3] (atanh): Likewise.
23916 [XPG3] (cbrt): Likewise.
23917 [XPG3] (expm1): Likewise.
23918 [XPG3] (ilogb): Likewise.
23919 [XPG3] (log1p): Likewise.
23920 [XPG3] (logb): Likewise.
23921 [XPG3] (nextafter): Likewise.
23922 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23923 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23924 [XPG3] (remainder): Likewise.
23925 [XPG3] (rint): Likewise.
23926 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23927 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23928 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23929 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23930 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23931 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23932 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23933 [UNIX98 || XOPEN2K] (scalb): Expect.
23934 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23935 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23936 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23937 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23938 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23939 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23940 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23941 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23942 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23943 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23944 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23945 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23946 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23947 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23948 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23949 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23950 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23951 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23952 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23953 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23954 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23955 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23956 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23957 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23958 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23959 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23960 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23961 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23962 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23963 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23964 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23965 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23966 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23967 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23968 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23969 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23970 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23971 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23972 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23973 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23974 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23975 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23976 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23977 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23978 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23979 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23980 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23981 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23982 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23983 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23984 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23985 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23986 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23987 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23988 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23989 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23990 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23991 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23992 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23993 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23994 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23995 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23996 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23997 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23998 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23999 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24000 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24001 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24002 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24003 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24004 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24005 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24006 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24007 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24008 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24009 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24010 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24011 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24012 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24013 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24014 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24015 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24016 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24017 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24018 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24019 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24020 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24021 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24022 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24023 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24024 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24025 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24026 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24027 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24028 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24029 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24030 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24031 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24032 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24033 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24034 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24035 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24036 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24037 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24038 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24039 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24040 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24041 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24042 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24043 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24044 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24045 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24046 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24047 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24048 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24049 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24050 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24051 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24052 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24053 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24054 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24055 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24056 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24057 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24058 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24059 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24060 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24061 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24062 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24063 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24064 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24065 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24066 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24067 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24068 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24069 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24070 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24071
73c5ebe3
JM
24072 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24073 _XOPEN_SOURCE_EXTENDED for XPG4.
24074
39c33b6c
JM
24075 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24076
62fde54f
JM
24077 * Makeconfig (localtime): Remove variable.
24078 (inst_localtime-file): Likewise.
24079
0741d64c
AS
240802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24081
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24083 Update.
24084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24085 Update.
24086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24087 Update.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24089 Update.
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24091 Update.
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24093 Update.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24095 Update.
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24097 Update.
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24099 Update.
24100
7cb029ee
JM
241012012-05-01 Joseph Myers <joseph@codesourcery.com>
24102
24103 [BZ #2550]
24104 [BZ #2570]
24105 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24106 comparisons to determine direction to adjust input.
24107 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24108 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24110 Likewise.
24111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24112 Likewise.
24113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24114 Likewise.
24115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24117 Likewise.
24118 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24119 Likewise.
24120 * math/libm-test.inc (nexttoward_test): Add more tests.
24121
412bd966
AS
241222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24123
24124 [BZ #14040]
24125 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24126 in version GLIBC_2.1, not GLIBC_2.0.
24127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24128 Likewise.
24129
9568c0c2
JM
241302012-04-30 Joseph Myers <joseph@codesourcery.com>
24131
adfbc8ac
JM
24132 [BZ #13942]
24133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24134 (1 - x) * (1 + x).
24135 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24136 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24137 * math/libm-test.inc (acos_test): Add more tests.
24138 (asin_test): Likewise.
24139 * sysdeps/i386/fpu/libm-test-ulps: Update.
24140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24141
5ba3cc69
JM
24142 [BZ #14034]
24143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24144 of square root.
24145 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24146 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24147 * math/libm-test.inc (acos_test_tonearest): New function.
24148 (acos_test_towardzero): Likewise.
24149 (acos_test_downward): Likewise.
24150 (acos_test_upward): Likewise.
24151 (asin_test_tonearest): Likewise.
24152 (asin_test_towardzero): Likewise.
24153 (asin_test_downward): Likewise.
24154 (asin_test_upward): Likewise.
24155 (main): Call the new functions.
24156 * sysdeps/i386/fpu/libm-test-ulps: Update.
24157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24158
9568c0c2
JM
24159 [BZ #13884]
24160 [BZ #13924]
24161 * math/e_exp10.c: Include <float.h>.
24162 (__ieee754_exp10): Handle underflow here rather than multiplying
24163 large negative argument by M_LN10.
24164 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24165 of __ieee754_expf.
24166 * math/e_exp10l.c: Include <float.h>.
24167 (__ieee754_exp10l): Handle underflow here rather than multiplying
24168 large negative argument by M_LN10l.
24169 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24170 spurious overflow exception on underflow.
24171
5ac3ea17
MP
241722012-04-29 Marek Polacek <polacek@redhat.com>
24173
24174 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24175 (__fortify_function): New macro.
24176 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24177 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24178 __extern_always_inline.
24179 * libio/bits/stdio2.h: Likewise.
24180 * libio/bits/stdio.h: Likewise.
24181 * string/string.h: Likewise.
24182 * string/bits/string3.h: Likewise.
24183 * include/stdio.h: Likewise.
24184 * stdlib/bits/stdlib.h: Likewise.
24185 * stdlib/stdlib.h: Likewise.
24186 * rt/bits/mqueue2.h: Likewise.
24187 * rt/mqueue.h: Likewise.
24188 * posix/bits/unistd.h: Likewise.
24189 * posix/unistd.h: Likewise.
24190 * io/bits/poll2.h: Likewise.
24191 * io/bits/fcntl2.h: Likewise.
24192 * io/fcntl.h: Likewise.
24193 * io/sys/poll.h: Likewise.
24194 * misc/bits/syslog.h: Likewise.
24195 * misc/bits/syslog-ldbl.h: Likewise.
24196 * misc/sys/syslog.h: Likewise.
24197 * socket/bits/socket2.h: Likewise.
24198 * socket/sys/socket.h: Likewise.
24199 * debug/tst-chk1.c: Likewise.
24200 * wcsmbs/bits/wchar2.h: Likewise.
24201 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24202 * wcsmbs/wchar.h: Likewise.
24203
ecf0ebfb
AJ
242042012-04-29 Andreas Jaeger <aj@suse.de>
24205
24206 * Makerules (tests): Remove enable-check-abi protection.
24207 (check-abi-warn): Remove.
24208 (check-abi-%): Remove check-abi-warn usage.
24209
24210 * configure.in: Remove check-abi configure option.
24211 * configure: Regenerated.
24212 * config.make.in (enable-check-abi): Remove.
24213
6d5c57fa
AS
242142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24215
24c5d07e 24216 [BZ #14033]
ded5180a
AS
24217 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24218 double functions to double *_finite functions.
24219
7e0d315d
AS
24220 [BZ #13941]
24221 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24222 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24223 LDBL_MIN_EXP.
24224 * stdio-common/Makefile (tests): Add tst-sprintf3.
24225 * stdio-common/tst-sprintf3.c: New file.
24226
6d5c57fa
AS
24227 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24228 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24229
0749ff8b
JM
242302012-04-28 Joseph Myers <joseph@codesourcery.com>
24231
24232 * conform/conformtest.pl: Remove duplicate typed-constant
24233 handling.
24234
8dbd5d7b
DM
242352012-04-28 David S. Miller <davem@davemloft.net>
24236
24237 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24238 (check-abi-%): Remove AWK script prerequisite and explicit
24239 abilist directory.
24240 (check-abi): Rewrite to just diff the symlist with the abilist.
24241 (config-tls, config-abi-config): Delete, no longer used.
24242 (update-abi-%): Remove AWK script and explicit abilist directory.
24243 (update-abi): Rewrite to simply compare and conditionally copy the
24244 symlist and the sysdep abilist file. Remove update-abi-config
24245 checks.
24246 * abilist/ld.abilist: Remove.
24247 * abilist/libBrokenLocale.abilist: Remove.
24248 * abilist/libanl.abilist: Remove.
24249 * abilist/libcrypt.abilist: Remove.
24250 * abilist/libdl.abilist: Remove.
24251 * abilist/librt.abilist: Remove.
24252 * abilist/libthread_db.abilist: Remove.
24253 * abilist/libutil.abilist: Remove.
24254 * scripts/extract-abilist.awk: Remove.
24255 * scripts/merge-abilist.awk: Remove.
24256 * sysdeps/generic/libcidn.abilist: New file.
24257 * sysdeps/generic/libnss_compat.abilist: New file.
24258 * sysdeps/generic/libnss_db.abilist: New file.
24259 * sysdeps/generic/libnss_dns.abilist: New file.
24260 * sysdeps/generic/libnss_files.abilist: New file.
24261 * sysdeps/generic/libnss_hesiod.abilist: New file.
24262 * sysdeps/generic/libnss_nis.abilist: New file.
24263 * sysdeps/generic/libnss_nisplus.abilist: New file.
24264 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24265 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24266 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24267 file.
24268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24269 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24270 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24271 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24272 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24274 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24275 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24276 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24277 file.
24278 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24280 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24282 file.
24283 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24285 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24288 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24289 file.
24290 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24291 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24292 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24293 file.
24294 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24296 New file.
24297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24298 New file.
24299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24300 New file.
24301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24302 New file.
24303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24304 New file.
24305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24306 New file.
24307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24308 New file.
24309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24310 New file.
24311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24312 New file.
24313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24314 New file.
24315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24316 New file.
24317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24318 New file.
24319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24320 New file.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24322 file.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24324 New file.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24326 New file.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24328 file.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24330 New file.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24332 New file.
24333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24334 file.
24335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24336 New file.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24338 New file.
24339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24340 New file.
24341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24342 New file.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24344 New file.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24346 New file.
24347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24349 file.
24350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24351 New file.
24352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24353 file.
24354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24355 file.
24356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24357 file.
24358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24359 file.
24360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24361 file.
24362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24363 New file.
24364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24365 file.
24366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24367 file.
24368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24369 New file.
24370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24371 file.
24372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24374 file.
24375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24376 New file.
24377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24378 file.
24379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24380 file.
24381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24382 file.
24383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24384 file.
24385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24386 file.
24387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24388 New file.
24389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24390 file.
24391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24392 file.
24393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24394 New file.
24395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24396 file.
24397 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24398 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24399 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24400 file.
24401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24402 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24403 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24405 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24406 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24407 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24408 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24409 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24410 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24413 file.
24414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24415 New file.
24416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24417 file.
24418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24419 file.
24420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24421 file.
24422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24423 file.
24424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24425 file.
24426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24427 New file.
24428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24429 New file.
24430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24431 file.
24432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24433 New file.
24434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24435 file.
24436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24438 file.
24439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24440 New file.
24441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24442 file.
24443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24444 file.
24445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24446 file.
24447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24448 file.
24449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24450 file.
24451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24452 New file.
24453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24454 New file.
24455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24456 file.
24457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24458 New file.
24459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24460 file.
24461
41d73a1b
JM
244622012-04-28 Joseph Myers <joseph@codesourcery.com>
24463
24464 * conform/conformtest.pl: Fix typo in handling typed-constant from
24465 allow-header.
24466
28aeeda4
JM
244672012-04-27 Joseph Myers <joseph@codesourcery.com>
24468
adae8f5e
JM
24469 * README: Cut down references to pre-2.6 Linux kernels and
24470 Linuxthreads. Update lists of configurations in libc and ports
24471 and sort alphabetically. Say "or newer" with Linux kernel version
24472 requirements.
24473
28aeeda4
JM
24474 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24475
a462cb63
RA
244762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24477
24478 [BZ #887]
24479 * math/libm-test.inc (logb_test_downward): New test to expose
24480 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24481 rounding mode.
24482
6ad3493e
JM
244832012-04-27 Joseph Myers <joseph@codesourcery.com>
24484
24485 [BZ #14027]
24486 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24487 to be done.
24488 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24489 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24490
2ce4f015
JM
244912012-04-26 Joseph Myers <joseph@codesourcery.com>
24492
5aeb141a
JM
24493 * sysdeps/unix/i386/brk.S: Remove file.
24494 * sysdeps/unix/i386/dl-brk.S: Likewise.
24495 * sysdeps/unix/i386/pipe.S: Likewise.
24496 * sysdeps/unix/i386/sigreturn.S: Likewise.
24497 * sysdeps/unix/i386/syscall.S: Likewise.
24498 * sysdeps/unix/i386/vfork.S: Likewise.
24499 * sysdeps/unix/i386/wait.S: Likewise.
24500
7143acae
JM
24501 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24502 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24503
2ce4f015
JM
24504 * configure.in (arm*-none*): Do not allow without
24505 --enable-hacker-mode.
24506 (netbsd*): Remove case setting base_os.
24507 (386bsd*): Likewise.
24508 (freebsd*): Likewise.
24509 (bsdi*): Likewise.
24510 (osf*): Likewise.
24511 (sunos*): Likewise.
24512 (ultrix*): Likewise.
24513 (newsos*): Likewise.
24514 (dynix*): Likewise.
24515 (*bsd*): Likewise.
24516 (sysv*): Likewise.
24517 (isc*): Likewise.
24518 (esix*): Likewise.
24519 (sco*): Likewise.
24520 (minix*): Likewise.
24521 (irix4*): Likewise.
24522 (irix6*): Likewise.
24523 (solaris[2-9]*): Likewise.
24524 (none): Likewise.
24525 * configure: Regenerated.
24526
0ac229c8
AZ
245272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24528
24529 [BZ #11521]
24530 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24531 overflow or cancellation in calculating denominator.
24532 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24534 down expression to avoid unexpected rounding in newer GCCs.
24535 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24536
33f244f4
DM
245372012-04-26 David S. Miller <davem@davemloft.net>
24538
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24540 long-double compat symbols.
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24554
cfa1f3e8
DM
245552012-04-25 David S. Miller <davem@davemloft.net>
24556
24557 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24558 HWCAP_* values only after the memory barriers have been defined.
24559 (atomic_full_barrier): Define.
24560 (atomic_read_barrier): Define.
24561 (atomic_write_barrier): Define.
24562
6e236b92
SP
245632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24564
24565 * shlib-versions: Add libgcc_s version information.
24566 * sysdeps/generic/libgcc_s.h: Remove.
24567 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24568 libgcc_s.h.
24569 * sysdeps/gnu/unwind-resume.c: Likewise.
24570 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24571
aab39a09
DM
245722012-04-25 David S. Miller <davem@davemloft.net>
24573
24574 * sysdeps/unix/sparc/brk.S: Delete.
24575 * sysdeps/unix/sparc/dl-brk.S: Delete.
24576 * sysdeps/unix/sparc/pipe.S: Delete.
24577 * sysdeps/unix/sparc/sysdep.S: Delete.
24578 * sysdeps/unix/sparc/sysdep.h: Delete.
24579 * sysdeps/unix/sparc/vfork.S: Delete.
24580 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24581 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24582 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24583 ret_ERRVAL, r0, r1, MOVE): Define.
24584 (JUMPTARGET): Remove.
24585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24586 sysdeps/unix/sparc/sysdep.h
24587 (ENTRY, END): Remove.
24588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24589
a3cc4f48
JM
245902012-04-25 Joseph Myers <joseph@codesourcery.com>
24591
2ed8cda2
JM
24592 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24593 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24594 -DIS_IN_build.
24595
35d76d59
JM
24596 * timezone/README: Update upstream location and email address for
24597 tzcode and tzdata.
24598 * timezone/zdump.c: Update from tzcode 2012b.
24599 * timezone/zic.c: Likewise.
24600
a3cc4f48
JM
24601 * configure.in (libc_cv_as_needed): Remove test.
24602 * configure: Regenerated.
24603 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24604 conditional definition.
24605 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24606 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24607 * config.make.in (have-as-needed): Remove variable.
24608
ceab42c3
SP
246092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24610 Paul Pluzhnikov <ppluzhnikov@google.com>
24611
24612 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24613 strings correctly.
24614
3ce2865f
CLT
246152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24616
24617 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24618 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24619 * sysdeps/sh/strlen.S: Likewise.
24620
f37e0d68
JM
246212012-04-24 Joseph Myers <joseph@codesourcery.com>
24622
ae186e9a
JM
24623 * sysdeps/unix/fork.S: Remove file.
24624 * sysdeps/unix/i386/fork.S: Likewise.
24625 * sysdeps/unix/sparc/fork.S: Likewise.
24626
b96914af
JM
24627 * sysdeps/unix/system.c: Remove file.
24628 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24629
f37e0d68
JM
24630 * sysdeps/unix/getegid.S: Remove file.
24631 * sysdeps/unix/geteuid.S: Likewise.
24632
87ef29ca
RM
246332012-04-24 Roland McGrath <roland@hack.frob.com>
24634
83bcd236
RM
24635 * scripts/check-localplt.awk: New file.
24636 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24637 of diff.
24638 * scripts/data/localplt-generic.data: Add a comment.
24639
87ef29ca
RM
24640 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24641 NODE when __dir_mkfile failed.
24642 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24643 Reported by Ludovic Courtès <ludo@gnu.org>.
24644
e5a6e567
AJ
246452012-04-24 Andreas Jaeger <aj@suse.de>
24646
24647 * Makerules (common-clean): Also remove gen-as-const-headers
24648 files.
24649
c1820385
JM
246502012-04-24 Joseph Myers <joseph@codesourcery.com>
24651
24652 * Makerules (native-compile): Do not change working directory for
24653 build. Use $(OUTPUT_OPTION) in command.
24654 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24655
94e02fc4
AZ
246562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24657
24658 [BZ #13886]
24659 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24660 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24661 * math/libm-test.inc (floor_test): Add more tests.
24662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24663
3a533ca3
JM
246642012-04-24 Joseph Myers <joseph@codesourcery.com>
24665
940ab4b3
JM
24666 * sysdeps/unix/getdents.c: Remove file.
24667 * sysdeps/unix/sysv/getdents.c: Likewise.
24668 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24669
90e037bd
JM
24670 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24671 sysdeps/unix/mman/syscalls.list.
24672 (mmap): Likewise.
24673 (mprotect): Likewise.
24674 (msync): Likewise.
24675 (munmap): Likewise.
24676 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24677 * sysdeps/unix/mman/syscalls.list: Remove.
24678 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24679
3a533ca3
JM
24680 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24681 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24682 * configure: Regenerated.
24683 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24684 $(libgcc_s_suffix).
24685 * config.make.in (libgcc_s_suffix): Remove variable.
24686
1ad743de
JM
246872012-04-23 Joseph Myers <joseph@codesourcery.com>
24688
4ad451e2
JM
24689 * sysdeps/unix/sysv/gethostname.c: Move to ...
24690 * sysdeps/posix/gethostname.c: ... here.
24691
5e37ce39
JM
24692 * sysdeps/unix/execve.S: Remove file.
24693
1ad743de
JM
24694 * sysdeps/unix/_exit.S: Remove file.
24695
4e681b5b
AJ
246962012-04-23 Andreas Jaeger <aj@suse.de>
24697
24698 [BZ #13739]
24699 * manual/Makefile: Remove make dist support, there's no
24700 need for a stand-alone documentation tar ball.
24701 (TEXI2DVI): Define always, it's not in Makeconfig.
24702 (dist): Removed.
24703 (tar-it): Removed.
24704 (edition): Removed.
24705 (glibc-doc-$(edition).tar): Removed
24706 (%.Z): Removed.
24707 (%.gz): Removed.
24708 (%.uu): Removed.
24709 (ETAGS): Remove, it's in Makeconfig.
24710 (move-if-change): Remove, it's in Makeconfig.
24711
38686a03 247122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24713
24714 [BZ #13970]
24715 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24716 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24717 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24718 (strtod_l, strtof_l, strtold_l): Remove __wur.
24719 It is not necessarily an error to ignore strtol's return value.
24720 One can reliably look at the stored endptr to decide whether
24721 the number had valid syntax.
24722
7c0616fa
AJ
247232012-04-21 Andreas Jaeger <aj@suse.de>
24724
803cb6b7 24725 [BZ #13739]
7c0616fa
AJ
24726 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24727
b0fe253f
JM
247282012-04-21 Joseph Myers <joseph@codesourcery.com>
24729
24730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24731 * sysdeps/unix/sysv/Versions: Remove file.
24732
8280f22d
MT
247332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24734
24735 [BZ #13927]
24736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24737
75ce411f 247382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24739
24740 [BZ #7064]
24741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24742 version from __vm86.
24743
097d59fa
JM
247442012-04-20 Joseph Myers <joseph@codesourcery.com>
24745
a90f3bcb
JM
24746 * sysdeps/unix/common/lxstat.c: Remove file.
24747 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24748
edc7ea78
JM
24749 * sysdeps/unix/sysv/Makefile: Remove file.
24750
cb78c221
JM
24751 * sysdeps/unix/sysv/direct.h: Remove file.
24752
efa6a45f
JM
24753 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24754 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24755 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24756 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24757 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24758 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24759 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24760
9c9f2d0c
JM
24761 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24762
4541c83b
JM
24763 * sysdeps/unix/xmknod.c: Remove file.
24764 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24765
f5d153a0
JM
24766 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24767
aa746595
JM
24768 * sysdeps/unix/sysv/i386/time.S: Remove file.
24769
cce5905e
JM
24770 * sysdeps/unix/fxstat.c: Remove file.
24771 * sysdeps/unix/xstat.c: Likewise.
24772 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24773
37fa3841
JM
24774 * sysdeps/unix/sysv/sigaction.c: Remove file.
24775
ff1962a3
JM
24776 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24777 (sysdep_headers): Remove variable.
24778 [termio.h not in sysdep_headers] (generated): Likewise.
24779 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24780 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24781 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24782 * sysdeps/unix/sysv/tcflow.c: Likewise.
24783 * sysdeps/unix/sysv/tcflush.c: Likewise.
24784 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24785 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24786 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24787 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24788 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24789
e7740d31
JM
24790 * sysdeps/unix/siglist.c: Remove file.
24791
ee06f18b
JM
24792 * sysdeps/unix/getppid.S: Remove file.
24793
097d59fa
JM
24794 * sysdeps/unix/mkdir.c: Remove file.
24795 * sysdeps/unix/rmdir.c: Likewise.
24796
ff3d51ec
AS
247972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24798
24799 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24800 ERR_MAX value.
24801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24802 errlist-compat value.
24803
50f81fd7
DM
248042012-04-18 David S. Miller <davem@davemloft.net>
24805
24806 * sysdeps/generic/memcopy.h (reg_char): Delete.
24807 * debug/strcat_chk.c: Use char, not reg_char.
24808 * debug/strcpy_chk.c: Likewise.
24809 * debug/strncat_chk.c: Likewise.
24810 * debug/strncpy_chk.c: Likewise.
24811 * string/memchr.c: Likewise.
24812 * string/memrchr.c: Likewise.
24813 * string/rawmemchr.c: Likewise.
24814 * string/strcat.c: Likewise.
24815 * string/strchr.c: Likewise.
24816 * string/strchrnul.c: Likewise.
24817 * string/strcmp.c: Likewise.
24818 * string/strcpy.c: Likewise.
24819 * string/strncat.c: Likewise.
24820 * string/strncmp.c: Likewise.
24821 * string/strncpy.c: Likewise.
24822
8ff41c46
WS
248232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24824
24825 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24826 __builtin_memcopy is called when src and dest ranges are known to not
24827 overlap.
24828
6b652f46
WS
248292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24830
24831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24832 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24833 fwd_align_merge macro call.
24834 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24835 bwd_align_merge macro call.
24836 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24837
b282631e
WS
248382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24839
24840 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24841 bwd_align_merge macros.
24842 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24843 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24844 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24845
95aa737c
DM
248462012-04-18 David S. Miller <davem@davemloft.net>
24847
24848 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24849
7a99a614
AJ
248502012-04-18 Andreas Jaeger <aj@suse.de>
24851
24852 [BZ# 6794]
24853 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24854 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24856
24857 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24858 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24859 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24860
24861 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24862 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24863 Adjust for changed ldbl-128 files.
24864
24865 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24866 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24868
e5270c23
DM
248692012-04-17 David S. Miller <davem@davemloft.net>
24870
24871 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24872
fb5e92c9
AS
248732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24874
24875 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24876 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24877 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24878 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24879 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24880 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24881
76da7265
AZ
248822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24883
24884 [BZ #6794]
24885 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24886 * math/libm-test.inc: Add ilogb errno and exception tests.
24887 * math/w_ilogb.c: New file: ilogb wrapper.
24888 * math/w_ilogbf.c: New file: ilogbf wrapper.
24889 * math/w_ilogbl.c: New file: ilogbl wrapper.
24890 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24891 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24892 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24893 exception being thrown with 0.0 as argument.
24894 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24895 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24896 exception being thrown with 0.0 as argument.
24897 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24898 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24899 exception being thrown with 0.0 as argument.
24900 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24901 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24902 exception being thrown with 0.0 as argument.
24903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24904 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24906 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24907 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24908 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24909 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24910 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24911 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24912
0396e69d
PB
249132012-04-17 Petr Baudis <pasky@ucw.cz>
24914
24915 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24916 with altivec.
24917
750b5926
MP
249182012-04-16 Marek Polacek <polacek@redhat.com>
24919
24920 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24921
751728a1
MP
249222012-04-16 Marek Polacek <polacek@redhat.com>
24923
24924 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24925 operands of fdivp instruction.
24926
34a27407
L
249272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24928
24929 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24930 * elf/tst-auditmod3b.c: Likewise.
24931 * elf/tst-auditmod4b.c: Likewise.
24932 * elf/tst-auditmod5b.c: Likewise.
24933 * elf/tst-auditmod6b.c: Likewise.
24934 * elf/tst-auditmod6c.c: Likewise.
24935 * elf/tst-auditmod7b.c: Likewise.
24936 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24937 * sysdeps/x86_64/preconfigure.in: Likewise.
24938 * sysdeps/x86_64/preconfigure: Regenerated.
24939
7e73e17d
L
249402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24941
24942 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24943 __ILP32__.
24944
c7a6ab72
AB
249452012-04-13 Antoine Balestrat <merkil33@gmail.com>
24946
24947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24948 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24949
a9e8e0e0
CL
249502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24951
24952 [BZ #13973]
24953 * locale/iso-639.def: Fix gl language name. Spotted by
24954 Yaron Shahrabani.
24955
ec98af7d
RM
249562012-04-12 Roland McGrath <roland@hack.frob.com>
24957
24958 [BZ #2074]
24959 * libio/libio.h (__io_write_fn): Update comment.
24960
247c3ede
PB
249612012-04-12 Petr Baudis <pasky@ucw.cz>
24962
24963 [BZ #2074]
24964 * stdio.texi (Hook Functions): The user provided writer function
24965 is not allowed to return -1.
24966
55939d6d
DM
249672012-04-11 David S. Miller <davem@davemloft.net>
24968
24969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24970
90020f5a
MF
249712012-04-11 Mike Frysinger <vapier@gentoo.org>
24972
24973 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24974 Add a leading slash to rtkaio.
24975
288f9098
JM
249762012-04-11 Jim Meyering <meyering@redhat.com>
24977
90020f5a
MF
24978 [BZ #11959]
24979 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24980 It is not necessarily an error to ignore fwrite's return
24981 value. One can reliably use ferror to test for errors after
24982 the fact.
288f9098 24983
4be2b570
L
249842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24985
24986 * bits/types.h (__snseconds_t): New type.
24987 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24988
24989 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24991 (__SNSECONDS_T_TYPE): Likewise.
24992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24993 (__SNSECONDS_T_TYPE): Likewise.
24994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24995 (__SNSECONDS_T_TYPE): Likewise.
24996
288f9098 249972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24998
24999 [BZ #2636]
25000 * manual/time.texi (Processor Time): Return type of times is
25001 elapsed real time since an arbitrary point in the past.
25002 (CPU Time): Move CLK_TCK from here...
25003 (Processor Time): ...to here. Correct description.
25004 * manual/conf.texi (Constants for Sysconf): Correct description of
25005 _SC_CLK_TCK.
25006
d7dd4413
DM
250072012-04-10 David S. Miller <davem@davemloft.net>
25008
25009 [BZ #13967]
25010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25011 where the is a gap between DT_REL(A) and DT_JMPREL.
25012
b46068fc
L
250132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25014
25015 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25016 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25017 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25018
73d65cc3
SP
250192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25020
25021 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25022 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25023 (dl_main): Handle --inhibit-cache.
25024 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25025 _dl_inhibit_cache.
25026 * elf/dl-load.c (_dl_map_object): Use it.
25027 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25028
bcc8d661
JM
250292012-04-09 Joseph Myers <joseph@codesourcery.com>
25030
8f9a2fae
JM
25031 [BZ #13872]
25032 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25033 (__ieee754_powl): Saturate large exponents rather than testing for
25034 overflow of y*log2(x).
25035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25036 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25037 exceptions.
25038
bcc8d661
JM
25039 [BZ #11521]
25040 * math/s_ctan.c: Include <float.h>.
25041 (__ctan): Avoid internal overflow or cancellation in calculating
25042 denominator.
25043 * math/s_ctanf.c: Likewise.
25044 * math/s_ctanl.c: Likewise.
25045 * math/s_ctanh.c: Likewise.
25046 * math/s_ctanhf.c: Likewise.
25047 * math/s_ctanhl.c: Likewise.
25048 * math/libm-test.inc (ctan_test): Add more tests.
25049 (ctanh_test): Likewise.
25050 * sysdeps/i386/fpu/libm-test-ulps: Update.
25051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25052
823fbbb4
AJ
250532012-04-09 Andreas Jaeger <aj@suse.de>
25054
03879793
AJ
25055 [BZ #6894]
25056 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25057 is an optional BSD extension.
25058
823fbbb4
AJ
25059 [BZ #10254]
25060 * manual/stdio.texi (Opening Streams): Document additional fopen
25061 parameters.
25062
8de131cb
RM
250632012-04-09 Roland McGrath <roland@hack.frob.com>
25064
25065 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25066 %eax without telling the compiler.
25067
c0ed9d7d
CD
250682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25069
25070 [BZ # 13963]
25071 * manual/install.texi: Use sourceware.org.
25072
c483f6b4
JM
250732012-04-09 Joseph Myers <joseph@codesourcery.com>
25074
d7dd9453
JM
25075 [BZ #13873]
25076 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25077 (__ieee754_pow): Generate overflow and underflow using huge*huge
25078 and tiny*tiny rather than just returning constant infinity or zero
25079 for large exponents.
25080 * math/libm-test.inc (pow_test): Require overflow exceptions for
25081 applicable cases of large exponents.
25082
c483f6b4
JM
25083 [BZ #706]
25084 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25085 (__ieee754_pow): Use iterative multiplication algorithm only for
25086 integer exponents with absolute value below 1024. Check for odd
25087 integer exponents when using algorithm for real exponents.
25088 * math/libm-test.inc (pow_test): Add more tests.
25089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25090
d2de7579
JM
250912012-04-08 Joseph Myers <joseph@codesourcery.com>
25092
25093 [BZ #13705]
25094 * math/libm-test.inc (exp_test): Do not allow overflow exception
25095 on underflow test.
25096
f77f1232
AJ
250972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25098
25099 [BZ #13705]
25100 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25101 instead of __kernel_standard_f.
25102
3884932b
MF
251032012-04-08 Mike Frysinger <vapier@gentoo.org>
25104
25105 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25106 * sysdeps/x86_64/memset_chk.S: Likewise.
25107
54472e9c
AJ
251082012-04-08 Andreas Jaeger <aj@suse.de>
25109
6ab0fbfc
AJ
25110 [BZ #10153]
25111 * manual/startup.texi (Environment Access): Describe return value
25112 for putenv and setenv.
25113
61efba8c
AJ
25114 [BZ #6895]
25115 * manual/filesys.texi (Directory Entries): Add description for
25116 DT_LNK.
25117
95c3f29a
AJ
25118 [BZ #6890]
25119 * manual/filesys.texi (Directory Entries): Clarify that it's file
25120 system not operating system in the description of DT_UNKNOWN.
25121
54472e9c
AJ
25122 [BZ #6578]
25123 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25124
624254b1
SC
251252012-04-08 Stephen Compall <s11@member.fsf.org>
25126
25127 [BZ #6649]
25128 * manual/llio.texi (Opening and Closing Files): Add cross
25129 reference to explain mode argument.
25130
1e4920e0
MF
251312012-04-07 Mike Frysinger <vapier@gentoo.org>
25132
25133 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25134 * sysdeps/x86_64/memset_chk.S: Likewise.
25135
5ed848f3
DM
251362012-04-07 David S. Miller <davem@davemloft.net>
25137
25138 * elf/elf.h (R_SPARC_WDISP10): Define.
25139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25140 R_SPARC_SIZE32.
25141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25142 R_SPARC_SIZE64 and R_SPARC_H34.
25143
96154cd8
CD
251442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25145
25146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25147 conditions and remove no longer applicable assertion.
25148
9904dc47
L
251492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25150
25151 * bits/byteswap.h: Include <features.h>.
25152 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25153 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25154
f8887d0a
L
251552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25156
25157 * bits/byteswap.h (__bswap_16): Removed.
25158 Include <bits/byteswap-16.h> to get __bswap_16.
25159 * sysdeps/i386/bits/byteswap.h: Likewise.
25160 * sysdeps/s390/bits/byteswap.h: Likewise.
25161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25162 * bits/byteswap-16.h: New file.
25163 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25164 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25165 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25166 * string/Makefile (headers): Add bits/byteswap-16.h.
25167
62470f60
PP
251682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25169
25170 [BZ #13895]
25171 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25172 extra indirection.
25173 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25174 * nss/tst-nss-static.c: New.
25175
4dad7bab
RM
251762012-04-06 Robert Millan <rmh@gnu.org>
25177
25178 [BZ #6486]
25179 * manual/llio.texi (File Position Primitive): lseek
25180 refers to WHENCE when it really means OFFSET.
25181
e9142a17
AJ
251822012-04-06 Andreas Jaeger <aj@suse.de>
25183
2c040eff
AJ
25184 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25185 strncmp declarations.
25186
e9142a17
AJ
25187 * abilist/libc.abilist: Add __poll and __ppoll.
25188
ff9f1c5f
DM
251892012-04-05 David S. Miller <davem@davemloft.net>
25190
dcd2ae90
DM
25191 * scripts/check-local-headers.sh: Accept a host triplet in the
25192 path matched by the exclude regexp.
25193
993eb054
DM
25194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25195 definition.
25196 * sysdeps/powerpc/powerpc32/dl-machine.h
25197 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25198 * sysdeps/s390/s390-32/dl-machine.h
25199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25200 * sysdeps/sparc/sparc32/dl-machine.h
25201 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25202 * sysdeps/sparc/sparc64/dl-machine.h
25203 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25204
ff9f1c5f
DM
25205 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25206 lazy binding.
48e2e132 25207 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25208 undefined symbol errors.
25209
48e2e132 25210 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25211 DT_NEEDED entries.
25212
e80d6f94
MM
252132012-04-05 Michael Matz <matz@suse.de>
25214
25215 [BZ #13592]
25216 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25217
349fa79f
AJ
252182012-04-05 Andreas Jaeger <aj@suse.de>
25219
25220 [BZ #13908]
25221 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25222 comment.
25223
f402708f
KK
252242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25225
25226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25227 which ROUND is no valid rounding mode.
25228
2ecccfc9
KK
252292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25230
25231 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25232 read again.
25233 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25234
8a53f50f
KK
252352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25236
25237 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25238 an exception using FPU order intentionally.
25239
252402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25241
25242 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25243 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25244 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25245 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25246
d653abb7
SJ
252472012-04-05 Simon Josefsson <simon@josefsson.org>
25248
25249 [BZ #12340]
25250 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25251 EINVAL when BUFLEN is too smal.
25252
c3b1bf7d
TS
252532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25254
25255 [BZ #13553]
25256 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25257 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25258
b1aa60f3
AJ
252592012-04-03 Andreas Jaeger <aj@suse.de>
25260
c3b1bf7d 25261 [BZ #13938]
67f60a26
AJ
25262 * manual/setjmp.texi (System V contexts): Fix sentence.
25263
b1aa60f3
AJ
25264 [BZ #13926]
25265 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25266 New macro for this case.
25267 [!__GNUC__] (__bswap_64): New inline function for this case.
25268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25269 * bits/byteswap.h: Likewise.
25270 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25271 ull, guard with __GLIBC_HAVE_LONG_LONG.
25272
25273 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25274 __GLIBC_HAVE_LONG_LONG.
25275
25276 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25277 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25278
39c59c35
TMQMF
252792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25280
25281 [BZ #13691]
25282 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25283 inptr and inend, rather than using last_ch.
25284
135ffda8
DM
252852012-04-02 David S. Miller <davem@davemloft.net>
25286
25287 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25288 * stdio-common/printf-parse.h (read_int): Change return type to
25289 'int', return -1 on INT_MAX overflow.
25290 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25291 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25292 overflows INT_MAX. Check for overflow of in-format-string precision
25293 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25294 SIZE_MAX not INT_MAX for integer overflow test.
25295 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25296 skip the construct in the format string but do not record anything.
25297 * stdio-common/bug22.c: Adjust to test both width/prevision
25298 INT_MAX overflow as well as total length INT_MAX overflow. Check
25299 explicitly for proper errno values.
25300
228c019e
TS
253012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25302
302cadd3
TS
25303 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25304 CHAR_MAX.
25305 * string/test-strcmp.c [! WIDE]: Likewise.
25306 * time/tst-mktime2.c: Likewise for INT_MAX.
25307 * string/test-string.h: #include <sys/param.h> for MIN.
25308
228c019e
TS
25309 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25310 * sysdeps/i386/init-first.c (init): Likewise.
25311 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25312 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25313 * sysdeps/sh/init-first.c (init): Likewise.
25314
cfa633f5
UD
253152012-04-01 Ulrich Drepper <drepper@gmail.com>
25316
25317 * po/ru.po: Update from translation team.
d1635ef8 25318 * po/vi.po: Likewise.
cfa633f5 25319
6cd0a5ea
SP
253202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25321
25322 * resolv/nss_dns/dns-host.c: Merge copyright years.
25323
4b43400f
LD
253242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25325
25326 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25327 Optimize memcpy with prefetch if
25328 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25329 src, dst pointers have unequal 16 byte alignments.
25330
48c41d04
SP
253312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25332
25333 [BZ #13928]
25334 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25335 from a CNAME entry and return the minimum ttl for the query.
25336 (gaih_getanswer_slice): Likewise.
25337
b8dc394d
JL
253382012-03-30 Jeff Law <law@redhat.com>
25339
25340 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25341 due to long keys.
25342 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25343 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25344
2f5a5ed0
JL
25345 * resolv/nss_dns/dns-host.c: Update copyright year.
25346
1d39e359
UD
253472012-03-30 Ulrich Drepper <drepper@gmail.com>
25348
c030f70c 25349 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25350 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25351
1d39e359
UD
25352 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25353 comments for sendmmsg.
25354
253552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25356
25357 [BZ #13691]
25358 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25359 with only 1 character between 0x0041 and 0x01b0.
25360 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25361 * wcsmbs/tst-mbsnrtowcs.c: New file.
25362
20fde227
DM
253632012-03-29 David S. Miller <davem@davemloft.net>
25364
25365 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25366 small copies by hand.
25367
984a4237
JL
253682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25369
25370 [BZ #13761]
25371 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25372 _nss_compat_initgroups_dyn): Fall back to malloc/free
25373 for large group memberships.
25374
18c9d62b
DM
253752012-03-28 David S. Miller <davem@davemloft.net>
25376
88d85d4f
DM
25377 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25378 that branches into memcpy.
25379 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25382 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25384 bits.
25385 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25386 implementation too.
25387 * sysdeps/sparc/mempcpy.S: New file.
25388
e5aa83e1
DM
25389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25390 the IFUNC routine in the libc case.
25391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25392
88570753
DM
25393 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25394 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25395 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25396 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25397 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25398 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25399 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25400 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25401
249d7567
DM
25402 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25403 loop to 256 bytes instead of 64 bytes and fix test signedness.
25404
18c9d62b
DM
25405 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25406 * sysdeps/sparc/sparc32/Makefile: rather than here...
25407 * sysdeps/sparc/sparc64/Makefile: and here.
25408
05f3d1f6
UD
254092012-03-28 Ulrich Drepper <drepper@gmail.com>
25410
25411 * malloc/mallocbug.c: Avoid warnings about unused variables.
25412
86ae07a8
JL
254132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25414
25415 [BZ #13760]
25416 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25417 in the right place. Discard and retry query if response is
25418 larger than input buffer size.
25419
41bf21a1
JM
254202012-03-28 Joseph Myers <joseph@codesourcery.com>
25421
d6270972
JM
25422 [BZ #369]
25423 [BZ #2678]
25424 [BZ #3866]
25425 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25426 x for large integer exponent.
25427 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25428 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25429 sign of result as needed afterwards.
25430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25431 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25432 result for underflowing pow the same as for overflow.
25433 (__kernel_standard_l): Handle powl overflow and underflow here
25434 rather than calling __kernel_standard.
25435 * math/libm-test.inc (pow_test): Add more tests.
25436
414fca03 25437 [BZ #3868]
41bf21a1
JM
25438 [BZ #13879]
25439 [BZ #13910]
25440 [BZ #13911]
25441 [BZ #13912]
25442 [BZ #13913]
25443 [BZ #13915]
25444 [BZ #13916]
25445 [BZ #13917]
25446 [BZ #13918]
25447 [BZ #13919]
25448 [BZ #13920]
25449 [BZ #13921]
25450 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25451 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25452 (__kernel_standard_l): New function.
25453 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25454 __kernel_standard.
25455 * math/w_acosl.c (__acosl): Likewise.
25456 * math/w_asinl.c (__asinl): Likewise.
25457 * math/w_atan2l.c (__atan2l): Likewise.
25458 * math/w_atanhl.c (__atanhl): Likewise.
25459 * math/w_coshl.c (__coshl): Likewise.
25460 * math/w_exp10l.c (__exp10l): Likewise.
25461 * math/w_exp2l.c (__exp2l): Likewise.
25462 * math/w_fmodl.c (__fmodl): Likewise.
25463 * math/w_hypotl.c (__hypotl): Likewise.
25464 * math/w_j0l.c (__j0l, __y0l): Likewise.
25465 * math/w_j1l.c (__j1l, __y1l): Likewise.
25466 * math/w_jnl.c (__jnl, __ynl): Likewise.
25467 * math/w_lgammal.c (__lgammal): Likewise.
25468 * math/w_log10l.c (__log10l): Likewise.
25469 * math/w_log2l.c (__log2l): Likewise.
25470 * math/w_logl.c (__logl): Likewise.
25471 * math/w_powl.c (__powl): Likewise.
25472 * math/w_remainderl.c (__remainderl): Likewise.
25473 * math/w_scalbl.c (sysv_scalbl): Likewise.
25474 * math/w_sinhl.c (__sinhl): Likewise.
25475 * math/w_sqrtl.c (__sqrtl): Likewise.
25476 * math/w_tgammal.c (__tgammal): Likewise.
25477 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25478 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25479 * math/libm-test.inc (acos_test): Add more tests.
25480 (acosh_test): Likewise.
25481 (asin_test): Likewise.
25482 (atanh_test): Likewise.
25483 (exp_test): Likewise.
25484 (exp10_test): Likewise.
25485 (exp2_test): Likewise.
25486 (expm1_test): Likewise.
25487 (lgamma_test): Likewise.
25488 (log_test): Likewise.
25489 (log10_test): Likewise.
25490 (log1p_test): Likewise.
25491 (log2_test): Likewise.
25492 (pow_test): Do not allow some spurious overflow exceptions.
25493 (sqrt_test): Add more tests.
25494 (tgamma_test): Likewise.
25495 (y0_test): Likewise.
25496 (y1_test): Likewise.
25497 (yn_test): Likewise.
25498
dd62fda6
AB
254992012-03-27 Anton Blanchard <anton@samba.org>
25500
25501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25502 MAP_HUGETLB.
25503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25506
1e3cdfda
AJ
255072012-03-27 David S. Miller <davem@davemloft.net>
25508
b855ab85
DM
25509 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25510
1e3cdfda
AJ
25511 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25512 have-as-vis3 check.
25513
255142012-03-27 Andreas Jaeger <aj@suse.de>
25515
25516 * sysdeps/x86_64/elf/configure.in: Moved to ...
25517 * sysdeps/x86_64/configure.in: ... here.
25518 * sysdeps/x86_64/elf/start.S: Moved to ...
25519 * sysdeps/x86_64/start.S: ... here.
25520 * sysdeps/x86_64/elf/configure: Delete.
25521
25522 * sysdeps/x86_64/configure.in: Merge contents from
25523 sysdeps/i386/configure.in (without i686 check).
25524
25525 * sysdeps/i386/elf/Versions: Merge into ...
25526 * sysdeps/i386/Versions: ... this.
25527 * sysdeps/i386/elf/Versions: Delete file.
25528 * sysdeps/i386/elf/start.S: Moved to ...
25529 * sysdeps/i386/start.S: ...here.
25530 * sysdeps/i386/elf/configure.in: Merge into...
25531 * sysdeps/i386/configure.in: ...here.
25532 * sysdeps/i386/elf/configure.in: Delete file.
25533 * sysdeps/i386/elf/configure: Delete file.
25534
25535 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25536 * debug/backtracesyms.c: ... here.
25537 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25538 * debug/backtracesymsfd.c: ... here.
25539 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25540 * sysdeps/generic/ifunc-sel.h: ... here.
25541
25542 * sysdeps/unix/i386/start.c: Delete file.
25543 * sysdeps/unix/sparc/start.c: Delete file.
25544 * sysdeps/unix/start.c: Delete file.
25545
25546 * sysdeps/sh/elf/configure.in: Moved to ...
25547 * sysdeps/sh/configure.in: ... here.
25548 * sysdeps/sh/elf/start.S: Moved to ...
25549 * sysdeps/sh/start.S: ... here.
25550 * sysdeps/sh/elf/configure: Delete file.
25551
25552 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25553 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25554 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25555 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25556 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25557 * sysdeps/powerpc/powerpc64/start.S: here.
25558 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25559 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25560 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25561 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25562 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25563
25564 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25565 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25566 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25567 * sysdeps/powerpc/powerpc32/start.S: ... here.
25568 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25569 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25570 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25571
25572 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25573 * sysdeps/powerpc/ifunc-sel.h: ... here.
25574 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25575 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25576
25577 * sysdeps/sparc/elf/configure.in: Moved to ...
25578 * sysdeps/sparc/configure.in: ... here.
25579 * sysdeps/sparc/elf/configure: Delete file.
25580 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25581 * sysdeps/sparc/sparc32/start.S: ... here.
25582 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25583 * sysdeps/sparc/sparc64/start.S: ... here.
25584 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25585 * sysdeps/sparc/sparc32/Makefile: ... this.
25586 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25587 * sysdeps/sparc/sparc64/Makefile: ... this.
25588
25589 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25590 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25591 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25592 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25593 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25594 * sysdeps/s390/s390-32/setjmp.S: ... here.
25595 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25596 * sysdeps/s390/s390-32/configure.in: ... here.
25597 * sysdeps/s390/s390-32/elf/configure: Delete file.
25598 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25599 * sysdeps/s390/s390-32/start.S: ... here.
25600
25601 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25602 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25603 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25604 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25605 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25606 * sysdeps/s390/s390-64/setjmp.S: ... here.
25607 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25608 * sysdeps/s390/s390-64/configure.in: ... here
25609 * sysdeps/s390/s390-64/elf/configure: Delete file.
25610 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25611 * sysdeps/s390/s390-64/start.S: ... here.
25612 * sysdeps/s390/s390-64/elf/configure: Delete.
25613
25614 * configure.in: Remove support for elf directories in sysdeps.
25615
25616 * configure: Regenerated.
25617 * sysdeps/i386/configure: Regenerated.
25618 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25619 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25620 * sysdeps/s390/s390-32/configure: Regenerated.
25621 * sysdeps/s390/s390-64/configure: Regenerated.
25622 * sysdeps/sh/configure: Regenerated.
25623 * sysdeps/sparc/configure: Regenerated.
25624 * sysdeps/x86_64/configure: Regenerated.
25625
a3f61311
AS
256262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25627
c876e002
AS
25628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25629
a3f61311
AS
25630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25631 denormal result into account.
25632
ac4c54f0
RM
256332012-03-25 Roland McGrath <roland@hack.frob.com>
25634
25635 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25636 Reported by Allan McRae <allan@archlinux.org>.
25637
6a9b9c02
JL
256382012-03-23 Jeff Law <law@redhat.com>
25639
25640 * nss/getnssent.c (__nss_getent): Fix typo.
25641
4c42a0c1
DM
256422012-03-23 David S. Miller <davem@davemloft.net>
25643
25644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25645
1532c7ac
L
256462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25647
25648 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25649 to pad to uint64_t for each field.
25650 (dl_tls_index): Replace unsigned long with uint64_t.
25651
3ff42526
PP
256522012-03-23 Daniel Jacobowitz <dmj@google.com>
25653 Paul Pluzhnikov <ppluzhnikov@google.com>
25654
25655 [BZ #6528]
25656 * grp/Makefile (otherlibs): Don't set it.
25657 * inet/Makefile (otherlibs): Likewise.
25658 * login/Makefile (otherlibs): Likewise.
25659 * nscd/Makefile (otherlibs): Likewise.
25660 * posix/Makefile (otherlibs): Likewise.
25661 * pwd/Makefile (otherlibs): Likewise.
25662 * rt/Makefile (otherlibs): Likewise.
25663 * sunrpc/Makefile (otherlibs): Likewise.
25664 * nss/Makefile (otherlibs): Likewise.
25665 Add libnss_files to routines and static-only-routines.
25666 ($(objpfx)getent): Remove rule.
25667 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25668 static-only-routines.
25669
7c69cd14
JM
256702012-03-22 Joseph Myers <joseph@codesourcery.com>
25671
25672 [BZ #13892]
25673 * math/s_cexp.c: Include <float.h>.
25674 (__cexp): Handle exp result overflowing not necessarily
25675 overflowing both real and imaginary parts of result.
25676 * math/s_cexpf.c: Likewise.
25677 * math/s_cexpl.c: Likewise.
25678 * math/libm-test.inc (cexp_test): Add more tests.
25679 * sysdeps/i386/fpu/libm-test-ulps: Update.
25680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25681
81b035fe
L
256822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 * include/link.h (ELFW): New macro.
25685 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25686 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25687
1da7940c
L
256882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25691 with uint64_t.
25692
b749dbb9
L
256932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25694
25695 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25696 declaration.
25697 (struct La_x32_retval): Likewise.
25698
2ff87f3f
L
256992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25700
25701 * sysdeps/x86_64/preconfigure.in: New file.
25702 * sysdeps/x86_64/preconfigure: New generated file.
25703
c0df8e69
JM
257042012-03-22 Joseph Myers <joseph@codesourcery.com>
25705
48e44791
JM
25706 [BZ #13824]
25707 * math/e_exp2l.c: Include <float.h>.
25708 (__ieee754_exp2l): Handle overflow and underflow cases
25709 separately. Only pass fractional part of argument to
25710 __ieee754_expl.
25711 * math/libm-test.inc (exp2_test): Add more tests.
25712
c0df8e69
JM
25713 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25714 negating x to take absolute value.
25715 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25716 Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25719 Likewise.
25720 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25721 computing low part if x was negated.
25722 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25723
c8e43ba7
L
257242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25725
25726 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25727 la_x32_gnu_pltexit.
25728 (pltexit): Cast int_retval to ptrdiff_t.
25729 * elf/tst-auditmod3b.c: Likewise.
25730 * elf/tst-auditmod4b.c: Likewise.
25731 * elf/tst-auditmod5b.c: Likewise.
25732 * elf/tst-auditmod6b.c: Likewise.
25733 * elf/tst-auditmod6c.c: Likewise.
25734 * elf/tst-auditmod7b.c: Likewise.
25735
25736 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25737 and x32_gnu_pltexit.
25738
25739 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25740 __ELF_NATIVE_CLASS.
25741 (La_x32_regs): New macro.
25742 (La_x32_retval): Likewise.
25743 (la_x32_gnu_pltenter): New function prototype.
25744 (la_x32_gnu_pltexit): Likewise.
25745
7998fa78
AS
257462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25747
dcb33988
AS
25748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25749 exponent.
25750
233fc563
AS
25751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25752
7998fa78
AS
25753 * configure.in (libc_cv_cc_nofma): Check for option to disable
25754 generation of FMA instructions.
25755 * configure: Regenerate.
25756 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25757 * sysdeps/ieee754/dbl-64/Makefile: New file.
25758 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25759 Remove brandred-fma4.
25760 (CFLAGS-brandred-fma4.c): Remove.
25761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25763 define.
25764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25765 define.
25766
8e95c99a
L
257672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25768
25769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25770 LLONG_MAX != LONG_MAX.
25771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25772 (_fitoa_word): Likewise.
25773 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25774 LLONG_MAX != LONG_MAX.
25775 * stdio-common/_itowa.h: Include <_itoa.h>.
25776 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25777 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25778 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25779 only if not defined.
25780 (_ITOA_WORD_TYPE): Likewise.
25781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25782 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25783
6f4db457
DM
257842012-03-21 David S. Miller <davem@davemloft.net>
25785
25786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25787
7785fe5a
L
257882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25789
25790 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25791 of x86_64 when setting libc_cv_slibdir, libdir and
25792 libc_cv_localedir.
25793 * sysdeps/unix/sysv/linux/configure: Regenerated.
25794
4535cd55
JM
257952012-03-21 Joseph Myers <joseph@codesourcery.com>
25796
25797 * manual/lang.texi (Old Varargs): Remove section.
25798 (How Variadic): Update menu.
25799 (va_start): Do not mention varargs.h.
25800
17228132
TS
258012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25802 Joseph Myers <joseph@codesourcery.com>
25803
25804 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25805 link test.
25806 * configure: Regenerated.
25807
8149f976
TS
258082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25809
05f3d1f6
UD
25810 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25811 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25812 conformtest.pl
8149f976 25813
1a4ac776
JM
258142012-03-21 Joseph Myers <joseph@codesourcery.com>
25815
be22ce65
JM
25816 * NOTES: Remove.
25817 * Makefile (files-for-dist): Remove NOTES.
25818 (NOTES): Remove rule.
25819 * README: Don't refer to NOTES.
25820 * manual/creature.texi: Don't include macros.texi.
25821 * manual/intro.texi (creature.texi): Remove comment referring to
25822 NOTES.
25823
40b601fb
JM
25824 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25825 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25826 * configure: Regenerated.
25827 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25828 LIBC_TRY_CC_OPTION.
25829 (libc_cv_as_i686): Likewise.
25830 (libc_cv_cc_avx): Likewise.
25831 (libc_cv_cc_sse2avx): Likewise.
25832 (libc_cv_cc_fma4): Likewise.
25833 (libc_cv_cc_novzeroupper): Likewise.
25834 * sysdeps/i386/configure: Regenerated.
25835
1a4ac776
JM
25836 [BZ #13883]
25837 * sysdeps/i386/fpu/s_cexp.S: Remove.
25838 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25839 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25840 * math/libm-test.inc (cexp_test): Add more tests.
25841 * sysdeps/i386/fpu/libm-test-ulps: Update.
25842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25843
a458e7fe
AM
258442012-03-21 Allan McRae <allan@archlinux.org>
25845
25846 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25847
0cb7efc5
JM
258482012-03-21 Joseph Myers <joseph@codesourcery.com>
25849
25850 [BZ #13871]
25851 * math/w_exp2.c: Do not include <float.h>.
25852 (o_threshold, u_threshold): Remove.
25853 (__exp2): Calculate result before checking finiteness and calling
25854 __kernel_standard.
25855 * math/w_exp2f.c: Likewise.
25856 * math/w_exp2l.c: Likewise.
25857 * math/libm-test.inc (exp2_test): Require overflow exception for
25858 1e6 input.
2460d3aa
JM
25859
25860 [BZ #3866]
25861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25862 range of signed 64-bit integers before using fistpll. Remove
25863 checks for whether integers fit in mantissa bits.
25864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25865 the range of signed 32-bit integers before using fistpl. Remove
25866 checks for whether integers fit in mantissa bits.
25867 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25868 (__ieee754_powl): Test for y outside the range of signed 64-bit
25869 integers before using fistpll. Reduce 64-bit values to 63-bit
25870 ones as needed.
25871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25872 divide-by-zero is raised for zero to large negative powers.
25873 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25874 (__ieee754_powl): Test for y outside the range of signed 64-bit
25875 integers before using fistpll. Reduce 64-bit values to 63-bit
25876 ones as needed.
25877 * math/libm-test.inc (pow_test): Add more tests.
25878
eb96ffb0
L
258792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25882 <stdio-common/_itoa.h>.
25883 * debug/segfault.c: Likewise.
25884 * elf/dl-cache.c: Likewise.
25885 * elf/dl-minimal.c: Likewise.
25886 * elf/dl-misc.c: Likewise.
25887 * elf/dl-sysdep.c: Likewise.
25888 * elf/dl-version.c: Likewise.
25889 * elf/rtld.c: Likewise.
25890 * hurd/hurdsock.c: Likewise.
25891 * hurd/lookup-retry.c: Likewise.
25892 * malloc/malloc.c: Likewise.
25893 * malloc/mtrace.c: Likewise.
25894 * nscd/nscd_getgr_r.c: Likewise.
25895 * nscd/nscd_getpw_r.c: Likewise.
25896 * nscd/nscd_getserv_r.c: Likewise.
25897 * posix/getopt_init.c: Likewise.
25898 * posix/wordexp.c: Likewise.
25899 * stdio-common/_itoa.c: Likewise.
25900 * stdio-common/printf_fphex.c: Likewise.
25901 * stdio-common/vfprintf.c: Likewise.
25902 * string/_strerror.c: Likewise.
25903 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25904 * sysdeps/i386/i686/hp-timing.h: Likewise.
25905 * sysdeps/mach/_strerror.c: Likewise.
25906 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25907 * sysdeps/mach/hurd/sethostid.c: Likewise.
25908 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25909 * sysdeps/mach/xpg-strerror.c: Likewise.
25910 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25911 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25912 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25913 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25914 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25915 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25916 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25917 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25918 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25919 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25920 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25921 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25922 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25923 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25924 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25925 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25927 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25928 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25929 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25930 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25931
25932 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25933
25934 * stdio-common/_itoa.h: Moved to ...
25935 * sysdeps/generic/_itoa.h: Here.
25936
25937 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25938
25939 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25940 instead of "_itoa.h" and "_itowa.h".
25941 * stdio-common/vfprintf.: Likewise.
25942
d1af992d
L
259432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25944
25945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25946 <bits/wordsize.h>.
25947 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25948 (__signbit): Likwise.
25949 (llrintf): Likwise.
25950 (llrint): Likwise.
25951
114883e0
L
259522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25953
25954 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25955 __WORDSIZE != 64.
25956
c135cc1b
JM
259572012-03-20 Joseph Myers <joseph@codesourcery.com>
25958
25959 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25960 OVERFLOW_EXCEPTION_OK.
25961 * math/libm-test.inc ("Philosophy"): Update comment about
25962 exception testing.
25963 (OVERFLOW_EXCEPTION): Define.
25964 (OVERFLOW_EXCEPTION_OK): Likewise.
25965 (INVALID_EXCEPTION_OK): Renumber.
25966 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25967 (IGNORE_ZERO_INF_SIGN): Likewise.
25968 (test_exceptions): Handle FE_OVERFLOW.
25969 (exp10_test): Expect overflow exceptions.
25970 (exp2_test): Likewise.
25971 (expm1_test): Likewise.
25972 (nextafter_test): Likewise.
25973 (pow_test): Likewise.
25974 (scalbn_test): Likewise.
25975 (scalbln_test): Likewise.
25976
95443d88
L
259772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25978
25979 * sysdeps/x86_64/bits/atomic.h
25980 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25981 64bit integer.
25982 (atomic_exchange_acq): Likewise.
25983 (__arch_exchange_and_add_body): Likewise.
25984 (__arch_add_body): Likewise.
25985 (atomic_add_negative): Likewise.
25986 (atomic_add_zero): Likewise.
25987
490df6c4
L
259882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25989
c2722551 25990 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25991 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25992
5e52b189
L
259932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25994
25995 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25996 Check __x86_64__ instead of __WORDSIZE.
25997
a9879d4c
L
259982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25999
26000 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26001
5df98260
DM
260022012-03-19 David S. Miller <davem@davemloft.net>
26003
e1497744
DM
26004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26005
5df98260
DM
26006 * sysdeps/sparc/fpu/fenv_private.h: New file.
26007 * sysdeps/sparc/fpu/math_private.h: Use it.
26008 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26009 Remove.
26010 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26011 (libc_feholdexcept_setroundl): Remove.
26012 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26013 Remove.
26014 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26015 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26016
b4c35121
L
260172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26018
26019 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26020 int64_t instead of long int.
26021 (INSERT_WORDS64): Likwise.
26022
56965fd7
L
260232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26026 _Unwind_GetCFA return to _Unwind_Ptr first.
26027
83d1aec8
JM
260282012-03-19 Joseph Myers <joseph@codesourcery.com>
26029
1897ad44
JM
26030 [BZ #13629]
26031 * math/s_clog.c: Include <float.h>.
26032 (__clog): Scale large or subnormal inputs.
26033 * math/s_clogf.c: Likewise.
26034 * math/s_clogl.c: Likewise.
26035 * math/s_clog10.c: Include <float.h>.
26036 (M_LOG10_2): Define.
26037 (__clog10): Scale large or subnormal inputs.
26038 * math/s_clog10f.c: Likewise.
26039 * math/s_clog10l.c: Likewise.
26040 * math/libm-test.inc (clog_test): Add more tests.
26041 (clog10_test): Likewise.
26042 * sysdeps/i386/fpu/libm-test-ulps: Update.
26043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26044
7726d6a9
JM
26045 [BZ #11451]
26046 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26047 x and y.
26048 * math/libm-test.inc (atan2_test): Add another test.
26049
83d1aec8
JM
26050 * Makerules (common-objdir-compile): Remove.
26051 * sysdeps/unix/Makefile (config-generated): Do not add
26052 $(unix-generated) to variable.
26053 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26054 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26055 Remove rule.
26056 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26057 Likewise.
26058 [generic bits/local_lim.h] (before-compile): Do not append to
26059 variable.
26060 [generic bits/local_lim.h] (common-generated): Likewise.
26061 [generic sys/param.h] (before-compile): Do not append to variable.
26062 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26063 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26064 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26065 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26066 include.
26067 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26068 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26069 [generic sys/param.h] ($(addprefix
26070 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26071 [generic sys/param.h] (common-generated): Do not append to
26072 variable.
26073 [generic sys/param.h] (sysdep_headers): Likewise.
26074 [generic bits/errno.h] (before-compile): Do not append to
26075 variable.
26076 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26077 rule.
26078 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26079 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26080 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26081 [generic bits/errno.h] (common-generated): Do not append to
26082 variable.
26083 [generic bits/ioctls.h] (before-compile): Do not append to
26084 variable.
26085 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26086 rule.
26087 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26088 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26089 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26090 rule.
26091 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26092 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26093 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26094 [generic bits/ioctls.h] (common-generated): Do not append to
26095 variable.
26096 [generic sys/syscall.h] (syscall.h): Remove variable.
26097 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26098 rule.
26099 [generic sys/syscall.h] (before-compile): Do not append to
26100 variable.
26101 [generic sys/syscall.h] (common-generated): Likewise.
26102 * sysdeps/unix/errnos-tmpl.c: Remove file.
26103 * sysdeps/unix/errnos.awk: Likewise.
26104 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26105 * sysdeps/unix/ioctls.awk: Likewise.
26106 * sysdeps/unix/mk-local_lim.c: Likewise.
26107 * sysdeps/unix/snarf-ioctls: Likewise.
26108
4851a949
RH
261092012-03-19 Richard Henderson <rth@twiddle.net>
26110
bd37f2ee
RH
26111 * sysdeps/i386/fpu/fenv_private.h: New file.
26112 * sysdeps/i386/fpu/math_private.h: Use it.
26113 (math_opt_barrier, math_force_eval): Remove.
26114 (libc_feholdexcept_setround_53bit): Remove.
26115 (libc_feupdateenv_53bit): Remove.
26116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26117 (math_opt_barrier, math_force_eval): Remove.
26118 (libc_feholdexcept): Remove.
26119 (libc_feholdexcept_setround): Remove.
26120 (libc_fetestexcept, libc_fesetenv): Remove.
26121 (libc_feupdateenv_test): Remove.
26122 (libc_feupdateenv, libc_feholdsetround): Remove.
26123 (libc_feresetround): Remove.
26124
d0adc922
RH
26125 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26126 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26127
0fe0f1f8
RH
26128 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26129 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26130 (libc_feupdateenv_testl): New.
26131 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26132 (libc_feupdateenv_testf): New.
26133 (libc_feupdateenv): Use libc_feupdateenv_test.
26134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26136
eb92c487
RH
26137 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26138 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26139 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26140 (libc_feresetround_noex): New.
26141 (libc_feresetround_noexf): New.
26142 (libc_feresetround_noexl): New.
26143 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26144 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26145 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26147 SET_RESTORE_ROUND.
26148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26150 (__cos): Likewise.
26151 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26153 SET_RESTORE_ROUND_NOEX.
26154 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26155 SET_RESTORE_ROUND_NOEXF.
26156 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26157 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26158 (libc_feholdsetroundf): New.
26159 (libc_feresetround, libc_feresetroundf): New.
26160
7d2e8012
RH
26161 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26162 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26163 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26164
b4dabbb4
RH
26165 * sysdeps/generic/math_private.h: Include <fenv.h>.
26166 (default_libc_feholdexcept): New.
26167 (default_libc_feholdexcept_setround): New.
26168 (default_libc_fesetenv, default_libc_feupdateenv): New.
26169 (libc_feholdexcept): Only define if undefined.
26170 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26171 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26172 (libc_feholdexcept_setroundl): Likewise.
26173 (libc_feholdexcept_setround_53bit): Likewise.
26174 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26175 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26176 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26177 (libc_feupdateenv_53bit): Likewise.
26178 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26179 (libc_feholdexcept): Convert from macro to inline function.
26180 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26181 (libc_fesetenv, libc_feupdateenv): Likewise.
26182
4851a949
RH
26183 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26184 not previously defined.
26185 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26186 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26187 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26188 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26189 * sysdeps/ieee754/flt-32/math_private.h: New file.
26190 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26191 math_private.h below SET_FLOAT_WORD.
26192 (__isnan, __isinf_ns, __finite): Remove.
26193 (__isnanf, __isinf_nsf, __finitef): Remove.
26194
e79d442e
AS
261952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26196
26197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26198
90b80344
DM
261992012-03-17 David S. Miller <davem@davemloft.net>
26200
26201 [BZ #6471]
26202 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26203 for 2.16.
26204
edc21804
DM
262052012-03-16 David S. Miller <davem@davemloft.net>
26206
77e927af
DM
26207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26208 warnings.
26209
374976dd
DM
26210 [BZ #6471]
26211 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26212 properly.
26213 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26214 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26215 sysdep_routines when subdir is sysvipc.
26216 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26217 __getshmlba helper.
26218
edc21804
DM
26219 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26220
473c3ef3
L
262212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26224 [__LP64__].
26225
eb0f39b6
L
262262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26227
26228 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26229 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26230 (__lround): Renamed to ...
26231 (__llround): This. Replace long int with long long int.
26232 Define lround functions as aliases of llround functions.
26233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26234
6b6cd74b
L
262352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26236
26237 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26238 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26239 adresses to uintptr_t. Replace "long int" and "unsigned long
26240 int" with "greg_t" on va_arg.
26241
f1a77b01
L
262422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26243
26244 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26245 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26246
26247 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26248 Move e_machine check before EI_CLASS check. Handle x32
26249 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26250 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26251 SKIP_EM_IA_64 and include
26252 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26253
26254 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26255 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26256 (add_system_dir): New macro.
26257
26258 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26259 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26260
11b90b9f
JM
262612012-03-16 Joseph Myers <joseph@codesourcery.com>
26262
c36e1d23
JM
26263 [BZ #2551]
26264 [BZ #2552]
26265 [BZ #2553]
26266 [BZ #2554]
26267 [BZ #2562]
26268 [BZ #2563]
26269 [BZ #2565]
26270 [BZ #2566]
26271 [BZ #2576]
26272 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26273 (y0): Likewise.
26274 * math/w_j0f.c (j0f): Likewise.
26275 (y0f): Likewise.
26276 * math/w_j0l.c (__j0l): Likewise.
26277 (__y0l): Likewise.
26278 * math/w_j1.c (j1): Likewise.
26279 (y1): Likewise.
26280 * math/w_j1f.c (j1f): Likewise.
26281 (y1f): Likewise.
26282 * math/w_j1l.c (__j1l): Likewise.
26283 (__y1l): Likewise.
26284 * math/w_jn.c (jn): Likewise.
26285 (yn): Likewise.
26286 * math/w_jnf.c (jnf): Likewise.
26287 (ynf): Likewise.
26288 * math/w_jnl.c (__jnl): Likewise.
26289 (__ynl): Likewise.
26290 * math/libm-test.inc (j0_test): Add more tests.
26291 (j1_test): Likewise.
26292 (jn_test): Likewise. Add trailing semicolon to existing test.
26293 (y0_test): Likewise.
26294 (y1_test): Likewise.
26295 * sysdeps/i386/fpu/libm-test-ulps: Update.
26296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297
11b90b9f
JM
26298 [BZ #13851]
26299 [BZ #13854]
26300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26301 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26302 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26303 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26304 (__tanl): Set errno for infinite argument.
26305 * sysdeps/i386/fpu/mptan.c: Remove.
26306 * sysdeps/i386/fpu/s_tan.S: Likewise.
26307 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26308 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26309 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26310 * math/libm-test.inc (tan_test): Add more tests and enable more
26311 tests for double and long double.
26312 * sysdeps/i386/fpu/libm-test-ulps: Update.
26313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26314
6a1bd2a1
JK
263152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26316
26317 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26318 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26319
10a803e0
RM
263202012-03-16 Roland McGrath <roland@hack.frob.com>
26321
26322 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26323 * configure.in: Use it for both main tree and add-ons.
26324 * configure: Regenerated.
26325
f196c7f7
L
263262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26327
26328 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26329
8848d99d
JM
263302012-03-16 Joseph Myers <joseph@codesourcery.com>
26331
96cbe7f4
JM
26332 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26333 in comment.
26334
8848d99d
JM
26335 [BZ #13851]
26336 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26337 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26341 infinite argument.
26342 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26344 != 0 for prec == 2.
26345 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26346 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26347 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26348 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26349 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26350 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26351 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26352 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26353 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26354 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26355 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26356 * math/libm-test.inc (cos_test): Add more tests and enable more
26357 tests for long double.
26358 (sin_test): Likewise.
26359 (sincos_test): Likewise.
26360 * sysdeps/i386/fpu/libm-test-ulps: Update.
26361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26362
dd7f4703
DM
263632012-03-16 David S. Miller <davem@davemloft.net>
26364
26365 * sysdeps/sparc/fpu/math_private.h: New file.
26366
006f1daa
DM
263672012-03-15 David S. Miller <davem@davemloft.net>
26368
c0c83bc8
DM
26369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26370 file.
e6a62e18 26371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26373 file.
e6a62e18
DM
26374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26380 sysdep routines.
26381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26382
88cb87d9
DM
26383 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26384 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26385
006f1daa 26386 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26388 sparc-ifunc.h
006f1daa 26389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26391 Likewise.
26392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26393 Likewise.
006f1daa
DM
26394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26398 Likewise.
006f1daa
DM
26399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26404 Likewise.
26405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26406 Likewise.
006f1daa
DM
26407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26431
11e0098e
AS
264322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26433
26434 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26435 scaling.
26436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26437
e85b09d0
AJ
264382012-03-15 Andreas Jaeger <aj@suse.de>
26439
26440 [BZ #13852]
26441 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26442 ieee754/flt-32 implementation for sin, cos and sincos.
26443 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26444 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26445 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26446 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26447 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26448 ieee754/flt-32 implementation for tan.
26449
26450 * math/libm-test.inc (cos_test): Enable some large input tests for
26451 float as well
26452 (sin_test): Likewise.
26453 (sincos_test): Likewise.
26454 (tan_test): Add tests for large input.
26455
26456 * sysdeps/i386/fpu/libm-test-ulps: Update.
26457
81c64153
AJ
264582012-03-15 Andreas Jaeger <aj@suse.de>
26459
26460 [BZ #13658]
26461 * math/libm-test.inc (cos_test): Add more test cases.
26462 (sin_test): Likewise.
26463 (sincos_test): Likewise.
26464
7bbfa5c6
AJ
264652012-03-15 Andreas Jaeger <aj@suse.de>
26466
26467 [BZ #13837]
26468 * math/libm-test.inc (cos_test): Add a test case for large input
26469 value.
26470 (sin_test): Likewise.
26471 (sincos_test): Likewise.
26472
264732012-03-15 Andreas Jaeger <aj@suse.de>,
26474 Joseph Myers <joseph@codesourcery.com>
26475
26476 [BZ #13658]
0671f479 26477 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26478 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26479 * sysdeps/i386/fpu/branred.c: Likewise.
26480 * sysdeps/i386/fpu/dosincos.c: Likewise.
26481 * sysdeps/i386/fpu/mpa.c: Likewise.
26482 * sysdeps/i386/fpu/s_cos.S: Likewise.
26483 * sysdeps/i386/fpu/s_sin.S: Likewise.
26484 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26485 * sysdeps/i386/fpu/sincos32.c: Likewise.
26486
26487 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26488 Define.
26489 (libc_feupdateenv_53bit): Define.
26490 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26491 Define.
26492 (libc_feupdateenv_53bit): Define.
26493
26494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26495 53 bit (without extend i386 double precision).
26496
26497 * math/libm-test.inc (sincos_test): Add tests for large input.
26498 (sin): Likewise.
26499 (cos): Likewise.
26500
26501 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26502
9cad04ea
AS
265032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26504
26505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26506
f7062b9a
DM
265072012-03-15 David S. Miller <davem@davemloft.net>
26508
26509 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26510 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26511 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26512 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26525 file.
f7062b9a 26526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26528 file.
f7062b9a 26529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26531 file.
f7062b9a 26532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26534 file.
f7062b9a
DM
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26537 fmin/fmax sysdep routines.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26539
7bd951ff
DM
265402012-03-14 David S. Miller <davem@davemloft.net>
26541
559398ab
DM
26542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26571 routines.
26572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26573 file.
559398ab 26574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26576 file.
559398ab 26577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26579 file.
559398ab 26580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26582 file.
559398ab 26583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26585 file.
559398ab 26586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26588 file.
26589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26590 file.
26591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26592 file.
26593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26594 file.
26595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26596 New file.
26597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26598 file.
26599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26600 file.
559398ab 26601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26603 file.
559398ab 26604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26606 file.
559398ab 26607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26609 file.
559398ab 26610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26612 VIS3 routines.
559398ab
DM
26613
26614 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26615 New file.
26616
5a1c1e32
DM
26617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26618
eae47a36
DM
26619 * sysdeps/sparc/configure.in: New file.
26620 * sysdeps/sparc/configure: Generate.
26621 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26622 * configure: Regenerate.
26623 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26624 * config.make.in (have-as-vis3): New.
26625 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26626 available use -Av9d instead of -Av9a.
26627 * sysdeps/sparc/sparc64/Makefile: Likewise.
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26630 New file.
26631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26632 file.
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26634 New file.
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26636 file.
eae47a36
DM
26637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26642
c0c83bc8
DM
26643 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26644 fzeros/fnegs to load 0x80000000 into a float register instead of
26645 using the stack.
7bd951ff
DM
26646 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26647
bd951ccb
JM
266482012-03-14 Joseph Myers <joseph@codesourcery.com>
26649
26650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26651 bits/syscall.h.
26652 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26653 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26654 ($(inst_includedir)/bits/syscall.h): Remove rule.
26655 ($(objpfx)bits/syscall.d): Include instead of
26656 $(objpfx)syscall-list.d.
26657 (generated): Change syscall-list.h and syscall-list.d to
26658 bits/syscall.h and bits/syscall.d.
26659
bb4e6db2
RM
266602012-03-14 Roland McGrath <roland@hack.frob.com>
26661
26662 [BZ #13846]
26663 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26664
aa4a2ae1
JM
266652012-03-14 Joseph Myers <joseph@codesourcery.com>
26666
e456826d
JM
26667 [BZ #13841]
26668 * math/s_csqrt.c: Include <float.h>.
26669 (__csqrt): Scale large or subnormal inputs.
26670 * math/s_csqrtf.c: Likewise.
26671 * math/s_csqrtl.c: Likewise.
26672 * math/libm-test.inc (csqrt_test): Add more tests.
26673 * sysdeps/i386/fpu/libm-test-ulps: Update.
26674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26675
aa4a2ae1
JM
26676 [BZ #13840]
26677 * math/libm-test.inc (hypot_test): Add more tests.
26678
7c10fd35
DM
266792012-03-13 David S. Miller <davem@davemloft.net>
26680
26681 [BZ #13840]
26682 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26683 double-precision for the calculation instead of scaling.
26684
f453b98b
JM
266852012-03-13 Joseph Myers <joseph@codesourcery.com>
26686
26687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26688 manipulate bits before adding and subtracting TWO52[sx].
26689 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26690 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26691 Likewise.
26692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26693
09a3453f
DM
266942012-03-13 David S. Miller <davem@davemloft.net>
26695
8e59da90
DM
26696 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26697 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26699 rtld-global-offsets.h
26700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26701
2a8ab7f2
DM
26702 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26703 large parameters.
26704
10f62770
DM
26705 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26706
5f0bdb18
DM
26707 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26708 'err' in the ifdef scope in which it is actually used.
26709
09a3453f
DM
26710 * nss/nss_db/db-init.c: Include string.h
26711
b4b2eb5e
DM
267122012-03-12 David S. Miller <davem@davemloft.net>
26713
98bb2f1c
DM
26714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26715 masking out of the most significant byte of random value used.
26716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26717 Fix coding style in previous change.
26718
b4b2eb5e
DM
26719 * sysdeps/unix/sysv/linux/kernel-features.h
26720 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26721 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26722 expression.
26723 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26724 later.
26725
6e226b09
DM
267262012-03-11 David S. Miller <davem@davemloft.net>
26727
a1bcbd40
DM
26728 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26729 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26731 for 'resultvar' otherwise things get truncated on 64-bit.
26732
cb9d6174
DM
26733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26734 Fix masking out of the most significant byte of random value used.
26735
6e226b09
DM
26736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26737
058c132d
AS
267382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26739
26740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26741
2d2cd515
DM
267422012-03-09 David S. Miller <davem@davemloft.net>
26743
26744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26745 variables with appropriate CPP guards.
26746 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26747 frame pointer, not the stack pointer. Correct layout comments. Fix test
26748 on resulting framesize and the management of the outregs buffer for pltexit.
26749 Preserve floating point return values across _dl_call_pltexit call.
26750 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26751 framesize and the management of the outregs buffer for pltexit.
26752 Preserve floating point return values across _dl_call_pltexit
26753 call.
26754 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26755 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26756 (print_exit): Fix format string for return register value.
26757
9a07f9d0
JM
267582012-03-10 Joseph Myers <joseph@codesourcery.com>
26759
26760 * sunrpc/Makefile (others): Add rpcgen.
26761 ($(objpfx)rpcgen): Remove special build rule and dependency on
26762 libc.
26763 * sunrpc/rpcgen.c: New file.
26764
547b5e30
PE
267652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26766
c524201a
PE
26767 [BZ #13673]
26768 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26769 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26770 * sysdeps/i386/crti.S: Likewise.
26771 * sysdeps/i386/crtn.S: Likewise.
26772 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26773 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26776 * sysdeps/sh/crti.S: Likewise.
26777 * sysdeps/sh/crtn.S: Likewise.
26778 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26779
7b6235f2
PE
26780 [BZ #13673]
26781 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26782 with URL.
26783 * locale/programs/locfile-kw.gperf: Likewise.
26784 * locale/programs/charmap-kw.h: Regenerated.
26785 * locale/programs/locfile-kw.h: Likewise.
26786
547b5e30
PE
26787 [BZ #13673]
26788 * intl/plural.y: Replace FSF snail mail address with URL.
26789 * intl/plural.c: Regenerated.
26790
5f0a5dae
RH
267912012-03-09 Richard Henderson <rth@twiddle.net>
26792
26793 * include/math_private.h: Remove file.
26794 * math/math_private.h: Move file ...
26795 * sysdeps/generic/math_private.h: ... here.
26796
b8c03620
RH
26797 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26798 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26799 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26800
4e234f5d 26801 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26802 and <math_private.h>.
26803 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26804 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26805 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26806 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26807 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26818 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26825 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26827 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26833 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26835 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26836 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26837 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26838 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26845 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26868 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26869 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26870 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26880 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26885 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26890 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26896 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26898 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26899 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26900 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26901 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26903 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26904 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26905 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26906 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26907 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26911 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26913 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26914 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26915 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26916 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26917 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26918 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26919 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26920 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26921 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26922 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26923 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26924 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26926 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26927 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26928 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26930 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26931 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26932 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26933 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26934 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26936 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26937 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26938 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26939 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26940 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26941 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26942 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26944 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26945 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26946 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26948 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26949 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26951 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26952 * sysdeps/ieee754/k_standard.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26980 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26984 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26986 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27068 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27080 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27105 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27109 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27110 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27113 * sysdeps/ieee754/s_lib_version.c: Likewise.
27114 * sysdeps/ieee754/s_matherr.c: Likewise.
27115 * sysdeps/ieee754/s_signgam.c: Likewise.
27116 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27117 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27118 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27119 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27120 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27121 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27122 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27123 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27124 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27125 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27126 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27127 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27128 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27129 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27130 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27131 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27132 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27133 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27134 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27135 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27137
1991fa03
JM
271382012-03-09 Joseph Myers <joseph@codesourcery.com>
27139
27140 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27141 * sunrpc/rpc_main.c: Likewise.
27142 * sunrpc/rpc_svcout.c: Likewise.
27143
60d6f5a6
DM
271442012-03-09 David S. Miller <davem@davemloft.net>
27145
27146 * include/math_private.h: New file.
27147
4962050e
JM
271482012-03-09 Joseph Myers <joseph@codesourcery.com>
27149
02a6f887
JM
27150 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27151 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27152 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27153 from <bits/socket_type.h>.
27154 (enum __socket_type): Don't define here.
27155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27157 bits/socket_type.h.
27158
c6e013c1
JM
27159 [BZ #13566]
27160 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27161 checking __USE_GNU.
27162
4962050e
JM
27163 * Makerules ($(inst_includedir)/%.h): New rule.
27164 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27165 (install-others): Remove variable setting.
27166 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27167
38842f45
RH
271682012-03-08 Richard Henderson <rth@twiddle.net>
27169
67bb6da6
RH
27170 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27171 from macro to inline function; merge with the
27172 !__LIBC_INTERNAL_MATH_INLINES version.
27173 (__ieee754_sqrtf): Likewise.
27174
15194b4b
RH
27175 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27176 to inline function.
27177 (__rintf, __floor, __floorf): Likewise.
27178
64e21ede
RH
27179 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27180 macro to inline function.
27181 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27182
38842f45
RH
27183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27184 not <math/math_private.h>.
27185
c64bf5fe
DM
271862012-03-08 David S. Miller <davem@davemloft.net>
27187
27188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27189 copyright year.
27190 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27191
82d86f28
TS
271922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27193
27194 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27195 normalization.
27196 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27197 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27198
aea5d727
UD
271992012-03-08 Ulrich Drepper <drepper@gmail.com>
27200
27201 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27202 be defined individually, they must be defined as a block. Define
27203 S for printing a string instead of hidint the different by using a
27204 macro for adding the 'l'.
27205 * stdio-common/tst-fphex-wide.c: Adjust.
27206
70bca0a3
MP
272072012-03-07 Marek Polacek <polacek@redhat.com>
27208
27209 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27210
65b81130
MP
272112012-03-08 Marek Polacek <polacek@redhat.com>
27212
27213 [BZ #13806]
27214 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27215 * stdio-common/tst-fphex.c: Define a few macros to make the
27216 test reusable. Use them.
27217 * stdio-common/tst-fphex-wide.c: New file.
27218
07037eeb
JM
272192012-03-08 Joseph Myers <joseph@codesourcery.com>
27220
a7a93d50
JM
27221 [BZ #6911]
27222 * manual/macros.texi (gnusystems): New macro.
27223 (nongnusystems): Likewise.
27224 (gnulinuxhurdsystems): Likewise.
27225 (gnuhurdsystems): Likewise..
27226 (gnulinuxsystems): Likewise.
27227 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27228 variants of the GNU system, not "GNU system".
27229 * manual/conf.texi: Likewise.
27230 * manual/errno.texi: Likewise. Update example of errno macro
27231 expansion.
27232 * manual/filesys.texi: Likewise.
27233 (getumask): Document as specific to GNU/Hurd.
27234 * manual/install.texi: Likewise. Reword some references to
27235 GNU/Linux.
27236 * manual/intro.texi: Likewise.
27237 * manual/io.texi: Likewise.
27238 (File Name Portability): Detail which constraints are inapplicable
27239 to all GNU systems and which are only inapplicable to GNU/Hurd.
27240 * manual/job.texi: Likewise.
27241 * manual/llio.texi: Likewise.
27242 (O_NOCTTY): Document as present on GNU/Linux.
27243 * manual/maint.texi: Likewise.
27244 * manual/memory.texi: Likewise.
27245 * manual/pattern.texi: Likewise.
27246 * manual/pipe.texi: Likewise.
27247 * manual/process.texi: Likewise.
27248 * manual/resource.texi: Likewise.
27249 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27250 child on GNU/Hurd.
27251 * manual/setjmp.texi: Likewise.
27252 * manual/signal.texi: Likewise.
27253 * manual/startup.texi: Likewise.
27254 * manual/stdio.texi: Likewise.
27255 * manual/terminal.texi: Likewise.
27256 (ONLCR): Document as POSIX.
27257 (OXTABS): Document availability on GNU/Linux as XTABS.
27258 (ONOEOT): Document availability separately from other bits.
27259 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27260 * manual/time.texi: Likewise.
27261 * manual/users.texi: Likewise.
27262 * INSTALL: Regenerated.
27263 * sysdeps/gnu/errlist.c: Regenerated.
27264
07037eeb
JM
27265 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27266 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27267 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27268 puts.
27269 * configure: Regenerated.
27270
d1d3431a
JM
272712012-03-07 Joseph Myers <joseph@codesourcery.com>
27272
af6a1e37
JM
27273 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27274 default includes instead of AC_HEADER_CHECK.
27275 * sysdeps/i386/configure: Regenerated.
27276
d1d3431a
JM
27277 [BZ #10716]
27278 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27279 * math/s_cacoshf.c (__cacoshf): Likewise.
27280 * math/s_cacoshl.c (__cacoshl): Likewise.
27281 * math/s_casinh.c (__casinh): Set signs of result from argument.
27282 * math/s_casinhf.c (__casinhf): Likewise.
27283 * math/s_casinhl.c (__casinhl): Likewise.
27284 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27285 (casinh_test): Add more tests.
27286 * sysdeps/i386/fpu/libm-test-ulps: Update.
27287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288
482ff4da
UD
272892012-03-07 Ulrich Drepper <drepper@gmail.com>
27290
872fda05
UD
27291 * po/zh_TW.po: Update from translation team.
27292
a4300c7a
UD
27293 * login/Makefile (distribute): Remove variable.
27294 * catgets/Makefile: Likewise.
27295 * mach/Makefile: Likewise.
27296 * malloc/Makefile: Likewise.
27297 * misc/Makefile: Likewise.
27298 * iconv/Makefile: Likewise.
27299 * nscd/Makefile: Likewise.
27300 * hurd/Makefile: Likewise.
27301 * manual/Makefile: Likewise.
27302 * locale/Makefile: Likewise.
27303 * intl/Makefile: Likewise.
27304 * conform/Makefile: Likewise.
27305 * nss/Makefile: Likewise.
27306 * time/Makefile: Likewise.
27307 * soft-fp/Makefile: Likewise.
27308 * dirent/Makefile: Likewise.
27309 * gmon/Makefile: Likewise.
27310 * po/Makefile: Likewise.
27311 * rt/Makefile: Likewise.
27312 * socket/Makefile: Likewise.
27313 * math/Makefile: Likewise.
27314 * signal/Makefile: Likewise.
27315 * debug/Makefile: Likewise.
27316 * elf/Makefile: Likewise.
27317 * timezone/Makefile: Likewise.
27318 * stdlib/Makefile: Likewise.
27319 * iconvdata/Makefile: Likewise.
27320 * sunrpc/Makefile: Likewise.
27321 * io/Makefile: Likewise.
27322 * argp/Makefile: Likewise.
27323 * inet/Makefile: Likewise.
27324 * hesiod/Makefile: Likewise.
27325 * grp/Makefile: Likewise.
27326 * csu/Makefile: Likewise.
27327 * wctype/Makefile: Likewise.
27328 * crypt/Makefile: Likewise.
27329 * libio/Makefile: Likewise.
27330 * string/Makefile: Likewise.
27331 * nis/Makefile: Likewise.
27332 * resolv/Makefile: Likewise.
27333 * stdio-common/Makefile: Likewise.
27334 * wcsmbs/Makefile: Likewise.
27335 * dlfcn/Makefile: Likewise.
27336 * posix/Makefile: Likewise.
27337
3b7c4e74 27338 [BZ #6959]
482ff4da
UD
27339 * timezone/Makefile: Don't install timezone files, just the programs
27340 and scripts.
27341
f72ed77d
UD
273422012-03-06 Ulrich Drepper <drepper@gmail.com>
27343
a000466f
UD
27344 * nss/databases.def: Add missing gshadow entry.
27345
f72ed77d
UD
27346 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27347
a53b7a4e
MP
273482012-03-06 Marek Polacek <polacek@redhat.com>
27349
27350 [BZ #13726]
27351 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27352 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27353 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27354 * stdio-common/tst-long-dbl-fphex.c: New file.
27355
e9258400
DM
273562012-03-06 David S. Miller <davem@davemloft.net>
27357
27358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27359 (set_obp_int): New function.
27360 (get_obp_int): New function.
27361 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27362 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27363 Avoid unused variable warnings on 'val' and use builtin_expect.
27364 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27365 __builtin_expect.
e9258400
DM
27366 (INLINE_CLONE_SYSCALL): Likewise.
27367
3bd2c723
DM
273682012-03-05 David S. Miller <davem@davemloft.net>
27369
27370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27371
bbb78d03
AS
273722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27373
884c5db4
AS
27374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27375
bbb78d03
AS
27376 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27377 only for |x| >= 40.
27378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27379
1c9f702a 273802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27381
27382 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27383 Replace gettimeofday with __vdso_gettimeofday.
27384
7be16f82
RM
27385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27386 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27387 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27388
27389 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27390 time with __vdso_time.
27391
ed58a00f
JM
273922012-03-05 Joseph Myers <joseph@codesourcery.com>
27393
27394 * manual/lang.texi (size_t): Note types to which size_t may be
27395 equivalent with the GNU C Library, but do not describe when
27396 differences between them are significant.
27397
30ee4ced
AJ
273982012-03-05 Andreas Jaeger <aj@suse.de>
27399
27400 * sysdeps/i386/fpu/libm-test-ulps: Update.
27401
b7cd39e8
JM
274022012-03-05 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #3976]
27405 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27406 (__ieee754_pow): Save and restore rounding mode and use
27407 round-to-nearest for main computations.
27408 * math/libm-test.inc (pow_test_tonearest): New function.
27409 (pow_test_towardzero): Likewise.
27410 (pow_test_downward): Likewise.
27411 (pow_test_upward): Likewise.
27412 (main): Call the new functions.
27413 * sysdeps/i386/fpu/libm-test-ulps: Update.
27414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27415
27416 [BZ #3976]
27417 * math/libm-test.inc (cosh_test_tonearest): New function.
27418 (cosh_test_towardzero): Likewise.
27419 (cosh_test_downward): Likewise.
27420 (cosh_test_upward): Likewise.
27421 (sinh_test_tonearest): Likewise.
27422 (sinh_test_towardzero): Likewise.
27423 (sinh_test_downward): Likewise.
27424 (sinh_test_upward): Likewise.
27425 (main): Call the new functions.
27426 * sysdeps/i386/fpu/libm-test-ulps: Update.
27427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428
6c6a98c9
TV
274292012-03-05 Tom de Vries <tom@codesourcery.com>
27430
27431 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27432 default stack guard is set in last bytes.
27433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27434
21bb2d2e 274352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27436
21bb2d2e 27437 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27438
21bb2d2e
AJ
27439 [BZ #13656]
27440 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27441 possibly allocate from heap instead of stack.
27442 * stdio-common/bug-vfprintf-nargs.c: New file.
27443 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27444
c6922934
AS
274452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27446
27447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27448
bc957d53
MP
274492012-03-03 Marek Polacek <polacek@redhat.com>
27450
27451 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27452 * math/math_private.h: Likewise.
27453 * stdlib/tst-strtod.c: Likewise.
27454 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27455 * sysdeps/x86_64/bits/atomic.h: Likewise.
27456
6358490d
DM
274572012-03-02 David S. Miller <davem@davemloft.net>
27458
27459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27463 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27464 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27465 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27466 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27467
01ae168d
RM
274682012-03-02 Roland McGrath <roland@hack.frob.com>
27469
d9a17c07
RM
27470 [BZ #13792]
27471 * manual/examples/README: New file, says the example source files
27472 can be used under GPL>=2.
27473 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27474 line containing just "*/".
27475 * manual/examples/add.c: Add copyright header (GPL>=2).
27476 * manual/examples/argp-ex1.c: Likewise.
27477 * manual/examples/argp-ex2.c: Likewise.
27478 * manual/examples/argp-ex3.c: Likewise.
27479 * manual/examples/argp-ex4.c: Likewise.
27480 * manual/examples/atexit.c: Likewise.
27481 * manual/examples/db.c: Likewise.
27482 * manual/examples/dir.c: Likewise.
27483 * manual/examples/dir2.c: Likewise.
27484 * manual/examples/execinfo.c: Likewise.
27485 * manual/examples/filecli.c: Likewise.
27486 * manual/examples/filesrv.c: Likewise.
27487 * manual/examples/fmtmsgexpl.c: Likewise.
27488 * manual/examples/genpass.c: Likewise.
27489 * manual/examples/inetcli.c: Likewise.
27490 * manual/examples/inetsrv.c: Likewise.
27491 * manual/examples/isockad.c: Likewise.
27492 * manual/examples/longopt.c: Likewise.
27493 * manual/examples/memopen.c: Likewise.
27494 * manual/examples/memstrm.c: Likewise.
27495 * manual/examples/mkfsock.c: Likewise.
27496 * manual/examples/mkisock.c: Likewise.
27497 * manual/examples/mygetpass.c: Likewise.
27498 * manual/examples/pipe.c: Likewise.
27499 * manual/examples/popen.c: Likewise.
27500 * manual/examples/rprintf.c: Likewise.
27501 * manual/examples/search.c: Likewise.
27502 * manual/examples/select.c: Likewise.
27503 * manual/examples/setjmp.c: Likewise.
27504 * manual/examples/sigh1.c: Likewise.
27505 * manual/examples/sigusr.c: Likewise.
27506 * manual/examples/stpcpy.c: Likewise.
27507 * manual/examples/strdupa.c: Likewise.
27508 * manual/examples/strftim.c: Likewise.
27509 * manual/examples/strncat.c: Likewise.
27510 * manual/examples/subopt.c: Likewise.
27511 * manual/examples/swapcontext.c: Likewise.
27512 * manual/examples/termios.c: Likewise.
27513 * manual/examples/testopt.c: Likewise.
27514 * manual/examples/testpass.c: Likewise.
27515 * manual/examples/timeval_subtract.c: Likewise.
27516
01ae168d
RM
27517 [BZ #13792]
27518 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27519 function to ...
27520 * manual/timeval_subtract.c.texi: ... here, new file.
27521
49efa33d
DM
275222012-03-02 David S. Miller <davem@davemloft.net>
27523
27524 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27525
28afd92d
JM
275262012-03-02 Joseph Myers <joseph@codesourcery.com>
27527
804360ed
JM
27528 [BZ #3976]
27529 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27530 (__sin): Save and restore rounding mode and use round-to-nearest
27531 for all computations.
27532 (__cos): Save and restore rounding mode and use round-to-nearest
27533 for all computations.
27534 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27535 <fenv.h>.
27536 (tan): Save and restore rounding mode and use round-to-nearest for
27537 all computations.
27538 * math/libm-test.inc (cos_test_tonearest): New function.
27539 (cos_test_towardzero): Likewise.
27540 (cos_test_downward): Likewise.
27541 (cos_test_upward): Likewise.
27542 (sin_test_tonearest): Likewise.
27543 (sin_test_towardzero): Likewise.
27544 (sin_test_downward): Likewise.
27545 (sin_test_upward): Likewise.
27546 (tan_test_tonearest): Likewise.
27547 (tan_test_towardzero): Likewise.
27548 (tan_test_downward): Likewise.
27549 (tan_test_upward): Likewise.
27550 (main): Call the new functions.
27551 * sysdeps/i386/fpu/libm-test-ulps: Update.
27552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27553
a6d06d7b
JM
27554 [BZ #10135]
27555 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27556 small n, then large n, before computing and testing k+n.
27557 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27559 Likewise.
27560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27561 Likewise.
27562 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27563 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27568 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27569 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27570 * math/libm-test.inc (scalbn_test): Add more tests.
27571 (scalbln_test): Likewise.
27572
07e12bb3
JM
27573 * manual/filesys.texi (mode_t): Describe constraints on size and
27574 signedness, not exact equivalence to a particular type.
27575 (ino_t): Likewise.
27576 (ino64_t): Likewise.
27577 (dev_t): Likewise.
27578 (nlink_t): Likewise.
27579 (blkcnt_t): Likewise.
27580 (blkcnt64_t): Likewise.
27581 * manual/llio.texi (off_t): Likewise.
27582
28afd92d
JM
27583 [BZ #3976]
27584 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27585 (__ieee754_exp): Save and restore rounding mode and use
27586 round-to-nearest for all computations.
27587 * math/libm-test.inc (exp_test_tonearest): New function.
27588 (exp_test_towardzero): Likewise.
27589 (exp_test_downward): Likewise.
27590 (exp_test_upward): Likewise.
27591 (main): Call the new functions.
27592 * sysdeps/i386/fpu/libm-test-ulps: Update.
27593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27594
b1eeb65d
CD
275952012-03-01 Chris Demetriou <cgd@google.com>
27596
27597 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27598 have predictable order.
27599
53362a4b
DM
276002012-03-01 David S. Miller <davem@davemloft.net>
27601
3c969083
DM
27602 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27603
759707de
DM
27604 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27605 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27606 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27607 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27608
dfdb8ff2
DM
27609 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27610 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27611 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27613 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27614 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27615 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27616 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27617 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27618
ead89f96
DM
27619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27620
7f66bd07
DM
27621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27622 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27623 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27624
53362a4b
DM
27625 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27627 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27628 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27629 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27632 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27633 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27634 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27635 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27636 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27638 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27639 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27641 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27642 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27643 * sysdeps/sparc/elf/configure: Regenerated.
27644
7b1902cb
JM
276452012-03-01 Joseph Myers <joseph@codesourcery.com>
27646
bec039bc
JM
27647 * configure.in (AS, LD): Require binutils 2.20 or later.
27648 * configure: Regenerated.
27649 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27650 as required minimum version.
27651 * INSTALL: Regenerated.
27652
7b1902cb
JM
27653 [BZ #2541]
27654 [BZ #4108]
27655 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27656 before squaring exponent.
27657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27658 bottom long double and 27 bits of top long double before squaring
27659 exponent.
27660 * math/libm-test.inc (erfc_test): Add more tests.
27661 * sysdeps/i386/fpu/libm-test-ulps: Update.
27662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27664
f775c276
KT
276652012-03-01 Kai Tietz <ktietz@redhat.com>
27666
27667 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27668 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27669 containing bit-fields.
27670 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27671 * soft-fp/single.h (_FP_UNION_S): Likewise.
27672 * soft-fp/double.h (_FP_UNION_D): Likewise.
27673
5b8a4d4a
JM
276742012-02-29 Joseph Myers <joseph@codesourcery.com>
27675
0bab47b6
JM
27676 [BZ #13786]
27677 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27678 not include ../strcmp.S.
27679 [USE_AS_STRNCASECMP_L]: Likewise.
27680 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27681 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27682 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27683 (__strncasecmp_l_ia32): Define as alias to
27684 __strncasecmp_l_nonascii.
27685
0fcad3e2
JM
27686 [BZ #5794]
27687 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27688 * sysdeps/i386/fpu/libm-test-ulps: Update.
27689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27690
5b8a4d4a
JM
27691 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27693
8fdceb2e
JL
276942012-02-29 Jeff Law <law@redhat.com>
27695
27696 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27697 out of bounds read.
27698
1f393a11
MP
276992012-02-29 Marek Polacek <polacek@redhat.com>
27700
27701 [BZ #13706]
27702 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27703 * elf/Makefile: Add rules to run tst-unused-dep.out.
27704
8847f037
DM
277052012-02-28 David S. Miller <davem@davemloft.net>
27706
27707 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27708 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27711 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27712 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27713
169d7f11
JM
277142012-02-29 Joseph Myers <joseph@codesourcery.com>
27715
27716 * math/libm-test.inc (llround_test): Move one test from
27717 lround_test. Use TEST_f_L in moved test.
27718 (lround_test): Move misplaced test to llround_test. Add testcase
27719 from bug 2561.
27720
39adf059
UD
277212012-02-28 Ulrich Drepper <drepper@gmail.com>
27722
27723 * sysdeps/x86_64/fpu/e_expf.S: New file.
27724 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27725
71b5d1c5
SB
277262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27727
27728 [BZ #13637]
27729 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27730 of remain_len that may cause incomplete multi-byte character and
27731 false match.
27732 * posix/bug-regex33.c: New file.
27733 * posix/Makefile (tests): Add bug-regex33.
27734
1f77f049
JM
277352012-02-28 Joseph Myers <joseph@codesourcery.com>
27736
27737 * manual/macros.texi: New file.
27738 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27739 * manual/libc.texinfo: Include macros.texi.
27740 * manual/creatute.texi: Likewise.
27741 * manual/install.texi: Likewise.
27742 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27743 @glibcadj{} in references to the GNU C Library.
27744 * manual/charset.texi: Likewise.
27745 * manual/conf.texi: Likewise.
27746 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27747 when not using those macros.
27748 * manual/creature.texi: Likewise.
27749 * manual/crypt.texi: Likewise.
27750 * manual/errno.texi: Likewise.
27751 * manual/filesys.texi: Likewise.
27752 * manual/header.texi: Likewise.
27753 * manual/install.texi: Likewise.
27754 * manual/intro.texi: Likewise.
27755 * manual/io.texi: Likewise.
27756 * manual/job.texi: Likewise.
27757 * manual/lang.texi: Likewise.
27758 * manual/libc.texiinfo: Likewise.
27759 * manual/llio.texi: Likewise.
27760 * manual/locale.texi: Likewise.
27761 * manual/maint.texi: Likewise.
27762 * manual/math.texi: Likewise.
27763 * manual/memory.texi: Likewise.
27764 * manual/message.texi: Likewise.
27765 * manual/nss.texi: Likewise.
27766 * manual/pattern.texi: Likewise.
27767 * manual/process.texi: Likewise.
27768 * manual/resource.texi: Likewise.
27769 * manual/search.texi: Likewise.
27770 * manual/setjmp.texi: Likewise.
27771 * manual/signal.texi: Likewise.
27772 * manual/socket.texi: Likewise.
27773 * manual/startup.texi: Likewise.
27774 * manual/stdio.texi: Likewise.
27775 * manual/string.texi: Likewise.
27776 * manual/sysinfo.texi: Likewise.
27777 * manual/syslog.texi: Likewise.
27778 * manual/terminal.texi: Likewise.
27779 * manual/time.texi: Likewise.
27780 * manual/users.texi: Likewise.
27781 * INSTALL: Regenerated.
27782 * NOTES: Regenerated.
d40c5d54 27783 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27784
450bf206
AS
277852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27786
27787 * include/dirent.h: Include <dirstream.h> before
27788 <dirent/dirent.h>.
27789
741a235b
DM
277902012-02-28 David S. Miller <davem@davemloft.net>
27791
27792 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27793 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27794 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27795 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27796
d6b5aa58
DM
277972012-02-27 David S. Miller <davem@davemloft.net>
27798
1aff59a3
DM
27799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27801 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27802 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27803
d6b5aa58
DM
27804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27805 frame pointer instead of stack pointer relative arg slot.
27806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27807 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27808 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27809
433f48bf
CD
278102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27811
27812 [BZ #3992]
27813 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27814
d674b76d
DM
278152012-02-27 David S. Miller <davem@davemloft.net>
27816
27817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27821 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27822 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27823 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27824 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27825
0e7727f7
JM
278262012-02-27 Joseph Myers <joseph@codesourcery.com>
27827
27828 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27829 later. Allow versions 5-9.
43be4ca2 27830 * configure: Regenerated.
0e7727f7
JM
27831 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27832 required minimum version and 4.6 as recommended version. Do not
27833 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27834 * INSTALL: Regenerated.
0e7727f7 27835
a78bc654
DM
278362012-02-27 David S. Miller <davem@davemloft.net>
27837
428d5830
DM
27838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27842 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27843 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27844 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27845 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27846
a78bc654
DM
27847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27848 manipulate bits before adding and subtracting TWO112[sx].
27849 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27850
4579f81c
RM
278512012-02-27 Roland McGrath <roland@hack.frob.com>
27852
36c8acb4
RM
27853 [BZ #13775]
27854 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27855 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27856 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27857 being in POSIX, because they are in 1003.1-2008.
27858
84ad622b
RM
27859 * rt/tst-aio.c: Include <fcntl.h>.
27860 * rt/tst-aio7.c: Likewise.
27861 * rt/tst-aio64.c: Likewise.
27862
4579f81c
RM
27863 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27864
abd923db
JM
278652012-02-27 Joseph Myers <joseph@codesourcery.com>
27866
27867 * manual/install.texi (--with-headers): Describe headers as
27868 interface headers, not private headers.
27869 (Specific advice for GNU/Linux systems): Describe use of headers
27870 from "make headers_install", not private headers from older
27871 kernels.
43be4ca2 27872 * INSTALL: Regenerated.
abd923db
JM
27873 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27874 Change to 2.6.19.
27875 * sysdeps/unix/sysv/linux/configure: Regenerated.
27876
6664049b
JM
27877 * manual/llio.texi (fclean): Remove documentation.
27878
bb8b6697
JM
27879 * manual/Makefile (libc-texi-generated): New variable. Include
27880 version.texi.
27881 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27882 $(libc-texi-generated), not duplicated list of files.
27883 (version.texi, stamp-version): New rules.
27884 (realclean): Remove $(libc-texi-generated), not individual files
27885 from that list. Do not remove dir-add.texinfo.
27886 * manual/libc.texinfo: Comment out uses of edition numbers and
27887 references to printed manual. Remove last-updated dates.
27888 (EDITION): Comment out.
27889 (ISBN): Likewise.
27890 (VERSION, UPDATED): Remove.
27891 (version.texi): Include.
27892
12e5c3b9
AS
278932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27894
27895 * sysdeps/posix/spawni.c: Include <signal.h>.
27896 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27897 * sysdeps/pthread/aio_fsync.c: Likewise.
27898
4efeffc1 278992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27900
ba63ba08
UD
27901 * conform/Makefile (tests): Run only when not cross-compiling and
27902 when fast-check is not defined.
27903
d94a4670
UD
27904 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27905 * conform/data/limits.h-data: Fixes for POSIX2008.
27906 * conform/run-conformtest.sh: Run all tests.
27907 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27908 headers.
27909 * include/bits/dlfcn.h: Likewise.
27910 * include/langinfo.h: Likewise.
27911 * include/monetary.h: Likewise.
27912 * include/sys/poll.h: Likewise.
27913
27914 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27915 for __USE_GNU.
27916 * posix/spawn.h: Define __need_sigset_t.
27917 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27918 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27919 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27920 to get sigevent_t only.
27921 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27922 only for __USE_GNU.
27923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27924 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27925 process_vm_writev only for __USE_GNU.
27926 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27927
27928 * conform/Makefile: For now ignore errors from run-conformtest.
27929 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27930 POSIX to avoid namespace pollution. Don't prepend headers.
27931 * conform/data/aio.h-data: Fixes for POSIX testing.
27932 * conform/data/fcntl.h-data: Likewise.
27933 * conform/data/glob.h-data: Likewise.
27934 * conform/data/grp.h-data: Likewise.
27935 * conform/data/pthread.h-data: Likewise.
27936 * conform/data/pwd.h-data: Likewise.
27937 * conform/data/signal.h-data: Likewise.
27938 * conform/data/spawn.h-data: Likewise.
27939 * conform/data/stdio.h-data: Likewise.
27940 * conform/data/stdlib.h-data: Likewise.
27941 * conform/data/stropts.h-data: Likewise.
27942 * conform/data/sys/mman.h-data: Likewise.
27943 * conform/data/sys/stat.h-data: Likewise.
27944 * conform/data/sys/types.h-data: Likewise.
27945 * conform/data/sys/wait.h-data: Likewise.
27946 * conform/data/time.h-data: Likewise.
27947 * conform/data/unistd.h-data: Likewise.
27948 * conform/data/utime.h-data: Likewise.
27949
27950 * io/sys/stat.h: fchmod was always in POSIX.
27951 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27952 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27953 * rt/aio.h: Define __need_timespec before including <time.h>.
27954 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27955 struct. Add forward declaration of pthread_attr_t and use it in
27956 sigevent.
27957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27958 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27959 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27960 always remove CLK_TCK definition.
27961
c20105c3
AS
279622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27963
27964 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27965
7a270350
UD
279662012-02-25 Ulrich Drepper <drepper@gmail.com>
27967
31341567
UD
27968 * conform/run-conformtest.sh: New file.
27969 * conform/Makefile: Run run-conformtest for tests.
27970 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27971 support.
27972
27973 * conform/data/uchar.h-data: New file.
27974 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27975 * conform/data/arpa/inet.h-data: Likewise.
27976 * conform/data/assert.h-data: Likewise.
27977 * conform/data/complex.h-data: Likewise.
27978 * conform/data/cpio.h-data: Likewise.
27979 * conform/data/ctype.h-data: Likewise.
27980 * conform/data/dirent.h-data: Likewise.
27981 * conform/data/dlfcn.h-data: Likewise.
27982 * conform/data/errno.h-data: Likewise.
27983 * conform/data/fcntl.h-data: Likewise.
27984 * conform/data/float.h-data: Likewise.
27985 * conform/data/fmtmsg.h-data: Likewise.
27986 * conform/data/fnmatch.h-data: Likewise.
27987 * conform/data/ftw.h-data: Likewise.
27988 * conform/data/glob.h-data: Likewise.
27989 * conform/data/grp.h-data: Likewise.
27990 * conform/data/iconv.h-data: Likewise.
27991 * conform/data/inttypes.h-data: Likewise.
27992 * conform/data/langinfo.h-data: Likewise.
27993 * conform/data/libgen.h-data: Likewise.
27994 * conform/data/limits.h-data: Likewise.
27995 * conform/data/locale.h-data: Likewise.
27996 * conform/data/math.h-data: Likewise.
27997 * conform/data/monetary.h-data: Likewise.
27998 * conform/data/mqueue.h-data: Likewise.
27999 * conform/data/ndbm.h-data: Likewise.
28000 * conform/data/net/if.h-data: Likewise.
28001 * conform/data/netdb.h-data: Likewise.
28002 * conform/data/netinet/in.h-data: Likewise.
28003 * conform/data/nl_types.h-data: Likewise.
28004 * conform/data/poll.h-data: Likewise.
28005 * conform/data/pthread.h-data: Likewise.
28006 * conform/data/pwd.h-data: Likewise.
28007 * conform/data/regex.h-data: Likewise.
28008 * conform/data/sched.h-data: Likewise.
28009 * conform/data/search.h-data: Likewise.
28010 * conform/data/semaphore.h-data: Likewise.
28011 * conform/data/setjmp.h-data: Likewise.
28012 * conform/data/signal.h-data: Likewise.
28013 * conform/data/spawn.h-data: Likewise.
28014 * conform/data/stdarg.h-data: Likewise.
28015 * conform/data/stdio.h-data: Likewise.
28016 * conform/data/stdlib.h-data: Likewise.
28017 * conform/data/string.h-data: Likewise.
28018 * conform/data/strings.h-data: Likewise.
28019 * conform/data/stropts.h-data: Likewise.
28020 * conform/data/sys/ipc.h-data: Likewise.
28021 * conform/data/sys/mman.h-data: Likewise.
28022 * conform/data/sys/msg.h-data: Likewise.
28023 * conform/data/sys/resource.h-data: Likewise.
28024 * conform/data/sys/select.h-data: Likewise.
28025 * conform/data/sys/sem.h-data: Likewise.
28026 * conform/data/sys/shm.h-data: Likewise.
28027 * conform/data/sys/socket.h-data: Likewise.
28028 * conform/data/sys/stat.h-data: Likewise.
28029 * conform/data/sys/statvfs.h-data: Likewise.
28030 * conform/data/sys/time.h-data: Likewise.
28031 * conform/data/sys/timeb.h-data: Likewise.
28032 * conform/data/sys/times.h-data: Likewise.
28033 * conform/data/sys/types.h-data: Likewise.
28034 * conform/data/sys/uio.h-data: Likewise.
28035 * conform/data/sys/un.h-data: Likewise.
28036 * conform/data/sys/utsname.h-data: Likewise.
28037 * conform/data/sys/wait.h-data: Likewise.
28038 * conform/data/syslog.h-data: Likewise.
28039 * conform/data/tar.h-data: Likewise.
28040 * conform/data/termios.h-data: Likewise.
28041 * conform/data/utime.h-data: Likewise.
28042 * conform/data/utmpx.h-data: Likewise.
28043 * conform/data/varargs.h-data: Likewise.
28044 * conform/data/wchar.h-data: Likewise.
28045 * conform/data/wctype.h-data: Likewise.
28046 * conform/data/wordexp.h-data: Likewise.
28047
28048 * include/stropts.h: New file.
28049 * include/uchar.h: New file.
28050 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28051 * include/assert.h: Likewise.
28052 * include/ctype.h: Likewise.
28053 * include/dirent.h: Likewise.
28054 * include/dlfcn.h: Likewise.
28055 * include/fcntl.h: Likewise.
28056 * include/fnmatch.h: Likewise.
28057 * include/glob.h: Likewise.
28058 * include/grp.h: Likewise.
28059 * include/libio.h: Likewise.
28060 * include/locale.h: Likewise.
28061 * include/math.h: Likewise.
28062 * include/net/if.h: Likewise.
28063 * include/netdb.h: Likewise.
28064 * include/netinet/in.h: Likewise.
28065 * include/pthread.h: Likewise.
28066 * include/pwd.h: Likewise.
28067 * include/regex.h: Likewise.
28068 * include/sched.h: Likewise.
28069 * include/search.h: Likewise.
28070 * include/setjmp.h: Likewise.
28071 * include/signal.h: Likewise.
28072 * include/stdio.h: Likewise.
28073 * include/stdlib.h: Likewise.
28074 * include/string.h: Likewise.
28075 * include/sys/cdefs.h: Likewise.
28076 * include/sys/mman.h: Likewise.
28077 * include/sys/msg.h: Likewise.
28078 * include/sys/resource.h: Likewise.
28079 * include/sys/select.h: Likewise.
28080 * include/sys/socket.h: Likewise.
28081 * include/sys/stat.h: Likewise.
28082 * include/sys/statvfs.h: Likewise.
28083 * include/sys/time.h: Likewise.
28084 * include/sys/times.h: Likewise.
28085 * include/sys/uio.h: Likewise.
28086 * include/sys/utsname.h: Likewise.
28087 * include/sys/wait.h: Likewise.
28088 * include/termios.h: Likewise.
28089 * include/time.h: Likewise.
28090 * include/ulimit.h: Likewise.
28091 * include/unistd.h: Likewise.
28092 * include/utime.h: Likewise.
28093 * include/wchar.h: Likewise.
28094 * include/wctype.h: Likewise.
28095 * include/wordexp.h: Likewise.
28096
28097 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28098
7a270350
UD
28099 * time/time.h: TIME_UTC must be a macro.
28100 Make timespec_get available for ISO C11 only as well.
28101
7724defc
UD
281022012-02-24 Ulrich Drepper <drepper@gmail.com>
28103
28104 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28105 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28106
6b1d1d46
JM
281072012-02-24 Joseph Myers <joseph@codesourcery.com>
28108
28109 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28110
0f8bbd69
JM
281112012-02-24 Joseph Myers <joseph@codesourcery.com>
28112
28113 * manual/texinfo.tex: Update to version 2012-01-19.16.
28114
66ab80bc
JM
281152012-02-24 Joseph Myers <joseph@codesourcery.com>
28116
28117 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28118
74981cc5
RM
281192012-02-24 Roland McGrath <roland@hack.frob.com>
28120
ee968201
RM
28121 [BZ #13738]
28122 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28123 * manual/fdl-1.3.texi: New file.
28124 * manual/fdl-1.1.texi: File removed.
28125
74981cc5
RM
28126 [BZ #13738]
28127 * manual/libc.texinfo (FDL_VERSION): New @set.
28128 Use it for mention of FDL in cover text.
28129 (Documentation License): Use it in @include file name.
28130
7bb764bc
JM
281312012-02-22 Joseph Myers <joseph@codesourcery.com>
28132 Roland McGrath <roland@hack.frob.com>
28133
28134 [BZ #5461]
28135 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28136 not LONG_LONG_MAX and LONG_LONG_MIN.
28137 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28138 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28139 name.
28140 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28141
6cbeae47
JM
281422012-02-22 Joseph Myers <joseph@codesourcery.com>
28143
28144 [BZ #2547]
28145 [BZ #11365]
28146 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28147 manipulate bits before adding and subtracting TWO23[sx].
28148 * math/libm-test.inc (nearbyint_test): Add more tests.
28149
fe45ce09
JM
281502012-02-22 Joseph Myers <joseph@codesourcery.com>
28151
28152 [BZ #2548]
28153 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28154 bits before adding and subtracting TWO23[sx].
28155 * math/libm-test.inc (rint_test): Add more tests.
28156 (rint_test_tonearest): Likewise.
28157 (rint_test_towardzero): Likewise.
28158 (rint_test_downward): Likewise.
28159 (rint_test_upward: Likewise.
28160
ff3b3d82
JM
281612012-02-22 Joseph Myers <joseph@codesourcery.com>
28162
28163 [BZ #10110]
28164 * include/stdc-predef.h: New file. Extracted from features.h.
28165 * include/features.h: Include stdc-predef.h.
28166 * Makefile (headers): Add stdc-predef.h.
28167 * CONFORMANCE (Compiler limitations): Update.
28168
ef0aab35
JM
281692012-02-22 Joseph Myers <joseph@codesourcery.com>
28170
28171 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28172
58639409
DM
281732012-02-21 David S. Miller <davem@davemloft.net>
28174
28175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28177
c0e70b25
DM
281782012-02-20 David S. Miller <davem@davemloft.net>
28179
28180 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28181 using a normal save/restore sequence, rather than allocating a
28182 dummy stack frame just to store a frame pointer and restore.
28183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28184
fb06851d
JM
281852012-02-21 Joseph Myers <joseph@codesourcery.com>
28186
28187 * manual/install.texi: Fix stray word in line-wrapped comment.
28188
7a8b71c3
DM
281892012-02-20 David S. Miller <davem@davemloft.net>
28190
d510c123
DM
28191 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28192 both binutils and gcc support GOTDATA.
28193
0722d7c2
DM
28194 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28195 "rd %pc" in the PIC register setup sequences.
28196
3d2b3019
DM
28197 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28198 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28199 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28200 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28201 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28206 (SYSCALL_ERROR_HANDLER): Likewise.
28207 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28210 (SYSCALL_ERROR_HANDLER): Likewise.
28211
c80098a9
DM
28212 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28213 (HAVE_GCC_GOTDATA): New.
28214 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28215 relocation support in both binutils and gcc.
28216 * sysdeps/sparc/elf/configure: Regenerate.
28217
3a2545a0
DM
28218 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28219 * sysdeps/sparc/sparc32/elf/configure: Delete.
28220 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28221 * sysdeps/sparc/sparc64/elf/configure: Delete.
28222 * sysdeps/sparc/elf/configure.in: New file.
28223 * sysdeps/sparc/elf/configure: Generate.
28224
7a8b71c3
DM
28225 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28226 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28227 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28228 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28229 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28230
f1e86fca
JM
282312012-02-21 Joseph Myers <joseph@codesourcery.com>
28232
28233 * manual/install.texi: Do not mention specific glibc version
28234 numbers.
28235 * manual/libc.texinfo (VERSION, UPDATED): Update.
28236 (@copying): Use @copyright{} and range of years.
28237
0e7dfaef
JM
282382012-02-21 Joseph Myers <joseph@codesourcery.com>
28239
28240 [BZ #13695]
28241 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28242 [crti.S not in sysdirs] (generated): Do not append.
28243 [crti.S not in sysdirs] (omit-deps): Likewise.
28244 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28245 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28246 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28247 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28248 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28249 Likewise.
28250 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28251 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28252 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28253 * csu/defs.awk: Remove file.
28254 * sysdeps/generic/initfini.c: Likewise.
28255 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28256 variable.
28257 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28258 Likewise.
28259
599af3ca
JM
282602012-02-20 Joseph Myers <joseph@codesourcery.com>
28261
28262 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28263 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28265 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28267 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28268 <bits/epoll.h>.
28269 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28270 (__EPOLL_PACKED): Define to empty if not defined by
28271 <bits/epoll.h>.
28272 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28274 bits/epoll.h.
28275
0e499750
JM
282762012-02-20 Joseph Myers <joseph@codesourcery.com>
28277
28278 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28279 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28281 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28282 <bits/timerfd.h>.
28283 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28285 bits/timerfd.h.
28286
5ad91f6e
JM
282872012-02-20 Joseph Myers <joseph@codesourcery.com>
28288
28289 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28290 in C locale.
28291 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295
06b99b02
AJ
282962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28297
28298 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28300
7638c0fd
AS
283012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28302
28303 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28304 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28305 defined.
28306 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28307 Likewise.
28308 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28309 entry for 2.16.
28310
92221550
AJ
283112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28312
28313 * math/w_acos.c: Use non-signaling floating-point comparisons.
28314 * math/w_acosf.c: Likewise.
28315 * math/w_acosh.c: Likewise.
28316 * math/w_acoshf.c: Likewise.
28317 * math/w_acoshl.c: Likewise.
28318 * math/w_acosl.c: Likewise.
28319 * math/w_asin.c: Likewise.
28320 * math/w_asinf.c: Likewise.
28321 * math/w_asinl.c: Likewise.
28322 * math/w_atanh.c: Likewise.
28323 * math/w_atanhf.c: Likewise.
28324 * math/w_atanhl.c: Likewise.
28325 * math/w_exp2.c: Likewise.
28326 * math/w_exp2f.c: Likewise.
28327 * math/w_exp2l.c: Likewise.
28328 * math/w_j0.c: Likewise.
28329 * math/w_j0f.c: Likewise.
28330 * math/w_j0l.c: Likewise.
28331 * math/w_j1.c: Likewise.
28332 * math/w_j1f.c: Likewise.
28333 * math/w_j1l.c: Likewise.
28334 * math/w_jn.c: Likewise.
28335 * math/w_jnf.c: Likewise.
28336 * math/w_log.c: Likewise.
28337 * math/w_log10.c: Likewise.
28338 * math/w_log10f.c: Likewise.
28339 * math/w_log10l.c: Likewise.
28340 * math/w_log2.c: Likewise.
28341 * math/w_log2f.c: Likewise.
28342 * math/w_log2l.c: Likewise.
28343 * math/w_logf.c: Likewise.
28344 * math/w_logl.c: Likewise.
28345 * math/w_sqrt.c: Likewise.
28346 * math/w_sqrtf.c: Likewise.
28347 * math/w_sqrtl.c: Likewise.
28348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28349 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28353
ebaf36eb
JM
283542012-02-19 Joseph Myers <joseph@codesourcery.com>
28355
28356 [BZ #9739]
28357 * manual/string.texi (strnlen): Use correct parameter name in
28358 equivalent expression.
28359
71c254a6
JM
283602012-02-19 Joseph Myers <joseph@codesourcery.com>
28361
28362 [BZ #11174]
28363 * manual/users.texi (seteuid): Consistently use neweuid for
28364 argument name.
28365
16d2c631
JM
283662012-02-19 Joseph Myers <joseph@codesourcery.com>
28367
28368 [BZ #13704]
28369 * manual/nss.texi (Services in the NSS configuration): Correct
28370 list of services in example configuration file.
28371
cd837b09
NB
283722012-02-19 Nick Bowler <nbowler@draconx.ca>
28373
28374 [BZ #11322]
28375 * manual/arith.texi: Remove statements about negative zero
28376 behaving identically to zero.
28377
02c4bbad
JM
283782012-02-18 Joseph Myers <joseph@codesourcery.com>
28379
28380 [BZ #5993]
28381 * manual/install.texi: Do not document upgrading from libc5.
28382
366842e7
JM
283832012-02-18 Joseph Myers <joseph@codesourcery.com>
28384
28385 [BZ #4596]
28386 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28387
dd54084d
DM
283882012-02-18 David S. Miller <davem@davemloft.net>
28389
28390 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28391 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28392 %o7 across the call.
28393 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28394 instead.
28395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28396 SETUP_PIC_REG_LEAF.
28397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28398 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28399 * sysdeps/sparc/crtn.S: Likewise.
28400
2bcc53a3
UD
284012012-02-17 Ulrich Drepper <drepper@gmail.com>
28402
28403 * aout/Makefile: Remove.
28404
09c093b5
RK
284052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28406
28407 [BZ #13058]
28408 * manual/examples/argp-ex1.c (main): Format definition in GNU
28409 style.
28410 * manual/examples/argp-ex2.c (main): Likewise.
28411 * manual/examples/argp-ex3.c (main): Likewise.
28412 * manual/examples/argp-ex4.c (main): Likewise.
28413 * manual/examples/longopt.c (main): Use new-style prototype
28414 definition.
28415 * manual/examples/strncat.c (main): Specify return type and use
28416 (void) for arguments.
28417 * manual/examples/subopt.c (main): Use char **argv argument.
28418
2ee633a2
JM
284192012-02-17 Joseph Myers <joseph@codesourcery.com>
28420
28421 [BZ #5077]
28422 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28423 rounding modes.
28424
0520adde
FB
284252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28426
28427 [BZ #6907]
28428 * manual/string.texi (strchr): Change when strchrnul is
28429 recommended.
28430
3f4081cd
DGM
284312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28432
28433 [BZ #174]
28434 * manual/locale.texi (setlocale): Document LOCPATH.
28435
d1b10e78
JM
284362012-02-17 Joseph Myers <joseph@codesourcery.com>
28437
28438 [BZ #10210]
28439 * manual/process.texi (execle): Move @dots{} before last argument.
28440
79c6869c
PB
284412012-02-17 Paul Bolle <pebolle@tiscali.nl>
28442
28443 [BZ #12047]
28444 * manual/charset.texi (Generic Charset Conversion): Fix typo
28445 (LC_TYPE -> LC_CTYPE).
28446
cc6e48bc
NB
284472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28448
28449 [BZ #5805]
28450 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28451 (scalbnf): Likewise.
28452 (scalbnl): Likewise.
28453 (scalbln): Likewise.
28454 (scalblnf): Likewise.
28455 (scalblnl): Likewise.
28456 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28457 (vwarnx): Likewise.
28458 (verr): Likewise.
28459 (verrx): Likewise.
28460 * manual/filesys.texi (telldir): Use braces around return type.
28461 * manual/llio.texi (mmap): Add space after comma.
28462 (mmap64): Likewise.
28463 * manual/math.texi (jn): Use @var{} on parameter names.
28464 (jnf): Likewise.
28465 (jnl): Likewise.
28466 (yn): Likewise.
28467 (ynf): Likewise.
28468 (ynl): Likewise.
28469 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28470 line.
28471 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28472 "...".
28473 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28474 (sched_get_priority_max): Likewise.
28475 * manual/signal.texi (sigvec): Add space after comma.
28476 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28477 names.
28478 (if_indextoname): Likewise.
28479 (if_freenameindex): Likewise.
28480 (sendto): Use ',' instead of '.' in prototype.
28481 * manual/startup.texi (syscall): Use @dots{} instead of literal
28482 "...".
28483 * manual/stdio.texi (__fpending): Separate initial words of
28484 paragraph from @deftypefun line.
28485 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28486 "...".
28487 (vsyslog): Use @var{} on parameter names.
28488 * manual/terminal.texi (stty): Use @var{} on parameter names.
28489 * manual/users.texi (getutmp): Use @var{} on parameter names.
28490 (getutmpx): Likewise.
28491
5b23062f
JM
284922012-02-17 Joseph Myers <joseph@codesourcery.com>
28493
28494 [BZ #6884]
28495 * manual/stdio.texi (fopen): Fix typos in description of
28496 ",ccs=STRING".
28497
8dee4833
AJ
284982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28499
28500 [BZ #4026]
28501 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28502 get clock_id definition.
28503
9078ce93
TS
285042012-02-17 Thomas Schwinge <thomas@schwinge.name>
28505
28506 [BZ #4822]
28507 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28508 (madvise): Cast every argument to void on its own.
28509
3835c55f
JM
285102012-02-17 Joseph Myers <joseph@codesourcery.com>
28511
28512 [BZ #9902]
28513 * manual/startup.texi (Exit Status): Fix typo.
28514
35c47e37
JM
285152012-02-17 Joseph Myers <joseph@codesourcery.com>
28516
28517 [BZ #10140]
28518 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28519 * manual/examples/argp-ex2.c: Likewise.
28520 * manual/examples/argp-ex3.c: Likewise.
28521
e3b69ca7
RH
285222012-02-16 Richard Henderson <rth@redhat.com>
28523
28524 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28525 * sysdeps/s390/s390-32/initfini.c: Remove.
28526 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28527 * sysdeps/s390/s390-64/initfini.c: Remove.
28528
df83af67
KK
285292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28530
28531 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28532 compiler output for sysdeps/generic/initfini.c.
28533 * sysdeps/sh/elf/initfini.c: Remove file.
28534
f63f3380
DM
285352012-02-16 David S. Miller <davem@davemloft.net>
28536
fb59b3a4
DM
28537 [BZ #11494]
28538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28539
f63f3380
DM
28540 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28541 * sysdeps/sparc/crti.S: New file.
28542 * sysdeps/sparc/crtn.S: New file.
28543 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28544 * sysdeps/sparc/sparc64/Makefile: Likewise.
28545
df6a4a4a
MF
285462012-02-15 Mike Frysinger <vapier@gentoo.org>
28547
6dd8f3dc 28548 [BZ #3335]
df6a4a4a
MF
28549 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28550
1cac7236
RM
285512012-02-15 Roland McGrath <roland@hack.frob.com>
28552
d2c736f8
RM
28553 [BZ #4822]
28554 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28555
1cac7236
RM
28556 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28557 (write, read, close): Likewise.
28558 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28559
8e475601
JM
285602012-02-15 Joseph Myers <joseph@codesourcery.com>
28561
28562 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28563 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28565 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28566 <bits/signalfd.h>.
28567 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28569 bits/signalfd.h.
28570
ed656b40
MP
285712012-02-14 Marek Polacek <polacek@redhat.com>
28572
28573 * sysdeps/x86_64/crti.S: New file.
28574 * sysdeps/x86_64/crtn.S: New file.
28575 * sysdeps/x86_64/elf/initfini.c: Remove file.
28576
2a979d3a
JM
285772012-02-13 Joseph Myers <joseph@codesourcery.com>
28578
28579 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28580 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28581 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28582 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28583 <bits/inotify.h>.
28584 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28586 bits/inotify.h.
28587
2a418ac3
JM
285882012-02-13 Joseph Myers <joseph@codesourcery.com>
28589
28590 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28591 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28592 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28593 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28594 <bits/eventfd.h>.
28595 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28597 bits/eventfd.h.
28598
fb779be7
TS
285992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28600
e19e83c5
RM
28601 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28602 __feraiseexcept instead of feraiseexcept.
7c35ffed 28603
fb779be7
TS
28604 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28605 nanosleep invocations.
28606 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28607 strings, and add error checking for a nanosleep invocations.
28608
59ba27a6
PE
286092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28610
28611 Replace FSF snail mail address with URLs, as per GNU coding standards.
28612 Most of the snail mail addresses were wrong anyway, and omitting
28613 them makes the source code easier to maintain. Almost all of the
28614 changes are to license notices and to locale LC_IDENTIFICATION
28615 addresses, except for this one:
28616 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28617 not its snail mail address.
28618
57b957eb
RH
286192012-02-09 Richard Henderson <rth@twiddle.net>
28620
af850b1c
RH
28621 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28622 of kernel-features.h.
28623
57b957eb
RH
28624 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28625
6b73181a
MP
286262012-02-08 Marek Polacek <polacek@redhat.com>
28627
28628 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28629 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28630 * sysdeps/gnu/_G_config.h: Likewise.
28631 * sysdeps/generic/_G_config.h: Likewise.
28632
26ecc33a
AS
286332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28634
6c6dbc63
AS
28635 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28636 tests.
28637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28638
e216c012
AS
28639 * sysdeps/powerpc/powerpc32/crti.S: New file.
28640 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28641 * sysdeps/powerpc/powerpc64/crti.S: New file.
28642 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28643
26ecc33a
AS
28644 * Makeconfig (have-initfini): Don't set.
28645 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28646 * configure.in (nopic_initfini): Don't substitute.
28647 * config.h.in (HAVE_INITFINI): Don't #undef.
28648 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28649 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28650
3add8e13
JM
286512012-02-08 Joseph Myers <joseph@codesourcery.com>
28652
28653 Support crti.S and crtn.S provided directly by architectures.
28654 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28655 [crti.S in sysdirs] (omit-deps): Likewise.
28656 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28657 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28658 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28659 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28660 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28661 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28662 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28663 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28664 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28665 compiler output for sysdeps/generic/initfini.c.
28666 * sysdeps/i386/elf/Makefile: Remove file.
28667 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28668
a22f12b4
MP
286692012-02-07 Marek Polacek <polacek@redhat.com>
28670
28671 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28672 * sysdeps/gnu/_G_config.h: Likewise.
28673 * sysdeps/mach/hurd/_G_config.h: Likewise.
28674
148cf100
MP
286752012-02-07 Marek Polacek <polacek@redhat.com>
28676
28677 * math/Makefile (tests): Add tst-CMPLX2.
28678 * math/tst-CMPLX2.c: New file.
28679
cfdc0dd7
AS
286802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28681
84ba42c4
AS
28682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28683
cfdc0dd7
AS
28684 * math/libm-test.inc (jn_test): Add missing L suffix.
28685
622c86f4
MP
286862012-02-06 Marek Polacek <polacek@redhat.com>
28687
28688 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28689 * sysdeps/i386/fpu/e_powf.S: Likewise.
28690 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28691 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28692 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28693 * sysdeps/i386/fpu/e_pow.S: Likewise.
28694 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28695 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28696 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28697 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28698 * sysdeps/i386/fpu/e_log2.S: Likewise.
28699 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28701 * sysdeps/i386/fpu/e_powl.S: Likewise.
28702 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28704 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28705 * sysdeps/i386/fpu/e_logl.S: Likewise.
28706 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28707 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28708 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28709 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28712 * sysdeps/i386/fpu/e_log.S: Likewise.
28713 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28714 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28715 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28716 * sysdeps/i386/fpu/e_logf.S: Likewise.
28717 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28718 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28719 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28720 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28721 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28722 * sysdeps/i386/fpu/e_log10.S: Likewise.
28723 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28725 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28726 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28728 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28729 * sysdeps/i386/asm-syntax.h: Likewise.
28730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28733 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28734 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28736 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28737 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28739 * sysdeps/powerpc/sysdep.h: Likewise.
28740 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28742
d4a54ac6
JM
287432012-02-06 Joseph Myers <joseph@codesourcery.com>
28744
28745 [BZ #411]
28746 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28747
314054ea
JM
287482012-02-06 Joseph Myers <joseph@codesourcery.com>
28749
28750 * sysdeps/i386/sysdep.h: Include <features.h>.
28751 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28752 version.
28753
d8e0ca50
JM
287542012-02-05 Joseph Myers <joseph@codesourcery.com>
28755
28756 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28757 Define.
28758 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28759 LOAD_PIC_REG_STR.
28760
b1da7dd9
JM
287612012-02-03 Joseph Myers <joseph@codesourcery.com>
28762
28763 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28764 (SETUP_PIC_REG): Use GET_PC_THUNK.
28765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28766 macro.
28767
9a1d9254
JM
287682012-02-03 Joseph Myers <joseph@codesourcery.com>
28769
28770 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28771 for non-PIC compilation.
28772 (SETUP_PIC_REG): Add .p2align directive.
28773 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28774 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28775 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28776 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28777 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28778 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28779 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28780 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28781 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28782 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28783 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28784 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28785 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28786 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28787 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28788 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28789 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28790 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28791 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28792 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28796 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28799 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28801 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28802 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28803 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28804 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28805 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28806 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28807 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28808 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28809 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28810 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28811 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28812 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28813 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28814
65dc3b75
JM
288152012-02-03 Joseph Myers <joseph@codesourcery.com>
28816
28817 * math/tst-CMPLX.c: Include <stdio.h>.
28818
d55bf177
JM
288192012-01-31 Joseph Myers <joseph@codesourcery.com>
28820
28821 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28822 float.
28823 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28824 * sysdeps/sparc/bits/mathdef.h: Likewise.
28825
69db4f8f
MP
288262012-01-31 Marek Polacek <polacek@redhat.com>
28827
28828 * libio/libio.h: Don't define _PARAMS.
28829 * locale/programs/config.h: Don't define PARAMS.
28830 * stdlib/strtol_l.c: Likewise.
28831 (__strtol_l): Remove PARAMS from the prototype.
28832
41b81892
UD
288332012-01-31 Ulrich Drepper <drepper@gmail.com>
28834
3b49edc0
UD
28835 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28836 names. Just use the correct names. Remove unnecessary wrapper
28837 functions.
28838 * malloc/arena.c: Likewise.
28839 * malloc/hooks.c: Likewise.
28840
41b81892
UD
28841 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28842 ARENA_TEST says not to. Simplify test for creation of a new arena.
28843 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28844
27a25b6e
UD
288452012-01-30 Ulrich Drepper <drepper@gmail.com>
28846
28847 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28848 into tail calls.
28849 (update_get_addr): New function.
28850 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28851 GET_ADDR_MODULE parameter.
28852
c8a89e7d
JM
288532012-01-30 Joseph Myers <joseph@codesourcery.com>
28854
28855 * crypt/cert.c: Remove __STDC__ conditionals.
28856 * crypt/crypt-entry.c: Likewise.
28857 * crypt/crypt_util.c: Likewise.
28858 * libio/filedoalloc.c: Likewise.
28859 * libio/fileops.c: Likewise.
28860 * libio/genops.c: Likewise.
28861 * libio/iofclose.c: Likewise.
28862 * libio/iofdopen.c: Likewise.
28863 * libio/iofopen.c: Likewise.
28864 * libio/iofopen64.c: Likewise.
28865 * libio/iogetdelim.c: Likewise.
28866 * libio/iopopen.c: Likewise.
28867 * libio/obprintf.c: Likewise.
28868 * libio/oldfileops.c: Likewise.
28869 * libio/oldiofclose.c: Likewise.
28870 * libio/oldiofdopen.c: Likewise.
28871 * libio/oldiofopen.c: Likewise.
28872 * libio/oldiopopen.c: Likewise.
28873 * libio/wfiledoalloc.c: Likewise.
28874 * libio/wgenops.c: Likewise.
28875 * locale/programs/xmalloc.c: Likewise.
28876 * misc/syslog.c: Likewise.
28877 * stdio-common/xbug.c: Likewise.
28878 * string/memchr.c: Likewise.
28879 * string/memcmp.c: Likewise.
28880 * string/memrchr.c: Likewise.
28881 * string/rawmemchr.c: Likewise.
28882 * sysdeps/posix/getcwd.c: Likewise.
28883 * time/strftime_l.c: Likewise.
28884
3b100462
JM
288852012-01-30 Joseph Myers <joseph@codesourcery.com>
28886
28887 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28888 * config.make.in (config-cflags-sse2avx): Define.
28889 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28890 Fix typo.
28891
607998af
CM
288922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28893
28894 * scripts/config.guess: Update from upstream config git repository.
28895 * scripts/config.sub: Likewise.
28896
3601428f
CM
288972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28898
3ac8b282
CM
28899 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28900 (EM_NUM): Update.
28901 (R_TILEPRO_*, R_TILEGX_*): New macros.
28902
e034841e
CM
28903 * scripts/firstversions.awk: Fix bug in version range handling.
28904
540d7568
CM
28905 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28906
3601428f
CM
28907 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28908
463de862
CM
28909 * include/sys/epoll.h: New file.
28910 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28911 libc_hidden_def.
28912
73139a76
UD
289132012-01-28 Ulrich Drepper <drepper@gmail.com>
28914
96bc5b45
UD
28915 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28916 Avoid unnecessary __WORDSIZE == 64 test.
28917 (fmaxf): Use VEX format if possible.
28918 (fmax): Likewise.
28919 (fminf): Likewise.
28920 (fmin): Likewise.
28921
56f6f6a2
UD
28922 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28923 * math/math_private.h: Remove libc_fegetround* and
28924 libc_fesetround*.
28925 * sysdeps/i386/configure.in: Check for -msse2avx.
28926 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28927 also if SSE2AVX is defined.
28928 Remove libc_fegetround* and libc_fesetround*.
28929 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28930 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28932 of HAS_YMM_USABLE.
28933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28938
73139a76
UD
28939 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28940
d73f93a4
AZ
289412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28942
28943 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28944 size is not set.
28945 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28946
6ee65ed6
UD
289472012-01-27 Ulrich Drepper <drepper@gmail.com>
28948
28949 [BZ #13618]
28950 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28951 relocation.
28952 * Makeconfig (libm): Define.
28953 * elf/Makefile: Add rules to build and run tst-relsort1.
28954 * elf/tst-relsort1.c: New file.
28955 * elf/tst-relsort1mod1.c: New file.
28956 * elf/tst-relsort1mod2.c: New file.
28957
8db21882
JM
289582012-01-27 Joseph Myers <joseph@codesourcery.com>
28959
28960 * math/s_ldexp.c: Remove __STDC__ conditionals.
28961 * math/s_ldexpf.c: Likewise.
28962 * math/s_ldexpl.c: Likewise.
28963 * math/s_nextafter.c: Likewise.
28964 * math/s_nexttowardf.c: Likewise.
28965 * math/s_significand.c: Likewise.
28966 * math/s_significandf.c: Likewise.
28967 * math/s_significandl.c: Likewise.
28968 * math/w_jnl.c: Likewise.
28969 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28970 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28971 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28972 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28973 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28988 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28989 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28991 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28993 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28996 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28997 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28998 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28999 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29000 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29003 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29004 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29005 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29006 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29007 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29008 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29009 * sysdeps/ieee754/k_standard.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29085 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29089 * sysdeps/ieee754/s_matherr.c: Likewise.
29090 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29091 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29092 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29093 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29094
965a54a4
JM
290952012-01-26 Joseph Myers <joseph@codesourcery.com>
29096
29097 * crypt/md5.h: Remove __STDC__ conditionals.
29098 * libio/libioP.h: Likewise.
29099 * locale/programs/config.h: Likewise.
29100 * sysdeps/generic/sysdep.h: Likewise.
29101 * sysdeps/i386/asm-syntax.h: Likewise.
29102 * sysdeps/s390/asm-syntax.h: Likewise.
29103 * sysdeps/unix/sysdep.h: Likewise.
29104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29106
7071ad79
JM
291072012-01-26 Joseph Myers <joseph@codesourcery.com>
29108
29109 * libio/libio.h: Remove __STDC__ conditionals.
29110 * malloc/obstack.h: Likewise.
29111 * math/complex.h: Likewise.
29112 * math/math.h: Likewise.
29113 * sysdeps/generic/_G_config.h: Likewise.
29114 * sysdeps/gnu/_G_config.h: Likewise.
29115 * sysdeps/mach/hurd/_G_config.h: Likewise.
29116 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29117 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29118 * sysdeps/sparc/bits/mathdef.h: Likewise.
29119
afc5ed09
UD
291202012-01-26 Ulrich Drepper <drepper@gmail.com>
29121
29122 [BZ #13583]
29123 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29124 Clean up HAS_* macros.
afc5ed09 29125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29126 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29127 possible.
29128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29129 HAS_AVX.
29130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29135
bdb6de1d
JM
291362012-01-25 Joseph Myers <joseph@codesourcery.com>
29137
29138 * elf/tst-unique3.cc (gets): Remove declaration.
29139 * elf/tst-unique3lib.cc (gets): Likewise.
29140 * elf/tst-unique3lib2.cc (gets): Likewise.
29141 * elf/tst-unique4.cc (gets): Likewise.
29142
b15549e6
UD
291432012-01-24 Ulrich Drepper <drepper@gmail.com>
29144
29145 * include/stdio.h: Add C++ protection. Add gets declarations and
29146 definitions.
29147 * debug/tst-chk1.c: Don't declare gets here.
29148 * stdio-common/tst-gets.c: Likewise.
29149
a037381f
JM
291502012-01-24 Joseph Myers <joseph@codesourcery.com>
29151
29152 * posix/glob: Remove directory.
29153
f1d4aa75
JM
291542012-01-24 Joseph Myers <joseph@codesourcery.com>
29155
29156 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29157
81c0c964
PT
291582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29159
29160 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29161 of the non-standard EPFNOSUPPORT.
29162
0ea698ae
ST
291632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29164
29165 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29166 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29167 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29168
d220b117
UD
291692012-01-21 Ulrich Drepper <drepper@gmail.com>
29170
29171 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29172
3e1aa84e
UD
291732012-01-20 Ulrich Drepper <drepper@gmail.com>
29174
29175 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29176 transient errors.
29177 * nscd/grpcache.c (cache_addgr): Likewise.
29178 * nscd/hstcache.c (cache_addhst): Likewise.
29179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29180 * nscd/pwdcache.c (cache_addpw): Likewise.
29181 * nscd/servicescache.c (cache_addserv): Likewise.
29182
400aa020
UD
291832012-01-16 Ulrich Drepper <drepper@gmail.com>
29184
d77e7869
UD
29185 * malloc/malloc.c: Various cleanups.
29186 * malloc/hooks.c: Likewise.
29187
400aa020
UD
29188 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29189 * stdlib/bug-fmtmsg1.c: New file.
29190
29191 * stdlib/fmtmsg.c (init): Add missing unlock.
29192 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29193
e0a309cf
MP
291942012-01-12 Marek Polacek <polacek@redhat.com>
29195
29196 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29197 and _GNU_SOURCE.
29198
929d11c7
WS
291992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29200
29201 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29202 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29203 macro to ensure uniqueness of label name.
29204 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29205 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29206
41d0e869
UD
292072012-01-11 Ulrich Drepper <drepper@gmail.com>
29208
0cc5ed3b
UD
29209 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29210
41d0e869
UD
29211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29212 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29215
a47a831a
UD
292162012-01-10 Ulrich Drepper <drepper@gmail.com>
29217
daa891c0
UD
29218 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29219
29220 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29221 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29222 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29223
e58ef0f2
UD
29224 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29225
a47a831a 29226 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29227 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29230
29231 * math/bits/math-finite.h: Add ldexp support.
29232
a0bfc9c7
MP
292332012-01-10 Marek Polacek <polacek@redhat.com>
29234
29235 * locale/programs/localedef.h (show_archive_content): Add noreturn
29236 attribute.
29237
d6e97a1d
UD
292382012-01-09 Ulrich Drepper <drepper@gmail.com>
29239
29240 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29241
d5835c26
UD
292422012-01-08 Ulrich Drepper <drepper@gmail.com>
29243
e5f484c6
UD
29244 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29245
d5835c26
UD
29246 * io/Makefile (headers): Add bits/poll2.h.
29247
d1f741e9
WS
292482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29249
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29251 typo #include statement.
29252
ec09c1c4
UD
292532012-01-08 Ulrich Drepper <drepper@gmail.com>
29254
29255 * include/sys/cdefs.h: Define __attribute_alloc_size.
29256 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29257 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29258 * elf/pldd.c: Likewise.
29259 * iconv/iconv_charmap.c: Likewise.
29260 * iconv/iconvconfig.c: Likewise.
29261 * iconv/strtab.c: Likewise.
29262 * locale/programs/locale.c: Likewise.
29263 * locale/programs/localedef.h: Likewise.
29264 * locale/programs/simple-hash.c: Likewise.
29265 * nscd/nscd.h: Likewise.
29266 * nss/makedb.c: Likewise.
29267 * sysdeps/generic/ldconfig.h: Likewise.
29268 * locale/programs/localedef.c: Remove xmalloc prototype.
29269 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29270
20b38e03
PP
292712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29272
29273 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29274 appropriate.
29275
a0da5fe1
UD
292762012-01-08 Ulrich Drepper <drepper@gmail.com>
29277
1d5a644a 29278 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29279 * math/tst-CMPLX.c: New file.
1d5a644a 29280
8784a6db
UD
29281 * math/complex.h (CMPLXL): Fix typo.
29282
d9a216c0
UD
29283 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29284 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29285 GLIBC_2.16.
29286 * debug/tst-chk1.c: Add poll and ppoll tests.
29287 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29288 * include/sys/poll.h: Add hidden proto for ppoll.
29289 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29290 * sysdeps/mach/hurd/ppoll.c: Likewise.
29291 * io/ppoll.c: Likewise.
29292 * debug/poll_chk.c: New file.
29293 * debug/ppoll_chk.c: New file.
29294 * include/bits/poll2.h: New file.
29295 * io/bits/poll2.h: New file.
29296
ac097f5c
UD
29297 [BZ #1350]
29298 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29299
2119dcfa
UD
29300 * configure.in: static is always set to yes. Remove.
29301 * config.make.in: Don't set build-static.
29302 * Makeconfig: Remove use of build-static.
29303 * dlfcn/Makefile: Likewise.
29304 * elf/Makefile: Likewise.
29305 * math/Makefile: Likewise.
29306 * misc/Makefile: Likewise.
29307 * nptl/Makefile: Likewise.
29308 * sysdeps/mach/hurd/Makefile: Likewise.
29309
121766a9
UD
29310 * configure.in: PWD_P is not used anymore.
29311 * config.make.in: Remove PWD_P entry.
29312
51a1d39c 29313 * configure.in: Remove last remnants of RANLIB.
8720d066 29314 No need to check for signed size_t anymore.
215f4bdc
UD
29315 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29316 and IA-64.
3857022a 29317 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29318 * aclocal.m4: Likewise.
29319
d3ed7225
UD
29320 * wcsmbs/mbrtoc16.c: Implement using towc function.
29321 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29322 * wcsmbs/wcsmbsload.c: Likewise.
29323 * iconv/gconv_simple.c: Likewise.
29324 * iconv/gconv_int.h: Likewise.
29325 * iconv/gconv_builtin.h: Likewise.
29326 * iconv/iconv_prog.c: Remove CHAR16 handling.
29327
29328 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29329
29330 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29331
a0da5fe1
UD
29332 * configure.in: Remove --with-elf and --enable-bounded options.
29333 Dont set base_machine for ia64. More non-ELF conditions removed.
29334 Remove testing and setting of leading underscore information.
29335 * config.make.in (build-bounded): Set to no.
29336 * config.h.in: Remove NO_UNDERSCORES entry.
29337 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29338 them.
29339 * csu/start.c: Remove !NO_UNDERSCORE code.
29340 * locale/localeinfo.h: Likewise.
29341 * sysdeps/generic/machine-gmon.h: Likewise.
29342 * sysdeps/generic/sysdep.h: Likewise.
29343 * sysdeps/i386/sysdep.h: Likewise.
29344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29345 * sysdeps/mach/sysdep.h: Likewise.
29346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29348 * sysdeps/sh/sysdep.h: Likewise.
29349 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29350 * sysdeps/unix/i386/sysdep.S: Likewise.
29351 * sysdeps/unix/sparc/start.c: Likewise.
29352 * sysdeps/unix/sparc/sysdep.S: Likewise.
29353 * sysdeps/unix/sparc/sysdep.h: Likewise.
29354 * sysdeps/unix/start.c: Likewise.
29355 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29356 * sysdeps/x86_64/sysdep.h: Likewise.
29357
df78418a
UD
293582012-01-07 Ulrich Drepper <drepper@gmail.com>
29359
a784e502
UD
29360 [BZ #13553]
29361 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29362 for non-gcc.
29363 * argp/argp-fmtstream.h: Use const instead __const.
29364 * argp/argp.h: Likewise.
29365 * assert/assert.h: Likewise.
29366 * bits/fenv.h: Likewise.
29367 * bits/sched.h: Likewise.
29368 * bits/sigset.h: Likewise.
29369 * bits/sigthread.h: Likewise.
29370 * catgets/nl_types.h: Likewise.
29371 * conform/data/pthread.h-data: Likewise.
29372 * crypt/crypt-private.h: Likewise.
29373 * crypt/crypt.h: Likewise.
29374 * crypt/crypt_util.c: Likewise.
29375 * ctype/ctype.h: Likewise.
29376 * debug/execinfo.h: Likewise.
29377 * debug/mbsnrtowcs_chk.c: Likewise.
29378 * debug/mbsrtowcs_chk.c: Likewise.
29379 * debug/wcsnrtombs_chk.c: Likewise.
29380 * debug/wcsrtombs_chk.c: Likewise.
29381 * debug/wcstombs_chk.c: Likewise.
29382 * dirent/dirent.h: Likewise.
29383 * dlfcn/dlfcn.h: Likewise.
29384 * elf/neededtest4.c: Likewise.
29385 * grp/grp.h: Likewise.
29386 * gshadow/gshadow.h: Likewise.
29387 * iconv/gconv.h: Likewise.
29388 * iconv/gconv_int.h: Likewise.
29389 * iconv/gconv_simple.c: Likewise.
29390 * iconv/iconv.h: Likewise.
29391 * iconv/loop.c: Likewise.
29392 * iconv/skeleton.c: Likewise.
29393 * include/aio.h: Likewise.
29394 * include/aliases.h: Likewise.
29395 * include/argz.h: Likewise.
29396 * include/arpa/inet.h: Likewise.
29397 * include/assert.h: Likewise.
29398 * include/dirent.h: Likewise.
29399 * include/dlfcn.h: Likewise.
29400 * include/execinfo.h: Likewise.
29401 * include/fcntl.h: Likewise.
29402 * include/fenv.h: Likewise.
29403 * include/glob.h: Likewise.
29404 * include/grp.h: Likewise.
29405 * include/libintl.h: Likewise.
29406 * include/mntent.h: Likewise.
29407 * include/netdb.h: Likewise.
29408 * include/pwd.h: Likewise.
29409 * include/rpc/netdb.h: Likewise.
29410 * include/sched.h: Likewise.
29411 * include/search.h: Likewise.
29412 * include/shadow.h: Likewise.
29413 * include/signal.h: Likewise.
29414 * include/stdio.h: Likewise.
29415 * include/stdlib.h: Likewise.
29416 * include/string.h: Likewise.
29417 * include/sys/socket.h: Likewise.
29418 * include/sys/stat.h: Likewise.
29419 * include/sys/statfs.h: Likewise.
29420 * include/sys/statvfs.h: Likewise.
29421 * include/sys/syslog.h: Likewise.
29422 * include/sys/time.h: Likewise.
29423 * include/sys/uio.h: Likewise.
29424 * include/time.h: Likewise.
29425 * include/unistd.h: Likewise.
29426 * include/utmp.h: Likewise.
29427 * include/wchar.h: Likewise.
29428 * include/wctype.h: Likewise.
29429 * inet/aliases.h: Likewise.
29430 * inet/arpa/inet.h: Likewise.
29431 * inet/netinet/ether.h: Likewise.
29432 * inet/netinet/in.h: Likewise.
29433 * intl/libintl.h: Likewise.
29434 * io/bits/fcntl2.h: Likewise.
29435 * io/fcntl.h: Likewise.
29436 * io/ftw.h: Likewise.
29437 * io/sys/poll.h: Likewise.
29438 * io/sys/stat.h: Likewise.
29439 * io/sys/statfs.h: Likewise.
29440 * io/sys/statvfs.h: Likewise.
29441 * io/utime.h: Likewise.
29442 * libio/bits/stdio.h: Likewise.
29443 * libio/bits/stdio2.h: Likewise.
29444 * libio/libio.h: Likewise.
29445 * libio/libioP.h: Likewise.
29446 * libio/stdio.h: Likewise.
29447 * locale/lc-ctype.c: Likewise.
29448 * locale/locale.h: Likewise.
29449 * login/utmp.h: Likewise.
29450 * malloc/arena.c: Likewise.
29451 * malloc/malloc.c: Likewise.
29452 * malloc/malloc.h: Likewise.
29453 * malloc/mcheck.c: Likewise.
29454 * malloc/mtrace.c: Likewise.
29455 * math/bits/mathcalls.h: Likewise.
29456 * math/fenv.h: Likewise.
29457 * math/math_private.h: Likewise.
29458 * misc/bits/error.h: Likewise.
29459 * misc/bits/syslog.h: Likewise.
29460 * misc/err.h: Likewise.
29461 * misc/error.h: Likewise.
29462 * misc/fstab.h: Likewise.
29463 * misc/mntent.h: Likewise.
29464 * misc/regexp.h: Likewise.
29465 * misc/search.h: Likewise.
29466 * misc/sgtty.h: Likewise.
29467 * misc/sys/mman.h: Likewise.
29468 * misc/sys/syslog.h: Likewise.
29469 * misc/sys/uio.h: Likewise.
29470 * misc/sys/xattr.h: Likewise.
29471 * misc/ttyent.h: Likewise.
29472 * nis/rpcsvc/ypclnt.h: Likewise.
29473 * nss/nss.h: Likewise.
29474 * posix/bits/unistd.h: Likewise.
29475 * posix/fnmatch.h: Likewise.
29476 * posix/glob.h: Likewise.
29477 * posix/sched.h: Likewise.
29478 * posix/spawn.h: Likewise.
29479 * posix/sys/wait.h: Likewise.
29480 * posix/unistd.h: Likewise.
29481 * posix/wordexp.h: Likewise.
29482 * pwd/pwd.h: Likewise.
29483 * resolv/netdb.h: Likewise.
29484 * resource/sys/resource.h: Likewise.
29485 * rt/aio.h: Likewise.
29486 * rt/bits/mqueue2.h: Likewise.
29487 * rt/mqueue.h: Likewise.
29488 * shadow/shadow.h: Likewise.
29489 * signal/signal.h: Likewise.
29490 * socket/send.c: Likewise.
29491 * socket/sendto.c: Likewise.
29492 * socket/sys/socket.h: Likewise.
29493 * stdio-common/printf.h: Likewise.
29494 * stdlib/bits/stdlib.h: Likewise.
29495 * stdlib/fmtmsg.h: Likewise.
29496 * stdlib/monetary.h: Likewise.
29497 * stdlib/stdlib.h: Likewise.
29498 * stdlib/ucontext.h: Likewise.
29499 * streams/stropts.h: Likewise.
29500 * string/argz.h: Likewise.
29501 * string/bits/string2.h: Likewise.
29502 * string/string.h: Likewise.
29503 * string/strings.h: Likewise.
29504 * sunrpc/rpc/auth.h: Likewise.
29505 * sunrpc/rpc/auth_des.h: Likewise.
29506 * sunrpc/rpc/clnt.h: Likewise.
29507 * sunrpc/rpc/netdb.h: Likewise.
29508 * sunrpc/rpc/pmap_clnt.h: Likewise.
29509 * sunrpc/rpc/xdr.h: Likewise.
29510 * sysdeps/generic/inttypes.h: Likewise.
29511 * sysdeps/generic/net/if.h: Likewise.
29512 * sysdeps/generic/sys/swap.h: Likewise.
29513 * sysdeps/gnu/net/if.h: Likewise.
29514 * sysdeps/gnu/utmpx.h: Likewise.
29515 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29516 * sysdeps/i386/i486/bits/string.h: Likewise.
29517 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29518 * sysdeps/s390/bits/string.h: Likewise.
29519 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29520 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29521 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29522 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29523 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29524 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29525 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29526 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29527 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29528 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29529 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29530 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29531 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29532 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29533 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29534 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29535 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29537 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29540 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29541 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29542 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29543 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29544 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29545 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29547 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29548 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29549 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29550 * sysvipc/sys/ipc.h: Likewise.
29551 * sysvipc/sys/msg.h: Likewise.
29552 * sysvipc/sys/sem.h: Likewise.
29553 * sysvipc/sys/shm.h: Likewise.
29554 * termios/termios.h: Likewise.
29555 * time/sys/time.h: Likewise.
29556 * time/time.h: Likewise.
29557 * wcsmbs/bits/wchar2.h: Likewise.
29558 * wcsmbs/uchar.h: Likewise.
29559 * wcsmbs/wchar.h: Likewise.
29560 * wctype/wctype.h: Likewise.
29561
0269750c
UD
29562 [BZ #13551]
29563 * Makeconfig: Remove all but ELF support including AIX support.
29564 * Makerules: Likewise.
29565 * config.h.in: Likewise.
29566 * config.make.in: Likewise.
29567 * configure: Likewise.
29568 * configure.in: Likewise.
29569 * csu/Makefile: Likewise.
29570 * csu/version.c: Likewise.
29571 * debug/Makefile: Likewise.
29572 * dlfcn/Makefile: Likewise.
29573 * elf/Makefile: Likewise.
29574 * extra-lib.mk: Likewise.
29575 * iconv/Makefile: Likewise.
29576 * include/libc-symbols.h: Likewise.
29577 * include/shlib-compat.h: Likewise.
29578 * resolv/Makefile: Likewise.
29579 * resolv/res_libc.c: Likewise.
29580 * rt/Makefile: Likewise.
29581 * sysdeps/i386/asm-syntax.h: Likewise.
29582 * sysdeps/i386/sysdep.h: Likewise.
29583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29584 * sysdeps/mach/sysdep.h: Likewise.
29585 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29586 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29587 * sysdeps/s390/asm-syntax.h: Likewise.
29588 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29590 * sysdeps/sh/sysdep.h: Likewise.
29591 * sysdeps/unix/sparc/sysdep.h: Likewise.
29592 * sysdeps/wordsize-32/divdi3.c: Likewise.
29593 * sysdeps/x86_64/sysdep.h: Likewise.
29594
00bbd29b
UD
29595 * argp/Versions: Remove _argp_unlock_xxx.
29596
29597 [BZ #13559]
29598 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29599 * abilist/libBrokenLocale.abilist: Likewise.
29600 * abilist/libanl.abilist: Likewise.
29601 * abilist/libc.abilist: Likewise.
29602 * abilist/libcrypt.abilist: Likewise.
29603 * abilist/libdl.abilist: Likewise.
29604 * abilist/libm.abilist: Likewise.
29605 * abilist/libnsl.abilist: Likewise.
29606 * abilist/libpthread.abilist: Likewise.
29607 * abilist/libresolv.abilist: Likewise.
29608 * abilist/librt.abilist: Likewise.
29609 * abilist/libthread_db.abilist: Likewise.
29610 * abilist/libutil.abilist: Likewise.
29611 * abilist/libnss_db.abilist: New file.
29612
29613 * scripts/abilist.awk: Add support for indirect functions.
29614
a2693a0e
UD
29615 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29616
3f05895f
UD
29617 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29618
ecb6fb48
UD
29619 * shlib-versions: Remove entries for ports architectures.
29620
664f8cb9
UD
29621 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29622 files in ports.
29623 * elf/stackguard-macros.h: Remove support for IA-64.
29624 * elf/tst-auditmod1.c: Likewise.
29625 * sysdeps/generic/ldsodefs.h: Likewise.
29626
7ae81d88
UD
29627 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29628 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29629 configure files.
29630
bdeba135
UD
29631 [BZ #13552]
29632 * configure.in: Remove --enable-omitfp support.
29633 * FAQ.in: Adjust.
29634 * config.make.in: Likewise.
29635 * Makeconfig: Likewise.
29636 * manual/install.texi: Likewise.
29637
d75a0a62
UD
29638 In case anyone cares, the IA-64 architecture could move to ports.
29639 * sysdeps/ia64/*: Removed.
29640 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29641 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29642
dcc9756b
UD
29643 [BZ #13555]
29644 * configure.in: Remove entries for unsupported architectures.
29645
d3761ebc 29646 [BZ #13533]
9954432e
UD
29647 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29648 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29649 routines.
29650 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29651 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29652 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29653 fall back to using wcrtomb.
29654 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29655 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29656 renaming.
29657 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29658 * wcsmbs/tst-c16c32-1.c: New file.
29659
29660 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29661 local variable.
29662
c3a87236
UD
29663 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29664
28926a1b
UD
29665 * elf/tst-unique3.cc: Add explicit declaration of gets.
29666 * elf/tst-unique3lib.cc: Likewise.
29667 * elf/tst-unique3lib2.cc: Likewise.
29668 * elf/tst-unique4.cc: Likewise.
29669
df78418a
UD
29670 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29671
8ecd6b2a
JM
296722012-01-06 Joseph Myers <joseph@codesourcery.com>
29673
29674 [BZ #13566]
29675 * assert/assert.h (static_assert): Don't define for C++.
29676 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29677 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29678
9f115170
UD
296792012-01-03 Ulrich Drepper <drepper@gmail.com>
29680
5e0d0300
UD
29681 * iconv/loop.c (single loop): Fix assertion in storing of
29682 remaining bytes.
29683
9f115170
UD
29684 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29685
81fb02b0
UD
296862012-01-01 Ulrich Drepper <drepper@gmail.com>
29687
29688 * posix/getconf.c: Update copyright year.
29689 * nss/getent.c: Likewise.
a316c1f6 29690 * nss/makedb.c: Likewise.
81fb02b0
UD
29691 * iconv/iconvconfig.c: Likewise.
29692 * iconv/iconv_prog.c: Likewise.
29693 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29694 * elf/pldd.c: Likewise.
29695 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29696 * catgets/gencat.c: Likewise.
29697 * csu/version.c: Likewise.
29698 * elf/ldd.bash.in: Likewise.
29699 * elf/sprof.c (print_version): Likewise.
29700 * locale/programs/locale.c: Likewise.
29701 * locale/programs/localedef.c: Likewise.
a316c1f6 29702 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29703 * nscd/nscd.c (print_version): Likewise.
29704 * debug/xtrace.sh: Likewise.
29705 * malloc/memusage.sh: Likewise.
29706 * malloc/mtrace.pl: Likewise.
29707 * debug/catchsegv.sh: Likewise.
29708
2ba92745
JJ
297092011-12-30 Jakub Jelinek <jakub@redhat.com>
29710
29711 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29712 pure attribute.
29713
dadebdae
UD
297142011-12-24 Ulrich Drepper <drepper@gmail.com>
29715
d3761ebc 29716 [BZ #13533]
db6af3eb
UD
29717 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29718 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29719 transformations.
29720 * iconv/gconv_int.h: Likewise.
29721 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29722 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29723 from libc for GLIBC_2.16.
29724 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29725 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29726 * wcsmbs/uchar.h: Really define mbstate_t.
29727 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29728 * wcsmbs/c16rtomb.c: New file.
29729 * wcsmbs/mbrtoc16.c: New file.
29730 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29731 for C/POSIX locale.
29732 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29733 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29734
dadebdae
UD
29735 * wcsmbs/wchar.h: Add missing __restrict.
29736
67371b56
UD
297372011-12-23 Ulrich Drepper <drepper@gmail.com>
29738
74033a25
UD
29739 [BZ #13532]
29740 * time/Makefile (routines): Add timespec_get.
29741 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29742 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29743 timespec for ISO C11.
29744 * time/timespec_get.c: New file.
29745 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29746 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29747
380d7e87
UD
29748 [BZ #13531]
29749 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29750 * stdlib/stdlib.h: Declare aligned_alloc.
29751 * Versions.def: Add GLIBC_2.16 for libc.
29752 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29753
4e9e7a35
UD
29754 [BZ 13527]
29755 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29756 ISO C11.
29757
380d7e87 29758 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29759 code.
29760
03a71829
UD
29761 [BZ #13528]
29762 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29763
839e283e
UD
29764 [BZ #13529]
29765 * assert/assert.h (static_assert): Define.
29766
ce5294e2 29767 * version.h: Update for 2.16 development version.
90fa7312 29768
8d44e150 29769 [BZ #13526]
d7809905
UD
29770 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29771 _ISOC11_SOURCE.
29772
c0da14cd
UD
29773 * version.h (RELEASE): Bump for 2.15 release.
29774 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29775
530a3249
MP
29776 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29777 Patch by Marek Polacek <mpolacek@redhat.com>.
29778
67371b56
UD
29779 * bits/byteswap.h: Protect long long constants with __extension__.
29780 * sysdeps/i386/bits/byteswap.h: Likewise.
29781 * sysdeps/ia64/bits/byteswap.h: Likewise.
29782 * sysdeps/s390/bits/byteswap.h: Likewise.
29783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29784
15db4de1
LD
297852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29786
29787 [BZ #13540]
bbe315ea
LD
29788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29789 destination buffer.
15db4de1
LD
29790 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29791
2b2596b1
MP
297922011-12-23 Marek Polacek <polacek@redhat.com>
29793
29794 * elf/dl-addr.c (determine_info): Add inline keyword.
29795 * elf/tst-auditmod4b.c (check_avx): Likewise.
29796 * elf/tst-auditmod6b.c (check_avx): Likewise.
29797 * elf/tst-auditmod6c.c (check_avx): Likewise.
29798 * elf/tst-auditmod7b.c (check_avx): Likewise.
29799
70c6c246
UD
298002011-12-23 Ulrich Drepper <drepper@gmail.com>
29801
29802 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29803 !__SSE_MATH__.
29804
c044cf14
LD
298052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29806
15db4de1 29807 [BZ #13540]
c044cf14
LD
29808 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29809 processing for last bytes.
29810
6b13d9d9
BH
298112011-08-06 Bruno Haible <bruno@clisp.org>
29812
d455f537
BH
29813 [BZ #13061]
29814 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29815 U+0385, not to U+1FEE.
29816
6b13d9d9
BH
29817 [BZ #13062]
29818 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29819 entry for U+00A5 U+0301.
29820
db910efd
UD
298212011-12-22 Ulrich Drepper <drepper@gmail.com>
29822
27deeafc
UD
29823 [BZ #13166]
29824 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29825 buffer for the output is too small.
29826
aed9d171
UD
29827 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29828 optimization.
29829
db910efd
UD
29830 [BZ #13185]
29831 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29832 SSE flags if possible.
29833
2bd779ae
LD
298342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29835
e7f9dac3 29836 [BZ #13540]
2bd779ae
LD
29837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29838 processing for last bytes.
29839
154bfc16
JM
298402011-12-22 Joseph Myers <joseph@codesourcery.com>
29841
29842 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29843 (syscall-list-default-options, syscall-list-default-condition)
29844 (syscall-list-includes): Define.
29845 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29846 list of ABIs and options and #if conditions for each ABI. Do not
29847 handle common syscalls between ABIs specially.
29848 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29849 Remove.
29850 (syscall-list-variants, syscall-list-32bit-options)
29851 (syscall-list-32bit-condition, syscall-list-64bit-options)
29852 (syscall-list-64bit-condition): Define.
29853 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29854 (syscall-list-variants, syscall-list-32bit-options)
29855 (syscall-list-32bit-condition, syscall-list-64bit-options)
29856 (syscall-list-64bit-condition): Define.
29857 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29858 Remove.
29859 (syscall-list-variants, syscall-list-32bit-options)
29860 (syscall-list-32bit-condition, syscall-list-64bit-options)
29861 (syscall-list-64bit-condition): Define.
29862 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29863 Remove.
29864 (syscall-list-variants, syscall-list-32bit-options)
29865 (syscall-list-32bit-condition, syscall-list-64bit-options)
29866 (syscall-list-64bit-condition): Define.
29867
21eaf3a5
UD
298682011-12-22 Ulrich Drepper <drepper@gmail.com>
29869
16c6f992
UD
29870 * locale/iso-639.def: Add brx entry.
29871
41043168
UD
29872 [BZ #13328]
29873 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29874 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29875
21eaf3a5
UD
29876 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29877 __feraiseexcept_renamed.
29878
e3a851a2
UD
298792011-12-21 Ulrich Drepper <drepper@gmail.com>
29880
4920765e
UD
29881 [BZ #13538]
29882 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29883 EPOLLET with unsigned values.
29884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29886
e3a851a2
UD
29887 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29888 to large cancellation.
29889 * math/s_cacoshf.c: Likewise.
29890 * math/s_cacoshl.c: Likewise.
29891
b27e24b8
RK
298922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29893
29894 [BZ #13305]
aebefeee 29895 [BZ #12786]
b27e24b8
RK
29896 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29897 * math/s_cacoshf.c: Likewise.
29898 * math/s_cacoshl.c: Likewise.
29899
ee190f67
UD
299002011-12-21 Ulrich Drepper <drepper@gmail.com>
29901
29902 [BZ #13439]
29903 * iconv/gconv.h: Define __GCONV_SWAP.
29904 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29905 * iconvdata/utf-16.c: Likewise.
29906 * iconvdata/utf-32.c: Likewise.
29907
707f25df
AS
299082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29909
29910 [BZ #13524]
29911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29912 numerator after shifting it by one limb.
29913
d2daaa1e
RÁE
299142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29915
29916 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29917 under [__USE_EXTERN_INLINES].
29918
a4647e72
UD
299192011-12-17 Ulrich Drepper <drepper@gmail.com>
29920
29921 [BZ #13446]
29922 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29923
f0b264f1
AZ
299242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29925
29926 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29927 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29928 optimized code.
29929 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29930 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29931 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29932 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29933 for strncasecmp/strncasecmp_l compilation.
29934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29935 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29936
8ef4f244
MP
299372011-12-08 Marek Polacek <mpolacek@redhat.com>
29938
29939 [BZ #13484]
29940 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29941 of __asm__.
29942
97ac2654
UD
299432011-12-17 Ulrich Drepper <drepper@gmail.com>
29944
29945 [BZ #13506]
29946 * time/tzfile.c (__tzfile_read): Check values from file header.
29947
91d2a845
WS
299482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29949
29950 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29951 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29952 * powerpc/powerpc32/dl-start.S: Likewise.
29953 * powerpc/powerpc32/elf/start.S: Likewise.
29954 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29955 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29956 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29957 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29958 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29959 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29960 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29961 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29962 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29963 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29964 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29965 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29966 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29967 * powerpc/powerpc32/memset.S: Likewise.
29968 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29969 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29970 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29971 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29972 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29973 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29974 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29975 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29976 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29977 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29978 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29979 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29980 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29981
a1267ba1
AZ
299822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29983
29984 * math/libm-test.inc: Added more nearbyint tests.
29985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29986 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29988 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29989
ad8ac1bd
RL
299902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29991
29992 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29993 FD_CLOEXEC.
29994
1d3e4b61
UD
299952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29996
29997 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29998 Add wcscpy-ssse3 wcscpy-c.
29999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30000 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30001 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30002 * sysdeps/x86_64/wcschr.S: New file.
30003 * sysdeps/x86_64/wcsrchr.S: New file.
30004 * string/test-strcmp.c: Remove checking of wcscmp function for
30005 wrong alignments.
30006 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30007 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30008 wcsrchr-sse2 wcsrchr-c.
30009 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30010 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30011 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30012 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30013 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30014 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30015 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30016 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30018 * wcsmbc/wcschr.c (WCSCHR): New macro.
30019
5b330a2d
UD
300202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30021
30022 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30023 * wcsmbs/test-wcsrchr.c: New file.
30024 * string/test-strrchr.c: Add wcsrchr support.
30025 (WIDE): New macro.
30026 * wcsmbs/test-wcscpy.c: New file.
30027 * string/test-strcpy.c: Add wcscpy support.
30028 (WIDE): New macro.
26428b7c 30029
f039c043
UD
300302011-12-10 Ulrich Drepper <drepper@gmail.com>
30031
30032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30033 the inner loop.
30034
850fb039
AS
300352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30036
30037 [BZ #13472]
30038 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30039
4efbd5cb
UD
300402011-12-04 Ulrich Drepper <drepper@gmail.com>
30041
52ff5dd0 30042 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30043 Minor optimizations.
52ff5dd0 30044
4efbd5cb
UD
30045 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30046 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30047 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30048
8a426e12
UD
300492011-12-03 Ulrich Drepper <drepper@gmail.com>
30050
aff2453d
UD
30051 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30052 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30053 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30054 for gcc to avoid warnings.
30055 * inet/Makefile (tests): Add tst-checks.
30056 * inet/tst-checks.c: New file.
30057
30058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30059 warning.
30060
30061 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30062 __wmemcmp_sse2.
30063
30064 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30065 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30066
8a426e12
UD
30067 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30068
9bea3473
UD
300692011-12-02 Ulrich Drepper <drepper@gmail.com>
30070
3a965496
UD
30071 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30072 problem.
30073
9bea3473
UD
30074 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30075
f101631b
UD
300762011-11-29 Joseph Myers <joseph@codesourcery.com>
30077
30078 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30079 conditional on GCC version.
30080 (__arch_compare_and_exchange_val_8_acq)
30081 (__arch_compare_and_exchange_val_16_acq)
30082 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30083 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30084 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30085
a98275aa
UD
300862011-12-02 Joseph Myers <joseph@codesourcery.com>
30087
30088 * sysdeps/sh/backtrace.c: New file.
30089
d4cc29a2
AS
300902011-12-02 Andreas Schwab <schwab@redhat.com>
30091
30092 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30093 parenthesis.
30094
6257af2d
AS
300952011-12-01 Andreas Schwab <schwab@redhat.com>
30096
30097 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30098 falling back to utime.
30099
b5f44c1a
AS
301002011-11-30 Andreas Schwab <schwab@redhat.com>
30101
30102 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30103 expectations for float.
30104
f3a6cc0a
AS
301052011-11-29 Andreas Schwab <schwab@redhat.com>
30106
30107 * locale/weight.h (findidx): Add parameter len.
30108 * locale/weightwc.h (findidx): Likewise.
30109 * posix/fnmatch_loop.c (FCT): Adjust caller.
30110 * posix/regcomp.c (build_equiv_class): Likewise.
30111 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30112 * posix/regexec.c (check_node_accept_bytes): Likewise.
30113 * string/strcoll_l.c (STRCOLL): Likewise.
30114 * string/strxfrm_l.c (STRXFRM): Likewise.
30115
9d65ea3a
UD
301162011-11-17 Ulrich Drepper <drepper@gmail.com>
30117
30118 * Makefile.in: Remove CVSOPT handling.
30119 * configure.in: Remove use of AC_REVISION.
30120 * iconvdata/Makefile (distribute): No need to filter out CVS.
30121 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30122 handling.
30123
5583a086
AS
301242011-11-16 Andreas Schwab <schwab@redhat.com>
30125
30126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30127 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30128 [USE_AS_STRNCASECMP_L]: Likewise.
30129 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30130 NO_TLS_DIRECT_SEG_REFS.
30131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30132 Fix argument offsets for non-PIC.
30133 [USE_AS_STRNCASECMP_L]: Likewise.
30134 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30135 NO_TLS_DIRECT_SEG_REFS.
30136
d62a8200
UD
301372011-11-15 Ulrich Drepper <drepper@gmail.com>
30138
9d65ea3a 30139 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30140 O_CLOEXEC.
30141 * locale/loadlocale.c (_nl_load_locale): Likewise.
30142
09f93bd3
AS
301432011-11-15 Andreas Schwab <schwab@redhat.com>
30144
446514f9
AS
30145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30146 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30148 (SYSCALL_GETTIME): Set errno on error.
30149
09f93bd3
AS
30150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30151 count references to noai6ai_cached.
30152
312be3f9
UD
301532011-11-15 Ulrich Drepper <drepper@gmail.com>
30154
30155 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30156
30157 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30158 FD_CLOEXEC for /proc/self/maps.
30159
30160 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30161 FD_CLOEXEC for /proc/meminfo.
30162
30163 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30164 gai.conf.
30165
30166 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30167 FD_CLOEXEC for given file.
30168
30169 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30170
30171 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30172 FD_CLOEXEC for /etc/hosts.
30173 (_gethtent): Likewise.
30174
30175 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30176
30177 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30178 cancellation and set FD_CLOEXEC for /etc/netgroup.
30179
30180 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30181 reading /etc/publickey.
30182
30183 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30184 allow cancellation when reading /etc/group.
30185
30186 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30187 cancellation.
30188 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30189
30190 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30191 when using data file.
30192
30193 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30194
30195 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30196 (write_nis_obj): Use "c" and "e" in fopen.
30197
30198 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30199
30200 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30201
30202 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30203
30204 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30205
30206 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30207 locale.alias.
30208
30209 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30210
30211 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30212
30213 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30214
30215 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30216 file parsing and set FD_CLOEXEC.
30217
82af0fa8
UD
302182011-11-14 Ulrich Drepper <drepper@gmail.com>
30219
30220 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30221
a5fb313c
AS
302222011-11-14 Andreas Schwab <schwab@redhat.com>
30223
30224 * malloc/arena.c (arena_get2): Don't call reused_arena when
30225 _int_new_arena failed.
30226
6abf3465
UD
302272011-11-14 Ulrich Drepper <drepper@gmail.com>
30228
30229 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30230 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30231 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30232 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30233 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30235 to compile strcasecmp and strncasecmp.
30236 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30237 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30238
30239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30240
76e3966e
UD
302412011-11-13 Ulrich Drepper <drepper@gmail.com>
30242
30243 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30244 locale-defines.sym to gen-as-const-headers.
30245 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30246 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30248 to compile strcasecmp and strncasecmp.
30249 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30250 strcasecmp_l and strncasecmp_l.
30251 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30252 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30253 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30254 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30255 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30256 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30257 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30258 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30259 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30260 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30261 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30262
ab26144e
UD
302632011-11-12 Ulrich Drepper <drepper@gmail.com>
30264
7edb22ef
UD
30265 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30266 result of SYSDEP_GETTIME_CPU to retval.
30267 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30268 parameter list to macro. Remove trailing semicolon. Adjust users.
30269
9694fc44
UD
30270 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30271 variable.
30272
8ad89ef8
UD
30273 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30274 mantissa words.
30275 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30276
0c822ef9
UD
30277 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30278 from unused variable.
30279
874e0564
UD
30280 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30281 DWARF definitions.
30282 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30283 for assembling.
30284
3a2edc79
UD
30285 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30286 over namespaces.
30287
f3c2577f
UD
30288 * sunrpc/rpc_prot.c (rejected): Fix case value.
30289
294ce126
UD
30290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30291 unsigned long long int to avoid warnings in shift.
30292
5e2b63c6
UD
30293 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30294 of use of trans.
30295 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30296 variable tmp.
30297
e7f4b08e
UD
30298 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30299 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30300 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30301
ab26144e
UD
30302 * nis/nis_table.c (nis_list): Use variable of correct type for
30303 result of __follow_path call.
30304
8a6d5255
AZ
303052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30306
30307 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30308 of math functions ceil, trunc, floor, round, and sqrt, when
30309 avaliable on the platform.
30310 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30311 name clash.
30312 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30313 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30314 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30315
aaddc98c
MP
303162011-10-30 Marek Polacek <mpolacek@redhat.com>
30317
30318 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30319 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30320
95b7042b
RM
303212011-11-11 Roland McGrath <roland@hack.frob.com>
30322
30323 * include/unistd.h: Fix __readlink return type.
30324 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30325
57769839
UD
303262011-11-11 Ulrich Drepper <drepper@gmail.com>
30327
30328 * stdlib/ucontext.h: Undo last change for makecontext.
30329
edc5984d
AS
303302011-11-11 Andreas Schwab <schwab@redhat.com>
30331
98591e58
AS
30332 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30333
edc5984d
AS
30334 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30335 * setjmp/setjmp.h: Mark functions as non-leaf.
30336 * setjmp/bits/setjmp2.h: Likewise.
30337 * stdlib/ucontext.h: Likewise.
30338
77cdc054
AS
303392011-11-10 Andreas Schwab <schwab@redhat.com>
30340
30341 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30342 (reused_arena): Don't check arena limit.
30343 (arena_get2): Atomically check arena limit.
30344
fe72eebd
UD
303452011-11-08 Ulrich Drepper <drepper@gmail.com>
30346
5f078c32
UD
30347 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30348 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30349
fe72eebd
UD
30350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30351 instructions.
30352
ae1bc2fa
AS
303532011-11-07 Andreas Schwab <schwab@redhat.com>
30354
7583a88d
AS
30355 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30356 handler when locking.
30357
ae1bc2fa
AS
30358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30359 Fix size of allocated buffer.
30360
10fb0bfa
AS
303612011-11-04 Andreas Schwab <schwab@redhat.com>
30362
998832a4
AS
30363 [BZ #10103]
30364 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30365 declarations for long double functions.
30366 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30367
10fb0bfa
AS
30368 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30369
3d7ba52b
AS
303702011-11-03 Andreas Schwab <schwab@redhat.com>
30371
a9ae54a1
AS
30372 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30373 installed.
30374
3d7ba52b
AS
30375 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30376 is disabled.
30377
bc8db248
ST
303782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30379
30380 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30381
45b96dd6
AS
303822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30383
647776f6
AS
30384 * include/alloca.h (stackinfo_alloca_round): Define.
30385 (extend_alloca): Use it.
30386 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30387 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30388 here.
30389
d91a8b93
AS
30390 * scripts/check-local-headers.sh: Ignore libaudit.h.
30391
45b96dd6
AS
30392 * nscd/Makefile (extra-objs): Make recursively expanded.
30393
432d41ce
UD
303942011-11-01 Ulrich Drepper <drepper@gmail.com>
30395
34372fc6
UD
30396 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30398
fadb59f8
UD
30399 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30400 * posix/tst-rfc3484-2.c: Likewise.
30401 * posix/tst-rfc3484-3.c: Likewise.
30402
78239589
UD
30403 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30404 process_vm_writev.
30405 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30406 process_vm_writev.
30407 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30408 process_vm_writev from libc using GLIBC_2.15 version.
30409
432d41ce
UD
30410 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30411
02f9c6cf
PP
304122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30413
30414 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30415 stack usage.
30416
3a2c0242
UD
304172011-10-31 Ulrich Drepper <drepper@gmail.com>
30418
f4ec4833
UD
30419 [BZ #13367]
30420 * nss/getent.c (initgroups_keys): Show error message in case no group
30421 names are given.
30422
3a2c0242
UD
30423 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30424 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30425 __bump_nl_timestamp.
30426 * nscd/connections (nscd_init): When host database is served open
30427 netlink socket and request notification about configuration changes.
30428 (main_loop_poll): Track netlink file descriptor and bump timestamp
30429 in case data becomes available.
30430 (main_loop_epoll): Likewise.
30431 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30432 (database_pers_head): Add extra_data fileds.
30433 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30434 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30435 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30436 Adjust caller.
30437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30438 in6ai data, call __free_in6ai.
30439 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30440 Add -DHAVE_NETLINK.
30441 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30442 interface information. Reuse previous data if netlink timestamp
30443 is not changed.
30444 (__bump_nl_timestamp): New function.
30445 (__free_in6ai): New function.
30446
636064eb
UD
304472011-10-30 Ulrich Drepper <drepper@gmail.com>
30448
30449 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30450 close_not_cancel_no_status here.
30451 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30452
9beb2334
UD
304532011-10-29 Ulrich Drepper <drepper@gmail.com>
30454
6ef76f3b
UD
30455 [BZ #13276]
30456 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30457 return value.
30458
0ffc4f3e 30459 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30460 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30461 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30462
cb95113e
UD
304632011-07-03 Andreas Jaeger <aj@suse.de>
30464
30465 [BZ #10709]
30466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30467 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30468 * math/libm-test.inc (sin_test): Add test case.
30469
a1b560ff
UD
304702011-10-29 Ulrich Drepper <drepper@gmail.com>
30471
c9aaface
UD
30472 [BZ #13337]
30473 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30474 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30475
d272e7f1
UD
30476 * elf/chroot_canon.c (chroot_canon): Cleanups.
30477
1bc33071
UD
30478 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30479
1760874d
TJ
30480 [BZ #13335]
30481 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30482 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30483
51d91b18
UD
30484 * string/test-strchr.c: Make usable for strchrnul testing.
30485 * string/test-strchrnul.c: New file.
30486 * string/Makefile (strop-tests): Add strchrnul.
30487
a1b560ff 30488 * po/it.po: Update from translation team.
b611fb81 30489 * po/es.po: Likewise.
a1b560ff 30490
a5b81e1f
UD
304912011-10-28 Ulrich Drepper <drepper@gmail.com>
30492
fd52bc6d
UD
30493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30494 the three constants needed as parameters. Drop the others.
30495 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30496 __m128i_strloadu_tolower.
52e4b9eb
UD
30497 Create and initialize variable zero and use it in all the places
30498 where _mm_setzero_si128 was used.
fd52bc6d 30499
a5b81e1f
UD
30500 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30501 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30502 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30503 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30504 anymore.
30505 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30506 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30507 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30508 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30509 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30510 __mpranred, __mptan.
30511 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30512 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30513 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30514 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30515 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30516 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30518 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30519 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30520
b4343346
AS
305212011-10-28 Andreas Schwab <schwab@redhat.com>
30522
0c92d8a8
AS
30523 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30524 redefine if SHARED.
30525 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30526
b4343346
AS
30527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30528 wide char related routines to wcsmbs subdir.
30529
3871f58f
AS
305302011-10-27 Andreas Schwab <schwab@redhat.com>
30531
30532 [BZ #13344]
30533 * misc/sys/cdefs.h (__THROWNL): Define.
30534 * posix/unistd.h: Use __THREADNL instead of __THREAD
30535 for memory synchronization functions.
30536
94d44d9f
RM
305372011-10-26 Roland McGrath <roland@hack.frob.com>
30538
21b64b15 30539 [BZ #13349]
94d44d9f
RM
30540 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30541 doesn't exist.
30542 * manual/stdio.texi (Obstack Streams): Node removed.
30543
f6ce9294
AS
305442011-10-26 Andreas Schwab <schwab@redhat.com>
30545
80479147
AS
30546 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30547 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30549
f6ce9294
AS
30550 * math/math_private.h (math_force_eval): Allow non-addressable
30551 arguments.
30552 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30553
618280a1
UD
305542011-10-25 Ulrich Drepper <drepper@gmail.com>
30555
e0016b11
UD
30556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30557 file is not needed.
30558
30559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30560 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30562 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30565 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30566 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30567 Add AVX variants.
30568 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30569 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30570 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30571 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30572 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30573 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30574 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30575 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30576 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30577 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30578 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30579 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30581 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30582 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30583 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30584 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30585 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30586 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30587
30588 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30589 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30590
618280a1
UD
30591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30592 place. Use VEX encoding when compiling for AVX.
30593
37822576
AS
305942011-10-25 Andreas Schwab <schwab@redhat.com>
30595
1f1e1947
AS
30596 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30597 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30598
37822576
AS
30599 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30600
31ea014d
UD
306012011-10-25 Ulrich Drepper <drepper@gmail.com>
30602
d7826aa1 30603 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30604 useless if() expression.
d7826aa1
UD
30605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30615 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30624
31ea014d
UD
30625 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30626
16437fec
AS
306272011-10-25 Andreas Schwab <schwab@redhat.com>
30628
30629 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30630 condition.
30631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30632
31d3cc00
UD
306332011-10-25 Ulrich Drepper <drepper@gmail.com>
30634
30635 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30636 .text section. Avoid duplicate constants.
30637 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30647 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30649 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30652 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30654 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30660 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30661 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30662 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30663 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30664 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30665 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30666 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30668 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30669 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30670 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30671 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30672 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30673 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30675 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30676 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30678 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30679 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30680 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30681 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30682
58985aa9
UD
306832011-10-24 Ulrich Drepper <drepper@gmail.com>
30684
202c9deb
UD
30685 * sysdeps/x86_64/dla.h: Move to ...
30686 * sysdeps/x86_64/fpu/dla.h: ...here.
30687 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30688 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30689
af968f62
UD
30690 * config.make.in: Add have-mfma4 entry.
30691 * configure.in: Substitute libc_cv_cc_fma4.
30692 * math/Makefile (dbl-only-routines): Add sincostab.
30693 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30694 Use __sincostab not sincos.
30695 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30696 name is a macro.
30697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30701 using __copysign.
30702 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30703 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30704 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30705 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30706 and __inv.
30707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30708 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30709 __copysign.
30710 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30711 define aliases when function name is a macro.
30712 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30713 sysdeps/ieee754/dbl-64/sincos.tbl.
30714 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30715 fma4-enabled routines.
30716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30717 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30718 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30719 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30720 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30725 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30726 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30727 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30728 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30729 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30731 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30732 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30733 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30734 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30736 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30737 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30739 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30741 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30743 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30744 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30745 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30746
58985aa9
UD
30747 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30748 rename.
30749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30757
a201fbcf
AS
307582011-10-24 Andreas Schwab <schwab@redhat.com>
30759
30760 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30761
fc2ee42a
LD
307622011-10-23 Ulrich Drepper <drepper@gmail.com>
30763
bb3129bd
UD
30764 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30765
0275fff8
UD
30766 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30767 prediction.
30768 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30769
2fa2ae85
UD
30770 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30771 Remove unused variable magic_bits.
30772 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30773
fc2ee42a
LD
30774 * string/strnlen.c: Define and use STRNLEN macro.
30775 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30776 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30778 * wcsmbs/wcslen.c: Define and use WCSLEN.
30779 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30780 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30781 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30782 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30783 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30784 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30785 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30786
ce7dd29f
LD
307872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30788
30789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30790 strnlen-sse2-no-bsf.
30791 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30793 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30794 Add strnlen support.
30795 (USE_AS_STRNLEN): New macro.
30796 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30797 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30798 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30799 * sysdeps/x86_64/wcslen.S: New file.
30800
979c70a3
MZ
308012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30802
30803 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30804 XMM-moves are used for copying on small sizes.
30805
2d09f82f
LD
308062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30807
30808 * wcsmbs/Makefile (strop-tests): Add wcschr.
30809 * wcsmbs/test-wcschr.c: New file.
30810 * string/test-strchr.c: Update.
30811 Add wcschr support.
30812 (WIDE): New macro.
30813
619fccca
LD
308142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30815
2d09f82f 30816 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30817 * wcsmbs/test-wcslen.c: New file.
30818 * string/test-strlen.c: Update.
30819 Add wcslen support.
30820 (WIDE): New macro.
30821
09f699ea
UD
308222011-10-23 Ulrich Drepper <drepper@gmail.com>
30823
30824 * po/it.po: Update from translation team.
30825
95584d3b
LD
308262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30827
30828 * sysdeps/x86_64/wcscmp.S: Update.
30829 Fix wrong comparison semantics.
30830 wcscmp shall use signed comparison not unsigned.
30831 Don't use substraction to avoid overflow bug.
30832 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30833 * wcsmbc/wcscmp.c: Likewise.
30834 * string/test-strcmp.c: Likewise.
30835 Add new tests to check cases with negative values.
30836
c8b3296b
UD
308372011-10-23 Ulrich Drepper <drepper@gmail.com>
30838
30839 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30840 * sysdeps/x86_64/dla.h: ...here. New file.
30841 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30850
246ad57a
AS
308512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30852
30853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30854 __ynl_finite aliases.
30855
a1a87169
UD
308562011-10-22 Ulrich Drepper <drepper@gmail.com>
30857
0d355eb7
UD
30858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30859
a1a87169
UD
30860 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30861 define DLA_FMA.
30862 [DLA_FMA] (EMULV): Use DLA_FMA.
30863 [DLA_FMA] (MUL12): Use EMULV.
30864 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30865 that are not needed.
30866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30873
ee2aafe0
AS
308742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30875
30876 * math/s_nan.c: Undef __nan.
30877 * math/s_nanf.c: Undef __nanf.
30878 * math/s_nanl.c: Undef __nanl.
30879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30880 "math_private.h".
30881
bc62c2fb
UD
308822011-10-22 Ulrich Drepper <drepper@gmail.com>
30883
77425c63
UD
30884 * math/s_catan.c: Add branch predictions.
30885 * math/s_catanf.c: Likewise.
30886 * math/s_catanh.c: Likewise.
30887 * math/s_catanhf.c: Likewise.
30888 * math/s_catanhl.c: Likewise.
30889 * math/s_catanl.c: Likewise.
30890 * math/s_cexp.c: Likewise.
30891 * math/s_cexpf.c: Likewise.
30892 * math/s_cexpl.c: Likewise.
30893 * math/s_clog.c: Likewise.
30894 * math/s_clog10.c: Likewise.
30895 * math/s_clog10f.c: Likewise.
30896 * math/s_clog10l.c: Likewise.
30897 * math/s_clogf.c: Likewise.
30898 * math/s_clogl.c: Likewise.
30899 * math/s_csqrt.c: Likewise.
30900 * math/s_csqrtf.c: Likewise.
30901 * math/s_csqrtl.c: Likewise.
30902 * math/s_ctanf.c: Likewise.
30903 * math/s_ctanh.c: Likewise.
30904 * math/s_ctanhf.c: Likewise.
30905 * math/s_ctanhl.c: Likewise.
30906 * math/s_ctanl.c: Likewise.
30907
bc62c2fb
UD
30908 * math/math_private.h: Define __nan, __nanf, __nanl.
30909 * math/s_cacosh.c: Include <math_private.h>.
30910 * math/s_cacoshl.c: Likewise.
30911 * math/s_casinh.c: Likewise.
30912 * math/s_casinhf.c: Likewise.
30913 * math/s_casinhl.c: Likewise.
30914 * math/s_ccos.c: Rely entire on ccosh.
30915 * math/s_ccosf.c: Rely entire on ccoshf.
30916 * math/s_ccosl.c: Rely entirely on ccoshl.
30917 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30918 Remove tests for FE_INVALID.
30919 * math/s_ccoshf.c: Likewise.
30920 * math/s_ccoshl.c: Likewise.
30921 * math/s_csin.c: Likewise.
30922 * math/s_csinf.c: Likewise.
30923 * math/s_csinh.c Likewise.
30924 * math/s_csinhf.c: Likewise.
30925 * math/s_csinhl.c: Likewise.
30926 * math/s_csinl.c: Likewise.
30927 * math/s_ctan.c: Likewise.
30928 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30929 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30930 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30931
8ec250a4
UD
309322011-10-21 Ulrich Drepper <drepper@gmail.com>
30933
c196fed8
UD
30934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30935 compilation problems.
30936
8ec250a4
UD
30937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30938 __builtin_expect.
30939
8d4f46c6
UD
309402011-10-20 Ulrich Drepper <drepper@gmail.com>
30941
ed72b654
UD
30942 * sysdeps/i386/configure.in: Test for -mfma4 option.
30943 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30944 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30945 COMMON_CPUID_INDEX_80000001.
30946 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30947 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30948 use it if FMA3 is not supported.
30949 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30950
8d4f46c6
UD
30951 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30952 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30953
d45c60c2
AS
309542011-10-20 Andreas Schwab <schwab@redhat.com>
30955
30956 [BZ #12892]
30957 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30958 it would create a cycle with a link time dependency.
30959
d9a4d2ab
UD
309602011-10-19 Ulrich Drepper <drepper@gmail.com>
30961
855d1560
UD
30962 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30963 instruction.
30964 * string/Makefile (strop-tests): Add rawmemchr.
30965 * string/test-rawmemchr.c: New file.
30966
d9a4d2ab
UD
30967 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30968 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30969 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30970 when compiling str{,n}casecmp and when AVX is available. Hook up
30971 new optimized code in initializers.
30972
8f3b1ffe
AS
309732011-10-19 Andreas Schwab <schwab@redhat.com>
30974
30975 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30976 __feraiseexcept instead of feraiseexcept.
30977
d38f1dba
UD
309782011-10-18 Ulrich Drepper <drepper@gmail.com>
30979
d9a8d0ab
UD
30980 * math/math_private.h: Define defaults for libc_fetestexcept and
30981 libc_feupdateenv.
30982 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30983 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30984 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30985 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30986 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30987 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30988 libc_fetestexcept and libc_feupdateenv.
30989
4855e3dd
UD
30990 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30991 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30992 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30993 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30994 libc_feholdexcept_setround.
30995
581d30e3
UD
30996 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30997 Add s_nearbyint-c and s_nearbyintf-c.
30998 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30999 nearbyintf inlines.
31000 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31001 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31002 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31003 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31004
d38f1dba
UD
31005 * math/math_private.h: Define defaults for libc_fegetround,
31006 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31007 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31008 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31010 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31011 standard functions.
31012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31013 Remove comments and hacks for old compiler versions.
31014 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31015 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31016 libc_feholdexceptl.
31017
caa6c9d8
AS
310182011-10-18 Andreas Schwab <schwab@redhat.com>
31019
31020 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31021 (__feraiseexcept_renamed): Add __NTH.
31022 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31023 namespace violations.
31024
97c066e6
UD
310252011-10-17 Ulrich Drepper <drepper@gmail.com>
31026
99ce7b04
UD
31027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31028
1004d182
UD
31029 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31030
228a984d
UD
31031 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31032 recently added interfaces.
31033 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31034
c8553a6a
UD
31035 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31036 about macro parameter expansion.
31037
ed22dcf6
UD
31038 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31039 __NO_MATH_INLINES is defined. Cleanups.
31040
31041 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31042 and __floorf is target has SSE4.1.
31043 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31045 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31046 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31047
b171c137
UD
31048 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31049 name.
31050 (floorf): Likewise.
31051
97c066e6
UD
31052 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31053
629f62ef
AS
310542011-10-17 Andreas Schwab <schwab@redhat.com>
31055
49a43d80
AS
31056 * misc/sys/cdefs.h: Fix last change.
31057
629f62ef
AS
31058 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31059 database lookup.
31060
e453f6cd
UD
310612011-10-16 Ulrich Drepper <drepper@gmail.com>
31062
aa78043a
UD
31063 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31064
ad0f5cad
UD
31065 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31072 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31073 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31074 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31075 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31076 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31077 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31078 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31080 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31081 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31082 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31083 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31084 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31085 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31086 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31087
31088 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31089 ceil, ceilf, floor, floorf.
31090
31091 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31092 Perform IRELATIVE relocations last.
31093
e453f6cd
UD
31094 * elf/do-rel.h: Add another parameter nrelative, replacing the
31095 local variable with the same name. Change name of the function
31096 to end in Rel or Rela (uppercase).
31097 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31098 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31099 elf_dynamic_do_##reloc function.
31100
fd5bdc09
UD
311012011-10-15 Ulrich Drepper <drepper@gmail.com>
31102
79b195b5
UD
31103 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31104 is sufficient, at least on modern CPUs.
31105
d4a28569
UD
31106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31107
b61099b5
UD
31108 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31109 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31110
bcf01e6d
UD
31111 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31112 __expl_finite.
31113 * math/bits/math-finite.h: Add entries for exp.
31114 * math/e_expl.c: Add __*_finite alias.
31115 * sysdeps/i386/fpu/e_exp.S: Likewise.
31116 * sysdeps/i386/fpu/e_expf.S: Likewise.
31117 * sysdeps/i386/fpu/e_expl.c: Likewise.
31118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31119 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31122 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31125
ba1a0d59
UD
31126 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31127 is sufficient, at least on modern CPUs.
31128
fd5bdc09
UD
31129 * ctype/ctype-info.c (__ctype_init): Define.
31130 * include/ctype.h (__ctype_init): Declare.
31131 (__ctype_b_loc): The variable is always initialized.
31132 (__ctype_toupper_loc): Likewise.
31133 (__ctype_tolower_loc): Likewise.
31134 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31135 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31136
7872cfb0
AS
311372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31138
b468825a
AS
31139 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31140
7872cfb0
AS
31141 * configure.in: Also look in $cxxmachine/include for C++ system
31142 headers.
31143
be13f7bf
LD
311442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31145
31146 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31147 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31148 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31149 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31151 (USE_AS_WMEMCMP): New macro.
31152 Fixing indents.
31153 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31154 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31155 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31156 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31158 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31159 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31161 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31162 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31163 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31164 (USE_AS_WMEMCMP): New macro.
31165 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31166 * sysdeps/string/test-memcmp.c: Update.
31167 Fix simple_wmemcmp.
31168 Add new tests.
31169 * wcsmbs/wmemcmp.c: Update.
31170 (WMEMCMP): New macro.
31171 Fix overflow bug.
31172
556a2007
AJ
311732011-10-12 Andreas Jaeger <aj@suse.de>
31174
31175 [BZ #13268]
31176 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31177
538faaa7
UD
311782011-10-15 Ulrich Drepper <drepper@gmail.com>
31179
ab6737ff
UD
31180 * libio/iofwide.c (do_length): Avoid warning.
31181
538faaa7
UD
31182 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31183
396a21b1
UD
311842011-10-14 Ulrich Drepper <drepper@gmail.com>
31185
cdf2901f
UD
31186 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31187
38ad40ce
UD
31188 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31189 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31190 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31191 * sysdeps/i386/i686/fpu/e_log.S: New file.
31192 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31193 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31194
396a21b1
UD
31195 * ctype/ctype.h: Add support for inlined isXXX functions when
31196 compiling C++ code.
31197
6b1f68c9
AS
311982011-10-14 Andreas Schwab <schwab@redhat.com>
31199
349290c0
AS
31200 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31201
6b1f68c9
AS
31202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31203
f2282d42
RM
312042011-10-13 Roland McGrath <roland@hack.frob.com>
31205
31206 [BZ #13291]
31207 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31208
5298ffa8
AS
312092011-10-13 Andreas Schwab <schwab@redhat.com>
31210
714fad23
AS
31211 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31212 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31213 feraiseexcept.
31214
81dcc7fb
AS
31215 * sysdeps/x86_64/memrchr.S: Check for zero size.
31216
5298ffa8
AS
31217 * string/stratcliff.c: Add memrchr tests.
31218
951fbcec
LD
312192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31220
31221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31222 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31223 rawmemchr-sse2 rawmemchr-sse2-bsf.
31224 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31225 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31226 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31227 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31228 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31229 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31230 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31231 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31232 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31233 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31234 * string/memrchr.c (MEMRCHR): New macro.
31235
0ac5ae23
UD
312362011-10-12 Ulrich Drepper <drepper@gmail.com>
31237
31238 Add integration with gcc's -ffinite-math-only and optimize wrapper
31239 functions in libm.
31240 * Versions.def: Define GLIBC_2.15 version for libm.
31241 * math/Makefile (headers): Add bits/math-finite.h.
31242 * math/bits/math-finite.h: New file.
31243 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31244 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31245 * math/e_acoshl.c: Add __*_finite alias.
31246 * math/e_acosl.c: Likewise.
31247 * math/e_asinl.c: Likewise.
31248 * math/e_atan2l.c: Likewise.
31249 * math/e_atanhl.c: Likewise.
31250 * math/e_coshl.c: Likewise.
31251 * math/e_exp10.c: Likewise.
31252 * math/e_exp10f.c: Likewise.
31253 * math/e_exp10l.c: Likewise.
31254 * math/e_exp2l.c: Likewise.
31255 * math/e_fmodl.c: Likewise.
31256 * math/e_gammal_r.c: Likewise.
31257 * math/e_hypotl.c: Likewise.
31258 * math/e_j0l.c: Likewise.
31259 * math/e_j1l.c: Likewise.
31260 * math/e_jnl.c: Likewise.
31261 * math/e_lgammal_r.c: Likewise.
31262 * math/e_log10l.c: Likewise.
31263 * math/e_log2l.c: Likewise.
31264 * math/e_logl.c: Likewise.
31265 * math/e_powl.c: Likewise.
31266 * math/e_sinhl.c: Likewise.
31267 * math/e_sqrtl.c: Likewise.
31268 * math/e_scalb.c: Completely rewritten and optimized.
31269 * math/e_scalbf.c: Likewise.
31270 * math/e_scalbl.c: Likewise.
31271 * math/w_acos.c: Likewise.
31272 * math/w_acosf.c: Likewise.
31273 * math/w_acosl.c: Likewise.
31274 * math/w_acosh.c: Likewise.
31275 * math/w_acoshf.c: Likewise.
31276 * math/w_acoshl.c: Likewise.
31277 * math/w_asin.c: Likewise.
31278 * math/w_asinf.c: Likewise.
31279 * math/w_asinl.c: Likewise.
31280 * math/w_atan2.c: Likewise.
31281 * math/w_atan2f.c: Likewise.
31282 * math/w_atan2l.c: Likewise.
31283 * math/w_atanh.c: Likewise.
31284 * math/w_atanhf.c: Likewise.
31285 * math/w_atanhl.c: Likewise.
31286 * math/w_exp10.c: Likewise.
31287 * math/w_exp10f.c: Likewise.
31288 * math/w_exp10l.c: Likewise.
31289 * math/w_fmod.c: Likewise.
31290 * math/w_fmodf.c: Likewise.
31291 * math/w_fmodl.c: Likewise.
31292 * math/w_j0.c: Likewise.
31293 * math/w_j0f.c: Likewise.
31294 * math/w_j0l.c: Likewise.
31295 * math/w_j1.c: Likewise.
31296 * math/w_j1f.c: Likewise.
31297 * math/w_j1l.c: Likewise.
31298 * math/w_jn.c: Likewise.
31299 * math/w_jnf.c: Likewise.
31300 * math/w_log.c: Likewise.
31301 * math/w_logf.c: Likewise.
31302 * math/w_logl.c: Likewise.
31303 * math/w_log10.c: Likewise.
31304 * math/w_log10f.c: Likewise.
31305 * math/w_log10l.c: Likewise.
31306 * math/w_log2.c: Likewise.
31307 * math/w_log2f.c: Likewise.
31308 * math/w_log2l.c: Likewise.
31309 * math/w_pow.c: Likewise.
31310 * math/w_powf.c: Likewise.
31311 * math/w_powl.c: Likewise.
31312 * math/w_remainder.c: Likewise.
31313 * math/w_remainderf.c: Likewise.
31314 * math/w_remainderl.c: Likewise.
31315 * math/w_scalb.c: Likewise.
31316 * math/w_scalbf.c: Likewise.
31317 * math/w_scalbl.c: Likewise.
31318 * math/w_sqrt.c: Likewise.
31319 * math/w_sqrtf.c: Likewise.
31320 * math/w_sqrtl.c: Likewise.
31321 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31322 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31323 used.
31324 * math/math_private.h: Declare __kernel_standard_f.
31325 * math/w_cosh.c: Remove cruft and optimize a bit.
31326 * math/w_coshf.c: Likewise.
31327 * math/w_coshl.c: Likewise.
31328 * math/w_exp2.c: Likewise.
31329 * math/w_exp2f.c: Likewise.
31330 * math/w_exp2l.c: Likewise.
31331 * math/w_hypot.c: Likewise.
31332 * math/w_hypotf.c: Likewise.
31333 * math/w_hypotl.c: Likewise.
31334 * math/w_lgamma.c: Likewise.
31335 * math/w_lgamma_r.c: Likewise.
31336 * math/w_lgammaf.c: Likewise.
31337 * math/w_lgammaf_r.c: Likewise.
31338 * math/w_lgammal.c: Likewise.
31339 * math/w_lgammal_r.c: Likewise.
31340 * math/w_sinh.c: Likewise.
31341 * math/w_sinhf.c: Likewise.
31342 * math/w_sinhl.c: Likewise.
31343 * math/w_tgamma.c: Likewise.
31344 * math/w_tgammaf.c: Likewise.
31345 * math/w_tgammal.c: Likewise.
31346 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31348 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31349 Minor optimizations. Pretty printing. Remove cruft.
31350 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31351 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31352 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31353 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31354 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31355 * sysdeps/i386/fpu/e_asin.S: Likewise.
31356 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31357 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31358 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31359 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31360 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31362 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31363 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31364 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31365 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31366 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31367 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31368 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31369 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31370 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31371 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31372 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31373 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31374 * sysdeps/i386/fpu/e_log.S: Likewise.
31375 * sysdeps/i386/fpu/e_log10.S: Likewise.
31376 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31378 * sysdeps/i386/fpu/e_log2.S: Likewise.
31379 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31380 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31381 * sysdeps/i386/fpu/e_logf.S: Likewise.
31382 * sysdeps/i386/fpu/e_logl.S: Likewise.
31383 * sysdeps/i386/fpu/e_pow.S: Likewise.
31384 * sysdeps/i386/fpu/e_powf.S: Likewise.
31385 * sysdeps/i386/fpu/e_powl.S: Likewise.
31386 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31387 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31388 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31389 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31392 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31393 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31394 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31395 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31398 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31399 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31402 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31403 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31405 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31406 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31408 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31409 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31411 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31412 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31416 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31417 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31418 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31419 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31420 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31421 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31422 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31423 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31424 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31426 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31428 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31429 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31430 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31431 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31432 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31433 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31434 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31435 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31436 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31439 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31440 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31445 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31446 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31447 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31451 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31452 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31454 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31455 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31473 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31475 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31477 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31478 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31479 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31480 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31483 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31488 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31489 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31490 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31491 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31492 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31493 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31494 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31495 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31496 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31497 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31498 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31499 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31503 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31504 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31505 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31506 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31507 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31508 (__isnanf): Likewise.
31509 (__isinf_ns): Likewise.
31510 (__isinf_nsf): Likewise.
31511 (__finite): Likewise.
31512 (__finitef): Likewise.
31513 (__ieee754_sqrt): Define as macro.
31514 (__ieee754_sqrtf): Define as macro.
31515 (__ieee754_sqrtl): Define as macro.
31516 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31517 inlined copy.
31518 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31519 __FINITE_MATH_ONLY__ consistent.
31520 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31521
12cc2fcd
AS
315222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31523
a843a204
AS
31524 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31525 of rawmemchr.
31526
12cc2fcd
AS
31527 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31528
c853acd5
UD
315292011-10-09 Ulrich Drepper <drepper@gmail.com>
31530
31531 * po/ja.po: Update from translation team.
31532
c658d255
RM
315332011-10-08 Roland McGrath <roland@hack.frob.com>
31534
110946e4
RM
31535 * locale/programs/locarchive.c (prepare_address_space): New function.
31536 (create_archive, enlarge_archive, open_archive): Use it.
31537
50604220
RM
31538 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31539 inside [SHARED], where it is used.
31540
c658d255
RM
31541 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31542
31543 * nss/getent.c (netgroup_keys): Remove unused variable.
31544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31545
6a621eb7
UD
315462011-10-08 Ulrich Drepper <drepper@gmail.com>
31547
7edb55ce
UD
31548 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31549 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31551 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31553 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31554 * math/Makefile (libm-calls): Add s_isinf_ns.
31555 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31556 * math/multc3.c: Likewise.
31557 * math/s_casin.c: Likewise.
31558 * math/s_casinf.c: Likewise.
31559 * math/s_casinl.c: Likewise.
31560 * math/s_ccos.c: Likewise.
31561 * math/s_ccosf.c: Likewise.
31562 * math/s_ccosl.c: Likewise.
31563 * math/s_ctan.c: Likewise.
31564 * math/s_ctanf.c: Likewise.
31565 * math/s_ctanh.c: Likewise.
31566 * math/s_ctanhf.c: Likewise.
31567 * math/s_ctanhl.c: Likewise.
31568 * math/s_ctanl.c: Likewise.
31569 * math/w_fmod.c: Likewise.
31570 * math/w_fmodf.c: Likewise.
31571 * math/w_fmodl.c: Likewise.
31572 * math/w_remainder.c: Likewise.
31573 * math/w_remainderf.c: Likewise.
31574 * math/w_remainderl.c: Likewise.
31575 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31576 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31579 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31580 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31581 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31582 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31583
187da0ae
UD
31584 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31585 of the number.
31586 * stdio-common/printf_fphex.c: Likewise.
31587 * stdio-common/printf_size.c: Likewise.
31588
9277c064
UD
31589 * math/e_exp10.c: Include math_private.h using <...> not "...".
31590 * math/e_exp10f.c: Likewise.
31591 * math/e_exp10l.c: Likewise.
31592 * math/e_exp2l.c: Likewise.
31593 * math/e_j0l.c: Likewise.
31594 * math/e_j1l.c: Likewise.
31595 * math/e_jnl.c: Likewise.
31596 * math/e_lgammal_r.c: Likewise.
31597 * math/e_rem_pio2l.c: Likewise.
31598 * math/e_scalb.c: Likewise.
31599 * math/e_scalbf.c: Likewise.
31600 * math/e_scalbl.c: Likewise.
31601 * math/k_cosl.c: Likewise.
31602 * math/k_sinl.c: Likewise.
31603 * math/k_tanl.c: Likewise.
31604 * math/s_cacoshf.c: Likewise.
31605 * math/s_catan.c: Likewise.
31606 * math/s_catanf.c: Likewise.
31607 * math/s_catanh.c: Likewise.
31608 * math/s_catanhf.c: Likewise.
31609 * math/s_catanhl.c: Likewise.
31610 * math/s_catanl.c: Likewise.
31611 * math/s_ccosh.c: Likewise.
31612 * math/s_ccoshf.c: Likewise.
31613 * math/s_ccoshl.c: Likewise.
31614 * math/s_cexp.c: Likewise.
31615 * math/s_cexpf.c: Likewise.
31616 * math/s_cexpl.c: Likewise.
31617 * math/s_clog.c: Likewise.
31618 * math/s_clog10.c: Likewise.
31619 * math/s_clog10f.c: Likewise.
31620 * math/s_clog10l.c: Likewise.
31621 * math/s_clogf.c: Likewise.
31622 * math/s_clogl.c: Likewise.
31623 * math/s_csin.c: Likewise.
31624 * math/s_csinf.c: Likewise.
31625 * math/s_csinh.c: Likewise.
31626 * math/s_csinhf.c: Likewise.
31627 * math/s_csinhl.c: Likewise.
31628 * math/s_csinl.c: Likewise.
31629 * math/s_csqrt.c: Likewise.
31630 * math/s_csqrtf.c: Likewise.
31631 * math/s_csqrtl.c: Likewise.
31632 * math/s_ctan.c: Likewise.
31633 * math/s_ctanf.c: Likewise.
31634 * math/s_ctanh.c: Likewise.
31635 * math/s_ctanhf.c: Likewise.
31636 * math/s_ctanhl.c: Likewise.
31637 * math/s_ctanl.c: Likewise.
31638 * math/s_ldexp.c: Likewise.
31639 * math/s_ldexpf.c: Likewise.
31640 * math/s_ldexpl.c: Likewise.
31641 * math/s_significand.c: Likewise.
31642 * math/s_significandf.c: Likewise.
31643 * math/s_significandl.c: Likewise.
31644 * math/w_acos.c: Likewise.
31645 * math/w_acosf.c: Likewise.
31646 * math/w_acosh.c: Likewise.
31647 * math/w_acoshf.c: Likewise.
31648 * math/w_acoshl.c: Likewise.
31649 * math/w_acosl.c: Likewise.
31650 * math/w_asin.c: Likewise.
31651 * math/w_asinf.c: Likewise.
31652 * math/w_asinl.c: Likewise.
31653 * math/w_atan2.c: Likewise.
31654 * math/w_atan2f.c: Likewise.
31655 * math/w_atan2l.c: Likewise.
31656 * math/w_atanh.c: Likewise.
31657 * math/w_atanhf.c: Likewise.
31658 * math/w_atanhl.c: Likewise.
31659 * math/w_cosh.c: Likewise.
31660 * math/w_coshf.c: Likewise.
31661 * math/w_coshl.c: Likewise.
31662 * math/w_dremf.c: Likewise.
31663 * math/w_exp10.c: Likewise.
31664 * math/w_exp10f.c: Likewise.
31665 * math/w_exp10l.c: Likewise.
31666 * math/w_exp2.c: Likewise.
31667 * math/w_exp2f.c: Likewise.
31668 * math/w_fmod.c: Likewise.
31669 * math/w_fmodf.c: Likewise.
31670 * math/w_fmodl.c: Likewise.
31671 * math/w_hypot.c: Likewise.
31672 * math/w_hypotf.c: Likewise.
31673 * math/w_hypotl.c: Likewise.
31674 * math/w_j0.c: Likewise.
31675 * math/w_j0f.c: Likewise.
31676 * math/w_j0l.c: Likewise.
31677 * math/w_j1.c: Likewise.
31678 * math/w_j1f.c: Likewise.
31679 * math/w_j1l.c: Likewise.
31680 * math/w_jn.c: Likewise.
31681 * math/w_jnf.c: Likewise.
31682 * math/w_jnl.c: Likewise.
31683 * math/w_lgamma.c: Likewise.
31684 * math/w_lgamma_r.c: Likewise.
31685 * math/w_lgammaf.c: Likewise.
31686 * math/w_lgammaf_r.c: Likewise.
31687 * math/w_lgammal.c: Likewise.
31688 * math/w_lgammal_r.c: Likewise.
31689 * math/w_log.c: Likewise.
31690 * math/w_log10.c: Likewise.
31691 * math/w_log10f.c: Likewise.
31692 * math/w_log10l.c: Likewise.
31693 * math/w_log2.c: Likewise.
31694 * math/w_log2f.c: Likewise.
31695 * math/w_log2l.c: Likewise.
31696 * math/w_logf.c: Likewise.
31697 * math/w_logl.c: Likewise.
31698 * math/w_pow.c: Likewise.
31699 * math/w_powf.c: Likewise.
31700 * math/w_powl.c: Likewise.
31701 * math/w_remainder.c: Likewise.
31702 * math/w_remainderf.c: Likewise.
31703 * math/w_remainderl.c: Likewise.
31704 * math/w_scalb.c: Likewise.
31705 * math/w_scalbf.c: Likewise.
31706 * math/w_scalbl.c: Likewise.
31707 * math/w_sinh.c: Likewise.
31708 * math/w_sinhf.c: Likewise.
31709 * math/w_sinhl.c: Likewise.
31710 * math/w_sqrt.c: Likewise.
31711 * math/w_sqrtf.c: Likewise.
31712 * math/w_sqrtl.c: Likewise.
31713 * math/w_tgamma.c: Likewise.
31714 * math/w_tgammaf.c: Likewise.
31715 * math/w_tgammal.c: Likewise.
31716
6a621eb7
UD
31717 * po/ja.po: Update from translation team.
31718
bf582445
AJ
317192011-09-29 Andreas Jaeger <aj@suse.de>
31720
f9efbf3a
AJ
31721 [BZ #13179]
31722 * sunrpc/netname.c (netname2host): Fix logic.
31723
bf582445
AJ
31724 [BZ #6779]
31725 [BZ #6783]
31726 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31727 correctly.
31728 * math/w_remainder.c (__remainder): Likewise.
31729 * math/w_remainderf.c (__remainderf): Likewise.
31730 * math/libm-test.inc (remainder_test): Add test cases.
31731
48693bea
AK
317322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31733
31734 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31735 sdiv_qrnnd.
31736
42622229
LD
317372011-10-07 Ulrich Drepper <drepper@gmail.com>
31738
31739 * string/test-memcmp.c: Avoid unncessary #defines.
31740 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31741
093ecf92
LD
317422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31743
31744 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31745 Use new sse2 version for core i3 - i7 as it's faster
31746 than sse42 version.
31747 (bit_Prefer_PMINUB_for_stringop): New.
31748 * sysdeps/x86_64/rawmemchr.S: Update.
31749 Replace with faster SSE2 version.
31750 * sysdeps/x86_64/memrchr.S: New file.
31751 * sysdeps/x86_64/memchr.S: Update.
31752 Replace with faster SSE2 version.
31753
fde56e5c
MP
317542011-09-12 Marek Polacek <mpolacek@redhat.com>
31755
31756 * elf/dl-load.c (lose): Add cast to avoid warning.
31757
21fd49a9
UD
317582011-10-07 Ulrich Drepper <drepper@gmail.com>
31759
5a06e643
UD
31760 * po/ca.po: Update from translation team.
31761
684ae515
UD
31762 * inet/getnetgrent_r.c: Hook up nscd.
31763 * nscd/Makefile (routines): Add nscd_netgroup.
31764 (nscd-modules): Add netgroupcache.
31765 (CFLAGS-netgroupcache.c): Define.
31766 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31767 (cache_search): Add const to second parameter.
31768 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31769 INNETGR.
31770 (dbs): Add netgrdb entry.
31771 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31772 (verify_persistent_db): Handle netgrdb.
31773 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31774 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31775 GETFDNETGR.
31776 (netgroup_response_header): Define.
31777 (innetgroup_response_header): Define.
31778 (datahead): Add netgroup_response_header and innetgroup_response_header
31779 elements.
31780 * nscd/nscd.conf: Add entries for netgroup cache.
31781 * nscd/nscd.h (dbtype): Add netgrdb.
31782 (_PATH_NSCD_NETGROUP_DB): Define.
31783 (netgroup_iov_disabled): Declare.
31784 (xmalloc, xcalloc, xrealloc): Move declarations here.
31785 (cache_search): Adjust prototype.
31786 Add netgroup-related prototypes.
31787 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31788 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31789 (__nscd_innetgr): Declare.
31790 * nscd/selinux.c (perms): Use access_vector_t as element type and
31791 add netgroup-related initializers.
31792 * nscd/netgroupcache.c: New file.
31793 * nscd/nscd_netgroup.c: New file.
31794 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31795 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31796 For four parameters use innetgr.
31797 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31798 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31799 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31800 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31801
21fd49a9
UD
31802 * nscd/connections.c (register_traced_file): Don't register file
31803 for disabled databases.
31804
054c0457
UD
318052011-10-06 Ulrich Drepper <drepper@gmail.com>
31806
32b63198
UD
31807 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31808
054c0457
UD
31809 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31810 from tree and freeing node.
31811
64031225
JO
318122011-09-25 Jiri Olsa <jolsa@redhat.com>
31813
31814 * nss/nsswitch.c (__nss_database_lookup): Handle
31815 nss_parse_service_list out of memory case.
31816
0490345c
JO
318172011-09-15 Jiri Olsa <jolsa@redhat.com>
31818
31819 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31820 out of memory case.
31821
3a62d00d
AS
318222011-10-04 Andreas Schwab <schwab@redhat.com>
31823
31824 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31825 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31826 pass it down.
31827 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31828 elf_machine_rela, elf_machine_lazy_rel.
31829 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31830 (ELF_DYNAMIC_DO_REL): Likewise.
31831 (ELF_DYNAMIC_DO_RELA): Likewise.
31832 (ELF_DYNAMIC_RELOCATE): Likewise.
31833 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31834 to ELF_DYNAMIC_DO_REL.
31835 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31836 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31837 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31838 elf_machine_rela.
31839 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31840 skip_ifunc, don't call ifunc function if non-zero.
31841 (elf_machine_rela): Likewise.
31842 (elf_machine_lazy_rel): Likewise.
31843 (elf_machine_lazy_rela): Likewise.
31844 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31845 (elf_machine_lazy_rel): Likewise.
31846 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31847 Likewise.
31848 (elf_machine_lazy_rel): Likewise.
31849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31850 Likewise.
31851 (elf_machine_lazy_rel): Likewise.
31852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31853 (elf_machine_lazy_rel): Likewise.
31854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31855 (elf_machine_lazy_rel): Likewise.
31856 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31857 (elf_machine_lazy_rel): Likewise.
31858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31859 (elf_machine_lazy_rel): Likewise.
31860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31861 (elf_machine_lazy_rel): Likewise.
31862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31863 (elf_machine_lazy_rel): Likewise.
31864
68577918
UD
318652011-09-28 Ulrich Drepper <drepper@gmail.com>
31866
31867 * nss/nss_files/files-init.c (_nss_files_init): Use static
31868 initialization for all the *_traced_file variables.
31869
68822d74
AS
318702011-09-28 Andreas Schwab <schwab@redhat.com>
31871
31872 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31873
2056100b
RM
318742011-09-27 Roland McGrath <roland@hack.frob.com>
31875
31876 [BZ #13226]
31877 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31878
32c76b63
AS
318792011-09-27 Andreas Schwab <schwab@redhat.com>
31880
31881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31882 Reread the line before reparsing it.
31883
bf972c9d
AS
318842011-09-26 Andreas Schwab <schwab@redhat.com>
31885
31886 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31887
e057a1b5
JM
318882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31889 Maxim Kuvyrkov <maxim@codesourcery.com>
31890 Joseph Myers <joseph@codesourcery.com>
31891
31892 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31893 if needed for __stack_chk_guard.
31894
bc7e1c36
RM
318952011-09-19 Roland McGrath <roland@hack.frob.com>
31896
ecb1482f
RM
31897 * sysdeps/posix/spawni.c (script_execute): Always define it.
31898 It will be optimized away if unused.
31899 (maybe_script_execute): New function.
31900 (__spawni): Call it.
31901
bc7e1c36
RM
31902 * Makerules: Don't include tls.make.
31903 (config-tls): Always set to thread.
31904 * tls.make.c: File removed.
31905
1c3b002b
MF
319062011-09-19 Mike Frysinger <vapier@gentoo.org>
31907
31908 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31909 * config.make.in (CPPFLAGS-config): New substituted variable.
31910
2840865d
UD
319112011-09-15 Ulrich Drepper <drepper@gmail.com>
31912
88738eb6
UD
31913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31914
cbf645a6 31915 [BZ #13192]
2840865d
UD
31916 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31917 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31918
b402e91a
RM
319192011-09-15 Roland McGrath <roland@hack.frob.com>
31920
31921 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31922 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31924 (CALL_FAIL): Likewise.
31925 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31926 (CALL_FAIL): Macro removed.
31927 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31928
4c1a1f71
UD
319292011-09-15 Ulrich Drepper <drepper@gmail.com>
31930
31931 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31932 for __FINITE_MATH_ONLY__ == 1.
31933
edc121be
AS
319342011-09-15 Andreas Schwab <schwab@redhat.com>
31935
31936 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31937 __ieee754_sqrt instead of sqrt.
31938 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31939 __ieee754_sqrtf instead of sqrtf.
31940 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31941 __floorf instead of floorf.
31942 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31943 __floorf, __truncf instead of floorf, truncf.
31944
cd205654
UD
319452011-09-14 Ulrich Drepper <drepper@gmail.com>
31946
ee4d0315
UD
31947 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31948
cd205654
UD
31949 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31950 __extern_always_inline.
31951 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31952 32-bit.
31953
48b67d71
AS
319542011-09-14 Andreas Schwab <schwab@redhat.com>
31955
31956 * elf/rtld.c (dl_main): Also relocate in dependency order when
31957 doing symbol dependency testing.
31958
1ae12c75
AS
319592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31960
31961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31962 Always define `refsym'.
31963
995a80df
AS
319642011-09-13 Andreas Schwab <schwab@redhat.com>
31965
e529793b
AS
31966 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31967 (__FD_ELT): Renamed from __FDELT.
31968 * misc/bits/select2.h (__FD_ELT): Likewise.
31969 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31970 __FD_MASK instead of __FDELT, __FDMASK.
31971 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31972 Likewise.
31973 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31974 Likewise.
31975
52d4fef8
AS
31976 * elf/Makefile (gen-ldd): Fix pattern.
31977
995a80df
AS
31978 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31979 (init_tls): Likewise.
31980
8682f8b0
UD
319812011-09-12 Ulrich Drepper <drepper@gmail.com>
31982
31983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31984
de82006d
AS
319852011-09-12 Andreas Schwab <schwab@redhat.com>
31986
a7c8e6a1
AS
31987 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31988 `struct cmsghdr *' instead of `void *'.
31989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31990 Likewise.
31991
0f31fe77
AS
319922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31993
31994 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31995 if non-absolute.
31996 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31997 ldd_rewrite_script.
0f31fe77 31998
32b4c839
UD
319992011-09-11 Ulrich Drepper <drepper@gmail.com>
32000
83cd1420
UD
32001 * configure.in: Remove --with-tls option.
32002 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32003 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32004 out in case it is missing.
32005 * sysdeps/ia64/elf/configure.in: Likewise.
32006 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32007 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32008 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32009 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32010 * sysdeps/sh/elf/configure.in: Likewise.
32011 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32012 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32013 * sysdeps/x86_64/elf/configure.in: Likewise.
32014 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32015 * sysdeps/mach/hurd/tls.h: Likewise.
32016
633f745d
UD
32017 [BZ #13067]
32018 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32019
f318beb8
UD
32020 [BZ #13090]
32021 * configure.in: Fix use of AC_INIT.
32022
32b4c839
UD
32023 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32024
3ce1f295
UD
320252011-09-10 Ulrich Drepper <drepper@gmail.com>
32026
bb016596
UD
32027 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32028 __set_errno.
8e58439c
UD
32029 * malloc/hooks.c: Likewise.
32030
aebae053 32031 [BZ #11929]
02d46fc4
UD
32032 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32033 variables statically.
32034 (narenas): Initialize.
32035 (list_lock): Initialize.
bb016596
UD
32036 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32037 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32038 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32039 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32040 Add initializers to main_arena and mp_.
32041 (malloc_state): Remove pagesize member. Change all users to use
32042 GLRO(dl_pagesize).
32043
32044 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32045 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32046 is always initialized.
32047
22a89187
UD
32048 * malloc/malloc.c: Removed unused configurations and dead code.
32049 * malloc/arena.c: Likewise.
32050 * malloc/hooks.c: Likewise.
02d46fc4 32051 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32052
d063d164
UD
32053 * include/tls.h: Removed. USE___THREAD must always be defined.
32054 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32055 * elf/dl-libc.c: Likewise.
32056 * elf/dl-tsd.c: Likewise.
32057 * include/errno.h: Likewise.
32058 * include/netdb.h: Likewise.
32059 * include/resolv.h: Likewise.
32060 * inet/herrno-loc.c: Likewise.
32061 * inet/herrno.c: Likewise.
32062 * malloc/arena.c: Likewise.
32063 * malloc/hooks.c: Likewise.
32064 * malloc/malloc.c: Likewise.
32065 * resolv/res-state.c: Likewise.
32066 * resolv/res_libc.c: Likewise.
32067 * sysdeps/i386/dl-machine.h: Likewise.
32068 * sysdeps/ia64/dl-machine.h: Likewise.
32069 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32070 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32071 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32072 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32073 * sysdeps/sh/dl-machine.h: Likewise.
32074 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32075 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32076 * sysdeps/unix/i386/sysdep.S: Likewise.
32077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32078 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32080 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32083 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32088 * sysdeps/x86_64/dl-machine.h: Likewise.
32089 * tls.make.c: Likewise.
32090
3ce1f295
UD
32091 * configure.in: Remove --with-__thread option. Make tests for
32092 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32093 tls_model attribute fail if no support is available. Remove
32094 USE_IN_LIBIO.
32095 * Makeconfig: Adjust for dropped configure option. All features are
32096 now mandatory.
32097 * Makerules: Likewise.
32098 * Versions.def: Likewise.
32099 * argp/argp-fmtstream.c: Likewise.
32100 * argp/argp-fmtstream.h: Likewise.
32101 * argp/argp-help.c: Likewise.
32102 * assert/assert.c: Likewise.
32103 * config.h.in: Likewise.
32104 * config.make.in: Likewise.
32105 * configure: Likewise.
32106 * configure.in: Likewise.
32107 * csu/Versions: Likewise.
32108 * csu/init.c: Likewise.
32109 * elf/tst-audit2.c: Likewise.
32110 * elf/tst-tls10.c: Likewise.
32111 * elf/tst-tls10.h: Likewise.
32112 * elf/tst-tls11.c: Likewise.
32113 * elf/tst-tls12.c: Likewise.
32114 * elf/tst-tls14.c: Likewise.
32115 * elf/tst-tlsmod11.c: Likewise.
32116 * elf/tst-tlsmod12.c: Likewise.
32117 * elf/tst-tlsmod13.c: Likewise.
32118 * elf/tst-tlsmod13a.c: Likewise.
32119 * elf/tst-tlsmod14a.c: Likewise.
32120 * elf/tst-tlsmod15b.c: Likewise.
32121 * elf/tst-tlsmod16a.c: Likewise.
32122 * elf/tst-tlsmod16b.c: Likewise.
32123 * elf/tst-tlsmod7.c: Likewise.
32124 * elf/tst-tlsmod8.c: Likewise.
32125 * elf/tst-tlsmod9.c: Likewise.
32126 * gmon/gmon.c: Likewise.
32127 * grp/fgetgrent_r.c: Likewise.
32128 * grp/putgrent.c: Likewise.
32129 * hurd/fopenport.c: Likewise.
32130 * include/libc-symbols.h: Likewise.
32131 * include/tls.h: Likewise.
32132 * intl/gettextP.h: Likewise.
32133 * intl/loadinfo.h: Likewise.
32134 * locale/global-locale.c: Likewise.
32135 * locale/localeinfo.h: Likewise.
32136 * mach/devstream.c: Likewise.
32137 * malloc/arena.c: Likewise.
32138 * malloc/set-freeres.c: Likewise.
32139 * misc/err.c: Likewise.
32140 * misc/getttyent.c: Likewise.
32141 * misc/mntent_r.c: Likewise.
32142 * posix/getopt.c: Likewise.
32143 * posix/wordexp.c: Likewise.
32144 * pwd/fgetpwent_r.c: Likewise.
32145 * resolv/Versions: Likewise.
32146 * resolv/res_hconf.c: Likewise.
32147 * shadow/fgetspent_r.c: Likewise.
32148 * shadow/putspent.c: Likewise.
32149 * stdio-common/printf_fphex.c: Likewise.
32150 * stdio-common/tmpfile.c: Likewise.
32151 * stdlib/abort.c: Likewise.
32152 * stdlib/fmtmsg.c: Likewise.
32153 * sunrpc/auth_unix.c: Likewise.
32154 * sunrpc/clnt_perr.c: Likewise.
32155 * sunrpc/clnt_tcp.c: Likewise.
32156 * sunrpc/clnt_udp.c: Likewise.
32157 * sunrpc/clnt_unix.c: Likewise.
32158 * sunrpc/openchild.c: Likewise.
32159 * sunrpc/svc_simple.c: Likewise.
32160 * sunrpc/svc_tcp.c: Likewise.
32161 * sunrpc/svc_udp.c: Likewise.
32162 * sunrpc/svc_unix.c: Likewise.
32163 * sunrpc/xdr.c: Likewise.
32164 * sunrpc/xdr_array.c: Likewise.
32165 * sunrpc/xdr_rec.c: Likewise.
32166 * sunrpc/xdr_ref.c: Likewise.
32167 * sunrpc/xdr_stdio.c: Likewise.
32168
1248c1c4
PB
321692011-09-09 Ulrich Drepper <drepper@gmail.com>
32170
32171 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32172
321732011-07-03 Andreas Jaeger <aj@suse.de>
32174
32175 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32176 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32177 regenerate with gen-libm-tests.pl.
32178
321792010-05-12 Petr Baudis <pasky@suse.cz>
32180
32181 [BZ #11589]
32182 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32183 around j0() zero points by switching to j1().
32184 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32188
f22e1074
UD
321892011-09-09 Ulrich Drepper <drepper@gmail.com>
32190
f19009c1
UD
32191 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32192 instead of 0.
32193 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32194 instead of 0.
f19009c1
UD
32195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32196 Patch in part by Pavel Roskin <proski@gnu.org>.
32197
3f8cc204
UD
32198 [BZ #13138]
32199 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32200 realloc.
32201 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32202 Free memory block if necessary.
32203
f22e1074
UD
32204 [BZ #12847]
32205 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32206 be NULL. Don't lock in this case.
32207
0a2349f9
RM
322082011-09-09 Roland McGrath <roland@hack.frob.com>
32209
32210 * elf/elf.h (ELFOSABI_GNU): New macro.
32211 (ELFOSABI_LINUX): Define to that.
32212
f3cdd467
DZ
322132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32214
32215 * string/strncat.c (strncat): Undef the symbol in case it has been
32216 defined in bits/string.h.
32217
74718d13
UD
322182011-09-09 Ulrich Drepper <drepper@gmail.com>
32219
633e9e0f
UD
32220 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32221
0a2349f9 32222 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32223 link map.
32224
f9924780
AJ
322252011-08-17 Andreas Jaeger <aj@suse.de>
32226
32227 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32228
7f5517aa
PP
322292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32230 Ian Lance Taylor <iant@google.com>
32231
32232 * math/libm-test.inc (lround_test): New testcase.
32233 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32234
762011fe
UD
322352011-09-08 Ulrich Drepper <drepper@gmail.com>
32236
92963737
UD
32237 * Makefile: Remove support for automatic cvs check-ins.
32238 * Makerules: Likewise.
32239 * config.make.in: Likewise.
32240 * configure.in: Likewise.
32241 * intl/Makefile: Likewise.
32242 * locale/Makefile: Likewise.
32243 * po/Makefile: Likewise.
32244 * posix/Makefile: Likewise.
32245 * sysdeps/gnu/Makefile: Likewise.
32246 * sysdeps/mach/hurd/Makefile: Likewise.
32247 * sysdeps/sparc/sparc32/Makefile: Likewise.
32248
b0727fd8
JS
32249 [BZ #13118]
32250 * posix/Makefile (bug-regex32-ENV): Define.
32251 Patch by John Stanley <jpsinthemix@verizon.net>.
32252
a0f33f99
UD
32253 * misc/Makefile (headers): Add bits/select2.h.
32254 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32255 * misc/bits/select2.h: New file.
32256 * include/bits/select2.h: New file.
32257 * debug/Makefile (routines): Add fdelt_chk.
32258 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32259 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32260 FD_ISSET.
32261 * debug/fdelt_chk.c: New file.
32262
762011fe
UD
32263 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32264 * wcsmbs/test-wmemcmp.c: Likewise.
32265 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32266 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32267
322682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32269
32270 * string/Makefile (strop-tests): Add memcmp.
32271 * string/test-wmemcmp.c: New file.
32272 * string/test-memcmp.c: Add wmemcmp support.
32273
7f513ec8
RM
322742011-09-08 Roland McGrath <roland@hack.frob.com>
32275
0442afb4
RM
32276 [BZ #13153]
32277 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32278 2011-07-19 change.
32279
7f513ec8
RM
32280 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32281 garbage value in a __mach_port_mod_refs call in the cases of the
32282 task-self and thread-self ports.
32283
a12b2239
ST
322842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32285
32286 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32287
610f9ab4
AS
322882011-09-08 Andreas Schwab <schwab@redhat.com>
32289
7f513ec8 32290 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32291
48882a1a
LD
322922011-09-07 Ulrich Drepper <drepper@gmail.com>
32293
b49865be
UD
32294 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32295
fdc86bc9
UD
32296 * elf/dl-libc.c (dlerror_run): Pass back error code from
32297 dl_catch_error.
32298
c966526a
UD
32299 [BZ #13123]
32300 * elf/dl-load.c (lose): Free l_origin if it is valid.
32301
48882a1a
LD
32302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32303 names.
32304 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32309 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32310
77a2a8b4
AZ
323112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32312
32313 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32314 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32315 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32317 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32318 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32319 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32320 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32321 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32322 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32323
24f579d8
AM
323242011-08-15 Alan Modra <amodra@gmail.com>
32325
32326 [BZ #13092]
32327 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32328 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32329 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32330 ppc_mcount to static-only-routines.
32331 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32332 __mcount_internal.
32333 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32334 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32335
3d4837df
UD
323362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32337
32338 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32339 for finite and infinity parameters.
32340
22700377
WS
323412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32342
32343 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32344 and add nop instructions for throughput optimization.
32345 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32346
5025581e
WS
323472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32348
32349 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32350 aligned copy for power7 with vector-scalar instructions.
32351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32352
08a300c9
L
323532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32356 AVX check.
32357
59178ef9
AS
323582011-09-07 Andreas Schwab <schwab@redhat.com>
32359
32360 [BZ #13144]
32361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32362 last change.
32363
e38ba7ab
UD
323642011-09-07 Ulrich Drepper <drepper@gmail.com>
32365
32366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32367 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32368 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32369 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32370 clock_gettime.
32371
d53a73ac
UD
323722011-09-06 Ulrich Drepper <drepper@gmail.com>
32373
fc8bffcc
UD
32374 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32375 Forgot to demangle the pointer.
32376
ceaa0c5d
UD
32377 * sysdeps/i386/sysdep.h: Define atom_text_section.
32378 * sysdeps/x86_64/sysdep.h: Likewise.
32379 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32380 section with atom_text_section.
32381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32383 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32386
a77d3c17
UD
32387 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32388 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32389 already be defined. Change to take two parameters and don't assign
32390 result to variable. Adjust all users.
32391 Define INTERNAL_GETTIME if not already defined.
32392 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32393 call.
32394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32395 HAVE_CLOCK_GETTIME_VSYSCALL.
32396 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32397
d53a73ac
UD
32398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32399 gettimeofday vsyscall, just use time.
32400
a8f84144
AS
324012011-09-06 Andreas Schwab <schwab@redhat.com>
32402
32403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32404 <errno.h>.
32405
ef606249
UD
324062011-09-06 Ulrich Drepper <drepper@gmail.com>
32407
32408 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32409 syscall on x86-64.
32410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32411 syscall.
32412 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32413 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32414 syscall if possible.
32415
6585cb60
UD
324162011-09-05 Ulrich Drepper <drepper@gmail.com>
32417
32418 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32419 e_ident. Don't pass to find_mapsXX.
32420 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32421
a5f524e4
LD
324222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32423
32424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32425 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32426 * sysdeps/x86_64/multiarch/strchr.S: Update.
32427 Check bit_slow_BSF bit.
32428 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32429 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32430 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32431
554881ef
UD
324322011-09-05 Ulrich Drepper <drepper@gmail.com>
32433
d96de963
UD
32434 [BZ #13134]
32435 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32436 before glibc 2.15.
32437 (tryshell): Define.
32438 (__spawni): Change last parameter to be flag. Test
32439 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32440 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32441 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32442 * posix/spawni.c: Likewise.
32443 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32444 * posix/spawnp.c: Likewise. Change normal version to use
32445 SPAWN_XFLAGS_USE_PATH.
32446 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32447 SPAWN_XFLAGS_TRY_SHELL.
32448
d48e5868
UD
32449 [BZ #13150]
32450 * posix/glob.h: Remove gcc 1.x support.
32451
554881ef
UD
32452 [BZ #13068]
32453 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32454
693fb948
LD
324552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32456
32457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32458 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32459 strrchr-sse2-bsf
32460 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32461 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32462 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32463 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32464 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32465 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32466
1b48c537
UD
324672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32468
49d42c37
UD
32469 * sysdeps/x86_64/wcscmp.S: New file.
32470
1b48c537
UD
32471 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32472 wcscmp-c wcscmp-sse2
32473 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32474 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32475 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32476 * wcsmbs/wcscmp.c: Allow renaming.
32477
15c95c5d
DM
324782011-09-05 David S. Miller <davem@davemloft.net>
32479
32480 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32481 stack slot, rather than the struct return pointer slot.
32482 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32483 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32485 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32486
2f0ad8f3
UD
324872011-09-05 Ulrich Drepper <drepper@gmail.com>
32488
d88ae418
UD
32489 * po/ja.po: Update from translation team.
32490
2f0ad8f3
UD
32491 [BZ #13144]
32492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32493 kernel in 64-bit binaries.
32494
5f4318d1
DM
324952011-09-01 David S. Miller <davem@davemloft.net>
32496
32497 * elf/elf.h (HWCAP_SPARC_*): Move to..
32498 * sysdeps/sparc/sysdep.h: this new file and add new values.
32499 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32500 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32501 _DL_HWCAP_COUNT to 24.
32502 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32503 entries.
32504 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32505 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32506 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32508 instead of magic constants.
32509 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32510
3ba57516
DM
325112011-08-31 David S. Miller <davem@davemloft.net>
32512
32513 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32515 Reimplement to do errno handling inline.
32516 (SYSCALL_ERROR_HANDLER): New macro.
32517 (__SYSCALL_STRING): Do not do errno handling in asm.
32518 (__CLONE_SYSCALL_STRING): Delete.
32519 (__INTERNAL_SYSCALL_STRING): Delete.
32520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32521 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32522 (PSEUDO): Reimplement to do errno handling inline.
32523 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32524 (SYSCALL_ERROR_HANDLER): New macro.
32525 (__SYSCALL_STRING): Do not do errno handling in asm.
32526 (__CLONE_SYSCALL_STRING): Delete.
32527 (__INTERNAL_SYSCALL_STRING): Delete.
32528 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32529 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32530 i386.
32531 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32532 (inline_syscall*): Add 'err' argument.
32533 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32534 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32535 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32536 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32537
32538 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32540
2bc17433
AS
325412011-08-30 Andreas Schwab <schwab@redhat.com>
32542
32543 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32544
fbeb5f4d
JO
325452011-08-29 Jiri Olsa <jolsa@redhat.com>
32546
32547 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32548 directive.
32549
ad69cc26
DM
325502011-08-24 David S. Miller <davem@davemloft.net>
32551
32552 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32553
39dd69df
AS
325542011-08-24 Andreas Schwab <schwab@redhat.com>
32555
32556 * elf/Makefile: Add rules to build and run unload8 test.
32557 * elf/unload8.c: New file.
32558 * elf/unload8mod1.c: New file.
32559 * elf/unload8mod1x.c: New file.
32560 * elf/unload8mod2.c: New file.
32561 * elf/unload8mod3.c: New file.
32562
32563 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32564 it wasn't used.
32565
2c0b250a
DM
325662011-08-23 David S. Miller <davem@davemloft.net>
32567
32568 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32569 subtract stack bias.
32570 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32571 %sp not %fp in calculations.
32572 (_JMPBUF_UNWINDS_ADJ): Likewise.
32573
22044b48
DM
32574 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32575 (aio_suspend): Call it to force an exception region around the
32576 AIO_MISC_WAIT() invocation.
32577
2cae4995
AS
325782011-08-23 Andreas Schwab <schwab@redhat.com>
32579
32580 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32581 backslash.
32582
873a772e
AJ
325832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32584
32585 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32586 protection macro.
32587 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32588 and <dl-machine.h>.
32589 (Elf64_FuncDesc): Remove.
32590
25ad0df1
DM
325912011-08-22 David S. Miller <davem@davemloft.net>
32592
32593 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32594 sigaltstack check, add missing cfi directives.
32595 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32596 missing cfi directives, and sigaltstack handling.
32597
e888bcbe
AS
325982011-08-16 Andreas Schwab <schwab@redhat.com>
32599
32600 [BZ #11724]
32601 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32602 object is seen twice.
32603 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32604
32605 * elf/Makefile (distribute): Add tst-initorder2.c.
32606 (tests): Add tst-initorder2.
32607 (modules-names): Add tst-initorder2a tst-initorder2b
32608 tst-initorder2c tst-initorder2d. Add rules to build them.
32609 ($(objpfx)tst-initorder2.out): New rule.
32610 * elf/tst-initorder2.c: New file.
32611 * elf/tst-initorder2.exp: New file.
32612
87162f46
AS
326132011-08-22 Andreas Schwab <schwab@redhat.com>
32614
70538b7f
AS
32615 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32616
f55ffe58
AS
32617 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32618 dependencies back to end of function.
32619
87162f46
AS
32620 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32621 $(elfobjdir)/ld.so.
32622
91b392a4
UD
326232011-08-21 Ulrich Drepper <drepper@gmail.com>
32624
32625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32626 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32628 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32629 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32630 of __vdso_gettimeofday.
32631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32632 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32633 attribute_hidden.
32634 (_libc_vdso_platform_setup): Remove initialization of
32635 __vdso_gettimeofday and __vdso_time.
32636
5c43483f
UD
326372011-08-20 Ulrich Drepper <drepper@gmail.com>
32638
775a77e7
UD
32639 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32640 and fgetc_unlocked.
32641 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32642 getc_unlocked.
89f447ed 32643
49c74ba9
UD
32644 * elf/dl-open.c (add_to_global): Report additions to the global scope
32645 for LD_DEBUG=scopes.
32646 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32647 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32648
5c43483f
UD
32649 [BZ #13114]
32650 * stdio-common/Makefile (tests): Add bug24.
32651 * stdio-common/bug24.c: New file.
32652
a101b025
AJ
326532011-08-19 Andreas Jaeger <aj@suse.de>
32654
32655 [BZ #13114]
32656 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32657 non-existant file when using close-on-exec mode.
32658
c88f1766
UD
326592011-08-20 Ulrich Drepper <drepper@gmail.com>
32660
0276a718
UD
32661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32662 the very first instruction.
32663
c88f1766
UD
32664 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32665 the CFI state in the end.
32666 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32667 inclusion of dl-trampoline.h.
32668 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32669
51ccffa0
AS
326702011-08-19 Andreas Schwab <schwab@redhat.com>
32671
94d7165f
AS
32672 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32673 expectations for long double.
32674
51ccffa0
AS
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32676 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32677
fd708658 326782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32679
32680 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32681 artificual limit depends upon the system page size.
32682
44f0a71e
UD
326832011-08-17 Ulrich Drepper <drepper@gmail.com>
32684
32685 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32686 * resolv/Makefile: Define CFLAGS-libresolv.
32687
8de79a24
AS
326882011-08-17 Andreas Schwab <schwab@redhat.com>
32689
32690 * nss/makedb.c (compute_tables): Make variables used in nested
32691 function static.
32692
27724598
UD
326932011-08-17 Ulrich Drepper <drepper@gmail.com>
32694
c5305d88
UD
32695 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32696 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32697 if buffer was too small.
32698
27724598
UD
32699 * elf/pldd.c (main): Attach to all threads in the process.
32700 Rewrite /proc handling to use *at functions.
32701
076fe015
UD
327022011-08-16 Ulrich Drepper <drepper@gmail.com>
32703
174baab3
UD
32704 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32705 specifies first scope to show.
32706 (dl_open_worker): Update callers. Move printing scope of new
32707 object to before the relocation.
44f0a71e 32708 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32709 * sysdeps/generic/ldsodefs.h: Update declaration.
32710
076fe015
UD
32711 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32712 string for the scope number.
32713
a60df2c3
UD
327142011-08-14 Ulrich Drepper <drepper@gmail.com>
32715
32716 * nscd/servicescache.c (cache_addserv): Make sure written is always
32717 initialized.
32718
5e4287d1
RM
327192011-08-14 Roland McGrath <roland@hack.frob.com>
32720
85ae0589
RM
32721 * sysdeps/i386/i486/bits/atomic.h
32722 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32723 statement expression, so as to suppress "set but not used" warning.
32724 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32725
69f63097
RM
32726 * string/strncat.c (STRNCAT): Use prototype definition.
32727
675456ef
RM
32728 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32729 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32730 -Iprograms here.
32731 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32732 (localedef-modules): Add localedef.
32733 (locale-modules): Add locale.
32734
5e4287d1
RM
32735 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32736 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32737 to avoid a warning.
32738
9c96ff23
DM
327392011-08-14 David S. Miller <davem@davemloft.net>
32740
32741 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32742 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32743
f9ddf089
UD
327442011-08-13 Ulrich Drepper <drepper@gmail.com>
32745
44f0a71e 32746 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32747 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32748 * elf/rtld.c (dl_main): Set l_name of vDSO.
32749 Call _dl_show_scope when DL_DEBUG_SCOPES.
32750 (process_dl_debug): Recognize scopes flag and also set it for all.
32751 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32752 Declare _dl_show_scope.
32753
1dc27704
UD
32754 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32755 (do_dlopen): Pass caller_dlopen to dl_open.
32756 (__libc_dlopen_mode): Initialize caller_dlopen.
32757
f9ddf089
UD
32758 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32759 of libc. Make tolower call locale-independent. Optimize a bit by
32760 using isdigit instead of isalnum.
32761 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32762
9ac533d3
UD
327632011-08-12 Ulrich Drepper <drepper@gmail.com>
32764
32765 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32766 was a dependency or dynamically loaded.
32767
89edf2e9
UD
327682011-08-11 Ulrich Drepper <drepper@gmail.com>
32769
8e999d29
UD
32770 * intl/l10nflist.c: Allow architecture-specific pop function.
32771 * sysdeps/x86_64/l10nflist.c: New file.
32772
89edf2e9
UD
32773 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32774 classification.
32775
14d96785
AS
327762011-08-10 Andreas Schwab <schwab@redhat.com>
32777
32778 * include/dirent.h: Add libc_hidden_proto for scandirat and
32779 scandirat64. Don't declare __scandirat64.
32780 * dirent/scandirat.c: Add libc_hidden_def.
32781 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32782 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32783
6761ac04
DM
327842011-08-10 David S. Miller <davem@davemloft.net>
32785
32786 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32787 enum.
32788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32790 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32791
c55fbd1e
UD
327922011-08-09 Ulrich Drepper <drepper@gmail.com>
32793
32794 * Versions.def [libc]: Add GLIBC_2.15.
32795 * dirent/Makefile (routines): Add scandirat and scandirat64.
32796 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32797 GLIBC_2.15.
32798 * dirent/dirent.h: Declare scandirat and scandirat64.
32799 * dirent/scandirat.c: New file.
32800 * dirent/scandirat64.c: New file.
32801 * sysdeps/wordsize-64/scandirat.c: New file.
32802 * sysdeps/wordsize-64/scandirat64.c: New file.
32803 * dirent/opendir.c: Define opendirat.
32804 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32805 using scandirat.
32806 * dirent/scandir64.c: Adjust for scandir.c change.
32807 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32808 __scandirat64, and __scandir_cancel_handler.
32809 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32810 additional parameter and use openat instead of open (outside of ld.so).
32811 Add new __opendir as wrapper around __opendirat.
32812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32813 here without requiring old scandirat implementation.
32814
879165f2
UD
328152011-08-08 Ulrich Drepper <drepper@gmail.com>
32816
32817 * dirent/scandir.c (cancel_handler): Renamed to
32818 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32819 defined. Adjust users.
32820 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32822
cb7e923b
UD
328232011-08-04 Ulrich Drepper <drepper@gmail.com>
32824
16292edd
UD
32825 * string/test-string.h (IMPL): Use __STRING to expand name and then
32826 stringify it.
32827
cb7e923b
UD
32828 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32829 of cleanups.
32830
cff82933
LD
328312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32832
32833 * string/Makefile: Update.
32834 (strop-tests): Append strncat.
32835 * string/test-wcscmp.c: New file.
32836 New comprehensive test for wcscmp.
32837 * string/test-strcmp.c: Update.
32838 (WIDE): New define.
32839
9be9bfcc
AS
328402011-07-22 Andreas Schwab <schwab@redhat.com>
32841
32842 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32843 line.
32844
2e96f1c7
AS
328452011-07-26 Andreas Schwab <schwab@redhat.com>
32846
32847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32848 encoding to ACE if AI_IDN.
32849
85188888
JJ
328502011-08-01 Jakub Jelinek <jakub@redhat.com>
32851
32852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32853 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32854
5fa16e9b
LD
328552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32856
32857 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32858 Fix overflow bug in strncat.
32859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32860
32861 * string/test-strncat.c: Update.
32862 Add new tests for checking overflow bugs.
32863
328642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32865
32866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32867 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32868 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32869 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32871 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32872 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32873 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32874 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32875
32876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32877 (USE_AS_STRCAT): Define.
32878 Add strcat and strncat support.
32879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32880
8c1a459f
AS
328812011-07-25 Andreas Schwab <schwab@redhat.com>
32882
32883 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32884 __n bigger than INT_MAX+1.
32885 (__strncmp_g): Likewise.
32886
bba33c28
UD
328872011-07-23 Ulrich Drepper <drepper@gmail.com>
32888
798be72d
UD
32889 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32890 * libio/stido.h: Likewise.
32891
8accd4dc
UD
32892 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32893 (AF_NFC): Define.
32894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32895 (AF_NFC): Define.
32896
cbff0d96
UD
32897 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32899 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32900 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32902
9191c04a
UD
32903 [BZ #13021]
32904 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32905 installed.
32906
bba33c28
UD
32907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32908 typo.
32909 (_dl_x86_64_save_sse): Likewise.
32910
90f139dd
UD
329112011-07-22 Ulrich Drepper <drepper@gmail.com>
32912
1aae088a
UD
32913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32914 OSXSAVE.
32915 (_dl_x86_64_save_sse): Likewise.
32916
8e2045f5
UD
32917 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32918
90f139dd
UD
32919 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32920
1d002f25
AS
329212011-07-21 Andreas Schwab <schwab@redhat.com>
32922
32923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32924 change.
32925 (_dl_x86_64_save_sse): Use correct AVX check.
32926
21137f89
UD
329272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32928
32929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32930 bug in strncpy/strncat.
32931 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32932
a65c0b7a
UD
329332011-07-21 Ulrich Drepper <drepper@gmail.com>
32934
32935 * string/tester.c (test_strcat): Add tests for different alignments
32936 of source and destination.
32937 (test_strncat): Likewise.
32938
6986b98a
UD
329392011-07-20 Ulrich Drepper <drepper@gmail.com>
32940
90bb2039
UD
32941 [BZ #12852]
32942 * posix/glob.c (glob): Check passed in values before using them in
32943 expressions to avoid some overflows.
32944 (glob_in_dir): Likewise.
32945
5644ef54
UD
32946 [BZ #13007]
32947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32948 check for AVX enablement so that we don't crash with old kernels and
32949 new hardware.
32950 * elf/tst-audit4.c: Add same checks here.
32951 * elf/tst-audit6.c: Likewise.
32952
32953 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32954
bfc9dc9b
AS
329552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32956
32957 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32958
702e64bb
UD
329592011-07-20 Ulrich Drepper <drepper@gmail.com>
32960
32961 * po/cs.po: Update from translation team.
32962 * po/bg.po: Likewise.
32963
295e904f
MP
329642011-07-12 Marek Polacek <mpolacek@redhat.com>
32965
32966 * misc/sys/cdefs.h: Add support for const attribute.
32967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32968 to gnu_dev_{major,minor,makedev} functions.
32969
3ff94596
MP
329702011-07-20 Marek Polacek <mpolacek@redhat.com>
32971
32972 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32973
28b59fca
AS
329742011-07-20 Andreas Schwab <schwab@redhat.com>
32975
32976 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32977 strlen results.
32978
19df733e
AK
329792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32980
32981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32982 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32983 register in order to avoid conflicts with the soft frame pointer
32984 being held in r11 when necessary.
32985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32986 (INTERNAL_VSYSCALL_NCS): Likewise.
32987
c8835729
MP
329882011-07-14 Marek Polacek <mpolacek@redhat.com>
32989
32990 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32991 * elf/dl-fini.c (_dl_fini): Adjust caller.
32992 * elf/dl-close.c (_dl_close_worker): Likewise.
32993 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32994
b902330c
MP
329952011-07-15 Marek Polacek <mpolacek@redhat.com>
32996
8991e135
MP
32997 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32998 "aux_cache->nlibs < 0".
32999
b902330c
MP
33000 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33001 in the reload-count case.
33002
99710781
LD
330032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33004
33005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33006 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33007 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33008 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33009 * sysdeps/x86_64/multiarch/strcat.S: New file.
33010 * sysdeps/x86_64/multiarch/strncat.S: New file.
33011 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33012 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33013 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33014 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33016 (USE_AS_STRCAT): Define.
33017 Add strcat and strncat support.
33018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33019 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33020 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33021 * string/strncat.c: Update.
33022 (USE_AS_STRNCAT): Define.
33023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33024 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33025 and i7.
33026 * sysdeps/x86_64/multiarch/init-arch.h
33027 (bit_Prefer_PMINUB_for_stringop): New.
33028 (index_Prefer_PMINUB_for_stringop): Likewise.
33029 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33030 bit_Prefer_PMINUB_for_stringop.
33031
7dc6bd90
UD
330322011-07-19 Ulrich Drepper <drepper@gmail.com>
33033
33034 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33035 buffer64.
33036 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33037 of casting of buffer.
33038 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33039 buffer32 and buffer64.
33040 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33041 writes instead of casting of buffer.
33042 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33043 buffer32.
33044 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33045 casting of buffer.
33046
e0e72284
AS
330472011-07-19 Andreas Schwab <schwab@redhat.com>
33048
33049 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33050
feb1eb0b
UD
330512011-07-19 Ulrich Drepper <drepper@gmail.com>
33052
33053 * nscd/nscd.c (termination_handler): Don't do anything for a database
33054 if it has not yet been initialized.
33055
298711ff
UD
330562011-07-18 Ulrich Drepper <drepper@gmail.com>
33057
33058 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33059
330602011-07-15 Marek Polacek <mpolacek@redhat.com>
33061
33062 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33063
f9d68389
UD
330642011-07-18 Ulrich Drepper <drepper@gmail.com>
33065
33066 * po/nl.po: Update from translation team.
33067 * po/sv.po: Likewise.
33068
db290cf5
RM
330692011-07-16 Roland McGrath <roland@hack.frob.com>
33070
33071 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33072 now disallowed by GCC.
5c550700 33073
fd5e21c7
RM
33074 * configure.in (use-default-link): Default to yes if a test -shared
33075 link meets our qualifications.
33076 * configure: Regenerated.
33077
5c550700
RM
33078 * config.make.in (output-format): New variable.
33079 * configure.in: Check for ld --print-output-format support.
33080 * configure: Regenerated.
33081 * Makerules ($(common-objpfx)format.lds)
33082 [$(output-format) != unknown]: Just use $(output-format),
33083 instead of the linker-script munging.
33084
9fa2c032
RM
330852011-07-14 Roland McGrath <roland@hack.frob.com>
33086
a6928d51
RM
33087 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33088 of $(common-objpfx)shlib.lds.
33089 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33090
661607b3
RM
33091 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33092 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33093
9fa2c032
RM
33094 * configure.in (-z relro check): Adjust test code to add a large
33095 writable data section after it.
33096 * configure: Regenerated.
33097
defe9061
RM
330982011-07-11 Roland McGrath <roland@hack.frob.com>
33099
33100 * configure.in (-z relro check): Fix test code to make the variable
33101 truly const.
33102 * configure: Regenerated.
33103
319b9ad4
UD
331042011-07-11 Ulrich Drepper <drepper@gmail.com>
33105
33106 * nscd/nscd.h (struct traced_file): Define.
33107 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33108 elements. Add traced_files.
33109 (inotify_fd): Declare.
33110 (register_traced_file): Declare.
33111 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33112 (inotify_fd): Export.
33113 (resolv_conf_descr): Remove.
33114 (nscd_init): Move inotify descriptor creation to main.
33115 Don't register files for notification here.
33116 (register_traced_file): New function.
33117 (invalidate_cache): Don't use reset_res to determine whether to call
33118 res_init, go through the list of registered files.
33119 (main_loop_poll): The inotify descriptors are now stored in the
33120 structures for the traced files.
33121 (main_loop_epoll): Likewise
33122 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33123 to __nss_disable_nscd.
33124 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33125 for a database anymore. Check the records for all the registered
33126 files instead.
33127 * nss/Makefile (libnss_files-routines): Add files-init.
33128 (libnss_db-routines): Add db-init.
33129 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33130 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33131 * nss/nss_db/db-init.c: New file.
33132 * nss/nss_files/files-init.c: New file.
33133 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33134 __nss_lookup_function.
33135 (__nss_lookup_function): Call nss_load_library.
33136 (nss_load_all_libraries): New function.
33137 (__nss_disable_nscd): Take parameter with callback function for files
33138 to register. Set is_nscd. Load all the DSOs for the NSS modules
33139 used for the cached services.
33140 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33141 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33142 options for features to all the files in nscd.
33143
33144 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33145
23bee3e8
RM
331462011-07-10 Roland McGrath <roland@hack.frob.com>
33147
33148 * csu/elf-init.c (__libc_csu_init): Comment typo.
33149
46a5b7f0
UD
331502011-07-09 Ulrich Drepper <drepper@gmail.com>
33151
33152 * po/pl.po: Update from translation team.
33153 * po/ja.po: Likewise.
33154 * po/ru.po: Likewise.
33155 * po/ko.po: Likewise.
33156 * po/fr.po: Likewise.
33157
d30cf5bb
RM
331582011-07-09 Roland McGrath <roland@hack.frob.com>
33159
113ddea4
RM
33160 * configure.in (.ctors/.dtors header and trailer check):
33161 Use an empirical test on a built program.
33162 * configure: Regenerated.
33163
574920b4
RM
33164 * configure.in (-z relro check): Use an empirical test on a built DSO.
33165 Detect, but do not require, on ia64.
33166 * configure: Regenerated.
33167
d30cf5bb
RM
33168 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33169 Update tests that use readelf to use $READELF instead.
33170 * configure: Regenerated.
33171
8538fdb3
UD
331722011-07-08 Ulrich Drepper <drepper@gmail.com>
33173
33174 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33175 if the result is not used.
33176
04d08991
AJ
331772011-07-05 Andreas Jaeger <aj@suse.de>
33178
33179 [BZ#9696]
33180 * stdlib/tst-strtod.c: Add testcase.
33181
de283087
AD
331822011-07-07 Ulrich Drepper <drepper@gmail.com>
33183
4e5f31c8 33184 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33185 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33186 The latter has a higher limit. Take additional parameter to pass to
33187 the new function.
33188 (__pathconf): Pass file to __statfs_link_max.
33189 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33190 __statfs_link_max.
33191 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33192 __statfs_link_max.
33193
de283087
AD
33194 [BZ #12868]
33195 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33196 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33197 Handle Lustre.
33198 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33199 (__statfs_filesize_max): Likewise.
33200 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33201
c75fa153
AJ
332022011-07-05 Andreas Jaeger <aj@suse.de>
33203
33204 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33205
1a544854
UD
332062011-07-06 Marek Polacek <mpolacek@redhat.com>
33207
33208 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33209 `status' variable.
33210 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33211 Likewise.
33212
6f0eec67
UD
332132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33214
33215 * Makefile (strop-tests): Add strncat.
33216 * string/test-strncat.c: New file.
33217
aae30307
UD
332182011-06-30 Marek Polacek <mpolacek@redhat.com>
33219
33220 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33221
c0cfb5eb
UD
332222011-06-21 Andreas Jaeger <aj@suse.de>
33223
33224 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33225 Copy rule from iconvdata/Makefile.
33226
01636b21
UD
332272011-07-06 Ulrich Drepper <drepper@gmail.com>
33228
33229 [BZ #12922]
33230 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33231 but no long options are defined, just return 'W'.
33232
9895c8bc
UD
332332011-06-22 Marek Polacek <mpolacek@redhat.com>
33234
33235 [BZ #9696]
33236 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33237
5d4cf042
UD
332382011-07-06 Ulrich Drepper <drepper@gmail.com>
33239
33240 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33241 netgroups to read.
960e5535 33242 (innetgr): Likewise.
5d4cf042 33243
751eb97e
RM
332442011-07-05 Roland McGrath <roland@hack.frob.com>
33245
33246 * config.make.in (install_root): Default to $(DESTDIR).
33247
f15f1e45
UD
332482011-07-05 Ulrich Drepper <drepper@gmail.com>
33249
33250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33251
4e34ac6a
RM
332522011-07-02 Roland McGrath <roland@hack.frob.com>
33253
5e9b6af4
RM
33254 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33255
84f9ea0f
RM
33256 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33257 containing directory rather than embedding absolute directory names.
33258
ea5ee9f7
RM
33259 * scripts/check-local-headers.sh: Rewritten using awk.
33260 Match by word, not by line. Print error messages for matches.
33261 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33262
1b74661a
RM
33263 * Makerules [shlib-lds-flags empty]:
33264 ($(common-objpfx)libc_pic.opts): New target.
33265 ($(common-objpfx)libc_pic.os.clean): New target.
33266 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33267
33268 * config.make.in (OBJCOPY): New variable.
33269 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33270 * configure: Regenerated.
33271
f781ef40
RM
33272 * config.make.in (use-default-link): New variable.
33273 * configure.in (use_default_link): Grok --with-default-link to set it.
33274 * configure: Regenerated.
33275 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33276 (shlib-lds, shlib-lds-flags): Define to empty.
33277
2d4fa81e
RM
33278 * Makerules (shlib-lds): New variable.
33279 (shlib-lds-flags): New variable.
33280 (build-shlib, build-moduile, build-module-asneeded): Use it.
33281 ($(common-objpfx)libc.so): Use $(shlib-lds).
33282 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33283 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33284
31fffa6b
RM
33285 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33286 DT_FLAGS/DT_FLAGS_1 with zero flags.
33287
4e34ac6a
RM
33288 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33289 linker script munging.
33290
fcfc776b
UD
332912011-07-02 Ulrich Drepper <drepper@gmail.com>
33292
33293 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33294 as 128-bit value.
33295 * crypt/sha512.c (sha512_process_block): Perform total addition using
33296 128-bit if possible.
33297 (__sha512_finish_ctx): Likewise.
33298 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33299 as 64-bit value.
33300 * crypt/sha256.c (SWAP64): Define.
33301 (sha256_process_block): Perform total addition using 64-bit if
33302 possible.
33303 (__sha256_finish_ctx): Likewise.
33304
99231d9a
UD
333052011-07-01 Ulrich Drepper <drepper@gmail.com>
33306
33307 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33309 * nscd/hstcache.c (cache_addhst): Likewise.
33310 * nscd/grpcache.c (cache_addgr): Likewise.
33311 * nscd/aicache.c (addhstaiX): Likewise
33312 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33313
445b4a53
TK
333142011-07-01 Thorsten Kukuk <kukuk@suse.de>
33315
33316 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33318 * nscd/hstcache.c (cache_addhst): Likewise.
33319 * nscd/grpcache.c (cache_addgr): Likewise.
33320 * nscd/aicache.c (addhstaiX): Likewise
33321
6d4d8e8e
AS
333222011-07-01 Andreas Schwab <schwab@redhat.com>
33323
33324 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33325 domain only when needed.
33326
89f654c5
AS
333272011-06-30 Andreas Schwab <schwab@redhat.com>
33328
33329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33330 is always restored.
33331
cf3b23ff
UD
333322011-06-29 Ulrich Drepper <drepper@gmail.com>
33333
33334 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33335 are re-adding the entry.
33336 * nscd/servicescache.c (cache_addserv): Likewise.
33337
751626f9
AJ
333382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33339
33340 * sysdeps/generic/dl-irel.h: fix protection against multiple
33341 inclusions.
33342 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33343
9113ea1f
UD
333442011-06-28 Ulrich Drepper <drepper@gmail.com>
33345
5c0b8d90
UD
33346 [BZ #12935]
33347 * malloc/memusage.sh: Fix quoting in message.
33348 * debug/xtrace.sh: Likewise.
33349
9113ea1f
UD
33350 * configure.in: Remove support for --experimental-malloc option, make
33351 it the default.
33352 * config.make.in: Likewise.
33353 * malloc/Makefile: Likewise.
33354
a4172181
AS
333552011-06-27 Andreas Schwab <schwab@redhat.com>
33356
33357 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33358 two-byte characters.
33359
78a7eee7
RM
333602011-06-27 Roland McGrath <roland@hack.frob.com>
33361
62bede13
RM
33362 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33363 AC_CACHE_CHECK invocation.
33364 * configure: Regenerated.
33365
78a7eee7
RM
33366 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33367
5ce33a62
UD
333682011-06-27 Ulrich Drepper <drepper@gmail.com>
33369
034807a9
UD
33370 [BZ #12350]
33371 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33372 bit from old_res_options.
33373
4902da17
UD
33374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33375
5ce33a62
UD
33376 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33377 value type for setfct.
33378
c2344f56
L
333792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33380
33381 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33382 __gettimeofday instead of gettimeofday.
33383
68468076
UD
333842011-06-26 Ulrich Drepper <drepper@gmail.com>
33385
33386 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33387
acb0d739
L
333882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33389
33390 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33391
33392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33393 info.
33394
8912479f
L
333952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33396
33397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33398 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33399 strcpy-sse2-unaligned strncpy-sse2-unaligned
33400 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33401 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33402 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33403 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33404 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33405 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33407 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33408 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33409 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33410 (STRCPY): Support SSE2 and SSSE3 versions.
33411
d5495a11
UD
334122011-06-24 Ulrich Drepper <drepper@gmail.com>
33413
33414 [BZ #12874]
33415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33416 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33417 kernels which artificially limit size of requests.
33418
0b1cbaae
L
334192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33420
33421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33422 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33423 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33424 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33425 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33426 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33427 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33428 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33429 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33431 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33432 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33433 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33434 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33435 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33437 Enable unaligned load optimization for Intel Core i3, i5 and i7
33438 processors.
33439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33440 Define.
33441 (index_Fast_Unaligned_Load): Define.
33442 (HAS_FAST_UNALIGNED_LOAD): Define.
33443
07f494a0
MP
334442011-06-23 Marek Polacek <mpolacek@redhat.com>
33445
33446 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33447
fa3fc0fe
UD
334482011-06-22 Ulrich Drepper <drepper@gmail.com>
33449
33450 [BZ #12907]
33451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33452 until it is clear that the information is realy needed.
33453 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33454
e12df166
AS
334552011-06-22 Andreas Schwab <schwab@redhat.com>
33456
33457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33458
852eb34d
UD
334592011-06-22 Ulrich Drepper <drepper@gmail.com>
33460
84e2a551
UD
33461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33462 /sys/devices/system/cpu/online if it is usable.
33463
852eb34d
UD
33464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33465 reading the information from the /proc filesystem to once a second.
33466
6e502e19
UD
334672011-06-21 Andreas Jaeger <aj@suse.de>
33468
33469 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33470 NULL after inclusion of kernel headers.
33471
75d39ff2
UD
334722011-06-21 Ulrich Drepper <drepper@gmail.com>
33473
51f9aa6a
UD
33474 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33475 calls to internal_setent.
33476
c0244a9d
UD
33477 [BZ #12885]
33478 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33479 addresses using gethostbyname4_r ignore IPv4 addresses.
33480
c5e3c2ae
UD
33481 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33482 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33483
75d39ff2
UD
33484 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33485
42675c6f
DM
334862011-06-20 David S. Miller <davem@davemloft.net>
33487
33488 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33489 inclusions.
33490 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33491
33492 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33493 (elf_irel): Use it.
33494 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33495 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33496 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33497 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33498 * sysdeps/x86_64/dl-irel.h: Likewise.
33499
33500 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33501 * elf/dl-sym.c: Likewise.
33502
57912a71
UD
335032011-06-15 Ulrich Drepper <drepper@gmail.com>
33504
33505 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33506 need to dereference resplen2.
33507
ee22793d
AS
335082011-06-14 Andreas Schwab <schwab@redhat.com>
33509
33510 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33511
a9e836b0
UD
335122011-06-15 Ulrich Drepper <drepper@gmail.com>
33513
77fb9117
UD
33514 * Makeconfig: Define vardbdir and inst_vardbdir.
33515 * nss/Makefile: Add rules to install db-Makefile.
33516
40c1b22c
UD
33517 * nss/nss_db/db-XXX.c: Cleanup.
33518
9f2da732
UD
33519 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33520 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33521 GLIBC_PRIVATE.
33522 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33523 * nss/makedb.c: Implement -g option to specify that value strings
33524 are generated and should not be added to table iterated over for
33525 get*ent calls.
33526 * nss/nss_db/db-initgroups.c: New file.
33527
82e9a1f7
UD
33528 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33529 interface.
33530
c41af17e
UD
33531 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33532 (internal_getgrouplist): Adjust to name change.
33533 Update use_initgroups_entry if this is not the first call.
33534 * nss/databases.def: Add initgroups entry.
33535
a9e836b0
UD
33536 * nss/makedb.c (compute_tables): Check result of multiple hash table
33537 sizes to minimize maximum chain length.
33538
2666d441
UD
335392011-06-14 Ulrich Drepper <drepper@gmail.com>
33540
33541 * Versions.def: Add entry for libnss_db.
33542 * shlib-versions: Likewise.
33543 * nss/Makefile: Add rules to build libnss_db.
33544 * nss/Versions: Add libnss_db information. Organize libnss_files
33545 entries better.
33546 * nss/db-Makefile: Add gshadow support. Change rules for the new
33547 makedb progra. Some minor improvements to generate smaller files.
33548 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33549 here from...
33550 * nss/makedb.c: ...here.
33551 Improve database format to be smaller and require less memory at
33552 runtime.
33553 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33554 db anymore.
33555 * nss/nss_db/db-netgrp.c: Likewise.
33556 * nss/nss_db/db-open.c: Likewise.
33557 * nss/nss_files/flies-XXX.x: Adjust comments.
33558 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33559 * nss/nss_files/files-grp.c: Likewise.
33560 * nss/nss_files/files-hosts.c: Likewise.
33561 * nss/nss_files/files-network.c: Likewise.
33562 * nss/nss_files/files-proto.c: Likewise.
33563 * nss/nss_files/files-pwd.c: Likewise.
33564 * nss/nss_files/files-rpc.c: Likewise.
33565 * nss/nss_files/files-service.c: Likewise.
33566 * nss/nss_files/files-sgrp.c: Likewise.
33567 * nss/nss_files/files-spwd.c: Likewise.
33568 * nss/nss_db/db-alias.c: Removed.
33569 * nss/nss_db/dummy-db.h: Removed.
33570
9ee76b5a
UD
335712011-06-02 Ulrich Drepper <drepper@gmail.com>
33572
33573 * nss/makedb.c: Rewritten to not use database library.
33574 * nss/Makefile: Update to build new makedb program.
33575
c71ca1f8
AJ
335762011-06-14 Andreas Jaeger <aj@suse.de>
33577
33578 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33579 memset declaration.
33580
3154bfb8
UD
335812011-06-10 Andreas Schwab <schwab@redhat.com>
33582
33583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33584 tmpbuf.
33585
b350afab
RM
335862011-06-10 Roland McGrath <roland@hack.frob.com>
33587
decd4e50
RM
33588 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33589 * elf/Makefile ($(objpfx)ld.so): Likewise.
33590
5615eaf2
RM
33591 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33592 Don't list ld.so twice in dependencies.
33593
33594 * posix/bug-regex31.c: Include <stdlib.h>.
33595
33596 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33597
33598 * nis/nss_compat/compat-spwd.c
33599 (getspent_next_nss_netgr): Remove unused variable.
33600 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33601
33602 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33603 nonmembers" output to use the right array.
33604
33605 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33606
33607 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33608
33609 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33610 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33611 * catgets/gencat.c (read_input_file): Likewise.
33612 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33613
33614 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33615 variable definition inside #if's controlling its use.
33616
33617 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33618
33619 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33620
33621 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33622
33623 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33624 unreachable code.
33625
33626 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33627
b68e08db
RM
33628 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33629 * configure: Regenerated.
33630
b350afab
RM
33631 * Makerules: Revert last change.
33632 * elf/Makefile: Likewise.
33633
28368601
RM
336342011-06-09 Roland McGrath <roland@hack.frob.com>
33635
33636 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33637 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33638 (reloc-link): Likewise.
33639
11988f8f
UD
336402011-06-09 Ulrich Drepper <drepper@gmail.com>
33641
33642 * elf/Makefile: Add rules to build pldd.
33643 * elf/pldd.c: New file.
33644 * elf/pldd-xx.c: New file.
33645
e80fab37
UD
336462011-06-07 Ulrich Drepper <drepper@gmail.com>
33647
33648 * version.h: Update for 2.15 development version.
33649
9b849836
DM
336502011-06-07 David S. Miller <davem@davemloft.net>
33651
33652 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33653 ifuncs.
33654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33655 elf_machine_lazy_rel): Likewise.
33656 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33658 elf_machine_lazy_rel): Likewise.
33659 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33660 dl_hwcap via passed in argument.
33661 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33662 Likewise.
33663
5a31b283
AK
336642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33665
33666 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33667
069e52f8
RM
336682011-06-06 Roland McGrath <roland@hack.frob.com>
33669
33670 [BZ #12849]
33671 * manual/fdl-1.1.texi: New file, verbatim from:
33672 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33673 * manual/lgpl-2.1.texi: New file, verbatim from:
33674 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33675 * manual/Makefile (licenses): New variable, list those new file names.
33676 (texis): Use it.
33677 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33678
33679 * manual/fdl.texi: File removed.
33680 * manual/lesser.texi: File removed.
33681 * manual/libc.texinfo (Copying, Documentation License):
33682 Use new @include file names, put @appendix directive before @include.
33683
f16846a5
JJ
336842011-06-04 Jakub Jelinek <jakub@redhat.com>
33685
33686 [BZ #12841]
33687 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33688 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33689 (mq_open): Add __NTH.
33690
3d29045b
L
336912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33694 Assume Intel Core i3/i5/i7 processor if AVX is available.
33695
8c297311
UD
336962011-05-31 Ulrich Drepper <drepper@gmail.com>
33697
33698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33699 typo.
33700
c8fc0c91
UD
337012011-05-31 Andreas Schwab <schwab@redhat.com>
33702
33703 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33704 memory. Use alloca_account. Fix memory leak when retrying.
33705
5b27a807
UD
337062011-05-31 Ulrich Drepper <drepper@gmail.com>
33707
356f8bc6
UD
33708 * version.h (RELEASE): Bump for 2.14 release.
33709 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33710
5b27a807
UD
33711 * config.make.in (RANLIB): Remove entry.
33712
01f16ab0
UD
337132011-05-30 Ulrich Drepper <drepper@gmail.com>
33714
41fce8bd
UD
33715 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33716 (libc.pot): Work around missing support for .ksh extension in xgettext.
33717
4769ae77
UD
33718 [BZ #12684]
33719 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33720 if both request failed.
33721 (send_dg): In case of server errors clear resplen or *resplen2.
33722
6b1e7d19
UD
33723 [BZ #12454]
33724 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33725 when there are multiple maps.
33726 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33727 (_dl_fini): Remove test here.
33728
01f16ab0
UD
33729 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33730
b1ebd700
UD
337312011-05-29 Ulrich Drepper <drepper@gmail.com>
33732
7ae22829
UD
33733 [BZ #12350]
33734 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33735 bit from old_res_options.
33736 (gaih_inet): Likewise.
33737
553149f6 33738 [BZ #11099]
18a84741 33739 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33740 as signed.
33741
652ffab1
UD
33742 * resolv/res_init.c (res_setoptions): Make the code more compact.
33743
16985fd0
UD
33744 [BZ #11558]
33745 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33746 set RES_USEVC.
33747
0464f746
UD
33748 [BZ #11634]
33749 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33750
7d17596c
UD
33751 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33752
cf6bbbd7
UD
33753 [BZ #11781]
33754 * malloc/malloc.h: Declare malloc hook variables as volatile.
33755
13f1ab36
UD
33756 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33757 in last patch.
33758
b1ebd700
UD
33759 [BZ #11799]
33760 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33761 raise in the comment.
80e2212d
UD
33762 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33764 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33765
ce67228d
UD
337662011-05-28 Ulrich Drepper <drepper@gmail.com>
33767
8887a920
UD
33768 [BZ #12811]
33769 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33770 grow the buffers more if it already has to be sufficient.
33771 (build_wcs_upper_buffer): Likewise.
33772 * posix/regexec.c (check_matching): Likewise.
33773 (clean_state_log_if_needed): Likewise.
33774 (extend_buffers): Don't enlarge buffers beyond size of the input
33775 buffer.
33776 Patches mostly by Emil Wojak <emil@wojak.eu>.
33777 * posix/bug-regex32.c: New file.
33778 * posix/Makefile (tests): Add bug-regex32.
33779
4f031072
UD
33780 * locale/findlocale.c (_nl_find_locale): Return right away if
33781 _nl_explode_name failed.
33782 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33783
d0478f0c
UD
33784 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33785
de81b246
UD
33786 * debug/xtrace.sh: Unify messages.
33787 * malloc/memusage.sh: Likewise.
33788
c738465a
UD
33789 [BZ #12813]
33790 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33791 time symbol from vDSO. Substitute with vsyscall if not available.
33792 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33793 __vdso_time.
33794
f1f929d7
UD
33795 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33796 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33797 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33798 Add sendmmsg and internal_sendmmsg.
33799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33800 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33801 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33802
ce67228d
UD
33803 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33804 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33806
e57420c6
UD
338072011-05-27 Ulrich Drepper <drepper@gmail.com>
33808
a8509ca5
UD
33809 [BZ #12813]
33810 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33811 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33812 available.
33813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33814 __vdso_getcpu.
33815
e57420c6
UD
33816 [BZ #12814]
33817 * iconvdata/Makefile (tests): Add bug-iconv9.
33818 * iconvdata/bug-iconv9.c: New file.
33819
4d07db15
AS
338202011-05-27 Andreas Schwab <schwab@redhat.com>
33821
33822 [BZ #12814]
33823 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33824
ea486f69
JJ
338252011-05-25 Jakub Jelinek <jakub@redhat.com>
33826
33827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33828 (struct user_regs_struct): Change intcs field back to cs.
33829
6f038433
UD
338302011-05-25 Ulrich Drepper <drepper@gmail.com>
33831
33832 * po/ja.po: Update from translation team.
33833
67f86a25
UD
338342011-05-23 Ulrich Drepper <drepper@gmail.com>
33835
33836 [BZ #12795]
33837 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33838 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33839
def7fbd6
AS
338402011-05-20 Andreas Schwab <schwab@redhat.com>
33841
33842 * stdlib/longlong.h: Update from GCC.
33843
f50ef8f1
AS
338442011-05-23 Andreas Schwab <schwab@redhat.com>
33845
33846 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33847 parameter name.
33848 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33849 Add parameter name.
33850 (__sysconf): Pass it down.
33851
de7ce8f1
UD
338522011-05-22 Ulrich Drepper <drepper@gmail.com>
33853
f2962a71
UD
33854 [BZ #12671]
33855 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33856 some situations.
33857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33858 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33859 add in in __libc_use_alloca calls. Adjust callers.
33860 (glob): Use malloc in some situations.
33861
de7ce8f1
UD
33862 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33863 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33864 pltexit.
33865
aec84f53
UD
338662011-05-21 Ulrich Drepper <drepper@gmail.com>
33867
05bb4a68
UD
33868 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33869 and CLOCK_BOOTTIME_ALARM.
33870
7ea72f99
UD
33871 [BZ #12782]
33872 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33873 is returned.
33874
7e4afad5
UD
33875 * string/_strerror.c (__strerror_r): Print negative errors as signed
33876 numbers.
33877
8e211fec
UD
33878 [BZ #12777]
33879 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33880 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33881 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33882
f7d82dc9
UD
33883 * configure.in: Fix typo in redirection and correct removal of test
33884 files in two cases.
33885
cc9e536d
UD
33886 [BZ #12788]
33887 * locale/setlocale.c (new_composite_name): Fix test to check for
33888 identical name of all categories.
33889
aec84f53
UD
33890 [BZ #12792]
33891 * libio/filedoalloc.c (local_isatty): New function.
33892 (_IO_file_doallocate): Use local_isatty.
33893 * stdio-common/perror.c (perror): In case a new stream is used
33894 forward the stream error.
33895 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33896 error flag.
33897
78e64fdc
RT
338982011-05-20 Ulrich Drepper <drepper@gmail.com>
33899
34a9094f
UD
33900 [BZ #11869]
33901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33902 alloca.
33903 * include/alloca.h (extend_alloca_account): Define.
33904
78e64fdc
RT
33905 [BZ #11857]
33906 * posix/regex.h: Fix comments with documentation of user-accessible
33907 fields after compilation and describe correct free'ing of pattern
33908 after re_compile_pattern.
33909 Patch by Reuben Thomas <rrt@sc3d.org>.
33910
457bddfc
RA
339112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33912
33913 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33914 and -mno-altivec to prevent the compiler from using Altivec and/or
33915 VSX instructions when the corresponding registers are not available.
33916
a4527b51
AS
339172011-05-19 Andreas Schwab <schwab@redhat.com>
33918
33919 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33920
ed690b2f
UD
339212011-05-19 Ulrich Drepper <drepper@gmail.com>
33922
33923 * libio/freopen.c (freopen): Use __dup2, not dup2.
33924 * libio/freopen64.c (freopen64): Likewise.
33925
8db73634
L
339262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33927
33928 [BZ #12775]
33929 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33930 * math/Makefile (tests): Add test-powl.
33931 (CFLAGS-test-powl.c): Define.
33932 * math/test-powl.c: New file.
33933
0a197a9d
L
339342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33935
33936 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33937
ee30c380
UD
339382011-05-17 Ulrich Drepper <drepper@gmail.com>
33939
33940 [BZ #11837]
33941 * iconvdata/gb18030.c: Update to GB18020-2005.
33942
6ce75379
UD
339432011-05-16 Ulrich Drepper <drepper@gmail.com>
33944
a4b89fd8
AR
33945 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33946 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33947 Patch by Aharon Robbins <arnold@skeeve.com>.
33948
ea389b12
UD
33949 [BZ #11892]
33950 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33951 on the stack.
33952
68a3f91f
UD
33953 [BZ #11895]
33954 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33955 through underflows.
33956
15cc7dd1
UD
33957 [BZ #12766]
33958 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33959 point to strings before performing equality test for error_one_per_line
33960 mode.
33961
f3799213
UD
33962 [BZ #11697]
33963 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33964
d79a9c94
UD
33965 [BZ #11820]
33966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33967 (struct user_fpregs_struct): Avoid __uint*_t types.
33968
56e5eb46
UD
33969 [BZ #6420]
33970 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33971 symbol info. Use it instead of calling _dl_addr locally.
33972 (lock_and_info): New function.
33973 (tr_freehook): Call lock_and_info and pass symbol info as additional
33974 parameter to tr_where.
33975 (tr_mallochook): Likewise.
33976 (tr_reallochook): Likewise.
33977 (tr_memalignhook): Likewise.
33978
6ce75379
UD
33979 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33980 used and couldn't be at all thread-safe.
33981
f8a3b5bf
UD
339822011-05-15 Ulrich Drepper <drepper@gmail.com>
33983
94b7cc37
UD
33984 * libio/freopen.c (freopen): Don't close old file descriptor
33985 before the new one is opened. Instead dup the new file descriptor
33986 to the old one after the new stream is created.
33987 * libio/freopen64.c (freopen64): Likewise.
33988 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33989 * libio/fileops.c (_IO_new_file_close_it): Handle new
33990 _IO_FLAGS2_NOCLOSE flag.
33991 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33992 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33993 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33994 _IO_FLAGS2_NOCLOSE flag.
33995 * include/unistd.h: Add hidden_proto for dup3.
33996 Define __have_dup3.
33997 * io/dup3.c: Define hidden symbol.
33998 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33999
bd25564e
UD
34000 [BZ #7101]
34001 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34002 when an incomplete long option is used.
34003 * posix/tst-getopt_long1.c: New file.
34004 * posix/Makefile (tests): Add tst-getopt_long1.
34005
c84cfef4
UD
34006 [BZ #10138]
34007 * scripts/config.guess: Update from autoconf-2.68.
34008 * scripts/config.sub: Likewise.
34009
3b85df27
UD
34010 [BZ #10157]
34011 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34012 tests into ...
34013 (has_cpuclock): ...this. New function.
34014 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34015 macro here based on has_cpuclock code.
34016
15a856b1
UD
34017 [BZ #10149]
34018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34019 First byte (not low byte) is now always NUL.
34020 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34021
05f399e6
UD
34022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34023 Use non-cancelable interfaces.
34024
10a52685 34025 [BZ #9809]
94ecc67d
UD
34026 * locale/iso-639.def: Add entry for Sorani.
34027
f8a3b5bf
UD
34028 [BZ #11901]
34029 * include/stdlib.h: Move include protection to the right place.
34030 Define abort_msg_s. Declare __abort_msg with it.
34031 * stdlib/abort.c (__abort_msg): Adjust type.
34032 * assert/assert.c (__assert_fail_base): New function. Majority
34033 of code from __assert_fail. Allocate memory for __abort_msg with
34034 mmap.
34035 (__assert_fail): Now call __assert_fail_base.
34036 * assert/assert-perr.c: Remove bulk of implementation. Use
34037 __assert_fail_base.
34038 * include/assert.hL Declare __assert_fail_base.
34039 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34040 mmap.
34041 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34042
1af4e298
UD
340432011-05-14 Ulrich Drepper <drepper@gmail.com>
34044
f8a3b5bf 34045 [BZ #11952]
d26dfc60
MG
34046 [BZ #12453]
34047 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34048 until all modules are registered in the DTV.
34049 * elf/Makefile: Add rules to build and run tst-tls19.
34050 * elf/tst-tls19.c: New file.
34051 * elf/tst-tls19mod1.c: New file.
34052 * elf/tst-tls19mod2.c: New file.
34053 * elf/tst-tls19mod3.c: New file.
34054 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34055
2fc54d6f
UD
34056 [BZ #12083]
34057 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34058 correctly.
34059
98d76b46
UD
34060 [BZ #12601]
34061 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34062 two-byte sequence errors.
34063 * iconvdata/Makefile (tests): Add bug-iconv8.
34064 * iconvdata/bug-iconv8.c: New file.
34065
da3c19ef
UD
34066 [BZ #12626]
34067 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34068 buf2 definition.
34069
ca408c15
UD
34070 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34071
d6f67f7d
UD
34072 [BZ #12432]
34073 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34074 (dummy_getcfa): New function.
34075 (init): Get _Unwind_GetCFA address, use dummy if not found.
34076 (backtrace_helper): In recursion check, also check whether CFA changes.
34077 (__backtrace): Completely initialize arg.
34078
1af4e298 34079 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34080 storing incomplete byte sequence in state object. Avoid testing for
34081 guaranteed too small input if we know there is enough data available.
1af4e298 34082
da62f81b
AS
340832011-05-11 Andreas Schwab <schwab@redhat.com>
34084
34085 * Makeconfig (+link-pie): Indent.
34086 * Rules (binaries-pie): Define if $(have-fpie) and
34087 $(build-shared).
34088 (binaries-shared): Also filter out $(binaries-pie).
34089 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34090 * nscd/Makefile (others-pie): Add nscd.
34091 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34092 ($(objpfx)nscd): Remove command override.
34093 * login/Makefile (others-pie): Add pt_chown.
34094 ($(objpfx)pt_chown): Remove command override.
34095 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34096 remove command overrides.
34097
fcabc0f8
UD
340982011-05-13 Ulrich Drepper <drepper@gmail.com>
34099
20030ae6
UD
34100 * libio/tst_putwc.c: Fix error messages.
34101
fcabc0f8
UD
34102 [BZ #12724]
34103 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34104 currently writing and seek to current position when not.
34105 * libio/Makefile (tests): Add bug-fclose1.
34106 * libio/bug-fclose1.c: New file.
34107
320a5dc0
PB
341082011-05-12 Ulrich Drepper <drepper@gmail.com>
34109
34110 [BZ #12511]
34111 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34112 don't set DF_1_NODELETE here.
34113 (do_lookup_x): When entering new entry test for copy relocation
34114 and if necessary set DF_1_NODELETE flag.
34115 * elf/tst-unique4.cc: New file.
34116 * elf/tst-unique4.h: New file.
34117 * elf/tst-unique4lib.cc: New file.
34118 * elf/Makefile: Add rules to build and run tst-unique4.
34119 Patch by Piotr Bury <pbury@goahead.com>.
34120
22836f52
UD
341212011-05-11 Ulrich Drepper <drepper@gmail.com>
34122
f574184a
UD
34123 [BZ #12052]
34124 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34125
e1fb097f
UD
34126 [BZ #12625]
34127 * misc/mntent_r.c (addmntent): Flush the stream after the output
34128
22836f52
UD
34129 [BZ #12393]
34130 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34131 (is_trusted_path_normalize): Skip initial colon. Append slash
34132 to empty buffer. Duplicate is_trusted_path code but allow
34133 constructed patch to be prefix.
34134 (is_dst): Allow $ORIGIN followed by /.
34135 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34136 Correct testing of result of is_trusted_path_normalize
34137 (decompose_rpath): Fix warning.
34138
7b3b0b2a
UD
341392011-05-10 Ulrich Drepper <drepper@gmail.com>
34140
34141 [BZ #11257]
34142 * grp/initgroups.c (internal_getgrouplist): When we found the service
34143 list through the initgroups entry in nsswitch.conf do not always
34144 continue on a successful lookup. Don't always use the
eac80ce2 34145 __nss_group_database value if it is set.
7b3b0b2a
UD
34146 * nss/nsswitch.conf (initgroups): Change action for successful db
34147 lookup to continue for compatibility.
34148
2a81eaa5
UD
341492011-05-09 Ulrich Drepper <drepper@gmail.com>
34150
be97a69e
UD
34151 [BZ #11532]
34152 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34153 and CP774 modules.
34154 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34155 and CP774 modules.
34156 * iconvdata/tst-tables.sh: Likewise.
34157 * iconvdata/cp770.c: New file.
34158 * iconvdata/cp771.c: New file.
34159 * iconvdata/cp772.c: New file.
34160 * iconvdata/cp773.c: New file.
34161 * iconvdata/cp774.c: New file.
34162 * iconvdata/testdata/CP770: New file.
34163 * iconvdata/testdata/CP770..UTF8: New file.
34164 * iconvdata/testdata/CP771: New file.
34165 * iconvdata/testdata/CP771..UTF8: New file.
34166 * iconvdata/testdata/CP772: New file.
34167 * iconvdata/testdata/CP772..UTF8: New file.
34168 * iconvdata/testdata/CP773: New file.
34169 * iconvdata/testdata/CP773..UTF8: New file.
34170 * iconvdata/testdata/CP774: New file.
34171 * iconvdata/testdata/CP774..UTF8: New file.
34172
34173 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34174 END CHARMAP line.
34175 * iconvdata/gen-8bit-gap.sh: Likewise.
34176 * iconvdata/gen-8bit.sh: Likewise.
34177
c1e9e399
UD
34178 * locale/iso-639.def: Add ary entry.
34179
24c55fb3 34180 [BZ #11258]
96b4b1b0
UD
34181 * locale/C-translit.h.in: Add U20A1 transliteration.
34182
bdc2f971
KB
34183 [BZ #12178]
34184 * locale/iso-639.def: Add wae entry.
34185 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34186
2952b117
UD
34187 [BZ #12545]
34188 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34189 for n.
34190
2a81eaa5
UD
34191 [BZ #12711]
34192 * locale/C-translit.h.in: Add entry for U20B9.
34193 Patch by pravin.d.s@gmail.com.
34194
28377d1b
UD
341952011-05-08 Ulrich Drepper <drepper@gmail.com>
34196
7fb90fb8
UD
34197 [BZ #12713]
34198 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34199 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34200 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34201 in rtld. Use *stat64.
7fb90fb8 34202 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34203 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34204 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34205 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34206 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34207 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34208 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34209 __fstatat64 macros.
7fb90fb8
UD
34210 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34211 * dirent/rewinddir.c: Add libc_hidden_def.
34212 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34213 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34214
28377d1b
UD
34215 * include/dirent.h (__alloc_dir): Add flags parameter.
34216 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34217 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34218 __alloc_dir.
34219 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34220 from fdopendir if O_CLOEXEC is already set.
34221
66bdbaa4
AM
342222011-03-15 Alan Modra <amodra@gmail.com>
34223
34224 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34225 l_tls_firstbyte_offset non-zero. Save padding offset in
34226 l_tls_firstbyte_offset for later use.
34227 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34228 freeing static tls block.
34229
95721191
JN
342302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34231
34232 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34233 where #ifdef was intended. The intent is to prevent ARG_MAX from
34234 being defined by the kernel headers.
34235
f87dfb1f
UD
342362011-05-07 Ulrich Drepper <drepper@gmail.com>
34237
34238 [BZ #12734]
34239 * resolv/resolv.h: Define RES_NOTLDQUERY.
34240 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34241 no-tld-query and set RES_NOTLDQUERY.
34242 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34243 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34244 modern BIND to search name as TLD unless forbidden.
34245
47c3cd7a
UD
342462011-05-07 Petr Baudis <pasky@suse.cz>
34247 Ulrich Drepper <drepper@gmail.com>
34248
34249 [BZ #12393]
34250 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34251 (is_trusted_path): ...to here.
c1e9ea35 34252 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34253 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34254 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34255
8a35c912
PP
342562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34257
34258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34259 __BEGIN/__END_DECLS.
34260
acd41f47
UD
342612011-05-06 Ulrich Drepper <drepper@gmail.com>
34262
34263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34264 NSS_STATUS_NOTFOUND if no record was found.
34265
597df647
AS
342662011-05-05 Andreas Schwab <schwab@redhat.com>
34267
34268 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34269 (headers-not-in-tirpc): Remove rpc/netdb.h
34270 * resolv/netdb.h: Revert last change.
34271
b9af1301
PP
342722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34273
34274 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34275 circular dependency between libgcc.a and libc.a.
34276
4e34d5f5
AS
342772011-05-05 Andreas Schwab <schwab@redhat.com>
34278
34279 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34280 * nis/Makefile: Don't install rpcsvc/*.
34281 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34282 instead of <rpc/types.h>.
34283 (MAXHOSTNAMELEN): Define.
34284
00ee369c
AS
342852011-05-03 Andreas Schwab <schwab@redhat.com>
34286
34287 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34288
0b592a30
MB
342892011-04-28 Maciej Babinski <mbabinski@google.com>
34290
34291 [BZ #12714]
34292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34293 gethostbyname4_r when IPv6 results are possible.
34294
6e04cbbe
UD
342952011-05-02 Ulrich Drepper <drepper@gmail.com>
34296
34297 [BZ #12723]
34298 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34299 _PC_PIPE_BUF handling.
34300
e4ecafe0
BH
343012011-04-30 Bruno Haible <bruno@clisp.org>
34302
34303 [BZ #12717]
34304 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34305 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34306 to 'int'.
34307 * inet/getnameinfo.c (getnameinfo): Likewise.
34308
125ee683
UD
343092011-04-29 Ulrich Drepper <drepper@gmail.com>
34310
34311 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34312 to groups setting in database lookup.
34313 * nss/nsswitch.conf: Add initgroups entry.
34314
b722481a
EB
343152011-04-22 Ulrich Drepper <drepper@gmail.com>
34316
34317 [BZ #12685]
34318 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34319 mode string.
34320 Patch by Eric Blake <eblake@redhat.com>.
34321
4df46dbd
L
343222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34323
34324 * sunrpc/Makefile (need-export-routines): Add svc_run.
34325 (routines): Remove svc_run.
34326 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34327 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34328 * sunrpc/svc_run.c (svc_run): Likewise.
34329 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34330
e84142d2
UD
343312011-04-21 Ulrich Drepper <drepper@gmail.com>
34332
34333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34334 problem in reallocation in last patch.
34335
877175d8
UD
343362011-04-20 Ulrich Drepper <drepper@gmail.com>
34337
34338 * sunrpc/Makefile: Move inclusion of Rules.
34339
ab8eed78
UD
343402011-04-19 Ulrich Drepper <drepper@gmail.com>
34341
34342 * nss/nss_files/files-initgroups.c: New file.
34343 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34344 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34345 _nss_files_initgroups_dyn.
34346
e3d8f584
RS
343472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34348
34349 * elf/elf.h (R_ARM_IRELATIVE): Define.
34350
af190f45
UD
343512011-04-19 Ulrich Drepper <drepper@gmail.com>
34352
34353 * po/ru.po: Update from translation team.
34354
53cf59ef
UD
343552011-04-17 Ulrich Drepper <drepper@gmail.com>
34356
34357 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34358 dependencies.
34359
4c559bcd
MF
343602011-02-06 Mike Frysinger <vapier@gentoo.org>
34361
34362 [BZ #12653]
34363 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34364 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34365 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34368
4420675c
AS
343692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34370
34371 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34372 differing bytes.
34373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34376
75ea32ab
UD
343772011-04-17 Ulrich Drepper <drepper@gmail.com>
34378
34379 [BZ #12420]
34380 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34381 storing it.
34382 * stdlib/bug-getcontext.c: New file.
34383 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34384
27390476
AK
343852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34386
34387 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34388 instructions into .machine "z9-109".
34389 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34390 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34391
10442705
AK
343922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34393
34394 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34395 between environment variables and auxiliary vector.
34396
7b57bfe5
UD
343972011-04-16 Ulrich Drepper <drepper@gmail.com>
34398
34399 * Makefile: Add rules to build linkobj/libc.so.
34400 * include/libc-symbols.h: Define libc_hidden_nolink.
34401 * include/rpc/auth.h: Mark functions which are to be hidden.
34402 * include/rpc/auth_des.h: Likewise.
34403 * include/rpc/auth_unix.h: Likewise.
34404 * include/rpc/clnt.h: Likewise.
34405 * include/rpc/des_crypt.h: Likewise.
34406 * include/rpc/key_prot.h: Likewise.
34407 * include/rpc/pmap_clnt.h: Likewise.
34408 * include/rpc/pmap_prot.h: Likewise.
34409 * include/rpc/pmap_rmt.h: Likewise.
34410 * include/rpc/rpc_msg.h: Likewise.
34411 * include/rpc/svc.h: Likewise.
34412 * include/rpc/svc_auth.h: Likewise.
34413 * include/rpc/xdr.h: Likewise.
34414 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34415 * nss/Makefile: Likewise.
34416 * sunrpc/Makefile: Don't install headers. Build library with normal
34417 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34418 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34419 for the compat linking library. Remove use of INTDEF/INTUSE.
34420 * sunrpc/auth_none.c: Likewise.
34421 * sunrpc/auth_unix.c: Likewise.
34422 * sunrpc/authdes_prot.c: Likewise.
34423 * sunrpc/authuxprot.c: Likewise.
34424 * sunrpc/clnt_gen.c: Likewise.
34425 * sunrpc/clnt_perr.c: Likewise.
34426 * sunrpc/clnt_raw.c: Likewise.
34427 * sunrpc/clnt_simp.c: Likewise.
34428 * sunrpc/clnt_tcp.c: Likewise.
34429 * sunrpc/clnt_udp.c: Likewise.
34430 * sunrpc/clnt_unix.c: Likewise.
34431 * sunrpc/des_crypt.c: Likewise.
34432 * sunrpc/des_soft.c: Likewise.
34433 * sunrpc/get_myaddr.c: Likewise.
34434 * sunrpc/key_call.c: Likewise.
34435 * sunrpc/key_prot.c: Likewise.
34436 * sunrpc/netname.c: Likewise.
34437 * sunrpc/pm_getmaps.c: Likewise.
34438 * sunrpc/pm_getport.c: Likewise.
34439 * sunrpc/pmap_clnt.c: Likewise.
34440 * sunrpc/pmap_prot.c: Likewise.
34441 * sunrpc/pmap_prot2.c: Likewise.
34442 * sunrpc/pmap_rmt.c: Likewise.
34443 * sunrpc/publickey.c: Likewise.
34444 * sunrpc/rpc_cmsg.c: Likewise.
34445 * sunrpc/rpc_common.c: Likewise.
34446 * sunrpc/rpc_dtable.c: Likewise.
34447 * sunrpc/rpc_prot.c: Likewise.
34448 * sunrpc/rpc_thread.c: Likewise.
34449 * sunrpc/rtime.c: Likewise.
34450 * sunrpc/svc.c: Likewise.
34451 * sunrpc/svc_auth.c: Likewise.
34452 * sunrpc/svc_authux.c: Likewise.
34453 * sunrpc/svc_raw.c: Likewise.
34454 * sunrpc/svc_run.c: Likewise.
34455 * sunrpc/svc_simple.c: Likewise.
34456 * sunrpc/svc_tcp.c: Likewise.
34457 * sunrpc/svc_udp.c: Likewise.
34458 * sunrpc/svc_unix.c: Likewise.
34459 * sunrpc/svcauth_des.c: Likewise.
34460 * sunrpc/xcrypt.c: Likewise.
34461 * sunrpc/xdr.c: Likewise.
34462 * sunrpc/xdr_array.c: Likewise.
34463 * sunrpc/xdr_float.c: Likewise.
34464 * sunrpc/xdr_intXX_t.c: Likewise.
34465 * sunrpc/xdr_mem.c: Likewise.
34466 * sunrpc/xdr_rec.c: Likewise.
34467 * sunrpc/xdr_ref.c: Likewise.
34468 * sunrpc/xdr_sizeof.c: Likewise.
34469 * sunrpc/xdr_stdio.c: Likewise.
34470
e6c61494
UD
344712011-04-10 Ulrich Drepper <drepper@gmail.com>
34472
34473 [BZ #12650]
34474 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34475 * sysdeps/ia64/dl-tls.h: Likewise.
34476 * sysdeps/powerpc/dl-tls.h: Likewise.
34477 * sysdeps/s390/dl-tls.h: Likewise.
34478 * sysdeps/sh/dl-tls.h: Likewise.
34479 * sysdeps/sparc/dl-tls.h: Likewise.
34480 * sysdeps/x86_64/dl-tls.h: Likewise.
34481 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34482
34fe483e
AS
344832011-03-14 Andreas Schwab <schwab@redhat.com>
34484
34485 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34486 rpath element also skip the following colon.
34487 (expand_dynamic_string_token): Add is_path parameter and pass
34488 down to DL_DST_REQUIRED and _dl_dst_substitute.
34489 (decompose_rpath): Call expand_dynamic_string_token with
34490 non-zero is_path. Ignore empty rpaths.
34491 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34492 with zero is_path.
34493
f12a32e6
AS
344942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34495
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34497 Make cancelable.
34498
38a7d692
UD
344992011-04-09 Ulrich Drepper <drepper@gmail.com>
34500
34501 [BZ #12655]
34502 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34503 Patch by Filipe David Manana <fdmanana@apache.org>.
34504
e451d22b
AS
345052011-04-07 Andreas Schwab <schwab@redhat.com>
34506
34507 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34508 Maintain aligned stack.
34509 (CHECK_RSP): Remove unused macro.
34510
dedc7c7b
UD
345112011-04-03 Ulrich Drepper <drepper@gmail.com>
34512
34513 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34514 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34515
94521213
UD
345162011-04-02 Ulrich Drepper <drepper@gmail.com>
34517
34518 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34519
8cb700c0 34520 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34521
0354e355
L
345222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34523
34524 [BZ #12518]
34525 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34526 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34527 * sysdeps/x86_64/memmove.c: New file.
34528 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34529 (memcpy): Renamed to ...
34530 (__new_memcpy): This.
34531 (memcpy): Provide GLIBC_2_14 memcpy.
34532 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34533 (memcpy): Provide GLIBC_2_2_5 memcpy.
34534
8593482f
UD
345352011-04-01 Ulrich Drepper <drepper@gmail.com>
34536
34537 [BZ #12631]
34538 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34539
81a5726b
AS
345402011-03-30 Andreas Schwab <schwab@redhat.com>
34541
34542 * misc/syncfs.c: New file.
34543 * misc/Makefile (routines): Add syncfs.
34544 * posix/unistd.h: Declare syncfs.
34545 * sysdeps/unix/syscalls.list: Add syncfs.
34546
00e5419f
AS
345472011-04-01 Andreas Schwab <schwab@redhat.com>
34548
34549 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34550 open_by_handle_at.
34551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34553 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34556 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34558
748876bf
UD
345592011-04-01 Ulrich Drepper <drepper@gmail.com>
34560
658e451d
UD
34561 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34562 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34563 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34568
748876bf
UD
34569 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34570 sync_file_range.c with -fexceptions.
34571 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34572 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34573 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34574 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34575 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34576 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34578 sync_file_range as cancellation point
34579 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34580 now a wrapper around __call_sync_file_range with cancellation handling.
34581 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34582 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34583 function name to __call_sync_file_range.
34584 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34585 Add call_sync_file_range.
748876bf 34586
6e63d5e1
AS
345872011-04-01 Andreas Schwab <schwab@redhat.com>
34588
34589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34590 bits/timex.h.
6e63d5e1 34591
46998f74
UD
345922011-04-01 Ulrich Drepper <drepper@gmail.com>
34593
4c1423ed
UD
34594 * iconv/iconv.h: Fix typo in comment.
34595 * io/fcntl.h: Likewise.
34596 * libio/stdio.h: Likewise.
34597 * posix/spawn.h: Likewise.
34598 * posix/unistd.h: Likewise.
34599 * stdlib/stdlib.h: Likewise.
34600 * time/time.h: Likewise.
34601 * wcsmbs/wchar.h: Likewise.
34602
158648c0
UD
34603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34604 open_by_handle): Add.
34605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34606 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34607 Augment a few comments.
34608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34613 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34614 open_by_handle.
34615
46998f74
UD
34616 * io/fcntl.h (AT_EMPTY_PATH): Define.
34617
83fe108b
UD
346182011-03-30 Ulrich Drepper <drepper@gmail.com>
34619
34620 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34621 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34622 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34623 to...
34624 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34625 * Versions.def: Add GLIBC_2.14.
34626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34627 Export.
83fe108b 34628
bb242059
UD
346292011-03-22 Ulrich Drepper <drepper@gmail.com>
34630
34631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34632 round counter.
34633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34634
c97a1282
L
346352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34636
34637 [BZ #12597]
34638 * string/test-strncmp.c (do_page_test): New function.
34639 (check2): Likewise.
34640 (test_main): Call check2.
34641 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34642
2a115601
UD
346432011-03-20 Ulrich Drepper <drepper@gmail.com>
34644
34645 [BZ #12587]
34646 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34647 Handle cache information in CPU leaf 4.
34648 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34649
8126d904
UD
346502011-03-18 Ulrich Drepper <drepper@gmail.com>
34651
042c49c6 34652 [BZ #12583]
8126d904
UD
34653 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34654 character representation.
34655 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34656
ccfe366e
RA
346572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34658
34659 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34660 END(__isnan) to END(__isnanf) to match function entry point/label
34661 EALIGN(__isnanf,...).
34662
c6e13027
JJ
346632011-03-10 Jakub Jelinek <jakub@redhat.com>
34664
34665 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34666
33f85a3f
UD
346672011-03-10 Ulrich Drepper <drepper@gmail.com>
34668
028478fa
UD
34669 [BZ #12510]
34670 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34671 copy from the symbol referenced in the relocation to initialize the
34672 used variable.
34673 Patch by Piotr Bury <pbury@goahead.com>.
34674 * elf/Makefile: Add rules to build and tst-unique3.
34675 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34676 * elf/tst-unique3.cc: New file.
34677 * elf/tst-unique3.h: New file.
34678 * elf/tst-unique3lib.cc: New file.
34679 * elf/tst-unique3lib2.cc: New file.
34680
33f85a3f
UD
34681 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34682
03592fc7
MF
346832011-03-10 Mike Frysinger <vapier@gentoo.org>
34684
34685 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34686 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34687 to _start.
03592fc7 34688
6a5ee102
UD
346892011-03-06 Ulrich Drepper <drepper@gmail.com>
34690
34691 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34692 to-be-loaded object along a path to loader is ld.so.
34693
7e4ba49c
HJ
346942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34695 Ulrich Drepper <drepper@gmail.com>
34696
34697 * sysdeps/x86_64/memset.S: After aligning destination, code
34698 branches to different locations depending on the value of
34699 misalignment, when multiarch is enabled. Fix this.
34700
347012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34702
34703 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34704 Set _x86_64_preferred_memory_instruction for AMD processsors.
34705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34706 Set bit_Prefer_SSE_for_memop for AMD processors.
34707
13a804de
UD
347082011-03-04 Ulrich Drepper <drepper@gmail.com>
34709
34710 * libio/fmemopen.c (fmemopen): Optimize a bit.
34711
9d25c392
AS
347122011-03-03 Andreas Schwab <schwab@redhat.com>
34713
34714 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34715
a5543c6a
RM
347162011-03-03 Roland McGrath <roland@redhat.com>
34717
34718 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34719
012d35f7
DM
347202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34721
7e4ba49c 34722 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34723 __bzero_ultra1 instead of __memset_ultra1.
34724
4bff6e01
AS
347252011-02-23 Andreas Schwab <schwab@redhat.com>
34726 Ulrich Drepper <drepper@gmail.com>
34727
34728 [BZ #12509]
34729 * include/link.h (struct link_map): Add l_orig_initfini.
34730 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34731 returning unsuccessfully.
34732 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34733 close of a file loaded at startup, restore the original l_initfini
34734 list.
34735 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34736 list, store the pointer.
34737 * elf/Makefile ($(objpfx)noload-mem): New rule.
34738 (noload-ENV): Define.
34739 (tests): Add $(objpfx)noload-mem.
34740 * elf/noload.c: Include <memcheck.h>.
34741 (main): Call mtrace. Close all opened handles.
34742
f2092faf
AS
347432011-02-17 Andreas Schwab <schwab@redhat.com>
34744
34745 [BZ #12454]
34746 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34747 dependencies are missing.
34748
6c8a2e88
ST
347492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34750
f2092faf 34751 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34752 Hurd needs munmap.
34753 * sysdeps/mach/hurd/ifreq.h: New file.
34754
84a42118
PB
347552011-01-27 Petr Baudis <pasky@suse.cz>
34756 Ulrich Drepper <drepper@gmail.com>
34757
071f805e 34758 [BZ 12445]#
84a42118
PB
34759 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34760 to extend_alloca().
34761 * stdio-common/bug23.c: New file.
34762 * stdio-common/Makefile (tests): Add bug23.
34763
e23fe25b
AS
347642010-09-28 Andreas Schwab <schwab@redhat.com>
34765 Ulrich Drepper <drepper@gmail.com>
34766
34767 [BZ #12489]
34768 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34769 before performing relro protection. At old place add assertion
34770 to make sure nothing changed.
34771
d3f02e10
NS
347722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34773 Glauber de Oliveira Costa <glommer@gmail.com>
34774
34775 * elf/elf.h: Add new ARM TLS relocs.
34776
d55fd7a5
RA
347772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34778
34779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34780 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34781 cast from r3.
34782 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34783 'tests' variable.
34784 * sysdeps/wordsize-64/tst-writev.c: New file.
34785
2206397e
RA
347862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34787
34788 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34789 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34790 insns in _dl_start to prevent a TOC reference before relocs are
34791 resolved.
34792
e9433893
UD
347932011-02-15 Ulrich Drepper <drepper@gmail.com>
34794
34795 [BZ #12469]
34796 * Makeconfig: Remove RANLIB definition.
34797 * Makerules: Don't use RANLIB.
34798 * aclocal.m4: Remove ranlib test.
34799 * configure.in: No need to check for ranlib.
34800 * elf/rtld-Rules: Don't use RANLIB.
34801
f75286c6
ST
348022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34803
8e31c82d
ST
34804 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34805 protection macro.
34806 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34807 inclusion protection macro.
34808
f75286c6
ST
34809 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34810 SIGRTMIN and SIGRTMAX and print information in that case only when
34811 SIGRTMIN is defined.
34812
c1d0e639
JJ
348132011-02-11 Jakub Jelinek <jakub@redhat.com>
34814
34815 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34816 arginfo fn returning -1.
34817
34818 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34819 and thousands string is zero terminated.
34820
edf9294e
AS
348212011-02-03 Andreas Schwab <schwab@redhat.com>
34822
34823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34824 sysdeps/unix/sysv/linux/bits/socket.h.
34825
2b7e92df
ST
348262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34827
edf9294e
AS
34828 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34829 (__CPU_COUNT): Remove old macros.
34830 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34831 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34832 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34833 (__sched_cpualloc, __sched_cpufree): Add declarations.
34834
a4c7ea7b
UD
348352011-02-05 Ulrich Drepper <drepper@gmail.com>
34836
34837 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34838 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34839 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34840 (readdhstai): Return value of addhstaiX call.
34841 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34842 (addgrbyX): Return value returned by cache_addgr.
34843 (readdgrbyname): Return value returned by addgrbyX.
34844 (readdgrbygid): Likewise.
34845 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34846 (addpwbyX): Return value returned by cache_addpw.
34847 (readdpwbyname): Return value returned by addhstbyX.
34848 (readdpwbyuid): Likewise.
34849 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34850 (addservbyX): Return value returned by cache_addserv.
34851 (readdservbyname): Return value returned by addservbyX:
34852 (readdservbyport): Likewise.
34853 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34854 (addhstbyX): Return value returned by cache_addhst.
34855 (readdhstbyname): Return value returned by addhstbyX.
34856 (readdhstbyaddr): Likewise.
34857 (readdhstbynamev6): Likewise.
34858 (readdhstbyaddrv6): Likewise.
34859 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34860 (readdinitgroups): Return value returned by addinitgroupsX.
34861 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34862 (prune_cache): Keep track of timeout value of re-added entries.
34863 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34864 * nscd/nscd.h: Adjust prototypes of readd* functions.
34865
a0bf67cc
RM
348662011-02-04 Roland McGrath <roland@redhat.com>
34867
34868 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34869 (nis_stats): Likewise.
34870 * nis/nis_modify.c (nis_modify): Likewise.
34871 * nis/nis_remove.c (nis_remove): Likewise.
34872 * nis/nis_add.c (nis_add): Likewise.
34873
34874 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34875
34876 * posix/fnmatch_loop.c: Add some consts.
34877
34878 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34879
435b95eb
L
348802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34881
34882 [BZ #12460]
34883 * config.make.in (config-cflags-novzeroupper): Define.
34884 * configure.in: Substitute libc_cv_cc_novzeroupper.
34885 * elf/Makefile (AVX-CFLAGS): Define.
34886 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34887 (CFLAGS-tst-auditmod4a.c): Likewise.
34888 (CFLAGS-tst-auditmod4b.c): Likewise.
34889 (CFLAGS-tst-auditmod6b.c): Likewise.
34890 (CFLAGS-tst-auditmod6c.c): Likewise.
34891 (CFLAGS-tst-auditmod7b.c): Likewise.
34892 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34893
8517b15e
UD
348942011-02-02 Ulrich Drepper <drepper@gmail.com>
34895
34896 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34897 function to the callback.
34898 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34899
10a656fe
AS
349002011-02-02 Andreas Schwab <schwab@redhat.com>
34901
34902 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34903 of errno.
34904
968dad0a
UD
349052011-01-19 Ulrich Drepper <drepper@gmail.com>
34906
9f94d2ea 34907 [BZ #11724]
968dad0a
UD
34908 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34909 of constructors.
34910 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34911 of destructors.
34912 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34913
34914 [BZ #11724]
34915 * elf/Makefile: Add rules to build and run new test.
34916 * elf/tst-initorder.c: New file.
34917 * elf/tst-initorder.exp: New file.
34918 * elf/tst-initordera1.c: New file.
34919 * elf/tst-initordera2.c: New file.
34920 * elf/tst-initordera3.c: New file.
34921 * elf/tst-initordera4.c: New file.
34922 * elf/tst-initorderb1.c: New file.
34923 * elf/tst-initorderb2.c: New file.
34924 * elf/tst-order-a1.c: New file.
34925 * elf/tst-order-a2.c: New file.
34926 * elf/tst-order-a3.c: New file.
34927 * elf/tst-order-a4.c: New file.
34928 * elf/tst-order-b1.c: New file.
34929 * elf/tst-order-b2.c: New file.
34930 * elf/tst-order-main.c: New file.
34931 New test case by George Gensure <werkt0@gmail.com>.
34932
86e92359
UD
349332010-10-01 Andreas Schwab <schwab@redhat.com>
34934
34935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34936 decoding ACE if AI_CANONIDN.
34937
5d5732b0
UD
349382011-01-18 Ulrich Drepper <drepper@gmail.com>
34939
34940 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34941
a77e8cbc
UD
349422011-01-17 Ulrich Drepper <drepper@gmail.com>
34943
6392473f
UD
34944 * version.h (RELEASE): Bump for 2.13 release.
34945 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34946
620a0529
UD
34947 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34948
18ba70a5
UD
34949 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34950 MADV_NOHUGEPAGE.
32465c3e
UD
34951 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34954 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34956 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34957
c0dafcf1
UD
34958 * posix/getconf.c: Update copyright year.
34959 * catgets/gencat.c: Likewise.
34960 * csu/version.c: Likewise.
34961 * debug/catchsegv.sh: Likewise.
34962 * debug/xtrace.sh: Likewise.
34963 * elf/ldconfig.c: Likewise.
34964 * elf/ldd.bash.in: Likewise.
34965 * elf/sprof.c (print_version): Likewise.
34966 * iconv/iconv_prog.c: Likewise.
34967 * iconv/iconvconfig.c: Likewise.
34968 * locale/programs/locale.c: Likewise.
34969 * locale/programs/localedef.c: Likewise.
34970 * malloc/memusage.sh: Likewise.
34971 * malloc/mtrace.pl: Likewise.
34972 * nscd/nscd.c (print_version): Likewise.
34973 * nss/getent.c: Likewise.
34974
a77e8cbc
UD
34975 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34976 PF_CAIF, and PF_ALG.
34977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34978
77e8bddf
AS
349792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34980
1f20b93a
AS
34981 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34982 (modules-names): Use them.
34983 (ifunc-test-modules, ifunc-pie-tests): Define.
34984 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34985 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34986 (test-extras): Likewise.
34987 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34988 $(compile-command.c).
34989 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34990 (all-built-dso): Define.
34991 (check-textrel.out, check-execstack.out): Depend on it.
34992
77e8bddf
AS
34993 * configure.in: Don't override --enable-multi-arch.
34994
bc425b33
UD
349952011-01-15 Ulrich Drepper <drepper@gmail.com>
34996
34997 [BZ #6812]
34998 * nscd/hstcache.c (tryagain): Define.
34999 (cache_addhst): Return tryagain not notfound for temporary errors.
35000 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35001 failed.
35002
794c3ad3
UD
350032011-01-14 Ulrich Drepper <drepper@gmail.com>
35004
70181fdd
UD
35005 [BZ #10563]
35006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35007 to make the syscall.
35008 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35009
794c3ad3
UD
35010 [BZ #12378]
35011 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35012 and fall back to matching as normal character if the string ends before
35013 the matching ']' is found. This is what POSIX requires.
35014 * posix/testfnm.c: Adjust test result.
35015 * posix/globtest.sh: Adjust test result. Add new test.
35016 * posix/tst-fnmatch.input: Likewise.
35017 * posix/tst-fnmatch2.c: Add new test.
35018
68dc9497
AS
350192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35020
35021 * elf/Makefile (check-execstack): Revert last change. Depend on
35022 check-execstack.h.
35023 (check-execstack.h): New target.
35024 (generated): Add check-execstack.h.
35025 * elf/check-execstack.c: Include "check-execstack.h".
35026 (main): Revert last change.
35027 (handle_file): Return zero if GNU_STACK is absent and
35028 DEFAULT_STACK_PERMS doesn't include PF_X.
35029
451f001b
UD
350302011-01-13 Ulrich Drepper <drepper@gmail.com>
35031
cfa28e56
UD
35032 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35033 in child fails because the descriptor is already closed.
8cf8ce17
UD
35034 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35035 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35036 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35037
1086d70d
UD
35038 [BZ #12397]
35039 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35040 syscall.
35041
451f001b
UD
35042 [BZ #10484]
35043 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35044 temporary buffer used to handle multi lookups locally.
a85b5cb4 35045 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35046
08769175
UD
350472011-01-12 Ulrich Drepper <drepper@gmail.com>
35048
35049 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35050 loader is ld.so.
35051
5e49c52e
UD
350522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35053
35054 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35055 alignment for SSE2.
35056
60522a5f
UD
350572011-01-12 Ulrich Drepper <drepper@gmail.com>
35058
35059 [BZ #12394]
35060 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35061 characters. When rounding increased number of integer digits recompute
35062 number of groups.
35063 * stdio-common/tst-grouping.c: New file.
35064 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35065
f257bbd7
UD
350662011-01-09 Ulrich Drepper <drepper@gmail.com>
35067
35068 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35069 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35070
35071 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35072 void.
35073 * bits/select.h: Likewise.
35074
fa9c15cb
UD
350752011-01-08 Ulrich Drepper <drepper@gmail.com>
35076
35077 * po/ja.po: Update from translation team.
35078
16c2895f
DM
350792011-01-04 David S. Miller <davem@sunset.davemloft.net>
35080
35081 [BZ #11155]
35082 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35083 implementation just like for lxstat, fxstatat, et al.
35084
2543fef2
JM
350852010-12-27 Jim Meyering <meyering@redhat.com>
35086
35087 [BZ #12348]
35088 * posix/regexec.c (build_trtable): Return failure indication upon
35089 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35090
98727dbe
UD
350912010-12-25 Ulrich Drepper <drepper@gmail.com>
35092
5bd6dc5c
UD
35093 [BZ #12201]
35094 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35095 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35096 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35098
97983464
UD
35099 [BZ #12207]
35100 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35101
98727dbe
UD
35102 [BZ #12204]
35103 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35104 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35105
4a531bb0
L
351062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35109 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35110 script has SORT_BY_INIT_PRIORITY.
35111 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35112 NO_CTORS_DTORS_SECTIONS is defined.
35113 * elf/soinit.c: Likewise.
35114 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35115 NO_CTORS_DTORS_SECTIONS is defined.
35116 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35117 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35118 * sysdeps/sh/init-first.c: Likewise.
35119 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35120
07eb4b71
UD
351212010-12-24 Ulrich Drepper <drepper@gmail.com>
35122
35123 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35124 always use the slow path.
35125
30950a5f
RA
351262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35127
35128 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35129 similar rule which adds the sysdep directories to the header search in
35130 order to pick up the correct platform stackinfo.h.
35131 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35132 perform test if it is, otherwise return successfully without testing.
35133 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35134 DEFAULT_STACK_PERMS define in stackinfo.h.
35135 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35136 defined in stackinfo.h.
35137 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35138 DEFAULT_STACK_PERMS defined in stackinfo.h.
35139 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35140 * sysdeps/ia64/stackinfo.h: Likewise.
35141 * sysdeps/s390/stackinfo.h: Likewise.
35142 * sysdeps/sh/stackinfo.h: Likewise.
35143 * sysdeps/sparc/stackinfo.h: Likewise.
35144 * sysdeps/x86_64/stackinfo.h: Likewise.
35145 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35146 PF_X for powerpc64. Retain PF_X for powerpc32.
35147
db753e2c
UD
351482010-12-19 Ulrich Drepper <drepper@gmail.com>
35149
14b697f7
UD
35150 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35151 accurately.
db753e2c
UD
35152 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35153 GETDENTS_64BIT_ALIGNED.
35154
28300719
UD
351552010-12-14 Ulrich Drepper <dreper@gmail.com>
35156
14b697f7 35157 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35158
4f197237
AS
351592010-12-10 Andreas Schwab <schwab@redhat.com>
35160
dbb0472f
AS
35161 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35162 _GNU_SOURCE.
35163
4f197237
AS
35164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35165 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35166 Remove __restrict.
35167 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35168 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35169
fb88ac72
UD
351702010-12-09 Ulrich Drepper <drepper@gmail.com>
35171
35172 [BZ #11655]
35173 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35174 are initialized.
35175
42acbb92
JJ
351762010-12-09 Jakub Jelinek <jakub@redhat.com>
35177
35178 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35179
c038d98d
UD
351802010-12-03 Ulrich Drepper <drepper@gmail.com>
35181
35182 * po/it.po: Update from translation team.
35183
3a4a2499
L
351842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35185
35186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35187 unused codes.
35188
1e24cf6e
UD
351892010-11-30 Ulrich Drepper <drepper@gmail.com>
35190
35191 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35192
a7690819
AS
351932010-11-24 Andreas Schwab <schwab@redhat.com>
35194
35195 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35196 specially.
35197 (gaih_getanswer_slice): Likewise.
35198
3bf8d1b1
JJ
351992010-10-20 Jakub Jelinek <jakub@redhat.com>
35200
35201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35202
6db52fbb
PB
352032010-05-31 Petr Baudis <pasky@suse.cz>
35204
35205 [BZ #11149]
35206 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35207 silently even in the chroot mode.
35208
eaca7569
UD
352092010-11-22 Ulrich Drepper <drepper@gmail.com>
35210
35211 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35212 last patch a bit. Pretty printing
35213
3056dcdb
UD
352142010-05-31 Petr Baudis <pasky@suse.cz>
35215
35216 [BZ #10085]
35217 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35218 initialization of skip_initgroups_dyn.
35219
cf7c9078
UD
352202010-11-19 Ulrich Drepper <drepper@gmail.com>
35221
35222 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35224
a1fb5e3e
UD
352252010-11-16 Ulrich Drepper <drepper@gmail.com>
35226
35227 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35228
3540d66b
AS
352292010-11-11 Andreas Schwab <schwab@redhat.com>
35230
35231 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35232 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35233 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35234 ($(objpfx)tst-fnmatch-mem): New rule.
35235 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35236 * posix/tst-fnmatch.c (main): Call mtrace.
35237
13b69574
L
352382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35239
35240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35241 Support Intel processor model 6 and model 0x2c.
35242
da93d214
LM
352432010-11-10 Luis Machado <luisgpm@br.ibm.com>
35244
35245 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35246 signed comparison.
35247
8ca52c6e
L
352482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35249
35250 [BZ #12205]
35251 * string/test-strncasecmp.c (check_result): New function.
35252 (do_one_test): Use it.
35253 (check1): New function.
35254 (test_main): Use it.
35255 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35256 Support strcasecmp and strncasecmp.
35257
69da074d
UD
352582010-11-08 Ulrich Drepper <drepper@gmail.com>
35259
35260 [BZ #12194]
35261 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35263
ff02d528
L
352642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35265
35266 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35267 IFUNC support.
35268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35269 memset-x86-64.
35270 * sysdeps/x86_64/multiarch/bzero.S: New file.
35271 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35272 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35273 * sysdeps/x86_64/multiarch/memset.S: New file.
35274 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35276 Set bit_Prefer_SSE_for_memop for Intel processors.
35277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35278 Define.
35279 (index_Prefer_SSE_for_memop): Define.
35280 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35281
344d0b54
LM
352822010-11-04 Luis Machado <luisgpm@br.ibm.com>
35283
35284 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35285 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35286
c0dde15b
UD
352872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35288
35289 [BZ #12191]
35290 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35291 (__x86_64_raw_data_cache_size_half): Likewise.
35292 (__x86_64_raw_shared_cache_size): Likewise.
35293 (__x86_64_raw_shared_cache_size_half): Likewise.
35294
35295 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35296 (__x86_64_raw_data_cache_size_half): Likewise.
35297 (__x86_64_raw_shared_cache_size): Likewise.
35298 (__x86_64_raw_shared_cache_size_half): Likewise.
35299 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35300 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35301 and __x86_64_raw_shared_cache_size_half. Round
35302 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35303 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35304 to multiple of 256 bytes.
35305
0e516e0e
MS
353062010-11-03 Ulrich Drepper <drepper@gmail.com>
35307
35308 [BZ #12167]
35309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35310 of inacessible symlinks. Verify result of symlink before returning it.
35311 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35312 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35313
0e012e87
ER
353142010-10-28 Erich Ritz <erichritz@gmail.com>
35315
35316 * math/math.h (isinf): Fix typo in comment.
35317
de0ff7bc
UD
353182010-11-01 Ulrich Drepper <drepper@gmail.com>
35319
35320 * po/da.po: Update from translation team.
35321
fa41c84d
UD
353222010-10-26 Ulrich Drepper <drepper@gmail.com>
35323
35324 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35325 is added to the list.
35326
f0967738
AK
353272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35328 Ulrich Drepper <drepper@gmail.com>
35329
35330 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35331 the global list here. Move code to...
35332 (_dl_add_to_namespace_list): ...here. New function.
35333 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35334 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35335 * elf/dl-load.c (lose): Don't remove the element from the list.
35336 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35337 (_dl_map_object): Likewise.
35338
353392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35340
35341 [BZ #12159]
35342 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35343 into all bytes of SSE register.
35344 Patch by Richard Li <richardpku@gmail.com>.
35345
f0967738 353462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35347
35348 [BZ #12140]
35349 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35350 perturbing.
35351
d0b9e94f
MB
353522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35353
35354 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35355 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35359 submachine.
35360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35361
8e9f92e9
AS
353622010-10-22 Andreas Schwab <schwab@redhat.com>
35363
35364 * include/dlfcn.h (__RTLD_SECURE): Define.
35365 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35366 mode & __RTLD_SECURE instead.
35367 (open_path): Rename preloaded parameter to secure.
35368 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35369 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35370 * elf/dl-deps.c (openaux): Likewise.
35371 * elf/rtld.c (struct map_args): Remove is_preloaded.
35372 (map_doit): Don't use it.
35373 (dl_main): Likewise.
35374 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35375 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35376
bc96fbda
AS
353772010-09-09 Andreas Schwab <schwab@redhat.com>
35378
35379 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35380 (sysd-rules-targets): Remove duplicates.
35381 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35382 rtld-%.$o dependency.
35383
22cd1c9b
AS
353842010-10-18 Andreas Schwab <schwab@redhat.com>
35385
35386 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35387 _dl_map_object do it.
35388
18edac48
UD
353892010-10-19 Ulrich Drepper <drepper@gmail.com>
35390
35391 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35392 fast fma builtins, define the macros in the C99 standard.
35393 (FP_FAST_FMAF): Likewise.
35394 (FP_FAST_FMAL): Likewise.
35395 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35396
35397 * bits/mathdef.h: Update copyright year.
35398 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35399
d2050124
MM
354002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35401
35402 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35403 builtins, define the macros in the C99 standard.
35404 (FP_FAST_FMAF): Likewise.
35405 (FP_FAST_FMAL): Likewise.
35406 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35407 multiply/add.
35408 (FP_FAST_FMAF): Likewise.
35409
475facd1
JJ
354102010-10-15 Jakub Jelinek <jakub@redhat.com>
35411
35412 [BZ #3268]
35413 * math/libm-test.inc (fma_test): Some new testcases.
35414 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35415 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35416 y and infinite z. Do multiplication by C already in long double.
35417 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35419 y and infinite z. Do bitwise or of inexact bit into u.d.
35420 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35421 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35422 * sysdeps/i386/fpu/s_fma.S: Removed.
35423 * sysdeps/i386/fpu/s_fmal.S: Removed.
35424
7c08a05c
JJ
354252010-10-16 Jakub Jelinek <jakub@redhat.com>
35426
35427 [BZ #3268]
35428 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35430 computation is not scheduled after fetestexcept. Fix value
35431 of minimum denormal long double.
35432
f3f7372d
JJ
354332010-10-14 Jakub Jelinek <jakub@redhat.com>
35434
35435 [BZ #3268]
35436 * math/libm-test.inc (fma_test): Add some more tests.
35437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35438 correctly.
35439
14d43591
AS
354402010-10-15 Andreas Schwab <schwab@redhat.com>
35441
35442 * scripts/data/localplt-s390-linux-gnu.data: New file.
35443 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35444
5e908464
JJ
354452010-10-13 Jakub Jelinek <jakub@redhat.com>
35446
35447 [BZ #3268]
35448 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35449 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35450 instead of dbl-64.
35451 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35452 inlines.
35453 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35455 if one of x and y is very large and the other is subnormal.
35456 * sysdeps/s390/fpu/s_fmaf.c: New file.
35457 * sysdeps/s390/fpu/s_fma.c: New file.
35458 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35459 * sysdeps/powerpc/fpu/s_fma.S: New file.
35460 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35461 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35462 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35463
354642010-10-12 Jakub Jelinek <jakub@redhat.com>
35465
35466 [BZ #3268]
35467 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35468 fma tests.
35469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35470 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35471 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35472 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35473 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35474 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35476
b833d51f
UD
354772010-10-12 Ulrich Drepper <drepper@redhat.com>
35478
35479 [BZ #12078]
35480 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35481 * posix/bug-regex31.input: Add test case.
35482
1751705d
UD
354832010-10-11 Ulrich Drepper <drepper@gmail.com>
35484
e9b9cbf5
UD
35485 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35486 * posix/bug-regex31.input: New file.
35487
35488 [BZ #12078]
35489 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35490 (parse_sub_exp): Fix last change, use postorder.
35491
ef06edbe
UD
35492 * posix/bug-regex31.c: New file.
35493 * posix/Makefile: Add rules to build and run bug-regex31.
35494
a129c80d
UD
35495 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35496
35497 [BZ #12078]
35498 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35499
b76b818e
UD
35500 [BZ #12108]
35501 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35502 to have entries in sys_siglist.
35503
1751705d
UD
35504 [BZ #12093]
35505 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35506 be NULL.
35507
9ff8d36f
JJ
355082010-10-07 Jakub Jelinek <jakub@redhat.com>
35509
35510 [BZ #3268]
35511 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35512 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35513 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35514 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35515 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35516 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35517 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35518 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35519 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35520 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35521 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35522 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35523 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35524 * math/ftestexcept.c (fetestexcept): Likewise.
35525 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35526 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35527 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35528 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35529 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35530 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35531 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35532
af325969
UD
355332010-10-11 Ulrich Drepper <drepper@gmail.com>
35534
c579b202 35535 [BZ #12107]
af325969
UD
35536 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35537 newline.
35538
67a67b95
UD
355392010-10-06 Ulrich Drepper <drepper@gmail.com>
35540
35541 * string/bug-strstr1.c: New file.
35542 * string/Makefile: Add rules to build and run bug-strstr1.
35543
5fb308bc
EB
355442010-10-05 Eric Blake <eblake@redhat.com>
35545
35546 [BZ #12092]
35547 * string/str-two-way.h (two_way_long_needle): Always clear memory
35548 when skipping input due to the shift table.
35549
45db99c7
UD
355502010-10-03 Ulrich Drepper <drepper@gmail.com>
35551
3b111893
UD
35552 [BZ #12005]
35553 * malloc/mcheck.c: Handle large requests.
35554
45db99c7
UD
35555 [BZ #12077]
35556 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35557 for strncmp and strncasecmp.
35558 * string/stratcliff.c: Add tests for strcmp and strncmp.
35559 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35560
cf7a1eb8
NI
355612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35562
35563 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35564 __set_fpscr.
35565
6484ba5e
AJ
355662010-09-30 Andreas Jaeger <aj@suse.de>
35567
35568 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35569 (CGROUP_SUPER_MAGIC): Define.
35570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35571 Handle btrfs and cgroup file systems.
35572 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35573 Likewise.
35574
91c42559
LM
355752010-09-27 Luis Machado <luisgpm@br.ibm.com>
35576
35577 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35578 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35579
87a97932
AK
355802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35581
35582 [BZ #12067]
35583 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35584 trying to locate the ELF header.
35585
c21cc9bc
AS
355862010-09-27 Andreas Schwab <schwab@redhat.com>
35587
35588 [BZ #11611]
35589 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35590 Mask out sign-bit copies when constructing f_fsid.
35591
315970f6
PB
355922010-09-24 Petr Baudis <pasky@suse.cz>
35593
35594 * debug/stack_chk_fail_local.c: Add missing licence exception.
35595 * debug/warning-nop.c: Likewise.
35596
1ac7a2c7
JM
355972010-09-15 Joseph Myers <joseph@codesourcery.com>
35598
35599 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35600 implementing getdents64 using getdents syscall, set d_type if
35601 __ASSUME_GETDENTS32_D_TYPE.
35602
56801c50
AS
356032010-09-16 Andreas Schwab <schwab@redhat.com>
35604
35605 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35606 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35607
dda51327
UD
356082010-09-21 Ulrich Drepper <drepper@redhat.com>
35609
35610 [BZ #12037]
35611 * posix/unistd.h: Undo change of feature selection for ftruncate from
35612 2010-01-11.
35613
8ffcee4a
UD
356142010-09-20 Ulrich Drepper <drepper@redhat.com>
35615
a545ecd9 35616 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35617 detection.
35618
e24f0a8b
AS
356192010-09-20 Andreas Schwab <schwab@redhat.com>
35620
35621 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35622 fanotify_mark.
35623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35624
7291c56f
AS
356252010-09-14 Andreas Schwab <schwab@redhat.com>
35626
35627 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35628 variables after CHECK_SP call.
35629 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35630
bc5fb037
AS
356312010-09-13 Andreas Schwab <schwab@redhat.com>
35632 Ulrich Drepper <drepper@redhat.com>
35633
35634 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35635 re-relocationg ld.so.
35636 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35637 _dl_init_paths call.
35638 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35639 here anymore.
35640
e66e7419
UD
356412010-09-14 Ulrich Drepper <drepper@redhat.com>
35642
35643 * resolv/res_init.c (__res_vinit): Count the default server we added.
35644
c044aa75
CLT
356452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35646 Ulrich Drepper <drepper@redhat.com>
35647
35648 [BZ #11968]
35649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35650 (____longjmp_chk): Use %ebx for saving value across system call.
35651 Add unwind info.
35652
32cf4069
AS
356532010-09-06 Andreas Schwab <schwab@redhat.com>
35654
35655 * manual/Makefile: Don't mix pattern rules with normal rules.
35656
817328ee
AS
356572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35658
35659 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35660 operation.
35661 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35662 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35663 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35664 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35666 Likewise.
35667
29fddf61
UD
356682010-09-04 Ulrich Drepper <drepper@redhat.com>
35669
35670 [BZ #11979]
35671 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35672 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35673
0959ffc9
UD
356742010-09-02 Ulrich Drepper <drepper@redhat.com>
35675
35676 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35677 * sysdeps/x86_64/addmul_1.S: Likewise.
35678 * sysdeps/x86_64/lshift.S: Likewise.
35679 * sysdeps/x86_64/mul_1.S: Likewise.
35680 * sysdeps/x86_64/rshift.S: Likewise.
35681 * sysdeps/x86_64/sub_n.S: Likewise.
35682 * sysdeps/x86_64/submul_1.S: Likewise.
35683
ece29840
ST
356842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35685
0959ffc9
UD
35686 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35687 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35688 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35689 * bits/sched.h [__need_schedparam]
ece29840 35690 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35691 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35692 (__defined_schedparam): Define to 1.
ece29840
ST
35693 (__sched_param): New structure, identical to sched_param.
35694 (__need_schedparam): Undefine.
35695
e53a31fe
MF
356962010-08-31 Mike Frysinger <vapier@gentoo.org>
35697
fdc0c10d
MF
35698 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35699 (epoll_create1): Declare.
35700
e53a31fe
MF
35701 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35702
a726d796
AS
357032010-08-31 Andreas Schwab <schwab@redhat.com>
35704
35705 [BZ #7066]
35706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35707 shifting retval into place.
35708
2f3e3dc7
UD
357092010-09-01 Ulrich Drepper <drepper@redhat.com>
35710
f2933da9
UD
35711 * nis/rpcsvc/nis.h: Update copyright notice.
35712 * nis/rpcsvc/nis.x: Likewise.
35713 * nis/rpcsvc/nis_callback.h: Likewise.
35714 * nis/rpcsvc/nis_callback.x: Likewise.
35715 * nis/rpcsvc/nis_object.x: Likewise.
35716 * nis/rpcsvc/nis_tags.h: Likewise.
35717 * nis/rpcsvc/yp.h: Likewise.
35718 * nis/rpcsvc/yp.x: Likewise.
35719 * nis/rpcsvc/ypupd.h: Likewise.
35720 * nis/yp_xdr.c: Likewise.
35721 * nis/ypupdate_xdr.c: Likewise.
35722
2f3e3dc7
UD
35723 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35724 mainly the body of pmap_getport. Add parameters to specify timeouts.
35725 (pmap_getport): Use __libc_rpc_getport.
35726 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35727 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35728 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35729
f3dcc2f9
AS
357302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35731
35732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35733 fanotify_mark.
35734
6d34eb5b
RM
357352010-08-27 Roland McGrath <roland@redhat.com>
35736
35737 * sysdeps/i386/i686/multiarch/Makefile
35738 (CFLAGS-varshift.c): New variable.
35739
9ea3de11
UD
357402010-08-27 Ulrich Drepper <drepper@redhat.com>
35741
c96d23fc
UD
35742 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35743 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35744
9ea3de11
UD
35745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35746
35747 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35748
623aac7f
L
357492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35750
35751 * sysdeps/x86_64/strlen.S: Unroll the loop.
35752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35753 strlen-sse2 strlen-sse2-bsf.
35754 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35755 __strlen_no_bsf if bit_Slow_BSF is set.
35756 (__strlen_sse42): Removed.
35757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35758 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35759
8b2b7715
RM
357602010-08-25 Roland McGrath <roland@redhat.com>
35761
35762 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35763 * sysdeps/x86_64/multiarch/varshift.c: New file.
35764 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35765 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35766 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35767 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35768
e73015f2
L
357692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35770
35771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35772 strlen-sse2 strlen-sse2-bsf.
35773 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35774 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35775 (__strlen_sse2): Removed.
35776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35779 bit_Slow_BSF for Atom.
35780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35781 (index_Slow_BSF): Define.
35782 (HAS_SLOW_BSF): Define.
35783
df24a73e
UD
357842010-08-25 Ulrich Drepper <drepper@redhat.com>
35785
35786 [BZ #10851]
35787 * resolv/res_init.c (__res_vinit): When no server address at all
35788 is given default to loopback.
35789
f2ac4868
RM
357902010-08-24 Roland McGrath <roland@redhat.com>
35791
09055553
RM
35792 * configure.in: Remove config-name.h generation.
35793 * configure: Regenerated.
35794 * config-name.in: File removed.
35795 * scripts/config-uname.sh: New file.
35796 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35797 ($(objdir)config-name.h): New target.
35798
f2ac4868
RM
35799 * sunrpc/rpc_parse.h: Avoid nested comment.
35800
73f27d5e
RH
358012010-08-24 Richard Henderson <rth@redhat.com>
35802 Ulrich Drepper <drepper@redhat.com>
35803 H.J. Lu <hongjiu.lu@intel.com>
35804
35805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35807 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35808 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35809 _mm_alignr_epi8 with _mm_loadu_si128.
35810 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35811 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35812 (__m128i_shift_right): Removed.
35813 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35814 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35815 * sysdeps/x86_64/multiarch/varshift.h: New file.
35816 * sysdeps/x86_64/multiarch/varshift.S: New file.
35817
84b9230c
MF
358182010-08-21 Mike Frysinger <vapier@gentoo.org>
35819
35820 * configure.in: Move assembler checks to before sysdep dir checking.
35821
9bbd0ddc
PB
358222010-08-20 Petr Baudis <pasky@suse.cz>
35823
35824 * LICENSES: Sync the sunrpc license.
35825
9da4bb31
UD
358262010-08-19 Ulrich Drepper <drepper@redhat.com>
35827
a7ab6ec8
UD
35828 * sunrpc/auth_des.c: Update copyright notice once again.
35829 * sunrpc/auth_none.c: Likewise.
35830 * sunrpc/auth_unix.c: Likewise.
35831 * sunrpc/authdes_prot.c: Likewise.
35832 * sunrpc/authuxprot.c: Likewise.
35833 * sunrpc/bindrsvprt.c: Likewise.
35834 * sunrpc/clnt_gen.c: Likewise.
35835 * sunrpc/clnt_perr.c: Likewise.
35836 * sunrpc/clnt_raw.c: Likewise.
35837 * sunrpc/clnt_simp.c: Likewise.
35838 * sunrpc/clnt_tcp.c: Likewise.
35839 * sunrpc/clnt_udp.c: Likewise.
35840 * sunrpc/clnt_unix.c: Likewise.
35841 * sunrpc/des_crypt.c: Likewise.
35842 * sunrpc/des_soft.c: Likewise.
35843 * sunrpc/get_myaddr.c: Likewise.
35844 * sunrpc/getrpcport.c: Likewise.
35845 * sunrpc/key_call.c: Likewise.
35846 * sunrpc/key_prot.c: Likewise.
35847 * sunrpc/openchild.c: Likewise.
35848 * sunrpc/pm_getmaps.c: Likewise.
35849 * sunrpc/pm_getport.c: Likewise.
35850 * sunrpc/pmap_clnt.c: Likewise.
35851 * sunrpc/pmap_prot.c: Likewise.
35852 * sunrpc/pmap_prot2.c: Likewise.
35853 * sunrpc/pmap_rmt.c: Likewise.
35854 * sunrpc/rpc/auth.h: Likewise.
35855 * sunrpc/rpc/auth_unix.h: Likewise.
35856 * sunrpc/rpc/clnt.h: Likewise.
35857 * sunrpc/rpc/des_crypt.h: Likewise.
35858 * sunrpc/rpc/key_prot.h: Likewise.
35859 * sunrpc/rpc/netdb.h: Likewise.
35860 * sunrpc/rpc/pmap_clnt.h: Likewise.
35861 * sunrpc/rpc/pmap_prot.h: Likewise.
35862 * sunrpc/rpc/pmap_rmt.h: Likewise.
35863 * sunrpc/rpc/rpc.h: Likewise.
35864 * sunrpc/rpc/rpc_des.h: Likewise.
35865 * sunrpc/rpc/rpc_msg.h: Likewise.
35866 * sunrpc/rpc/svc.h: Likewise.
35867 * sunrpc/rpc/svc_auth.h: Likewise.
35868 * sunrpc/rpc/types.h: Likewise.
35869 * sunrpc/rpc/xdr.h: Likewise.
35870 * sunrpc/rpc_clntout.c: Likewise.
35871 * sunrpc/rpc_cmsg.c: Likewise.
35872 * sunrpc/rpc_common.c: Likewise.
35873 * sunrpc/rpc_cout.c: Likewise.
35874 * sunrpc/rpc_dtable.c: Likewise.
35875 * sunrpc/rpc_hout.c: Likewise.
35876 * sunrpc/rpc_main.c: Likewise.
35877 * sunrpc/rpc_parse.c: Likewise.
35878 * sunrpc/rpc_parse.h: Likewise.
35879 * sunrpc/rpc_prot.c: Likewise.
35880 * sunrpc/rpc_sample.c: Likewise.
35881 * sunrpc/rpc_scan.c: Likewise.
35882 * sunrpc/rpc_scan.h: Likewise.
35883 * sunrpc/rpc_svcout.c: Likewise.
35884 * sunrpc/rpc_tblout.c: Likewise.
35885 * sunrpc/rpc_util.c: Likewise.
35886 * sunrpc/rpc_util.h: Likewise.
35887 * sunrpc/rpcinfo.c: Likewise.
35888 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35889 * sunrpc/rpcsvc/key_prot.x: Likewise.
35890 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35891 * sunrpc/rpcsvc/mount.x: Likewise.
35892 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35893 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35894 * sunrpc/rpcsvc/rex.x: Likewise.
35895 * sunrpc/rpcsvc/rstat.x: Likewise.
35896 * sunrpc/rpcsvc/rusers.x: Likewise.
35897 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35898 * sunrpc/rpcsvc/spray.x: Likewise.
35899 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35900 * sunrpc/rtime.c: Likewise.
35901 * sunrpc/svc.c: Likewise.
35902 * sunrpc/svc_auth.c: Likewise.
35903 * sunrpc/svc_authux.c: Likewise.
35904 * sunrpc/svc_raw.c: Likewise.
35905 * sunrpc/svc_run.c: Likewise.
35906 * sunrpc/svc_simple.c: Likewise.
35907 * sunrpc/svc_tcp.c: Likewise.
35908 * sunrpc/svc_udp.c: Likewise.
35909 * sunrpc/svc_unix.c: Likewise.
35910 * sunrpc/svcauth_des.c: Likewise.
35911 * sunrpc/xcrypt.c: Likewise.
35912 * sunrpc/xdr.c: Likewise.
35913 * sunrpc/xdr_array.c: Likewise.
35914 * sunrpc/xdr_float.c: Likewise.
35915 * sunrpc/xdr_mem.c: Likewise.
35916 * sunrpc/xdr_rec.c: Likewise.
35917 * sunrpc/xdr_ref.c: Likewise.
35918 * sunrpc/xdr_sizeof.c: Likewise.
35919 * sunrpc/xdr_stdio.c: Likewise.
35920
9da4bb31
UD
35921 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35922 handling.
35923
bdaa77bc
AS
359242010-08-19 Andreas Schwab <schwab@redhat.com>
35925
35926 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35927
fe2f79db
LM
359282010-08-19 Luis Machado <luisgpm@br.ibm.com>
35929
35930 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35931 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35932 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35933 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35934 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35935 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35936 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35937 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35939 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35940 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35942 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35943 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35944
b9b42ee0
AB
359452010-07-26 Anton Blanchard <anton@samba.org>
35946
35947 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35948 * malloc/arena.c (heap_trim): Likewise.
35949
1c06ba31
UD
359502010-08-16 Ulrich Drepper <drepper@redhat.com>
35951
35952 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35953 here. Not...
35954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35955 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35956
f8392f40
L
359572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35958
35959 * sysdeps/i386/elf/Makefile: New file.
35960
3162f12e
AS
359612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35962
35963 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35964 from fanotify_init.
35965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35967
28c90b2c
UD
359682010-08-15 Ulrich Drepper <drepper@redhat.com>
35969
35970 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35971 of strncasecmp_l.
1feccb6c 35972 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35973
ca6bb004
UD
359742010-08-14 Ulrich Drepper <drepper@redhat.com>
35975
e9f82e0d
UD
35976 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35977 strncase_l-nonascii.
35978 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35979 Add strncase_l-ssse3.
35980 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35981 * sysdeps/x86_64/strcmp.S: Likewise.
35982 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35983 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35984 * sysdeps/x86_64/strncase.S: New file.
35985 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35986 * sysdeps/x86_64/strncase_l.S: New file.
35987 * string/Makefile (strop-tests): Add strncasecmp.
35988 * string/test-strncasecmp.c: New file.
35989
35990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35991 warning.
35992
ca6bb004
UD
35993 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35994 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35995
052fa7b3
AS
359962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35997
35998 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35999
962dba78
UD
360002010-08-12 Ulrich Drepper <drepper@redhat.com>
36001
36002 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36003 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36004 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36005
bebff237
AM
360062010-05-01 Alan Modra <amodra@gmail.com>
36007
36008 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36009 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36010 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36011 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36012 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36013 tidying. Don't tail-call __sigjmp_save for static lib.
36014 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36015 save location.
36016 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36017 (CALL_MCOUNT): Add eh info, and nop after bl.
36018 (TAIL_CALL_SYSCALL_ERROR): New macro.
36019 (PSEUDO_RET): Use it.
36020 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36021 Correct save location of integer regs and cr.
36022 (_dl_profile_resolve): Correct cr save location. Delete nops
36023 after bl when SHARED. Reduce cfi size a little by better
36024 placement of cfi directives.
36025 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36026 make a stack frame. Instead use parm save area as a temp.
36027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36028 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36030 Don't make a stack frame for parent, use parm save area.
36031 Increase child stack frame to 112 bytes. Don't save unused reg,
36032 and adjust reg usage. Set up cfi on error recovery and
36033 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36035 (__makecontext): Add dummy nop after jump to exit.
36036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36037 Use correct parm save area and cr save, reduce stack frame.
36038 Correct cfi for possible PSEUDO_RET frame setup.
36039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36040 Branch to local label emitted by PSEUDO_RET rather than
36041 __syscall_error.
36042
02637374
AS
360432010-08-12 Andreas Schwab <schwab@redhat.com>
36044
36045 [BZ #11904]
36046 * locale/programs/locale.c (print_assignment): New function.
36047 (show_locale_vars): Use it.
36048
c3e2f19b
UD
360492010-08-11 Ulrich Drepper <drepper@redhat.com>
36050
3cdaa6ad
UD
36051 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36052 field.
36053 (struct statfs64): Likewise.
36054 (_STATFS_F_FLAGS): Define.
36055 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36057 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36058 (ST_VALID): Define locally.
36059 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36060 __statvfs_getflags, use the provided value.
36061 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36062 __ASSUME_STATFS_F_FLAGS.
36063
754f7da3
UD
36064 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36065
10b3bedc
UD
36066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36067 Add sys/fanotify.h.
36068 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36069 fanotify_mask for GLIBC_2.13.
36070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36071 fanotify_init and fanotify_mark.
36072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36073 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36074
c08fb0d7
UD
36075 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36076 Add prlimit.
36077 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36078 prlimit64 for GLIBC_2.13.
36079 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36080 prlimit64.
36081 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36082 syscall.
36083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36084 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36085 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36086 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36088 add prlimit alias.
36089 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36090
15bac72b
UD
36091 [BZ #11903]
36092 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36093 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36094
c3e2f19b
UD
36095 * nss/Makefile: Add rules to build and run tst-nss-test1.
36096 * shlib-versions: Add entry for libnss_test1.
36097 * nss/nss_test1.c: New file.
36098 * nss/tst-nss-test1.c: New file.
36099
36100 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36101 (__nss_configure_lookup): Set appropriate entry in
36102 __nss_configure_lookup to true.
36103 * nss/nsswitch.h: Define enum with indeces of databases in
36104 databases and __nss_database_custom arrays. Declare
36105 __nss_database_custom.
36106 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36107 to avoid using nscd when custom rules are installed.
36108 * nss/getXXbyYY_r.c: Likewise.
36109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36110
36111 * nss/nss_files/files-parse.c: Whitespace fixes.
36112
f15ce4d8
UD
361132010-08-09 Ulrich Drepper <drepper@redhat.com>
36114
36115 [BZ #11883]
36116 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36117 * posix/fnmatch_loop.c: Likewise.
36118
d22e4cc9
AK
361192010-07-17 Andi Kleen <ak@linux.intel.com>
36120
36121 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36122 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36123 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36124 * Versions.def [GLIBC_2.13]: Add.
36125
805bc17d
UD
361262010-08-06 Ulrich Drepper <drepper@redhat.com>
36127
36128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36129 Also fail if tpwd after pwuid call is NULL.
36130
5a42321d
ST
361312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36132
36133 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36134 when converting to ms.
36135
fd3ebeda
ST
361362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36137
36138 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36139 EOPNOTSUPP errors with ENOTTY.
36140 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36141 EOPNOTSUPP errors with ENOTTY.
36142
73507d3a
UD
361432010-07-31 Ulrich Drepper <drepper@redhat.com>
36144
36145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36146 Add strcasecmp_l-ssse3.
36147 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36148 strcasecmp.
36149 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36150 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36151 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36152
fe36dd02
UD
361532010-07-30 Ulrich Drepper <drepper@redhat.com>
36154
66f6765a
UD
36155 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36156
42e08a54
UD
36157 * string/Makefile (strop-tests): Add strcasecmp.
36158 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36159 strcasecmp_l-nonascii.
36160 (gen-as-const-headers): Add locale-defines.sym.
36161 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36162 * sysdeps/x86_64/strcasecmp.S: New file.
36163 * sysdeps/x86_64/strcasecmp_l.S: New file.
36164 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36165 * sysdeps/x86_64/locale-defines.sym: New file.
36166 * string/test-strcasecmp.c: New file.
36167
fe36dd02
UD
36168 * string/test-strcasestr.c: Test both ends of the range of characters.
36169 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36170
48cbc0d6
RM
361712010-07-29 Roland McGrath <roland@redhat.com>
36172
76e6d6bc 36173 [BZ #11856]
48cbc0d6
RM
36174 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36175
880113d9
UD
361762010-07-27 Ulrich Drepper <drepper@redhat.com>
36177
36178 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36179 for ld.so.
36180
deb9cabb
AS
361812010-07-27 Andreas Schwab <schwab@redhat.com>
36182
36183 * manual/memory.texi (Malloc Tunable Parameters): Document
36184 M_PERTURB.
36185
1c7570ff
RM
361862010-07-26 Roland McGrath <roland@redhat.com>
36187
36188 [BZ #11840]
36189 * configure.in (-fgnu89-inline check): Set and substitute
36190 gnu89_inline, not libc_cv_gnu89_inline.
36191 * configure: Regenerated.
36192 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36193
24fb0f88
UD
361942010-07-26 Ulrich Drepper <drepper@redhat.com>
36195
36196 * string/test-strnlen.c: New file.
36197 * string/Makefile (strop-tests): Add strnlen.
36198 * string/tester.c (test_strnlen): Add a few more test cases.
36199 * string/tst-strlen.c: Better error reporting.
36200
36201 * sysdeps/x86_64/strnlen.S: New file.
36202
8e96b93a
UD
362032010-07-24 Ulrich Drepper <drepper@redhat.com>
36204
36205 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36206 lower-latency instructions.
36207
dbc676d4
UD
362082010-07-23 Ulrich Drepper <drepper@redhat.com>
36209
36210 * string/test-strcasestr.c: New file.
36211 * string/test-strstr.c: New file.
36212 * string/Makefile (strop-tests): Add strstr and strcasestr.
36213 * string/str-two-way.h: Don't undefine MAX.
36214 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36215
f6a31e0e
AS
362162010-07-21 Andreas Schwab <schwab@redhat.com>
36217
36218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36219 strcasestr-nonascii.
36220 (CFLAGS-strcasestr-nonascii.c): Define.
36221 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36222 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36223 Remove unused attribute.
36224
5dbc3b6c
RM
362252010-07-20 Roland McGrath <roland@redhat.com>
36226
36227 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36228 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36229 ld.so.cache was broken. With it, there is no way to disable dsocaps
36230 like LD_HWCAP_MASK can disable hwcaps.
36231
23d101d8
EPM
362322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36233
36234 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36235
cc9f2e47
UD
362362010-07-16 Ulrich Drepper <drepper@redhat.com>
36237
36238 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36239 call in strcasestr.
36240 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36241 __strcasestr_sse42_nonascii.
36242 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36243 strcasestr-nonascii.c.
36244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36245
77c1b069
LM
362462010-06-15 Luis Machado <luisgpm@br.ibm.com>
36247
36248 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36249 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36251 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36252
440566c3
UD
362532010-07-09 Ulrich Drepper <drepper@redhat.com>
36254
36255 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36256 fcntl.
36257
5be9d05d
AS
362582010-07-06 Andreas Schwab <schwab@redhat.com>
36259
c30b7ee2 36260 [BZ #11577]
5be9d05d
AS
36261 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36262 dl_signal_cerror.
36263
8a492a67
UD
362642010-07-06 Ulrich Drepper <drepper@redhat.com>
36265
36266 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36267 _PC_PIPE_BUF using F_GETPIPE_SZ.
36268
713df3d5
RM
362692010-07-05 Roland McGrath <roland@redhat.com>
36270
36271 * manual/arith.texi (Rounding Functions): Fix rint description
36272 implicit in round description.
36273
702e8f14
UD
362742010-07-02 Ulrich Drepper <drepper@redhat.com>
36275
36276 * elf/Makefile: Fix linking for a few tests to make recent linker
36277 happy.
36278
52ed8be9
AS
362792010-06-30 Andreas Schwab <schwab@redhat.com>
36280
36281 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36282 $(common-objpfx)libc_nonshared.a.
36283
f47c9a11
LM
362842010-06-21 Luis Machado <luisgpm@br.ibm.com>
36285
36286 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36287 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36288 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36289 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36290 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36291 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36292 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36293 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36308 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36309 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36310 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36311 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36312 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36313 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36314 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36315 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36316 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36317 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36318 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36319 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36334
6fb8cbcb
L
363352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36336
36337 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36338 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36339 * string/memmove.c (memmove): Renamed to ...
36340 (MEMMOVE): ...this. Default to memmove.
36341 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36342 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36343 (END_CHK): Define.
36344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36345 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36346 mempcpy-ssse3-back memmove-ssse3-back.
36347 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36350 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36351 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36352 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36353 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36354 * sysdeps/x86_64/multiarch/memmove.c: New file.
36355 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36356 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36357 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36358 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36359 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36361 Define.
36362 (index_Fast_Copy_Backward): Define.
36363 (HAS_ARCH_FEATURE): Define.
36364 (HAS_FAST_REP_STRING): Define.
36365 (HAS_FAST_COPY_BACKWARD): Define.
36366
4e733bac 363672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36368
36369 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36370 Restore proper fallback handling.
36371
63c4ed22
UD
363722010-06-19 Ulrich Drepper <drepper@redhat.com>
36373
ac2b484c
UD
36374 [BZ #11701]
36375 * posix/group_member.c (__group_member): Correct checking loop.
36376
63c4ed22
UD
36377 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36378 OOM in getpwuid_r correctly. Return error number when the caller
36379 should return, otherwise -1.
36380 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36381 call returning > 0 value.
36382 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36383
765ade4b
AS
363842010-06-07 Andreas Schwab <schwab@redhat.com>
36385
36386 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36387 libc_nonshared.a from targets in modules-names.
36388
80da2e09
KS
363892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36390
36391 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36392 requires it.
36393
158db122
LM
363942010-06-10 Luis Machado <luisgpm@br.ibm.com>
36395
36396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36400
caa78cf8
AS
364012010-06-02 Andreas Schwab <schwab@redhat.com>
36402
36403 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36404
b2ef2c01
UD
364052010-06-14 Ulrich Drepper <drepper@redhat.com>
36406
36407 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36408 and F_GETPIPE_SZ.
36409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36415
fbd643b6
RM
364162010-06-14 Roland McGrath <roland@redhat.com>
36417
36418 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36419
f32f2869
JJ
364202010-06-07 Jakub Jelinek <jakub@redhat.com>
36421
36422 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36423 __REDIRECT followed by __THROW.
36424 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36425 * posix/getopt.h (getopt): Likewise.
36426
2a50c078
EPM
364272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36428
36429 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36430 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36431 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36432 in AT_FLAGS.
36433 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36434 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36435
eb5ad2eb
LM
364362010-05-28 Luis Machado <luisgpm@br.ibm.com>
36437
36438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36439
3c88fe1e
L
364402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36441
36442 [BZ #11640]
36443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36444 Properly check family and model.
36445
d2f73151
TY
364462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36447
36448 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36449
ebd2e13d
LM
364502010-05-24 Luis Machado <luisgpm@br.ibm.com>
36451
36452 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36453
b32b8b45
UD
364542010-05-21 Ulrich Drepper <drepper@redhat.com>
36455
36456 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36457 symbol reference.
36458
9acbe24d
AS
364592010-05-19 Andreas Schwab <schwab@redhat.com>
36460
36461 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36462 symbol reference.
36463
f0ccf6ea
AS
364642010-05-21 Andreas Schwab <schwab@redhat.com>
36465
3d04ff3a
AS
36466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36467 and internal_recvmmsg.
36468 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36469 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36470 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36471 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36472
f0ccf6ea
AS
36473 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36474 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36475 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36476
5b08ac57
AS
364772010-05-20 Andreas Schwab <schwab@redhat.com>
36478
36479 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36480
4828935d
LM
364812010-05-17 Luis Machado <luisgpm@br.ibm.com>
36482
36483 POWER7 optimizations.
36484 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36485 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36486
373d545e
UD
364872010-05-19 Ulrich Drepper <drepper@redhat.com>
36488
36489 * version.h: Update for 2.13 development version.
36490
21a2b1ae
AS
364912010-05-12 Andrew Stubbs <ams@codesourcery.com>
36492
36493 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36494 exceptions. Return 0.
36495
3f7dcb2b
RM
364962010-05-07 Roland McGrath <roland@redhat.com>
36497
36498 * elf/ldconfig.c (main): Add a const.
36499
5f24d53a 365002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36501
a160f8d8
UD
36502 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36503 (args_options): Add no-idn option.
36504 (ahosts_keys_int): Add idn_flags to ai_flags.
36505 (parse_option): Handle 'i' option to clear idn_flags.
36506
5f24d53a
UD
36507 * malloc/malloc.c (_int_free): Possible race in the most recently
36508 added check. Only act on the data if no current modification
36509 happened.
265bb1ce
UD
36510
36511See ChangeLog.17 for earlier changes.