]> sourceware.org Git - glibc.git/blob - ChangeLog
PowerPC: multiarch sqrt/sqrtf for PowerPC32
[glibc.git] / ChangeLog
1 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4 and sqrtf multiarch implementations.
5 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6 file.
7 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8 file.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10 multiarch sqrt for PowerPC32.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12 file.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14 file.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16 multiarch sqrtf for PowerPC32.
17
18 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21 and llroundf multiarch implementations.
22 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23 New file.
24 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25 New file.
26 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27 New file.
28 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29 file: multiarch llround for PowerPC32.
30 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
31 file: multiarch llroundf for PowerPC32.
32
33 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34
35 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36 multiarch PowerPC32 fpu implementations.
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38 New file.
39 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40 New file.
41 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42 multiarch llrint for PowerPC32.
43 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44 New file.
45 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46 New file.
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48 file.
49
50 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53
54 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55
56 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57 file.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59 file.
60 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
61 file.
62 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
63 multiarch wordcopy for PPC32.
64 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
65 wordcopy objects.
66 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
67 (__libc_ifunc_impl_list): Likewise.
68 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
69 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
70 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
71 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
72 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
73 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
74
75 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76
77 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
78 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
79 file.
80 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
81 file.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
83 file.
84 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
85 multiarch wcscpy for PPC32.
86 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
87 multiarch objects.
88 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
89 (__libc_ifunc_impl_list): Likewise.
90 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
91 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
92 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
93 sysdeps/powerpc/power6/wcscpy.c.
94
95 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
98 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
99 file.
100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
101 file.
102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
103 file.
104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
105 multiarch wcsrchr for PPC32.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
107 multiarch objects.
108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
109 (__libc_ifunc_impl_list): Likewise.
110 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
111 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
112 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
113 sysdeps/powerpc/power6/wcsrchr.c.
114
115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
118 file.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
120 file.
121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
123 multiarch wcschr for PPc32.
124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
125 multiarch objects.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
127 (__libc_ifunc_impl_list): Likewise.
128 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
129 * sysdeps/powerpc/power6/wcschr.c: ... to here.
130 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
131 sysdeps/powerpc/power6/wcschr.c.
132
133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134
135 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
137 file.
138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
139 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
140 file: multiarch strchr for PPC32.
141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
142 multiarch objects.
143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
144 (__libc_ifunc_impl_list): Likewise.
145
146 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147
148 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
149 name.
150 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
151 file.
152 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
153 file.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
155 multiarch strchrnul for PPC32.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
157 multiarch objects.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
159 (__libc_ifunc_impl_list): Likewise.
160
161 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
164 file.
165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
166 multiarch strncasecmp for PPC32.
167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
168 file.
169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
170 multiarch strncasecmp_l for PPC32.
171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
172 strncasecmp multiarch objects.
173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
174 (__libc_ifunc_impl_list): Likewise.
175
176 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
179 file.
180 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
181 multiarch strncasecmp for PPC32.
182 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
183 New file.
184 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
185 multiarch strcasecmp_l for PPC32.
186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
187 multiarch objects.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
189 (__libc_ifunc_impl_list): Likewise.
190
191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
194 file.
195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
196 file.
197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
198 multiarch strncmp for PPC32.
199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
200 multiarch objects.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
202 (__libc_ifunc_impl_list): Likewise.
203
204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205
206 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
207 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
208 file.
209 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
212 multiarch objects.
213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
214 (__libc_ifunc_impl_list): Likewise.
215
216 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217
218 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
219 file.
220 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
221 file.
222 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
224 multiarch objects.
225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
226 (__libc_ifunc_impl_list): Likewise.
227
228 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229
230 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
231 file.
232 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
233 file.
234 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
235 multiarch rawmemchr for PPC32.
236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
237 multiarch objects.
238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
239 (__libc_ifunc_impl_list): Likewise.
240
241 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
244 file.
245 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
246 file.
247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
248 file: memrchr multiarch for PPC32.
249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
250 multiarch objects.
251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
252 (__libc_ifunc_impl_list): Likewise.
253
254 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255
256 * string/memchr.c (__memchr): Using macro to redefine symbol name.
257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
258 file.
259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
261 multiarch memchr for PPC32.
262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
263 multiarch objects.
264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
265 (__libc_ifunc_impl_list): Likewise.
266
267 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
270 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
271 file.
272 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
273 file.
274 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
275 file: multiarch mempcpy for PPC32.
276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
277 multiarch objects.
278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
279 (__libc_ifunc_impl_list): Likewise.
280
281 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
285 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
286 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
287 multiarch bzero for PPC32.
288 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
289 file.
290 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
291 file.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
293 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
294 file: multiarch memset for PPC32.
295 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
297 memset multiarch objects.
298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
299 (__libc_ifunc_impl_list): Likewise.
300
301 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
302
303 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
304 file.
305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
307 memcmp for PPC32.
308 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
310 multiarch objects.
311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
312 (__libc_ifunc_impl_list): Likewise.
313
314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
319 file.
320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
321 file.
322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
323 file.
324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
325 multiarch memcpy for PPC32.
326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
327 multiarch objects.
328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
329 (__libc_ifunc_impl_list): Likewise.
330
331 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332
333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
334 support multiarch for POWER/PPC32.
335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
336 Likewise.
337 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
339 Implies file to make multiarch folder appers before the fpu and
340 default folder for power4 configuration.
341
342 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
343
344 * scripts/bench.pl: Append volatile keyword to type.
345
346 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
347
348 * sysdeps/sh/sotruss-lib.c: New file.
349 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
350
351 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352
353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
354
355 2013-12-05 Joseph Myers <joseph@codesourcery.com>
356
357 [BZ #6810]
358 * math/w_tgamma.c: Include <errno.h>.
359 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
360 * math/w_tgammaf.c: Include <errno.h>.
361 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
362 * math/w_tgammal.c: Include <errno.h>.
363 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
364 * math/auto-libm-test-in: Do not allow missing errno on tgamma
365 underflow. Add more tgamma tests.
366 * math/auto-libm-test-out: Regenerated.
367 * sysdeps/i386/fpu/libm-test-ulps: Update.
368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
369
370 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
371 sin, sinh, tan, tanh, tgamma, y0 and y1.
372 * math/auto-libm-test-out: Regenerated.
373 * math/libm-test.inc (TEST_COND_x86_64): New macro.
374 (TEST_COND_x86): Likewise.
375 (M_E2l): Remove macro.
376 (M_E3l): Likewise.
377 (M_2_SQRT_PIl): Likewise.
378 (M_SQRT_PIl): Likewise.
379 (M_1_DIV_El): Likewise.
380 (log_test_data): Use AUTO_TESTS_f_f.
381 (log10_test_data): Likewise.
382 (log1p_test_data): Likewise.
383 (log2_test_data): Likewise.
384 (sin_test_data): Likewise.
385 (sin_tonearest_test_data): Likewise.
386 (sin_towardzero_test_data): Likewise.
387 (sin_downward_test_data): Likewise.
388 (sin_upward_test_data): Likewise.
389 (sinh_test_data): Likewise.
390 (sinh_tonearest_test_data): Likewise.
391 (sinh_towardzero_test_data): Likewise.
392 (sinh_downward_test_data): Likewise.
393 (sinh_upward_test_data): Likewise.
394 (tan_test_data): Likewise.
395 (tan_tonearest_test_data): Likewise.
396 (tan_towardzero_test_data): Likewise.
397 (tan_downward_test_data): Likewise.
398 (tan_upward_test_data): Likewise.
399 (tanh_test_data): Likewise.
400 (tgamma_test_data): Likewise.
401 (y0_test_data): Likewise.
402 (y1_test_data): Likewise.
403 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
404 (special_real_inputs): Add pi/4.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
407
408 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
410 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
411 "longjmp_target" static probes.
412 (__longjmp): Rename to __longjmp_symbol.
413 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
414 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
415 on which longjmp to generate.
416 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
418 probe.
419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
420 (__sigjmp_save): Rename to __sigjmp_save_symbol.
421 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
422 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
423 and __sigjmp_save_symbol based on which sigsetjmp to generated.
424 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
426 __longjmp_symbol based on which __longjmp to generate.
427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
428 probe.
429 (setjmp): Rename to setjmp_symbol.
430 (__sigsetjmp): Rename to __sigsetjmp_symbol.
431 (_setjmp): Rename to _setjmp_symbol.
432 (__sigsetjmp): Rename to __sigsetjmp_symbol.
433 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
434 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
435 which setjmp to generate.
436 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
437 "longjmp_target" static probes.
438
439 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
440
441 * benchtests/README: Add note about output arguments.
442 * benchtests/bench-sincos.c: Remove file.
443 * benchtests/sincos-inputs: New file.
444 * scripts/bench.pl: Identify output arguments and define
445 static variables for them.
446
447 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
448
449 [BZ #15941]
450 * Makefile (INSTALL): Add install-plain.texi as the primary
451 dependency.
452 * manual/install-plain.texi: New file.
453 * manual/install.texi: Include node directive only for
454 non-plaintext output.
455
456 2013-12-04 Joseph Myers <joseph@codesourcery.com>
457
458 * stdlib/longlong.h: Update from GCC.
459
460 [BZ #6807]
461 [BZ #15901]
462 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
463 * math/w_j0f.c (y0f): Likewise.
464 * math/w_j0l.c (__y0l): Likewise.
465 * math/w_j1.c (y1): Likewise.
466 * math/w_j1f.c (y1f): Likewise.
467 * math/w_j1l.c (__y1l): Likewise
468 * math/w_jn.c (yn): Likewise.
469 * math/w_jnf.c (ynf): Likewise.
470 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
471 Bessel function pole errors in _POSIX_ mode. Use NAN as return
472 value for Bessel function domain errors outside _SVID_ mode.
473 Adjust sign of return value for yn (negative integer, 0).
474 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
475 by zero in return for negative x and set sign appropriately for
476 negative n.
477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
479 * math/libm-test.inc (y0_test_data): Add more tests and adjust
480 expectations in error cases.
481 (y1_test_data): Likewise.
482 (yn_test_data): Likewise.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
485
486 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
487
488 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
489 "64" to "64-v1". Add "64-v2".
490 (abi-64-options): Rename to ...
491 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
492 (abi-64-condition): Rename to ...
493 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
494 (abi-64-ld-soname): Rename to ...
495 (abi-64-v1-ld-soname): ... this.
496 (abi-64-v2-options): Define.
497 (abi-64-v2-condition): Likewise.
498 (abi-64-v2-ld-soname): Likewise.
499 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
500 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
504
505 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
506 Alan Modra <amodra@gmail.com>
507
508 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
509 New versions for use with the ELFv2 ABI.
510 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
511 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
512 declaration.
513 (struct La_ppc64v2_retval): Likewise.
514 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
515 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
516 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
517 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
518 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
520 Do not save or restore CR.
521 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
522 (_dl_profile_resolve): Do no save or restore CR. Support extended
523 return values for ELFv2 ABI. Fix location of FPR return registers.
524 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
525 updated values for _CALL_ELF == 2.
526 (La_regs, La_retval, int_retval): Likewise.
527
528 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
529
530 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
531 (FRAME_MIN_SIZE_PARM): Likewise.
532 (FRAME_BACKCHAIN): Likewise.
533 (FRAME_CR_SAVE): Likewise.
534 (FRAME_LR_SAVE): Likewise.
535 (FRAME_TOC_SAVE): Likewise.
536 (FRAME_PARM_SAVE): Likewise.
537 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
538 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
539 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
540 (call_mcount_parm_offset): New macro.
541 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
542 (PROF): Use symbolic stack frame offsets.
543 (TAIL_CALL_SYSCALL_ERROR): Likewise.
544 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
545 Redefine in terms of FRAME_MIN_SIZE.
546 (_dl_runtime_resolve): Use symbolic stack frame offsets.
547 (_dl_profile_resolve): Likewise. Update comment.
548 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
549 symbols stack frame offsets.
550 (__sigsetjmp): Likewise.
551 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
552 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
553 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
554 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
555
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
557 (FRAME_BACKCHAIN): Remove.
558 (FRAME_CR_SAVE): Likewise.
559 (FRAME_LR_SAVE): Likewise.
560 (FRAME_COMPILER_DW): Likewise.
561 (FRAME_LINKER_DW): Likewise.
562 (FRAME_TOC_SAVE): Likewise.
563 (FRAME_PARM_SAVE): Likewise.
564 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
565 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
566 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
568 (CHECK_SP): Use symbolic stack frame offsets.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
570 zone" instead of caller's parameter save area for temp storage.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
572 Likewise. Also, use symbolic stack frame offsets.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
574 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
575 our own stack frame instead of the caller's.
576 (__socket): Use symbolic stack frame offsets.
577
578 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
579 Alan Modra <amodra@gmail.com>
580
581 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
582 Define.
583 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
584 PPC64_LOCAL_ENTRY_OFFSET): Define.
585 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
586 New function.
587 (elf_machine_fixup_plt): Call it.
588 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
589 reloc arguments.
590 (elf_machine_rela): Update call to elf_machine_plt_conflict.
591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
592 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
593 r2 before calling target.
594
595 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
596 Alan Modra <amodra@gmail.com>
597
598 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
599 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
600 versions of macros to support ELFv2 ABI.
601 (LOCALENTRY): New macro.
602 (ENTRY, EALIGN): Use it.
603 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
604 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
605 fall through into ENTRY entry point.
606 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
607 Only define if _CALL_ELF != 2.
608
609 (elf_machine_matches_host): Verify ABI version matches.
610 (RTLD_START): Use LOCALENTRY.
611 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
612 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
613 (PLT_ENTRY_WORDS): New macro.
614 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
615 (elf_machine_runtime_setup): Support ELFv2 ABI.
616 (elf_machine_fixup_plt): Likewise.
617 (elf_machine_plt_conflict): Likewise.
618 (resolve_ifunc): Likewise.
619 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
621 Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
623 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
625 (makecontext): Support ELFv2 ABI.
626 * elf/elf.h (EF_PPC64_ABI): Define.
627
628 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
629
630 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
631 New assembler macro.
632 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
633 [ASSEMBLER] (ENTRY): ... but instead here ...
634 [ASSEMBLER] (EALIGN): ... and here.
635 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
636 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
637 [!ASSEMBLER] (ENTRY_2): Use it.
638 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
639 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
641 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
642 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
644 Use PPC64_LOAD_FUNCPTR.
645
646 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
647
648 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
649
650 2013-12-04 Alan Modra <amodra@gmail.com>
651
652 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
653 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
654 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
655 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
656
657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
658 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
659 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
660 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
661 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
662 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
663
664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
665
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
667 (__makecontext): Fix incorrect CFI when backtracing out of
668 context created via makecontext.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
670 (__setcontext): Fix incorrect CFI during switch to new context.
671 (__novec_setcontext): Likewise.
672
673 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
674
675 [BZ #4772]
676 * time/strptime_l.c (__strptime_internal): Allow modifiers
677 in strptime.
678 * time/tst-strptime.c (day_tests): Add testcase.
679
680
681 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
682
683 * scripts/bench.pl: Skip over blank lines.
684
685 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
686
687 [BZ #926]
688 * manual/time.texi (Calendar Time): Clarify what timezone functions
689 use.
690
691 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
694
695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
696
697 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
698 implementation.
699 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
700 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
701 * debug/memset_chk.c (__memset_chk): Likewise.
702 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
703 * debug/strncpy_chk.c: Likewise.
704
705 2013-12-03 Joseph Myers <joseph@codesourcery.com>
706
707 [BZ #15268]
708 [BZ #15425]
709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
710 (__ieee754_exp): For possibly underflowing results, check size of
711 result and force underflow exception if required.
712 * math/auto-libm-test-in: Add more tests of exp.
713 * math/auto-libm-test-out: Regenerated.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
717 [BZ #16283]
718 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
719 * math/w_exp2f.c (__exp2f): Likewise.
720 * math/w_exp2l.c (__exp2l): Likewise.
721 * math/auto-libm-test-in: Do not allow missing errno on exp2
722 underflow.
723 * math/auto-libm-test-out: Regenerated.
724
725 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
726
727 [BZ #16274]
728 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
729 handle filename validation.
730 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
731 (do_open): Delete.
732
733 2013-12-03 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #6786]
736 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
737 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
738 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
739 <float.h>.
740 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
742 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
744 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
746 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
747 * math/auto-libm-test-in: Don't allow missing errno from erfc.
748 Add more erfc tests.
749 * math/auto-libm-test-out: Regenerated.
750 * sysdeps/i386/fpu/libm-test-ulps: Update.
751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
752
753 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
754 exp2, expm1, j0 and j1.
755 * math/auto-libm-test-out: Regenerated.
756 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
757 (erfc_test_data): Likewise.
758 (exp_test_data): Likewise.
759 (exp_tonearest_test_data): Likewise.
760 (exp_towardzero_test_data): Likewise.
761 (exp_downward_test_data): Likewise.
762 (exp_upward_test_data): Likewise.
763 (exp10_test_data): Likewise.
764 (exp2_test_data): Likewise.
765 (expm1_test_data): Likewise.
766 (j0_test_data): Likewise.
767 (j1_test_data): Likewise.
768 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
769 (input_flag_type): Add flag_xfail_rounding.
770 (input_flags): Add xfail-rounding.
771 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
772 (output_for_one_input_case): Handle flag_xfail_rounding.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
775
776 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
777
778 [BZ #16289]
779 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
780 division by 0.
781
782 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
783
784 [BZ #16195]
785 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
786 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
787 (STAP_PROBE0): New macro.
788 (STAP_PROBE1): Likewise.
789 (STAP_PROBE2): Likewise.
790 (STAP_PROBE3): Likewise.
791 (STAP_PROBE4): Likewise.
792
793 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
794
795 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
796
797 2013-12-02 Steve Ellcey <sellcey@mips.com>
798
799 * benchtests/Makefile (bench): Add sqrt.
800 (LDLIBS-bench-sqrt): New.
801 * benchtests/sqrt-input: New.
802
803 2013-12-02 Pavel Simerda <psimerda@redhat.com>
804
805 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
806 (GAIH_EAI): Likewise.
807 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
808 (gaih_inet): Likewise.
809 (getaddrinfo): Don't use GAIH_EAI.
810
811 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
812 (struct gaih): Remove definition.
813
814 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
815
816 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
817 Use HERRNOP directly.
818
819 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
820
821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
822
823 2013-11-30 Joseph Myers <joseph@codesourcery.com>
824
825 * math/gen-auto-libm-tests.c (test_functions): Add more
826 single-argument functions.
827 (special_fill_pi_2): New function.
828 (special_fill_minus_pi_2): Likewise.
829 (special_fill_pi_6): Likewise.
830 (special_fill_minus_pi_6): Likewise.
831 (special_fill_pi_3): Likewise.
832 (special_fill_2pi_3): Likewise.
833 (special_fill_e): Likewise.
834 (special_fill_1_e): Likewise.
835 (special_fill_e_minus_1): Likewise.
836 (special_real_inputs): Add more special inputs.
837 (output_for_one_input_case): Do not require ERANGE on underflow to
838 zero if round-to-nearest result does not underflow to zero, unless
839 exact results required.
840 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
841 atan, atanh, cbrt, cos and cosh.
842 * math/auto-libm-test-out: Regenerated.
843 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
844 (acos_tonearest_test_data): Likewise.
845 (acos_towardzero_test_data): Likewise.
846 (acos_downward_test_data): Likewise.
847 (acos_upward_test_data): Likewise.
848 (acosh_test_data): Likewise.
849 (asin_test_data): Likewise.
850 (asin_tonearest_test_data): Likewise.
851 (asin_towardzero_test_data): Likewise.
852 (asin_upward_test_data): Likewise.
853 (asinh_test_data): Likewise.
854 (atan_test_data): Likewise.
855 (atanh_test_data): Likewise.
856 (cbrt_test_data): Likewise.
857 (cos_test_data): Likewise.
858 (cos_tonearest_test_data): Likewise.
859 (cos_towardzero_test_data): Likewise.
860 (cos_downward_test_data): Likewise.
861 (cos_upward_test_data): Likewise.
862 (cosh_test_data): Likewise.
863 (cosh_tonearest_test_data): Likewise.
864 (cosh_towardzero_test_data): Likewise.
865 (cosh_downward_test_data): Likewise.
866 (cosh_upward_test_data): Likewise.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869
870 2013-11-29 Joseph Myers <joseph@codesourcery.com>
871
872 [BZ #6787]
873 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
874 * math/w_exp10f.c (__exp10f): Likewise.
875 * math/w_exp10l.c (__exp10l): Likewise.
876 * math/libm-test.inc (exp10_test_data): Add more tests and expect
877 errno settings in existing tests.
878
879 [BZ #14032]
880 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
881 precision control set to double precision.
882 * sysdeps/i386/fpu/w_sqrt.c: New file.
883 * math/auto-libm-test-in: Add more tests.
884 * math/auto-libm-test-out: Update.
885
886 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
887 (sqrt_test_tonearest): New function.
888 (sqrt_towardzero_test_data): New variable.
889 (sqrt_test_towardzero): New function.
890 (sqrt_downward_test_data): New variable.
891 (sqrt_test_downward): New function.
892 (sqrt_upward_test_data): New variable.
893 (sqrt_test_upward): New function.
894 (main): Call the new functions.
895
896 * math/gen-auto-libm-tests.c: New file.
897 * math/auto-libm-test-in: Likewise.
898 * math/auto-libm-test-out: New generated file.
899 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
900 variables.
901 (%beautify): Add generated representations of zero.
902 (top level): Set $auto_input and call parse_auto_input.
903 (beautify): Remove trailing "f" from hex float constants.
904 (parse_args): Handle XFAIL_TEST.
905 (convert_condition): New function.
906 (or_value): Likewise.
907 (or_cond_value): Likewise.
908 (generate_testfile): Handle AUTO_TESTS_* lines.
909 (parse_auto_input): New function.
910 * math/libm-test.inc (XFAIL_TEST): New macro.
911 (ERRNO_UNCHANGED): Update value.
912 (ERRNO_EDOM): Likewise.
913 (ERRNO_ERANGE): Likewise.
914 (IGNORE_RESULT): Likewise.
915 (TEST_COND_flt_32): New macro.
916 (TEST_COND_dbl_64): Likewise.
917 (TEST_COND_ldbl_96_intel): Likewise.
918 (TEST_COND_ldbl_96_m68k): Likewise.
919 (TEST_COND_ldbl_128): Likewise.
920 (TEST_COND_ldbl_128ibm): Likewise.
921 (TEST_COND_long32): Likewise.
922 (TEST_COND_long64): Likewise.
923 (TEST_COND_before_rounding): Likewise.
924 (TEST_COND_after_rounding): Likewise.
925 (enable_test): Handle XFAIL_TEST flag.
926 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
927 with finite results.
928 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
929 auto-libm-test-out.
930
931 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
933
934 [BZ #16214]
935 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
936 __tls_get_addr_internal instead of __tls_get_offset in order to
937 avoid GOT pointer dependency. Make rtld export
938 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
939 __tls_get_addr since we are a __tls_get_offset platform.
940 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
941 GOT pointer being set up before.
942 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
943
944 2013-11-28 Joseph Myers <joseph@codesourcery.com>
945
946 * manual/math.texi (Errors in Math Functions): Document accuracy
947 goals.
948
949 [BZ #15004]
950 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
951 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
953 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
958 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
959 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
962 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
966
967 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
968 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
969 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
970 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
971 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
972 Likewise.
973 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
974 Likewise.
975 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
976 Likewise.
977 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
978 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
979 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
980 atomic-feupdateenv and flt-rounds.
981 * sysdeps/powerpc/nofpu/Versions (libc): Add
982 __atomic_feholdexcept, __atomic_feclearexcept,
983 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
985 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
987 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
988 here.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
990 Update.
991
992 * manual/arith.texi (FP Exceptions): Document that exceptions may
993 not be raised when matherr is used.
994 (Math Error Reporting): Document overflow in directed rounding
995 modes. Document that errno may not be set when finite values are
996 returned on overflow. Document intent to set errno on underflow
997 only for underflow to zero.
998
999 [BZ #16271]
1000 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1001 round-to-nearest then adjust result for other rounding modes.
1002 * include/fenv.h (fegetround): Use libm_hidden_proto.
1003 * math/fegetround.c (fegetround): Use libm_hidden_def.
1004 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1005 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1006 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1008 Likewise.
1009 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1010 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1011 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1012 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1013
1014 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1015
1016 [BZ #16077]
1017 * nss/Versions (libnss_files): Add
1018 _nss_files_gethostbyname3_r.
1019 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1020 New function.
1021 (HOST_DB_LOOKUP): Remove macro.
1022 (_nss_files_gethostbyname_r): Implement function without the
1023 HOST_DB_LOOKUP macro.
1024 (_nss_files_gethostbyname2_r): Likewise.
1025
1026 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
1027
1028 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1029
1030 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
1031
1032 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1033 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1034 warning.
1035
1036 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1039 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1041 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1042 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1043 __fe_nomask_env_priv and attribute_hidden.
1044 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1045 (libc_feupdateenv_test_ppc): Likewise.
1046 (libc_feresetround_ppc): Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1048 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1049 compat_symbol macro.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1051 (__fe_nomask_env): Likewise.
1052 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1053
1054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1055
1056 * string/Makefile: Remove ifunc tests.
1057 * string/test-string.h: Define TEST_IFUNC.
1058 * string/test-bcopy-ifunc.c: Remove.
1059 * string/test-bzero-ifunc.c: Likewise.
1060 * string/test-memccpy-ifunc.c: Likewise.
1061 * string/test-memchr-ifunc.c: Likewise.
1062 * string/test-memcmp-ifunc.c: Likewise.
1063 * string/test-memcpy-ifunc.c: Likewise.
1064 * string/test-memmem-ifunc.c: Likewise.
1065 * string/test-memmove-ifunc.c: Likewise.
1066 * string/test-mempcpy-ifunc.c: Likewise.
1067 * string/test-memrchr-ifunc.c: Likewise.
1068 * string/test-memset-ifunc.c: Likewise.
1069 * string/test-rawmemchr-ifunc.c: Likewise.
1070 * string/test-stpcpy-ifunc.c: Likewise.
1071 * string/test-stpncpy-ifunc.c: Likewise.
1072 * string/test-strcasecmp-ifunc.c: Likewise.
1073 * string/test-strcasestr-ifunc.c: Likewise.
1074 * string/test-strcat-ifunc.c: Likewise.
1075 * string/test-strchr-ifunc.c: Likewise.
1076 * string/test-strchrnul-ifunc.c: Likewise.
1077 * string/test-strcmp-ifunc.c: Likewise.
1078 * string/test-strcpy-ifunc.c: Likewise.
1079 * string/test-strcspn-ifunc.c: Likewise.
1080 * string/test-strlen-ifunc.c: Likewise.
1081 * string/test-strncasecmp-ifunc.c: Likewise.
1082 * string/test-strncat-ifunc.c: Likewise.
1083 * string/test-strncmp-ifunc.c: Likewise.
1084 * string/test-strncpy-ifunc.c: Likewise.
1085 * string/test-strnlen-ifunc.c: Likewise.
1086 * string/test-strpbrk-ifunc.c: Likewise.
1087 * string/test-strrchr-ifunc.c: Likewise.
1088 * string/test-strspn-ifunc.c: Likewise.
1089 * string/test-strstr-ifunc.c: Likewise.
1090
1091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1092
1093 * benchtests/Makefile: Remove ifunc tests.
1094 * benchtests/bench-string.h: Define TEST_IFUNC.
1095 * benchtests/bench-bcopy-ifunc.c: Remove.
1096 * benchtests/bench-bzero-ifunc.c: Likewise.
1097 * benchtests/bench-memccpy-ifunc.c: Likewise.
1098 * benchtests/bench-memchr-ifunc.c: Likewise.
1099 * benchtests/bench-memcmp-ifunc.c: Likewise.
1100 * benchtests/bench-memcpy-ifunc.c: Likewise.
1101 * benchtests/bench-memmem-ifunc.c: Likewise.
1102 * benchtests/bench-memmove-ifunc.c: Likewise.
1103 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1104 * benchtests/bench-memrchr-ifunc.c: Likewise.
1105 * benchtests/bench-memset-ifunc.c: Likewise.
1106 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1107 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1108 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1109 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1110 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1111 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1112 * benchtests/bench-strcat-ifunc.c: Likewise.
1113 * benchtests/bench-strchr-ifunc.c: Likewise.
1114 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1115 * benchtests/bench-strcmp-ifunc.c: Likewise.
1116 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1117 * benchtests/bench-strcpy-ifunc.c: Likewise.
1118 * benchtests/bench-strcspn-ifunc.c: Likewise.
1119 * benchtests/bench-strlen-ifunc.c: Likewise.
1120 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1121 * benchtests/bench-strncat-ifunc.c: Likewise.
1122 * benchtests/bench-strncmp-ifunc.c: Likewise.
1123 * benchtests/bench-strncpy-ifunc.c: Likewise.
1124 * benchtests/bench-strnlen-ifunc.c: Likewise.
1125 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1126 * benchtests/bench-strrchr-ifunc.c: Likewise.
1127 * benchtests/bench-strsep-ifunc.c: Likewise.
1128 * benchtests/bench-strspn-ifunc.c: Likewise.
1129 * benchtests/bench-strstr-ifunc.c: Likewise.
1130
1131 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1132
1133 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1134
1135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
1136
1137 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1138 * rt/aio.h: Likewise.
1139 * sysdeps/gnu/bits/utmp.h: Likewise.
1140 * sysdeps/gnu/bits/utmpx.h: Likewise.
1141 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1142 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1143 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1144 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1145 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1146 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1147 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1148 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1153 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1160 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1163 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1167 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1171 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1172 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1175 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1177 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1180 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1181 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1183
1184 2013-11-25 Carlos O'Donell <carlos@redhat.com>
1185
1186 [BZ #16245]
1187 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1188 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1189
1190 2013-11-25 Joseph Myers <joseph@codesourcery.com>
1191
1192 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1194 Likewise.
1195
1196 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197
1198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1199 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1200 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1201 (__fesetround): Remove define.
1202 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1203 rounding and exceptions handling.
1204 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1205 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1206 (__fe_nomask_env): Likewise.
1207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1208 __fegetround instead of fegetround.
1209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1211
1212 2013-11-21 Roland McGrath <roland@hack.frob.com>
1213
1214 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1215 it's there.
1216
1217 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1218
1219 2013-11-21 Meador Inge <meadori@codesourcery.com>
1220
1221 [BZ #11157]
1222 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1223 (encrypt_r): Likewise.
1224 * malloc/obstack.h (obstack_free): Likewise.
1225 * posix/unistd.h (encrypt): Likewise.
1226
1227 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1228
1229 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1230 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1231 DL_CALL_DT_FINI() that call the functions directly.
1232 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1233 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1234 * elf/dl-fini.c: Likewise.
1235
1236 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
1237
1238 * malloc/hooks.c (memalign_check): Add alignment rounding.
1239 * malloc/malloc.c (_mid_memalign): New function.
1240 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1241 Implement by calling _mid_memalign.
1242 * manual/probes.texi (Memory Allocation Probes): Remove
1243 memory_valloc_retry and memory_pvalloc_retry.
1244
1245 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1246
1247 * locale/programs/locarchive.c (open_archive): Add const
1248 qualifier to ARCHIVEFNAME and copy default fname to
1249 DEFAULT_FNAME.
1250
1251 [BZ #15601]
1252 * libio/tst-widetext.input: Rename Oriya to Odia.
1253 * locale/iso-639.def: Likewise.
1254
1255 * manual/probes.texi (Mathematical Function Probes): Add
1256 documentation for sin, cos, asin and acos probes.
1257 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1258 (__sin32): Add slowasin probe.
1259 (__cos32): Add slowacos probe.
1260 (__mpsin): Add slowsin probe.
1261 (__mpcos): Add slowcos probe.
1262
1263 2013-11-19 Joseph Myers <joseph@codesourcery.com>
1264
1265 [BZ #15483]
1266 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1267 thread-local __sim_exceptions_thread and global
1268 __sim_exceptions_global.
1269 (__sim_disabled_exceptions): Change to thread-local
1270 __sim_disabled_exceptions_thread and global
1271 __sim_disabled_exceptions_global.
1272 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1273 and global __sim_round_mode_global.
1274 (__simulate_exceptions): Use thread-local floating-point state and
1275 set global state from it as needed.
1276 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1277 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1278 __sim_round_mode_thread.
1279 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1280 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1281 and global __sim_exceptions_global.
1282 (__sim_disabled_exceptions): Change to thread-local
1283 __sim_disabled_exceptions_thread and global
1284 __sim_disabled_exceptions_global.
1285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1286 and global __sim_round_mode_global.
1287 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1288 (SIM_SET_GLOBAL): Likewise.
1289 * sysdeps/powerpc/soft-fp/sfp-machine.h
1290 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1291 __sim_round_mode_thread.
1292 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1293 __sim_disabled_exceptions_thread.
1294 (__sim_exceptions): Change to __sim_exceptions_thread.
1295 (__sim_disabled_exceptions): Change to
1296 __sim_disabled_exceptions_thread.
1297 (__sim_round_mode): Change to __sim_round_mode_thread.
1298 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1299 thread-local floating-point state and set global state from it as
1300 needed.
1301 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1302 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1303 (__sim_disabled_exceptions): Remove extern declaration.
1304 (feenableexcept): Use thread-local floating-point state and set
1305 global state from it as needed.
1306 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1307 extern declaration.
1308 (__sim_disabled_exceptions): Likewise.
1309 (__sim_round_mode): Likewise.
1310 (__fegetenv): Use thread-local floating-point state.
1311 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1312 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1313 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1314 floating-point state and set global state from it as needed.
1315 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1316 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1317 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1318 Likewise.
1319 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1320 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1321 Likewise.
1322 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1323 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1324 Use __sim_round_mode_thread.
1325 * math/test-fenv-tls.c: New file.
1326 * math/Makefile (tests): Add test-fenv-tls.
1327 ($(objpfx)test-fenv-tls): Depend on
1328 $(common-objpfx)nptl/libpthread.so.
1329
1330 2013-11-19 Andreas Schwab <schwab@suse.de>
1331
1332 * locale/programs/locale.c (show_info): Decode wordarray elements.
1333 * locale/categories.def (LC_MONETARY): Add element for
1334 _NL_MONETARY_CRNCYSTR.
1335 * locale/C-monetary.c (conversion_rate): New variable.
1336 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1337 element.
1338
1339 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1340
1341 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1342 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1343
1344 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1345
1346 * elf/Makefile (tst-auxv): New test.
1347 * elf/tst-auxv.c: New
1348 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1349
1350 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1351
1352 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1353 (hidden_proto): Caller changed.
1354 (hidden_tls_proto): New macro.
1355 (libc_hidden_tls_proto): Likewise.
1356 (rtld_hidden_tls_proto): Likewise.
1357 (libm_hidden_tls_proto): Likewise.
1358 (libresolv_hidden_tls_proto): Likewise.
1359 (librt_hidden_tls_proto): Likewise.
1360 (libdl_hidden_tls_proto): Likewise.
1361 (libnss_files_hidden_tls_proto): Likewise.
1362 (libnsl_hidden_tls_proto): Likewise.
1363 (libnss_nisplus_hidden_tls_proto): Likewise.
1364 (libutil_hidden_tls_proto): Likewise.
1365
1366 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1367
1368 [BZ #10253]
1369 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1370 (decompose_rpath): Defer expansion to fillin_rpath.
1371 (_dl_init_paths): Pass linkmap to fillin_rpath.
1372
1373 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1374
1375 * benchtests/Makefile: Add strsep.
1376 * benchtests/bench-strsep.c: New file: strsep benchtest.
1377 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1378
1379 2013-11-18 Andreas Schwab <schwab@suse.de>
1380
1381 * locale/programs/locale.c (show_info) [case byte]: Check for
1382 '\377' instead of '\177'.
1383 * locale/C-monetary.c (not_available): Always use "\377".
1384 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1385 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1386 detect unavailable sign_posn locale elements.
1387 * locale/localeconv.c (__localeconv): For grouping and
1388 mon_grouping handle "\177" and "\377" like no grouping.
1389 (INT_ELEM): New macro. Use it to set all numeric members.
1390 * locale/programs/ld-monetary.c (monetary_read)
1391 <tok_mon_grouping>: Normalize single -1 to the empty string.
1392 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1393 Likewise.
1394
1395 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1396
1397 [BZ #16055]
1398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1399 when we match (nil).
1400 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1401
1402 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1403
1404 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1405 (NO_TEST_INLINE): Update value.
1406 (ERRNO_UNCHANGED): Likewise.
1407 (ERRNO_EDOM): Likewise.
1408 (ERRNO_ERANGE): Likewise.
1409 (IGNORE_RESULT): Likewise.
1410 (check_float_internal): Check signs of NaN results if
1411 TEST_NAN_SIGN used.
1412 (check_complex): Pass TEST_NAN_SIGN flag through to second
1413 check_float_internal call.
1414 (copysign_test_data): Add tests with quiet NaNs as second
1415 argument. Use TEST_NAN_SIGN.
1416 (fabs_test_data): Add test of negative quiet NaN argument. Use
1417 TEST_NAN_SIGN.
1418 (signbit_test_data): Add tests of quiet NaN argument.
1419 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1420
1421 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1422 $ignore_result.
1423 (parse_args): Handle function results specified as IGNORE.
1424 * math/libm-test.inc (IGNORE_RESULT): New macro.
1425 (check_float_internal): Do not check numerical result if flag
1426 IGNORE_RESULT set.
1427 (check_complex): Pass through IGNORE_RESULT to second
1428 check_float_internal call.
1429 (check_int): Do not check numerical result if flag IGNORE_RESULT
1430 set.
1431 (check_long): Likewise.
1432 (check_bool): Likewise.
1433 (check_longlong): Likewise.
1434 (lrint_test_data): Add tests of infinite and NaN arguments.
1435 (lrint_tonearest_test_data): Likewise.
1436 (lrint_towardzero_test_data): Likewise.
1437 (lrint_downward_test_data): Likewise.
1438 (lrint_upward_test_data): Likewise.
1439 (llrint_test_data): Likewise.
1440 (llrint_tonearest_test_data): Likewise.
1441 (llrint_towardzero_test_data): Likewise.
1442 (llrint_downward_test_data): Likewise.
1443 (llrint_upward_test_data): Likewise.
1444 (lround_test_data): Likewise.
1445 (llround_test_data): Likewise.
1446
1447 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1448 (ERRNO_UNCHANGED): Update value.
1449 (ERRNO_EDOM): Likewise.
1450 (ERRNO_ERANGE): Likewise.
1451 (NO_TEST_INLINE_FLOAT): New macro.
1452 (NO_TEST_INLINE_DOUBLE): Likewise.
1453 (enable_test): New function.
1454 (RUN_TEST_f_f): Check enable_test before running test.
1455 (RUN_TEST_2_f): Likewise.
1456 (RUN_TEST_fff_f): Likewise.
1457 (RUN_TEST_c_f): Likewise.
1458 (RUN_TEST_f_f1): Likewise.
1459 (RUN_TEST_fF_f1): Likewise.
1460 (RUN_TEST_fI_f1): Likewise.
1461 (RUN_TEST_ffI_f1): Likewise.
1462 (RUN_TEST_c_c): Likewise.
1463 (RUN_TEST_cc_c): Likewise.
1464 (RUN_TEST_f_i): Likewise.
1465 (RUN_TEST_f_i_tg): Likewise.
1466 (RUN_TEST_ff_i_tg): Likewise.
1467 (RUN_TEST_f_b): Likewise.
1468 (RUN_TEST_f_b_tg): Likewise.
1469 (RUN_TEST_f_l): Likewise.
1470 (RUN_TEST_f_L): Likewise.
1471 (RUN_TEST_fFF_11): Likewise.
1472 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1473 conditionals.
1474 (cosh_test_data): Likewise.
1475 (exp_test_data): Likewise.
1476 (expm1_test_data): Likewise.
1477 (hypot_test_data): Likewise.
1478 (pow_test_data): Likewise.
1479 (sinh_test_data): Likewise.
1480 (tanh_test_data): Likewise.
1481 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1482 flags argument.
1483
1484 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1485 tests with quiet NaN input and output.
1486 (acosh_test_data): Likewise.
1487 (asin_test_data): Likewise.
1488 (asinh_test_data): Likewise.
1489 (atan_test_data): Likewise.
1490 (atanh_test_data): Likewise.
1491 (atan2_test_data): Likewise.
1492 (cbrt_test_data): Likewise.
1493 (cos_test_data): Likewise.
1494 (cosh_test_data): Likewise.
1495 (erf_test_data): Likewise.
1496 (erfc_test_data): Likewise.
1497 (exp_test_data): Likewise.
1498 (exp10_test_data): Likewise.
1499 (exp2_test_data): Likewise.
1500 (expm1_test_data): Likewise.
1501 (hypot_test_data): Likewise.
1502 (j0_test_data): Likewise.
1503 (j1_test_data): Likewise.
1504 (jn_test_data): Likewise.
1505 (lgamma_test_data): Likewise.
1506 (log_test_data): Likewise.
1507 (log10_test_data): Likewise.
1508 (log1p_test_data): Likewise.
1509 (log2_test_data): Likewise.
1510 (pow_test_data): Likewise.
1511 (scalb_test_data): Likewise.
1512 (sin_test_data): Likewise.
1513 (sincos_test_data): Likewise.
1514 (sinh_test_data): Likewise.
1515 (tan_test_data): Likewise.
1516 (tanh_test_data): Likewise.
1517 (tgamma_test_data): Likewise.
1518 (y0_test_data): Likewise.
1519 (y1_test_data): Likewise.
1520 (yn_test_data): Likewise.
1521
1522 [BZ #16167]
1523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1524 argument being NaN and avoid computations with second argument in
1525 that case.
1526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1527 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1528 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1529
1530 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1531
1532 * locale/iso-639.def: Add Chitwani Tharu (the).
1533
1534 2013-11-14 Andreas Schwab <schwab@suse.de>
1535
1536 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1537 word instead of empty string.
1538
1539 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1542 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1544 (__fe_nomask_env): Likewise.
1545
1546 2013-11-13 Steve Ellcey <sellcey@mips.com>
1547
1548 * benchtests/bench-timing.h: Include time.h.
1549
1550 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 [BZ #15997]
1553 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1554 to 3.4.0 for x32.
1555 * sysdeps/unix/sysv/linux/configure: Regenerated.
1556
1557 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #16151]
1560 * stdlib/strtod_l.c (round_and_return): Do not consider
1561 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1562 exponent one less than half the least subnormal exponent.
1563 * stdlib/test-strtod-round-data: Add more tests.
1564 * stdlib/tst-strtod-round.c (tests): Regenerated.
1565
1566 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567
1568 [BZ #14143]
1569 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1570 (__fe_mask_env): Likewise.
1571 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1572 libm_hidden_proto and add function prototype.
1573 (__fe_mask_env): Add function prototype.
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1575 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1577 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1579 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1580
1581 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1582
1583 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1584 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1585
1586 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1587
1588 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1589 of htab_find_slot().
1590
1591 2013-11-11 David S. Miller <davem@davemloft.net>
1592
1593 [BZ #16150]
1594 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1595 symbol in the non-vis3 case in static builds.
1596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1597 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1598 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1599 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1600
1601 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 [BZ #387]
1604 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1605 it is empty.
1606
1607 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1608
1609 * benchtests/Makefile: Add bench-strtod.
1610 * benchtests/bench-strtod.c: New file: strtod benchtest
1611
1612 2013-11-11 Andreas Schwab <schwab@suse.de>
1613
1614 [BZ #16153]
1615 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1616 terminating NUL in key length.
1617
1618 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619
1620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1621 Add artificial ODP entry for vDSO symbol for PPC64.
1622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1623 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1624
1625 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1626
1627 [BZ #15374]
1628 * nss/getent.c (services_keys): Recognize services starting with digit.
1629
1630 2013-11-06 David S. Miller <davem@davemloft.net>
1631
1632 [BZ #15985]
1633 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1634 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1635
1636 2013-11-06 Will Newton <will.newton@linaro.org>
1637
1638 * manual/memory.texi (Malloc Examples): Remove register
1639 keyword from examples.
1640
1641 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
1642
1643 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1644
1645 2013-11-04 Joseph Myers <joseph@codesourcery.com>
1646
1647 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1648 depending on [__GCC_IEC_559 > 0].
1649 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1650 depending on [__GCC_IEC_559_COMPLEX > 0].
1651
1652 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
1653
1654 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1655 to iso-639.def.
1656
1657 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
1658
1659 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1660
1661 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
1662
1663 [BZ #16112]
1664 * malloc/malloc (malloc_info): Do not handle first bin as
1665 special case.
1666
1667 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
1668
1669 * locale/iso-639.def: Add Central Nahuatl (nhn).
1670
1671 2013-11-01 Bruno Haible <bruno@clisp.org>
1672
1673 [BZ #7003]
1674 * manual/math.texi (BSD Random): Specify range upper bound as
1675 in POSIX.
1676
1677 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
1678
1679 * locale/iso-639.def: Add Meadow Mari (mhr).
1680
1681 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
1682
1683 [BZ #14752], [BZ #15763]
1684 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1685 Validate name.
1686 * rt/tst_shm.c: Add test for escaping directory.
1687
1688 2013-10-31 Andreas Schwab <schwab@suse.de>
1689
1690 [BZ #15917]
1691 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1692 followed by 'x' as part of digit sequence.
1693 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1694
1695 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1696
1697 [BZ #16037]
1698 * configure.ac: allow GNU Make 4.0 and greater.
1699 * configure: Regenerated.
1700
1701 2013-10-30 Will Newton <will.newton@linaro.org>
1702
1703 [BZ #16038]
1704 * malloc/hooks.c (memalign_check): Limit alignment to the
1705 maximum representable power of two.
1706 * malloc/malloc.c (__libc_memalign): Likewise.
1707 * malloc/tst-memalign.c (do_test): Add test for very
1708 large alignment values.
1709 * malloc/tst-posix_memalign.c (do_test): Likewise.
1710
1711 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1712
1713 [BZ #11087]
1714 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1715 (munmap_chunk): Likewise.
1716 (mremap_chunk): Likewise.
1717
1718 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1719
1720 [BZ #15799]
1721 * stdlib/div.c (div): Remove obsolete code.
1722 * stdlib/ldiv.c (ldiv): Likewise.
1723 * stdlib/lldiv.c (lldiv): Likewise.
1724
1725 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1726
1727 [BZ #16071]
1728 * nss/nss_files/files-XXX.c (get_contents_ret): New
1729 enumerator.
1730 (get_contents): New function.
1731 (internal_getent): Use it. Expand size of LINEBUFLEN.
1732
1733 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1734
1735 * configure.in: Moved to ...
1736 * configure.ac: ... here. Change reference to configure.in
1737 to configure.ac.
1738 * sysdeps/arm/preconfigure.ac: ... here.
1739 configure.in to configure.ac.
1740 * sysdeps/gnu/configure.in: Moved to ...
1741 * sysdeps/gnu/configure.ac: ... here.
1742 * sysdeps/i386/configure.in: Moved to ...
1743 * sysdeps/i386/configure.ac: ... here.
1744 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1745 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1746 * sysdeps/mach/configure.in: Moved to ...
1747 * sysdeps/mach/configure.ac: ... here.
1748 * sysdeps/mach/hurd/configure.in: Moved to ...
1749 * sysdeps/mach/hurd/configure.ac: ... here.
1750 * sysdeps/powerpc/configure.in: Moved to ...
1751 * sysdeps/powerpc/configure.ac: ... here.
1752 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1753 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1754 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1755 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1756 * sysdeps/s390/s390-32/configure.in: Moved to ...
1757 * sysdeps/s390/s390-32/configure.ac: ... here.
1758 * sysdeps/s390/s390-64/configure.in: Moved to ...
1759 * sysdeps/s390/s390-64/configure.ac: ... here.
1760 * sysdeps/sh/configure.in: Moved to ...
1761 * sysdeps/sh/configure.ac: ... here.
1762 * sysdeps/sparc/configure.in: Moved to ...
1763 * sysdeps/sparc/configure.ac: ... here.
1764 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1765 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1766 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1767 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1768 * sysdeps/x86_64/configure.in: Moved to ...
1769 * sysdeps/x86_64/configure.ac: ... here.
1770 * sysdeps/x86_64/preconfigure.in: Moved to ...
1771 * sysdeps/x86_64/preconfigure.ac: ... here.
1772 * aclocal.m4: Change reference to configure.in to configure.ac.
1773 * config.h.in: Likewise.
1774 * manual/install.texi: Likewise.
1775 * manual/maint.texi: Likewise.
1776 * Makefile: Likewise.
1777 * malloc/Makefile: Likewise.
1778 * nscd/Makefile: Likewise.
1779 * Makeconfig: Change reference to configure.in and
1780 preconfigure.in to configure.ac and preconfigure.ac
1781 respectively.
1782 * INSTALL: Regenerated.
1783 * configure: Likewise.
1784 * sysdeps/gnu/configure: Likewise.
1785 * sysdeps/i386/configure: Likewise.
1786 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1787 * sysdeps/mach/configure: Likewise.
1788 * sysdeps/mach/hurd/configure: Likewise.
1789 * sysdeps/powerpc/configure: Likewise.
1790 * sysdeps/powerpc/powerpc32/configure: Likewise.
1791 * sysdeps/powerpc/powerpc64/configure: Likewise.
1792 * sysdeps/s390/s390-32/configure: Likewise.
1793 * sysdeps/s390/s390-64/configure: Likewise.
1794 * sysdeps/sh/configure: Likewise.
1795 * sysdeps/sparc/configure: Likewise.
1796 * sysdeps/unix/sysv/linux/configure: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1798 * sysdeps/x86_64/configure: Likewise.
1799 * sysdeps/x86_64/preconfigure: Likewise.
1800
1801 2013-10-29 Andreas Schwab <schwab@suse.de>
1802
1803 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1804
1805 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1806
1807 * benchtests/pow-inputs: Add new inputs.
1808
1809 * benchtests/exp-inputs: Add new inputs.
1810
1811 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1812 conditional check for return value.
1813 (__cos32): Likewise.
1814
1815 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1816
1817 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1818 to provide a boost for large inputs with word alignment.
1819 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1820 implementation based on optimized PPC64 strcpy.
1821 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1822 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1823 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1824 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1825
1826 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1827
1828 [BZ #2801]
1829 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1830
1831 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1832
1833 [BZ #14876]
1834 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1835 * time/tst-strptime.c (day_tests): Add testcase.
1836
1837 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1838
1839 [BZ #14029]
1840 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1841
1842 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1843
1844 [BZ #16074]
1845 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1846 MAP_FAILED on error.
1847
1848 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1849
1850 [BZ #16072]
1851 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1852 heap for large requests.
1853
1854 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1855
1856 [BZ #9954]
1857 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1858 result if the result has no associated interface.
1859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1860 interface for all 127.X.Y.Z addresses.
1861
1862 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1863
1864 * locale/iso-639.def: Add Ligurian (lij)
1865
1866 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1867
1868 [BZ #15825]
1869 * sunrpc/rpc_main.c: Document rpcgen -5.
1870
1871 2013-10-19 Michael Stahl <mstahl@redhat.com>
1872
1873 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1874
1875 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1876
1877 [BZ #10278]
1878 * posix/glob.c: Match only directories when trailing slash is present.
1879 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1880 (main): Add testcase.
1881
1882 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1883
1884 [BZ #15670]
1885 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1886
1887 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1888
1889 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1890 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1891 AUTH_DES and cindex for FIPS 140-2.
1892 (DES Encryption): Add cindex FIPS 46-3.
1893
1894 * locale/locarchive.h (struct locarhandle): Add fname.
1895 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1896 if an optional argument was specified to --list-archive,
1897 otherwise NULL.
1898 * locale/programs/locarchive.c (show_archive_content): Take new
1899 argument fname and pass it via ah.fname to open_archive.
1900 * locale/programs/localedef.h: Update decl.
1901 (open_archive): If AH->fname is non-null, open that file
1902 rather than the default file name, and don't ignore ENOENT.
1903 (create_archive): Set AH.fname to NULL.
1904 (delete_locales_from_archive): Likewise.
1905 (add_locales_to_archive): Likewise.
1906 * locale/programs/locfile.c (write_all_categories): Likewise.
1907
1908 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1909 Aldy Hernandez <aldyh@redhat.com>
1910
1911 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1912 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1913 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1914 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1915 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1916 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1919 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1920 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1922 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1923 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1924 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1925 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1926 Likewise.
1927 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1928 Likewise.
1929 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1930 Likewise.
1931 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1932 Likewise.
1933 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1934 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1935 Likewise.
1936 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1937 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1938 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1939 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1940 Likewise.
1941 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1942 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1943 * sysdeps/powerpc/preconfigure: Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1945 Likewise.
1946 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1947 Replace contents of file by #include of <fenv_libc.h>.
1948 * sysdeps/powerpc/soft-fp/sfp-machine.h
1949 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1950 and <sys/prctl.h>.
1951 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1964 Allow copysignl PLT reference to be missing.
1965
1966 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1967 Joseph Myers <joseph@codesourcery.com
1968
1969 [BZ #15948]
1970 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1971 single character.
1972 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1973
1974 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1975
1976 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1977 * elf/tst-tls1.c: Likewise.
1978 * elf/tst-tls10.h: Likewise.
1979 * elf/tst-tls14.c: Likewise.
1980 * elf/tst-tls2.c: Likewise.
1981 * elf/tst-tls3.c: Likewise.
1982 * elf/tst-tls4.c: Likewise.
1983 * elf/tst-tls5.c: Likewise.
1984 * elf/tst-tls6.c: Likewise.
1985 * elf/tst-tls7.c: Likewise.
1986 * elf/tst-tls8.c: Likewise.
1987 * elf/tst-tls9.c: Likewise.
1988 * elf/tst-tlsmod1.c: Likewise.
1989 * elf/tst-tlsmod13.c: Likewise.
1990 * elf/tst-tlsmod13a.c: Likewise.
1991 * elf/tst-tlsmod14a.c: Likewise.
1992 * elf/tst-tlsmod16a.c: Likewise.
1993 * elf/tst-tlsmod16b.c: Likewise.
1994 * elf/tst-tlsmod2.c: Likewise.
1995 * elf/tst-tlsmod3.c: Likewise.
1996 * elf/tst-tlsmod4.c: Likewise.
1997 * elf/tst-tlsmod5.c: Likewise.
1998 * elf/tst-tlsmod6.c: Likewise.
1999
2000 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
2001
2002 [BZ #12486]
2003 * malloc/malloc.c: remove checks for statistics.
2004
2005 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2006
2007 [BZ #15277]
2008 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2009 * inet/tst-network.c: Add testcase.
2010
2011 2013-10-17 Andreas Schwab <schwab@suse.de>
2012
2013 [BZ #15218]
2014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2015 to determine canonical name.
2016
2017 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
2018
2019 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2020 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2043 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2044 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2049 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2077
2078 2013-10-17 Joseph Myers <joseph@codesourcery.com>
2079
2080 [BZ #16041]
2081 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2082 make result into a quiet NaN.
2083
2084 2013-10-16 Joseph Myers <joseph@codesourcery.com>
2085
2086 * soft-fp/adddf3.c: Fix horizontal whitespace.
2087 * soft-fp/addsf3.c: Likewise.
2088 * soft-fp/addtf3.c: Likewise.
2089 * soft-fp/divdf3.c: Likewise.
2090 * soft-fp/divsf3.c: Likewise.
2091 * soft-fp/divtf3.c: Likewise.
2092 * soft-fp/double.h: Likewise.
2093 * soft-fp/eqdf2.c: Likewise.
2094 * soft-fp/eqsf2.c: Likewise.
2095 * soft-fp/eqtf2.c: Likewise.
2096 * soft-fp/extenddftf2.c: Likewise.
2097 * soft-fp/extended.h: Likewise.
2098 * soft-fp/extendsfdf2.c: Likewise.
2099 * soft-fp/extendsftf2.c: Likewise.
2100 * soft-fp/extendxftf2.c: Likewise.
2101 * soft-fp/fixdfdi.c: Likewise.
2102 * soft-fp/fixdfsi.c: Likewise.
2103 * soft-fp/fixdfti.c: Likewise.
2104 * soft-fp/fixsfdi.c: Likewise.
2105 * soft-fp/fixsfsi.c: Likewise.
2106 * soft-fp/fixsfti.c: Likewise.
2107 * soft-fp/fixtfdi.c: Likewise.
2108 * soft-fp/fixtfsi.c: Likewise.
2109 * soft-fp/fixtfti.c: Likewise.
2110 * soft-fp/fixunsdfdi.c: Likewise.
2111 * soft-fp/fixunsdfsi.c: Likewise.
2112 * soft-fp/fixunsdfti.c: Likewise.
2113 * soft-fp/fixunssfdi.c: Likewise.
2114 * soft-fp/fixunssfsi.c: Likewise.
2115 * soft-fp/fixunssfti.c: Likewise.
2116 * soft-fp/fixunstfdi.c: Likewise.
2117 * soft-fp/fixunstfsi.c: Likewise.
2118 * soft-fp/fixunstfti.c: Likewise.
2119 * soft-fp/floatdidf.c: Likewise.
2120 * soft-fp/floatdisf.c: Likewise.
2121 * soft-fp/floatditf.c: Likewise.
2122 * soft-fp/floatsidf.c: Likewise.
2123 * soft-fp/floatsisf.c: Likewise.
2124 * soft-fp/floatsitf.c: Likewise.
2125 * soft-fp/floattidf.c: Likewise.
2126 * soft-fp/floattisf.c: Likewise.
2127 * soft-fp/floattitf.c: Likewise.
2128 * soft-fp/floatundidf.c: Likewise.
2129 * soft-fp/floatundisf.c: Likewise.
2130 * soft-fp/floatunditf.c: Likewise.
2131 * soft-fp/floatunsidf.c: Likewise.
2132 * soft-fp/floatunsisf.c: Likewise.
2133 * soft-fp/floatunsitf.c: Likewise.
2134 * soft-fp/floatuntidf.c: Likewise.
2135 * soft-fp/floatuntisf.c: Likewise.
2136 * soft-fp/floatuntitf.c: Likewise.
2137 * soft-fp/fmadf4.c: Likewise.
2138 * soft-fp/fmasf4.c: Likewise.
2139 * soft-fp/fmatf4.c: Likewise.
2140 * soft-fp/gedf2.c: Likewise.
2141 * soft-fp/gesf2.c: Likewise.
2142 * soft-fp/getf2.c: Likewise.
2143 * soft-fp/ledf2.c: Likewise.
2144 * soft-fp/lesf2.c: Likewise.
2145 * soft-fp/letf2.c: Likewise.
2146 * soft-fp/muldf3.c: Likewise.
2147 * soft-fp/mulsf3.c: Likewise.
2148 * soft-fp/multf3.c: Likewise.
2149 * soft-fp/negdf2.c: Likewise.
2150 * soft-fp/negsf2.c: Likewise.
2151 * soft-fp/negtf2.c: Likewise.
2152 * soft-fp/op-1.h: Likewise.
2153 * soft-fp/op-2.h: Likewise.
2154 * soft-fp/op-4.h: Likewise.
2155 * soft-fp/op-8.h: Likewise.
2156 * soft-fp/op-common.h: Likewise.
2157 * soft-fp/quad.h: Likewise.
2158 * soft-fp/single.h: Likewise.
2159 * soft-fp/soft-fp.h: Likewise.
2160 * soft-fp/sqrtdf2.c: Likewise.
2161 * soft-fp/sqrtsf2.c: Likewise.
2162 * soft-fp/sqrttf2.c: Likewise.
2163 * soft-fp/subdf3.c: Likewise.
2164 * soft-fp/subsf3.c: Likewise.
2165 * soft-fp/subtf3.c: Likewise.
2166 * soft-fp/truncdfsf2.c: Likewise.
2167 * soft-fp/trunctfdf2.c: Likewise.
2168 * soft-fp/trunctfsf2.c: Likewise.
2169 * soft-fp/trunctfxf2.c: Likewise.
2170 * soft-fp/unorddf2.c: Likewise.
2171 * soft-fp/unordsf2.c: Likewise.
2172 * soft-fp/unordtf2.c: Likewise.
2173
2174 2013-10-15 Joseph Myers <joseph@codesourcery.com>
2175
2176 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2177 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2178
2179 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
2180
2181 * elf/dl-libc.c: Clear initfini list after freeing.
2182
2183 2013-10-14 Joseph Myers <joseph@codesourcery.com>
2184
2185 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2186 * soft-fp/addsf3.c: Likewise.
2187 * soft-fp/addtf3.c: Likewise.
2188 * soft-fp/divdf3.c: Likewise.
2189 * soft-fp/divsf3.c: Likewise.
2190 * soft-fp/divtf3.c: Likewise.
2191 * soft-fp/double.h: Likewise.
2192 * soft-fp/eqdf2.c: Likewise.
2193 * soft-fp/eqsf2.c: Likewise.
2194 * soft-fp/eqtf2.c: Likewise.
2195 * soft-fp/extenddftf2.c: Likewise.
2196 * soft-fp/extended.h: Likewise.
2197 * soft-fp/extendsfdf2.c: Likewise.
2198 * soft-fp/extendsftf2.c: Likewise.
2199 * soft-fp/extendxftf2.c: Likewise.
2200 * soft-fp/fixdfdi.c: Likewise.
2201 * soft-fp/fixdfsi.c: Likewise.
2202 * soft-fp/fixdfti.c: Likewise.
2203 * soft-fp/fixsfdi.c: Likewise.
2204 * soft-fp/fixsfsi.c: Likewise.
2205 * soft-fp/fixsfti.c: Likewise.
2206 * soft-fp/fixtfdi.c: Likewise.
2207 * soft-fp/fixtfsi.c: Likewise.
2208 * soft-fp/fixtfti.c: Likewise.
2209 * soft-fp/fixunsdfdi.c: Likewise.
2210 * soft-fp/fixunsdfsi.c: Likewise.
2211 * soft-fp/fixunsdfti.c: Likewise.
2212 * soft-fp/fixunssfdi.c: Likewise.
2213 * soft-fp/fixunssfsi.c: Likewise.
2214 * soft-fp/fixunssfti.c: Likewise.
2215 * soft-fp/fixunstfdi.c: Likewise.
2216 * soft-fp/fixunstfsi.c: Likewise.
2217 * soft-fp/fixunstfti.c: Likewise.
2218 * soft-fp/floatdidf.c: Likewise.
2219 * soft-fp/floatdisf.c: Likewise.
2220 * soft-fp/floatditf.c: Likewise.
2221 * soft-fp/floatsidf.c: Likewise.
2222 * soft-fp/floatsisf.c: Likewise.
2223 * soft-fp/floatsitf.c: Likewise.
2224 * soft-fp/floattidf.c: Likewise.
2225 * soft-fp/floattisf.c: Likewise.
2226 * soft-fp/floattitf.c: Likewise.
2227 * soft-fp/floatundidf.c: Likewise.
2228 * soft-fp/floatundisf.c: Likewise.
2229 * soft-fp/floatunsidf.c: Likewise.
2230 * soft-fp/floatunsisf.c: Likewise.
2231 * soft-fp/floatuntidf.c: Likewise.
2232 * soft-fp/floatuntisf.c: Likewise.
2233 * soft-fp/floatuntitf.c: Likewise.
2234 * soft-fp/fmadf4.c: Likewise.
2235 * soft-fp/fmasf4.c: Likewise.
2236 * soft-fp/fmatf4.c: Likewise.
2237 * soft-fp/gedf2.c: Likewise.
2238 * soft-fp/gesf2.c: Likewise.
2239 * soft-fp/getf2.c: Likewise.
2240 * soft-fp/ledf2.c: Likewise.
2241 * soft-fp/lesf2.c: Likewise.
2242 * soft-fp/letf2.c: Likewise.
2243 * soft-fp/muldf3.c: Likewise.
2244 * soft-fp/mulsf3.c: Likewise.
2245 * soft-fp/multf3.c: Likewise.
2246 * soft-fp/negdf2.c: Likewise.
2247 * soft-fp/negsf2.c: Likewise.
2248 * soft-fp/negtf2.c: Likewise.
2249 * soft-fp/op-1.h: Likewise.
2250 * soft-fp/op-2.h: Likewise.
2251 * soft-fp/op-4.h: Likewise.
2252 * soft-fp/op-8.h: Likewise.
2253 * soft-fp/op-common.h: Likewise.
2254 * soft-fp/quad.h: Likewise.
2255 * soft-fp/single.h: Likewise.
2256 * soft-fp/soft-fp.h: Likewise.
2257 * soft-fp/sqrtdf2.c: Likewise.
2258 * soft-fp/sqrtsf2.c: Likewise.
2259 * soft-fp/sqrttf2.c: Likewise.
2260 * soft-fp/subdf3.c: Likewise.
2261 * soft-fp/subsf3.c: Likewise.
2262 * soft-fp/subtf3.c: Likewise.
2263 * soft-fp/truncdfsf2.c: Likewise.
2264 * soft-fp/trunctfdf2.c: Likewise.
2265 * soft-fp/trunctfsf2.c: Likewise.
2266 * soft-fp/trunctfxf2.c: Likewise.
2267 * soft-fp/unorddf2.c: Likewise.
2268 * soft-fp/unordsf2.c: Likewise.
2269 * soft-fp/unordtf2.c: Likewise.
2270
2271 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
2272
2273 [BZ #15672]
2274 * misc/error.c (error_tail): Fix possible buffer overflow.
2275
2276 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2277
2278 [BZ #13028]
2279 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2280 address.
2281
2282 2013-10-14 P. J. McDermott <pj@pehjota.net>
2283
2284 [BZ #832]
2285 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2286 testing pipefail option.
2287
2288 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2289
2290 * soft-fp/double.h: Indent preprocessor directives inside #if.
2291 * soft-fp/extended.h: Likewise.
2292 * soft-fp/op-2.h: Likewise.
2293 * soft-fp/op-4.h: Likewise.
2294 * soft-fp/op-common.h: Likewise.
2295 * soft-fp/quad.h: Likewise.
2296 * soft-fp/single.h: Likewise.
2297 * soft-fp/soft-fp.h: Likewise.
2298
2299 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2300
2301 * iconv/iconv_prog.c: Fix typos.
2302 * stdio-common/psiginfo-data.h: Likewise.
2303
2304 2013-10-12 Reuben Thomas <rrt@sc3d.org>
2305
2306 [BZ #15764]
2307 * locale/setlocale.c: Fix typo.
2308
2309 2013-10-12 Joseph Myers <joseph@codesourcery.com>
2310
2311 [BZ #16036]
2312 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2313 signaling NaN arguments.
2314 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2315 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2316
2317 [BZ #14910]
2318 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2319 unordered operands.
2320 * soft-fp/gesf2.c (__gesf2): Likewise.
2321 * soft-fp/getf2.c (__getf2): Likewise.
2322 * soft-fp/ledf2.c (__ledf2): Likewise.
2323 * soft-fp/lesf2.c (__lesf2): Likewise.
2324 * soft-fp/letf2.c (__letf2): Likewise.
2325
2326 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2327 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2328 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2329 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2330 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2331 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2332 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2333 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2334 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2335 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2336 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2337 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2338 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2339 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2340 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2341 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2342 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2343 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2344 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2345 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2346 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2347 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2348 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2349 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2350 * soft-fp/floattidf.c (__floattidf): Likewise.
2351 * soft-fp/floattisf.c (__floattisf): Likewise.
2352 * soft-fp/floattitf.c (__floattitf): Likewise.
2353 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2354 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2355 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2356 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2357 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2358 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2359 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2360 * soft-fp/gesf2.c (__gesf2): Likewise.
2361 * soft-fp/getf2.c (__getf2): Likewise.
2362 * soft-fp/ledf2.c (__ledf2): Likewise.
2363 * soft-fp/lesf2.c (__lesf2): Likewise.
2364 * soft-fp/letf2.c (__letf2): Likewise.
2365
2366 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2367 Undefine and redefine.
2368 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2369 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2370 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2371 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2372 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2373 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2374 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2375 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2376 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2377 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2378 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2379 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2380 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2381 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2382 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2383
2384 [BZ #16032]
2385 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2386 without decrementing exponent if mantissa >= that for the
2387 denominator, not >.
2388 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2389 denominator, not >. Decrement exponent in < case instead of
2390 incrementing in >= case.
2391 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2392 without decrementing exponent if mantissa >= that for the
2393 denominator, not >.
2394
2395 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2396 computing saturated result for unsigned overflow.
2397
2398 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2399 Jeff Law <law@redhat.com>
2400
2401 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2402 (atan2Mp): Add systemtap probe marker.
2403 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2404 (__ieee754_log): Add systemtap probe marker.
2405 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2406 (atanMp): Add systemtap probe marker.
2407 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2408 (tanMp): Add systemtap probe marker.
2409 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2410 (__slowexp): Add systemtap probe marker.
2411 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2412 (__slowpow): Add systemtap probe marker.
2413 * manual/probes.texi: Document probes.
2414
2415 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2416
2417 [BZ #15362]
2418 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2419 written.
2420 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2421 written.
2422 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2423 written to buffer but not flushed.
2424 * libio/iofwrite_u.c: Likewise.
2425 * libio/iopadn.c: Return bytes returned even if EOF was
2426 encountered.
2427 * libio/iowpadn.c: Likewise.
2428 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2429 if _IO_padn does not write the whole buffer.
2430 [!COMPILE_WPRINTF] (PAD): Likewise.
2431
2432 2013-10-10 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2435 directory block.
2436
2437 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2438
2439 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2440 instead of FSF address.
2441 * soft-fp/fixdfti.c: Likewise.
2442 * soft-fp/fixsfti.c: Likewise.
2443 * soft-fp/fixtfti.c: Likewise.
2444 * soft-fp/fixunsdfti.c: Likewise.
2445 * soft-fp/fixunssfti.c: Likewise.
2446 * soft-fp/fixunstfti.c: Likewise.
2447 * soft-fp/floattidf.c: Likewise.
2448 * soft-fp/floattisf.c: Likewise.
2449 * soft-fp/floattitf.c: Likewise.
2450 * soft-fp/floatuntidf.c: Likewise.
2451 * soft-fp/floatuntisf.c: Likewise.
2452 * soft-fp/floatuntitf.c: Likewise.
2453 * soft-fp/trunctfxf2.c: Likewise.
2454
2455 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2456 * soft-fp/fixdfti.c: Likewise.
2457 * soft-fp/fixsfti.c: Likewise.
2458 * soft-fp/fixtfti.c: Likewise.
2459 * soft-fp/fixunsdfti.c: Likewise.
2460 * soft-fp/fixunssfti.c: Likewise.
2461 * soft-fp/fixunstfti.c: Likewise.
2462 * soft-fp/floattidf.c: Likewise.
2463 * soft-fp/floattisf.c: Likewise.
2464 * soft-fp/floattitf.c: Likewise.
2465 * soft-fp/floatuntidf.c: Likewise.
2466 * soft-fp/floatuntisf.c: Likewise.
2467 * soft-fp/floatuntitf.c: Likewise.
2468 * soft-fp/trunctfxf2.c: Likewise.
2469
2470 2013-10-10 David S. Miller <davem@davemloft.net>
2471
2472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2473
2474 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2475
2476 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2477 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2478 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2483
2484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2485 for NaNs before doing comparisons on argument.
2486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2487 Likewise.
2488
2489 2013-10-10 Will Newton <will.newton@linaro.org>
2490
2491 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2492 passed to _int_memalign does not overflow.
2493
2494 2013-10-10 Torvald Riegel <triegel@redhat.com>
2495
2496 * scripts/bench.pl: Add include-sources directive.
2497 * benchtests/README: Update documentation.
2498
2499 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2500
2501 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2502 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2503 instead of FP_INIT_ROUNDMODE.
2504 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2505 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2506
2507 [BZ #16034]
2508 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2509 copy class of input value.
2510 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2511 not handle exceptions.
2512 * soft-fp/negsf2.c (__negsf2): Likewise.
2513 * soft-fp/negtf2.c (__negtf2): Likewise.
2514 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2515
2516 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2517
2518 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2519 semicolon. From Linux kernel.
2520
2521 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2522
2523 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2524
2525 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2526
2527 [BZ #156]
2528 * manual/socket.texi: Added statement about buffer
2529 for gethostbyname2_r.
2530
2531 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2532
2533 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2534 Use .p2align directive instead, throughout.
2535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2536 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2537 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2540 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2541 * sysdeps/x86_64/strchr.S: Likewise.
2542 * sysdeps/x86_64/strrchr.S: Likewise.
2543
2544 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2545
2546 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2547
2548 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2549
2550 * sysdeps/generic/math_private.h (__mpsin1): Remove
2551 declaration.
2552 (__mpcos1): Likewise.
2553 (__mpsin): New argument __range_reduce.
2554 (__mpcos): Likewise.
2555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2556 (slow): Use __mpsin and __mpcos.
2557 (slow1): Likewise.
2558 (slow2): Likewise.
2559 (sloww): Likewise.
2560 (sloww1): Likewise.
2561 (sloww2): Likewise.
2562 (bsloww): Likewise.
2563 (bsloww1): Likewise.
2564 (bsloww2): Likewise.
2565 (cslow2): Likewise.
2566 (csloww): Likewise.
2567 (csloww1): Likewise.
2568 (csloww2): Likewise.
2569 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2570 range_reduce. Merge in __mpsin1.
2571 (__mpcos): Likewise.
2572 (__mpsin1): Remove.
2573 (__mpcos1): Likewise.
2574
2575 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2576
2577 * locale/loadlocale.c (_nl_intern_locale_data): Use
2578 LOCFILE_ALIGNED_P.
2579 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2580 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2581 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2582 obstack data is appropriately aligned.
2583 (obstack_int32_grow_fast): Likewise.
2584 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2585 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2586 (add_locale_uint32_array): Likewise.
2587
2588 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2589
2590 * benchtests/Makefile: Remove ARGLIST and RET variables.
2591 ($(objpfx)bench-%.c): Pass only function name to the script.
2592 * benchtests/README: Update documentation.
2593 * benchtests/acos-inputs: Add new directives.
2594 * benchtests/acosh-inputs: Likewise.
2595 * benchtests/asin-inputs: Likewise.
2596 * benchtests/asinh-inputs: Likewise.
2597 * benchtests/atan-inputs: Likewise.
2598 * benchtests/atanh-inputs: Likewise.
2599 * benchtests/cos-inputs: Likewise.
2600 * benchtests/cosh-inputs: Likewise.
2601 * benchtests/exp-inputs: Likewise.
2602 * benchtests/log-inputs: Likewise.
2603 * benchtests/pow-inputs: Likewise.
2604 * benchtests/rint-inputs: Likewise.
2605 * benchtests/sin-inputs: Likewise.
2606 * benchtests/sinh-inputs: Likewise.
2607 * benchtests/tan-inputs: Likewise.
2608 * benchtests/tanh-inputs: Likewise.
2609 * scripts/bench.pl: Add support for new directives.
2610
2611 2013-10-07 Alan Modra <amodra@gmail.com>
2612
2613 * README: Fix careless merge.
2614
2615 2013-10-05 Alan Modra <amodra@gmail.com>
2616
2617 * NEWS: Mention powerpc64le support and bugs fixed.
2618 * README: Both big-endian and little-endian powerpc64 supported.
2619
2620 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2621
2622 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2623 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2624 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2625 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2626
2627 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2628
2629 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2630 match prototype.
2631
2632 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2633
2634 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2635 Move -mhard-float appending from
2636 ports/sysdeps/powerpc/powerpc32/Makefile.
2637 [$(with-fp) = yes] (ASFLAGS): Likewise.
2638 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2639 * sysdeps/powerpc/nofpu: Move directory from
2640 ports/sysdeps/powerpc/nofpu.
2641 * sysdeps/powerpc/soft-fp: Move directory from
2642 ports/sysdeps/powerpc/soft-fp.
2643 * sysdeps/powerpc/powerpc32/405: Move directory from
2644 ports/sysdeps/powerpc/powerpc32/405.
2645 * sysdeps/powerpc/powerpc32/440: Move directory from
2646 ports/sysdeps/powerpc/powerpc32/440.
2647 * sysdeps/powerpc/powerpc32/464: Move directory from
2648 ports/sysdeps/powerpc/powerpc32/464.
2649 * sysdeps/powerpc/powerpc32/476: Move directory from
2650 ports/sysdeps/powerpc/powerpc32/476.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2652 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2654 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2656 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2658 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2660 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2661 * README: Update for powerpc-*-linux-gnu software floating point
2662 support in libc.
2663
2664 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2665 case to powerpc/powerpc32*.
2666 * sysdeps/unix/sysv/linux/configure: Regenerated.
2667
2668 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2669 (_FPU_MASK_OM): Define as 0x04.
2670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2672 0x00c10080.
2673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2674 0x0000003c.
2675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2676
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2678 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2679 getcontext_e500.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2681 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2682 setcontext_e500.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2684 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2685 and setcontext_e500.
2686
2687 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2688
2689 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2690
2691 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2692
2693 * manual/threads.texi (Default Thread Attributes): Fix typo.
2694
2695 2013-10-04 Will Newton <will.newton@linaro.org>
2696
2697 * malloc/Makefile: Add tst-memalign.
2698 * malloc/tst-memalign.c: New file.
2699
2700 * malloc/tst-posix_memalign.c: Add comments.
2701 (do_test): Add comments and call free on all potentially
2702 allocated pointers. Add space after cast.
2703
2704 * malloc/tst-pvalloc.c: Add comments.
2705 (do_test): Add comments and call free on all potentially
2706 allocated pointers. Remove duplicate check for NULL pointer.
2707 Add space after cast.
2708
2709 * malloc/tst-valloc.c: Add comments.
2710 (do_test): Add comments and call free on all potentially
2711 allocated pointers. Remove duplicate check for NULL pointer.
2712 Add space after cast.
2713
2714 2013-10-04 Alan Modra <amodra@gmail.com>
2715
2716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2717 Use stdint types in rather than __attribute__((mode())).
2718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2719
2720 2013-10-04 Alan Modra <amodra@gmail.com>
2721
2722 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2723 Correct handling of unaligned relocs for little-endian.
2724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2725
2726 2013-10-04 Alan Modra <amodra@gmail.com>
2727
2728 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2729 * configure: Regenerate.
2730 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2731 * shlib-versions: Likewise.
2732
2733 2013-10-04 Alan Modra <amodra@gmail.com>
2734
2735 * string/tester.c (test_memrchr): Increment reported test cycle.
2736
2737 2013-10-04 Alan Modra <amodra@gmail.com>
2738
2739 * string/test-memcpy.c (do_one_test): When reporting errors, print
2740 string address and don't overrun end of string.
2741
2742 2013-10-04 Alan Modra <amodra@gmail.com>
2743
2744 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2745 insrdi. Make better use of reg selection to speed exit slightly.
2746 Schedule entry path a little better. Remove useless "are we done"
2747 checks on entry to main loop. Handle wrapping around zero address.
2748 Correct main loop count. Handle single left-over word from main
2749 loop inline rather than by using loop_small. Remove extra word
2750 case in loop_small caused by wrong loop count. Add little-endian
2751 support.
2752 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2754 cache hint.
2755 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2757 support. Avoid rlwimi.
2758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2759
2760 2013-10-04 Alan Modra <amodra@gmail.com>
2761
2762 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2763 insrdi. Formatting.
2764 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2766 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2767 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2768 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2769 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2770
2771 2013-10-04 Alan Modra <amodra@gmail.com>
2772
2773 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2775 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2778 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2780 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2782 use of regs. Use power7 mtocrf. Tidy function tails.
2783
2784 2013-10-04 Alan Modra <amodra@gmail.com>
2785
2786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2787 Formatting. Consistently use rXXX register defines or rN defines.
2788 Use early exit labels that avoid restoring unused non-volatile regs.
2789 Make cr field use more consistent with rWORDn compares. Rename
2790 regs used as shift registers for unaligned loop, using rN defines
2791 for short lifetime/multiple use regs.
2792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2794 addi 1,1,64 to pop stack frame. Simplify return value code.
2795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2796
2797 2013-10-04 Alan Modra <amodra@gmail.com>
2798
2799 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2800 support. Correct typos, formatting. Optimize tail. Use insrdi
2801 rather than rlwimi.
2802 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2804 little-endian support. Correct typos.
2805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2806 rather than rlwimi.
2807 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2808 in loop and entry code to keep "and." results.
2809 (strchr): Add little-endian support. Comment. Move cntlzd
2810 earlier in tail.
2811 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2812
2813 2013-10-04 Alan Modra <amodra@gmail.com>
2814
2815 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2816 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2817 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2818 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2819
2820 2013-10-04 Alan Modra <amodra@gmail.com>
2821
2822 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2823 (rTMP): Define as r11.
2824 (strcmp): Add little-endian support. Optimise tail.
2825 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2826 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2828 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2830 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2832
2833 2013-10-04 Alan Modra <amodra@gmail.com>
2834
2835 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2836 little-endian support. Remove unnecessary "are we done" tests.
2837 Handle "s" wrapping around zero and extremely large "size".
2838 Correct main loop count. Handle single left-over word from main
2839 loop inline rather than by using small_loop. Correct comments.
2840 Delete "zero" tail, use "end_max" instead.
2841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2842
2843 2013-10-04 Alan Modra <amodra@gmail.com>
2844
2845 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2846 support. Don't branch over align.
2847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2848 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2849 support. Rearrange tmp reg use to suit. Comment.
2850 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2851
2852 2013-10-04 Alan Modra <amodra@gmail.com>
2853
2854 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2855
2856 2013-10-04 Alan Modra <amodra@gmail.com>
2857
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2859 conditional form of branch and link when obtaining pc.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2861
2862 2013-10-04 Alan Modra <amodra@gmail.com>
2863
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2865 HIWORD/LOWORD.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2868
2869 2013-10-04 Alan Modra <amodra@gmail.com>
2870
2871 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2872 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2873 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2874 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2875 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2876 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2877 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2878 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2879 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2880 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2881
2882 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2883 Alistair Popple <alistair@ozlabs.au.ibm.com>
2884 Alan Modra <amodra@gmail.com>
2885
2886 [BZ #15723]
2887 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2888 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2889 _dl_hwcap access for little-endian.
2890 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2891 destroy vmx regs when saving unaligned.
2892 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2893 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2894 destroy vmx regs when saving unaligned.
2895
2896 2013-10-04 Alan Modra <amodra@gmail.com>
2897
2898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2899 Don't use a union to pack hi/low value.
2900
2901 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2904 for little-endian.
2905 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2907 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2909 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2910
2911 2013-10-04 Alan Modra <amodra@gmail.com>
2912
2913 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2914 constants to usual value for .cst8 section, and remove redundant
2915 high address load.
2916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2917 constant for 0x1p52. Load little-endian words of double from
2918 correct stack offsets.
2919
2920 2013-10-04 Alan Modra <amodra@gmail.com>
2921
2922 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2923 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2924 words of double from correct stack offsets.
2925 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2926 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2927 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2930 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2933 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2934 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2937 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2938 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2941 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2942
2943 2013-10-04 Alan Modra <amodra@gmail.com>
2944
2945 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2946 64-bit int/double union.
2947 (_FPU_SETCW): Likewise.
2948 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2949 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2950
2951 2013-10-04 Alan Modra <amodra@gmail.com>
2952
2953 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2954 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2955
2956 2013-10-04 Alan Modra <amodra@gmail.com>
2957
2958 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2959 use vector int constants.
2960 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2961
2962 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2963
2964 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2965 array with long long.
2966 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2967 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2968 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2969 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2970 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2971 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2972 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2973 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2974 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2975 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2976 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2977 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2978 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2979
2980 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2981
2982 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2983 (__signbit): Likewise. Correct for little-endian.
2984 (__signbitl): Call __signbit.
2985 (lrint): Correct for little-endian.
2986 (lrintf): Call lrint.
2987
2988 2013-10-04 Alan Modra <amodra@gmail.com>
2989
2990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2991 union 32-bit int array member with 64-bit int array.
2992 (t515, tm256): Double rather than long double.
2993 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2994
2995 2013-10-04 Alan Modra <amodra@gmail.com>
2996
2997 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2998 Delete.
2999 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3001 version of math_ldbl.h.
3002
3003 2013-10-04 Alan Modra <amodra@gmail.com>
3004
3005 [BZ #15734], [BZ #15735]
3006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3007 all uses of ieee875 long double macros and unions. Simplify test
3008 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3009 ldbl_extract_mantissa value for ix,iy exponents. Properly
3010 normalize after ldbl_extract_mantissa, and don't add hidden bit
3011 already handled. Don't treat low word of ieee854 mantissa like
3012 low word of IBM long double and mask off bit when testing for
3013 zero.
3014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3015 all uses of ieee875 long double macros and unions. Simplify tests
3016 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3017 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3018 two1022, instead use their values. Recognise that tests for large
3019 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3021 Rewrite all uses of ieee875 long double macros and unions. Simplify
3022 test for 0.0L and nan. Correct negation.
3023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3024 ieee875 long double macros and unions. Correct output for large
3025 magnitude x. Correct absolute value calculation.
3026 (__erfcl): Likewise.
3027 * math/libm-test.inc: Add tests for errors discovered in IBM long
3028 double versions of fmodl, remainderl, erfl and erfcl.
3029
3030 2013-10-04 Alan Modra <amodra@gmail.com>
3031
3032 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3033 all uses of ieee854 long double macros and unions. Simplify tests
3034 for long doubles that are fully specified by the high double.
3035 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3036 Likewise.
3037 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3038 Remove dead code too.
3039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3040 (__ieee754_ynl): Likewise.
3041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3044 Remove dead code too.
3045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3048 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3049 Simplify.
3050 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3051 Simplify.
3052 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3053 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3055 Comment on variable precision.
3056 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3057 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3058 Likewise.
3059 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3062 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3063 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3064
3065 2013-10-04 Alan Modra <amodra@gmail.com>
3066
3067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3068 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3069 all uses of ieee854 long double macros and unions.
3070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3072 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3074 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3076 Likewise.
3077 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3078 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3079 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3080 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3083 Simplify sign and nan test too.
3084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3086 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3088 Likewise.
3089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3090 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3091 Likewise.
3092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3093 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3094 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3095 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3096 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3098
3099 2013-10-04 Alan Modra <amodra@gmail.com>
3100
3101 * stdio-common/printf_size.c (__printf_size): Don't use
3102 union ieee854_long_double in fpnum union.
3103 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3104 signbit macro to retrieve sign from long double.
3105 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3106 retrieve sign from long double.
3107 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3108 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3109 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3110 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3111 * math/test-misc.c (main): Don't use union ieee854_long_double.
3112
3113 2013-10-04 Alan Modra <amodra@gmail.com>
3114
3115 [BZ #15680]
3116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3117 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3118 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3119 calculation. Remove unnecessary test for denormal exponent.
3120 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3121 Correct handling of denormals. Avoid undefined shift behaviour.
3122 Correct normalisation of low mantissa when low double is denormal.
3123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3124 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3125 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3126 Correct normalisation of low mantissa. Test for overflow of high
3127 mantissa and normalise.
3128 (ldbl_nearbyint): Use more readable constant for two52.
3129 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3130 (__mpn_construct_long_double): Fix test for overflow of high
3131 mantissa and correct normalisation. Avoid undefined shift.
3132
3133 2013-10-04 Alan Modra <amodra@gmail.com>
3134
3135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3136 (union ibm_extended_long_double): Define as an array of ieee754_double.
3137 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3139 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3140 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3144 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3146 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3148
3149 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3150
3151 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3152 page size instead of calling getpagesize.
3153
3154 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3155 (LOCFILE_ALIGN_MASK): Likewise.
3156 (LOCFILE_ALIGN_UP): Likewise.
3157 (LOCFILE_ALIGNED_P): Likewise.
3158 * locale/programs/ld-collate.c (collate_output): Use the new
3159 macros instead of __alignof__ (int32_t).
3160 * locale/weight.h (findidx): Likewise.
3161
3162 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
3163
3164 [BZ #431]
3165 * manual/string.texi: Fix strncat and wcsncat.
3166
3167 2013-10-03 Brooks Moses <bmoses@google.com>
3168
3169 [BZ #15915]
3170 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3171 * Makerules: ...here, and adjust associated comments.
3172
3173 2013-10-02 Will Newton <will.newton@linaro.org>
3174
3175 * malloc/Makefile: Add tst-pvalloc.
3176 * malloc/tst-pvalloc.c: New file.
3177
3178 2013-10-02 Will Newton <will.newton@linaro.org>
3179
3180 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3181 improve test coverage.
3182
3183 2013-10-02 Will Newton <will.newton@linaro.org>
3184
3185 * malloc/Makefile: Add tst-posix_memalign.
3186 * malloc/tst-posix_memalign.c: New file.
3187
3188 2013-10-01 Eric Blake <eblake@redhat.com>
3189
3190 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3191 Use __THROWNL rather than __THROW on static functions.
3192
3193 2013-09-30 Petr Machata <pmachata@redhat.com>
3194
3195 * elf/elf.h (R_AARCH64_ABS16): New macro.
3196 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3197 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3198 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3199 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3200 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3201 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3202 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3203 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3204 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3205 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3206 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3207 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3208 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3209 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3210 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3211 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3212 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3213 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3214 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3215 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3216 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3217 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3218 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3219 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3220 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3221 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3222 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3223 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3224 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3225 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3226 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3228 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3230 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3231 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3233 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3235 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3237 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3239 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3241 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3243 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3245 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3246 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3247 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3248 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3249 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3250 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3251 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3252 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3253 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3254 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3255 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3256 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3258 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3260 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3262 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3264 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3266 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3267 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3268 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3269 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3270 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3271 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3272 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3273 (R_AARCH64_TLSDESC_LDR): Likewise.
3274 (R_AARCH64_TLSDESC_ADD): Likewise.
3275 (R_AARCH64_TLSDESC_CALL): Likewise.
3276
3277 2013-09-30 Andreas Schwab <schwab@suse.de>
3278
3279 [BZ #15048]
3280 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3281 the nss database lookup.
3282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3284
3285 2013-09-28 Mike Frysinger <vapier@gentoo.org>
3286
3287 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3288
3289 2013-09-28 P. J. McDermott <pj@pehjota.net>
3290
3291 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3292 ${Bash-specific parameter/pattern/string} parameter expansion.
3293 * sysdeps/unix/make-syscalls.sh: Likewise.
3294
3295 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3296
3297 * sysdeps/sh/stackguard-macros.h: New file.
3298
3299 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
3300
3301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3303 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3304 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3306 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3307
3308 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309
3310 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3311 Fix thread ID register.
3312
3313 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3314
3315 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3316 [POSIX || UNIX98]: Require rather than permitting all symbols from
3317 <time.h>.
3318 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3319 element of struct sched_param.
3320 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3321 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3322 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3323 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3324 constant.
3325
3326 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3327
3328 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3329 argument calculation.
3330
3331 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3332
3333 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3334 Expect macro.
3335 [POSIX] (pthread_attr_t): Do not require type.
3336 [POSIX] (pthread_cond_t): Likewise.
3337 [POSIX] (pthread_condattr_t): Likewise.
3338 [POSIX] (pthread_key_t): Likewise.
3339 [POSIX] (pthread_mutex_t): Likewise.
3340 [POSIX] (pthread_mutexattr_t): Likewise.
3341 [POSIX] (pthread_once_t): Likewise.
3342 [POSIX] (pthread_t): Likewise.
3343 [POSIX-based standards] (pthread_atfork): Expect function.
3344
3345 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3346 Richard Sandiford <richard@codesourcery.com>
3347
3348 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3349 (swap_endianness_p): New extern variable.
3350 (set_big_endian): New inline function.
3351 (maybe_swap_uint32): Likewise.
3352 (maybe_swap_uint32_array): Likewise.
3353 (maybe_swap_uint32_obstack): Likewise.
3354 * locale/programs/locfile.c: Include <stdbool.h>.
3355 (swap_endianness_p): New variable.
3356 (add_locale_uint32): Call maybe_swap_uint32.
3357 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3358 (write_locale_data): Call maybe_swap_uint32_array.
3359 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3360 maybe_swap_uint32.
3361 (obstack_int32_grow_fast): Likewise.
3362 (output_weightwc): Call maybe_swap_uint32_obstack.
3363 (collate_output): Likewise.
3364 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3365 (OPT_LITTLE_ENDIAN): Likewise.
3366 (options): Add --little-endian and --big-endian options.
3367 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3368 * locale/programs/locarchive.c: Include "locfile.h".
3369 (GET): New macro.
3370 (SET): Likewise.
3371 (INC): Likewise.
3372 (create_archive): Use the new macros to access fields of
3373 structures directly mapped from or written to locale archives.
3374 (oldlocrecentcmp): Likewise.
3375 (enlarge_archive): Likewise.
3376 (insert_name): Likewise.
3377 (add_alias): Likewise.
3378 (add_locale): Likewise.
3379 (delete_locales_from_archive): Likewise.
3380 (show_archive_content): Likewise.
3381 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3382 locale data.
3383
3384 2013-09-24 Roland McGrath <roland@hack.frob.com>
3385
3386 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3387 http://www.gnu.org/doc/freemanuals.texi.
3388 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3389
3390 2013-09-24 Will Newton <will.newton@linaro.org>
3391
3392 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3393 macro.
3394
3395 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3396
3397 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3398 unsigned char.
3399
3400 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3401
3402 * manual/threads.texi (POSIX Threads): Fix a typo.
3403
3404 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3405
3406 [BZ #14547]
3407 * string/tst-strcoll-overflow.c: New test case.
3408 * string/Makefile (xtests): Add tst-strcoll-overflow.
3409 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3410 cache if string sizes may cause integer overflow.
3411
3412 [BZ #14547]
3413 * string/strcoll_l.c (coll_seq): New members rule, idx,
3414 save_idx and back_us.
3415 (get_next_seq_nocache): New function.
3416 (do_compare_nocache): New function.
3417 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3418 when malloc fails.
3419
3420 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3421
3422 [BZ #15754]
3423 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3424 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3425 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3426
3427 [BZ #15754]
3428 * elf/Makefile (tests): Add tst-ptrguard1.
3429 (tests-static): Add tst-ptrguard1-static.
3430 (tst-ptrguard1-ARGS): Define.
3431 (tst-ptrguard1-static-ARGS): Define.
3432 * elf/tst-ptrguard1.c: New file.
3433 * elf/tst-ptrguard1-static.c: New file.
3434 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3435 * sysdeps/i386/stackguard-macros.h: Likewise.
3436 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3437 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3438 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3439 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3440 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3441 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3442
3443 2013-09-23 Hector Marco <hecmargi@upv.es>
3444 Ismael Ripoll <iripoll@disca.upv.es>
3445 Carlos O'Donell <carlos@redhat.com>
3446
3447 [BZ #15754]
3448 * sysdeps/generic/stackguard-macros.h: Define
3449 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3450 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3451 Define __pointer_chk_guard_local.
3452 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3453 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3454
3455 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3456
3457 [BZ #15859]
3458 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3459
3460 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3461
3462 * include/string.h (__ffs): Declare as hidden.
3463 * string/ffs.c (__ffs): Define as hidden.
3464 * sysdeps/i386/ffs.c (__ffs): Likewise.
3465 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3466 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3467 * sysdeps/s390/ffs.c (__ffs): Likewise.
3468 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3469
3470 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3471
3472 * NEWS: Mention malloc probes.
3473
3474 * malloc/arena.c (new_heap): New memory_heap_new probe.
3475 (grow_heap): New memory_heap_more probe.
3476 (shrink_heap): New memory_heap_less probe.
3477 (heap_trim): New memory_heap_free probe.
3478 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3479 (systrim): New memory_sbrk_less probe.
3480 * manual/probes.texi: Document them.
3481
3482 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3483 * manual/probes.texi: Document it.
3484
3485 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3486 (__libc_realloc): Add memory_realloc_retry probe.
3487 (__libc_memalign): Add memory_memalign_retry probe.
3488 (__libc_valloc): Add memory_valloc_retry probe.
3489 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3490 (__libc_calloc): Add memory_calloc_retry probe.
3491 * manual/probes.texi: Document them.
3492
3493 * malloc/arena.c (get_free_list): Add probe
3494 memory_arena_reuse_free_list.
3495 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3496 and memory_arena_reuse.
3497 (arena_get2) [!PER_THREAD]: Likewise.
3498 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3499 memory_arena_reuse_realloc.
3500 * manual/probes.texi: Document them.
3501
3502 * malloc/malloc.c (__libc_free): Add
3503 memory_mallopt_free_dyn_thresholds probe.
3504 (__libc_mallopt): Add multiple memory_mallopt probes.
3505 * manual/probes.texi: Document them.
3506
3507 * malloc/malloc.c: Include stap-probe.h.
3508 (__libc_mallopt): Add memory_mallopt probe.
3509 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3510 * manual/probes.texi: New.
3511 * manual/Makefile (chapters): Add probes.
3512 * manual/threads.texi: Set next node.
3513
3514 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3515
3516 [BZ #15963, #13985]
3517 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3518 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3519 Add `Chinese' to `nan' entry name.
3520
3521 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3522
3523 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3524 (POLYNOMIAL): Likewise.
3525 (TAYLOR_SINCOS): Likewise.
3526 (TAYLOR_SLOW): Likewise.
3527 (__sin): Use TAYLOR_SINCOS.
3528 (__cos): Likewise.
3529 (slow): Use TAYLOR_SLOW.
3530 (sloww): Likewise.
3531 (bsloww): Likewise.
3532 (csloww): Likewise.
3533
3534 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3535
3536 * stdlib/strtod_l.c: Fix buffer overrun.
3537
3538 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3539
3540 * benchtests/Makefile (bench): Add sincos.
3541 * benchtests/bench-sincos.c: New file.
3542
3543 * math/libm-test.inc (cos_test_data): New test inputs.
3544 (sin_test_data): Likewise.
3545
3546 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3547 macro.
3548 (__sin): Use it.
3549 (__cos): Likewise.
3550 (slow1): Likewise.
3551 (slow2): Likewise.
3552 (sloww1): Likewise.
3553 (sloww2): Likewise.
3554 (bsloww1): Likewise.
3555 (bsloww2): Likewise.
3556 (cslow2): Likewise.
3557 (csloww1): Likewise.
3558 (csloww2): Likewise.
3559
3560 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3561 function.
3562 (__sin): Use it.
3563 (__cos): Likewise.
3564
3565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3566 gotos.
3567 (__cos): Likewise.
3568
3569 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3570
3571 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3572 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3573 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3574 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3575 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3576 * elf/cache.c (print_entry): Handle the new cache flags.
3577
3578 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3579 Aldy Hernandez <aldyh@redhat.com>
3580
3581 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3582 Change condition to [_SOFT_FLOAT].
3583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3595 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3598 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3599 declaration.
3600
3601 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3602
3603 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3604 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3605 (__longjmp): Use LOAD_GP to load saved GPRs.
3606 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3607 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3608 (__sigsetjmp): Use SAVE_GP to save GPRs.
3609
3610 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3611 Do not append -msoft-float.
3612 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3613
3614 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3617
3618 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3619
3620 [BZ #15966]
3621 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3622 (_FPU_GETCW): Use initial "__" on variable and field names but not
3623 on macro parameter name.
3624 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3625 parentheses around reference to macro parameter.
3626
3627 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3628
3629 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3630 prototype.
3631 (ctype_startup): Use uint32_t in cast and sizeof for
3632 ctype->charnames.
3633
3634 2013-09-11 Jia Liu <proljc@gmail.com>
3635
3636 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3637 __daddr_t_defined.
3638 [__FreeBSD__]: Likewise.
3639
3640 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
3641
3642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3643 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3644 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3645 (strchr): Remove __strchr_sse42 ifunc selection.
3646 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3647 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3648
3649 2013-09-11 Will Newton <will.newton@linaro.org>
3650
3651 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3652 parameter to RES. Remove hardcoded 1000 value.
3653 * benchtests/bench-skeleton.c (main): Pass RES parameter
3654 to TIMING_INIT and multiply result by 1000.
3655
3656 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657
3658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3659
3660 2013-09-11 Andreas Schwab <schwab@suse.de>
3661
3662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3663 if not defined.
3664 (O_TMPFILE) [__USE_GNU]: Define.
3665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3666 Define.
3667
3668 2013-09-11 Will Newton <will.newton@linaro.org>
3669
3670 [BZ #15857]
3671 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3672 does not overflow.
3673
3674 2013-09-11 Will Newton <will.newton@linaro.org>
3675
3676 [BZ #15856]
3677 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3678 does not overflow.
3679
3680 2013-09-11 Will Newton <will.newton@linaro.org>
3681
3682 [BZ #15855]
3683 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3684 does not overflow.
3685
3686 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3687
3688 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3689 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3693
3694 2013-09-10 Allan McRae <allan@archlinux.org>
3695
3696 [BZ #15748]
3697 * manual/arith.texi (Parsing of Floats): Clarify
3698 cross-reference.
3699
3700 [BZ #15849]
3701 * manual/install.texi (Running make install): Mention
3702 --enable-pt-chown.
3703 * INSTALL: Regenerated.
3704
3705 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3706
3707 * csu/init-first.c (_init): Remove the !SHARED condition around
3708 FPU control word initialization.
3709 * elf/dl-support.c (_dl_fpu_control): New variable.
3710 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3711 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3712 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3713 * math/test-fpucw-static.c: New file.
3714 * math/test-fpucw-ieee.c: New file.
3715 * math/test-fpucw-ieee-static.c: New file.
3716 * math/Makefile (tests): Add `test-fpucw-ieee' and
3717 `$(tests-static)'.
3718 (tests-static): New variable.
3719 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3720 dependency to...
3721 [($(build-shared),yes)]
3722 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3723 ... this.
3724 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3725 New dependency.
3726
3727 2013-09-09 Allan McRae <allan@archlinux.org>
3728
3729 [BZ #15939]
3730 * manual/string.texi (Collation Functions): Fix typo in
3731 strcoll example.
3732 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3733
3734 [BZ #15893]
3735 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3736
3737 [BZ #15892]
3738 * libio/memstream.c (open_memstream): Fix memory leak.
3739 * libio/wmemstream.c (open_wmemstream): Likewise.
3740
3741 [BZ #15895]
3742 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3743
3744 2013-09-09 Will Newton <will.newton@linaro.org>
3745
3746 * malloc/Makefile: Add tst-realloc to tests.
3747 * malloc/tst-realloc.c: New file.
3748
3749 2013-09-09 Allan McRae <allan@archlinux.org>
3750
3751 [BZ #15844]
3752 * COPYING: Update from GNU website to fix FSF address.
3753 * COPYING.LIB: Likewise.
3754
3755 2013-09-06 David S. Miller <davem@davemloft.net>
3756
3757 * po/zh_TW.po: Update Chinese (traditional) translation from
3758 translation project.
3759
3760 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3761 Joseph Myers <joseph@codesourcery.com>
3762
3763 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3764 "localeinfo.h".
3765 (obstack_chunk_alloc): New macro.
3766 (obstack_chunk_free): Likewise.
3767 (record_offset): New function.
3768 (init_locale_data): Likewise.
3769 (align_locale_data): Likewise.
3770 (add_locale_empty): Likewise.
3771 (add_locale_raw_data): Likewise.
3772 (add_locale_raw_obstack): Likewise.
3773 (add_locale_string): Likewise.
3774 (add_locale_wstring): Likewise.
3775 (add_locale_uint32): Likewise.
3776 (add_locale_uint32_array): Likewise.
3777 (add_locale_char): Likewise.
3778 (start_locale_structure): Likewise.
3779 (end_locale_structure): Likewise.
3780 (start_locale_prelude): Likewise.
3781 (end_locale_prelude): Likewise.
3782 (write_locale_data): Take locale_file structure rather than an
3783 iovec.
3784 * locale/programs/locfile.h: Include "obstack.h".
3785 (struct locale_file): Change to store locale file contents instead
3786 of header.
3787 (init_locale_data): New prototype.
3788 (align_locale_data): Likewise.
3789 (add_locale_empty): Likewise.
3790 (add_locale_raw_data): Likewise.
3791 (add_locale_raw_obstack): Likewise.
3792 (add_locale_string): Likewise.
3793 (add_locale_wstring): Likewise.
3794 (add_locale_uint32): Likewise.
3795 (add_locale_uint32_array): Likewise.
3796 (add_locale_char): Likewise.
3797 (start_locale_structure): Likewise.
3798 (end_locale_structure): Likewise.
3799 (start_locale_prelude): Likewise.
3800 (end_locale_prelude): Likewise.
3801 (write_locale_data): Update prototype.
3802 * locale/programs/3level.h (struct TABLE): Remove result field.
3803 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3804 Use new locale_file interface.
3805 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3806 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3807 * locale/programs/ld-address.c (address_output): Use new
3808 locale_file interface.
3809 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3810 NO_ADD_LOCALE.
3811 (collate_finish): Don't call collseq_table_finalize.
3812 (collate_output): Use new locale_file interface.
3813 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3814 in file.
3815 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3816 (TABLE): Move defines earlier in file.
3817 (ELEMENT): Likewise.
3818 (DEFAULT): Likewise.
3819 (wctrans_table_add): Move macro and inline function earlier in
3820 file.
3821 (struct wctype_table): Move type earlier in file.
3822 (add_locale_wctype_table): New static prototype.
3823 (struct locale_ctype_t): Use logical types instead of struct iovec
3824 pointers for members.
3825 (ctype_output): Use new locale_file interface.
3826 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3827 new locale_file interface.
3828 (allocate_arrays): Update for use of new locale_file interface.
3829 * locale/programs/ld-identification.c (identification_output): Use
3830 new locale_file interface.
3831 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3832 * locale/programs/ld-messages.c (messages_output): Likewise.
3833 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3834 * locale/programs/ld-name.c (name_output): Likewise.
3835 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3836 * locale/programs/ld-paper.c (paper_output): Likewise.
3837 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3838 * locale/programs/ld-time.c (time_output): Likewise.
3839
3840 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3841
3842 * benchtests/Makefile: Add memrchr benchmark.
3843 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3844 benchmark as memrchr.
3845 * benchtests/bench-memrchr-ifunc.c: New file.
3846 * benchtests/bench-memrchr.c: New file.
3847
3848 2013-09-06 Will Newton <will.newton@linaro.org>
3849
3850 * benchtests/Makefile (string-bench): Add memcpy.
3851
3852 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3853 Cong Wang <amwang@redhat.com>
3854
3855 * sysdeps/unix/sysv/linux/bits/in.h
3856 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3857 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3858 before __USE_KERNEL_IPV6_DEFS uses.
3859 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3860 IPPROTO_BEETPH.
3861 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3862 sockaddr_in6, or ipv6_mreq.
3863
3864 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865
3866 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3867 memory access for final bytes in some large inputs.
3868 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3869
3870 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871
3872 * string/test-memrchr.c: New file.
3873 * string/test-memrchr-ifunc.c: New file.
3874 * string/Makefile: Add new memrchr testcase.
3875
3876 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3877
3878 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3879 fanotify_init returns EPERM.
3880
3881 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3882
3883 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3884 errors.
3885 (top level): Treat second token from macro or constant entries for
3886 allowed headers as allowed.
3887 * include/complex.h: Condition internal declarations on
3888 [!_ISOMAC].
3889 * include/fenv.h: Condition include of <stdbool.h> and internal
3890 declarations on [!_ISOMAC].
3891
3892 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3893
3894 [BZ #15923]
3895 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3896
3897 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3898
3899 * configure.in (--enable-versioning): Remove configure option.
3900 (libc_cv_asm_symver_directive): Remove configure test.
3901 (libc_cv_ld_version_script_option): Likewise.
3902 (VERSIONING): Remove variable and AC_SUBST.
3903 (DO_VERSIONING): Remove AC_DEFINE.
3904 * configure: Regenerated.
3905 * config.h.in (DO_VERSIONING): Remove macro.
3906 * Makerules [$(versioning) = yes]: Change conditionals to
3907 [$(build-shared) = yes].
3908 * config.make.in (versioning): Remove variable.
3909 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3910 [$(build-shared) = yes].
3911 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3912 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3913 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3914 [$(build-shared) = yes].
3915 * extra-lib.mk [$(versioning) = yes]: Likewise.
3916 * hurd/Makefile [$(versioning) = yes]: Likewise.
3917 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3918 [SHARED].
3919 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3920 [SHARED].
3921 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3922 [SHARED && !NO_HIDDEN].
3923 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3924 [SHARED].
3925 [SHARED && DO_VERSIONING]: Likewise..
3926 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3927 [$(build-shared) = yes].
3928 * manual/install.texi (--disable-versioning): Remove
3929 documentation.
3930 * INSTALL: Regenerated.
3931 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3932 to [SHARED].
3933 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3934 [$(build-shared) = yes].
3935 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3936 * sysdeps/i386/i686/multiarch/strstr-c.c
3937 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3938 [SHARED && !NO_HIDDEN].
3939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3940 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3941 * sysdeps/powerpc/powerpc32/dl-machine.c
3942 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3943 * sysdeps/powerpc/powerpc32/sysdep.h
3944 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3945 to [SHARED && PIC && !NO_HIDDEN].
3946 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3947 conditional to [SHARED].
3948
3949 2013-09-04 Will Newton <will.newton@linaro.org>
3950
3951 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3952 * benchtests/bench-string.h: Include bench-timing.h instead
3953 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3954 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3955 call to HP_TIMING_DIFF_INIT.
3956 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3957 instead of hp-timing.h macros.
3958 * benchtests/bench-memchr.c: Likewise.
3959 * benchtests/bench-memcmp.c: Likewise.
3960 * benchtests/bench-memcpy.c: Likewise.
3961 * benchtests/bench-memmem.c: Likewise.
3962 * benchtests/bench-memmove.c: Likewise.
3963 * benchtests/bench-memset.c: Likewise.
3964 * benchtests/bench-rawmemchr.c: Likewise.
3965 * benchtests/bench-strcasecmp.c: Likewise.
3966 * benchtests/bench-strcasestr.c: Likewise.
3967 * benchtests/bench-strcat.c: Likewise.
3968 * benchtests/bench-strchr.c: Likewise.
3969 * benchtests/bench-strcmp.c: Likewise.
3970 * benchtests/bench-strcpy.c: Likewise.
3971 * benchtests/bench-strcpy_chk.c: Likewise.
3972 * benchtests/bench-strlen.c: Likewise.
3973 * benchtests/bench-strncasecmp.c: Likewise.
3974 * benchtests/bench-strncat.c: Likewise.
3975 * benchtests/bench-strncmp.c: Likewise.
3976 * benchtests/bench-strncpy.c: Likewise.
3977 * benchtests/bench-strnlen.c: Likewise.
3978 * benchtests/bench-strpbrk.c: Likewise.
3979 * benchtests/bench-strrchr.c: Likewise.
3980 * benchtests/bench-strspn.c: Likewise.
3981 * benchtests/bench-strstr.c: Likewise.
3982
3983 2013-09-04 Will Newton <will.newton@linaro.org>
3984
3985 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3986
3987 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3988
3989 [BZ #15427]
3990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3991 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3992 * math/libm-test.inc (lgamma_test_data): Add more tests.
3993 * sysdeps/i386/fpu/libm-test-ulps: Update.
3994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3995
3996 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3997
3998 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4000 Add ifunc.
4001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4002 Add strcmp-sse2-unaligned
4003 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4004
4005 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4006
4007 * Versions.def (libc): Add GLIBC_2.19.
4008
4009 2013-09-02 Mike Frysinger <vapier@gentoo.org>
4010
4011 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4012 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4013
4014 2013-09-02 Joseph Myers <joseph@codesourcery.com>
4015
4016 [BZ #14155]
4017 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4018 intermediate calculations in recurrence.
4019 (__ieee754_ynf): Likewise.
4020 * math/libm-test.inc (jn_test_data): Do not allow spurious
4021 underflow exception. Add more tests.
4022 (yn_test_data): Add more tests.
4023 * sysdeps/i386/fpu/libm-test-ulps: Update.
4024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4025
4026 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
4027
4028 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4029
4030 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4031
4032 * csu/init-first.c: Fix then/than typos.
4033 * locale/programs/ld-collate.c: Likewise.
4034 * locale/programs/linereader.h: Likewise.
4035 * manual/charset.texi: Likewise.
4036 * manual/filesys.texi: Likewise.
4037 * manual/stdio.texi: Likewise.
4038 * manual/string.texi: Likewise.
4039 * stdlib/fmtmsg.c: Likewise.
4040 * sysdeps/i386/stpncpy.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4042 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4045
4046 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4047
4048 * elf/dl-open.c: Fix typos.
4049 * iconvdata/gbbig5.c: Likewise.
4050 * iconvdata/iso-2022-jp.c: Likewise.
4051 * iconv/gconv_int.h: Likewise.
4052 * iconv/loop.c: Likewise.
4053 * nis/rpcsvc/nis.h: Likewise.
4054 * resolv/ns_name.c: Likewise.
4055 * stdio-common/vfscanf.c: Likewise.
4056 * streams/stropts.h: Likewise.
4057 * sunrpc/rpc_thread.c: Likewise.
4058 * sysdeps/i386/strpbrk.S: Likewise.
4059 * sysdeps/ieee754/k_standard.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4062 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4063 * sysdeps/mach/hurd/profil.c: Likewise.
4064 * sysdeps/s390/dl-procinfo.h: Likewise.
4065 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4066 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4068 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4070
4071 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
4072
4073 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4075
4076 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4077
4078 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4079 aix specific files.
4080 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4081 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4083 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4084 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4085 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4087 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4088
4089 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4090 Roland McGrath <roland@hack.frob.com>
4091
4092 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4093 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4094
4095 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4096
4097 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4098 __executable_start symbol instead of _start.
4099
4100 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4101
4102 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4103 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4104 Move macros to...
4105 * sysdeps/gnu/ldsodefs.h: ... this new file.
4106
4107 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4108 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4109 instead of ELFOSABI_LINUX.
4110
4111 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4112 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4113 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4114 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4115 Likewise.
4116 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4117 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4119 Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4121 (ibm_extended_long_double): Add ieee_nan member.
4122 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4123 (do_test): New function.
4124
4125 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4126 TEST_TRUNC.
4127 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4128 functions, renamed from truncdfsf_test, trunctfsf_test,
4129 trunctfdf_test.
4130 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4131 functions.
4132 (do_test): Run all these.
4133
4134 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
4135
4136 * argp/argp-help.c: Fix typos.
4137 * argp/argp-parse.c: Likewise.
4138 * debug/backtracesyms.c: Likewise.
4139 * elf/elf.h: Likewise.
4140 * malloc/malloc.c: Likewise.
4141 * nis/nis_print.c: Likewise.
4142 * resolv/res_comp.c: Likewise.
4143 * stdlib/stdlib.h: Likewise.
4144 * sunrpc/clnt_tcp.c: Likewise.
4145 * sunrpc/clnt_udp.c: Likewise.
4146 * sunrpc/clnt_unix.c: Likewise.
4147 * sysdeps/unix/bsd/ptsname.c: Likewise.
4148 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4151 Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4153 Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4155 Likewise.
4156 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4157
4158 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4159
4160 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4162
4163 2013-08-27 Mike Frysinger <vapier@gentoo.org>
4164
4165 [BZ #15897]
4166 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4167 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4168 ($(objpfx)bug-dl-leaf): New rule.
4169 ($(objpfx)bug-dl-leaf.so): Likewise.
4170 ($(objpfx)bug-dl-leaf.out): Likewise.
4171 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4172 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4173 * dlfcn/bug-dl-leaf.c: New test.
4174 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4175 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4176 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4177 (dlclose): Likewise.
4178 (dlmopen): Likewise.
4179
4180 2013-08-27 Roland McGrath <roland@hack.frob.com>
4181
4182 * include/netdb.h [!_ISOMAC]:
4183 Don't include <tls.h>.
4184 (h_errno, __libc_h_errno): Move declaration and macros out of
4185 [_LIBC_REENTRANT].
4186
4187 * include/resolv.h [_RESOLV_H_]:
4188 Don't include <tls.h>.
4189 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4190 * resolv/res_libc.c: Don't include <tls.h>.
4191 (_res): Use __attribute__ ((nocommon)) in place of
4192 __attribute__ ((section (".bss"))).
4193
4194 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4195 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4196
4197 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4198
4199 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4200 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4201
4202 * resolv/res_mkquery.c: Include <sys/time.h>.
4203
4204 * inet/ifreq.c: Moved to ...
4205 * sysdeps/unix/ifreq.c: ... here.
4206 * inet/ifreq.c: New file, true stub version.
4207
4208 * socket/sa_len.c: New file.
4209 * socket/Makefile (aux): Add it.
4210 * sysdeps/unix/sysv/linux/Makefile
4211 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4212 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4213 and #include <socket/sa_len.c>.
4214 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4215 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4216
4217 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4218 * bits/socket.h: ... here.
4219
4220 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4221 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4222 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4223
4224 2013-08-27 Andreas Schwab <schwab@suse.de>
4225
4226 [BZ #15736]
4227 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4228 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4229 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4230 * string/test-strcasecmp.c (test_main): Run tests in several
4231 locales.
4232 * string/test-strncasecmp.c (test_main): Likewise.
4233
4234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4235 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4236 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4238 (__strncasecmp_ssse3) [PIC]: Likewise.
4239
4240 2013-08-26 Roland McGrath <roland@hack.frob.com>
4241
4242 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4243
4244 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4245 instead of explicitly declaring xdecrypt.
4246 * nis/nss_nis/nis-publickey.c: Likewise.
4247
4248 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4249
4250 [BZ #15890]
4251 * nscd/aicache.c: Include res_hconf.h.
4252 (addhstaiX): Initialize res_hconf.
4253
4254 2013-08-26 Andreas Schwab <schwab@suse.de>
4255
4256 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4257 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4258
4259 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 * nscd/aicache.c (addhstaiX): Fix indentation.
4262
4263 2013-08-25 Mike Frysinger <vapier@gentoo.org>
4264
4265 * configure.ac: Quote $build_pt_chown test.
4266 * configure: Regenerated.
4267
4268 2013-08-23 Joseph Myers <joseph@codesourcery.com>
4269
4270 [BZ #15532]
4271 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4272 * math/s_cexpf.c (__cexpf): Likewise.
4273 * math/s_cexpl.c (__cexpl): Likewise.
4274 * math/libm-test.inc (cexp_test_data): Correct expected return
4275 value for NaN + i0. Add another test.
4276
4277 2013-08-22 David S. Miller <davem@davemloft.net>
4278
4279 * po/ca.po: Update Catalan translation from translation project.
4280 * po/uk.po: Add Ukrainian translations from translation project.
4281
4282 2013-08-21 Joseph Myers <joseph@codesourcery.com>
4283
4284 [BZ #15797]
4285 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4286 is infinite, not alongside NaN test.
4287 * math/s_fdimf.c (__fdimf): Likewise.
4288 * math/s_fdiml.c (__fdiml): Likewise.
4289 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4290 errno is unchanged.
4291
4292 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
4293
4294 * argp/argp-help.c: Fix typos.
4295 * crypt/speeds.c: Likewise.
4296 * csu/check_fds.c: Likewise.
4297 * elf/dl-load.c: Likewise.
4298 * elf/dl-open.c: Likewise.
4299 * elf/reldep3.c: Likewise.
4300 * elf/reldep.c: Likewise.
4301 * elf/sprof.c: Likewise.
4302 * iconv/iconv_charmap.c: Likewise.
4303 * iconv/skeleton.c: Likewise.
4304 * iconv/strtab.c: Likewise.
4305 * io/lockf64.c: Likewise.
4306 * libio/libioP.h: Likewise.
4307 * resolv/gai_notify.c: Likewise.
4308 * resolv/ns_name.c: Likewise.
4309 * resolv/ns_samedomain.c: Likewise.
4310 * resolv/res_send.c: Likewise.
4311 * stdlib/random.c: Likewise.
4312 * sunrpc/rpc/xdr.h: Likewise.
4313 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4314 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4315 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4316 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4317 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4321 * sysdeps/mach/hurd/check_fds.c: Likewise.
4322 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4323 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4324 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4325 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4326 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4328 * sysdeps/pthread/aio_notify.c: Likewise.
4329 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4330 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4331 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4333 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4334
4335 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4336
4337 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4338 version if bit_Slow_SSE4_2 is set.
4339 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4341
4342 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4343
4344 [BZ #15867]
4345 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4346 trampoline stack frame information.
4347 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4348 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4349 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4350 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4351 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4352 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4353 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4354 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4355 sa_flags value.
4356 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4357 interrupting a syscall and set with option SA_SIGINFO.
4358
4359 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4360
4361 [BZ #15531]
4362 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4363 argument is infinite.
4364 * math/s_cprojf.c (__cprojf): Likewise.
4365 * math/s_cprojl.c (__cprojl): Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4367 * math/libm-test.inc (cproj_test_data): Add more tests.
4368
4369 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4370
4371 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4372 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4373 size. Use __ffs to determine corresponding shift.
4374
4375 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4376 Roland McGrath <roland@hack.frob.com>
4377
4378 * Makefile (INSTALL): Remove trailing blank lines from output of
4379 makeinfo.
4380
4381 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4382
4383 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4384 Align 32 bit compat elf_greg to 8 bytes.
4385
4386 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4387
4388 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4389
4390 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4391
4392 * string/strcoll_l.c (coll_seq): New structure.
4393 (get_next_seq_cached): New function.
4394 (get_next_seq): New function.
4395 (do_compare): New function.
4396 (STRCOLL): Use GNU style definition. Simplify implementation
4397 by using get_next_seq, get_next_seq_cached and do_compare.
4398
4399 2013-08-16 Florian Weimer <fweimer@redhat.com>
4400
4401 [BZ #14699]
4402 CVE-2013-4237
4403 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4404 member.
4405 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4406 member.
4407 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4408 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4409 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4410 conditional.
4411 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4412 GETDENTS_64BIT_ALIGNED.
4413 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4414 * manual/filesys.texi (Reading/Closing Directory): Document
4415 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4416 strongly.
4417 * manual/conf.texi (Limits for Files): Add portability note to
4418 NAME_MAX, PATH_MAX.
4419 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4420
4421 2013-08-13 Andreas Schwab <schwab@suse.de>
4422
4423 [BZ #15749]
4424 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4425 of fabs.
4426 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4427 LDBL_MAX_EXP >= 16384]: Add tests for it.
4428
4429 2013-08-12 David S. Miller <davem@davemloft.net>
4430
4431 * version.h (RELEASE): Set to "development".
4432 (VERSION): Set to "2.18.90".
4433 * NEWS: Add 2.19 section.
4434
4435 2013-08-03 David S. Miller <davem@davemloft.net>
4436
4437 * po/ko.po: Update Korean translation from translation project.
4438
4439 2013-08-01 David S. Miller <davem@davemloft.net>
4440
4441 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4442 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4443 Bilka.
4444
4445 2013-07-30 David S. Miller <davem@davemloft.net>
4446
4447 * po/fr.po: Update French translation from translation project.
4448
4449 2013-07-28 David S. Miller <davem@davemloft.net>
4450
4451 * po/cs.po: Update Czech translation from translation project.
4452
4453 * po/sv.po: Update Swedish translation from translation project.
4454
4455 2013-07-27 David S. Miller <davem@davemloft.net>
4456
4457 * po/eo.po: Update Esperanto translation from translation project.
4458
4459 * po/vi.po: Update Vietnamese translation from translation project.
4460
4461 * po/de.po: Update German translation from translation project.
4462
4463 2013-07-26 David S. Miller <davem@davemloft.net>
4464
4465 * po/bg.po: Update Bulgarian translation from translation project.
4466
4467 * po/nl.po: Update Dutch translation from translation project.
4468 * po/pl.po: Update Polish translation from translation project.
4469 * po/ru.po: Update Russian translation from translation project.
4470
4471 2013-07-24 David S. Miller <davem@davemloft.net>
4472
4473 * po/libc.pot: Update.
4474
4475 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476
4477 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4478 variable page size.
4479 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4481 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4482
4483 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4484
4485 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4486
4487 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4488 Andreas Schwab <schwab@suse.de>
4489 Roland McGrath <roland@hack.frob.com>
4490 Joseph Myers <joseph@codesourcery.com>
4491 Carlos O'Donell <carlos@redhat.com>
4492
4493 [BZ #15755]
4494 * config.h.in: Define HAVE_PT_CHOWN.
4495 * config.make.in (build-pt-chown): New variable.
4496 * configure.in (--enable-pt_chown): New configure option.
4497 * configure: Regenerate.
4498 * login/Makefile: Include Makeconfig. Build pt_chown only if
4499 build-pt-chown is enabled.
4500 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4501 pt_chown to fix pty ownership.
4502 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4503 CLOSE_ALL_FDS.
4504 * manual/install.texi (Configuring and compiling): Mention
4505 --enable-pt_chown. Add @findex for grantpt.
4506 * INSTALL: Regenerate.
4507
4508 2013-07-20 David S. Miller <davem@davemloft.net>
4509
4510 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4511 difference between 32-bit and 64-bit.
4512
4513 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4514
4515 [BZ #15711]
4516 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4517 Avoid system header dependency with -ffreestanding.
4518 ($(objpfx)bits/syscall%d): Likewise.
4519
4520 2013-07-13 David S. Miller <davem@davemloft.net>
4521
4522 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4523 underflows from atanl/atan2l due to bug 15319.
4524 (casinh_test_data): Likewise.
4525
4526 2013-07-07 David S. Miller <davem@davemloft.net>
4527
4528 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4529
4530 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4531
4532 * sysdeps/i386/fpu/libm-test-ulps: Update.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534
4535 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4536
4537 * configure.in (--enable-lock-elision): Fix message text.
4538 * INSTALL: Regenerate.
4539 * configure: Regenerate.
4540
4541 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4542
4543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4544
4545 2013-07-03 Andreas Jaeger <aj@suse.de>
4546
4547 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4548 define.
4549 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4550 (ptrace_peeksiginfo_args): Add.
4551 (__ptrace_peeksiginfo_flags): Add.
4552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4555
4556 2013-07-03 Allan McRae <allan@archlinux.org>
4557
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559
4560 2013-07-02 David S. Miller <davem@davemloft.net>
4561
4562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4563
4564 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4565
4566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4567
4568 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4569
4570 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
4573 2013-07-02 Andi Kleen <ak@linux.intel.com>
4574
4575 * config.h.in (ENABLE_LOCK_ELISION): Add.
4576 * configure.in (--enable-lock-elision): Add option.
4577 * manual/install.texi: Document --enable lock elision.
4578 * configure: Regenerate
4579 * INSTALL: Regenerate.
4580
4581 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4582
4583 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4584 SSE4.2 strcasecmp for libc.a.
4585 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4586
4587 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4588
4589 [BZ #13304]
4590 * soft-fp/op-common.h (_FP_FMA): New macro.
4591 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4592 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4593 (_FP_MUL_MEAT_1_imm): ... here.
4594 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4595 (_FP_MUL_MEAT_1_wide): ... here.
4596 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4597 (_FP_MUL_MEAT_1_hard): ... here.
4598 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4599 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4600 (_FP_MUL_MEAT_2_wide): ... here.
4601 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4602 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4603 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4604 (_FP_MUL_MEAT_2_gmp): ... here.
4605 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4606 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4607 (_FP_MUL_MEAT_4_wide): ... here.
4608 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4609 (_FP_MUL_MEAT_4_gmp): ... here.
4610 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4611 (_FP_WFRACBITS_DW_S): Likewise.
4612 (_FP_WFRACXBITS_DW_S): Likewise.
4613 (_FP_HIGHBIT_DW_S): Likewise.
4614 (FP_FMA_S): Likewise.
4615 (_FP_FRAC_HIGH_DW_S): Likewise.
4616 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4617 (_FP_WFRACBITS_DW_D): Likewise.
4618 (_FP_WFRACXBITS_DW_D): Likewise.
4619 (_FP_HIGHBIT_DW_D): Likewise.
4620 (FP_FMA_D): Likewise.
4621 (_FP_FRAC_HIGH_DW_D): Likewise.
4622 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4623 (_FP_WFRACBITS_DW_E): Likewise.
4624 (_FP_WFRACXBITS_DW_E): Likewise.
4625 (_FP_HIGHBIT_DW_E): Likewise.
4626 (FP_FMA_E): Likewise.
4627 (_FP_FRAC_HIGH_DW_E): Likewise.
4628 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4629 (_FP_WFRACBITS_DW_Q): Likewise.
4630 (_FP_WFRACXBITS_DW_Q): Likewise.
4631 (_FP_HIGHBIT_DW_Q): Likewise.
4632 (FP_FMA_Q): Likewise.
4633 (_FP_FRAC_HIGH_DW_Q): Likewise.
4634 * soft-fp/fmasf4.c: New file.
4635 * soft-fp/fmadf4.c: Likewise.
4636 * soft-fp/fmatf4.c: Likewise.
4637
4638 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4639
4640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4641 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4642 Silvermont.
4643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4644 macro.
4645 (index_Slow_SSE4_2): Likewise.
4646 (index_Prefer_PMINUB_for_stringop): Likewise.
4647 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4648 bit_Slow_SSE4_2 is set.
4649 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4650 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4651
4652 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4653
4654 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4655 rtld_global._dl_hwcap2.
4656 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4657 POWER8.
4658 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4659 POWER8 feature descriptions defined in _dl_hwcap2.
4660 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4661 string handling for POWER8 feature bits.
4662 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4663 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4664 _dl_powerpc_cap_flags.
4665 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4666 * sysdeps/powerpc/rtld-global-offsets.sym
4667 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4668 _dl_hwcap2 in the rtld_global_ro structure.
4669
4670 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4671
4672 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4673 hardware capabilities in support of AT_HWCAP2.
4674 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4675 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4676 GLRO(dl_hwcap2).
4677 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4678 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4679 explicitly the unknown a_type display mechanism is used.
4680 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4681 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4682 struct member.
4683 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4684 to macro prototype for AT_HWCAP2 support.
4685 * sysdeps/i386/dl-procinfo.h: Likewise.
4686 * sysdeps/s390/dl-procinfo.h: Likewise.
4687 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4688 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4689 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4690 return -1 for unknown a_type display fallback.
4691 * sysdeps/sparc/dl-procinfo.h: Likewise.
4692 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4693 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4694
4695 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4696
4697 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4698 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4699
4700 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4701
4702 [BZ #12492]
4703 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4704 mprotect making __stack_prot writable.
4705
4706 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4707 Joseph Myers <joseph@codesourcery.com>
4708
4709 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4710 as being properly aligned.
4711
4712 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4713
4714 * dlfcn/modstatic5.c: New file.
4715 * dlfcn/tststatic5.c: New file.
4716 * dlfcn/Makefile (tests): Add tststatic5.
4717 (tests-static): Likewise.
4718 (modules-names): Add modstatic5.
4719 (tststatic5-ENV): New variable.
4720 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4721
4722 [BZ #15022]
4723 * elf/dl-support.c (_dl_main_map): New variable.
4724 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4725 (_dl_nns, _dl_load_adds): Set to 1.
4726 (_dl_initial_searchlist): Refer to _dl_main_map.
4727 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4728 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4729 call to _dl_get_origin.
4730 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4731 around call_map.
4732 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4733 * dlfcn/modstatic3.c: New file.
4734 * dlfcn/tststatic3.c: New file.
4735 * dlfcn/tststatic4.c: New file.
4736 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4737 (tests-static): Likewise.
4738 (modules-names): Add modstatic3.
4739 (tststatic3-ENV, tststatic4-ENV): New variables.
4740 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4741 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4742
4743 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4744
4745 * configure.in (CC): Require GCC version 4.4 or later.
4746 * configure: Regenerated.
4747 * manual/install.texi (Tools for Compilation): Update GCC version
4748 requirement.
4749 * INSTALL: Regenerated.
4750
4751 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4752
4753 [BZ #15674]
4754 * string/test-memcmp.c (check2): New.
4755 (main): Call check2.
4756
4757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4758
4759 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4760
4761 [BZ #15022]
4762 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4763 over to...
4764 (dl_open_worker) [!SHARED]: ... here.
4765
4766 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4767
4768 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4769
4770 2013-06-25 Richard Henderson <rth@redhat.com>
4771
4772 * locale/programs/locarchive.c: Include <libc-internal.h>
4773
4774 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4775
4776 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4777 trailing whitespace removed.
4778
4779 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4780
4781 [BZ #10283]
4782 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4783 * locale/programs/locarchive.c: Include libc-mmap.h.
4784 (prepare_address_space): Take two new outputs (the mmap base and len).
4785 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4786 values.
4787 (create_archive): Declare new mmap base and len values for
4788 prepare_address_space, and store the result in ah.
4789 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4790 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4791 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4792 Declare new mmap base and len values for
4793 prepare_address_space, and store the result in new_ah.
4794 (open_archive): Declare new mmap base and len values for
4795 prepare_address_space, and store the result in ah.
4796 (close_archive): If ah->mmap_base is not NULL, use that and
4797 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4798 * sysdeps/generic/libc-mmap.h: New file.
4799
4800 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4801
4802 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4803 (ALIGN_UP): Likewise.
4804 (PTR_ALIGN_DOWN): Likewise.
4805 (PTR_ALIGN_UP): Likewise.
4806
4807 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4808
4809 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4810 entry mapped to PPC_PLATFORM_POWER8.
4811 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4812 POWER8.
4813 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4814 (_dl_string_platform): Add case for exporting platform position for
4815 POWER8.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4817 search path to sysdeps/powerpc/powerpc32/power8 directory.
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4819 search path to sysdeps/powerpc/powerpc64/power8 directory.
4820 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4821 power7 directories.
4822 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4823 power7 directories.
4824
4825 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 * INSTALL: Regenerate.
4828
4829 * nscd/connections.c (nscd_init): Fix comment.
4830
4831 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4832
4833 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4834
4835 [BZ #15667]
4836 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4837 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4838
4839 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4840
4841 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4842 DL_DST_REQ_STATIC.
4843 (DL_DST_REQ_STATIC): Remove macro.
4844
4845 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4846
4847 [BZ #7006]
4848 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4849 with a shift of 0 bits.
4850
4851 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4852
4853 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4854 $(tststatic-ENV).
4855
4856 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4857
4858 [BZ #15655]
4859 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4860
4861 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862
4863 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4864 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4865 accepts -fno-tree-loop-distribute-patterns.
4866 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4867 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4868 recursive call.
4869 * string/memset.c (memset): Likewise.
4870 * string/test-memmove.c (simple_memmove): Disable loop transformation
4871 to library calls.
4872 * string/test-memset.c (simple_memset): Likewise.
4873 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4874 * benchtests/bench-memset.c (simple_memset): Likewise.
4875 * configure: Regenerated.
4876
4877 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4878
4879 * math/test-misc.c (main): Ignore fesetround failure when failures
4880 of subsequent rounding tests would be ignored.
4881
4882 [BZ #15654]
4883 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4884 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4885 * math/fegetenv.c (__fegetenv): Return 0.
4886 * math/fegetexcept.c (fegetexcept): Return 0.
4887 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4888 FE_TONEAREST.
4889 * math/feholdexcpt.c (feholdexcept): Return 0.
4890 * math/fesetenv.c (__fesetenv): Return 0.
4891 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4892 argument FE_TONEAREST.
4893 * math/feupdateenv.c (__feupdateenv): Return 0.
4894 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4895
4896 2013-06-18 Roland McGrath <roland@hack.frob.com>
4897
4898 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4899 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4900 ($(objpfx)rtld-%.os rules): Use them.
4901
4902 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4905 fields.
4906
4907 2013-06-17 Roland McGrath <roland@hack.frob.com>
4908
4909 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4910 length of target pattern, then descending length of dependency pattern.
4911 * configure.in (AWK): Require gawk 3.1.2 or newer.
4912 * manual/install.texi (Tools for Compilation): Say that we do.
4913 * configure: Regenerated.
4914
4915 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4916 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4917 * scripts/sysd-rules.awk: ... this new script.
4918 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4919 than a glob-style pattern.
4920
4921 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4922
4923 * math/test-misc.c (main): Do not treat incorrectly rounded
4924 conversions as failure unless ROUNDING_TESTS passes.
4925
4926 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4927
4928 [BZ #15631]
4929 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4930 restore exception state around main square root computation, then
4931 check for inexactness explicitly.
4932
4933 * math/libm-test.inc (fma_test_data): Add another test.
4934
4935 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4936
4937 * manual/threads.texi (Non-POSIX Extensions): New document
4938 node. Document pthread_getattr_default_np and
4939 pthread_setattr_default_np.
4940
4941 * Versions.def (libpthread): Add GLIBC_2.18.
4942 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4944 Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4946 Likewise.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4948 Likewise.
4949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4950 Likewise.
4951 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4952 Likewise.
4953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4954 Likewise.
4955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4956 Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4958 Likewise.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4960 Likewise.
4961
4962 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4963
4964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4965 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4966
4967 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4968 H.J. Lu <hjl.tools@gmail.com>
4969
4970 [BZ #15627]
4971 * sysdeps/x86_64/rtld-memset.c: Remove file.
4972 * sysdeps/x86_64/rtld-memset.S: New file.
4973
4974 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4975
4976 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4977 (test_in_one_mode): Take arguments for whether the rounding mode
4978 is supported for each floating-point type.
4979 (do_test): Pass new arguments to test_in_one_mode using
4980 ROUNDING_TESTS.
4981
4982 2013-06-13 Roland McGrath <roland@hack.frob.com>
4983
4984 * posix/tst-waitid.c (do_test): Distinguish different instances of
4985 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4986 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4987 before entering the kernel for waitpid.
4988
4989 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 * NEWS: Fix note on clock function precision. Text by Roland
4992 McGrath.
4993
4994 2013-06-13 Roland McGrath <roland@hack.frob.com>
4995
4996 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4997 it into place only when and if the sanity check passes.
4998
4999 2013-06-13 Joseph Myers <joseph@codesourcery.com>
5000
5001 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5002 output for whether conversion result is exact. Take argument
5003 indicating whether type is IBM long double.
5004 (round_for_all): Change need_exact field to ibm_ld.
5005 * stdlib/tst-strtod-round.c (struct exactness): New type.
5006 (struct test): Change bool ld_ok field to struct exactness exact.
5007 (TEST): Update all definitions for change to field.
5008 (tests): Regenerate array contents.
5009 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5010 field value. Check for IBM long double here.
5011 (do_test): Update calls to test_in_one_mode.
5012
5013 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 [BZ #12515]
5016 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5017 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5018
5019 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 [BZ #15605]
5022 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5023 generated by the compiler on loop optimizations.
5024 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5025 general definitions.
5026
5027 2013-06-12 Joseph Myers <joseph@codesourcery.com>
5028
5029 * math/bug-nextafter.c: Include <math-tests.h>.
5030 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5031 the relevant type.
5032 * math/bug-nexttoward.c: Include <math-tests.h>.
5033 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5034 the relevant type.
5035 * math/test-misc.c: Include <math-tests.h>.
5036 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5037 the relevant type.
5038
5039 2013-06-12 Andreas Jaeger <aj@suse.de>
5040
5041 * po/ia.po: Update Interlingua translation from translation
5042 project.
5043
5044 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5045
5046 * include/fenv.h: Include stdbool.h.
5047 (struct rm_ctx): New structure.
5048 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5049 Define macro.
5050 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5051 (SET_RESTORE_ROUNDF): Likewise.
5052 (SET_RESTORE_ROUNDL): Likewise.
5053 (SET_RESTORE_ROUND_NOEX): Likewise.
5054 (SET_RESTORE_ROUND_NOEXF): Likewise.
5055 (SET_RESTORE_ROUND_NOEXL): Likewise.
5056 (SET_RESTORE_ROUND_53BIT): Likewise.
5057 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5058 (libc_feresetround_noexf_ctx): Likewise.
5059 (libc_feresetround_noexl_ctx): Likewise.
5060 (libc_feholdsetround_53bit_ctx): Likewise.
5061 (libc_feresetround_53bit_ctx): Likewise.
5062 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5063 (libc_feholdexcept_setround_sse_ctx): New function.
5064 (libc_fesetenv_sse_ctx): Likewise.
5065 (libc_feupdateenv_sse_ctx): Likewise.
5066 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5067 (libc_feholdexcept_setround_387_ctx): Likewise.
5068 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5069 (libc_feholdsetround_387_prec_ctx): Likewise.
5070 (libc_feholdsetround_387_ctx): Likewise.
5071 (libc_feholdsetround_387_53bit_ctx): Likewise.
5072 (libc_feholdsetround_sse_ctx): Likewise.
5073 (libc_feresetround_sse_ctx): Likewise.
5074 (libc_feresetround_387_ctx): Likewise.
5075 (libc_feupdateenv_387_ctx): Likewise.
5076 (libc_feholdexcept_setroundf_ctx): Define macro.
5077 (libc_fesetenvf_ctx): Likewise.
5078 (libc_feupdateenvf_ctx): Likewise.
5079 (libc_feholdsetroundf_ctx): Likewise.
5080 (libc_feresetroundf_ctx): Likewise.
5081 (libc_feholdexcept_setround_ctx): Likewise.
5082 (libc_fesetenv_ctx): Likewise.
5083 (libc_feupdateenv_ctx): Likewise.
5084 (libc_feholdsetround_ctx): Likewise.
5085 (libc_feresetround_ctx): Likewise.
5086 (libc_feholdexcept_setroundl_ctx): Likewise.
5087 (libc_feupdateenvl_ctx): Likewise.
5088 (libc_feholdsetroundl_ctx): Likewise.
5089 (libc_feresetroundl_ctx): Likewise.
5090 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5091 (libc_feresetround_53bit_ctx): Likewise.
5092
5093 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 * locale/iso-639.def: Convert to UTF-8.
5096
5097 2013-06-11 Joseph Myers <joseph@codesourcery.com>
5098
5099 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5100 (EXCEPTION_TESTS_double): Likewise.
5101 (EXCEPTION_TESTS_long_double): Likewise.
5102 (EXCEPTION_TESTS): Likewise.
5103 * math/libm-test.inc (test_exceptions): Only test exceptions if
5104 EXCEPTION_TESTS (FLOAT).
5105
5106 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5107
5108 * benchtests/Makefile (string-bench): Add strcpy_chk and
5109 stpcpy_chk.
5110 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5111 * benchtests/bench-stpcpy_chk.c: New file.
5112 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5113 * benchtests/bench-strcpy_chk.c: New file.
5114 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5115 code.
5116 (do_test): Likewise.
5117
5118 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5119
5120 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5121 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5122 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5123 with tabs where appropriate.
5124 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5125 dl-procinfo.h.
5126 [PPC_PLATFORM_PPC440]: Likewise.
5127 [PPC_PLATFORM_PPC464]: Likewise.
5128 [PPC_PLATFORM_PPC476]: Likewise.
5129 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5130 ppc464, and ppc476 platform strings merging from ports/
5131 dl-procinfo.h.
5132
5133 2013-06-11 Andreas Schwab <schwab@suse.de>
5134
5135 [BZ #14991]
5136 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5137 (from_ucs4_idx): Regenerate.
5138 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5139 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5140 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5141 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5142 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5143 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5144 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5145 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5146 from FROM_LOOP and TO_LOOP specific macros.
5147 (BODY): Handle combining characters.
5148 * iconvdata/BIG5HKSCS.irreversible: Update.
5149 * iconvdata/BIG5HKSCS.precomposed: New file.
5150 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5151 characters.
5152 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5153
5154 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * include/sys/time.h: Fix indentation and add copyright header.
5157
5158 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5159 (do_test): Likewise.
5160 * string/test-memchr.c (do_one_test): Likewise.
5161 (do_test): Likewise.
5162 * string/test-memcmp.c (do_one_test): Likewise.
5163 (do_test): Likewise.
5164 * string/test-memcpy.c (do_one_test): Likewise.
5165 (do_test): Likewise.
5166 * string/test-memmem.c (do_one_test): Likewise.
5167 (do_test): Likewise.
5168 (do_random_tests): Likewise.
5169 * string/test-memmove.c (do_one_test): Likewise.
5170 (do_test): Likewise.
5171 * string/test-memset.c (do_one_test): Likewise.
5172 (do_test): Likewise.
5173 * string/test-rawmemchr.c (do_one_test): Likewise.
5174 (do_test): Likewise.
5175 * string/test-strcasecmp.c (do_one_test): Likewise.
5176 (do_test): Likewise.
5177 * string/test-strcasestr.c (do_one_test): Likewise.
5178 (do_test): Likewise.
5179 * string/test-strcat.c (do_one_test): Likewise.
5180 (do_test): Likewise.
5181 * string/test-strchr.c (do_one_test): Likewise.
5182 (do_test): Likewise.
5183 * string/test-strcmp.c (do_one_test): Likewise.
5184 (do_test): Likewise.
5185 * string/test-strcpy.c (do_one_test): Likewise.
5186 (do_test): Likewise.
5187 * string/test-string.h: Likewise.
5188 (test_init): Likewise.
5189 * string/test-strlen.c (do_one_test): Likewise.
5190 (do_test): Likewise.
5191 * string/test-strncasecmp.c (do_one_test): Likewise.
5192 (do_test): Likewise.
5193 * string/test-strncat.c (do_one_test): Likewise.
5194 (do_test): Likewise.
5195 * string/test-strncmp.c (do_one_test): Likewise.
5196 (do_test_limit): Likewise.
5197 (do_test): Likewise.
5198 * string/test-strncpy.c (do_one_test): Likewise.
5199 (do_test): Likewise.
5200 * string/test-strnlen.c (do_one_test): Likewise.
5201 (do_test): Likewise.
5202 * string/test-strpbrk.c (do_one_test): Likewise.
5203 (do_test): Likewise.
5204 * string/test-strrchr.c (do_one_test): Likewise.
5205 (do_test): Likewise.
5206 * string/test-strspn.c (do_one_test): Likewise.
5207 (do_test): Likewise.
5208 * string/test-strstr.c (do_one_test): Likewise.
5209 (do_test): Likewise.
5210
5211 * benchtests/Makefile (string-bench): Add string benchmarks.
5212 * benchtests/bench-bcopy-ifunc.c: New file.
5213 * benchtests/bench-bcopy.c: New file.
5214 * benchtests/bench-bzero-ifunc.c: New file.
5215 * benchtests/bench-bzero.c: New file.
5216 * benchtests/bench-memccpy-ifunc.c: New file.
5217 * benchtests/bench-memccpy.c: New file.
5218 * benchtests/bench-memchr-ifunc.c: New file.
5219 * benchtests/bench-memchr.c: New file.
5220 * benchtests/bench-memcmp-ifunc.c: New file.
5221 * benchtests/bench-memcmp.c: New file.
5222 * benchtests/bench-memmem-ifunc.c: New file.
5223 * benchtests/bench-memmem.c: New file.
5224 * benchtests/bench-memmove-ifunc.c: New file.
5225 * benchtests/bench-memmove.c: New file.
5226 * benchtests/bench-mempcpy-ifunc.c: New file.
5227 * benchtests/bench-mempcpy.c: New file.
5228 * benchtests/bench-memset-ifunc.c: New file.
5229 * benchtests/bench-memset.c: New file.
5230 * benchtests/bench-rawmemchr-ifunc.c: New file.
5231 * benchtests/bench-rawmemchr.c: New file.
5232 * benchtests/bench-stpcpy-ifunc.c: New file.
5233 * benchtests/bench-stpcpy.c: New file.
5234 * benchtests/bench-stpncpy-ifunc.c: New file.
5235 * benchtests/bench-stpncpy.c: New file.
5236 * benchtests/bench-strcasecmp-ifunc.c: New file.
5237 * benchtests/bench-strcasecmp.c: New file.
5238 * benchtests/bench-strcasestr-ifunc.c: New file.
5239 * benchtests/bench-strcasestr.c: New file.
5240 * benchtests/bench-strcat-ifunc.c: New file.
5241 * benchtests/bench-strcat.c: New file.
5242 * benchtests/bench-strchr-ifunc.c: New file.
5243 * benchtests/bench-strchr.c: New file.
5244 * benchtests/bench-strchrnul-ifunc.c: New file.
5245 * benchtests/bench-strchrnul.c: New file.
5246 * benchtests/bench-strcmp-ifunc.c: New file.
5247 * benchtests/bench-strcmp.c: New file.
5248 * benchtests/bench-strcpy-ifunc.c: New file.
5249 * benchtests/bench-strcpy.c: New file.
5250 * benchtests/bench-strcspn-ifunc.c: New file.
5251 * benchtests/bench-strcspn.c: New file.
5252 * benchtests/bench-strlen-ifunc.c: New file.
5253 * benchtests/bench-strlen.c: New file.
5254 * benchtests/bench-strncasecmp-ifunc.c: New file.
5255 * benchtests/bench-strncasecmp.c: New file.
5256 * benchtests/bench-strncat-ifunc.c: New file.
5257 * benchtests/bench-strncat.c: New file.
5258 * benchtests/bench-strncmp-ifunc.c: New file.
5259 * benchtests/bench-strncmp.c: New file.
5260 * benchtests/bench-strncpy-ifunc.c: New file.
5261 * benchtests/bench-strncpy.c: New file.
5262 * benchtests/bench-strnlen-ifunc.c: New file.
5263 * benchtests/bench-strnlen.c: New file.
5264 * benchtests/bench-strpbrk-ifunc.c: New file.
5265 * benchtests/bench-strpbrk.c: New file.
5266 * benchtests/bench-strrchr-ifunc.c: New file.
5267 * benchtests/bench-strrchr.c: New file.
5268 * benchtests/bench-strspn-ifunc.c: New file.
5269 * benchtests/bench-strspn.c: New file.
5270 * benchtests/bench-strstr-ifunc.c: New file.
5271 * benchtests/bench-strstr.c: New file.
5272
5273 * benchtests/Makefile: Disable parallel execution of targets.
5274 (string-bench): Add memcpy.
5275 (benchset): New variable to store a list of benchmark sets.
5276 (bench-func): Renamed from bench.
5277 (bench-set): New target.
5278 (bench): Depend on bench-func and bench-set.
5279 * benchtests/README: Add section on benchmark sets.
5280 * benchtests/bench-memcpy-ifunc.c: New file.
5281 * benchtests/bench-memcpy.c: New file.
5282 * benchtests/bench-string.h: New file.
5283
5284 2013-06-11 Andreas Schwab <schwab@suse.de>
5285
5286 [BZ #15577]
5287 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5288 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5289 values in the triple.
5290 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5291 terminator in the group key.
5292
5293 2013-06-11 Andreas Jaeger <aj@suse.de>
5294
5295 * po/zh_TW.po: Update Chinese (traditional) translation from
5296 translation project.
5297
5298 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5299
5300 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5301 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5302 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5303 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5304 (clock_getcpuclockid): Likewise.
5305 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5306 Add weak_alias and libc_hidden_def.
5307 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5308 * rt/clock_gettime.c (clock_gettime): Rename to
5309 __clock_gettime. Add weak_alias and libc_hidden_def.
5310 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5311 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5312 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5313 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5314 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5315 Likewise.
5316 * rt/clock_settime.c (clock_settime): Rename to
5317 __clock_settime. Add weak_alias and libc_hidden_def.
5318 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5319
5320 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5321
5322 * mach/err_boot.sub: Remove trailing whitespace.
5323 * mach/err_ipc.sub: Likewise.
5324 * mach/err_mach.sub: Likewise.
5325
5326 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5327 (ROUNDING_TESTS_double): Likewise.
5328 (ROUNDING_TESTS_long_double): Likewise.
5329 (ROUNDING_TESTS): Likewise.
5330 * math/libm-test.inc: Include <math-tests.h>.
5331 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5332 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5333 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5334 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5335
5336 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5337
5338 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5339 of assigning.
5340
5341 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5342
5343 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5344 otherwise empty TRANS lines.
5345 * sysdeps/gnu/errlist.c: Regenerated.
5346
5347 * catgets/gencat.c (error_print): Use (void) in function
5348 definition.
5349 * crypt/crypt_util.c (__init_des): Likewise.
5350 * crypt/speeds.c (Stop): Likewise.
5351 (main): Likewise.
5352 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5353 * inet/ruserpass.c (token): Likewise.
5354 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5355 * intl/localealias.c (extend_alias_table): Likewise.
5356 * intl/plural-exp.c (init_germanic_plural): Likewise.
5357 * libio/fcloseall.c (__fcloseall): Likewise.
5358 * libio/genops.c (_IO_flush_all): Likewise.
5359 (_IO_flush_all_linebuffered): Likewise.
5360 (_IO_cleanup): Likewise.
5361 (_IO_iter_begin): Likewise.
5362 (_IO_iter_end): Likewise.
5363 (_IO_list_lock): Likewise.
5364 (_IO_list_unlock): Likewise.
5365 (_IO_list_resetlock): Likewise.
5366 * libio/getchar.c (getchar): Likewise.
5367 * libio/getchar_u.c (getchar_unlocked): Likewise.
5368 * libio/getwchar.c (getwchar): Likewise.
5369 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5370 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5371 * login/getpt.c (__getpt): Likewise.
5372 * login/tst-utmp.c (main): Likewise.
5373 * malloc/hooks.c (__malloc_check_init): Likewise.
5374 * malloc/malloc.c (__malloc_stats): Likewise.
5375 * malloc/mtrace.c (tr_break): Likewise.
5376 (mtrace): Likewise.
5377 (muntrace): Likewise.
5378 * misc/fstab.c (endfsent): Likewise.
5379 * misc/getclktck.c (__getclktck): Likewise.
5380 * misc/getdtsz.c (__getdtablesize): Likewise.
5381 * misc/gethostid.c (gethostid): Likewise.
5382 * misc/getpagesize.c (__getpagesize): Likewise.
5383 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5384 (__get_nprocs): Likewise.
5385 (__get_phys_pages): Likewise.
5386 (__get_avphys_pages): Likewise.
5387 * misc/getttyent.c (getttyent): Likewise.
5388 (setttyent): Likewise.
5389 (endttyent): Likewise.
5390 * misc/getusershell.c (getusershell): Likewise.
5391 (endusershell): Likewise.
5392 (setusershell): Likewise.
5393 (initshells): Likewise.
5394 * misc/hsearch.c (__hdestroy): Likewise.
5395 * misc/sync.c (sync): Likewise.
5396 * misc/syslog.c (closelog_internal): Likewise.
5397 (closelog): Likewise.
5398 * misc/ttyslot.c (ttyslot): Likewise.
5399 * misc/vhangup.c (vhangup): Likewise.
5400 * posix/fork.c (__fork): Likewise.
5401 * posix/getegid.c (__getegid): Likewise.
5402 * posix/geteuid.c (__geteuid): Likewise.
5403 * posix/getgid.c (__getgid): Likewise.
5404 * posix/getpid.c (__getpid): Likewise.
5405 * posix/getppid.c (__getppid): Likewise.
5406 * posix/getuid.c (__getuid): Likewise.
5407 * posix/pause.c (pause): Likewise.
5408 * posix/setpgrp.c (setpgrp): Likewise.
5409 * posix/setsid.c (__setsid): Likewise.
5410 * posix/test-vfork.c (noop): Likewise.
5411 * resolv/gethnamaddr.c (_endhtent): Likewise.
5412 (_gethtent): Likewise.
5413 (ht_endhostent): Likewise.
5414 (gethostent): Likewise.
5415 (dns_service): Likewise.
5416 * stdlib/drand48.c (drand48): Likewise.
5417 * stdlib/lrand48.c (lrand48): Likewise.
5418 * stdlib/mrand48.c (mrand48): Likewise.
5419 * stdlib/rand.c (rand): Likewise.
5420 * stdlib/random.c (__random): Likewise.
5421 * stdlib/setenv.c (clearenv): Likewise.
5422 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5423 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5424 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5425 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5426 (__get_nprocs): Likewise.
5427 (__get_phys_pages): Likewise.
5428 (__get_avphys_pages): Likewise.
5429 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5430 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5431 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5432 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5433 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5434 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5435 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5436 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5437 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5438 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5439 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5440 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5441 * sysdeps/posix/clock.c (clock): Likewise.
5442 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5443 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5444 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5445 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5446 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5447 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5448 (__get_nprocs_conf): Likewise.
5449 (__get_phys_pages): Likewise.
5450 (__get_avphys_pages): Likewise.
5451 * time/clock.c (clock): Likewise.
5452 * time/tzset.c (__tzname_max): Likewise.
5453
5454 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5455
5456 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5457 (__bswap_32): Do not use "register".
5458 * crypt/crypt.c (_ufc_doit_r): Likewise.
5459 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5460 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5461 * gmon/gmon.c (__monstartup): Likewise.
5462 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5463 * hurd/hurdmalloc.c (more_memory): Likewise.
5464 (malloc): Likewise.
5465 (free): Likewise.
5466 (realloc): Likewise.
5467 (malloc_fork_prepare): Likewise.
5468 (malloc_fork_parent): Likewise.
5469 (malloc_fork_child): Likewise.
5470 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5471 (_svcauth_des): Likewise.
5472 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5473 * inet/inet_net.c (inet_network): Likewise.
5474 * inet/inet_netof.c (inet_netof): Likewise.
5475 * inet/rcmd.c (__validuser2_sa): Likewise.
5476 * io/fts.c (fts_open): Likewise.
5477 (fts_load): Likewise.
5478 (fts_close): Likewise.
5479 (fts_read): Likewise.
5480 (fts_children): Likewise.
5481 (fts_build): Likewise.
5482 (fts_stat): Likewise.
5483 (fts_sort): Likewise.
5484 (fts_alloc): Likewise.
5485 (fts_lfree): Likewise.
5486 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5487 (_IO_file_xsgetn): Likewise.
5488 (_IO_file_xsgetn_mmap): Likewise.
5489 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5490 (_IO_cookie_write): Likewise.
5491 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5492 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5493 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5494 * malloc/obstack.c (_obstack_begin): Likewise.
5495 (_obstack_begin_1): Likewise.
5496 (_obstack_newchunk): Likewise.
5497 (_obstack_allocated_p): Likewise.
5498 (obstack_free): Likewise.
5499 (_obstack_memory_used): Likewise.
5500 * misc/getttyent.c (getttynam): Likewise.
5501 (getttyent): Likewise.
5502 (skip): Likewise.
5503 (value): Likewise.
5504 * misc/getusershell.c (initshells): Likewise.
5505 * misc/syslog.c (__vsyslog_chk): Likewise.
5506 * misc/ttyslot.c (ttyslot): Likewise.
5507 * nis/nis_hash.c (__nis_hash): Likewise.
5508 * posix/fnmatch_loop.c (FCT): Likewise.
5509 * posix/getconf.c (print_all): Likewise.
5510 (main): Likewise.
5511 * posix/getopt.c (exchange): Likewise.
5512 * posix/glob.c (globfree): Likewise.
5513 (prefix_array): Likewise.
5514 (__glob_pattern_type): Likewise.
5515 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5516 (NS_GET32): Likewise.
5517 (NS_PUT16): Likewise.
5518 (NS_PUT32): Likewise.
5519 * resolv/gethnamaddr.c (getanswer): Likewise.
5520 (gethostbyname2): Likewise.
5521 (gethostbyaddr): Likewise.
5522 (_gethtent): Likewise.
5523 (_gethtbyname2): Likewise.
5524 (_gethtbyaddr): Likewise.
5525 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5526 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5527 * resolv/res_init.c (__res_vinit): Likewise.
5528 (net_mask): Likewise.
5529 * resolv/res_mkquery.c (outchar): Likewise.
5530 (PRINT): Likewise.
5531 * stdio-common/printf_fp.c (outchar): Likewise.
5532 (PRINT): Likewise.
5533 * stdio-common/printf_fphex.c (outchar): Likewise.
5534 (PRINT): Likewise.
5535 * stdio-common/printf_size.c (outchar): Likewise.
5536 (PRINT): Likewise.
5537 * stdio-common/test_rdwr.c (main): Likewise.
5538 * stdio-common/tfformat.c (matches): Likewise.
5539 * stdio-common/vfprintf.c (outchar): Likewise.
5540 (printf_unknown): Likewise.
5541 (buffered_vfprintf): Likewise.
5542 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5543 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5544 (ReadFile): Likewise.
5545 * stdlib/qsort.c (SWAP): Likewise.
5546 (_quicksort): Likewise.
5547 * stdlib/setenv.c (__add_to_environ): Likewise.
5548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5549 * stdlib/strtol_l.c (__strtol_l): Likewise.
5550 * stdlib/tst-strtod.c (main): Likewise.
5551 * stdlib/tst-strtol.c (main): Likewise.
5552 * stdlib/tst-strtoll.c (main): Likewise.
5553 * string/bits/string2.h (__strcmp_cc): Likewise.
5554 (__strcmp_cg): Likewise.
5555 (__strcspn_c1): Likewise.
5556 (__strcspn_c2): Likewise.
5557 (__strcspn_c3): Likewise.
5558 (__strspn_c1): Likewise.
5559 (__strspn_c2): Likewise.
5560 (__strspn_c3): Likewise.
5561 (__strsep_1c): Likewise.
5562 (__strsep_2c): Likewise.
5563 (__strsep_3c): Likewise.
5564 * string/memccpy.c (__memccpy): Likewise.
5565 * string/stpcpy.c (__stpcpy): Likewise.
5566 * string/strcmp.c (strcmp): Likewise.
5567 * string/strrchr.c (strrchr): Likewise.
5568 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5569 Likewise.
5570 * sysdeps/mach/hurd/getcwd.c
5571 (_hurd_canonicalize_directory_name_internal): Likewise.
5572 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5573 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5574 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5575 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5576 Likewise, in both definitions.
5577 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5578 definitions.
5579 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5580 64] (__bswap_64): Likewise.
5581 * time/test_time.c (main): Likewise.
5582 * time/tzfile.c (__tzfile_read): Likewise.
5583 (__tzfile_compute): Likewise.
5584 * time/tzset.c (__tzset_parse_tz): Likewise.
5585 (tzset_internal): Likewise.
5586 (compute_change): Likewise.
5587 * wcsmbs/wcscat.c (__wcscat): Likewise.
5588 * wcsmbs/wcschr.c (wcschr): Likewise.
5589 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5590 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5591 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5592 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5593 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5594 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5595 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5596 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5597 * wcsmbs/wmemset.c (wmemset): Likewise.
5598
5599 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5600
5601 * scripts/config.guess: Update to version 2013-05-16.
5602 * scripts/config.sub: Update to version 2013-04-24.
5603 * scripts/install-sh: Update to version 2011-11-20.07.
5604 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5605 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5606
5607 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5608
5609 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5610 * elf/sln.c: Likewise.
5611 * hurd/hurd/ioctl.h: Likewise.
5612 * hurd/hurdmalloc.c: Likewise.
5613 * hurd/xattr.c: Likewise.
5614 * include/shlib-compat.h: Likewise.
5615 * inet/ruserpass.c: Likewise.
5616 * libio/iofgets_u.c: Likewise.
5617 * libio/iofgetws_u.c: Likewise.
5618 * locale/programs/ld-identification.c: Likewise.
5619 * locale/programs/ld-time.c: Likewise.
5620 * mach/msg-destroy.c: Likewise.
5621 * nss/nss_files/files-netgrp.c: Likewise.
5622 * resolv/res_data.c: Likewise.
5623 * soft-fp/op-1.h: Likewise.
5624 * soft-fp/op-2.h: Likewise.
5625 * soft-fp/op-4.h: Likewise.
5626 * soft-fp/op-common.h: Likewise.
5627 * stdio-common/printf_fphex.c: Likewise.
5628 * stdlib/strtod_l.c: Likewise.
5629 * sunrpc/rpc/clnt.h: Likewise.
5630 * sysdeps/generic/framestate.c: Likewise.
5631 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5632 * sysdeps/i386/bsd-setjmp.S: Likewise.
5633 * sysdeps/i386/__longjmp.S: Likewise.
5634 * sysdeps/i386/setjmp.S: Likewise.
5635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5653 * sysdeps/ieee754/support.c: Likewise.
5654 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5655 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5656 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5657 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5658 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5659 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5660 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5661 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5662 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5663 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5664 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5665 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5666 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5667 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5669 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5670 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5672
5673 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
5674
5675 * posix/transbug.c: Remove executable mode.
5676
5677 2013-06-05 Joseph Myers <joseph@codesourcery.com>
5678
5679 * crypt/speeds.c: Remove trailing whitespace.
5680 * dlfcn/default.c: Likewise.
5681 * elf/ifuncdep2.c: Likewise.
5682 * elf/ifuncmain1.c: Likewise.
5683 * elf/ifuncmain1vis.c: Likewise.
5684 * elf/testobj.h: Likewise.
5685 * elf/tst-stackguard1.c: Likewise.
5686 * gmon/sys/gmon.h: Likewise.
5687 * hurd/hurdmsg.c: Likewise.
5688 * hurd/new-fd.c: Likewise.
5689 * hurd/ports-get.c: Likewise.
5690 * iconvdata/ibm1008_420.c: Likewise.
5691 * inet/tst-getni1.c: Likewise.
5692 * inet/tst-getni2.c: Likewise.
5693 * libio/ioungetc.c: Likewise.
5694 * libio/wfiledoalloc.c: Likewise.
5695 * manual/libm-err-tab.pl: Likewise.
5696 * math/w_dremf.c: Likewise.
5697 * misc/ftruncate.c: Likewise.
5698 * posix/bug-glob2.c: Likewise.
5699 * posix/tst-pcre.c: Likewise.
5700 * posix/wait4.c: Likewise.
5701 * resolv/README: Likewise.
5702 * resolv/res_debug.h: Likewise.
5703 * resolv/tst-inet_ntop.c: Likewise.
5704 * setjmp/bug269-setjmp.c: Likewise.
5705 * soft-fp/extended.h: Likewise.
5706 * soft-fp/op-1.h: Likewise.
5707 * soft-fp/op-2.h: Likewise.
5708 * soft-fp/op-4.h: Likewise.
5709 * soft-fp/op-8.h: Likewise.
5710 * soft-fp/testit.c: Likewise.
5711 * stdio-common/bug16.c: Likewise.
5712 * stdlib/random.c: Likewise.
5713 * sunrpc/rpcsvc/rquota.x: Likewise.
5714 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5721 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5722 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5724 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5743 * sysdeps/ieee754/s_lib_version.c: Likewise.
5744 * sysdeps/mach/hurd/check_fds.c: Likewise.
5745 * sysdeps/mach/hurd/getsockname.c: Likewise.
5746 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5747 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5748 * sysdeps/powerpc/bits/link.h: Likewise.
5749 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5750 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5751 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5752 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5753 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5754 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5755 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5756 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5757 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5758 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5759 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5760 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5761 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5762 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5763 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5764 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5765 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5768 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5770 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5771 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5772 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5773 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5774 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5775 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5776 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5778 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5781 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5783 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5784 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5785 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5786 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5787 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5788 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5789 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5790 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5791 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5792 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5793 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5794 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5795 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5796 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5797 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5798 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5802 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5803 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5804 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5805 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5806 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5808 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5809 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5811 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5813 * sysdeps/powerpc/sysdep.h: Likewise.
5814 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5815 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5816 * sysdeps/sh/dl-trampoline.S: Likewise.
5817 * sysdeps/sh/memset.S: Likewise.
5818 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5819 * sysdeps/sh/strlen.S: Likewise.
5820 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5821 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5822 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5823 * sysdeps/sparc/sparc32/rem.S: Likewise.
5824 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5825 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5826 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5827 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5828 * sysdeps/sparc/sparc32/urem.S: Likewise.
5829 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5830 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5831 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5832 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5833 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5834 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5835 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5836 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5837 * sysdeps/unix/bsd/times.c: Likewise.
5838 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5839 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5843 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5845 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5848 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5849 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5850 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5851 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5852 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5853 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5854 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5856 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5858 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5859 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5860 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5861 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5862 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5863 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5864 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5865 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5866 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5867 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5868 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5869 * sysdeps/x86_64/strcspn.S: Likewise.
5870
5871 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5872
5873 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5874 generated file. Regenerate properly from gen-translit.pl.
5875 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5876 locale/C-translit.h.
5877
5878 2013-06-05 Andreas Schwab <schwab@suse.de>
5879
5880 [BZ #15100]
5881 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5882 week as 6 instead of -1.
5883 * time/tst-strptime.c (day_tests): Add test case.
5884
5885 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5886
5887 * sysdeps/generic/math_private.h
5888 (libc_feholdexcept_setround_53bit): Replace with
5889 libc_feholdsetround_53bit.
5890 (libc_feupdateenv_53bit): Replace with
5891 libc_feresetround_53bit.
5892 (SET_RESTORE_ROUND_53BIT): Adjust.
5893
5894 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5895
5896 * string/test-strchrnul.c: Add copyright header.
5897
5898 * posix/tst-getaddrinfo4.c: Increase test timeout.
5899
5900 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5901
5902 [BZ #15536]
5903 * math/libm-test.inc (MAX_EXP): Remove
5904 (MIN_EXP): Define.
5905 (ulp): Use MIN_EXP - MANT_DIG.
5906 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5907
5908 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5909
5910 * po/be.po: Revert last change.
5911 * po/zh_CN.po: Likewise.
5912 * po/header.pot: Likewise.
5913
5914 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5915
5916 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5917 link-libc-deps to empty as target-specific variable.
5918 * Makerules (link-libc-args): New variable.
5919 (libc-for-link): Likewise.
5920 (link-libc-deps): Likewise.
5921 (lib%.so): Depend on $(link-libc-deps). Link with
5922 $(link-libc-args).
5923 (build-module): Link with $(link-libc-args).
5924 (build-module-asneeded): Likewise.
5925 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5926 list of objects.
5927 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5928 target-specific variable.
5929 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5930 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5931 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5932 libc.
5933 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5934 libc and ld.so.
5935 ($(objpfx)libpcprofile.so): Likewise.
5936 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5937 libc_nonshared.a.
5938 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5939 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5940 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5941 $(link-libc-deps).
5942 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5943 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5944 * login/Makefile ($(objpfx)libutil.so): Likewise.
5945 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5946 * math/Makefile ($(objpfx)libm.so): Likewise.
5947 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5948 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5949 variable instead of depending directly on libc.
5950 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5951 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5952 $(link-libc-deps).
5953 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5954 libc.
5955 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5956 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5957 ($(objpfx)libanl.so): Likewise.
5958 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5959 ld.so.
5960 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5961 $(link-libc-deps).
5962 * sysdeps/i386/fpu/Makefile: Remove file.
5963 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5964 ($(objpfx)libm.so): Remove dependency on ld.so.
5965
5966 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5967
5968 [BZ # 15553]
5969 * nis/yp_xdr.c (XDRMAXNAME): Define.
5970 (XDRMAXRECORD): Define.
5971 (xdr_domainname): Use XDRMAXNAME.
5972 (xdr_mapname): Likewise.
5973 (xdr_peername): Likewise.
5974 (xdr_keydat): Use XDRMAXRECORD.
5975 (xdr_valdat): Likewise.
5976
5977 2013-05-30 Jeff Law <law@redhat.com>
5978
5979 [BZ #14256]
5980 * manual/errno.texi (ESTALE): Update to account for more than
5981 just NFS file systems.
5982 * sysdeps/gnu/errlist.c: Regenerated.
5983
5984 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
5986 [BZ #15465]
5987 * elf/Makefile (tests): Add tst-null-argv.
5988 (modules-names): Add tst-null-argv-lib.
5989 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5990 (tst-null-argv-ENV): Set environment for tst-null-argv.
5991 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5992 (RTLD_PROGNAME): New macro.
5993 * elf/tst-null-argv.c: New test case.
5994 * elf/tst-null-argv-lib.c: Library for test case.
5995 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5996 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5997 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5998 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5999 * elf/dl-init.c (call_init): Likewise.
6000 (_dl_init): Likewise.
6001 * elf/dl-load.c (print_search_path): Likewise.
6002 (_dl_map_object): Likewise.
6003 * elf/dl-lookup.c (do_lookup_x): Likewise.
6004 (add_dependency): Likewise.
6005 (_dl_lookup_symbol_x): Likewise.
6006 (_dl_debug_bindings): Likewise.
6007 * elf/dl-open.c (_dl_show_scope): Likewise.
6008 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6009 * elf/dl-version.c (match_symbol): Likewise.
6010 (_dl_check_map_versions): Likewise.
6011 * elf/rtld.c (dl_main): Likewise.
6012 (print_unresolved): Use RTLD_PROGNAME.
6013 (print_missing_version): Likewise.
6014 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6015 (elf_machine_rela): Likewise.
6016 * sysdeps/powerpc/powerpc32/dl-machine.c
6017 (__process_machine_rela): Likewise.
6018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6019 Likewise.
6020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6021 Likewise.
6022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6023 Likewise.
6024 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6026 Likewise.
6027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6028 Likewise.
6029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6030
6031 2013-05-28 Carlos O'Donell <carlos@redhat.com>
6032
6033 * po/be.po: Add descriptive title.
6034 * po/zh_CN.po: Likewise.
6035 * po/header.pot: Likewise.
6036
6037 2013-05-28 Mike Frysinger <vapier@gentoo.org>
6038
6039 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6040 error message.
6041 (enlarge_archive): Likewise.
6042
6043 2013-05-28 Ben North <ben@redfrontdoor.org>
6044
6045 * manual/arith.texi (frexp): It is the magnitude of the return
6046 value which lies in [0.5, 1), not the return value itself.
6047
6048 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6051
6052 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6053
6054 * stdio-common/bug26.c (main): Correct fscanf template.
6055
6056 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6057 declare _dl_skip_args.
6058
6059 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6060 Don't declare.
6061
6062 * manual/platform.texi: Add missing @end deftypefun.
6063
6064 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6065
6066 [BZ #15529]
6067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6068 bit of mantissa of 2^16382.
6069 * math/libm-test.inc (hypot_test_data): Add more tests.
6070
6071 * math/libm-test.inc: Add drem and pow10 to list of tested
6072 functions.
6073 (pow10_test): New function.
6074 (drem_test): Likewise.
6075 (drem_test_tonearest): Likewise.
6076 (drem_test_towardzero): Likewise.
6077 (drem_test_downward): Likewise.
6078 (drem_test_upward): Likewise.
6079 (main): Call the new functions.
6080
6081 * math/libm-test.inc (finite_test_data): Remove.
6082 (finite_test): Run tests from isfinite_test_data.
6083 (gamma_test_data): Remove.
6084 (gamma_test): Run tests from lgamma_test_data.
6085 * sysdeps/i386/fpu/libm-test-ulps: Update.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6087
6088 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089
6090 * manual/platform.texi: Add PowerPC PPR function set documentation.
6091 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6092 implementation.
6093
6094 2013-05-24 Carlos O'Donell <carlos@redhat.com>
6095
6096 * math/libm-test.inc (MAX_EXP): Define.
6097 (ULPDIFF): Define.
6098 (ulp): New function.
6099 (check_float_internal): Use ULPDIFF.
6100 (cpow_test): Disable failing test.
6101 (check_ulp): Test ulp() implemetnation.
6102 (main): Call check_ulp before starting tests.
6103
6104 2013-05-24 Joseph Myers <joseph@codesourcery.com>
6105
6106 * math/gen-libm-test.pl (generate_testfile): Do not handle
6107 START_DATA and END_DATA.
6108 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6109 END_DATA.
6110 (acos_tonearest_test_data): Likewise.
6111 (acos_towardzero_test_data): Likewise.
6112 (acos_downward_test_data): Likewise.
6113 (acos_upward_test_data): Likewise.
6114 (acosh_test_data): Likewise.
6115 (asin_test_data): Likewise.
6116 (asin_tonearest_test_data): Likewise.
6117 (asin_towardzero_test_data): Likewise.
6118 (asin_downward_test_data): Likewise.
6119 (asin_upward_test_data): Likewise.
6120 (asinh_test_data): Likewise.
6121 (atan_test_data): Likewise.
6122 (atanh_test_data): Likewise.
6123 (atan2_test_data): Likewise.
6124 (cabs_test_data): Likewise.
6125 (cacos_test_data): Likewise.
6126 (cacosh_test_data): Likewise.
6127 (carg_test_data): Likewise.
6128 (casin_test_data): Likewise.
6129 (casinh_test_data): Likewise.
6130 (catan_test_data): Likewise.
6131 (catanh_test_data): Likewise.
6132 (cbrt_test_data): Likewise.
6133 (ccos_test_data): Likewise.
6134 (ccosh_test_data): Likewise.
6135 (ceil_test_data): Likewise.
6136 (cexp_test_data): Likewise.
6137 (cimag_test_data): Likewise.
6138 (clog_test_data): Likewise.
6139 (clog10_test_data): Likewise.
6140 (conj_test_data): Likewise.
6141 (copysign_test_data): Likewise.
6142 (cos_test_data): Likewise.
6143 (cos_tonearest_test_data): Likewise.
6144 (cos_towardzero_test_data): Likewise.
6145 (cos_downward_test_data): Likewise.
6146 (cos_upward_test_data): Likewise.
6147 (cosh_test_data): Likewise.
6148 (cosh_tonearest_test_data): Likewise.
6149 (cosh_towardzero_test_data): Likewise.
6150 (cosh_downward_test_data): Likewise.
6151 (cosh_upward_test_data): Likewise.
6152 (cpow_test_data): Likewise.
6153 (cproj_test_data): Likewise.
6154 (creal_test_data): Likewise.
6155 (csin_test_data): Likewise.
6156 (csinh_test_data): Likewise.
6157 (csqrt_test_data): Likewise.
6158 (ctan_test_data): Likewise.
6159 (ctan_tonearest_test_data): Likewise.
6160 (ctan_towardzero_test_data): Likewise.
6161 (ctan_downward_test_data): Likewise.
6162 (ctan_upward_test_data): Likewise.
6163 (ctanh_test_data): Likewise.
6164 (ctanh_tonearest_test_data): Likewise.
6165 (ctanh_towardzero_test_data): Likewise.
6166 (ctanh_downward_test_data): Likewise.
6167 (ctanh_upward_test_data): Likewise.
6168 (erf_test_data): Likewise.
6169 (erfc_test_data): Likewise.
6170 (exp_test_data): Likewise.
6171 (exp_tonearest_test_data): Likewise.
6172 (exp_towardzero_test_data): Likewise.
6173 (exp_downward_test_data): Likewise.
6174 (exp_upward_test_data): Likewise.
6175 (exp10_test_data): Likewise.
6176 (exp2_test_data): Likewise.
6177 (expm1_test_data): Likewise.
6178 (fabs_test_data): Likewise.
6179 (fdim_test_data): Likewise.
6180 (finite_test_data): Likewise.
6181 (floor_test_data): Likewise.
6182 (fma_test_data): Likewise.
6183 (fma_towardzero_test_data): Likewise.
6184 (fma_downward_test_data): Likewise.
6185 (fma_upward_test_data): Likewise.
6186 (fmax_test_data): Likewise.
6187 (fmin_test_data): Likewise.
6188 (fmod_test_data): Likewise.
6189 (fpclassify_test_data): Likewise.
6190 (frexp_test_data): Likewise.
6191 (gamma_test_data): Likewise.
6192 (hypot_test_data): Likewise.
6193 (ilogb_test_data): Likewise.
6194 (isfinite_test_data): Likewise.
6195 (isgreater_test_data): Likewise.
6196 (isgreaterequal_test_data): Likewise.
6197 (isinf_test_data): Likewise.
6198 (isless_test_data): Likewise.
6199 (islessequal_test_data): Likewise.
6200 (islessgreater_test_data): Likewise.
6201 (isnan_test_data): Likewise.
6202 (isnormal_test_data): Likewise.
6203 (issignaling_test_data): Likewise.
6204 (isunordered_test_data): Likewise.
6205 (j0_test_data): Likewise.
6206 (j1_test_data): Likewise.
6207 (jn_test_data): Likewise.
6208 (ldexp_test_data): Likewise.
6209 (lgamma_test_data): Likewise.
6210 (lrint_test_data): Likewise.
6211 (lrint_tonearest_test_data): Likewise.
6212 (lrint_towardzero_test_data): Likewise.
6213 (lrint_downward_test_data): Likewise.
6214 (lrint_upward_test_data): Likewise.
6215 (llrint_test_data): Likewise.
6216 (llrint_tonearest_test_data): Likewise.
6217 (llrint_towardzero_test_data): Likewise.
6218 (llrint_downward_test_data): Likewise.
6219 (llrint_upward_test_data): Likewise.
6220 (log_test_data): Likewise.
6221 (log10_test_data): Likewise.
6222 (log1p_test_data): Likewise.
6223 (log2_test_data): Likewise.
6224 (logb_test_data): Likewise.
6225 (logb_downward_test_data): Likewise.
6226 (lround_test_data): Likewise.
6227 (llround_test_data): Likewise.
6228 (modf_test_data): Likewise.
6229 (nearbyint_test_data): Likewise.
6230 (nextafter_test_data): Likewise.
6231 (nexttoward_test_data): Likewise.
6232 (pow_test_data): Likewise.
6233 (pow_tonearest_test_data): Likewise.
6234 (pow_towardzero_test_data): Likewise.
6235 (pow_downward_test_data): Likewise.
6236 (pow_upward_test_data): Likewise.
6237 (remainder_test_data): Likewise.
6238 (remainder_tonearest_test_data): Likewise.
6239 (remainder_towardzero_test_data): Likewise.
6240 (remainder_downward_test_data): Likewise.
6241 (remainder_upward_test_data): Likewise.
6242 (remquo_test_data): Likewise.
6243 (rint_test_data): Likewise.
6244 (rint_tonearest_test_data): Likewise.
6245 (rint_towardzero_test_data): Likewise.
6246 (rint_downward_test_data): Likewise.
6247 (rint_upward_test_data): Likewise.
6248 (round_test_data): Likewise.
6249 (scalb_test_data): Likewise.
6250 (scalbn_test_data): Likewise.
6251 (scalbln_test_data): Likewise.
6252 (signbit_test_data): Likewise.
6253 (sin_test_data): Likewise.
6254 (sin_tonearest_test_data): Likewise.
6255 (sin_towardzero_test_data): Likewise.
6256 (sin_downward_test_data): Likewise.
6257 (sin_upward_test_data): Likewise.
6258 (sincos_test_data): Likewise.
6259 (sinh_test_data): Likewise.
6260 (sinh_tonearest_test_data): Likewise.
6261 (sinh_towardzero_test_data): Likewise.
6262 (sinh_downward_test_data): Likewise.
6263 (sinh_upward_test_data): Likewise.
6264 (sqrt_test_data): Likewise.
6265 (tan_test_data): Likewise.
6266 (tan_tonearest_test_data): Likewise.
6267 (tan_towardzero_test_data): Likewise.
6268 (tan_downward_test_data): Likewise.
6269 (tan_upward_test_data): Likewise.
6270 (tanh_test_data): Likewise.
6271 (tgamma_test_data): Likewise.
6272 (trunc_test_data): Likewise.
6273 (y0_test_data): Likewise.
6274 (y1_test_data): Likewise.
6275 (yn_test_data): Likewise.
6276 (significand_test_data): Likewise.
6277
6278 * math/gen-libm-test.pl (@functions): Remove variable.
6279 (generate_testfile): Don't handle START and END lines.
6280 * math/libm-test.inc (START): New macro.
6281 (END): Likewise.
6282 (END_COMPLEX): Likewise.
6283 (acos_test): Use END macro without arguments.
6284 (acos_test_tonearest): Likewise.
6285 (acos_test_towardzero): Likewise.
6286 (acos_test_downward): Likewise.
6287 (acos_test_upward): Likewise.
6288 (acosh_test): Likewise.
6289 (asin_test): Likewise.
6290 (asin_test_tonearest): Likewise.
6291 (asin_test_towardzero): Likewise.
6292 (asin_test_downward): Likewise.
6293 (asin_test_upward): Likewise.
6294 (asinh_test): Likewise.
6295 (atan_test): Likewise.
6296 (atanh_test): Likewise.
6297 (atan2_test): Likewise.
6298 (cabs_test): Likewise.
6299 (cacos_test): Use END_COMPLEX macro without arguments.
6300 (cacosh_test): Likewise.
6301 (carg_test): Use END macro without arguments.
6302 (casin_test): Use END_COMPLEX macro without arguments.
6303 (casinh_test): Likewise.
6304 (catan_test): Likewise.
6305 (catanh_test): Likewise.
6306 (cbrt_test): Use END macro without arguments.
6307 (ccos_test): Use END_COMPLEX macro without arguments.
6308 (ccosh_test): Likewise.
6309 (ceil_test): Use END macro without arguments.
6310 (cexp_test): Use END_COMPLEX macro without arguments.
6311 (cimag_test): Use END macro without arguments.
6312 (clog_test): Use END_COMPLEX macro without arguments.
6313 (clog10_test): Likewise.
6314 (conj_test): Likewise.
6315 (copysign_test): Use END macro without arguments.
6316 (cos_test): Likewise.
6317 (cos_test_tonearest): Likewise.
6318 (cos_test_towardzero): Likewise.
6319 (cos_test_downward): Likewise.
6320 (cos_test_upward): Likewise.
6321 (cosh_test): Likewise.
6322 (cosh_test_tonearest): Likewise.
6323 (cosh_test_towardzero): Likewise.
6324 (cosh_test_downward): Likewise.
6325 (cosh_test_upward): Likewise.
6326 (cpow_test): Use END_COMPLEX macro without arguments.
6327 (cproj_test): Likewise.
6328 (creal_test): Use END macro without arguments.
6329 (csin_test): Use END_COMPLEX macro without arguments.
6330 (csinh_test): Likewise.
6331 (csqrt_test): Likewise.
6332 (ctan_test): Likewise.
6333 (ctan_test_tonearest): Likewise.
6334 (ctan_test_towardzero): Likewise.
6335 (ctan_test_downward): Likewise.
6336 (ctan_test_upward): Likewise.
6337 (ctanh_test): Likewise.
6338 (ctanh_test_tonearest): Likewise.
6339 (ctanh_test_towardzero): Likewise.
6340 (ctanh_test_downward): Likewise.
6341 (ctanh_test_upward): Likewise.
6342 (erf_test): Use END macro without arguments.
6343 (erfc_test): Likewise.
6344 (exp_test): Likewise.
6345 (exp_test_tonearest): Likewise.
6346 (exp_test_towardzero): Likewise.
6347 (exp_test_downward): Likewise.
6348 (exp_test_upward): Likewise.
6349 (exp10_test): Likewise.
6350 (exp2_test): Likewise.
6351 (expm1_test): Likewise.
6352 (fabs_test): Likewise.
6353 (fdim_test): Likewise.
6354 (finite_test): Likewise.
6355 (floor_test): Likewise.
6356 (fma_test): Likewise.
6357 (fma_test_towardzero): Likewise.
6358 (fma_test_downward): Likewise.
6359 (fma_test_upward): Likewise.
6360 (fmax_test): Likewise.
6361 (fmin_test): Likewise.
6362 (fmod_test): Likewise.
6363 (fpclassify_test): Likewise.
6364 (frexp_test): Likewise.
6365 (gamma_test): Likewise.
6366 (hypot_test): Likewise.
6367 (ilogb_test): Likewise.
6368 (isfinite_test): Likewise.
6369 (isgreater_test): Likewise.
6370 (isgreaterequal_test): Likewise.
6371 (isinf_test): Likewise.
6372 (isless_test): Likewise.
6373 (islessequal_test): Likewise.
6374 (islessgreater_test): Likewise.
6375 (isnan_test): Likewise.
6376 (isnormal_test): Likewise.
6377 (issignaling_test): Likewise.
6378 (isunordered_test): Likewise.
6379 (j0_test): Likewise.
6380 (j1_test): Likewise.
6381 (jn_test): Likewise.
6382 (ldexp_test): Likewise.
6383 (lgamma_test): Likewise.
6384 (lrint_test): Likewise.
6385 (lrint_test_tonearest): Likewise.
6386 (lrint_test_towardzero): Likewise.
6387 (lrint_test_downward): Likewise.
6388 (lrint_test_upward): Likewise.
6389 (llrint_test): Likewise.
6390 (llrint_test_tonearest): Likewise.
6391 (llrint_test_towardzero): Likewise.
6392 (llrint_test_downward): Likewise.
6393 (llrint_test_upward): Likewise.
6394 (log_test): Likewise.
6395 (log10_test): Likewise.
6396 (log1p_test): Likewise.
6397 (log2_test): Likewise.
6398 (logb_test): Likewise.
6399 (logb_test_downward): Likewise.
6400 (lround_test): Likewise.
6401 (llround_test): Likewise.
6402 (modf_test): Likewise.
6403 (nearbyint_test): Likewise.
6404 (nextafter_test): Likewise.
6405 (nexttoward_test): Likewise.
6406 (pow_test): Likewise.
6407 (pow_test_tonearest): Likewise.
6408 (pow_test_towardzero): Likewise.
6409 (pow_test_downward): Likewise.
6410 (pow_test_upward): Likewise.
6411 (remainder_test): Likewise.
6412 (remainder_test_tonearest): Likewise.
6413 (remainder_test_towardzero): Likewise.
6414 (remainder_test_downward): Likewise.
6415 (remainder_test_upward): Likewise.
6416 (remquo_test): Likewise.
6417 (rint_test): Likewise.
6418 (rint_test_tonearest): Likewise.
6419 (rint_test_towardzero): Likewise.
6420 (rint_test_downward): Likewise.
6421 (rint_test_upward): Likewise.
6422 (round_test): Likewise.
6423 (scalb_test): Likewise.
6424 (scalbn_test): Likewise.
6425 (scalbln_test): Likewise.
6426 (signbit_test): Likewise.
6427 (sin_test): Likewise.
6428 (sin_test_tonearest): Likewise.
6429 (sin_test_towardzero): Likewise.
6430 (sin_test_downward): Likewise.
6431 (sin_test_upward): Likewise.
6432 (sincos_test): Likewise.
6433 (sinh_test): Likewise.
6434 (sinh_test_tonearest): Likewise.
6435 (sinh_test_towardzero): Likewise.
6436 (sinh_test_downward): Likewise.
6437 (sinh_test_upward): Likewise.
6438 (sqrt_test): Likewise.
6439 (tan_test): Likewise.
6440 (tan_test_tonearest): Likewise.
6441 (tan_test_towardzero): Likewise.
6442 (tan_test_downward): Likewise.
6443 (tan_test_upward): Likewise.
6444 (tanh_test): Likewise.
6445 (tgamma_test): Likewise.
6446 (trunc_test): Likewise.
6447 (y0_test): Likewise.
6448 (y1_test): Likewise.
6449 (yn_test): Likewise.
6450 (significand_test): Likewise.
6451
6452 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6453
6454 [BZ #15381]
6455 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6456
6457 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6458
6459 [BZ #14894]
6460 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6461 __ppc_mdoio and __ppc_mdoom.
6462 * manual/platform.texi: Document new functions __ppc_yield,
6463 __ppc_mdoio and __ppc_mdoom.
6464
6465 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6466
6467 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6468 (main): Mention "tls" pseudo-hwcap is legacy.
6469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6470
6471 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6472
6473 * math/gen-libm-test.pl (parse_args): Output only string of
6474 arguments as text for test name, not full call or descriptions of
6475 tests for extra outputs.
6476 (generate_testfile): Do not pass function name to parse_args.
6477 Generate this_func variable from START.
6478 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6479 field to arg_str.
6480 (struct test_ff_f_data): Likewise.
6481 (test_ff_f_data_nexttoward): Likewise.
6482 (struct test_fi_f_data): Likewise.
6483 (struct test_fl_f_data): Likewise.
6484 (struct test_if_f_data): Likewise.
6485 (struct test_fff_f_data): Likewise.
6486 (struct test_c_f_data): Likewise.
6487 (struct test_f_f1_data): Likewise. Remove field extra_name.
6488 (struct test_fF_f1_data): Likewise.
6489 (struct test_ffI_f1_data): Likewise.
6490 (struct test_c_c_data): Rename test_name field to arg_str.
6491 (struct test_cc_c_data): Likewise.
6492 (struct test_f_i_data): Likewise.
6493 (struct test_ff_i_data): Likewise.
6494 (struct test_f_l_data): Likewise.
6495 (struct test_f_L_data): Likewise.
6496 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6497 and extra2_name.
6498 (COMMON_TEST_SETUP): New macro.
6499 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6500 (COMMON_TEST_CLEANUP): Likewise.
6501 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6502 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6503 macros.
6504 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6505 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6506 macros.
6507 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6508 (RUN_TEST_fff_f): Take argument string. Call new setup and
6509 cleanup macros.
6510 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6511 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6512 macros.
6513 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6514 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6515 macros.
6516 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6517 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6518 cleanup macros.
6519 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6520 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6521 cleanup macros.
6522 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6523 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6524 cleanup macros.
6525 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6526 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6527 macros.
6528 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6529 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6530 macros.
6531 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6532 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6533 macros.
6534 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6535 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6536 cleanup macros.
6537 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6538 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6539 cleanup macros.
6540 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6541 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6542 macros.
6543 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6544 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6545 cleanup macros.
6546 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6547 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6548 macros.
6549 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6550 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6551 macros.
6552 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6553 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6554 cleanup macros.
6555 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6556
6557 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6558
6559 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6560 to _sifields.sigfault.
6561 (si_addr_lsb): Define new macro.
6562 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6564 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6565
6566 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6567
6568 [BZ #15441]
6569 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6570 returns -1.
6571 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6572 null return -1.
6573 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6574 loading the domain.
6575
6576 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6577
6578 * math/gen-libm-test.pl (parse_args): Do not include expected
6579 result in test name.
6580 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6582 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6584 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6586
6587 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6588
6589 * benchtests/Makefile: Sort function entries.
6590
6591 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6592 tanh, asinh, acosh, atanh.
6593 * benchtests/acos-inputs: New file.
6594 * benchtests/acosh-inputs: New file.
6595 * benchtests/asin-inputs: New file.
6596 * benchtests/asinh-inputs: New file.
6597 * benchtests/atanh-inputs: New file.
6598 * benchtests/cosh-inputs: New file.
6599 * benchtests/log-inputs: New file.
6600 * benchtests/sinh-inputs: New file.
6601 * benchtests/tanh-inputs: New file.
6602
6603 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6604
6605 [BZ #15339]
6606 * posix/tst-getaddrinfo4.c: New test.
6607 * posix/Makefile (tests): Add it.
6608
6609 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6610
6611 [BZ #15339]
6612 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6613 when no services were used.
6614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6615 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6616
6617 2013-05-21 Andreas Schwab <schwab@suse.de>
6618
6619 [BZ #15014]
6620 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6621 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6622 successful.
6623 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6624 redundant variable declarations and reallocation of buffer when
6625 parsing as IPv6 address. Always set NSS status when called from
6626 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6627 buffer too small. Correct computation of needed size.
6628 * nss/Makefile (tests): Add test-digits-dots.
6629 * nss/test-digits-dots.c: New test.
6630
6631 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6632
6633 * benchtests/Makefile: Remove instructions for adding
6634 benchmark tests.
6635 * benchtests/README: New file to explain how to execute and
6636 enhance the benchmark tests.
6637
6638 2013-05-21 Andreas Schwab <schwab@suse.de>
6639
6640 [BZ #15493]
6641 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6642 * setjmp/tst-sigsetjmp.c: New test.
6643
6644 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6645
6646 * sysdeps/x86_64/memset.S (memset): New implementation.
6647 (__bzero): Likewise.
6648 (__memset_tail): New function.
6649
6650 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6651
6652 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6653 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6654 __memcpy_sse2_unaligned ifunc selection.
6655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6656 Add memcpy-sse2-unaligned.S.
6657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6658 Add: __memcpy_sse2_unaligned.
6659
6660 2013-05-19 Joseph Myers <joseph@codesourcery.com>
6661
6662 [BZ #15490]
6663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6664 math_force_eval before restoring floating-point envrionment.
6665 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6667 Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6669 <math_private.h>.
6670 (__nearbyintl): Use math_force_eval before restoring
6671 floating-point environment.
6672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6673
6674 * math/gen-libm-test.pl (special_functions): Remove.
6675 (parse_args): Don't handle TEST_extra. Handle functions with no
6676 return value.
6677 * math/libm-test.inc (struct test_sincos_data): Replace with
6678 struct test_fFF_11_data.
6679 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6680 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6681 (sincos_test_data): Change element type to struct
6682 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6683 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6684 RUN_TEST_LOOP_sincos.
6685 * math/README.libm-test: Don't mention special handling of
6686 individual functions.
6687 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6690 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6693
6694 * math/gen-libm-test.pl (get_variable): Remove function.
6695 (parse_args): Don't show pointer parameters to call in test
6696 names. Use "extra output N" in test names for extra outputs
6697 rather than naming variables.
6698
6699 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6700
6701 [BZ #15488]
6702 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6703 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6704 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6705 double tests.
6706 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6707 disable.
6708 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6709 check_long_double.
6710
6711 * math/gen-libm-test.pl (@tests): Remove variable.
6712 ($count): Likewise.
6713 (new_test): Remove function.
6714 (show_exceptions): New function.
6715 (special_functions): Use show_exceptions instead of new_test.
6716 (parse_args): Likewise.
6717 (generate_testfile): Pass only function name in generated call to
6718 print_max_error or print_complex_max_error.
6719 (get_ulps): Do not handle complex tests specially.
6720 (output_test): Rename to ...
6721 (get_all_ulps_for_test): ... this. Return a string rather than
6722 printing to a file. Require ulps to be present.
6723 (output_ulps): Generate arrays rather than #defines.
6724 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6725 (struct ulp_data): New type.
6726 (BUILD_COMPLEX_ULP): Remove macro.
6727 (compare_ulp_data): New function.
6728 (find_ulps): Likewise.
6729 (find_test_ulps): Likewise.
6730 (find_function_ulps): Likewise.
6731 (find_complex_function_ulps): Likewise.
6732 (print_max_error): Determine allowed ulps using
6733 find_function_ulps.
6734 (print_complex_max_error): Determine allowed ulps using
6735 find_complex_function_ulps.
6736 (check_float_internal): Determine max ulps using find_test_ulps.
6737 (check_float): Do not take max_ulp parameter. Update call to
6738 check_float_internal.
6739 (check_complex): Likewise.
6740 (check_int): Do not take max_ulp parameter.
6741 (check_long): Likewise.
6742 (check_bool): Likewise.
6743 (check_longlong): Likewise.
6744 (struct test_f_f_data): Remove max_ulp field.
6745 (struct test_ff_f_data): Likewise.
6746 (struct test_ff_f_data_nexttoward): Likewise.
6747 (struct test_fi_f_data): Likewise.
6748 (struct test_fl_f_data): Likewise.
6749 (struct test_if_f_data): Likewise.
6750 (struct test_fff_f_data): Likewise.
6751 (struct test_c_f_data): Likewise.
6752 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6753 (struct test_fF_f1_data): Likewise.
6754 (struct test_ffI_f1_data): Likewise.
6755 (struct test_c_c_data): Remove max_ulp field.
6756 (struct test_cc_c_data): Likewise.
6757 (struct test_f_i_data): Likewise.
6758 (struct test_ff_i_data): Likewise.
6759 (struct test_f_l_data): Likewise.
6760 (struct test_f_L_data): Likewise.
6761 (struct test_sincos_data): Likewise.
6762 (RUN_TEST_f_f): Do not handle ulps.
6763 (RUN_TEST_LOOP_f_f): Likewise.
6764 (RUN_TEST_2_f): Likewise.
6765 (RUN_TEST_LOOP_2_f): Likewise.
6766 (RUN_TEST_fff_f): Likewise.
6767 (RUN_TEST_LOOP_fff_f): Likewise.
6768 (RUN_TEST_c_f): Likewise.
6769 (RUN_TEST_LOOP_c_f): Likewise.
6770 (RUN_TEST_f_f1): Likewise.
6771 (RUN_TEST_LOOP_f_f1): Likewise.
6772 (RUN_TEST_fF_f1): Likewise.
6773 (RUN_TEST_LOOP_fF_f1): Likewise.
6774 (RUN_TEST_fI_f1): Likewise.
6775 (RUN_TEST_LOOP_fI_f1): Likewise.
6776 (RUN_TEST_ffI_f1): Likewise.
6777 (RUN_TEST_LOOP_ffI_f1): Likewise.
6778 (RUN_TEST_c_c): Likewise.
6779 (RUN_TEST_LOOP_c_c): Likewise.
6780 (RUN_TEST_cc_c): Likewise.
6781 (RUN_TEST_LOOP_cc_c): Likewise.
6782 (RUN_TEST_f_i): Likewise.
6783 (RUN_TEST_LOOP_f_i): Likewise.
6784 (RUN_TEST_f_i_tg): Likewise.
6785 (RUN_TEST_LOOP_f_i_tg): Likewise.
6786 (RUN_TEST_ff_i_tg): Likewise.
6787 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6788 (RUN_TEST_f_b): Likewise.
6789 (RUN_TEST_LOOP_f_b): Likewise.
6790 (RUN_TEST_f_b_tg): Likewise.
6791 (RUN_TEST_LOOP_f_b_tg): Likewise.
6792 (RUN_TEST_f_l): Likewise.
6793 (RUN_TEST_LOOP_f_l): Likewise.
6794 (RUN_TEST_f_L): Likewise.
6795 (RUN_TEST_LOOP_f_L): Likewise.
6796 (RUN_TEST_sincos): Likewise.
6797 (RUN_TEST_LOOP_sincos): Likewise.
6798
6799 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6800
6801 [BZ #15480]
6802 [BZ #15485]
6803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6804 main case of finite arguments, set rounding mode to FE_TONEAREST
6805 and discard exceptions.
6806 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6807 exceptions.
6808 (remainder_tonearest_test_data): New variable.
6809 (remainder_test_tonearest): New function.
6810 (remainder_towardzero_test_data): New variable.
6811 (remainder_test_towardzero): New function.
6812 (remainder_downward_test_data): New variable.
6813 (remainder_test_downward): New function.
6814 (remainder_upward_test_data): New variable.
6815 (remainder_test_upward): New function.
6816 (main): Call the new test functions.
6817
6818 * math/libm-test.inc (struct test_f_f1_data): Remove field
6819 extra_init.
6820 (struct test_fF_f1_data): Likewise.
6821 (struct test_ffI_f1_data): Likewise.
6822 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6823 based on value of EXTRA_EXPECTED.
6824 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6825 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6826 EXTRA_VAR based on value of EXTRA_EXPECTED.
6827 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6828 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6829 EXTRA_VAR based on value of EXTRA_EXPECTED.
6830 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6831 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6832 EXTRA_VAR based on value of EXTRA_EXPECTED.
6833 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6834 * math/gen-libm-test.pl (parse_args): Don't output initializers
6835 for extra output values.
6836
6837 * math/libm-test.inc (check_int): Expect result to be exactly
6838 equal to expected value and do not handle ulps.
6839 (check_long): Likewise.
6840 (check_longlong): Likewise.
6841
6842 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6843 exceptions.
6844 (cimag_test_data): Likewise.
6845 (conj_test_data): Likewise.
6846 (copysign_test_data): Likewise.
6847 (cproj_test_data): Likewise.
6848 (creal_test_data): Likewise.
6849 (fabs_test_data): Likewise.
6850 (fdim_test_data): Likewise.
6851 (finite_test_data): Likewise.
6852 (floor_test_data): Likewise.
6853 (fmax_test_data): Likewise.
6854 (fmin_test_data): Likewise.
6855 (fmod_test_data): Likewise.
6856 (fpclassify_test_data): Likewise.
6857 (frexp_test_data): Likewise.
6858 (ilogb_test_data): Likewise.
6859 (isfinite_test_data): Likewise.
6860 (isgreater_test_data): Likewise.
6861 (isgreaterequal_test_data): Likewise.
6862 (isinf_test_data): Likewise.
6863 (isless_test_data): Likewise.
6864 (islessequal_test_data): Likewise.
6865 (islessgreater_test_data): Likewise.
6866 (isnan_test_data): Likewise.
6867 (isnormal_test_data): Likewise.
6868 (issignaling_test_data): Likewise.
6869 (isunordered_test_data): Likewise.
6870 (ldexp_test_data): Likewise.
6871 (lrint_test_data): Likewise.
6872 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6873 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6874 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6875 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6876 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6877 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6878 test input.
6879 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6880 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6881 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6882 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6883 that test input.
6884 (lrint_downward_test_data): Test for "inexact" exceptions.
6885 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6886 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6887 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6888 test input.
6889 (lrint_upward_test_data): Test for "inexact" exceptions.
6890 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6891 test input.
6892 (llrint_test_data): Test for "inexact" exceptions.
6893 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6894 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6895 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6896 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6897 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6898 (llrint_downward_test_data): Test for "inexact" exceptions.
6899 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6900 (llrint_upward_test_data): Test for "inexact" exceptions.
6901 (logb_test_data): Likewise.
6902 (logb_downward_test_data): Likewise.
6903 (nextafter_test_data): Likewise.
6904 (nexttoward_test_data): Likewise.
6905 (remainder_test_data): Likewise.
6906 (remquo_test_data): Likewise.
6907 (scalbn_test_data): Likewise.
6908 (scalbln_test_data): Likewise.
6909 (signbit_test_data): Likewise.
6910 (sqrt_test_data): Likewise.
6911 (significand_test_data): Likewise.
6912
6913 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6914
6915 [BZ #15424]
6916 * benchtests/bench-modf.c (struct args): Mark arg0 as
6917 volatile.
6918 * scripts/bench.pl: Mark members of struct args as volatile.
6919
6920 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921
6922 [BZ # 15497]
6923 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6924 negative infinity on POWER6 or lower.
6925 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6926
6927 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6928
6929 [BZ #15442]
6930 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6931 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6932 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6933 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6934 (_FP_SETQNAN): New macro.
6935 (_FP_SETQNAN_SEMIRAW): Likewise.
6936 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6937 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6938 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6939 (FP_EXTEND): Use _FP_FRAC_SNANP.
6940 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6941 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6942 into account.
6943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6944 New macro.
6945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6946 Likewise.
6947
6948 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6949
6950 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6951 with DIVIDE_BY_ZERO_EXCEPTION.
6952 (gamma_test_data): Likewise.
6953 (lgamma_test_data): Likewise.
6954 (log_test_data): Likewise.
6955 (log10_test_data): Likewise.
6956 (log2_test_data): Likewise.
6957 (tgamma_test_data): Likewise.
6958
6959 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6960 (acos_test_tonearest): Likewise.
6961 (acos_test_towardzero): Likewise.
6962 (acos_test_downward): Likewise.
6963 (acos_test_upward): Likewise.
6964 (acosh_test): Likewise.
6965 (asin_test): Likewise.
6966 (asin_test_tonearest): Likewise.
6967 (asin_test_towardzero): Likewise.
6968 (asin_test_downward): Likewise.
6969 (asin_test_upward): Likewise.
6970 (asinh_test): Likewise.
6971 (atan_test): Likewise.
6972 (atanh_test): Likewise.
6973 (atan2_test): Likewise.
6974 (cabs_test): Likewise.
6975 (cacos_test): Likewise.
6976 (cacosh_test): Likewise.
6977 (casin_test): Likewise.
6978 (casinh_test): Likewise.
6979 (catan_test): Likewise.
6980 (catanh_test): Likewise.
6981 (cbrt_test): Likewise.
6982 (ccos_test): Likewise.
6983 (ccosh_test): Likewise.
6984 (cexp_test): Likewise.
6985 (clog_test): Likewise.
6986 (clog10_test): Likewise.
6987 (cos_test): Likewise.
6988 (cos_test_tonearest): Likewise.
6989 (cos_test_towardzero): Likewise.
6990 (cos_test_downward): Likewise.
6991 (cos_test_upward): Likewise.
6992 (cosh_test): Likewise.
6993 (cosh_test_tonearest): Likewise.
6994 (cosh_test_towardzero): Likewise.
6995 (cosh_test_downward): Likewise.
6996 (cosh_test_upward): Likewise.
6997 (cpow_test): Likewise.
6998 (csin_test): Likewise.
6999 (csinh_test): Likewise.
7000 (csqrt_test): Likewise.
7001 (ctan_test): Likewise.
7002 (ctan_test_tonearest): Likewise.
7003 (ctan_test_towardzero): Likewise.
7004 (ctan_test_downward): Likewise.
7005 (ctan_test_upward): Likewise.
7006 (ctanh_test): Likewise.
7007 (ctanh_test_tonearest): Likewise.
7008 (ctanh_test_towardzero): Likewise.
7009 (ctanh_test_downward): Likewise.
7010 (ctanh_test_upward): Likewise.
7011 (erf_test): Likewise.
7012 (erfc_test): Likewise.
7013 (exp_test): Likewise.
7014 (exp_test_tonearest): Likewise.
7015 (exp_test_towardzero): Likewise.
7016 (exp_test_downward): Likewise.
7017 (exp_test_upward): Likewise.
7018 (exp10_test): Likewise.
7019 (exp2_test): Likewise.
7020 (expm1_test): Likewise.
7021 (fmod_test): Likewise.
7022 (gamma_test): Likewise.
7023 (hypot_test): Likewise.
7024 (j0_test): Likewise.
7025 (j1_test): Likewise.
7026 (jn_test): Likewise.
7027 (lgamma_test): Likewise.
7028 (log_test): Likewise.
7029 (log10_test): Likewise.
7030 (log1p_test): Likewise.
7031 (log2_test): Likewise.
7032 (logb_test_downward): Likewise.
7033 (pow_test): Likewise.
7034 (pow_test_tonearest): Likewise.
7035 (pow_test_towardzero): Likewise.
7036 (pow_test_downward): Likewise.
7037 (pow_test_upward): Likewise.
7038 (remainder_test): Likewise.
7039 (remquo_test): Likewise.
7040 (sin_test): Likewise.
7041 (sin_test_tonearest): Likewise.
7042 (sin_test_towardzero): Likewise.
7043 (sin_test_downward): Likewise.
7044 (sin_test_upward): Likewise.
7045 (sincos_test): Likewise.
7046 (sinh_test): Likewise.
7047 (sinh_test_tonearest): Likewise.
7048 (sinh_test_towardzero): Likewise.
7049 (sinh_test_downward): Likewise.
7050 (sinh_test_upward): Likewise.
7051 (sqrt_test): Likewise.
7052 (tan_test): Likewise.
7053 (tan_test_tonearest): Likewise.
7054 (tan_test_towardzero): Likewise.
7055 (tan_test_downward): Likewise.
7056 (tan_test_upward): Likewise.
7057 (tanh_test): Likewise.
7058 (tgamma_test): Likewise.
7059 (y0_test): Likewise.
7060 (y1_test): Likewise.
7061 (yn_test): Likewise.
7062
7063 * math/gen-libm-test.pl (adjust_arg): Remove function.
7064 (special_function): Remove argument $in_func. Only handle
7065 generating output for tables of tests, not inside functions.
7066 (parse_args): Likewise.
7067 (generate_testfile): Remove variable $in_func. Update call to
7068 parse_args.
7069 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7070 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7071 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7072 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7073 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7074 (MAX_VALUE_INIT): Rename macro to max_value.
7075 (MIN_VALUE_INIT): Rename macro to min_value.
7076 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7077 (plus_zero): Remove variable.
7078 (minus_zero): Likewise.
7079 (plus_infty): Likewise.
7080 (minus_infty): Likewise.
7081 (qnan_value): Likewise.
7082 (max_value): Likewise.
7083 (min_value): Likewise.
7084 (min_subnorm_value): Likewise.
7085
7086 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7087
7088 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7089 uint64_t or uint32_t usage.
7090 * crypt/sha256-block.c: Likewise.
7091 * crypt/sha256-crypt.c: Likewise.
7092 * crypt/sha256.c: Likewise.
7093 * crypt/sha512-block.c: Likewise.
7094 * crypt/sha512-crypt.c: Likewise.
7095 * crypt/sha512.c: Likewise.
7096 * debug/backtrace-tst.c: Likewise.
7097 * debug/pcprofiledump.c: Likewise.
7098 * elf/cache.c: Likewise.
7099 * elf/dl-cache.c: Likewise.
7100 * elf/dl-misc.c: Likewise.
7101 * elf/dl-profile.c: Likewise.
7102 * elf/dl-support.c: Likewise.
7103 * elf/ldconfig.c: Likewise.
7104 * elf/sprof.c: Likewise.
7105 * iconv/dummy-repertoire.c: Likewise.
7106 * iconv/iconv_charmap.c: Likewise.
7107 * iconv/skeleton.c: Likewise.
7108 * iconvdata/8bit-generic.c: Likewise.
7109 * iconvdata/cp737.h: Likewise.
7110 * iconvdata/cp775.h: Likewise.
7111 * iconvdata/ibm1008.h: Likewise.
7112 * iconvdata/ibm1025.h: Likewise.
7113 * iconvdata/ibm1046.h: Likewise.
7114 * iconvdata/ibm1097.h: Likewise.
7115 * iconvdata/ibm1112.h: Likewise.
7116 * iconvdata/ibm1122.h: Likewise.
7117 * iconvdata/ibm1123.h: Likewise.
7118 * iconvdata/ibm1124.h: Likewise.
7119 * iconvdata/ibm1129.h: Likewise.
7120 * iconvdata/ibm1130.h: Likewise.
7121 * iconvdata/ibm1132.h: Likewise.
7122 * iconvdata/ibm1133.h: Likewise.
7123 * iconvdata/ibm1137.h: Likewise.
7124 * iconvdata/ibm1140.h: Likewise.
7125 * iconvdata/ibm1141.h: Likewise.
7126 * iconvdata/ibm1142.h: Likewise.
7127 * iconvdata/ibm1143.h: Likewise.
7128 * iconvdata/ibm1144.h: Likewise.
7129 * iconvdata/ibm1145.h: Likewise.
7130 * iconvdata/ibm1146.h: Likewise.
7131 * iconvdata/ibm1147.h: Likewise.
7132 * iconvdata/ibm1148.h: Likewise.
7133 * iconvdata/ibm1149.h: Likewise.
7134 * iconvdata/ibm1153.h: Likewise.
7135 * iconvdata/ibm1154.h: Likewise.
7136 * iconvdata/ibm1155.h: Likewise.
7137 * iconvdata/ibm1156.h: Likewise.
7138 * iconvdata/ibm1157.h: Likewise.
7139 * iconvdata/ibm1158.h: Likewise.
7140 * iconvdata/ibm1160.h: Likewise.
7141 * iconvdata/ibm1161.h: Likewise.
7142 * iconvdata/ibm1162.h: Likewise.
7143 * iconvdata/ibm1163.h: Likewise.
7144 * iconvdata/ibm1164.h: Likewise.
7145 * iconvdata/ibm1166.h: Likewise.
7146 * iconvdata/ibm1167.h: Likewise.
7147 * iconvdata/ibm12712.h: Likewise.
7148 * iconvdata/ibm1390.h: Likewise.
7149 * iconvdata/ibm1399.h: Likewise.
7150 * iconvdata/ibm16804.h: Likewise.
7151 * iconvdata/ibm4517.h: Likewise.
7152 * iconvdata/ibm4899.h: Likewise.
7153 * iconvdata/ibm4909.h: Likewise.
7154 * iconvdata/ibm4971.h: Likewise.
7155 * iconvdata/ibm5347.h: Likewise.
7156 * iconvdata/ibm803.h: Likewise.
7157 * iconvdata/ibm856.h: Likewise.
7158 * iconvdata/ibm901.h: Likewise.
7159 * iconvdata/ibm902.h: Likewise.
7160 * iconvdata/ibm9030.h: Likewise.
7161 * iconvdata/ibm9066.h: Likewise.
7162 * iconvdata/ibm921.h: Likewise.
7163 * iconvdata/ibm922.h: Likewise.
7164 * iconvdata/ibm9448.h: Likewise.
7165 * iconvdata/isiri-3342.h: Likewise.
7166 * iconvdata/jis0201.h: Likewise.
7167 * include/link.h: Likewise.
7168 * include/netdb.h: Likewise.
7169 * inet/check_native.c: Likewise.
7170 * inet/check_pf.c: Likewise.
7171 * inet/getipv4sourcefilter.c: Likewise.
7172 * inet/getnameinfo.c: Likewise.
7173 * inet/getsourcefilter.c: Likewise.
7174 * inet/htonl.c: Likewise.
7175 * inet/setipv4sourcefilter.c: Likewise.
7176 * inet/setsourcefilter.c: Likewise.
7177 * inet/test-inet6_opt.c: Likewise.
7178 * inet/tst-network.c: Likewise.
7179 * locale/C-collate.c: Likewise.
7180 * locale/C-ctype.c: Likewise.
7181 * locale/C-time.c: Likewise.
7182 * locale/C-translit.h: Likewise.
7183 * locale/loadarchive.c: Likewise.
7184 * locale/programs/3level.h: Likewise.
7185 * locale/programs/charmap.c: Likewise.
7186 * locale/programs/charmap.h: Likewise.
7187 * locale/programs/ld-address.c: Likewise.
7188 * locale/programs/ld-collate.c: Likewise.
7189 * locale/programs/ld-ctype.c: Likewise.
7190 * locale/programs/ld-identification.c: Likewise.
7191 * locale/programs/ld-measurement.c: Likewise.
7192 * locale/programs/ld-messages.c: Likewise.
7193 * locale/programs/ld-monetary.c: Likewise.
7194 * locale/programs/ld-name.c: Likewise.
7195 * locale/programs/ld-numeric.c: Likewise.
7196 * locale/programs/ld-paper.c: Likewise.
7197 * locale/programs/ld-telephone.c: Likewise.
7198 * locale/programs/ld-time.c: Likewise.
7199 * locale/programs/linereader.c: Likewise.
7200 * locale/programs/locale.c: Likewise.
7201 * locale/programs/locarchive.c: Likewise.
7202 * locale/programs/locfile.h: Likewise.
7203 * locale/programs/repertoire.c: Likewise.
7204 * locale/programs/simple-hash.c: Likewise.
7205 * locale/programs/simple-hash.h: Likewise.
7206 * malloc/memusage.c: Likewise.
7207 * malloc/memusagestat.c: Likewise.
7208 * nis/nis_defaults.c: Likewise.
7209 * nis/nis_hash.c: Likewise.
7210 * nis/nis_print.c: Likewise.
7211 * nis/nis_xdr.c: Likewise.
7212 * nscd/connections.c: Likewise.
7213 * nscd/hstcache.c: Likewise.
7214 * nscd/nscd_gethst_r.c: Likewise.
7215 * nscd/nscd_getserv_r.c: Likewise.
7216 * nscd/nscd_helper.c: Likewise.
7217 * nscd/servicescache.c: Likewise.
7218 * nss/makedb.c: Likewise.
7219 * nss/nss_db/db-XXX.c: Likewise.
7220 * nss/nss_db/db-initgroups.c: Likewise.
7221 * nss/nss_db/db-netgrp.c: Likewise.
7222 * nss/nss_files/files-network.c: Likewise.
7223 * nss/nss_files/files-parse.c: Likewise.
7224 * posix/bug-regex5.c: Likewise.
7225 * posix/fnmatch_loop.c: Likewise.
7226 * posix/regcomp.c: Likewise.
7227 * posix/regexec.c: Likewise.
7228 * posix/tst-rfc3484-2.c: Likewise.
7229 * posix/tst-rfc3484-3.c: Likewise.
7230 * posix/tst-rfc3484.c: Likewise.
7231 * resolv/nss_dns/dns-canon.c: Likewise.
7232 * resolv/nss_dns/dns-network.c: Likewise.
7233 * resolv/res_init.c: Likewise.
7234 * resolv/res_mkquery.c: Likewise.
7235 * resolv/tst-aton.c: Likewise.
7236 * stdlib/cxa_atexit.c: Likewise.
7237 * stdlib/cxa_finalize.c: Likewise.
7238 * stdlib/gen-fpioconst.c: Likewise.
7239 * stdlib/strtol_l.c: Likewise.
7240 * string/tst-endian.c: Likewise.
7241 * sunrpc/auth_des.c: Likewise.
7242 * sunrpc/clnt_udp.c: Likewise.
7243 * sunrpc/rtime.c: Likewise.
7244 * sunrpc/svcauth_des.c: Likewise.
7245 * sunrpc/xdr.c: Likewise.
7246 * sunrpc/xdr_intXX_t.c: Likewise.
7247 * sunrpc/xdr_rec.c: Likewise.
7248 * sysdeps/generic/ldconfig.h: Likewise.
7249 * sysdeps/generic/ldsodefs.h: Likewise.
7250 * sysdeps/generic/memusage.h: Likewise.
7251 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7254 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7261 * sysdeps/posix/getaddrinfo.c: Likewise.
7262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7266 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7267 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7268 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7269 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7270 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7271 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7272 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7273 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7274 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7275 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7276 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7277 * sysdeps/x86_64/dl-tls.h: Likewise.
7278 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7279 * time/alt_digit.c: Likewise.
7280 * time/era.c: Likewise.
7281 * wcsmbs/tst-c16c32-1.c: Likewise.
7282
7283 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7284
7285 * math/libm-test.inc (struct test_sincos_data): New type.
7286 (RUN_TEST_LOOP_sincos): New macro.
7287 (sincos_test_data): New variable.
7288 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7289
7290 2013-05-16 Richard Henderson <rth@redhat.com>
7291
7292 * math/atest-exp2.c (LIMB64): New macro.
7293 (CONSTSZ): New macro.
7294 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7295 (hexdig): Move ...
7296 (print_mpn_fp): ... to function scope.
7297 (read_mpn_hex): Remove.
7298 (get_log2): Remove.
7299 (exp2_mpn): Use mp_log2.
7300 (main): Use mp_exp1.
7301
7302 2013-05-16 Joseph Myers <joseph@codesourcery.com>
7303
7304 * math/libm-test.inc: Remove comment about not testing "inexact"
7305 exceptions.
7306 (INEXACT_EXCEPTION): New macro.
7307 (NO_INEXACT_EXCEPTION): Likewise.
7308 (INVALID_EXCEPTION_OK): Update value.
7309 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7310 (OVERFLOW_EXCEPTION_OK): Likewise.
7311 (UNDERFLOW_EXCEPTION_OK): Likewise.
7312 (IGNORE_ZERO_INF_SIGN): Likewise.
7313 (ERRNO_UNCHANGED): Likewise.
7314 (ERRNO_EDOM): Likewise.
7315 (ERRNO_ERANGE): Likewise.
7316 (test_exceptions): Handle testing "inexact" exceptions.
7317 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7318 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7319 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7320 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7321 INEXACT_EXCEPTION.
7322 (rint_towardzero_test_data): Likewise.
7323 (rint_downward_test_data): Likewise.
7324 (rint_upward_test_data): Likewise.
7325
7326 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7327 with OVERFLOW_EXCEPTION.
7328 (exp10_test_data): Likewise.
7329 (exp2_test_data): Likewise.
7330 (expm1_test_data): Likewise.
7331 (lgamma_test_data): Likewise.
7332 (pow_test_data): Likewise.
7333 (tgamma_test_data): Likewise.
7334 (yn_test_data): Remove duplicate test of overflow.
7335
7336 * math/libm-test.inc (struct test_cc_c_data): New type.
7337 (RUN_TEST_LOOP_cc_c): New macro.
7338 (cpow_test_data): New variable.
7339 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7340
7341 * math/libm-test.inc (struct test_f_L_data): New type.
7342 (RUN_TEST_LOOP_f_L): New macro.
7343 (llrint_test_data): New variable.
7344 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7345 (llrint_tonearest_test_data): New variable.
7346 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7347 (llrint_towardzero_test_data): New variable.
7348 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7349 (llrint_downward_test_data): New variable.
7350 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7351 (llrint_upward_test_data): New variable.
7352 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7353 (llround_test_data): New variable.
7354 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7355
7356 2013-05-13 Peter Collingbourne <pcc@google.com>
7357
7358 * math/atest-exp2.c (get_log2): Remove const attribute.
7359
7360 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7361
7362 * math/libm-test.inc (struct test_f_l_data): New type.
7363 (RUN_TEST_LOOP_f_l): New macro.
7364 (lrint_test_data): New variable.
7365 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7366 (lrint_tonearest_test_data): New variable.
7367 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7368 (lrint_towardzero_test_data): New variable.
7369 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7370 (lrint_downward_test_data): New variable.
7371 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7372 (lrint_upward_test_data): New variable.
7373 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7374 (lround_test_data): New variable.
7375 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7376
7377 2013-05-15 Peter Collingbourne <pcc@google.com>
7378
7379 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7380 (EXTRACT_WORDS64) Use where appropriate.
7381 (INSERT_WORDS64) Likewise.
7382
7383 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7384 constraints with x constraints.
7385 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7386
7387 * malloc/obstack.c (_obstack_compat): Add initializer.
7388
7389 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7390
7391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7392 si_trapno and add si_addr_lsb to _sifields.sigfault.
7393 (si_trapno): Remove macro.
7394 (si_addr_lsb): Define new macro.
7395 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7396
7397 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7398
7399 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7400 instead of TEST_f_l.
7401 (llrint_test_tonearest): Likewise.
7402 (llrint_test_towardzero): Likewise.
7403 (llrint_test_downward): Likewise.
7404 (llrint_test_upward): Likewise.
7405 (llround_test): Likewise.
7406
7407 * math/libm-test.inc (struct test_f_i_data): Add comment.
7408 (RUN_TEST_LOOP_f_b): New macro.
7409 (RUN_TEST_LOOP_f_b_tg): Likewise.
7410 (finite_test_data): New variable.
7411 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7412 (isfinite_test_data): New variable.
7413 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7414 (isinf_test_data): New variable.
7415 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7416 (isnan_test_data): New variable.
7417 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7418 (isnormal_test_data): New variable.
7419 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7420 (issignaling_test_data): New variable.
7421 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7422 (signbit_test_data): New variable.
7423 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7424
7425 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7426 with INVALID_EXCEPTION.
7427 (acosh_test_data): Likewise.
7428 (asin_test_data): Likewise.
7429 (atanh_test_data): Likewise.
7430 (fmod_test_data): Likewise.
7431 (log_test_data): Likewise.
7432 (log10_test_data): Likewise.
7433 (log2_test_data): Likewise.
7434 (pow_test_data): Likewise.
7435 (sqrt_test_data): Likewise.
7436 (y0_test_data): Likewise.
7437 (y1_test_data): Likewise.
7438 (yn_test_data): Likewise.
7439
7440 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7441 function contents.
7442
7443 * math/libm-test.inc (struct test_ff_i_data): New type.
7444 (RUN_TEST_LOOP_ff_i_tg): New macro.
7445 (isgreater_test_data): New variable.
7446 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7447 (isgreaterequal_test_data): New variable.
7448 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7449 (isless_test_data): New variable.
7450 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7451 (islessequal_test_data): New variable.
7452 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7453 (islessgreater_test_data): New variable.
7454 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7455 (isunordered_test_data): New variable.
7456 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7457
7458 2013-05-14 David S. Miller <davem@davemloft.net>
7459
7460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7461
7462 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7463
7464 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7465
7466 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7467 extra_test to int.
7468 (struct test_f_i_data): Change type of max_ulp to int.
7469
7470 * math/libm-test.inc (test_ffI_f1_data): New type.
7471 (RUN_TEST_LOOP_ffI_f1): New macro.
7472 (remquo_test_data): New variable.
7473 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7474
7475 * setjmp/tst-setjmp-fp.c: New file.
7476 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7477 (link-libm): New variable.
7478 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7479
7480 * math/libm-test.inc (struct test_f_i_data): New type.
7481 (RUN_TEST_LOOP_f_i): New macro.
7482 (RUN_TEST_LOOP_f_i_tg): Likewise.
7483 (fpclassify_test_data): New variable.
7484 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7485 (ilogb_test_data): New variable.
7486 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7487
7488 * math/libm-test.inc (scalbln_test): Correct function name in END
7489 call.
7490
7491 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7492 (RUN_TEST_LOOP_fI_f1): New macro.
7493 (frexp_test_data): New variable.
7494 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7495
7496 * math/libm-test.inc (struct test_fF_f1_data): New type.
7497 (RUN_TEST_LOOP_fF_f1): New macro.
7498 (modf_test_data): New variable.
7499 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7500
7501 * math/libm-test.inc (struct test_f_f1_data): New type.
7502 (RUN_TEST_LOOP_f_f1): New macro.
7503 (gamma_test_data): New variable.
7504 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7505 (lgamma_test_data): New variable.
7506 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7507
7508 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7509
7510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7511 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7512 (main): Comment "tls" pseudo-hwcap.
7513
7514 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7515
7516 * math/libm-test.inc (struct test_fl_f_data): New type.
7517 (RUN_TEST_LOOP_fl_f): New variable.
7518 (scalbln_test_data): New variable.
7519 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7520
7521 * math/libm-test.inc (struct test_fi_f_data): New type.
7522 (RUN_TEST_LOOP_fi_f): New macro.
7523 (ldexp_test_data): New variable.
7524 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7525 (scalbn_test_data): New variable.
7526 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7527
7528 * math/libm-test.inc (struct test_c_f_data): New type.
7529 (RUN_TEST_LOOP_c_f): New macro.
7530 (cabs_test_data): New variable.
7531 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7532 (carg_test_data): New variable.
7533 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7534 (cimag_test_data): New variable.
7535 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7536 (creal_test_data): New variable.
7537 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7538
7539 * math/libm-test.inc (struct test_if_f_data): New type.
7540 (RUN_TEST_LOOP_if_f): New macro.
7541 (jn_test_data): New variable.
7542 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7543 (yn_test_data): New variable.
7544 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7545
7546 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7547
7548 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7549
7550 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7551 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7552
7553 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
7555 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7556 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7557 (bench-deps): Add bench-timing.h.
7558 * benchtests-bench-skeleton.c: Include bench-timing.h.
7559 (main): Use TIMING_* macros instead of clock_gettime.
7560 * benchtests/bench-timing.h: New file.
7561
7562 [BZ #14582]
7563 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7564 Renamed from _LIB_VERSION.
7565 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7566
7567 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7568
7569 * math/libm-test.inc (struct test_fff_f_data): New type.
7570 (RUN_TEST_LOOP_fff_f): New macro.
7571 (fma_test_data): New variable.
7572 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7573 (fma_towardzero_test_data): New variable.
7574 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7575 (fma_downward_test_data): New variable.
7576 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7577 (fma_upward_test_data): New variable.
7578 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7579
7580 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7581 (struct test_c_c_data): New type.
7582 (RUN_TEST_LOOP_c_c): New macro.
7583 (cacos_test_data): New variable.
7584 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7585 (cacosh_test_data): New variable.
7586 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7587 (casin_test_data): New variable.
7588 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7589 (casinh_test_data): New variable.
7590 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7591 (catan_test_data): New variable.
7592 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7593 (catanh_test_data): New variable.
7594 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7595 (ccos_test_data): New variable.
7596 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7597 (ccosh_test_data): New variable.
7598 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7599 (cexp_test_data): New variable.
7600 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7601 (clog_test_data): New variable.
7602 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7603 (clog10_test_data): New variable.
7604 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7605 (conj_test_data): New variable.
7606 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7607 (cproj_test_data): New variable.
7608 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7609 (csin_test_data): New variable.
7610 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7611 (csinh_test_data): New variable.
7612 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7613 (csqrt_test_data): New variable.
7614 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7615 (ctan_test_data): New variable.
7616 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7617 (ctan_tonearest_test_data): New variable.
7618 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7619 (ctan_towardzero_test_data): New variable.
7620 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7621 (ctan_downward_test_data): New variable.
7622 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7623 (ctan_upward_test_data): New variable.
7624 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7625 (ctanh_test_data): New variable.
7626 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7627 (ctanh_tonearest_test_data): New variable.
7628 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7629 (ctanh_towardzero_test_data): New variable.
7630 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7631 (ctanh_downward_test_data): New variable.
7632 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7633 (ctanh_upward_test_data): New variable.
7634 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7635 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7636 of BUILD_COMPLEX.
7637
7638 * math/libm-test.inc (struct test_ff_f_data): New type.
7639 (struct test_ff_f_data_nexttoward): Likewise.
7640 (RUN_TEST_LOOP_2_f): New macro.
7641 (RUN_TEST_LOOP_ff_f): Likewise.
7642 (atan2_test_data): New variable.
7643 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7644 (copysign_test_data): New variable.
7645 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7646 (fdim_test_data): New variable.
7647 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7648 (fmax_test_data): New variable.
7649 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7650 (fmin_test_data): New variable.
7651 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7652 (fmod_test_data): New variable.
7653 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7654 (hypot_test_data): New variable.
7655 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7656 (nextafter_test_data): New variable.
7657 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7658 (nexttoward_test_data): New variable.
7659 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7660 (pow_test_data): New variable.
7661 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7662 (pow_tonearest_test_data): New variable.
7663 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7664 (pow_towardzero_test_data): New variable.
7665 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7666 (pow_downward_test_data): New variable.
7667 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7668 (pow_upward_test_data): New variable.
7669 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7670 (remainder_test_data): New variable.
7671 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7672 (scalb_test_data): New variable.
7673 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7674 * sysdeps/i386/fpu/libm-test-ulps: Update.
7675
7676 2013-05-11 Joseph Myers <joseph@codesourcery.com>
7677
7678 * math/libm-test.inc (fma_test): Use max_value instead of local
7679 variable fltmax.
7680 (nextafter_test): Likewise.
7681
7682 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7683 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7684 (acos_downward_test_data): New variable.
7685 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7686 (acos_upward_test_data): New variable.
7687 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7688 (acosh_test_data): New variable.
7689 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7690 (asin_test_data): New variable.
7691 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7692 (asin_tonearest_test_data): New variable.
7693 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7694 (asin_towardzero_test_data): New variable.
7695 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7696 (asin_downward_test_data): New variable.
7697 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7698 (asin_upward_test_data): New variable.
7699 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7700 (asinh_test_data): New variable.
7701 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7702 (atan_test_data): New variable.
7703 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7704 (atanh_test_data): New variable.
7705 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7706 (cbrt_test_data): New variable.
7707 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7708 (ceil_test_data): New variable.
7709 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7710 (cos_test_data): New variable.
7711 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7712 (cos_tonearest_test_data): New variable.
7713 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7714 (cos_towardzero_test_data): New variable.
7715 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7716 (cos_downward_test_data): New variable.
7717 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7718 (cos_upward_test_data): New variable.
7719 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7720 (cosh_test_data): New variable.
7721 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7722 (cosh_tonearest_test_data): New variable.
7723 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7724 (cosh_towardzero_test_data): New variable.
7725 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7726 (cosh_downward_test_data): New variable.
7727 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7728 (cosh_upward_test_data): New variable.
7729 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7730 (erf_test_data): New variable.
7731 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7732 (erfc_test_data): New variable.
7733 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7734 (exp_test_data): New variable.
7735 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7736 (exp_tonearest_test_data): New variable.
7737 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7738 (exp_towardzero_test_data): New variable.
7739 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7740 (exp_downward_test_data): New variable.
7741 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7742 (exp_upward_test_data): New variable.
7743 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7744 (exp10_test_data): New variable.
7745 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7746 (exp2_test_data): New variable.
7747 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7748 (expm1_test_data): New variable.
7749 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7750 (fabs_test_data): New variable.
7751 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7752 (floor_test_data): New variable.
7753 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7754 (j0_test_data): New variable.
7755 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7756 (j1_test_data): New variable.
7757 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7758 (log_test_data): New variable.
7759 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7760 (log10_test_data): New variable.
7761 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7762 (log1p_test_data): New variable.
7763 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7764 (log2_test_data): New variable.
7765 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7766 (logb_test_data): New variable.
7767 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7768 (logb_downward_test_data): New variable.
7769 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7770 (nearbyint_test_data): New variable.
7771 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7772 (rint_test_data): New variable.
7773 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7774 (rint_tonearest_test_data): New variable.
7775 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7776 (rint_towardzero_test_data): New variable.
7777 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7778 (rint_downward_test_data): New variable.
7779 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7780 (rint_upward_test_data): New variable.
7781 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7782 (round_test_data): New variable.
7783 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7784 (sin_test_data): New variable.
7785 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7786 (sin_tonearest_test_data): New variable.
7787 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7788 (sin_towardzero_test_data): New variable.
7789 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7790 (sin_downward_test_data): New variable.
7791 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7792 (sin_upward_test_data): New variable.
7793 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7794 (sinh_test_data): New variable.
7795 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7796 (sinh_tonearest_test_data): New variable.
7797 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7798 (sinh_towardzero_test_data): New variable.
7799 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7800 (sinh_downward_test_data): New variable.
7801 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7802 (sinh_upward_test_data): New variable.
7803 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7804 (sqrt_test_data): New variable.
7805 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7806 (tan_test_data): New variable.
7807 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7808 (tan_tonearest_test_data): New variable.
7809 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7810 (tan_towardzero_test_data): New variable.
7811 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7812 (tan_downward_test_data): New variable.
7813 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7814 (tan_upward_test_data): New variable.
7815 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7816 (tanh_test_data): New variable.
7817 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7818 (tgamma_test_data): New variable.
7819 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7820 (trunc_test_data): New variable.
7821 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7822 (y0_test_data): New variable.
7823 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7824 (y1_test_data): New variable.
7825 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7826 (significand_test_data): New variable.
7827 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7828
7829 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7830
7831 [BZ #12387]
7832 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7833
7834 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7835
7836 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7837
7838 2013-05-10 Andreas Jaeger <aj@suse.de>
7839
7840 [BZ #15448]
7841 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7842 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7843
7844 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7845
7846 * math/gen-libm-test.pl (adjust_arg): New function.
7847 (special_functions): Handle generating output in both functions
7848 and arrays.
7849 (parse_args): Likewise.
7850 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7851 $in_func argument to parse_args.
7852 * math/libm-test.inc (struct test_f_f_data): New type.
7853 (IF_ROUND_INIT_): New macro.
7854 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7855 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7856 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7857 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7858 (ROUND_RESTORE_): Likewise.
7859 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7860 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7861 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7862 (ROUND_RESTORE_FE_UPWARD): Likewise.
7863 (RUN_TEST_LOOP_f_f): New macro.
7864 (acos_test_data): New variable.
7865 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7866 (acos_tonearest_test_data): New variable.
7867 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7868
7869 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * benchtests/bench-skeleton.c (startup): Fix coding style.
7872
7873 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7874
7875 [BZ #6809]
7876 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7877 negative infinity argument.
7878 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7879 negative infinity argument.
7880 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7881 negative infinity argument.
7882 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7883 domain errors.
7884
7885 2013-05-10 Florian Weimer <fweimer@redhat.com>
7886
7887 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7888 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7889 * iconv/iconv_prog.c (main): Likewise.
7890 * locale/programs/charmap-dir.c (charmap_readdir)
7891 (fopen_uncompressed): Likewise.
7892 * locale/programs/locfile.c (siblings_uncached)
7893 (write_locale_data): Use lstat64 instead of lstat.
7894 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7895 stat.
7896
7897 2013-05-10 Andreas Jaeger <aj@suse.de>
7898
7899 [BZ #15395]
7900 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7901 localization.
7902 Include <locale.h>.
7903
7904 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7905
7906 * elf/dl-close.c (_dl_close_worker): Add comments.
7907
7908 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7909
7910 [BZ #15359]
7911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7912 high part of pi/2.
7913 (__ieee754_rem_pio2l): Update comments.
7914
7915 [BZ #15429]
7916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7917 high part of pi/2.
7918 (__ieee754_rem_pio2l): Update comments.
7919
7920 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7921 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7922
7923 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7924 M_PI_4l.
7925
7926 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7927 (M_PI_34_LOG10El): Likewise.
7928 (M_PI2_LOG10El): Likewise.
7929 (M_PI4_LOG10El): Likewise.
7930 (M_PI_LOG10El): Likewise.
7931
7932 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933
7934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7935
7936 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7937
7938 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7939 (MINUS_ZERO_INIT): Likewise.
7940 (PLUS_INFTY_INIT): Likewise.
7941 (MINUS_INFTY_INIT): Likewise.
7942 (QNAN_VALUE_INIT): Likewise.
7943 (MAX_VALUE_INIT): Likewise.
7944 (MIN_VALUE_INIT): Likewise.
7945 (MIN_SUBNORM_VALUE_INIT): Likewise.
7946 (plus_zero): Initialize with PLUS_ZERO_INIT.
7947 (minus_zero): Initialize with MINUS_ZERO_INIT.
7948 (plus_infty): Initialize with PLUS_INFTY_INIT.
7949 (minus_infty): Initialize with MINUS_INFTY_INIT.
7950 (qnan_value): Initialize with QNAN_VALUE_INIT.
7951 (max_value): Initialize with MAX_VALUE_INIT.
7952 (min_value): Initialize with MIN_VALUE_INIT.
7953 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7954
7955 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7956 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7957 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7958 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7959
7960 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7961 (RUN_TEST_2_f): Likewise.
7962 (RUN_TEST_ff_f): Likewise.
7963 (RUN_TEST_fi_f): Likewise.
7964 (RUN_TEST_fl_f): Likewise.
7965 (RUN_TEST_fff_f): Likewise.
7966 (RUN_TEST_c_f): Likewise.
7967 (RUN_TEST_f_f1): Likewise.
7968 (RUN_TEST_fF_f1): Likewise.
7969 (RUN_TEST_fI_f1): Likewise.
7970 (RUN_TEST_ffI_f1): Likewise.
7971 (RUN_TEST_c_c): Likewise.
7972 (RUN_TEST_cc_c): Likewise.
7973 (RUN_TEST_f_i): Likewise.
7974 (RUN_TEST_f_i_tg): Likewise.
7975 (RUN_TEST_ff_i_tg): Likewise.
7976 (RUN_TEST_f_b): Likewise.
7977 (RUN_TEST_f_b_tg): Likewise.
7978 (RUN_TEST_f_l): Likewise.
7979 (RUN_TEST_f_L): Likewise.
7980 (RUN_TEST_sincos): Likewise.
7981 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7982 whether to show exceptions. Do not include ");\n" in return
7983 value.
7984 (special_functions): Output call to RUN_TEST_sincos instead of
7985 check_float calls. Update calls to new_test.
7986 (parse_args): Output call to single RUN_TEST_* macro instead of
7987 check_* calls and other assignments. Update calls to new_test.
7988
7989 [BZ #2546]
7990 [BZ #2560]
7991 [BZ #5159]
7992 [BZ #15426]
7993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7994 input to result for tgamma overflow.
7995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7996 (gamma_coeff): New variable.
7997 (NCOEFF): New macro.
7998 (gamma_positive): New function.
7999 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8000 underflow here. Use gamma_positive instead of exp (lgamma) for
8001 other arguments.
8002 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8003 (gamma_coeff): New variable.
8004 (NCOEFF): New macro.
8005 (gammaf_positive): New function.
8006 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8007 underflow here. Use gamma_positive instead of exp (lgamma) for
8008 other arguments.
8009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8010 (gamma_coeff): New variable.
8011 (NCOEFF): New macro.
8012 (gammal_positive): New function.
8013 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8014 underflow here. Use gamma_positive instead of exp (lgamma) for
8015 other arguments.
8016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8017 (gamma_coeff): New variable.
8018 (NCOEFF): New macro.
8019 (gammal_positive): New function.
8020 (__ieee754_gammal_r): Handle positive infinity, overflow and
8021 underflow here. Handle NaN the same as positive infinity. Remove
8022 check x < 0xffffffff for negative integers. Use gamma_positive
8023 instead of exp (lgamma) for other arguments.
8024 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8025 (gamma_coeff): New variable.
8026 (NCOEFF): New macro.
8027 (gammal_positive): New function.
8028 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8029 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8030 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8031 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8033 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8034 * sysdeps/generic/math_private.h (__gamma_productf): New
8035 prototype.
8036 (__gamma_product): Likewise.
8037 (__gamma_productl): Likewise.
8038 * math/Makefile (libm-calls): Add gamma_product.
8039 * math/libm-test.inc (tgamma_test): Add more tests.
8040 * sysdeps/i386/fpu/libm-test-ulps: Update.
8041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042
8043 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
8044
8045 * benchtests/bench-skeleton.c (main): Preheat CPU.
8046
8047 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8048
8049 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8050
8051 2013-05-07 Roland McGrath <roland@hack.frob.com>
8052
8053 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8054 and _dl_skip_args_internal.
8055
8056 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8057
8058 * manual/message.texi (Message Translation): Talk about users.
8059 Message to key mapping impacts design.
8060
8061 2013-05-06 Roland McGrath <roland@hack.frob.com>
8062
8063 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8064
8065 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8066
8067 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8068 * sysdeps/wordsize-64/glob64.c: ... here.
8069
8070 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8071 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8072 New macros.
8073
8074 * debug/getlogin_r_chk.c: Moved to ...
8075 * login/getlogin_r_chk.c: ... here.
8076 * debug/Makefile (routines): Move getlogin_r_chk to ...
8077 * login/Makefile (routines): ... here.
8078 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8079 * login/Versions (libc: GLIBC_2.4): ... here.
8080
8081 * io/poll.c (__poll): Renamed from poll.
8082 Add libc_hidden_def.
8083 (poll): Define as weak alias.
8084
8085 * debug/ptsname_r_chk.c: Moved to ...
8086 * login/ptsname_r_chk.c: ... here.
8087 * debug/Makefile (routines): Move ptsname_r_chk to ...
8088 * login/Makefile (routines): ... here.
8089 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8090 * login/Versions (libc: GLIBC_2.4): ... here.
8091
8092 * posix/getlogin.c: Moved to ...
8093 * login/getlogin.c: ... here.
8094 * posix/getlogin_r.c: Moved to ...
8095 * login/getlogin_r.c: ... here.
8096 * posix/getlogin_r.c: Moved to ...
8097 * login/getlogin_r.c: ... here.
8098 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8099 * login/Makefile (routines): ... here.
8100 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8101 * login/Versions (libc: GLIBC_2.0): ... here.
8102
8103 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8104 (setrlimit): Define as weak alias.
8105
8106 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8107 Call __ names for open, ftruncate, and close.
8108 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8109 (truncate): Define as weak alias.
8110
8111 2013-05-06 Joseph Myers <joseph@codesourcery.com>
8112
8113 * math/gen-libm-test.pl (parse_args): Initialize x before each
8114 test of frexp, modf and remquo.
8115
8116 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8117 test signgam value.
8118
8119 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8120
8121 [BZ #15418]
8122 [BZ #15419]
8123 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8124 internal tests.
8125 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8126
8127 2013-05-06 Roland McGrath <roland@hack.frob.com>
8128
8129 * elf/dl-writev.h: New file.
8130 * elf/dl-misc.c: Include it.
8131 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8132 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8133
8134 2013-05-04 Joseph Myers <joseph@codesourcery.com>
8135
8136 * math/libm-test.inc (noXFails): Remove variable.
8137 (noXPasses): Likewise.
8138 (BUILD_COMPLEX_INT): Remove macro.
8139 (print_screen): Remove xfail argument.
8140 (print_screen_max_error): Likewise.
8141 (update_stats): Likewise.
8142 (print_max_error): Likewise. Update calls to other affected
8143 functions.
8144 (print_complex_max_error): Likewise.
8145 (test_single_exception): Update calls to print_screen.
8146 (test_single_errno): Likewise.
8147 (check_float_internal): Remove xfail argument. Update calls to
8148 other affected functions.
8149 (check_float): Likewise.
8150 (check_complex): Likewise.
8151 (check_int): Likewise.
8152 (check_long): Likewise.
8153 (check_bool): Likewise.
8154 (check_longlong): Likewise.
8155 (main): Don't print noXFails and noXPasses.
8156 * math/gen-libm-test.pl (top level): Don't mention expected
8157 failure handling in comment.
8158 (new_test): Don't handle expected failures.
8159 (parse_args): Don't mention expected failure handling in comment.
8160 (generate_testfile): Don't handle expected failures.
8161 (parse_ulps): Likewise.
8162 (print_ulps_file): Likewise.
8163 (get_failure): Remove function.
8164 (output_test): Don't handle expected failures.
8165 * make/README.libm-test: Don't mention expected failure handling.
8166
8167 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8168 (minus_zero): Likewise.
8169 (plus_infty): Likewise.
8170 (minus_infty): Likewise.
8171 (qnan_value): Likewise.
8172 (max_value): Likewise.
8173 (min_value): Likewise.
8174 (min_subnorm_value): Likewise.
8175 (initialize): Do not initialize those variables dynamically.
8176
8177 2013-05-03 Roland McGrath <roland@hack.frob.com>
8178
8179 * io/open.c (__open_2): Moved to ...
8180 * io/open_2.c: ... this new file.
8181 * io/open64.c (__open64_2): Moved to ...
8182 * io/open64_2.c: ... this new file.
8183 * io/openat.c (__openat_2): Moved to ...
8184 * io/openat_2.c: ... this new file.
8185 * io/openat64.c (__openat64_2): Moved to ...
8186 * io/openat64_2.c: ... this new file.
8187 * io/Makefile (routines): Add them.
8188 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8189 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8190 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8191 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8192 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8193 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8194 (__openat64): Add hidden_ver.
8195 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8196 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8197
8198 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8199 Separately conditionalize setting of GLRO(dl_sysinfo) so
8200 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8201 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8202
8203 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8204
8205 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8206 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8207 definition.
8208 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8209 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8210 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8211 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8212 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8213
8214 2013-05-03 Joseph Myers <joseph@codesourcery.com>
8215
8216 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8217 test signgam value.
8218
8219 * math/libm-test.inc (hypot_test): Do not use
8220 IGNORE_ZERO_INF_SIGN.
8221
8222 2013-05-03 Andreas Jaeger <aj@suse.de>
8223
8224 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8225 Linux 3.9.
8226 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8227 (PF_MAX): Adjust for VSOCK change.
8228
8229 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8230
8231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8232
8233 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8234
8235 [BZ #15264]
8236 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8237 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8238 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8239
8240 2013-05-02 David S. Miller <davem@davemloft.net>
8241
8242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8243
8244 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
8245
8246 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8247
8248 2013-05-01 Roland McGrath <roland@hack.frob.com>
8249
8250 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8251
8252 2013-05-01 Richard Smith <richard@metafoo.co.uk>
8253
8254 [BZ #14952]
8255 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8256 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8257 Use __attribute__ ((__gnu_inline__)).
8258 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8259 Don't use __attribute__ ((__gnu_inline__)).
8260
8261 2013-05-01 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #15423]
8264 * math/s_catan.c (__catan): Handle small real or imaginary part of
8265 input specially to avoid spurious underflow.
8266 * math/s_catanf.c (__catanf): Likewise.
8267 * math/s_catanh.c (__catanh): Likewise.
8268 * math/s_catanhf.c (__catanhf): Likewise.
8269 * math/s_catanhl.c (__catanhl): Likewise.
8270 * math/s_catanl.c (__catanl): Likewise.
8271 * math/libm-test.inc (catan_test): Add more tests.
8272 (catanh_test): Likewise.
8273 * sysdeps/i386/fpu/libm-test-ulps: Update.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
8276 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8277
8278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8279
8280 2013-04-30 Joseph Myers <joseph@codesourcery.com>
8281
8282 [BZ #15416]
8283 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8284 accurately for denominator in atan2.
8285 * math/s_catanf.c (__catanf): Likewise.
8286 * math/s_catanh.c (__catanh): Likewise.
8287 * math/s_catanhf.c (__catanhf): Likewise.
8288 * math/s_catanhl.c (__catanhl): Likewise.
8289 * math/s_catanl.c (__catanl): Likewise.
8290 * math/libm-test.inc (catan_test): Add more tests.
8291 (catanh_test): Likewise.
8292 * sysdeps/i386/fpu/libm-test-ulps: Update.
8293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294
8295 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8296
8297 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8298
8299 * benchtests/Makefile (bench): Remove slow benchmarks.
8300 * benchtests/atan-inputs: Add slow benchmark inputs.
8301 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8302 (BENCH_FUNC): Accept variant offset.
8303 (VARIANT): Define.
8304 * benchtests/bench-skeleton.c (main): Run benchmark for each
8305 variant.
8306 * benchtests/cos-inputs: Add slow benchmark inputs.
8307 * benchtests/exp-inputs: Likewise.
8308 * benchtests/pow-inputs: Likewise.
8309 * benchtests/sin-inputs: Likewise.
8310 * benchtests/slowatan-inputs: Remove.
8311 * benchtests/slowatan.c: Remove.
8312 * benchtests/slowcos-inputs: Remove.
8313 * benchtests/slowcos.c: Remove.
8314 * benchtests/slowexp-inputs: Remove.
8315 * benchtests/slowexp.c: Remove.
8316 * benchtests/slowpow-inputs: Remove.
8317 * benchtests/slowpow.c: Remove.
8318 * benchtests/slowsin-inputs: Remove.
8319 * benchtests/slowsin.c: Remove.
8320 * benchtests/slowtan-inputs: Remove.
8321 * benchtests/slowtan.c: Remove.
8322 * benchtests/tan-inputs: Add slow benchmark inputs.
8323 * scripts/bench.pl: Parse comments and directives.
8324
8325 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8326 in CPPFLAGS.
8327 ($(objpfx)bench-%.c): Remove *-ITER.
8328 * benchtests/bench-modf.c: Remove definition of ITER.
8329 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8330 (main): Loop for DURATION seconds instead of fixed number of
8331 iterations.
8332 * scripts/bench.pl: Don't expect iterations in parameters.
8333
8334 2013-04-29 Roland McGrath <roland@hack.frob.com>
8335
8336 * io/fchdir.c (__fchdir): Renamed from fchdir.
8337 (fchdir): Define as weak alias.
8338
8339 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8340
8341 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8342 (ERRNO_EDOM): Likewise.
8343 (ERRNO_ERANGE): Likewise.
8344 (noErrnoTests): New variable.
8345 (init_max_error): Set errno to 0.
8346 (test_single_errno): New function.
8347 (test_errno): Likewise.
8348 (check_float_internal): Call test_errno. Set errno to 0.
8349 (check_complex): Refer to errno tests in comment.
8350 (check_int): Call test_errno. Set errno to 0.
8351 (check_long): Likewise.
8352 (check_bool): Likewise.
8353 (check_longlong): Likewise.
8354 (cos_test): Use ERRNO_* flags for errno tests instead of
8355 check_int.
8356 (expm1_test): Likewise.
8357 (fmod_test): Likewise.
8358 (ilogb_test): Likewise.
8359 (lgamma_test): Likewise.
8360 (pow_test): Likewise.
8361 (remainder_test): Likewise.
8362 (sin_test): Likewise.
8363 (tan_test): Likewise.
8364 (yn_test): Likewise.
8365 (initialize): Set errno to 0.
8366 (main): Print number of errno tests.
8367 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8368
8369 2013-04-29 Andreas Jaeger <aj@suse.de>
8370
8371 [BZ #15084]
8372 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8373 and RES_USEVC.
8374
8375 [BZ #15085]
8376 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8377 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8378 unimplemented.
8379
8380 [BZ #15380]
8381 * stdlib/random.c (__initstate): Return NULL if
8382 __initstate fails.
8383
8384 [BZ #15086]
8385 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8386 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8387 RES_SNGLKUPREOP.
8388
8389 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8390
8391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8392
8393 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8394
8395 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8396 of individual tests.
8397 (casin_test): Likewise.
8398 (casinh_test): Likewise.
8399
8400 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8401
8402 [BZ #15409]
8403 * math/s_catan.c (__catan): Handle arguments with large real or
8404 imaginary part separately without squaring.
8405 * math/s_catanf.c (__catanf): Likewise.
8406 * math/s_catanh.c (__catanh): Likewise.
8407 * math/s_catanhf.c (__catanhf): Likewise.
8408 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8409 and redefine.
8410 (__catanhl): Handle arguments with large real or imaginary part
8411 separately without squaring.
8412 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8413 and redefine.
8414 (__catanl): Handle arguments with large real or imaginary part
8415 separately without squaring.
8416 * math/libm-test.inc (catan_test): Add more tests.
8417 (catanh_test): Likewise.
8418 * sysdeps/i386/fpu/libm-test-ulps: Update.
8419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8420
8421 2013-04-27 Andreas Jaeger <aj@suse.de>
8422
8423 [BZ #15007]
8424 * stdlib/stdlib.h: Update guards for qecvt.
8425 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8426 <stdlib.h>.
8427
8428 2013-04-27 Allan McRae <allan@archlinux.org>
8429
8430 * sysdeps/i386/fpu/libm-test-ulps: Update.
8431
8432 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8433
8434 [BZ #15406]
8435 * math/s_catan.c: Include <float.h>.
8436 (__catan): Ensure underflow exception occurs for underflowed
8437 result.
8438 * math/s_catanf.c: Include <float.h>.
8439 (__catanf): Ensure underflow exception occurs for underflowed
8440 result.
8441 * math/s_catanh.c: Include <float.h>.
8442 (__catanh): Ensure underflow exception occurs for underflowed
8443 result.
8444 * math/s_catanhf.c: Include <float.h>.
8445 (__catanhf): Ensure underflow exception occurs for underflowed
8446 result.
8447 * math/s_catanhl.c: Include <float.h>.
8448 (__catanhl): Ensure underflow exception occurs for underflowed
8449 result.
8450 * math/s_catanl.c: Include <float.h>.
8451 (__catanl): Ensure underflow exception occurs for underflowed
8452 result.
8453 * math/libm-test.inc (catan_test): Add more tests.
8454 (catanh_test): Likewise.
8455
8456 [BZ #15405]
8457 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8458 underflowed result.
8459 * math/s_ccoshf.c (__ccoshf): Likewise.
8460 * math/s_ccoshl.c (__ccoshl): Likewise.
8461 * math/s_csin.c (__csin): Likewise.
8462 * math/s_csinf.c (__csinf): Likewise.
8463 * math/s_csinh.c (__csinh): Likewise.
8464 * math/s_csinhf.c (__csinhf): Likewise.
8465 * math/s_csinhl.c (__csinhl): Likewise.
8466 * math/s_csinl.c (__csinl): Likewise.
8467 * math/libm-test.inc (ccos_test): Add more tests.
8468 (ccosh_test): Likewise.
8469 (csin_test): Likewise.
8470 (csinh_test): Likewise.
8471
8472 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8473
8474 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8475 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8476 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8477 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8478 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8479 powerpc/power5+/fpu folders.
8480 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8481
8482
8483 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8484
8485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8486
8487 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8488
8489 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8490 additions to variable.
8491 [$(config-machine) = x86_64] (modules-names): Likewise.
8492 ($(objpfx)tst-audit3): Remove dependency.
8493 ($(objpfx)tst-audit3.out): Likewise.
8494 ($(objpfx)tst-audit4): Likewise.
8495 ($(objpfx)tst-audit4.out): Likewise.
8496 ($(objpfx)tst-audit5): Likewise.
8497 ($(objpfx)tst-audit5.out): Likewise.
8498 ($(objpfx)tst-audit6): Likewise.
8499 ($(objpfx)tst-audit6.out): Likewise.
8500 ($(objpfx)tst-audit7): Likewise.
8501 ($(objpfx)tst-audit7.out): Likewise.
8502 (tst-audit3-ENV): Remove variable.
8503 (tst-audit4-ENV): Likewise.
8504 (tst-audit5-ENV): Likewise.
8505 (tst-audit6-ENV): Likewise.
8506 (tst-audit7-ENV): Likewise.
8507 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8508 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8509 addition to variable.
8510 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8511 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8515 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8516 tst-audit3, tst-audit4 and tst-audit5.
8517 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8518 tst-audit6 and tst-audit7.
8519 [$(subdir) = elf] (modules-names): Add audit modules for those
8520 tests.
8521 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8522 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8523 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8524 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8525 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8526 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8527 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8528 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8529 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8530 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8531 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8532 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8533 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8534 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8535 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8536 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8537 Likewise.
8538 [$(subdir) = elf && $(config-cflags-avx) = yes]
8539 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8540 [$(subdir) = elf && $(config-cflags-avx) = yes]
8541 (CFLAGS-tst-auditmod4a.c): Likewise.
8542 [$(subdir) = elf && $(config-cflags-avx) = yes]
8543 (CFLAGS-tst-auditmod4b.c): Likewise.
8544 [$(subdir) = elf && $(config-cflags-avx) = yes]
8545 (CFLAGS-tst-auditmod6b.c): Likewise.
8546 [$(subdir) = elf && $(config-cflags-avx) = yes]
8547 (CFLAGS-tst-auditmod6c.c): Likewise.
8548 [$(subdir) = elf && $(config-cflags-avx) = yes]
8549 (CFLAGS-tst-auditmod7b.c): Likewise.
8550 * elf/tst-audit3.c: Move to ...
8551 * sysdeps/x86_64/tst-audit3.c: ... here.
8552 * elf/tst-audit4.c: Move to ...
8553 * sysdeps/x86_64/tst-audit4.c: ... here.
8554 * elf/tst-audit5.c: Move to ...
8555 * sysdeps/x86_64/tst-audit5.c: ... here.
8556 * elf/tst-audit6.c: Move to ...
8557 * sysdeps/x86_64/tst-audit6.c: ... here.
8558 * elf/tst-audit7.c: Move to ...
8559 * sysdeps/x86_64/tst-audit7.c: ... here.
8560 * elf/tst-auditmod3a.c: Move to ...
8561 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8562 * elf/tst-auditmod3b.c: Move to ...
8563 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8564 * elf/tst-auditmod4a.c: Move to ...
8565 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8566 * elf/tst-auditmod4b.c: Move to ...
8567 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8568 * elf/tst-auditmod5a.c: Move to ...
8569 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8570 * elf/tst-auditmod5b.c: Move to ...
8571 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8572 * elf/tst-auditmod6a.c: Move to ...
8573 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8574 * elf/tst-auditmod6b.c: Move to ...
8575 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8576 * elf/tst-auditmod6c.c: Move to ...
8577 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8578 * elf/tst-auditmod7a.c: Move to ...
8579 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8580 * elf/tst-auditmod7b.c: Move to ...
8581 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8582
8583 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8584
8585 [BZ #15366]
8586 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8587 define unconditionally.
8588 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8589 define unconditionally.
8590 (INT8_C, INT16_C, etc.): Likewise.
8591
8592 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8593
8594 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8595 __ehdr_start with hidden visibility.
8596
8597 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8598
8599 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8600
8601 * math/libm-test.inc (cos_test): Use accurate hex constants.
8602 (sincost_test): Likewise.
8603
8604 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8605
8606 * math/libm-test.inc (catan_test): Add more tests.
8607 (catanh_test): Likewise.
8608
8609 * math/s_catanf.c (__catanf): Use suffixed floating-point
8610 constants.
8611 * math/s_catanhf.c (__catanhf): Likewise.
8612 * math/s_catanhl.c (__catanhl): Likewise.
8613 * math/s_catanl.c (__catanl): Likewise.
8614
8615 [BZ #15394]
8616 * math/s_catan.c (__catan): Calculate imaginary part of result
8617 with log1p not log unless computing log of number close to 0.
8618 * math/s_catanf.c (__catanf): Likewise.
8619 * math/s_catanl.c (__catanl): Likewise.
8620 * math/s_catanh.c (__catanh): Calculate real part of result with
8621 log1p not log unless computing log of number close to 0.
8622 * math/s_catanhf.c (__catanhf): Likewise.
8623 * math/s_catanhl.c (__catanhl): Likewise.
8624 * math/libm-test.inc (catan_test): Add more tests.
8625 (catanh_test): Likewise.
8626 * sysdeps/i386/fpu/libm-test-ulps: Update.
8627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628
8629 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
8631 * benchtests/Makefile: Mention files in which fast and slow
8632 paths of math functions are implemented.
8633
8634 2013-04-23 Roland McGrath <roland@hack.frob.com>
8635
8636 * sysdeps/posix/timespec_get.c: New file.
8637
8638 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8639
8640 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8641 POWER.
8642 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8643 for POWER.
8644 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8645 powerpc/power5/fpu folders.
8646 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8647 * benchtests/Makefile: Add modf testcase.
8648 * benchtests/bench-modf.c: New file: Benchmark test for mo
8649
8650 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8651
8652 [BZ #14888]
8653 * time/Makefile (tests): Add tst-strptime-whitespace.
8654 * time/strptime_l.c (get_number): Use ISSPACE.
8655 (__strptime_internal): Likewise.
8656 * time/tst-strptime-whitespace.c: New test case.
8657
8658 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8659
8660 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8661 member.
8662 (_nss_files_init): Set it here.
8663
8664 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8665
8666 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8667 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8668 unsigned.
8669
8670 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8671
8672 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8673
8674 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
8676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8677 size just once.
8678
8679 2013-04-21 David S. Miller <davem@davemloft.net>
8680
8681 * po/ru.po: Update Russion translation from translation project.
8682
8683 2013-04-17 Adam Conrad <adconrad@0c3.net>
8684
8685 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8686 and setfsgid.
8687
8688 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8689
8690 * configure.in: Remove i386 configure warning. Remove i386 case.
8691 * configure: Regenerate.
8692 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8693 Add example to error message.
8694 * sysdeps/i386/configure: Regenerate.
8695
8696 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8697
8698 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8699 slowtan.
8700 * benchtests/cos-inputs: New file.
8701 * benchtests/slowcos-inputs: New file.
8702 * benchtests/slowcos.c: New file.
8703 * benchtests/slowtan-inputs: New file.
8704 * benchtests/slowtan.c: New file.
8705 * benchtests/tan-inputs: New file.
8706
8707 2013-04-16 Roland McGrath <roland@hack.frob.com>
8708
8709 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8710 considered kosher.
8711
8712 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8713
8714 * benchtests/Makefile: Include cppflags-iterator.mk to add
8715 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8716
8717 * Makefile.in (bench-clean): New target.
8718 * benchtests/Makefile (bench-clean): Likewise.
8719
8720 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8721
8722 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8723
8724 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8725
8726 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8727
8728 2013-04-15 Andreas Schwab <schwab@suse.de>
8729
8730 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8732 * nscd/pwdcache.c (cache_addpw): Likewise.
8733 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8734 more than recsize.
8735
8736 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8737
8738 * benchtests/Makefile (bench): Write all output to
8739 bench-out.tmp together.
8740
8741 2013-04-15 Andreas Schwab <schwab@suse.de>
8742
8743 * nscd/nscd.c (main): Don't fork again after closing files.
8744
8745 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8746
8747 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8748
8749 * benchtests/Rules (bench-deps): Collect dependencies into a
8750 single variable. Add Makefile to dependencies.
8751 ($(objpfx)bench-%.c): Depend on bench-deps.
8752
8753 2013-04-12 Roland McGrath <roland@hack.frob.com>
8754 Xavier Roche <roche+kml2@exalead.com>
8755
8756 [BZ #15361]
8757 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8758 just that it's a file descriptor.
8759 * manual/llio.texi (Synchronizing AIO Operations): Update description
8760 for EBADF error from aio_fsync.
8761
8762 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
8764 * Rules (bench): Move target definition...
8765 * benchtests/Makefile: ... here.
8766
8767 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8768
8769 * math/libm-test.inc (cos_test): Fix PI/2 test.
8770 (sincos_test): Likewise.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8772 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8773
8774 2013-04-11 Andreas Schwab <schwab@suse.de>
8775
8776 [BZ #13988]
8777 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8778 accept exponent character only when digits were seen.
8779 * stdio-common/Makefile (tests): Add bug26.
8780 * stdio-common/bug26.c: New file.
8781
8782 [BZ #14293]
8783 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8784 non-freeable.
8785
8786 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8787
8788 * Makeconfig (rtld-prefix): Define built linker prefix.
8789 * Rules (run-bench): Use it.
8790 * math/Makefile (run-regen-ulps): Likewise.
8791
8792 * Rules (bench): Remove eval.
8793
8794 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8795 Roland McGrath <roland@hack.frob.com>
8796 Ondrej Bilka <neleai@seznam.cz>
8797
8798 [BZ #15346]
8799 * time/getdate.c: Include ctype.h and alloca.h.
8800 (__getdate_r): Trim leading and trailing spaces of input.
8801 * time/tst-getdate.c (tests): Add tests with leading and
8802 trailing spaces.
8803
8804 2013-04-08 Roland McGrath <roland@hack.frob.com>
8805
8806 [BZ #14280]
8807 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8808 when computing value.
8809
8810 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8811
8812 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8813 Use testrun.sh to run libm tests.
8814
8815 [BZ #15309]
8816 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8817
8818 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8819
8820 [BZ #15264]
8821 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8822
8823 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8824
8825 * Makefile.in (regen-ulps): New target.
8826 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8827 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8828 [ifneq (no,$(PERL)] (regen-ulps): New target.
8829 [ifeq (no,$(PERL)] (regen-ulps): New target.
8830 * math/libm-test.inc (ulps_file_name): Define.
8831 (output_dir): New variable.
8832 (options): Add "output-dir" option.
8833 (parse_opt): Handle 'o' case.
8834 (main): If output_dir is non-NULL use it as a prefix
8835 otherwise use "".
8836 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8837
8838 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8839
8840 [BZ #10060, #10062]
8841 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8842 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8843 fail configure if __sync_val_compare_and_swap is not inlined.
8844 * sysdeps/i386/configure: Regenerate.
8845 * configure.in: Build for i686 when configured for i386.
8846 * configure: Regenerate.
8847 * README: Remove i386 reference.
8848
8849 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8850
8851 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8853
8854 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8855
8856 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8857 (lmsnanval): New variables.
8858 (F): Add conversion tests.
8859 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8860 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8861
8862 * stdio-common/tstdiomisc.c (F): Properly collect individual
8863 tests' results.
8864
8865 [BZ #14686, #15336]
8866 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8867 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8868 Instead, use input NaN values or generate a qNaN by arithmetic
8869 operation. Also fix bugs to comply with the standard.
8870 * math/libm-test.inc (remainder_test): Add more tests.
8871
8872 [BZ #15335, #15342]
8873 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8875 input NaN values or generate a qNaN by arithmetic operation.
8876
8877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8878 unreachable code.
8879
8880 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8881 definitions.
8882
8883 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8884
8885 [BZ #14478]
8886 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8887 underflowed result.
8888 * math/s_cexpf.c (__cexpf): Likewise.
8889 * math/s_cexpl.c (__cexpl): Likewise.
8890 * math/libm-test.inc (cexp_test): Add more tests.
8891
8892 2013-04-03 Andreas Schwab <schwab@suse.de>
8893
8894 [BZ #15330]
8895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8896 order arrays from heap if bigger than alloca cutoff.
8897
8898 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8899
8900 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8901 (SNAN_TESTS_double): Refer to GCC PR56831.
8902 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8903 GCC PR56828.
8904
8905 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8906
8907 * Rules (bench): Move bench.out after the run is complete.
8908
8909 * Rules (bench): Echo currently running benchmark.
8910
8911 * benchtests/Makefile (bench): Add atan and slowatan.
8912 * benchtests/atan-inputs: New file.
8913 * benchtests/slowatan-inputs: New file.
8914 * benchtests/slowatan.c: New file.
8915
8916 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8918 its value.
8919
8920 [BZ #15305]
8921 * sysdeps/unix/sysv/linux/kernel-features.h
8922 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8923 __ASSUME_XFS_RESTRICTED_CHOWN.
8924 * sysdeps/unix/sysv/linux/pathconf.c
8925 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8926 Save and restore errno.
8927
8928 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8929
8930 [BZ #15327]
8931 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8932 arguments using __kernel_casinh.
8933 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8934 arguments using __kernel_casinhf.
8935 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8936 arguments using __kernel_casinhl.
8937 * math/libm-test.inc (cacosh_test): Add more tests.
8938 * sysdeps/i386/fpu/libm-test-ulps: Update.
8939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940
8941 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8942
8943 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8945
8946 * bench/Makefile (bench): Add sin and slowsin.
8947 * benchtests/sin-inputs: New file.
8948 * benchtests/slowsin-inputs: New file.
8949 * benchtests/slowsin.c: New file.
8950
8951 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8952 (bench): Add slowexp and slowpow.
8953 (exp-ITER): Increase iterations.
8954 (pow-ITER): Likewise.
8955 * benchtests/exp-inputs: Change input.
8956 * benchtests/pow-inputs: Likewise.
8957 * benchtests/slowexp-inputs: New file.
8958 * benchtests/slowexp.c: New file.
8959 * benchtests/slowpow-inputs: New file.
8960 * benchtests/slowpow.c: New file.
8961
8962 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963
8964 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8965 instructions.
8966 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8967 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8968 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8969 * benchtests/Makefile: Add rint benchtest.
8970 * benchtests/rint-inputs: Input for rint benchtest.
8971
8972 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8973
8974 * Versions.def (libm): Add GLIBC_2.18.
8975 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8976 hidden libm prototypes.
8977 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8978 * math/Makefile (libm-calls): Add s_issignaling.
8979 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8980 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8981 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8982 declaration.
8983 * math/math.h [__USE_GNU] (issignaling): New macro.
8984 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8985 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8990 * manual/arith.texi (issignaling): New section.
8991 * manual/libm-err-tab.pl (@all_functions): Update comment.
8992 * math/gen-libm-test.pl (parse_args): Apply special handling for
8993 issignaling.
8994 * math/libm-test.inc (print_float, issignaling_test): New
8995 functions.
8996 (check_float_internal): Add issignaling checks.
8997 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8998 default definition.
8999 * sysdeps/powerpc/math-tests.h: New file.
9000 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9001 tests.
9002 * math/test-snan.c (TEST_FUNC): Likewise.
9003
9004 2013-03-30 David S. Miller <davem@davemloft.net>
9005
9006 * po/de.po: Update from translation team.
9007
9008 2013-03-30 Joseph Myers <joseph@codesourcery.com>
9009
9010 [BZ #10357]
9011 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9012 imaginary part less than 1.0 and real part less than 0.5
9013 specially.
9014 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9015 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9016 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9017 (cacos_test): Add more tests.
9018 (casin_test): Likewise.
9019 (casinh_test): Likewise.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9022
9023 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9024
9025 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9026 ONE with its value.
9027
9028 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9029 (__pow_mp): Replace ONE and MONE with their values.
9030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9033 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9034 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9036
9037 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9038
9039 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9040 (__pow_mp): Replace ZERO and MZERO with their values.
9041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9042 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9043 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9045 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9046 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9047 (__sqr): Likewise.
9048
9049 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9050
9051 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9052
9053 2013-03-28 Roland McGrath <roland@hack.frob.com>
9054
9055 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9056 Declare with __attribute__ ((weak)).
9057 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9058 Call __call_tls_dtors only if it's not NULL.
9059
9060 2013-03-28 Roland McGrath <roland@hack.frob.com>
9061
9062 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9063 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9064 magic __ehdr_start linker symbol if it's defined.
9065 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9066 them up here if it was already done.
9067
9068 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9069 (_dl_aux_init): Use const in cast when setting it.
9070 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9071 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9072 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9073
9074 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9075 Declare them here.
9076 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9077 * csu/libc-tls.c: Nor here.
9078 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9079
9080 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9081 (__libc_message): Never call vsyslog.
9082
9083 2013-03-28 Alan Modra <amodra@gmail.com>
9084
9085 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9086 Define as empty.
9087 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9088 Likewise.
9089
9090 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091
9092 [BZ #15214]
9093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9094 underflow.
9095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9096
9097 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9098
9099 [BZ #15304]
9100 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9101 Don't add gid passed as argument.
9102
9103 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9104
9105 2013-03-27 Joseph Myers <joseph@codesourcery.com>
9106
9107 [BZ #15307]
9108 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9109 imaginary part between 1.0 and 1.5 and real part less than 0.5
9110 specially.
9111 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9112 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9113 * math/libm-test.inc (cacos_test): Add more tests.
9114 (casin_test): Likewise.
9115 (casinh_test): Likewise.
9116 * sysdeps/i386/fpu/libm-test-ulps: Update.
9117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9118
9119 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9120
9121 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9122 constants.
9123 (norm): Likewise.
9124 (denorm): Likewise.
9125 (__dbl_mp): Likewise.
9126 (add_magnitudes): Likewise.
9127 (sub_magnitudes): Likewise.
9128 (__add): Likewise.
9129 (__sub): Likewise.
9130 (__mul): Likewise.
9131 (__sqr): Likewise.
9132 (__inv): Likewise.
9133 (__dvd): Likewise.
9134
9135 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9136 commented code.
9137 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9138 (__dubcos): Likewise.
9139 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9140 (__ieee754_acos): Likewise.
9141 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9143 (__exp1): Likewise.
9144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9146 (log1): Likewise.
9147 (my_log2): Likewise.
9148 (checkint): Likewise.
9149 * sysdeps/ieee754/dbl-64/e_remainder.c
9150 (__ieee754_remainder): Likewise.
9151 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9153 (bsloww): Likewise.
9154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9155
9156 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9157 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9158 MANTISSA_STORE_T to store computations on mantissa. Use
9159 macros for rounding and division.
9160 (denorm): Likewise.
9161 (__dbl_mp): Likewise.
9162 (add_magnitudes): Likewise.
9163 (sub_magnitudes): Likewise.
9164 (__mul): Likewise.
9165 (__sqr): Likewise.
9166 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9167 powers of two in terms of TWOPOW macro.
9168 (mp_no): Make type of mantissa as MANTISSA_T.
9169 [!RADIXI]: Define RADIXI.
9170 [!TWO52]: Define TWO52.
9171 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9172
9173 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9174
9175 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9176 llroundl symbol when building for PPC32.
9177
9178 2013-03-24 Mark H Weaver <mhw@netris.org>
9179
9180 * manual/arith.texi (Normalization Functions): Fix prototypes for
9181 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9182
9183 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9184
9185 [BZ #13889]
9186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9187 high value to check if expl overflow.
9188 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9189 to check for underflow and overflow.
9190 * math/libm-test.inc: Add exp test.
9191
9192 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9193
9194 [BZ #11120]
9195 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9196 with NOT_IN_libc.
9197
9198 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9199
9200 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9201 symbol.
9202
9203 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9204
9205 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9206 wrap blocks consisting of several statements.
9207
9208 * sysdeps/generic/math-tests.h: New file.
9209 * sysdeps/i386/fpu/math-tests.h: Likewise.
9210 * math/test-snan.c: Include it.
9211 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9212
9213 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9214
9215 [BZ #15285]
9216 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9217 (__ieee754_j0l): Do not improve calculations using cos of twice
9218 input for inputs above LDBL_MAX / 2.0L.
9219 (__ieee754_y0l): Likewise.
9220 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9221 (__ieee754_j1l): Do not improve calculations using cos of twice
9222 input for inputs above LDBL_MAX / 2.0L.
9223 (__ieee754_y1l): Likewise.
9224 * math/libm-test.inc (j0_test): Add another test.
9225 (j1_test): Likewise.
9226 (y0_test): Likewise.
9227 (y1_test): Likewise.
9228 * sysdeps/i386/fpu/libm-test-ulps: Update.
9229
9230 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
9232 * Rules ($(objpfx)bench-%.c): Include code from a C source
9233 file.
9234
9235 2013-03-21 Joseph Myers <joseph@codesourcery.com>
9236
9237 [BZ #15287]
9238 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9239 imaginary part 1.0 and real part less than 0.5 specially.
9240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9242 * math/libm-test.inc (cacos_test): Add more tests.
9243 (casin_test): Likewise.
9244 (casinh_test): Likewise.
9245 * sysdeps/i386/fpu/libm-test-ulps: Update.
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9247
9248 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9249
9250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9251 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9252
9253 2013-03-20 Joseph Myers <joseph@codesourcery.com>
9254
9255 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9256 * config.make.in (config-cflags-sse4): Remove variable.
9257 (config-cflags-avx): Likewise.
9258 (config-cflags-sse2avx): Likewise.
9259 (config-cflags-novzeroupper): Likewise.
9260 (config-asflags-i686): Likewise.
9261 (have-mfma4): Likewise.
9262 (have-as-vis3): Likewise.
9263 (MIG): Likewise.
9264 * configure.in (MIG): Do not AC_SUBST.
9265 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9266 (libc_cv_cc_sse4): Do not AC_SUBST.
9267 (libc_cv_cc_avx): Likewise.
9268 (libc_cv_cc_sse2avx): Likewise.
9269 (libc_cv_cc_novzeroupper): Likewise.
9270 (libc_cv_cc_fma4): Likewise.
9271 (libc_cv_as_i686): Likewise.
9272 (libc_cv_sparc_as_vis3): Likewise.
9273 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9274 LIBC_CONFIG_VAR.
9275 (config-asflags-i686): Likewise.
9276 (config-cflags-avx): Likewise.
9277 (config-cflags-sse2avx): Likewise.
9278 (have-mfma4): Likewise.
9279 (config-cflags-novzeroupper): Likewise.
9280 * sysdeps/mach/configure.in (MIG): Likewise.
9281 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9282 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9283 LIBC_CONFIG_VAR.
9284 (config-cflags-avx): Likewise.
9285 (config-cflags-sse2avx): Likewise.
9286 (have-mfma4): Likewise.
9287 (config-cflags-novzeroupper): Likewise.
9288 * configure: Regenerated.
9289 * sysdeps/i386/configure: Likewise.
9290 * sysdeps/mach/configure: Likewise.
9291 * sysdeps/sparc/configure: Likewise.
9292 * sysdeps/x86_64/configure: Likewise.
9293
9294 2013-03-20 Roland McGrath <roland@hack.frob.com>
9295
9296 [BZ #14812]
9297 * locale/programs/localedef.c (options): Put N_ translation marker
9298 on argument names, not just descriptions.
9299
9300 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9301
9302 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9303
9304 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
9305
9306 [BZ #14176]
9307 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9308
9309 2013-03-19 Roland McGrath <roland@hack.frob.com>
9310
9311 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9312 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9313 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9314 [!BEFORE_ABORT] (before_abort): New function.
9315 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9316 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9317 (writev_for_fatal): New function.
9318 (WRITEV_FOR_FATAL): New macro; call that.
9319 (backtrace_and_maps): New function.
9320 (BEFORE_ABORT): New macro; call that.
9321 (struct str_list): Type removed.
9322 (__libc_message, __libc_fatal): Functions removed.
9323 Include <sysdeps/posix/libc_fatal.c> instead.
9324
9325 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9326
9327 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9328 constants.
9329 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9330 double constants.
9331
9332 2013-03-19 Andreas Schwab <schwab@suse.de>
9333
9334 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9335 * sysdeps/gnu/configure: Regenerate.
9336
9337 * configure.in: Substitute libc_cv_rtlddir.
9338 * configure: Regenerate.
9339 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9340 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9341 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9342 * elf/Makefile (install-others, CFLAGS-interp.c)
9343 (ldso_install, common-ldd-rewrite): Likewise.
9344 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9345 $(inst_slibdir)/$(rtld-installed-name).
9346 * scripts/rellns-sh: Add -p option.
9347 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9348 for source.
9349
9350 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9351
9352 * manual/nptl.texi: Renamed to ...
9353 * manual/threads.texi: ... this.
9354 * manual/Makefile (chapters): Update.
9355
9356 2013-03-18 Roland McGrath <roland@hack.frob.com>
9357
9358 [BZ #14812]
9359 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9360 on argument names, not just descriptions.
9361 * malloc/memusagestat.c (options): Likewise.
9362 * nss/getent.c (options): Likewise.
9363
9364 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9365
9366 [BZ #14812]
9367 * iconv/iconv_prog.c (options): Put N_ translation marker
9368 on argument names, not just descriptions.
9369 * iconv/iconvconfig.c (options): Likewise.
9370
9371 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9372
9373 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9374 implementation which is faster on all x86_64 architectures.
9375 Tested on AMD, Intel Nehalem, SNB, IVB.
9376 * sysdeps/x86_64/strnlen.S: Likewise.
9377
9378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9379 Remove all multiarch strlen and strnlen versions.
9380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9381 Remove strlen and strnlen related parts.
9382
9383 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9384 Inline strlen part.
9385 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9386
9387 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9388 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9389 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9390 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9391 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9392 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9393
9394 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9395
9396 * manual/memory.texi (Malloc Tunable Parameters):
9397 Sort parameters alphabetically. Add comments for missing entries.
9398
9399 2013-03-17 David S. Miller <davem@davemloft.net>
9400
9401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9402
9403 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9404
9405 [BZ #15283]
9406 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9407 for arguments at most half maximum finite value.
9408 * math/libm-test.inc (j0_test): Add more tests.
9409 (j1_test): Likewise.
9410 (y0_test): Likewise.
9411 (y1_test): Likewise.
9412 * sysdeps/i386/fpu/libm-test-ulps: Update.
9413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414
9415 [BZ #14155]
9416 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9417 1 / x and functions P and Q for arguments above 0x1p256L.
9418 (__ieee754_y0l): Likewise.
9419 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9420 (__ieee754_y1l): Likewise.
9421 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9422 (j1_test): Likewise.
9423 (y0_test): Likewise.
9424 (y1_test): Likewise.
9425
9426 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9427
9428 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9429 variable.
9430
9431 2013-03-15 Roland McGrath <roland@hack.frob.com>
9432
9433 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9434 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9435 zero since it's initialized to EXEC_PAGESIZE.
9436
9437 * sysdeps/unix/sysv/linux/ldsodefs.h
9438 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9439 * sysdeps/generic/ldsodefs.h: ... here.
9440
9441 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9442
9443 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9444
9445 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9446 math/test-snan.c.
9447 * math/test-snan.c: Renamed from
9448 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9449 * math/Makefile (tests): Add test-snan.
9450 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9451 test-powerpc-snan.
9452
9453 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9454 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9455 functions.
9456 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9457 __builtin_nan family of functions.
9458 * math/libm-test.inc (initialize): Initialize qnan_value with
9459 __builtin_nan family of functions.
9460 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9461 Remove variables.
9462 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9463 Remove functions.
9464 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9465 storage class. Initialize qNaN_var and sNaN_var with
9466 __builtin_nan and __builtin_nans families of functions,
9467 respectively.
9468
9469 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9470 (sqrt_test): Remove duplicate test with qNaN input.
9471 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9472 (round_test, signbit_test, significand_test): Note missing +/-Inf
9473 as well as qNaN tests.
9474
9475 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9476 qNaN_var. Fix a few strings, too.
9477 * math/libm-test.inc (nan_value): Rename to qnan_value.
9478 * math/gen-libm-test.pl (%beautify): Adjust to that.
9479 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9480 * math/test-misc.c (main): Likewise.
9481 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9482 to __qnan_bytes, and __qnan_union, respectively.
9483 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9484 Likewise.
9485 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9486 and lqnanval, respectively.
9487 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9488 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9489 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9490 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9491
9492 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9493 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9494 doubles.
9495
9496 * math/test-misc.c (main): Fix copy'n'pastos.
9497 * misc/tst-efgcvt.c (special): Likewise.
9498
9499 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9500 Remove declarations.
9501
9502 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
9504 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9505 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9506 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9507 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9508
9509 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510
9511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9512 macro to return vdso values correctly in IFUNC implementations.
9513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9514 Optimization by using IFUNC.
9515
9516 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9517 Richard Henderson <rth@redhat.com>
9518 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9519
9520 * Makefile.in (bench): New target.
9521 * NEWS: Mention the benchmark framework.
9522 * Rules (bench): Likewise.
9523 (binaries-bench): Generate binaries for functions to
9524 benchmark.
9525 * benchtests/Makefile: New makefile for benchmark tests.
9526 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9527 programs.
9528 * benchtests/exp-inputs: New input file for EXP function.
9529 * benchtests/pow-inputs: New input file for POW function.
9530 * scripts/bench.pl: New script to generate source files for
9531 benchmark programs.
9532
9533 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9534
9535 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9536 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9537 computations on mantissa. Use macros for rounding and
9538 division.
9539 (denorm): Likewise.
9540 (__dbl_mp): Likewise.
9541 (add_magnitudes): Likewise.
9542 (sub_magnitudes): Likewise.
9543 (__mul): Likewise.
9544 (__sqr): Likewise.
9545 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9546 powers of two in terms of TWOPOW macro.
9547 (mp_no): Make type of mantissa as MANTISSA_T.
9548 [!RADIXI]: Define RADIXI.
9549 [!TWO52]: Define TWO52.
9550 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9551
9552 * manual/nptl.texi (cindex): Modify threads to pthreads.
9553
9554 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9555
9556 * sysdeps/x86_64/preconfigure: Regenerated.
9557
9558 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9559
9560 [BZ #14155]
9561 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9562 0x1p28 and above.
9563 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9564 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9565 0x1p28 and above.
9566 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9567 * math/libm-test.inc (j0_test): Do not allow one spurious
9568 underflow exception.
9569 (y1_test): Likewise.
9570
9571 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9572
9573 * manual/Makefile (chapters): Add nptl.
9574 * manual/debug.texi (Debugging Support): Add link to Threads
9575 chapter.
9576 * manual/nptl.texi: New file.
9577
9578 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9579
9580 2013-03-14 Petr Baudis <pasky@ucw.cz>
9581
9582 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9583 for non-NULL pointer before the memory validity test. Pointed
9584 out by Holger Brunck <holger.brunck@keymile.com>.
9585
9586 2013-03-13 Andreas Schwab <schwab@suse.de>
9587
9588 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9589 instead of .os.
9590
9591 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9592
9593 * timezone/zic.c: Update from tzcode 2013b.
9594
9595 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9596
9597 * manual/install.texi (Configuring and compiling):
9598 Mention i686 and i586.
9599 * INSTALL: Regenerate.
9600
9601 2013-03-12 Roland McGrath <roland@hack.frob.com>
9602
9603 * sysdeps/init_array/elf-init.c: New file.
9604 * csu/elf-init.c
9605 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9606 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9607
9608 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9609 __gmon_start__ as global, but as static with a .preinit_array pointer.
9610 * sysdeps/init_array/gmon-start.c: New file. Use that.
9611 * sysdeps/init_array/crti.S: New file, empty except for comments.
9612 * sysdeps/init_array/crtn.S: Likewise.
9613
9614 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9615
9616 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9617 definining bcopy.
9618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9619 Remove Prefer_SSE_for_memop.
9620 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9621 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9622 HAS_PREFER_SSE_FOR_MEMOP.
9623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9624 memset-x86-64.
9625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9626 Remove bzero, memset ifunc support.
9627 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9628 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9629 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9630 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9631
9632 2013-03-11 Andreas Schwab <schwab@suse.de>
9633
9634 [BZ #15234]
9635 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9636 by SHLIB_COMPAT.
9637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9638 (GLIBC_2.16): Remove pthread_atfork.
9639
9640 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9641
9642 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9643 (ptestcases.h): Likewise.
9644
9645 2013-03-08 Roland McGrath <roland@hack.frob.com>
9646
9647 * Makeconfig ($(common-objpfx)config.status): Depend on
9648 sysdeps/*/preconfigure{,.in} too.
9649
9650 2013-03-08 Joseph Myers <joseph@codesourcery.com>
9651
9652 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9653 (__free_hook): Use void * instead of __malloc_ptr_t.
9654 (__malloc_hook): Likewise.
9655 (__realloc_hook): Likewise.
9656 (__memalign_hook): Likewise.
9657 (__after_morecore_hook): Likewise.
9658 * malloc/arena.c (save_malloc_hook): Likewise.
9659 (save_free_hook): Likewise.
9660 * malloc/hooks.c (malloc_hook_ini): Likewise.
9661 (realloc_hook_ini): Likewise.
9662 (memalign_hook_ini): Likewise.
9663 * malloc/malloc.c (malloc_hook_ini): Likewise.
9664 (realloc_hook_ini): Likewise.
9665 (memalign_hook_ini): Likewise.
9666 (__free_hook): Likewise.
9667 (__malloc_hook): Likewise.
9668 (__realloc_hook): Likewise.
9669 (__memalign_hook): Likewise.
9670 (__libc_malloc): Likewise.
9671 (__libc_free): Likewise.
9672 (__libc_realloc): Likewise.
9673 (__libc_memalign): Likewise.
9674 (__libc_valloc): Likewise.
9675 (__libc_pvalloc): Likewise.
9676 (__libc_calloc): Likewise.
9677 (__posix_memalign): Likewise.
9678 * malloc/morecore.c (__sbrk): Likewise.
9679 (__default_morecore): Likewise.
9680
9681 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9682
9683 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9684 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9685 __malloc_ptrdiff_t.
9686
9687 * malloc/malloc.h (__malloc_size_t): Remove macro.
9688 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9689 __malloc_size_t.
9690 (old_memalign_hook): Likewise.
9691 (old_realloc_hook): Likewise.
9692 (struct hdr): Likewise.
9693 (flood): Likewise.
9694 (mallochook): Likewise.
9695 (memalignhook): Likewise.
9696 (reallochook): Likewise.
9697 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9698 (tr_old_realloc_hook): Likewise.
9699 (tr_old_memalign_hook): Likewise.
9700 (tr_mallochook): Likewise.
9701 (tr_reallochook): Likewise.
9702 (tr_memalignhook): Likewise.
9703
9704 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705
9706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9707 default_ldbl_pack and using as default implementation.
9708 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9709 implementation.
9710 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9711 redundant definition.
9712 (ldbl_insert_mantissa): Likewise.
9713 (ldbl_canonicalize): Likewise.
9714 (ldbl_nearbyint): Likewise.
9715 (ldbl_pack): Rename to ldbl_pack_ppc.
9716 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9717 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9718 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9719
9720 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9721
9722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9723 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9725 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9727 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9728 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9729 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9730
9731 2013-03-07 Andreas Jaeger <aj@suse.de>
9732
9733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9734 bits/mman-linux.h.
9735
9736 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9737
9738 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9739 Include mpa.h and declare __MPEXP.
9740 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9742 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9745 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9747
9748 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9749 (__slowpow): Use long double EXPL and LOGL functions to
9750 compute POW.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9752 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9755 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9757
9758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9759 intermediate variable to calculate exponent.
9760 (__sqr): Likewise.
9761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9762 Likewise.
9763 (__sqr): Likewise.
9764
9765 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9766 [!NO__SQR]: Define __sqr.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9768 and NO__SQR. Remove all code except __mul and __sqr. Include
9769 sysdeps/ieee754/dbl-64/mpa.c.
9770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9771
9772 [BZ #12723]
9773 * posix/Makefile (tests): Add tst-pathconf.
9774 * posix/tst-pathconf.c: New test case.
9775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9776 _PC_PIPE_BUF.
9777 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9778
9779 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9780
9781 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9782
9783 2013-03-06 Andreas Jaeger <aj@suse.de>
9784
9785 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9786 definition via __MAP_ANONYMOUS.
9787
9788 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9789 it's not part of Linux headers.
9790
9791 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9792 (MAP_HUGE_MASK): Define.
9793
9794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9795 Define.
9796 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9798 Define.
9799 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9800 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9801 Define.
9802 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9804 Define.
9805 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9806
9807 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9808 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9810 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9811 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9813
9814 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9815 Handle f2fs.
9816
9817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9818 Handle f2fs and efivarfs.
9819
9820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9821 f2fs.
9822
9823 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9824 (EFIVARFS_MAGIC): Add.
9825 (F2FS_LINK_MAX): Add.
9826
9827 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9828
9829 * stdio-common/vfprintf.c: Replace __builtin_expect with
9830 __glibc_unlikely.
9831
9832 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9833
9834 [BZ #13550]
9835 * sysdeps/generic/bp-sym.h: Remove file.
9836 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9837 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9838 <bp-sym.h> and <bp-asm.h>.
9839 (__longjmp): Don't use BP_SYM.
9840 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9841 and <bp-asm.h>.
9842 (memcpy): Don't use BP_SYM.
9843 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9844 <bp-sym.h> and <bp-asm.h>.
9845 (memcpy): Don't use BP_SYM.
9846 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9847 <bp-asm.h>.
9848 (memcpy): Don't use BP_SYM.
9849 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9850 <bp-asm.h>.
9851 (memset): Don't use BP_SYM.
9852 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9853 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9854 (__bzero): Don't use BP_SYM.
9855 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9856 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9857 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9858 <bp-sym.h> and <bp-asm.h>.
9859 (memcmp): Don't use BP_SYM. Remove comment about bounded
9860 pointers.
9861 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9862 <bp-sym.h> and <bp-asm.h>.
9863 (memcpy): Don't use BP_SYM.
9864 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9865 <bp-sym.h> and <bp-asm.h>.
9866 (memset): Don't use BP_SYM.
9867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9869 (__bzero): Don't use BP_SYM.
9870 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9871 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9872 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9873 <bp-sym.h> and <bp-asm.h>.
9874 (strncmp): Don't use BP_SYM. Remove comment about bounded
9875 pointers.
9876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9877 <bp-sym.h> and <bp-asm.h>.
9878 (memcpy): Don't use BP_SYM.
9879 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9880 <bp-sym.h> and <bp-asm.h>.
9881 (memset): Don't use BP_SYM.
9882 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9883 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9884 (__bzero): Don't use BP_SYM.
9885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9888 <bp-sym.h> and <bp-asm.h>.
9889 (__memchr): Don't use BP_SYM.
9890 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9891 <bp-sym.h> and <bp-asm.h>.
9892 (memcmp): Don't use BP_SYM. Remove comment about bounded
9893 pointers.
9894 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9895 <bp-sym.h> and <bp-asm.h>.
9896 (memcpy): Don't use BP_SYM.
9897 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9898 <bp-sym.h> and <bp-asm.h>.
9899 (__mempcpy): Don't use BP_SYM.
9900 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9901 <bp-sym.h> and <bp-asm.h>.
9902 (__memrchr): Don't use BP_SYM.
9903 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9904 <bp-sym.h> and <bp-asm.h>.
9905 (memset): Don't use BP_SYM.
9906 (__bzero): Likewise.
9907 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9908 <bp-sym.h> and <bp-asm.h>.
9909 (__rawmemchr): Don't use BP_SYM.
9910 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9911 <bp-sym.h> and <bp-asm.h>.
9912 (__STRCMP): Don't use BP_SYM.
9913 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9914 <bp-sym.h> and <bp-asm.h>.
9915 (strchr): Don't use BP_SYM.
9916 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9917 <bp-sym.h> and <bp-asm.h>.
9918 (__strchrnul): Don't use BP_SYM.
9919 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9920 <bp-sym.h> and <bp-asm.h>.
9921 (strlen): Don't use BP_SYM.
9922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9923 <bp-sym.h> and <bp-asm.h>.
9924 (strncmp): Don't use BP_SYM. Remove comment about bounded
9925 pointers.
9926 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9927 <bp-sym.h> and <bp-asm.h>.
9928 (__strnlen): Don't use BP_SYM.
9929 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9930 <bp-sym.h> and <bp-asm.h>.
9931 (__GI__setjmp): Don't use BP_SYM.
9932 (_setjmp): Likewise.
9933 (__sigsetjmp): Likewise.
9934 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9935 (L(start_addresses)): Don't use BP_SYM.
9936 (_start): Likewise.
9937 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9938 <bp-asm.h>.
9939 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9940 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9941 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9942 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9943 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9944 <bp-asm.h>.
9945 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9946 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9947 about bounded pointers.
9948 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9949 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9950 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9951 <bp-asm.h>.
9952 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9953 about bounded pointers. Remove GKM FIXME comments.
9954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9955 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9956 <bp-asm.h>.
9957 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9958 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9959 Remove GKM FIXME comments.
9960 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9961 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9962 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9963 <bp-asm.h>.
9964 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9965 about bounded pointers. Remove GKM FIXME comment.
9966 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9967 and <bp-asm.h>.
9968 (strncmp): Don't use BP_SYM. Remove comment about bounded
9969 pointers.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9971 <bp-sym.h> and <bp-asm.h>.
9972 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9974 <bp-sym.h> and <bp-asm.h>.
9975 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9976 comment.
9977
9978 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9979
9980 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9981 call free(NULL).
9982
9983 2013-03-05 David S. Miller <davem@davemloft.net>
9984
9985 * po/es.po: Update from translation team.
9986
9987 2013-03-05 Andreas Jaeger <aj@suse.de>
9988
9989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9990 <bits/mman-linux.h>.
9991 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9992 is fine.
9993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9994 <bits/mman-linux.h> to end of file.
9995 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9996 is fine.
9997 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9998 <bits/mman-linux.h> to end of file.
9999 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10000 is fine.
10001 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10002 <bits/mman-linux.h> to end of file.
10003
10004 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10005 (MCL_CURRENT, MCL_FUTURE): Define here.
10006
10007 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10008
10009 [BZ #15232]
10010 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10011 attribute_hidden.
10012 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10013
10014 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10015
10016 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10017 fourth parameter needed for rt_sigprocmask syscall.
10018 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10020 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10021 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10022 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10023 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10024
10025 2013-03-04 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #13550]
10028 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10029 comment about bounded pointers.
10030 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10031 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10032
10033 2013-03-04 Andreas Jaeger <aj@suse.de>
10034
10035 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10036 common definitions.
10037
10038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10039 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10040 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10042 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10043 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10044
10045 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10046
10047 [BZ #15055]
10048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10049 __ieee754_sqrl instead of __sqrl.
10050
10051 2013-03-01 Joseph Myers <joseph@codesourcery.com>
10052
10053 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10054 * sysdeps/powerpc/fpu_control.h: ... here.
10055 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10056 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10057 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10058 * sysdeps/powerpc/bits/mathinline.h: ... here.
10059
10060 2013-03-01 Roland McGrath <roland@hack.frob.com>
10061
10062 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10063 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10064 to just [NEED_DL_SYSINFO_DSO].
10065 * elf/dl-support.c: Likewise.
10066 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10067 * elf/rtld.c (dl_main): Likewise.
10068 * elf/setup-vdso.h (setup_vdso): Likewise.
10069 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10070 * sysdeps/unix/sysv/linux/dl-sysdep.c
10071 (_dl_discover_osversion): Likewise.
10072
10073 2013-03-01 Carlos O'Donell <carlos@redhat.com>
10074
10075 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10076 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10077
10078 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
10080 * NEWS: Mention libm performance improvements and non-x86 PI
10081 futex support.
10082
10083 * csu/libc-start.c (__pthread_initialize_minimal): Change
10084 function arguments.
10085 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10086
10087 2013-02-28 Joseph Myers <joseph@codesourcery.com>
10088
10089 [BZ #13550]
10090 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10091 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10092 <bp-sym.h> and <bp-asm.h>.
10093 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10095 and <bp-asm.h>.
10096 (memcpy): Don't use BP_SYM.
10097 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10098 <bp-asm.h>.
10099 (__mpn_add_n): Don't use BP_SYM.
10100 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10101 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10102 and <bp-asm.h>.
10103 (__mpn_addmul_1): Don't use BP_SYM.
10104 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10105 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10106 <bp-sym.h>.
10107 (_setjmp): Don't use BP_SYM.
10108 (__novmx_setjmp): Likewise.
10109 (__GI__setjmp): Likewise.
10110 (__vmx_setjmp): Likewise.
10111 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10112 <bp-sym.h>.
10113 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10114 (__bzero): Don't use BP_SYM.
10115 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10116 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10117 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10118 <bp-sym.h> and <bp-asm.h>.
10119 (memcpy): Don't use BP_SYM.
10120 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10121 <bp-sym.h> and <bp-asm.h>.
10122 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10124 <bp-sym.h> and <bp-asm.h>.
10125 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10126 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10127 <bp-asm.h>.
10128 (__mpn_lshift): Don't use BP_SYM.
10129 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10130 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10131 <bp-asm.h>.
10132 (memset): Don't use BP_SYM.
10133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10135 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10136 <bp-asm.h>.
10137 (__mpn_mul_1): Don't use BP_SYM.
10138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10139 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10140 <bp-sym.h> and <bp-asm.h>.
10141 (memcmp): Don't use BP_SYM.
10142 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10143 <bp-sym.h> and <bp-asm.h>.
10144 (memcpy): Don't use BP_SYM.
10145 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10146 <bp-sym.h> and <bp-asm.h>.
10147 (memset): Don't use BP_SYM.
10148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10149 <bp-sym.h> and <bp-asm.h>.
10150 (strncmp): Don't use BP_SYM.
10151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10152 <bp-sym.h> and <bp-asm.h>.
10153 (memcpy): Don't use BP_SYM.
10154 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10155 <bp-sym.h> and <bp-asm.h>.
10156 (memset): Don't use BP_SYM.
10157 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10158 <bp-sym.h> and <bp-asm.h>.
10159 (__memchr): Don't use BP_SYM.
10160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10161 <bp-sym.h> and <bp-asm.h>.
10162 (memcmp): Don't use BP_SYM.
10163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10164 <bp-sym.h> and <bp-asm.h>.
10165 (memcpy): Don't use BP_SYM.
10166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10167 <bp-sym.h> and <bp-asm.h>.
10168 (__mempcpy): Don't use BP_SYM.
10169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10170 <bp-sym.h> and <bp-asm.h>.
10171 (__memrchr): Don't use BP_SYM.
10172 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10173 <bp-sym.h> and <bp-asm.h>.
10174 (memset): Don't use BP_SYM.
10175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10176 <bp-sym.h> and <bp-asm.h>.
10177 (__rawmemchr): Don't use BP_SYM.
10178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10179 <bp-sym.h> and <bp-asm.h>.
10180 (__STRCMP): Don't use BP_SYM.
10181 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10182 <bp-sym.h> and <bp-asm.h>.
10183 (strchr): Don't use BP_SYM.
10184 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10185 <bp-sym.h> and <bp-asm.h>.
10186 (__strchrnul): Don't use BP_SYM.
10187 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10188 <bp-sym.h> and <bp-asm.h>.
10189 (strlen): Don't use BP_SYM.
10190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10191 <bp-sym.h> and <bp-asm.h>.
10192 (strncmp): Don't use BP_SYM.
10193 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10194 <bp-sym.h> and <bp-asm.h>.
10195 (__strnlen): Don't use BP_SYM.
10196 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10197 <bp-asm.h>.
10198 (__mpn_rshift): Don't use BP_SYM.
10199 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10200 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10201 <bp-sym.h> and <bp-asm.h>.
10202 (__sigsetjmp): Don't use BP_SYM.
10203 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10204 (L(start_addresses)): Don't use BP_SYM.
10205 (_start): Likewise.
10206 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10207 <bp-asm.h>.
10208 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10209 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10210 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10211 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10212 <bp-asm.h>.
10213 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10214 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10215 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10216 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10217 <bp-asm.h>.
10218 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10219 comments.
10220 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10221 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10222 <bp-asm.h>.
10223 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10224 FIXME comments.
10225 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10226 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10227 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10228 <bp-asm.h>.
10229 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10230 comment.
10231 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10232 and <bp-asm.h>.
10233 (strncmp): Don't use BP_SYM,
10234 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10235 <bp-asm.h>.
10236 (__mpn_sub_n): Don't use BP_SYM.
10237 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10238 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10239 and <bp-asm.h>.
10240 (__mpn_submul_1): Don't use BP_SYM.
10241 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10243 <bp-sym.h> and <bp-asm.h>.
10244 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10246 <bp-sym.h> and <bp-asm.h>.
10247 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10248 comment.
10249
10250 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10251
10252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10253 Use ZK to minimize writes to Z.
10254 (sub_magnitudes): Simplify code a bit.
10255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10256 Use ZK to minimize writes to Z.
10257 (sub_magnitudes): Simplify code a bit.
10258
10259 2013-02-27 Roland McGrath <roland@hack.frob.com>
10260
10261 * csu/gmon-start.c: Add special exception to license text.
10262
10263 2013-02-27 Richard Henderson <rth@redhat.com>
10264
10265 * scripts/config.guess: Update from config.git.
10266 * scripts/config.sub: Likewise.
10267
10268 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10269
10270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10271
10272 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10273
10274 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10275
10276 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10277
10278 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10279
10280 2013-02-26 Roland McGrath <roland@hack.frob.com>
10281
10282 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10283 [$(build-shared = yes].
10284
10285 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10288 (__mul): Reduce iterations for calculating mantissa.
10289
10290 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10291 MPTWO.
10292 (__mpranred): Likewise.
10293
10294 [BZ #15160]
10295 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10296 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10297
10298 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10299
10300 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10301 Define __attribute__.
10302
10303 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10306 unused.
10307 * posix/regex_internal.h (__attribute): Remove.
10308 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10309 (re_string_context_at): Likewise.
10310 (bitset_not): Use __attribute__ and mark function as possibly
10311 unused.
10312 (bitset_merge): Likewise.
10313 (bitset_mask): Likewise.
10314 (re_string_char_size_at): Likewise.
10315 (re_string_wchar_at): Likewise.
10316 (re_string_elem_size_at): Likewise.
10317
10318 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10319
10320 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10321 code.
10322 (cc32): Likewise.
10323
10324 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10325 (__acr): Likewise.
10326 (__cpy): Likewise.
10327 (norm): Likewise.
10328 (denorm): Likewise.
10329 (__dbl_mp): Likewise.
10330 (add_magnitudes): Likewise.
10331 (sub_magnitudes): Likewise.
10332 (__mul): Likewise.
10333 (__inv): Likewise.
10334
10335 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10336 style.
10337
10338 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10339 style.
10340
10341 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10342 code.
10343
10344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10345 up changes with default code.
10346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10347 Likewise.
10348
10349 2013-02-24 Allan McRae <allan@archlinux.org>
10350
10351 * manual/socket.texi (The Internet Namespace): Order menu items
10352 to match that in the file.
10353
10354 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10355 node listing of the info page menu.
10356
10357 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #13550]
10360 * sysdeps/i386/bp-asm.h: Remove file.
10361 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10362 (PARMS): Do not use macros from bp-asm.h.
10363 (S1): Likewise.
10364 (S2): Likewise.
10365 (SIZE): Likewise.
10366 (__mpn_add_n): Do not use BP_SYM
10367 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10368 "bp-asm.h".
10369 (PARMS): Do not use macros from bp-asm.h.
10370 (S1): Likewise.
10371 (SIZE): Likewise.
10372 (__mpn_addmul_1): Do not use BP_SYM
10373 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10374 "bp-asm.h".
10375 (PARMS): Do not use macros from bp-asm.h.
10376 (SIGMSK): Likewise.
10377 (_setjmp): Likewise. Do not use BP_SYM.
10378 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10379 "bp-asm.h".
10380 (PARMS): Do not use macros from bp-asm.h.
10381 (SIGMSK): Likewise.
10382 (setjmp): Likewise. Do not use BP_SYM.
10383 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10384 "bp-asm.h".
10385 (PARMS): Do not use macros from bp-asm.h.
10386 (__frexp): Do not use BP_SYM.
10387 (frexp): Likewise.
10388 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10389 "bp-asm.h".
10390 (PARMS): Do not use macros from bp-asm.h.
10391 (__frexpf): Do not use BP_SYM.
10392 (frexpf): Likewise.
10393 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10394 "bp-asm.h".
10395 (PARMS): Do not use macros from bp-asm.h.
10396 (__frexpl): Do not use BP_SYM.
10397 (frexpl): Likewise.
10398 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10399 "bp-asm.h".
10400 (PARMS): Do not use macros from bp-asm.h.
10401 (__remquo): Do not use BP_SYM.
10402 (remquo): Likewise.
10403 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10404 "bp-asm.h".
10405 (PARMS): Do not use macros from bp-asm.h.
10406 (__remquof): Do not use BP_SYM.
10407 (remquof): Likewise.
10408 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10409 "bp-asm.h".
10410 (PARMS): Do not use macros from bp-asm.h.
10411 (__remquol): Do not use BP_SYM.
10412 (remquol): Likewise.
10413 * sysdeps/i386/i486/strcat.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 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10419 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10420 "bp-asm.h".
10421 (PARMS): Do not use macros from bp-asm.h.
10422 (strlen): Do not use BP_SYM.
10423 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10424 "bp-asm.h".
10425 (PARMS): Do not use macros from bp-asm.h.
10426 (S1): Likewise.
10427 (S2): Likewise.
10428 (SIZE): Likewise.
10429 (__mpn_add_n): Do not use BP_SYM.
10430 * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
10436 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10437 weak_alias.
10438 (bzero): Likewise.
10439 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10440 "bp-asm.h".
10441 (PARMS): Do not use macros from bp-asm.h.
10442 (S): Likewise.
10443 (SIZE): Likewise.
10444 (__mpn_lshift): Do not use BP_SYM.
10445 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10446 "bp-asm.h".
10447 (PARMS): Do not use macros from bp-asm.h.
10448 (DEST): Likewise.
10449 (SRC): Likewise.
10450 (LEN): Likewise.
10451 (memcpy): Likewise. Do not use BP_SYM.
10452 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10453 libc_hidden_def and weak_alias.
10454 (mempcpy): Do not use BP_SYM in weak_alias.
10455 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10456 "bp-asm.h".
10457 (PARMS): Do not use macros from bp-asm.h.
10458 (DEST): Likewise.
10459 (LEN): Likewise.
10460 [!BZERO_P] (CHR): Likewise.
10461 (memset): Likewise. Do not use BP_SYM.
10462 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10463 "bp-asm.h".
10464 (PARMS): Do not use macros from bp-asm.h.
10465 (S1): Likewise.
10466 (SIZE): Likewise.
10467 (__mpn_mul_1): Do not use BP_SYM.
10468 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10469 "bp-asm.h".
10470 (PARMS): Do not use macros from bp-asm.h.
10471 (S): Likewise.
10472 (SIZE): Likewise.
10473 (__mpn_rshift): Do not use BP_SYM.
10474 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10475 "bp-asm.h".
10476 (PARMS): Do not use macros from bp-asm.h.
10477 (STR): Likewise.
10478 (CHR): Likewise.
10479 (strchr): Likewise. Do not use BP_SYM.
10480 (index): Do not use BP_SYM in weak_alias.
10481 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10482 "bp-asm.h".
10483 (PARMS): Do not use macros from bp-asm.h.
10484 (DEST): Likewise.
10485 (SRC): Likewise.
10486 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10487 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10488 "bp-asm.h".
10489 (PARMS): Do not use macros from bp-asm.h.
10490 (strlen): Do not use BP_SYM.
10491 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10492 "bp-asm.h".
10493 (PARMS): Do not use macros from bp-asm.h.
10494 (S1): Likewise.
10495 (S2): Likewise.
10496 (SIZE): Likewise.
10497 (__mpn_sub_n): Do not use BP_SYM.
10498 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10499 "bp-asm.h".
10500 (PARMS): Do not use macros from bp-asm.h.
10501 (S1): Likewise.
10502 (SIZE): Likewise.
10503 (__mpn_submul_1): Do not use BP_SYM.
10504 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10505 "bp-asm.h".
10506 (PARMS): Do not use macros from bp-asm.h.
10507 (S1): Likewise.
10508 (S2): Likewise.
10509 (SIZE): Likewise.
10510 (__mpn_add_n): Do not use BP_SYM.
10511 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10512 weak_alias.
10513 (bzero): Likewise.
10514 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10515 "bp-asm.h".
10516 (PARMS): Do not use macros from bp-asm.h.
10517 (BLK2): Likewise.
10518 (LEN): Likewise.
10519 (memcmp): Do not use BP_SYM.
10520 (bcmp): Do not use BP_SYM in weak_alias.
10521 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10522 "bp-asm.h".
10523 (PARMS): Do not use macros from bp-asm.h.
10524 (DEST): Likewise.
10525 (SRC): Likewise.
10526 (LEN): Likewise.
10527 (memcpy): Likewise. Do not use BP_SYM.
10528 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10529 "bp-asm.h".
10530 (PARMS): Do not use macros from bp-asm.h.
10531 (DEST): Likewise.
10532 (SRC): Likewise.
10533 (LEN): Likewise.
10534 (memmove): Likewise. Do not use BP_SYM.
10535 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10536 "bp-asm.h".
10537 (PARMS): Do not use macros from bp-asm.h.
10538 (DEST): Likewise.
10539 (SRC): Likewise.
10540 (LEN): Likewise.
10541 (__mempcpy): Likewise. Do not use BP_SYM.
10542 (mempcpy): Do not use BP_SYM in weak_alias.
10543 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10544 "bp-asm.h".
10545 (PARMS): Do not use macros from bp-asm.h.
10546 (DEST): Likewise.
10547 (LEN): Likewise.
10548 [!BZERO_P] (CHR): Likewise.
10549 (memset): Likewise. Do not use BP_SYM.
10550 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10551 "bp-asm.h".
10552 (PARMS): Do not use macros from bp-asm.h.
10553 (STR2): Likewise.
10554 (strcmp): Do not use BP_SYM.
10555 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10556 "bp-asm.h".
10557 (PARMS): Do not use macros from bp-asm.h.
10558 (STR): Likewise.
10559 (DELIM): Likewise.
10560 [USE_AS_STRTOK_R] (SAVE): Likewise.
10561 (FUNCTION): Likewise. Do not use BP_SYM.
10562 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10563 aliases.
10564 (strtok_r): Likewise.
10565 (__GI___strtok_r): Likewise.
10566 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10567 (PARMS): Do not use macros from bp-asm.h.
10568 (S): Likewise.
10569 (SIZE): Likewise.
10570 (__mpn_lshift): Do not use BP_SYM.
10571 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10572 (PARMS): Do not use macros from bp-asm.h.
10573 (STR): Likewise.
10574 (CHR): Likewise.
10575 (__memchr): Do not use BP_SYM.
10576 (memchr): Do not use BP_SYM in weak_alias.
10577 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10578 (PARMS): Do not use macros from bp-asm.h.
10579 (BLK2): Likewise.
10580 (LEN): Likewise.
10581 (memcmp): Do not use BP_SYM.
10582 (bcmp): Do not use BP_SYM in weak_alias.
10583 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10584 (PARMS): Do not use macros from bp-asm.h.
10585 (S1): Likewise.
10586 (SIZE): Likewise.
10587 (__mpn_mul_1): Do not use BP_SYM.
10588 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10589 "bp-asm.h".
10590 (PARMS): Do not use macros from bp-asm.h.
10591 (STR): Likewise.
10592 (CHR): Likewise.
10593 (__rawmemchr): Do not use BP_SYM.
10594 (rawmemchr): Do not use BP_SYM in weak_alias.
10595 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10596 (PARMS): Do not use macros from bp-asm.h.
10597 (S): Likewise.
10598 (SIZE): Likewise.
10599 (__mpn_rshift): Do not use BP_SYM.
10600 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10601 (PARMS): Do not use macros from bp-asm.h.
10602 (SIGMSK): Likewise.
10603 (__sigsetjmp): Likewise. Do not use BP_SYM.
10604 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10605 (_start): Do not use BP_SYM.
10606 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10607 (PARMS): Do not use macros from bp-asm.h.
10608 (DEST): Likewise.
10609 (SRC): Likewise.
10610 (__stpcpy): Likewise. Do not use BP_SYM.
10611 (stpcpy): Do not use BP_SYM in weak_alias.
10612 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10613 "bp-asm.h".
10614 (PARMS): Do not use macros from bp-asm.h.
10615 (DEST): Likewise.
10616 (SRC): Likewise.
10617 (LEN): Likewise.
10618 (__stpncpy): Likewise. Do not use BP_SYM.
10619 (stpncpy): Do not use BP_SYM in weak_alias.
10620 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10621 (PARMS): Do not use macros from bp-asm.h.
10622 (STR): Likewise.
10623 (CHR): Likewise.
10624 (strchr): Likewise. Do not use BP_SYM.
10625 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10626 "bp-asm.h".
10627 (PARMS): Do not use macros from bp-asm.h.
10628 (STR): Likewise.
10629 (CHR): Likewise.
10630 (__strchrnul): Likewise. Do not use BP_SYM.
10631 (strchrnul): Do not use BP_SYM in weak_alias.
10632 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10633 "bp-asm.h".
10634 (PARMS): Do not use macros from bp-asm.h.
10635 (STOP): Likewise.
10636 (strcspn): Do not use BP_SYM.
10637 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10638 "bp-asm.h".
10639 (PARMS): Do not use macros from bp-asm.h.
10640 (STR): Likewise.
10641 (STOP): Likewise.
10642 (strpbrk): Likewise. Do not use BP_SYM.
10643 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10644 "bp-asm.h".
10645 (PARMS): Do not use macros from bp-asm.h.
10646 (STR): Likewise.
10647 (CHR): Likewise.
10648 (strrchr): Likewise. Do not use BP_SYM.
10649 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10650 (PARMS): Do not use macros from bp-asm.h.
10651 (SKIP): Likewise.
10652 (strspn): Do not use BP_SYM.
10653 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10654 (PARMS): Do not use macros from bp-asm.h.
10655 (STR): Likewise.
10656 (DELIM): Likewise.
10657 (SAVE): Likewise.
10658 (FUNCTION): Likewise. Do not use BP_SYM.
10659 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10660 aliases.
10661 (strtok_r): Likewise.
10662 (__GI___strtok_r): Likewise.
10663 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10664 (PARMS): Do not use macros from bp-asm.h.
10665 (S1): Likewise.
10666 (S2): Likewise.
10667 (SIZE): Likewise.
10668 (__mpn_sub_n): Do not use BP_SYM.
10669 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10670 "bp-asm.h".
10671 (PARMS): Do not use macros from bp-asm.h.
10672 (S1): Likewise.
10673 (SIZE): Likewise.
10674 (__mpn_submul_1): Do not use BP_SYM.
10675 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10676 <bp-sym.h>.
10677 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10678 and <bp-asm.h>.
10679 (PARMS): Do not use macros from bp-asm.h.
10680 (FLAGS): Likewise.
10681 (PTID): Likewise.
10682 (TLS): Likewise.
10683 (CTID): Likewise.
10684 (__clone): Do not use BP_SYM.
10685 (clone): Do not use BP_SYM in weak_alias.
10686 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10687 and <bp-asm.h>.
10688 (PARMS): Do not use macros from bp-asm.h.
10689 (LEN): Likewise.
10690 (__mmap64): Do not use BP_SYM.
10691 (mmap64): Do not use BP_SYM in weak_alias.
10692 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10693 <bp-sym.h> and <bp-asm.h>.
10694 (PARMS): Do not use macros from bp-asm.h.
10695 (__posix_fadvise64_l64): Do not use BP_SYM.
10696 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10697 (PARMS): Do not use macros from bp-asm.h.
10698 (NSOPS): Likewise.
10699 (semtimedop): Do not use BP_SYM.
10700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10701 and <bp-asm.h>.
10702
10703 2013-02-21 Allan McRae <allan@archlinux.org>
10704
10705 * manual/message.texi (Charset conversion in gettext):
10706 Move @end statement to beginning of line.
10707
10708 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10709
10710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10711 static.
10712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10713 Likewise.
10714
10715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10716 (denorm): Likewise.
10717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10719
10720 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10721
10722 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10723 tail-call to the resolved function if pltexit isn't needed.
10724
10725 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10726
10727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10728 or Y being zero as being unlikely.
10729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10730 Likewise.
10731
10732 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10733
10734 * manual/nss.texi (System Databases and Name Service Switch):
10735 Remove frobnicate @pxref.
10736
10737 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10738
10739 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10740 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10741
10742 2013-02-20 Petr Machata <pmachata@redhat.com>
10743
10744 * elf/elf.h (R_ARM_TARGET1): New macro.
10745 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10746 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10747 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10748 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10749 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10750 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10751 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10752 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10753 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10754 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10755 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10756 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10757 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10758 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10759 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10760 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10761 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10762 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10763 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10764 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10765 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10766 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10767 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10768 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10769 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10770 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10771 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10772 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10773 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10774 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10775 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10776 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10777 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10778 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10779 (R_ARM_THM_GOT_BREL12): Likewise.
10780 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10781 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10782 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10783 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10784 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10785 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10786 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10787 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10788 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10789
10790 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10791
10792 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10793 __attribute_used__ to __attribute__ ((unused)).
10794
10795 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10796
10797 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10798 powerpc mpa.c.
10799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10800 comment formatting.
10801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10802
10803 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10804
10805 [BZ #13550]
10806 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10807 Remove macro.
10808 (ENTER): Remove both macro definitions.
10809 (LEAVE): Likewise.
10810 (CHECK_BOUNDS_LOW): Likewise.
10811 (CHECK_BOUNDS_HIGH): Likewise.
10812 (CHECK_BOUNDS_BOTH): Likewise.
10813 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10814 (RETURN_BOUNDED_POINTER): Likewise.
10815 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10816 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10817 (POP_ERRNO_LOCATION_RETURN): Likewise.
10818 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10819 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10820 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10821 macros.
10822 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10823 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10824 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10825 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10826 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10827 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10828 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10829 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10830 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10831 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10832 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10833 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10834 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10835 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10836 removed macros.
10837 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10838 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10839 macros.
10840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10841 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10842 * sysdeps/i386/i586/memset.S (memset): Likewise.
10843 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10846 macros.
10847 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10848 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10849 Change uses of L(2) to L(out).
10850 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10851 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10852 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10853 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10854 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10855 removed macros.
10856 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10857 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10858 macros.
10859 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10860 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10861 (RETURN): Do not use macro LEAVE.
10862 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10863 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10864 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10865 * sysdeps/i386/i686/memset.S (memset): Likewise.
10866 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10867 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10868 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10869 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10870 Likewise.
10871 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10872 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10873 L(1_2) and L(1_3) into L(1).
10874 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10875 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10877 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10878 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10879 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10880 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10881 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10882 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10883 macros.
10884 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10885 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10886 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10887 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10888 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10889 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10890 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10891 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10892 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10893 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10894 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10895 * sysdeps/i386/strspn.S (strspn): Likewise.
10896 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10897 conditional code.
10898 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10899 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10900 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10901 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10902 L(1_3) into L(1_1).
10903 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10904 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10905 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10906 macros.
10907 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10908
10909 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10910
10911 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10912 macro.
10913
10914 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10915
10916 * math/atest-exp.c (exp_mpn): Remove ROUND.
10917 * math/atest-exp2.c (exp_mpn): Likewise.
10918 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10919
10920 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10921 * stdlib/tst-tls-atexit-lib.c: Likewise.
10922 * stdlib/tst-tls-atexit.c: Likewise.
10923
10924 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10925
10926 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10927 and __attribute_alloc_size__.
10928
10929 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10930
10931 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10932 __attribute_alloc_size__.
10933 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10934 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10935
10936 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10937
10938 * include/programs/xmalloc.h: New file.
10939 * catgets/gencat.c: Include it.
10940 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10941 * elf/pldd.c: Likewise.
10942 * iconv/iconv_charmap.c: Likewise.
10943 * iconv/iconvconfig.c: Likewise.
10944 * iconv/strtab.c: Likewise.
10945 * locale/programs/locale.c: Likewise.
10946 * locale/programs/localedef.h: Likewise.
10947 * locale/programs/simple-hash.c: Likewise.
10948 * nscd/nscd.h: Likewise.
10949 * nss/makedb.c: Likewise.
10950 * sysdeps/generic/ldconfig.h: Likewise.
10951
10952 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10953
10954 * Versions.def: Add GLIBC_2.18.
10955 * include/link.h (struct link_map): New member l_tls_dtor_count.
10956 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10957 (__call_tls_dtors): Likewise.
10958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10959 __cxa_thread_atexit_impl.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10961 Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10963 Likewise.
10964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10967 Likewise.
10968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10970 Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10975 Likewise.
10976 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10977 (tests): Add test case tst-tls-atexit.
10978 (modules-names): Add shared library for tst-tls-atexit.
10979 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10980 (GLIBC_PRIVATE): Add __call_tls_dtors.
10981 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10982 for libstdc++.
10983 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10984 * stdlib/tst-tls-atexit.c: New test case.
10985 * stdlib/tst-tls-atexit-lib.c: New test case.
10986
10987 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10988
10989 * elf/Versions (ld): Add _dl_find_dso_for_object.
10990 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10991 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10992 (dl_open_worker): Use _dl_find_dso_for_object.
10993 * elf/dl-sym.c (do_sym): Likewise.
10994 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10995
10996 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10997
10998 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10999 Syntactic changes only.
11000 (_dl_runtime_profile): Do a tail-call to the resolved function.
11001
11002 2013-02-17 Joseph Myers <joseph@codesourcery.com>
11003
11004 [BZ #13550]
11005 * sysdeps/x86_64/bp-asm.h: Remove file.
11006 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11007 <bp-sym.h> and <bp-asm.h>.
11008 (__clone): Do not use BP_SYM.
11009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11010 <bp-sym.h> and <bp-asm.h>.
11011 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11012 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11013 "bp-asm.h".
11014 (_setjmp): Do not use BP_SYM.
11015 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11016 "bp-asm.h".
11017 (setjmp): Do not use BP_SYM.
11018 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11019 libc_hidden_def.
11020 (mempcpy): Do not use BP_SYM in weak_alias.
11021 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11022 "bp-asm.h".
11023 (strchr): Do not use BP_SYM.
11024 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11025 "bp-asm.h".
11026 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11027 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11028 (_start): Do not use BP_SYM.
11029 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11030 "bp-asm.h".
11031 (strcat): Do not use BP_SYM.
11032 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11033 "bp-asm.h".
11034 (STRCMP): Do not use BP_SYM.
11035 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11036 "bp-asm.h".
11037 (STRCPY): Do not use BP_SYM.
11038 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11039 "bp-asm.h".
11040 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11041 "bp-asm.h".
11042 (FUNCTION): Do not use BP_SYM.
11043 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11044 weak_alias.
11045 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11046
11047 2013-02-17 Andreas Jaeger <aj@suse.de>
11048
11049 * time/Versions: Sort entries.
11050 * string/Versions: Likewise.
11051 * resolv/Versions: Likewise.
11052 * posix/Versions: Likewise.
11053 * iconv/Versions: Likewise.
11054 * elf/Versions: Likewise.
11055 * wcsmbs/Versions: Likewise.
11056
11057 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11058
11059 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11060 loop termination condition.
11061
11062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11063 variable to calculate EZ.
11064 (__sqr): Likewise.
11065
11066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11067 the lower precision input.
11068
11069 2013-02-15 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #13550]
11072 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11073 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11074 (run-via-rtld-prefix): Do not handle %-bp tests.
11075 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11076 (all-object-suffixes): Remove .ob.
11077 (bppfx): Remove variable.
11078 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11079 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11080 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11081 [$(build-bounded) = yes] (libtype.ob): Likewise.
11082 * Makerules (elide-routines.ob): Remove variable.
11083 (do-tests-clean): Do not handle *-bp.out.
11084 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11085 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11086 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11087 (tests): Do not include $(tests-bp.out).
11088 (xtests): Do not include $(xtests-bp.out).
11089 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11090 [$(build-bounded) = yes] ($(addprefix
11091 $(objpfx),$(binaries-bounded))): Remove rule.
11092 ($(objpfx)%-bp.out): Remove rule.
11093 * config.make.in (build-bounded): Remove variable.
11094 * crypt/Makefile [$(build-bounded) = yes]
11095 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11096 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11097 append to variable.
11098 [$(build-bounded) = yes] (install-lib): Likewise.
11099 [$(build-bounded) = yes] (generated): Likewise.
11100 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11101 Remove rule.
11102 * intl/Makefile [$(build-bounded) = yes]
11103 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11104 * math/Makefile [$(build-bounded) = yes]
11105 ($(tests:%=$(objpfx)%-bp): Likewise.
11106 * misc/Makefile [$(build-bounded) = yes]
11107 ($(objpfx)tst-tsearch-bp): Likewise.
11108 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11109 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11110 Remove dependency.
11111 * string/Makefile (o-objects.ob): Remove variable.
11112 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11113 (CFLAGS-.ob): Remove variable.
11114 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11115 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11116 both definitions of variable.
11117 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11118 (ASFLAGS-.ob): Remove variable.
11119
11120 2013-02-14 Joseph Myers <joseph@codesourcery.com>
11121
11122 [BZ #13550]
11123 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11124 Remove __BOUNDED_POINTERS__ from condition.
11125 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11126 * string/bits/string2.h [!__NO_STRING_INLINES &&
11127 !__BOUNDED_POINTERS__]: Likewise.
11128 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11129 Likewise.
11130 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11131 Remove conditional code.
11132 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11133 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11134 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11135 condition.
11136
11137 [BZ #13550]
11138 * csu/libc-start.c: Do not include <bp-sym.h>.
11139 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11140 * elf/dl-open.c: Do not include <bp-sym.h>.
11141 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11142 * math/fegetenv.c: Do not include <bp-sym.h>.
11143 (fegetenv): Do not use BP_SYM in versioned symbols.
11144 * nptl/sysdeps/pthread/bits/libc-lockP.h
11145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11146 <bp-sym.h>.
11147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11148 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11150 (__pthread_mutex_destroy): Likewise.
11151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11152 (__pthread_mutex_lock): Likewise.
11153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11154 (__pthread_mutex_trylock): Likewise.
11155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11156 (__pthread_mutex_unlock): Likewise.
11157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11158 (__pthread_mutexattr_init): Likewise.
11159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11160 (__pthread_mutexattr_destroy): Likewise.
11161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11162 (__pthread_mutexattr_settype): Likewise.
11163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11164 (__pthread_rwlock_init): Likewise.
11165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11166 (__pthread_rwlock_destroy): Likewise.
11167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11168 (__pthread_rwlock_rdlock): Likewise.
11169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11170 (__pthread_rwlock_tryrdlock): Likewise.
11171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11172 (__pthread_rwlock_wrlock): Likewise.
11173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11174 (__pthread_rwlock_trywrlock): Likewise.
11175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11176 (__pthread_rwlock_unlock): Likewise.
11177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11178 (__pthread_key_create): Likewise.
11179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11180 (__pthread_setspecific): Likewise.
11181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11182 (__pthread_getspecific): Likewise.
11183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11184 Likewise.
11185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11186 (_pthread_cleanup_push_defer): Likewise.
11187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11188 (_pthread_cleanup_pop_restore): Likewise.
11189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11190 (pthread_setcancelstate): Likewise.
11191 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11192 <bp-sym.h>.
11193 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11194 (memchr): Do not use BP_SYM in weak_alias.
11195 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11196 (fegetenv): Do not use BP_SYM in versioned symbols.
11197 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11198 (fesetenv): Do not use BP_SYM in versioned symbols.
11199 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11200 (feupdateenv): Do not use BP_SYM in versioned symbols.
11201 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11202 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11203 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11204 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11205 (open64): Do not use BP_SYM in weak_alias.
11206 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11207 (fegetenv): Do not use BP_SYM in versioned symbols.
11208 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11209 (fesetenv): Do not use BP_SYM in versioned symbols.
11210 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11211 (feupdateenv): Do not use BP_SYM in versioned symbols.
11212 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11213 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11214 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11215 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11216 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11217 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11218 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11219 <bp-sym.h>.
11220 (__libc_start_main): Do not use BP_SYM.
11221
11222 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11223
11224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11225 redundant return line.
11226 (norm): Likewise.
11227 (denorm): Likewise.
11228 (dbl_mp): Likewise.
11229 (sub_magnitudes): Likewise.
11230 (__add): Likewise.
11231 (__sub): Likewise.
11232 (__mul): Likewise.
11233 (__inv): Likewise.
11234 (__dvd): Likewise.
11235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11236 (norm): Likewise.
11237 (denorm): Likewise.
11238 (dbl_mp): Likewise.
11239 (sub_magnitudes): Likewise.
11240 (__add): Likewise.
11241 (__sub): Likewise.
11242 (__mul): Likewise.
11243 (__inv): Likewise.
11244 (__dvd): Likewise.
11245
11246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11247 instead of __mul.
11248 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11249 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11250 (cc32): Likewise.
11251
11252 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11253 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11255 of __mul for squares.
11256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11257 function
11258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11259 Likewise.
11260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11262
11263 2013-02-13 Joseph Myers <joseph@codesourcery.com>
11264
11265 [BZ #13550]
11266 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11267 code.
11268 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11269 prototype or function definition. Rename ubp_* variables and
11270 parameters. Remove argv definitions conditional on
11271 [__BOUNDED_POINTERS__].
11272 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11273 * elf/dl-runtime.c (_dl_fixup): Likewise.
11274 * include/set-hooks.h (RUN_HOOK): Likewise.
11275 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11276 definition.
11277 * string/strcpy.c (strcpy): Do not use __unbounded.
11278 * sysdeps/generic/frame.h (struct layout): Likewise.
11279 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11280 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11281 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11282 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11283 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11284 (__backtrace): Likewise.
11285 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11286 use __ptrvalue.
11287 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11289 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11290 Likewise.
11291 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11292 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11293 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11294 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11295 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11296 Do not use __unbounded.
11297 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11298 Rename __unboundedrlimits parameter to rlimits in prototype.
11299 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11300 Do not use __unbounded.
11301 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11302 not use __ptrvalue.
11303 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11304 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11305 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11306 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11307 __ptrvalue or __unbounded.
11308 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11310 use __unbounded.
11311 (__new_msgctl): Do not use __ptrvalue.
11312 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11313 __unbounded.
11314 (__libc_msgrcv): Do not use __ptrvalue.
11315 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11316 startup_info): Do not use __unbounded.
11317 (__libc_start_main): Likewise. Rename ubp_* variables and
11318 parameters. Remove argv definitions conditional on
11319 [__BOUNDED_POINTERS__].
11320 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11321 __ptrvalue.
11322 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11323 use __unbounded.
11324 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11325 or __ptrvalue.
11326 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11327 use __unbounded.
11328 (__new_shmctl): Do not use __ptrvalue.
11329 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11330 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11331 Likewise.
11332 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11334 (__libc_sigaction): Likewise.
11335 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11336 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11337 Likewise.
11338 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11339
11340 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11341
11342 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11343
11344 * string/mempcpy.c: Implement by calling memcpy.
11345
11346 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11347
11348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11349
11350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11351 evaluation.
11352
11353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11354 values in the mantissa.
11355
11356 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11357 minimize writes to Z.
11358 (sub_magnitudes): Simplify code a bit.
11359
11360 2013-02-12 Roland McGrath <roland@hack.frob.com>
11361
11362 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11363 from the message. The linker prefixes all warnings with that already.
11364
11365 2013-02-12 Andreas Schwab <schwab@suse.de>
11366
11367 [BZ #15078]
11368 * posix/regexec.c (extend_buffers): Add parameter min_len.
11369 (check_matching): Pass minimum needed length.
11370 (clean_state_log_if_needed): Likewise.
11371 (get_subexp): Likewise.
11372 * posix/Makefile (tests): Add bug-regex34.
11373 (bug-regex34-ENV): Define.
11374 * posix/bug-regex34.c: New file.
11375
11376 [BZ #11561]
11377 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11378 elements compare against the byte sequence of it, not its name.
11379 * posix/Makefile (tests): Add bug-regex35.
11380 (bug-regex35-ENV): Define.
11381 * posix/bug-regex35.c: New file.
11382
11383 2013-02-11 Tom de Vries <tom@codesourcery.com>
11384
11385 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11386 comment.
11387 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11388 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11389 (CHECK_EOL): Add undef.
11390
11391 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11392
11393 * bits/stdlib-bsearch.h: New file.
11394 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11395 * stdlib/stdlib.h: Likewise.
11396
11397 2013-02-11 Roland McGrath <roland@hack.frob.com>
11398
11399 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11400 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11401 declaration.
11402 * manual/search.texi (Array Search Function): Add missing const in
11403 lfind prototype.
11404 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11405 declaration to use rlim_t.
11406 (Basic Scheduling Functions): Remove erroneous const from
11407 sched_getparam prototype. Remove erroneous * from
11408 sched_get_priority_max and sched_get_priority_min prototypes.
11409 (Resource Usage): Fix summary @comment on vtimes to refer to
11410 sys/vtimes.h rather than vtimes.h.
11411 Add missing *s in vtimes prototype.
11412 (Limits on Resources): Fix ulimit prototype to return long int.
11413 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11414 prototypes to use long int rather than double.
11415 (BSD Random): Fix initstate and setstate to use char *, not void *.
11416 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11417 prototype to make second argument 'struct aiocb64 *const[]'.
11418 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11419 (Status of AIO Operations): Remove erroneous const in aio_return and
11420 aio_return64 prototypes.
11421 (Synchronizing I/O): Fix sync prototype to return void.
11422 * manual/startup.texi (Suboptions): Remove an erroneous const in
11423 getsubopt prototype.
11424 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11425 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11426 use size_t rather than int.
11427 (Scanning All Users): Likewise for getpwent_r.
11428 (Setting Groups): Add missing const to setgroups prototype.
11429 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11430 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11431 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11432 'const void *' rather than 'const char *'.
11433 (Host Address Functions): Likewise for inet_ntop.
11434 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11435 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11436 ssize_t for return value.
11437 (Sending Data): Likewise for send, sendto, sendmsg.
11438 (Socket Option Functions): Add a missing const in setsockopt prototype.
11439 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11440 use wchar_t for the argument.
11441 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11442 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11443 take no arguments.
11444 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11445 double/float/long double for second argument.
11446 Fix return types of significand, significandf, significandl.
11447 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11448 argument in fchmod prototype.
11449 (File Owner): Use uid_t and gid_t in fchown prototype.
11450 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11451 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11452 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11453 use 'const struct dirent **' as argument types to CMP function pointer
11454 argument.
11455 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11456 (File Times): Fix summary magic @comment for struct utimbuf and utime
11457 to refer to utime.h, not time.h.
11458 * manual/string.texi (Argz Functions): Add missing const in
11459 argz_extract and argz_next prototypes.
11460 (Finding Tokens in a String): Likewise for basename.
11461 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11462 (Copying and Concatenation): Fix typo in wmemmove prototype.
11463 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11464 (Signal Stack): Remove erroneous const in sigstack prototype.
11465 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11466 prototype.
11467 (Simple Calendar Time): Likewise for stime.
11468 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11469 prototype.
11470 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11471 say sys/sysctl.h instead.
11472 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11473 and vsyslog prototypes.
11474
11475 2013-02-11 Tom de Vries <tom@codesourcery.com>
11476
11477 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11478 Remove.
11479
11480 2013-02-11 Roland McGrath <roland@hack.frob.com>
11481
11482 * misc/sys/mman.h: Fix typo in mremap comment.
11483
11484 2013-02-08 Roland McGrath <roland@hack.frob.com>
11485
11486 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11487 the '\0' terminator.
11488
11489 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11490
11491 [BZ #13550]
11492 * debug/segfault.c: Don't include <bp-checks.h>.
11493 * sysdeps/generic/bp-checks.h: Remove file.
11494 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11495 (__GETDENTS): Don't use CHECK_N.
11496 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11498 (__getgroups): Don't use CHECK_N.
11499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11500 (setgroups): Don't use CHECK_N.
11501 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11502 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11503 (__libc_msgrcv): Don't use CHECK_N.
11504 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11505 (__libc_msgsnd): Don't use CHECK_N.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11507 <bp-checks.h>.
11508 (__libc_pread): Don't use CHECK_N.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11510 include <bp-checks.h>.
11511 (__libc_pread64): Don't use CHECK_N.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11513 include <bp-checks.h>.
11514 (__libc_pwrite): Don't use CHECK_N.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11516 include <bp-checks.h>.
11517 (__libc_pwrite64): Don't use CHECK_N.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11519 <bp-checks.h>.
11520 (__libc_pread): Don't use CHECK_N.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11522 include <bp-checks.h>.
11523 (__libc_pread64): Don't use CHECK_N.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11525 include <bp-checks.h>.
11526 (__libc_pwrite): Don't use CHECK_N.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11528 include <bp-checks.h>.
11529 (__libc_pwrite64): Don't use CHECK_N.
11530 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11531 (do_pread): Don't use CHECK_N.
11532 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11533 (do_pread64): Don't use CHECK_N.
11534 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11535 (do_pwrite): Don't use CHECK_N.
11536 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11537 (do_pwrite64): Don't use CHECK_N.
11538 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11539 (__libc_readv): Don't use CHECK_N.
11540 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11541 (semop): Don't use CHECK_N.
11542 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11543 <bp-checks.h>.
11544 (semtimedop): Don't use CHECK_N.
11545 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11546 (__libc_pread): Don't use CHECK_N.
11547 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11548 <bp-checks.h>.
11549 (__libc_pread64): Don't use CHECK_N.
11550 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11551 <bp-checks.h>.
11552 (__libc_pwrite): Don't use CHECK_N.
11553 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11554 <bp-checks.h>.
11555 (__libc_pwrite64): Don't use CHECK_N.
11556 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11557 <bp-checks.h>.
11558 (__libc_msgrcv): Don't use CHECK_N.
11559 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11560 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11561 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11562 (__libc_writev): Don't use CHECK_N.
11563
11564 2013-02-08 Roland McGrath <roland@hack.frob.com>
11565
11566 * string/strcpy.c: Removed unused variable.
11567
11568 * Makeconfig (+sysdep-includes): Define with := rather than =.
11569 Use an existing include/ subdir of each sysdeps dir before it.
11570
11571 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11572
11573 * nscd/connection.c (register_traced_file): Comment function.
11574 [HAVE_INOTIFY] (union __inev): Define.
11575 [HAVE_INOTIFY] (inotify_check_files): New function.
11576 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11577 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11578 clear_db_cache.
11579 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11580
11581 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11582
11583 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11584 loaded if not already and that a failure is permanent.
11585
11586 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11587
11588 [BZ #15006]
11589 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11590 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11591
11592 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11593
11594 [BZ #13550]
11595 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11596 (CHECK_1_NULL_OK): Likewise.
11597 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11598 (__fxstat): Do not use CHECK_1.
11599 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11600 <bp-checks.h>.
11601 (___fxstat64): Do not use CHECK_1.
11602 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11603 <bp-checks.h>.
11604 (__fxstatat): Do not use CHECK_1.
11605 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11606 <bp-checks.h>.
11607 (__fxstatat64): Do not use CHECK_1.
11608 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11609 <bp-checks.h>.
11610 (__fxstat): Do not use CHECK_1.
11611 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11612 <bp-checks.h>.
11613 (__fxstatat): Do not use CHECK_1.
11614 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11615 <bp-checks.h>.
11616 (__getresgid): Do not use CHECK_1.
11617 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11618 <bp-checks.h>.
11619 (__getresuid): Do not use CHECK_1.
11620 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11621 <bp-checks.h>.
11622 (__lxstat): Do not use CHECK_1.
11623 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11624 <bp-checks.h>.
11625 (__old_msgctl): Do not use CHECK_1.
11626 (__new_msgctl): Likewise.
11627 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11628 <bp-checks.h>.
11629 (__new_setrlimit): Do not use CHECK_1.
11630 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11631 <bp-checks.h>.
11632 (__old_shmctl): Do not use CHECK_1.
11633 (__new_shmctl): Likewise.
11634 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11635 <bp-checks.h>.
11636 (__xstat): Do not use CHECK_1.
11637 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11638 (__lxstat): Do not use CHECK_1.
11639 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11640 <bp-checks.h>.
11641 (___lxstat64): Do not use CHECK_1.
11642 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11643 (__old_msgctl): Do not use CHECK_1.
11644 (__new_msgctl): Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11646 <bp-checks.h>.
11647 (__gettimeofday): Do not use CHECK_1.
11648 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11649 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11650 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11651 <bp-checks.h>.
11652 (__gettimeofday): Do not use CHECK_1.
11653 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11654 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11655 (__new_shmctl): Do not use CHECK_1.
11656 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11657 <bp-checks.h>.
11658 (do_sigtimedwait): Do not use CHECK_1.
11659 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11660 <bp-checks.h>.
11661 (do_sigwaitinfo): Do not use CHECK_1.
11662 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11663 <bp-checks.h>.
11664 (msgctl): Do not use CHECK_1.
11665 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11666 <bp-checks.h>.
11667 (shmctl): Do not use CHECK_1.
11668 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11669 (ustat): Do not use CHECK_1.
11670 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11671 <bp-checks.h>.
11672 (__fxstat): Do not use CHECK_1.
11673 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11674 <bp-checks.h>.
11675 (__fxstatat): Do not use CHECK_1.
11676 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11677 <bp-checks.h>.
11678 (__lxstat): Do not use CHECK_1.
11679 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11680 <bp-checks.h>.
11681 (__xstat): Do not use CHECK_1.
11682 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11683 (__xstat): Do not use CHECK_1.
11684 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11685 (___xstat64): Do not use CHECK_1.
11686
11687 [BZ #13550]
11688 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11689 definitions.
11690 (CHECK_BOUNDS_HIGH): Likewise.
11691 * string/strcpy.c: Do not include <bp-checks.h>.
11692 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11693
11694 2013-02-07 Roland McGrath <roland@hack.frob.com>
11695
11696 * nscd/nscd-client.h (__nscd_drop_map_ref):
11697 Add __attribute__ ((unused)).
11698 * nis/nss-nisplus.h (niserr2nss): Likewise.
11699
11700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11701 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11702
11703 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11704 Remove inline keyword.
11705 * include/rounding-mode.h (round_away): Likewise.
11706 * libio/wfileops.c (adjust_wide_data): Likewise.
11707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11708 (__m128i_strloadu_tolower): Likewise.
11709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11710 (__m128i_strloadu_tolower): Likewise.
11711 * time/mktime.c (ydhms_diff): Likewise.
11712 * locale/elem-hash.h (elem_hash): Likewise.
11713 * locale/setlocale.c (setdata): Likewise.
11714 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11715 (re_string_wchar_at): Likewise.
11716 (bitset_not, bitset_merge, bitset_mask): Likewise.
11717 [!(__GNUC__ > 3)] (inline): Remove macro.
11718 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11719 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11720 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11721 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11722 * string/memcmp.c (memcmp_bytes): Likewise.
11723 * locale/programs/locarchive.c (compute_hashval): Likewise.
11724 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11725 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11726 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11727 * nss/getent.c (print_rpc, print_protocols): Likewise.
11728 (print_passwd, print_group, print_aliases): Likewise.
11729 * nis/nss-nisplus.h (niserr2nss): Likewise.
11730 * nscd/connections.c (restart_p): Likewise.
11731 Change return type to bool.
11732
11733 2013-02-05 Roland McGrath <roland@hack.frob.com>
11734
11735 * Makeconfig (all-Depend-files): Add existing
11736 $(sorted-subdirs:=/Depend) files.
11737 (all-subdirs): Remove nss.
11738 * sysdeps/unix/inet/Subdirs: Add it here instead.
11739 * hesiod/Depend: New file.
11740
11741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11742 instead of calling alloca.
11743
11744 * io/lseek.c (__lseek): Rename to __libc_lseek.
11745 Define __lseek as an alias.
11746
11747 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11748
11749 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11750
11751 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11752 else clause and remove check for non-standard endianness.
11753
11754 2013-02-04 David S. Miller <davem@davemloft.net>
11755
11756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11757
11758 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #13550]
11761 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11762 (__ubp_memchr): Remove prototype.
11763 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11764 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11765 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11766 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11767 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11768 Remove alias.
11769 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11770 (__ubp_memchr): Likewise.
11771 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11772 (__ubp_memchr): Likewise.
11773 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11774 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11776 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11777 CHECK_STRING.
11778 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11779 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11780 (__getcwd): Do not use CHECK_STRING.
11781 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11782 <bp-checks.h>.
11783 (__real_chown): Do not use CHECK_STRING.
11784 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11785 <bp-checks.h>.
11786 (fchownat): Do not use CHECK_STRING.
11787 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11788 CHECK_STRING.
11789 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11790 <bp-checks.h>.
11791 (__lchown): Do not use CHECK_STRING.
11792 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11793 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11794 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11795 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11797 include <bp-checks.h>.
11798 (truncate64): Do not use CHECK_STRING.
11799 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11800 <bp-checks.h>.
11801 (__real_chown): Do not use CHECK_STRING.
11802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11803 <bp-checks.h>.
11804 (__lchown): Do not use CHECK_STRING.
11805 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11806 <bp-checks.h>.
11807 (__chown): Do not use CHECK_STRING.
11808 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11809 <bp-checks.h>.
11810 (truncate64): Do not use CHECK_STRING.
11811 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11812 Likewise.
11813 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11814 (__xmknod): Do not use CHECK_STRING.
11815 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11816 <bp-checks.h>.
11817 (__xmknodat): Do not use CHECK_STRING.
11818 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11819 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11820
11821 2013-02-04 Andreas Schwab <schwab@suse.de>
11822
11823 [BZ #14142]
11824 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11825 * include/netdb.h: Likewise for h_errno.
11826 * elf/tst-stackguard1.c: Include <tls.h>.
11827
11828 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11829
11830 * elf/link.h (struct link_map): Extend the l_addr comment.
11831 * include/link.h (struct link_map): Likewise.
11832
11833 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11834
11835 [BZ #13550]
11836 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11837 (BOUNDED_1): Remove macro.
11838 * debug/backtrace.c: Don't include <bp-checks.h>.
11839 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11840 (__backtrace): Likewise.
11841 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11842 <bp-checks.h>.
11843 (__backtrace): Don't use BOUNDED_1.
11844 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11845 <bp-checks.h>.
11846 (__backtrace): Don't use BOUNDED_1.
11847 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11848 (__backtrace): Don't use BOUNDED_1.
11849 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11850 (shmat): Don't use BOUNDED_N.
11851
11852 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11853
11854 [BZ #13550]
11855 * sysdeps/generic/bp-start.h: Remove file.
11856 * csu/libc-start.c: Don't include <bp-start.h>.
11857 (LIBC_START_MAIN): Set up __environ directly instead of using
11858 INIT_ARGV_and_ENVIRON.
11859 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11860 <bp-start.h>.
11861
11862 [BZ #13550]
11863 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11864 definitions.
11865 (CHECK_FCNTL): Likewise.
11866 (CHECK_N_PAGES): Likewise.
11867
11868 [BZ #13550]
11869 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11870 definitions.
11871 (CHECK_SIGSET_NULL_OK): Likewise.
11872 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11873 <bp-checks.h>.
11874 (sigpending): Don't use CHECK_SIGSET.
11875 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11876 <bp-checks.h>.
11877 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11878 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11879 <bp-checks.h>.
11880 (do_sigsuspend): Don't use CHECK_SIGSET.
11881 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11882 use CHECK_SIGSET.
11883 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11884 (do_sigwait): Don't use CHECK_SIGSET.
11885 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11886 use CHECK_SIGSET.
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11888 include <bp-checks.h>.
11889 (sigpending): Don't use CHECK_SIGSET.
11890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11891 include <bp-checks.h>.
11892 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11893 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11894 <bp-checks.h>.
11895 (sigpending): Don't use CHECK_SIGSET.
11896 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11897 <bp-checks.h>.
11898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11899
11900 [BZ #13550]
11901 * sysdeps/generic/bp-semctl.h: Remove file.
11902 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11903 <bp-checks.h> and <bp-semctl.h>.
11904 (__old_semctl): Don't use CHECK_SEMCTL.
11905 (__new_semctl): Likewise.
11906 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11907 and <bp-semctl.h>.
11908 (__old_semctl): Don't use CHECK_SEMCTL.
11909 (__new_semctl): Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11911 <bp-checks.h> and <bp-semctl.h>.
11912 (__old_semctl): Don't use CHECK_SEMCTL.
11913 (__new_semctl): Likewise.
11914 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11915 <bp-checks.h> and <bp-semctl.h>.
11916 (semctl): Don't use CHECK_SEMCTL.
11917
11918 [BZ #13550]
11919 * Makerules (elide-bp-thunks): Remove variable.
11920 (elide-routines.oS): Don't use $(elide-bp-thunks).
11921 (elide-routines.os): Likewise.
11922 (elide-routines.o): Likewise.
11923 (elide-routines.op): Likewise.
11924 (elide-routines.og): Likewise.
11925 (objects): Don't use $(bp-thunks).
11926 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11927 include.
11928 (common-generated): Do not add s-proto-bp.d.
11929 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11930 (int): Likewise.
11931 (typ): Likewise.
11932 Do not generate makefile rules for bounded-pointer thunks.
11933 * sysdeps/generic/bp-thunks.h: Remove file.
11934 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11935 * sysdeps/unix/s-proto-bp.S: Likewise.
11936
11937 [BZ #15062]
11938 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11939 parts of result separately when argument is not close to line from
11940 -i to i and one part of argument is small.
11941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11943 * math/libm-test.inc (cacos_test): Add more tests.
11944 (casin_test): Likewise.
11945 (casinh_test): Likewise.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948
11949 2013-01-31 David S. Miller <davem@davemloft.net>
11950
11951 * po/de.po: Update from translation team.
11952
11953 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11954
11955 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11956
11957 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11958
11959 * configure.in (_AC_PROG_CC_C89): New definition.
11960 * configure: Regenerate.
11961
11962 * configure.in (AC_PROG_CPP): New definition.
11963 * configure: Regenerate.
11964
11965 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11966
11967 * debug/tst-backtrace.h: New file.
11968 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11969 (ret): Remove variable.
11970 (x): Likewise.
11971 (FAIL): Remove macro.
11972 (NO_INLINE): Likewise.
11973 (fn1): Use match function instead of strstr.
11974 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11975 (ret): Remove variable.
11976 (x): Likewise.
11977 (FAIL): Remove macro.
11978 (NO_INLINE): Likewise.
11979 (fn): Use match function instead of strstr.
11980 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11981 (ret): Remove variable.
11982 (x): Likewise.
11983 (FAIL): Remove macro.
11984 (NO_INLINE): Likewise.
11985 (handle_signal): Use match function instead of strstr.
11986 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11987 (ret): Remove variable.
11988 (x): Likewise.
11989 (FAIL): Remove macro.
11990 (NO_INLINE): Likewise.
11991 (handle_signal): Use match function instead of strstr.
11992
11993 2013-01-23 Roland McGrath <roland@hack.frob.com>
11994
11995 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11996
11997 2013-01-23 David S. Miller <davem@davemloft.net>
11998
11999 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12000 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12001 argument of CAS if possible.
12002 * sysdeps/sparc/sparc64/bits/atomic.h
12003 (__arch_compare_and_exchange_val_32_acq): Likewise.
12004 (__arch_compare_and_exchange_val_64_acq): Likewise.
12005
12006 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12007
12008 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12009 * sysdeps/posix/ulimit.c: ... this.
12010 Include <limits.h>.
12011 * sysdeps/unix/bsd/ulimit.c: Remove file.
12012
12013 2013-01-23 Adam Conrad <adconrad@0c3.net>
12014
12015 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12016 (LDFLAGS-tst-array5): Likewise.
12017
12018 2013-01-23 Joseph Myers <joseph@codesourcery.com>
12019
12020 [BZ #15036]
12021 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12022 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12023 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12024 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12025
12026 2013-01-21 David S. Miller <davem@davemloft.net>
12027
12028 * sysdeps/sparc/backtrace.c: New file.
12029 * sysdeps/sparc/sparc32/backtrace.h: New file.
12030 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12031 * sysdeps/sparc/sparc64/backtrace.h: New file.
12032 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12033 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12034 -funwind-tables.
12035
12036 2013-01-21 Andreas Schwab <schwab@suse.de>
12037
12038 [BZ #15020]
12039 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12040 closed its stdout.
12041
12042 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12043
12044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12045 "mpa2.h".
12046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12047
12048 2013-01-18 Joseph Myers <joseph@codesourcery.com>
12049 Mark Mitchell <mark@codesourcery.com>
12050 Tom de Vries <tom@codesourcery.com>
12051 Paul Pluzhnikov <ppluzhnikov@google.com>
12052
12053 * debug/tst-backtrace2.c: New file.
12054 * debug/tst-backtrace3.c: Likewise.
12055 * debug/tst-backtrace4.c: Likewise.
12056 * debug/tst-backtrace5.c: Likewise.
12057 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12058 (CFLAGS-tst-backtrace3.c): Likewise.
12059 (CFLAGS-tst-backtrace4.c): Likewise.
12060 (CFLAGS-tst-backtrace5.c): Likewise.
12061 (LDFLAGS-tst-backtrace2): Likewise.
12062 (LDFLAGS-tst-backtrace3): Likewise.
12063 (LDFLAGS-tst-backtrace4): Likewise.
12064 (LDFLAGS-tst-backtrace5): Likewise.
12065 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12066 tst-backtrace4 and tst-backtrace5.
12067
12068 2013-01-18 Anton Blanchard <anton@samba.org>
12069 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12070
12071 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12072 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12073 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12074 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12076 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12077 "+r" and remove output regs list as redundant. Add explicit inline
12078 asm to specify register of return val to work around compiler codegen
12079 bug. Remove (int) cast on return value. Add return type parameter to
12080 use in macro so that this macro does not truncate return value for
12081 64-bit values.
12082 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12083 pass to INTERNAL_VSYSCALL_NCS.
12084 (INLINE_VSYSCALL): Add 'long int' as return type to
12085 INTERNAL_VSYSCALL_NCS macro invocation.
12086 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12087 INTERNAL_VSYSCALL_NCS macro invocation.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12089
12090 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12091
12092 [BZ #14496]
12093 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12094 Fix application of SIMD FP exception mask.
12095
12096 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12097 mp_no from a power of two.
12098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12099 __mpexp_twomm1. Use __pow_mp.
12100
12101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12102 multiplication.
12103
12104 2013-01-17 David S. Miller <davem@davemloft.net>
12105
12106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12107
12108 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12109
12110 [BZ #15023]
12111 * include/complex.h: Condition contents on [!_COMPLEX_H].
12112 (__kernel_casinhf): New prototype.
12113 (__kernel_casinh): Likewise.
12114 (__kernel_casinhl): Likewise.
12115 * math/Makefile (libm_calls): Add k_casinh.
12116 * math/k_casinh.c: New file.
12117 * math/k_casinhf.c: Likewise.
12118 * math/k_casinhl.c: Likewise.
12119 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12120 finite nonzero arguments.
12121 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12122 finite nonzero arguments.
12123 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12124 finite nonzero arguments.
12125 * math/s_casinh.c: Do not include <float.h>.
12126 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12127 * math/s_casinhf.c: Do not include <float.h>.
12128 (__casinhf): Move code for finite nonzero arguments to
12129 k_casinhf.c.
12130 * math/s_casinhl.c: Do not include <float.h>.
12131 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12132 redefine.
12133 (__casinhl): Move code for finite nonzero arguments to
12134 k_casinhl.c.
12135 * math/libm-test.inc (cacos_test): Add more tests.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138
12139 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12140
12141 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12142 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12143 [!HAVE_MREMAP]: Remove [defined linux] case.
12144 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12145
12146 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12147
12148 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12149
12150 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * elf/elf.h (R_386_SIZE32): New relocation.
12153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12154 R_386_SIZE32.
12155 (elf_machine_rela): Likewise.
12156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12157 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12158
12159 2013-01-17 Joseph Myers <joseph@codesourcery.com>
12160
12161 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12162 (FP_FAST_FMA): Do not define.
12163 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12164 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12165 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12166 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12167 !_SOFT_FLOAT]: Likewise.
12168 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12169 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12170 value.
12171 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12172 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12174 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12175 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12176 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12177 file.
12178
12179 2013-01-16 Andreas Schwab <schwab@suse.de>
12180
12181 [BZ #14327]
12182 * include/stdlib.h (__mktemp): Add declaration.
12183 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12184 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12185
12186 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12187
12188 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12189 definitions.
12190 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12191 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12192 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12193 definitions here.
12194 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12195 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12196 definitions.
12197 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12198 and ONE.
12199 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12200 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12202 definitions.
12203 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12204 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12205 definitions.
12206 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12207
12208 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12209
12210 2013-01-15 David S. Miller <davem@davemloft.net>
12211
12212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12213 trunc{,f} to libm-sysdep_routes.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12216 file.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12219 file.
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12221 file.
12222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12224 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12226 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12227 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12228 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12229 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12230
12231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12232 nearbyint{,f} to libm-sysdep_routes.
12233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12235 New file.
12236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12237 file.
12238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12239 New file.
12240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12241 file.
12242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12244 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12245 file.
12246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12247 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12248 file.
12249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12250 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12251 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12252
12253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12254 libc_feholdexcept and libc_fesetenv.
12255
12256 2013-01-15 Mike Frysinger <vapier@gentoo.org>
12257
12258 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12259
12260 2013-01-14 David S. Miller <davem@davemloft.net>
12261
12262 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12263 (SPARC_ASM_VIS2_IFUNC): Likewise.
12264 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12266 use of 'siam' instruction.
12267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12268 Likewise.
12269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12270 Likewise.
12271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12272 Likewise.
12273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12278 file.
12279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12280 file.
12281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12282 file.
12283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12284 file.
12285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12290 new VIS2 routines.
12291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12294 Likewise.
12295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12300 routines to libm-sysdep_routines.
12301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12302
12303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12304 fdim/fdimf to libm-sysdep_routines.
12305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12306 file.
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12309 file.
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12313 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12314 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12317
12318 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12319
12320 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12321 to optimize copies.
12322
12323 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12326
12327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12328 local variable MPTWO.
12329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12330 Likewise.
12331
12332 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12333
12334 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12335 GLOB_NOESCAPE.
12336
12337 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12338
12339 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12340
12341 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12342
12343 * manual/pattern.texi (glob_t): Document gl_flags.
12344 (glob64_t): Likewise.
12345
12346 2013-01-11 David S. Miller <davem@davemloft.net>
12347
12348 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12349 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12350 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12351 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12352 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12353 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12354 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12355 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12356 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12357 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12359 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12360 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12361
12362 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12363 sparc V9 rather than using V8 code.
12364 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12365 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12366
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12368 Move to...
12369 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12370 Here.
12371
12372 2013-01-11 Roland McGrath <roland@hack.frob.com>
12373
12374 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12375 not in the main loop.
12376 * configure: Regenerated.
12377
12378 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12379
12380 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12381 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12382 to just #else.
12383 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12384 [!__GLIBC_HAVE_LONG_LONG] case.
12385 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12386 condition to just #else.
12387 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12388 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12389 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12390 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12391 unconditional.
12392 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12393 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12394 #elif condition to just #else.
12395 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12396 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12397 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12398 #elif condition to just #else.
12399
12400 2013-01-11 Steve Ellcey <sellcey@mips.com>
12401
12402 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12403 (EF_MIPS_ARCH_64): Fix value.
12404 (EF_MIPS_ARCH_32R2): New.
12405 (EF_MIPS_ARCH_64R2): New.
12406
12407 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * Makeconfig (+link-pie-before-libc): New.
12410 (+link-pie-after-libc): Likewise.
12411 (+link-pie-tests): Likewise.
12412 (+link-pie): Rewritten.
12413 (link-before-libc): Remove $(config-LDFLAGS).
12414 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12415 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12416 (config-LDFLAGS): Renamed to ...
12417 (rtld-LDFLAGS): This.
12418 (rtld-tests-LDFLAGS): New macro.
12419 (link-libc-rpath-link): Likewise.
12420 (link-libc-tests-rpath-link): Likewise.
12421 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12422 (link-libc): Prepand $(link-libc-rpath-link).
12423 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12424 (test-program-prefix): New macro.
12425 (test-via-rtld-prefix): Likewise.
12426 (test-program-cmd): Likewise.
12427 (host-test-program-cmd): Likewise.
12428 * Makefile ($(common-objpfx)testrun.sh): Replace
12429 $(run-program-prefix) with $(test-program-prefix).
12430 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12431 $(rtld-LDFLAGS).
12432 ($(common-objpfx)shlib.lds): Likewise.
12433 (build-module-helper): Likewise.
12434 ($(common-objpfx)format.lds): Likewise.
12435 * Rules (binaries-pie-tests): New.
12436 (binaries-pie-notests): Likewise.
12437 (binaries-pie): Rewritten.
12438 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12439 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12440 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12441 (make-test-out): Replace $(host-built-program-cmd) with
12442 $(host-test-program-cmd).
12443 * config.make.in (build-hardcoded-path-in-tests): New variable.
12444 * configure.in (--enable-hardcoded-path-in-tests): New configure
12445 option.
12446 (hardcoded_path_in_tests): New AC_SUBST.
12447 * configure: Regenerated.
12448 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12449 $(built-program-cmd) with $(test-program-cmd).
12450 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12451 (test_program_cmd): This.
12452 * elf/Makefile ($(objpfx)order.out): Run test with
12453 $(test-program-prefix).
12454 ($(objpfx)order2.out): Likewise.
12455 ($(objpfx)tst-initorder.out): Likewise.
12456 ($(objpfx)tst-initorder2.out): Likewise.
12457 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12458 $(test-program-cmd).
12459 ($(objpfx)tst-array1-static.out): Likewise.
12460 ($(objpfx)tst-array2.out): Likewise.
12461 ($(objpfx)tst-array3.out): Likewise.
12462 ($(objpfx)tst-array4.out): Likewise.
12463 ($(objpfx)tst-array5.out): Likewise.
12464 ($(objpfx)tst-array5-static.out): Likewise.
12465 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12466 $(test-program-cmd).
12467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12468 $(run-program-prefix) with $(test-program-prefix).
12469 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12470 (test_program_prefix): This.
12471 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12472 $(run-program-prefix) with $(test-program-prefix).
12473 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12474 (test_program_prefix): This.
12475 * iconvdata/tst-tables.sh: Likewise.
12476 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12477 $(run-program-prefix) with $(test-program-prefix).
12478 ($(objpfx)tst-translit.out): Likewise.
12479 ($(objpfx)tst-gettext2.out): Likewise.
12480 ($(objpfx)tst-gettext4.out): Likewise.
12481 ($(objpfx)tst-gettext6.out): Likewise.
12482 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12483 (test_program_prefix): This.
12484 * intl/tst-gettext2.sh: Likewise.
12485 * intl/tst-gettext4.sh Likewise.
12486 * intl/tst-gettext6.sh: Likewise.
12487 * intl/tst-translit.sh: Likewise.
12488 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12489 with $(test-program-cmd).
12490 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12491 $(run-program-prefix) with $(test-program-prefix).
12492 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12493 (test_program_prefix): This.
12494 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12495 $(run-program-prefix) with $(test-program-prefix).
12496 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12497 (test_program_prefix): This.
12498 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12499 * posix/Makefile ($(objpfx)globtest.out): Replace
12500 $(run-via-rtld-prefix) and $(test-wrapper) with
12501 $(test-program-prefix) and $(test-via-rtld-prefix).
12502 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12503 $(test-program-prefix).
12504 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12505 $(host-test-program-cmd).
12506 (tst-spawn-ARGS): Likewise.
12507 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12508 $(test-program-prefix).
12509 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12510 (test_via_rtld_prefix): This.
12511 (test_wrapper): Renamed to ...
12512 (test_program_prefix): This.
12513 (run_program_prefix): Replaced by test_program_prefix.
12514 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12515 (test_program_prefix): This.
12516 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12517 with $(host-test-program-cmd).
12518 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12519 $(run-program-prefix) with $(test-program-prefix).
12520 ($(objpfx)tst-printf.out): Likewise.
12521 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12522 $(test-program-cmd).
12523 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12524 (test_program_prefix): This.
12525 * stdio-common/tst-unbputc.sh: Likewise.
12526 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12527 $(run-program-prefix) with $(test-program-prefix).
12528 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12529 (test_program_prefix): This.
12530 * string/Makefile ($(objpfx)tst-svc.out): Replace
12531 $(built-program-cmd) with $(test-program-cmd).
12532
12533 2013-01-11 Andreas Jaeger <aj@suse.de>
12534
12535 [BZ #15003]
12536 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12537 value. Sync with Linux 3.7.
12538
12539 2013-01-10 David S. Miller <davem@davemloft.net>
12540
12541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12544
12545 2013-01-10 Roland McGrath <roland@hack.frob.com>
12546
12547 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12548 never set.
12549 * configure: Regenerated.
12550
12551 2013-01-10 David S. Miller <davem@davemloft.net>
12552
12553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12554 sparc V9 rather than using V8 code.
12555 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12556 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12557
12558 2013-01-10 Roland McGrath <roland@hack.frob.com>
12559
12560 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12561 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12562 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12563 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12564 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12565 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12566 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12567 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12568 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12569 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12570 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12571 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12572 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12573 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12574 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12575 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12576 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12577 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12578 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12579 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12580 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12581 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12582 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12583 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12584 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12585 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12586 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12587
12588 2013-01-10 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12591
12592 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12593
12594 * posix/Makefile (tests-static): New variable.
12595 (tests): Add $(tests-static).
12596 (tst-exec-static-ARGS): New variable.
12597 (tst-spawn-static-ARGS): Likewise.
12598 * posix/tst-exec-static.c: New file.
12599 * posix/tst-spawn-static.c: Likewise.
12600 * posix/tst-exec.c: Support run directly.
12601 * posix/tst-spawn.c: Likewise.
12602
12603 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12604
12605 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12606 long.
12607 * math/bits/mathcalls.h (llrint): Likewise.
12608 (llround): Likewise.
12609 * stdlib/stdlib.h (struct drand48_data): Likewise.
12610 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12611 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12613 Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12615 Likewise.
12616 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12617 (elf_greg_t): Likewise.
12618 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12619 (__jmp_buf): Likewise.
12620 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12621 definitions.
12622 (llrint): Likewise, for all definitions.
12623 (llrintl): Likewise.
12624
12625 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12626 Remove [__GNUC__] condition.
12627 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12628 condition to just [__USE_ISOC99].
12629 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12630
12631 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 [BZ #14200]
12634 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12635 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12636 defined.
12637 (_POSIX_V6_ILP32_OFF32): Likewise.
12638 (_XBS5_ILP32_OFF32): Likewise.
12639 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12640 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12641
12642 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12643
12644 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12645
12646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12647 doubles __mpexp_twomm1. Adjust usage.
12648 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12649 Remove.
12650
12651 2013-01-10 Andreas Schwab <schwab@suse.de>
12652
12653 [BZ #14964]
12654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12655 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12656
12657 2013-01-09 David S. Miller <davem@davemloft.net>
12658
12659 [BZ #15003]
12660 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12661 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12662 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12663 TCP_FASTOPEN): Define.
12664 (tcp_repair_opt): New structure.
12665 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12666 enum values.
12667 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12668 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12669 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12670 (tcp_cookie_transactions): New structure.
12671
12672 2013-01-09 Anton Blanchard <anton@samba.org>
12673
12674 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12675 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12676 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12677 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12678
12679 2013-01-09 Joseph Myers <joseph@codesourcery.com>
12680
12681 * include/features.h (__USE_ANSI): Remove.
12682
12683 2013-01-09 Roland McGrath <roland@hack.frob.com>
12684
12685 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12686
12687 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12688
12689 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12690
12691 * sysdeps/s390/fpu/libm-test-ulps: Update.
12692
12693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12694
12695 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12696 (__acr): Likewise.
12697 (__cpy): Likewise.
12698 (norm): Likewise.
12699 (denorm): Likewise.
12700 (__mp_dbl): Likewise.
12701 (__dbl_mp): Likewise.
12702 (add_magnitudes): Likewise.
12703 (sub_magnitudes): Likewise.
12704 (__add): Likewise.
12705 (__sub): Likewise.
12706 (__mul): Likewise.
12707 (__inv): Likewise.
12708 (__dvd): Likewise.
12709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12710 (__acr): Likewise.
12711 (__cpy): Likewise.
12712 (norm): Likewise.
12713 (denorm): Likewise.
12714 (__mp_dbl): Likewise.
12715 (__dbl_mp): Likewise.
12716 (add_magnitudes): Likewise.
12717 (sub_magnitudes): Likewise.
12718 (__add): Likewise.
12719 (__sub): Likewise.
12720 (__mul): Likewise.
12721 (__inv): Likewise.
12722 (__dvd): Likewise.
12723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12724 (__acr): Likewise.
12725 (__cpy): Likewise.
12726 (norm): Likewise.
12727 (denorm): Likewise.
12728 (__mp_dbl): Likewise.
12729 (__dbl_mp): Likewise.
12730 (add_magnitudes): Likewise.
12731 (sub_magnitudes): Likewise.
12732 (__add): Likewise.
12733 (__sub): Likewise.
12734 (__mul): Likewise.
12735 (__inv): Likewise.
12736 (__dvd): Likewise.
12737
12738 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12739
12740 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12741 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12742 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12743 2 && __USE_EXTERN_INLINES]: Likewise.
12744
12745 2013-01-08 Andreas Jaeger <aj@suse.de>
12746
12747 [BZ# 14985]
12748 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12749 Remove.
12750 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12751 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12752
12753 2013-01-07 Anton Blanchard <anton@samba.org>
12754
12755 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12756 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12757 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12758 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12759 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12761 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12762 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12765 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12768 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12770 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12773 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12774 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12776 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12778 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12779 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12780 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12781 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12784 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12785 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12789 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12791 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12793 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12794 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12795 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12797 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12798
12799 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12800
12801 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12802 (__MALLOC_PMT): Likewise.
12803 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12804 [__GNUC__], only on [_LIBC].
12805 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12806 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12807 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12808 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12809 forward declaration.
12810 (realloc_hook_ini): Likewise.
12811 (memalign_hook_ini): Likewise.
12812 (__libc_memalign): Do not use __MALLOC_PMT in variable
12813 declaration.
12814 (__libc_valloc): Likewise.
12815 (__libc_pvalloc): Likewise.
12816 (__libc_calloc): Likewise.
12817 (__posix_memalign): Likewise.
12818
12819 [BZ #14996]
12820 * math/s_casinh.c: Include <float.h>.
12821 (__casinh): Do not do computation with squaring and square root
12822 for large arguments.
12823 * math/s_casinhf.c: Include <float.h>.
12824 (__casinhf): Do not do computation with squaring and square root
12825 for large arguments.
12826 * math/s_casinhl.c: Include <float.h>.
12827 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12828 (__casinhl): Do not do computation with squaring and square root
12829 for large arguments.
12830 * math/libm-test.inc (casin_test): Add more tests.
12831 (casinh_test): Likewise.
12832 * sysdeps/i386/fpu/libm-test-ulps: Update.
12833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12834
12835 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12836
12837 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12838 (__x86_64_raw_data_cache_size): Likewise.
12839 (__x86_64_data_cache_size_half): Likewise.
12840 (__x86_64_raw_data_cache_size_half): Likewise.
12841 (__x86_64_shared_cache_size): Likewise.
12842 (__x86_64_raw_shared_cache_size): Likewise.
12843 (__x86_64_shared_cache_size_half): Likewise.
12844 (__x86_64_raw_shared_cache_size_half): Likewise.
12845 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12846 to ...
12847 (__x86_data_cache_size): This.
12848 (__x86_64_raw_data_cache_size): Renamed to ...
12849 (__x86_raw_data_cache_size): This.
12850 (__x86_64_data_cache_size_half): Renamed to ...
12851 (__x86_data_cache_size_half): This.
12852 (__x86_64_raw_data_cache_size_half): Renamed to ...
12853 (__x86_raw_data_cache_size_half): This.
12854 (__x86_64_shared_cache_size): Renamed to ...
12855 (__x86_shared_cache_size): This.
12856 (__x86_64_raw_shared_cache_size): Renamed to ...
12857 (__x86_raw_shared_cache_size): This.
12858 (__x86_64_shared_cache_size_half): Renamed to ...
12859 (__x86_shared_cache_size_half): This.
12860 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12861 (__x86_raw_shared_cache_size_half): This.
12862 * sysdeps/x86_64/memcpy.S: Updated.
12863 * sysdeps/x86_64/memset.S: Likewise.
12864 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12865 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12866 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12867
12868 2013-01-04 David S. Miller <davem@davemloft.net>
12869
12870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12871
12872 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12873
12874 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12875 1 to avoid redefinition warning.
12876 (__USE_GNU): Don't define.
12877 (init_signaling_nan): Protoize.
12878
12879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12880
12881 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12882
12883 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12885 (__cpymn): Likewise.
12886 (norm): Remove commented code.
12887 (denorm): Likewise.
12888 (__mp_dbl): Likewise.
12889 (__inv): Likewise.
12890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12891 (__cpymn): Likewise.
12892 (norm): Remove commented code.
12893 (denorm): Likewise.
12894 (__mp_dbl): Likewise.
12895 (__inv): Likewise.
12896
12897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12898 mp_no value for 1.0 and 2.0.
12899 (norm): Use RADIXI instead of radixi.d.
12900 (denorm): Likewise.
12901 (__mul): Use 0.0 instead of zero.d.
12902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12903 mp_no value for 1.0 and 2.0.
12904 (norm): Use RADIXI instead of radixi.d.
12905 (denorm): Likewise.
12906 (__mul): Use 0.0 instead of zero.d.
12907
12908 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12909
12910 [BZ #14994]
12911 * math/s_casinh.c (__casinh): Reduce finite argument to first
12912 quadrant then set signs of results at the end.
12913 * math/s_casinhf.c (__casinhf): Likewise.
12914 * math/s_casinhl.c (__casinhl): Likewise.
12915 * math/libm-test.inc (casin_test): Add more tests.
12916 (casinh_test): Likewise.
12917 * sysdeps/i386/fpu/libm-test-ulps: Update.
12918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12919
12920 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12921
12922 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12923
12924 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12925
12926 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12927 declarations.
12928 (denorm): Likewise.
12929 (__mp_dbl): Likewise.
12930 (__inv): Likewise.
12931
12932 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12933 and adjust the header comment.
12934
12935 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12936 variable name from declaration.
12937
12938 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12939
12940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12941 Initialize COMMON_CPUID_INDEX_7 element.
12942 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12943 (CPUID_RTM): Likewise.
12944 (HAS_RTM): Likewise.
12945 (COMMON_CPUID_INDEX_7): New enum.
12946
12947 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12948
12949 [BZ #14981]
12950 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12951 size is zero, record memory as freed.
12952
12953 2013-01-03 Andreas Jaeger <aj@suse.de>
12954
12955 * po/ia.po: Add new Interlingua translation.
12956
12957 2012-01-03 Allan McRae <allan@archlinux.org>
12958
12959 * locale/programs/localedef.c: Fix description of '--posix' flag.
12960
12961 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12962
12963 * NEWS: Update dates in second copyright notice.
12964 * README: Update copyright dates in example.
12965 * manual/libc.texinfo: Update copyright dates.
12966 * scripts/test-installation.pl: Update copyright date in --version
12967 output.
12968
12969 * hurd/ctty-input.c: Fix copyright notice formatting.
12970 * hurd/ctty-output.c: Likewise.
12971 * hurd/dtable.c: Likewise.
12972 * hurd/hurd-raise.c: Likewise.
12973 * hurd/hurdprio.c: Likewise.
12974 * hurd/msgportdemux.c: Likewise.
12975 * misc/sys/file.h: Likewise.
12976 * misc/sys/ioctl.h: Likewise.
12977 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12978 * sysdeps/mach/hurd/chdir.c: Likewise.
12979 * sysdeps/mach/hurd/fchdir.c: Likewise.
12980 * sysdeps/mach/hurd/rename.c: Likewise.
12981 * sysdeps/mach/hurd/rmdir.c: Likewise.
12982 * sysdeps/mach/hurd/seekdir.c: Likewise.
12983 * sysdeps/mach/hurd/setsid.c: Likewise.
12984 * sysdeps/posix/wait3.c: Likewise.
12985
12986 * All files with FSF copyright notices: Update copyright dates
12987 using scripts/update-copyrights.
12988 * intl/plural.c: Regenerated.
12989 * locale/programs/charmap-kw.h: Likewise.
12990 * locale/programs/locfile-kw.h: Likewise.
12991
12992 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12993
12994 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12995 four values.
12996
12997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12998 calculation loop and add branch prediction.
12999
13000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13001 check access beyond bounds of m1np.
13002
13003 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13004 MPTWO.
13005 (__inv): Remove local variable MPTWO to use the global
13006 constant.
13007 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13009 variable MPTWO.
13010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13011 MP3HALFS static const.
13012
13013 2013-01-01 David S. Miller <davem@davemloft.net>
13014
13015 * po/ca.po: Update from translation team.
13016
13017 2013-01-01 Joseph Myers <joseph@codesourcery.com>
13018
13019 * scripts/update-copyrights: New file.
13020 * Makeconfig: Reformat copyright notice.
13021 * ctype/ctype.h: Likewise.
13022 * debug/swprintf_chk.c: Likewise.
13023 * elf/dl-cache.c: Likewise.
13024 * elf/dl-debug.c: Likewise.
13025 * elf/dl-object.c: Likewise.
13026 * grp/initgroups.c: Likewise.
13027 * hurd/Makefile: Likewise.
13028 * hurd/hurd/signal.h: Likewise.
13029 * hurd/hurdfault.c: Likewise.
13030 * hurd/hurdioctl.c: Likewise.
13031 * hurd/hurdlookup.c: Likewise.
13032 * hurd/intr-msg.c: Likewise.
13033 * iconv/gconv_open.c: Likewise.
13034 * libio/swprintf.c: Likewise.
13035 * locale/lc-ctype.c: Likewise.
13036 * locale/nl_langinfo.c: Likewise.
13037 * mach/Machrules: Likewise.
13038 * mach/Makefile: Likewise.
13039 * malloc/obstack.h: Likewise.
13040 * manual/Makefile: Likewise.
13041 * manual/tsort.awk: Likewise.
13042 * misc/bits/stab.def: Likewise.
13043 * nis/nis_print_group_entry.c: Likewise.
13044 * nis/nis_table.c: Likewise.
13045 * nis/nss_compat/compat-pwd.c: Likewise.
13046 * nis/nss_compat/compat-spwd.c: Likewise.
13047 * po/Makefile: Likewise.
13048 * posix/fnmatch.c: Likewise.
13049 * posix/regex.h: Likewise.
13050 * resolv/Makefile: Likewise.
13051 * resolv/nss_dns/dns-network.c: Likewise.
13052 * resolv/res_hconf.c: Likewise.
13053 * scripts/gen-sorted.awk: Likewise.
13054 * soft-fp/soft-fp.h: Likewise.
13055 * stdio-common/printf.h: Likewise.
13056 * stdlib/monetary.h: Likewise.
13057 * stdlib/random.c: Likewise.
13058 * stdlib/random_r.c: Likewise.
13059 * sysdeps/generic/Makefile: Likewise.
13060 * sysdeps/gnu/Makefile: Likewise.
13061 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13089 * sysdeps/mach/hurd/errnos.awk: Likewise.
13090 * sysdeps/mach/hurd/fork.c: Likewise.
13091 * sysdeps/mach/hurd/getcwd.c: Likewise.
13092 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13093 * sysdeps/mach/hurd/mmap.c: Likewise.
13094 * sysdeps/mach/hurd/utimes.c: Likewise.
13095 * sysdeps/mach/hurd/xmknod.c: Likewise.
13096 * sysdeps/posix/profil.c: Likewise.
13097 * sysdeps/posix/readdir_r.c: Likewise.
13098 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13099 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13100 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13101 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13103 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13105 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13109 * sysdeps/pthread/lio_listio.c: Likewise.
13110 * sysdeps/sparc/dl-procinfo.h: Likewise.
13111 * sysdeps/unix/i386/sysdep.S: Likewise.
13112 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13113 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13114 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13115 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13117 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13118 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13119 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13120 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13121 * sysdeps/wordsize-32/divdi3.c: Likewise.
13122 * time/sys/time.h: Likewise.
13123 * wcsmbs/Makefile: Likewise.
13124
13125 2013-01-01 David S. Miller <davem@davemloft.net>
13126
13127 * po/fr.po: Update from translation team.
13128
13129 * catgets/gencat.c: Update copyright year.
13130 * csu/version.c: Likewise.
13131 * debug/catchsegv.sh: Likewise.
13132 * debug/pcprofiledump.c: Likewise.
13133 * debug/xtrace.sh: Likewise.
13134 * elf/ldconfig.c: Likewise.
13135 * elf/ldd.bash.in: Likewise.
13136 * elf/pldd.c: Likewise.
13137 * elf/sotruss.ksh: Likewise.
13138 * elf/sprof.c: Likewise.
13139 * iconv/iconv_prog.c: Likewise.
13140 * iconv/iconvconfig.c: Likewise.
13141 * locale/programs/locale.c: Likewise.
13142 * locale/programs/localedef.c: Likewise.
13143 * login/programs/pt_chown.c: Likewise.
13144 * malloc/memusage.sh: Likewise.
13145 * malloc/memusagestat.c: Likewise.
13146 * malloc/mtrace.pl: Likewise.
13147 * nscd/nscd.c: Likewise.
13148 * nss/getent.c: Likewise.
13149 * nss/makedb.c: Likewise.
13150 * posix/getconf.c: Likewise.
13151
13152 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13153
13154 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13155 numbers.
13156
13157 2012-12-30 Mike Frysinger <vapier@gentoo.org>
13158
13159 * math/bits/mathcalls.h (modf): Use __nonnull.
13160
13161 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13162
13163 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13164 (split): Use macro CN instead of the bare value.
13165 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13166 could be used.
13167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13168 instead of the bare value.
13169 (power1): Likewise.
13170
13171 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13172
13173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13174 __ATAN_TWOM.
13175 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13176
13177 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13178 their values.
13179 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13181 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13182 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13183
13184 2012-12-28 Andreas Jaeger <aj@suse.de>
13185
13186 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13187 values are from Linux 3.7.
13188
13189 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13190 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13191
13192 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13195 TRUE case.
13196
13197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13198 (norm): Likewise.
13199 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13200 variables with preprocessor constants.
13201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13202 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13204
13205 2012-12-27 Bruno Haible <bruno@clisp.org>
13206
13207 [BZ #14317]
13208 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13209 only if needed.
13210
13211 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13212
13213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13214 and use variable directly.
13215 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13216
13217 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13218 MPONE.
13219 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13221 variable MPONE.
13222 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13224 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13225 include directive. Remove local variable MPONE.
13226 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13227 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13229
13230 2012-12-25 David S. Miller <davem@davemloft.net>
13231
13232 * version.h (RELEASE): Set to "development".
13233 (VERSION): Set to "2.17.90".
13234 * NEWS: Add 2.18 section.
13235
13236 2012-12-21 David S. Miller <davem@davemloft.net>
13237
13238 * po/hr.po: Update from translation team.
13239
13240 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13241
13242 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13243
13244 2012-12-19 Steve Ellcey <sellcey@mips.com>
13245
13246 * NEWS: Mention new memcpy for MIPS.
13247
13248 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13249
13250 * manual/contrib.texi (Contributors): Spelling correction.
13251
13252 2012-12-15 David S. Miller <davem@davemloft.net>
13253
13254 * po/ru.po: Update from translation team.
13255
13256 2012-12-13 David S. Miller <davem@davemloft.net>
13257
13258 * NEWS: Mention IFUNC testsuite enhancements.
13259
13260 * po/pl.po: Update from translation team.
13261 * po/bg.po: Likewise.
13262
13263 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13264 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13265
13266 2012-12-11 David S. Miller <davem@davemloft.net>
13267
13268 * po/sv.po: Update from translation team.
13269
13270 * po/vi.po: Update from translation team.
13271
13272 * po/cs.po: Update from translation team.
13273
13274 * po/de.po: Update from translation team.
13275 * po/eo.po: Likewise.
13276 * po/nl.po: Likewise.
13277
13278 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13279
13280 [BZ #14246]
13281 * manual/argp.texi (Argp Helper Functions): Move node to follow
13282 Argp Parsing State.
13283
13284 [BZ #14872]
13285 * manual/conf.texi (Limits on File System Capacity): Mention if
13286 terminating null is included in the max size.
13287
13288 2012-12-10 Andreas Jaeger <aj@suse.de>
13289
13290 * po/cs.po: Update from translation team.
13291
13292 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13293
13294 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13295 void pointer and cast to uintptr_t.
13296 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13297 path.
13298 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13299 * sysdeps/s390/s390-64/memset.S: Likewise.
13300
13301 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
13302
13303 [BZ #14833]
13304 * menual/message.texi (Message Translation): Fix typos.
13305 (Helper programs for gettext): Likewise.
13306
13307 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13308
13309 [BZ #14898]
13310 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13311 Change to -1.
13312
13313 2012-12-07 David S. Miller <davem@davemloft.net>
13314
13315 * po/libc.pot: Update.
13316
13317 2012-12-07 Richard Henderson <rth@redhat.com>
13318
13319 [BZ #10114]
13320 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13321 normal/normal case to before the switch.
13322 (_FP_DIV): Likewise.
13323
13324 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13325 Mike Frysinger <vapier@gentoo.org>
13326
13327 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13328 check for __NR_fadvise64_64.
13329
13330 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13331
13332 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13333 0, not just to plain "0" as a statement.
13334 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13335 with cw.
13336
13337 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13338
13339 * NEWS: Use sourceware.org in Bugzilla URL.
13340
13341 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13342
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13344 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13345
13346 * stdio-common/tst-put-error.c (do_test): Add newline to the
13347 padded test to ensure flush.
13348
13349 2012-12-05 Jeff Law <law@redhat.com>
13350
13351 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13352
13353 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13354
13355 * README: Don't refer to ports add-on as distributed separately.
13356 Mention AArch64 in list of systems supported in the ports add-on.
13357
13358 * LICENSES: Add more non-FSF copyright and license notices.
13359
13360 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13361 ((unused)).
13362
13363 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13364
13365 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13366 10000 as width of padded output.
13367
13368 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13369
13370 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13371
13372 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13373 variable LX with __attribute__ ((unused)).
13374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13375 Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13379 with __attribute__ ((unused)).
13380
13381 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13382
13383 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13384
13385 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13386
13387 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13388 (CFLAGS-nldbl-acos.c): New variable.
13389 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13390 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13391 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13392 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13393 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13394 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13395 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13396 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13397 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13398 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13399 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13400 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13401 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13402 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13403 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13404 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13405 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13406 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13407 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13408 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13409 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13410 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13411 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13412 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13413 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13414 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13415 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13416 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13417 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13418 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13419 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13420 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13421 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13422 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13423 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13424 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13425 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13426 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13427 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13428 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13429 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13430 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13431 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13432 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13433 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13434 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13435 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13436 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13437 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13438 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13439 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13440 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13441 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13442 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13443 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13444 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13445 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13446 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13447 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13448 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13449 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13450 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13451 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13452 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13453 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13454 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13455 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13456 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13457 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13458 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13459 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13460 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13461 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13462 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13463 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13464 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13465 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13466 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13467 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13468 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13469 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13470 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13471 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13472 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13473 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13474 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13475 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13476 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13477 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13478 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13479 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13480 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13481 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13482 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13483 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13484 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13485 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13486
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13488 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13489
13490 [BZ #14914]
13491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13492 whole low double instead of just low 47 bits when splitting values
13493 into two parts.
13494
13495 2012-12-03 Allan McRae <allan@archlinux.org>
13496
13497 * manual/stdio.texi (Predefined Printf Handlers): Remove
13498 @hsep and @vsep usage.
13499
13500 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13501
13502 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13503 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13504
13505 2012-12-03 Jeff Law <law@redhat.com>
13506
13507 * time/sys/time.h (settimeofday): Do not mark TV argument
13508 as __nonnull.
13509
13510 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13511
13512 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13513 when currently writing and seek to current position when not.
13514 * libio/Makefile (tests): Remove bug-fclose1.
13515 * libio/bug-fclose1.c: Delete.
13516
13517 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13518
13519 * manual/arith.texi (feenableexcept): Fix typo.
13520 (fedisableexcept): Likewise.
13521
13522 2012-11-30 Roland McGrath <roland@hack.frob.com>
13523
13524 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13525 second, differently-typed declaration, rather than a cast.
13526
13527 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13528
13529 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13530 * include/rpc/svc.h: ... here.
13531
13532 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13533
13534 [BZ #13013]
13535 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13536 depending n and resplen2 to catch cases where answer
13537 equals answerp2.
13538
13539 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13540
13541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13542 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13543
13544 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13545
13546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13547
13548 2012-11-29 Roland McGrath <roland@hack.frob.com>
13549
13550 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13551
13552 2012-11-28 Jeff Law <law@redhat.com>
13553
13554 [BZ #13761]
13555 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13556 dataset_temporary. Track alloca usage into alloca_used.
13557 If dataset is large allocate and release it via malloc/free.
13558
13559 2012-06-04 Florian Weimer <fweimer@redhat.com>
13560
13561 [BZ #14197]
13562 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13563
13564 2012-11-28 David S. Miller <davem@davemloft.net>
13565
13566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13567
13568 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13569
13570 [BZ #14803]
13571 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13572 of pi/2 rounded to nearest to 64 bits.
13573 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13574 nearest to 64 bits.
13575 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13576 bits.
13577
13578 2012-11-28 Jeff Law <law@redhat.com>
13579 Martin Osvald <mosvald@redhat.com>
13580
13581 [BZ #14889]
13582 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13583 * sunrpc/svc.c: Include time.h.
13584 (__svc_accept_failed): New function.
13585 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13586 any reason other than EINTR, call __svc_accept_failed.
13587 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13588 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13589
13590 2012-11-28 Andreas Schwab <schwab@suse.de>
13591
13592 * scripts/abilist.awk: Also handle indirect functions in .opd
13593 section.
13594
13595 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13596
13597 [BZ #13881]
13598 * sysdeps/x86/fpu/powl_helper.c: New file.
13599 * sysdeps/x86/fpu/Makefile: Likewise.
13600 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13601 (p3): New object.
13602 (__ieee754_powl): Use __powl_helper for finite arguments except
13603 integer exponents below 8.
13604 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13605 (p3): New object.
13606 (__ieee754_powl): Use __powl_helper for finite arguments except
13607 integer exponents below 8.
13608 * math/libm-test.inc (pow_test): Add more tests and enable some
13609 previously disabled tests.
13610 * sysdeps/i386/fpu/libm-test-ulps: Update.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612
13613 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13614 Carlos O'Donell <carlos_odonell@mentor.com>
13615
13616 * nss/makedb.c (is_prime): Assert that input is odd and greater
13617 than 4. Note that fact in a comment too.
13618 (next_prime): Add 4 to input.
13619
13620 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13621
13622 [BZ #11741]
13623 * libio/Makefile (tests): Add test case tst-fwrite-error.
13624 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13625 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13626 * libio/tst-fwrite-error.c: New test case.
13627
13628 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13629
13630 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13631 before casting to void *.
13632 * include/libc-internal.h (__pointer_type): New macro.
13633 (__integer_if_pointer_type_sub): Likewise.
13634 (__integer_if_pointer_type): Likewise.
13635 (cast_to_integer): Likewise.
13636 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13637 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13638 before casting to atomic64_t.
13639 (atomic_exchange_acq): Likewise.
13640 (__arch_exchange_and_add_body): Likewise.
13641 (__arch_add_body): Likewise.
13642 (atomic_add_negative): Likewise.
13643 (atomic_add_zero): Likewise.
13644
13645 2012-11-26 Joseph Myers <joseph@codesourcery.com>
13646
13647 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13648 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13649 (add_fdes): Likewise.
13650 (linear_search_fdes): Likewise.
13651 (binary_search_unencoded_fdes): Likewise.
13652
13653 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13654
13655 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13656
13657 2012-11-24 Adam Conrad <adconrad@0c3.net>
13658
13659 * configure.in: Autodetect C++ header directories.
13660 * configure: Regenerated.
13661
13662 2012-11-23 Mike Frysinger <vapier@gentoo.org>
13663
13664 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13665
13666 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13667
13668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13669
13670 2012-11-22 Joseph Myers <joseph@codesourcery.com>
13671
13672 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13673 LDBL_MANT_DIG == 106]: Disable some tests.
13674 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13675 Likewise.
13676 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13677 Likewise.
13678
13679 [BZ #14871]
13680 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13681 input for small inputs. Return +/- pi/2 for large inputs.
13682 * math/libm-test.inc (atan_test): Add more tests.
13683
13684 * sysdeps/generic/unwind-dw2-fde-glibc.c
13685 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13686 __attribute__ ((unused)).
13687
13688 [BZ #14645]
13689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13690 x * y if x and y are nonzero and z is zero.
13691
13692 [BZ #14811]
13693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13694 nonzero exponents with absolute value below 0x1p-117 to +/-
13695 0x1p-117.
13696
13697 [BZ #14869]
13698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13699 up arguments below 2**-450, not just those below 2**-500.
13700 * math/libm-test.inc (hypot_test): Add another test.
13701
13702 [BZ #14868]
13703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13704 Return a+b for ratio over 2**120, not 2**60.
13705 * math/libm-test.inc (hypot_test): Add another test.
13706
13707 * math/libm-test.inc (clog_test): Use
13708 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13709 (clog10_test): Likewise.
13710
13711 [BZ #6778]
13712 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13713
13714 2012-11-22 Andreas Schwab <schwab@suse.de>
13715
13716 * sysdeps/i386/fpu/libm-test-ulps: Update.
13717
13718 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13719
13720 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13721 printf output with newline.
13722
13723 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 [BZ #14865]
13726 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13727 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13728 -z nodlopen, -z initfirst and -z execstack support.
13729 * configure: Regenerated.
13730
13731 * elf/elf.h (DF_1_NODIRECT): New macro.
13732 (DF_1_IGNMULDEF): Likewise.
13733 (DF_1_NOKSYMS): Likewise.
13734 (DF_1_NOHDR): Likewise.
13735 (DF_1_EDITED): Likewise.
13736 (DF_1_NORELOC): Likewise.
13737 (DF_1_SYMINTPOSE): Likewise.
13738 (DF_1_GLOBAUDIT): Likewise.
13739 (DF_1_SINGLETON): Likewise.
13740 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13741 DT_1_SUPPORTED_MASK bits.
13742 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13743
13744 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13745
13746 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13747
13748 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13749
13750 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13751 macro.
13752
13753 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13754 (sendmmsg): Move declarations...
13755 * socket/sys/socket.h: ... here.
13756 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13757 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13758 include it from...
13759 * socket/recvmmsg.c: ... this new file.
13760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13761 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13762 definition of __sendmmsg hidden.
13763 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13764 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13765 Move ENOSYS stub into and include it from...
13766 * socket/sendmmsg.c: ... this new file.
13767 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13768 (sysdep_routines): Move recvmmsg and sendmmsg...
13769 * socket/Makefile (routines): ... here.
13770 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13771 (GLIBC_PRIVATE): Add __sendmmsg.
13772 * include/sys/socket.h (__sendmmsg): Add declarations.
13773 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13774 sendmmsg.
13775
13776 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13777
13778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13779 variable I1 with __attribute__ ((unused)).
13780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13781
13782 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13783
13784 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13785 DUMMY variables with __attribute__ ((unused)).
13786
13787 * bits/byteswap.h: Include <bits/types.h>.
13788 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13789
13790 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13791
13792 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13793 string_t. Do not manually set errno.
13794 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13795 length with __strnlen. Make sure to both set errno and return it on
13796 failure.
13797
13798 2012-11-19 David S. Miller <davem@davemloft.net>
13799
13800 With help from Joseph Myers.
13801 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13802 very large arguments properly.
13803 * math/libm-test.inc (atan_test): New tests.
13804 (atan2_test): New tests.
13805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13807
13808 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13809
13810 [BZ #14856]
13811 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13812 Define to 3.
13813
13814 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13815 [POSIX] (EADDRNOTAVAIL): Likewise.
13816 [POSIX] (EAFNOSUPPORT): Likewise.
13817 [POSIX] (EALREADY): Likewise.
13818 [POSIX] (ECONNABORTED): Likewise.
13819 [POSIX] (ECONNREFUSED): Likewise.
13820 [POSIX] (ECONNRESET): Likewise.
13821 [POSIX] (EDESTADDRREQ): Likewise.
13822 [POSIX] (EDQUOT): Likewise.
13823 [POSIX] (EHOSTUNREACH): Likewise.
13824 [POSIX] (EIDRM): Likewise.
13825 [POSIX] (EISCONN): Likewise.
13826 [POSIX] (ELOOP): Likewise.
13827 [POSIX] (EMULTIHOP): Likewise.
13828 [POSIX] (ENETDOWN): Likewise.
13829 [POSIX] (ENETUNREACH): Likewise.
13830 [POSIX] (ENOBUFS): Likewise.
13831 [POSIX] (ENODATA): Likewise.
13832 [POSIX] (ENOLINK): Likewise.
13833 [POSIX] (ENOMSG): Likewise.
13834 [POSIX] (ENOPROTOOPT): Likewise.
13835 [POSIX] (ENOSR): Likewise.
13836 [POSIX] (ENOSTR): Likewise.
13837 [POSIX] (ENOTCONN): Likewise.
13838 [POSIX] (ENOTSOCK): Likewise.
13839 [POSIX] (EOPNOTSUPP): Likewise.
13840 [POSIX] (EOVERFLOW): Likewise.
13841 [POSIX] (EPROTO): Likewise.
13842 [POSIX] (EPROTONOSUPPORT): Likewise.
13843 [POSIX] (EPROTOTYPE): Likewise.
13844 [POSIX] (ESTALE): Likewise.
13845 [POSIX] (ETIME): Likewise.
13846 [POSIX] (ETXTBSY): Likewise.
13847 [POSIX] (EWOULDBLOCK): Likewise.
13848 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13849 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13850 [POSIX] (SEEK_CUR): Likewise.
13851 [POSIX] (SEEK_END): Likewise.
13852 [POSIX || UNIX98] (mode_t): Do not require.
13853 [POSIX] (off_t): Likewise.
13854 [POSIX] (pid_t): Likewise.
13855 [POSIX] (sys/stat.h): Do not allow header.
13856 [POSIX] (unistd.h): Likewise.
13857 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13858 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13859 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13860 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13861 require.
13862 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13863 sigevent): Specify elements.
13864 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13865 entry.
13866 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13867 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13868
13869 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13870 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13871 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13872 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13873 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13874 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13875 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13876 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13877 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13878 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13879 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13881 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13882 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13883 Likewise.
13884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13885 Likewise.
13886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13887 Likewise.
13888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13889 Likewise.
13890 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13891 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13892 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13894 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13895 Specify lower bound on value.
13896 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13897 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13898 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13899 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13900 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13902 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13903 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13904 value.
13905 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13906 as optional.
13907 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13908 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13909 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13910 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13911 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13912 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13913 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13914 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13915 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13916 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13917 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13918 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13919 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13920 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13921 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13922 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13923 entry.
13924 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13925 optional.
13926 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13927 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13928 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13929 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13930 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13931 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13932 Likewise.
13933 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13938 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13939 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13940 as optional.
13941 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13945 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13946 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13947 specify as optional.
13948 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13951 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13952 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13953 [XPG3] (NL_LANGMAX): Likewise.
13954 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13955 [POSIX || XPG3] (NL_NMAX): Likewise.
13956 [POSIX || XPG3] (NL_SETMAX): Likewise.
13957 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13958 [XPG3] (NZERO): Likewise.
13959 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13960 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13961 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13962 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13963 (REG_ERANGE): Expect.
13964 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13965 optional-constant.
13966 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13967 Use (void) in prototype.
13968 [POSIX] (*_t): Allow.
13969 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13970 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13971 (WRDE_BADVAL): Expect.
13972
13973 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13974 expect.
13975 [XPG3 || XPG4] (O_RSYNC): Likewise.
13976 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13977 Likewise.
13978 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13979 [XPG3 || XPG4] (sigqueue): Likewise.
13980 [XPG3 || XPG4] (sigtimedwait): Likewise.
13981 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13982 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13983 [XPG3 || XPG4] (vsnprintf): Likewise.
13984 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13985 Likewise.
13986 [XPG3 || XPG4] (blksize_t): Likewise.
13987 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13988 Likewise.
13989 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13990 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13991 [XPG3 || XPG4] (struct itimerspec): Likewise.
13992 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13993 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13994 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13995 [XPG3 || XPG4] (clockid_t): Likewise.
13996 [XPG3 || XPG4] (timer_t): Likewise.
13997 [XPG3 || XPG4] (clock_getres): Likewise.
13998 [XPG3 || XPG4] (clock_gettime): Likewise.
13999 [XPG3 || XPG4] (clock_settime): Likewise.
14000 [XPG3 || XPG4] (nanosleep): Likewise.
14001 [XPG3 || XPG4] (timer_create): Likewise.
14002 [XPG3 || XPG4] (timer_delete): Likewise.
14003 [XPG3 || XPG4] (timer_gettime): Likewise.
14004 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14005 [XPG3 || XPG4] (timer_settime): Likewise.
14006 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14007 [XPG3 || XPG4] (getlogin_r): Likewise.
14008 [XPG3 || XPG4] (pread): Likewise.
14009 [XPG3 || XPG4] (pthread_atfork): Likewise.
14010 [XPG3 || XPG4] (pwrite): Likewise.
14011
14012 [BZ #14835]
14013 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14014 <bits/siginfo.h>.
14015
14016 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14017
14018 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14019 finalizing MALLSTREAM.
14020
14021 * sysdeps/mach/hurd/syncfs.c: New file.
14022
14023 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 [BZ #14719]
14026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14027 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14028 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14029 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14030 (_nss_dns_gethostbyname4_r): Likewise.
14031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14032 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14033
14034 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14035
14036 [BZ #13763]
14037 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14038
14039 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14040
14041 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14042 * elf/cache.c (print_entry): Print ",AArch64" for
14043 FLAG_AARCH64_LIB64
14044
14045 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14046 * elf/cache.c (print_entry): Print ",hard-float" for
14047 FLAG_ARM_LIBHF.
14048
14049 2012-11-18 David S. Miller <davem@davemloft.net>
14050
14051 With help from Joseph Myers.
14052 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14053 cutoff to 2**-13.
14054 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14055 cutoff to 2**-25.
14056 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14057 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14058 small.
14059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14060 * math/libm-test.inc (y0_test): New tests.
14061 (y1_test): New tests.
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14065
14066 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14067
14068 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14069 64-bit targets.
14070 * configure: Regenerated.
14071
14072 2012-11-17 David S. Miller <davem@davemloft.net>
14073
14074 [BZ #14811]
14075 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14076 nonzero exponents with absolute value below 0x1p-128 to +/-
14077 0x1p-128.
14078
14079 2012-11-17 Joseph Myers <joseph@codesourcery.com>
14080
14081 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14082
14083 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14084
14085 * posix/getconf-speclist.c: New file.
14086 * posix/posix-envs.def: Likewise.
14087 * posix/confstr.c (START_ENV_GROUP): New macro.
14088 (END_ENV_GROUP): Likewise.
14089 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14090 (KNOWN_PRESENT_ENV_STRING): Likewise.
14091 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14092 (UNKNOWN_ENVIRONMENT): Likewise.
14093 (confstr): Include posix-envs.def instead of handling
14094 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14095 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14096 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14097 (END_ENV_GROUP): Likewise.
14098 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14099 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14100 (UNKNOWN_ENVIRONMENT): Likewise.
14101 (__sysconf): Include posix-envs.def instead of handling associated
14102 cases directly here.
14103 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14104 preprocessing getconf-speclist.c rather than running getconf or
14105 generating empty file.
14106
14107 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14108
14109 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14110
14111 2012-11-16 Andrej Lajovic <natrij@gmail.com>
14112
14113 [BZ #14672]
14114 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14115
14116 2012-11-16 David S. Miller <davem@davemloft.net>
14117
14118 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14119 smaller than LDBL_EPSILON/2.0L, just return xm1.
14120
14121 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * elf/tst-array1.c (init): Set constructor priority to 1000.
14124 (fini): Set destructor priority to 1000.
14125 * elf/tst-array2dep.c: Likewise.
14126
14127 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
14129 [BZ #11741]
14130 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14131 (_IO_new_file_xsputn): Also return EOF if none of the input
14132 data was written when overflow failed.
14133 * libio/iopadn.c (_IO_padn): Likewise.
14134 * libio/iowpadn.c (_IO_wpadn): Likewise.
14135 * stdio-common/tst-put-error.c: Add copyright notice.
14136 (do_test): Add case for printing padded string.
14137 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14138 _IO_padn returned error.
14139 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14140 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14141 return EOF.
14142
14143 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14144
14145 * libio/libioP.h: Add comment note that the references to C++
14146 bits are now obsolete.
14147
14148 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14149
14150 * math/libm-test.inc (check_complex): Use asprintf.
14151
14152 2012-11-14 Joseph Myers <joseph@codesourcery.com>
14153
14154 * debug/pcprofiledump.c (print_version): Update copyright year.
14155 * malloc/memusagestat.c (print_version): Likewise.
14156
14157 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14158
14159 [BZ #14831]
14160 * elf/Makefile (tests): Add tst-audit8.
14161 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14162 ($(objpfx)tst-audit8.out): New target.
14163 (tst-audit8-ENV): New variable.
14164 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14165 audit if l_reloc_result is NULL.
14166 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14167 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14168 * elf/tst-audit8.c: New file.
14169
14170 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14171
14172 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14173 * misc/Makefile (CFLAGS-select.c): Define.
14174 * posix/Makefile (CFLAGS-pause.c): Define.
14175
14176 2012-11-13 David S. Miller <davem@davemloft.net>
14177
14178 * crypt/Makefile: Move test targets after toplevel Rules
14179 inclusion. Grab any necessary sysdep routines when linking.
14180 * crypt/md5.c (md5_process_block): Remove define, we will always
14181 name it __md5_process_block.
14182 (md5_finish_ctx): Update md5_process_block call.
14183 (md5_stream): Likewise.
14184 (md5_process_bytes): Likewise.
14185 (md5_process_block): Rename to __md5_process_block and move to ...
14186 * crypt/md5-block.c: ... here.
14187 * crypt/sha256.c (sha256_process_block): Move to ...
14188 * crypt/sha256-block.c: ... here.
14189 * crypt/sha512.c (sha512_process_block): Move to ...
14190 * crypt/sha512-block.c: ... here.
14191 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14192 path.
14193 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14194 * sysdeps/sparc/sparc64/multiarch/Makefile
14195 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14196 crypt subdir.
14197 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14198 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14199 multiarch changes.
14200 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14201 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14202 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14203 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14204 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14205 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14206 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14207 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14208 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14209 file.
14210 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14212 file.
14213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14214
14215 2012-11-13 Joseph Myers <joseph@codesourcery.com>
14216
14217 * timezone/tzselect.ksh: Update from tzcode git revision
14218 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14219 * timezone/zdump.c: Likewise.
14220 * timezone/zic.c: Likewise.
14221 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14222 in TZVERSION setting, not $(PKGVERSION).
14223 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14224 REPORT_BUGS_TO settings.
14225
14226 [BZ #14838]
14227 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14228 macro.
14229
14230 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14231
14232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14233 detection to immediately after _FP_ROUND().
14234 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14235 bits are 0.
14236
14237 2012-11-11 David S. Miller <davem@davemloft.net>
14238
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14240 inttypes.h
14241 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14242 __close rather than their public counterparts.
14243
14244 2012-11-10 Joseph Myers <joseph@codesourcery.com>
14245
14246 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14247 file.
14248 [UNIX98] (sem_timedwait): Do not expect.
14249 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14250 [XPG4 || UNIX98] (sockatmark): Do not expect.
14251 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14252 (clock_getcpuclockid): Do not expect.
14253 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14254 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14255 Do not expect.
14256 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14257 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14258 [UNIX98] (vwscanf): Likewise.
14259 [UNIX98] (vswscanf): Likewise.
14260
14261 2012-11-09 Joseph Myers <joseph@codesourcery.com>
14262
14263 * timezone/version.h: Remove file.
14264 * timezone/README: Do not refer to version.h.
14265 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14266 $(objpfx)version.h.
14267 ($(objpfx)zdump.o): Likewise.
14268 ($(objpfx)version.h): New target.
14269
14270 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14271 2012i.
14272 * timezone/README: Don't mention modification to tzselect.ksh.
14273 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14274 work on unmodified tzselect.ksh. Substitute version numbers in
14275 tzselect.ksh.
14276
14277 * Makefile (format-me): Remove.
14278 (INSTALL): Adjust indentation. Use commands directly instead of
14279 using $(format-me).
14280
14281 * aclocal.m4 (ACX_PKGVERSION): New macro.
14282 (ACX_BUGURL): Likewise.
14283 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14284 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14285 (REPORT_BUGS_TO): Likewise.
14286 * configure: Regenerated.
14287 * config.h.in (PKGVERSION): New macro.
14288 (REPORT_BUGS_TO): Likewise.
14289 * config.make.in (PKGVERSION): New variable.
14290 (PKGVERSION_TEXI): Likewise.
14291 (REPORT_BUGS_TO): Likewise.
14292 (REPORT_BUGS_TEXI): Likewise.
14293 * Makefile (format-me): Use -I$(common-objpfx)manual.
14294 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14295 ($(common-objpfx)manual/%): New target.
14296 (manual/%): Remove target.
14297 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14298 (print_version): Use PKGVERSION.
14299 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14300 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14301 and REPORT_BUGS_TO.
14302 ($(objpfx)xtrace): Likewise.
14303 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14304 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14305 (print_version): Use PKGVERSION.
14306 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14307 (do_version): Use PKGVERSION.
14308 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14309 REPORT_BUGS_TO.
14310 (common-ldd-rewrite): Likewise.
14311 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14312 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14313 (print_version): Use PKGVERSION.
14314 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14315 * elf/pldd.c (argp_program_bug_address): Remove variable.
14316 (more_help): New function.
14317 (argp): Use more_help.
14318 (print_version): Use PKGVERSION.
14319 * elf/sln.c (main): Use PKGVERSION.
14320 (usage): Use REPORT_BUGS_TO.
14321 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14322 (top level): Use PKGVERSION.
14323 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14324 (print_version): Use PKGVERSION.
14325 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14326 (print_version): Use PKGVERSION.
14327 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14328 (print_version): Use PKGVERSION.
14329 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14330 (print_version): Use PKGVERSION.
14331 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14332 (print_version): Use PKGVERSION.
14333 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14334 (print_version): Use PKGVERSION.
14335 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14336 and BUGURL.
14337 ($(objpfx)memusage): Likewise.
14338 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14339 (do_version): Use PKGVERSION.
14340 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14341 (print_version): Use PKGVERSION.
14342 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14343 ($PKGVERSION): New variable.
14344 ($REPORT_BUGS_TO): Likewise.
14345 (usage): Use $REPORT_BUGS_TO.
14346 (top level): Use $PKGVERSION.
14347 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14348 ($(objpfx)pkgvers.texi): New rule.
14349 ($(objpfx)stamp-pkgvers): Likewise.
14350 * manual/install.texi: Include pkgvers.texi.
14351 (--with-pkgversion): Document new configure option.
14352 (--with-bugurl): Likewise.
14353 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14354 than necessarily for this particular distribution. Use
14355 REPORT_BUGS_TO for where to report bugs.
14356 * INSTALL: Regenerated.
14357 * manual/libc.texinfo: Include pkgvers.texi.
14358 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14359 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14360 (print_version): Use PKGVERSION.
14361 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14362 (print_version): Use PKGVERSION.
14363 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14364 (print_version): Use PKGVERSION.
14365 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14366 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14367 macro.
14368 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14369 (print_version): Use PKGVERSION.
14370 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14371 (print_version): Use PKGVERSION.
14372 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14373 and PKGVERSION.
14374
14375 * timezone/checktab.awk: Update from tzcode 2012i.
14376 * timezone/ialloc.c: Likewise.
14377 * timezone/private.h: Likewise.
14378 * timezone/scheck.c: Likewise.
14379 * timezone/tzfile.h: Likewise.
14380 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14381 (TZVERSION): Hardcode tzcode version number.
14382 * timezone/zdump.c: Update from tzcode 2012i.
14383 * timezone/zic.c: Likewise.
14384 * timezone/version.h: New file.
14385 * timezone/README: Describe version.h. Update upstream location.
14386
14387 [BZ #14824]
14388 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14389 (mktemp): Enable declaration.
14390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14394 Likewise.
14395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14396 Likewise.
14397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14398 Likewise.
14399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14400 Likewise.
14401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14402 Likewise.
14403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14404 Likewise.
14405
14406 [BZ #14821]
14407 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14408 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14409 for copies of such integer values.
14410 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14411 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14412
14413 2012-11-09 Andreas Jaeger <aj@suse.de>
14414
14415 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14416 definitions and declarations that are provided by
14417 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14418
14419 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14420
14421 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14422 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14423 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14424 definition.
14425
14426 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14427
14428 * elf/elf.h: Update comment before AArch64 relocations.
14429
14430 2012-11-07 David S. Miller <davem@davemloft.net>
14431
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14433 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14434 (__start_context): Declare.
14435 (__makecontext_ret): Delete.
14436 (__makecontext): Hook up __start_context instead of
14437 __makecontext_ret.
14438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14439 (sysdep_routines): Add __start_context when in stdlib.
14440
14441 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14442
14443 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14444 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14445 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14446 hardcoded "nm".
14447 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14448 (READELF): New variable. Use it instead of hardcoded "readelf".
14449
14450 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14451
14452 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14453 * sysdeps/x86/Makefile: Here.
14454 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14455 * sysdeps/x86/tst-xmmymm.sh: This.
14456
14457 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14458
14459 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14460 expectations.
14461 [UNIX98] (pthread_barrier_t): Do not expect.
14462 [UNIX98] (pthread_barrierattr_t): Likewise.
14463 [UNIX98] (pthread_spinlock_t): Likewise.
14464 [UNIX98] (pthread_barrier_destroy): Likewise.
14465 [UNIX98] (pthread_barrier_init): Likewise.
14466 [UNIX98] (pthread_barrier_wait): Likewise.
14467 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14468 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14469 [UNIX98] (pthread_barrierattr_init): Likewise.
14470 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14471 [UNIX98] (pthread_getcpuclockid): Likewise.
14472 [UNIX98] (pthread_mutex_timedlock): Likewise.
14473 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14474 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14475 [UNIX98] (pthread_sigmask): Likewise.
14476 [UNIX98] (pthread_spin_destroy): Likewise.
14477 [UNIX98] (pthread_spin_init): Likewise.
14478 [UNIX98] (pthread_spin_lock): Likewise.
14479 [UNIX98] (pthread_spin_trylock): Likewise.
14480 [UNIX98] (pthread_spin_unlock): Likewise.
14481 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14482 Do not expect.
14483 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14485 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14486 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14487 [XPG3 || XPG4] (pthread_key_t): Likewise.
14488 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14489 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14490 [XPG3 || XPG4] (pthread_once_t): Likewise.
14491 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14492 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14494 [XPG3 || XPG4] (pthread_t): Likewise.
14495
14496 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14497 not expect.
14498 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14499
14500 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14501 Change function return type to int.
14502
14503 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14504 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14505 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14506 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14507 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14508 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14509 [!POSIX] (posix_madvise): Likewise.
14510 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14511 && !UNIX98].
14512 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14513 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14514 (mode_t): Likewise.
14515 (posix_mem_offset): Likewise.
14516 (posix_typed_mem_get_info): Likewise.
14517 (posix_typed_mem_open): Likewise.
14518
14519 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14520 Change condition to [XOPEN2K8].
14521
14522 * conform/conformtest.pl: Preprocess allow-header data with -x c
14523 instead of from stdin.
14524 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14525 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14526 [C99-based standards] (cerfc): Likewise.
14527 [C99-based standards] (cexp2): Likewise.
14528 [C99-based standards] (cexpm1): Likewise.
14529 [C99-based standards] (clog10): Likewise.
14530 [C99-based standards] (clog1p): Likewise.
14531 [C99-based standards] (clog2): Likewise.
14532 [C99-based standards] (clgamma): Likewise.
14533 [C99-based standards] (ctgamma): Likewise.
14534 [C99-based standards] (cerff): Likewise.
14535 [C99-based standards] (cerfcf): Likewise.
14536 [C99-based standards] (cexp2f): Likewise.
14537 [C99-based standards] (cexpm1f): Likewise.
14538 [C99-based standards] (clog10f): Likewise.
14539 [C99-based standards] (clog1pf): Likewise.
14540 [C99-based standards] (clog2f): Likewise.
14541 [C99-based standards] (clgammaf): Likewise.
14542 [C99-based standards] (ctgammaf): Likewise.
14543 [C99-based standards] (cerfl): Likewise.
14544 [C99-based standards] (cerfcl): Likewise.
14545 [C99-based standards] (cexp2l): Likewise.
14546 [C99-based standards] (cexpm1l): Likewise.
14547 [C99-based standards] (clog10l): Likewise.
14548 [C99-based standards] (clog1pl): Likewise.
14549 [C99-based standards] (clog2l): Likewise.
14550 [C99-based standards] (clgammal): Likewise.
14551 [C99-based standards] (ctgammal): Likewise.
14552 * conform/data/inttypes.h-data [C99-based standards]: Include
14553 stdint.h-data. Remove all expectations for stdint.h contents.
14554 [C99-based standards] (PRI*): Do not allow.
14555 [C99-based standards] (SCN*): Likewise.
14556 [C99-based standards] (*_t): Likewise.
14557 [C99-based-standards] (PRId8): Expect macro.
14558 [C99-based-standards] (PRIi8): Likewise.
14559 [C99-based-standards] (PRIo8): Likewise.
14560 [C99-based-standards] (PRIu8): Likewise.
14561 [C99-based-standards] (PRIx8): Likewise.
14562 [C99-based-standards] (PRIX8): Likewise.
14563 [C99-based-standards] (SCNd8): Likewise.
14564 [C99-based-standards] (SCNi8): Likewise.
14565 [C99-based-standards] (SCNo8): Likewise.
14566 [C99-based-standards] (SCNu8): Likewise.
14567 [C99-based-standards] (SCNx8): Likewise.
14568 [C99-based-standards] (PRIdLEAST8): Likewise.
14569 [C99-based-standards] (PRIiLEAST8): Likewise.
14570 [C99-based-standards] (PRIoLEAST8): Likewise.
14571 [C99-based-standards] (PRIuLEAST8): Likewise.
14572 [C99-based-standards] (PRIxLEAST8): Likewise.
14573 [C99-based-standards] (PRIXLEAST8): Likewise.
14574 [C99-based-standards] (SCNdLEAST8): Likewise.
14575 [C99-based-standards] (SCNiLEAST8): Likewise.
14576 [C99-based-standards] (SCNoLEAST8): Likewise.
14577 [C99-based-standards] (SCNuLEAST8): Likewise.
14578 [C99-based-standards] (SCNxLEAST8): Likewise.
14579 [C99-based-standards] (PRIdFAST8): Likewise.
14580 [C99-based-standards] (PRIiFAST8): Likewise.
14581 [C99-based-standards] (PRIoFAST8): Likewise.
14582 [C99-based-standards] (PRIuFAST8): Likewise.
14583 [C99-based-standards] (PRIxFAST8): Likewise.
14584 [C99-based-standards] (PRIXFAST8): Likewise.
14585 [C99-based-standards] (SCNdFAST8): Likewise.
14586 [C99-based-standards] (SCNiFAST8): Likewise.
14587 [C99-based-standards] (SCNoFAST8): Likewise.
14588 [C99-based-standards] (SCNuFAST8): Likewise.
14589 [C99-based-standards] (SCNxFAST8): Likewise.
14590 [C99-based-standards] (PRId16): Likewise.
14591 [C99-based-standards] (PRIi16): Likewise.
14592 [C99-based-standards] (PRIo16): Likewise.
14593 [C99-based-standards] (PRIu16): Likewise.
14594 [C99-based-standards] (PRIx16): Likewise.
14595 [C99-based-standards] (PRIX16): Likewise.
14596 [C99-based-standards] (SCNd16): Likewise.
14597 [C99-based-standards] (SCNi16): Likewise.
14598 [C99-based-standards] (SCNo16): Likewise.
14599 [C99-based-standards] (SCNu16): Likewise.
14600 [C99-based-standards] (SCNx16): Likewise.
14601 [C99-based-standards] (PRIdLEAST16): Likewise.
14602 [C99-based-standards] (PRIiLEAST16): Likewise.
14603 [C99-based-standards] (PRIoLEAST16): Likewise.
14604 [C99-based-standards] (PRIuLEAST16): Likewise.
14605 [C99-based-standards] (PRIxLEAST16): Likewise.
14606 [C99-based-standards] (PRIXLEAST16): Likewise.
14607 [C99-based-standards] (SCNdLEAST16): Likewise.
14608 [C99-based-standards] (SCNiLEAST16): Likewise.
14609 [C99-based-standards] (SCNoLEAST16): Likewise.
14610 [C99-based-standards] (SCNuLEAST16): Likewise.
14611 [C99-based-standards] (SCNxLEAST16): Likewise.
14612 [C99-based-standards] (PRIdFAST16): Likewise.
14613 [C99-based-standards] (PRIiFAST16): Likewise.
14614 [C99-based-standards] (PRIoFAST16): Likewise.
14615 [C99-based-standards] (PRIuFAST16): Likewise.
14616 [C99-based-standards] (PRIxFAST16): Likewise.
14617 [C99-based-standards] (PRIXFAST16): Likewise.
14618 [C99-based-standards] (SCNdFAST16): Likewise.
14619 [C99-based-standards] (SCNiFAST16): Likewise.
14620 [C99-based-standards] (SCNoFAST16): Likewise.
14621 [C99-based-standards] (SCNuFAST16): Likewise.
14622 [C99-based-standards] (SCNxFAST16): Likewise.
14623 [C99-based-standards] (PRId32): Likewise.
14624 [C99-based-standards] (PRIi32): Likewise.
14625 [C99-based-standards] (PRIo32): Likewise.
14626 [C99-based-standards] (PRIu32): Likewise.
14627 [C99-based-standards] (PRIx32): Likewise.
14628 [C99-based-standards] (PRIX32): Likewise.
14629 [C99-based-standards] (SCNd32): Likewise.
14630 [C99-based-standards] (SCNi32): Likewise.
14631 [C99-based-standards] (SCNo32): Likewise.
14632 [C99-based-standards] (SCNu32): Likewise.
14633 [C99-based-standards] (SCNx32): Likewise.
14634 [C99-based-standards] (PRIdLEAST32): Likewise.
14635 [C99-based-standards] (PRIiLEAST32): Likewise.
14636 [C99-based-standards] (PRIoLEAST32): Likewise.
14637 [C99-based-standards] (PRIuLEAST32): Likewise.
14638 [C99-based-standards] (PRIxLEAST32): Likewise.
14639 [C99-based-standards] (PRIXLEAST32): Likewise.
14640 [C99-based-standards] (SCNdLEAST32): Likewise.
14641 [C99-based-standards] (SCNiLEAST32): Likewise.
14642 [C99-based-standards] (SCNoLEAST32): Likewise.
14643 [C99-based-standards] (SCNuLEAST32): Likewise.
14644 [C99-based-standards] (SCNxLEAST32): Likewise.
14645 [C99-based-standards] (PRIdFAST32): Likewise.
14646 [C99-based-standards] (PRIiFAST32): Likewise.
14647 [C99-based-standards] (PRIoFAST32): Likewise.
14648 [C99-based-standards] (PRIuFAST32): Likewise.
14649 [C99-based-standards] (PRIxFAST32): Likewise.
14650 [C99-based-standards] (PRIXFAST32): Likewise.
14651 [C99-based-standards] (SCNdFAST32): Likewise.
14652 [C99-based-standards] (SCNiFAST32): Likewise.
14653 [C99-based-standards] (SCNoFAST32): Likewise.
14654 [C99-based-standards] (SCNuFAST32): Likewise.
14655 [C99-based-standards] (SCNxFAST32): Likewise.
14656 [C99-based-standards] (PRId64): Likewise.
14657 [C99-based-standards] (PRIi64): Likewise.
14658 [C99-based-standards] (PRIo64): Likewise.
14659 [C99-based-standards] (PRIu64): Likewise.
14660 [C99-based-standards] (PRIx64): Likewise.
14661 [C99-based-standards] (PRIX64): Likewise.
14662 [C99-based-standards] (SCNd64): Likewise.
14663 [C99-based-standards] (SCNi64): Likewise.
14664 [C99-based-standards] (SCNo64): Likewise.
14665 [C99-based-standards] (SCNu64): Likewise.
14666 [C99-based-standards] (SCNx64): Likewise.
14667 [C99-based-standards] (PRIdLEAST64): Likewise.
14668 [C99-based-standards] (PRIiLEAST64): Likewise.
14669 [C99-based-standards] (PRIoLEAST64): Likewise.
14670 [C99-based-standards] (PRIuLEAST64): Likewise.
14671 [C99-based-standards] (PRIxLEAST64): Likewise.
14672 [C99-based-standards] (PRIXLEAST64): Likewise.
14673 [C99-based-standards] (SCNdLEAST64): Likewise.
14674 [C99-based-standards] (SCNiLEAST64): Likewise.
14675 [C99-based-standards] (SCNoLEAST64): Likewise.
14676 [C99-based-standards] (SCNuLEAST64): Likewise.
14677 [C99-based-standards] (SCNxLEAST64): Likewise.
14678 [C99-based-standards] (PRIdFAST64): Likewise.
14679 [C99-based-standards] (PRIiFAST64): Likewise.
14680 [C99-based-standards] (PRIoFAST64): Likewise.
14681 [C99-based-standards] (PRIuFAST64): Likewise.
14682 [C99-based-standards] (PRIxFAST64): Likewise.
14683 [C99-based-standards] (PRIXFAST64): Likewise.
14684 [C99-based-standards] (SCNdFAST64): Likewise.
14685 [C99-based-standards] (SCNiFAST64): Likewise.
14686 [C99-based-standards] (SCNoFAST64): Likewise.
14687 [C99-based-standards] (SCNuFAST64): Likewise.
14688 [C99-based-standards] (SCNxFAST64): Likewise.
14689 [C99-based-standards] (PRIdMAX): Likewise.
14690 [C99-based-standards] (PRIiMAX): Likewise.
14691 [C99-based-standards] (PRIoMAX): Likewise.
14692 [C99-based-standards] (PRIuMAX): Likewise.
14693 [C99-based-standards] (PRIxMAX): Likewise.
14694 [C99-based-standards] (PRIXMAX): Likewise.
14695 [C99-based-standards] (SCNdMAX): Likewise.
14696 [C99-based-standards] (SCNiMAX): Likewise.
14697 [C99-based-standards] (SCNoMAX): Likewise.
14698 [C99-based-standards] (SCNuMAX): Likewise.
14699 [C99-based-standards] (SCNxMAX): Likewise.
14700 [C99-based-standards] (PRIdPTR): Likewise.
14701 [C99-based-standards] (PRIiPTR): Likewise.
14702 [C99-based-standards] (PRIoPTR): Likewise.
14703 [C99-based-standards] (PRIuPTR): Likewise.
14704 [C99-based-standards] (PRIxPTR): Likewise.
14705 [C99-based-standards] (PRIXPTR): Likewise.
14706 [C99-based-standards] (SCNdPTR): Likewise.
14707 [C99-based-standards] (SCNiPTR): Likewise.
14708 [C99-based-standards] (SCNoPTR): Likewise.
14709 [C99-based-standards] (SCNuPTR): Likewise.
14710 [C99-based-standards] (SCNxPTR): Likewise.
14711 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14712 allow.
14713 * conform/data/stdint.h-data: Update comments to clarify
14714 requirements.
14715 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14716 type.
14717 [C99-based standards] (INT8_MAX): Likewise.
14718 [C99-based standards] (INT16_MIN): Likewise.
14719 [C99-based standards] (INT16_MAX): Likewise.
14720 [C99-based standards] (INT32_MIN): Likewise.
14721 [C99-based standards] (INT32_MAX): Likewise.
14722 [C99-based standards] (INT64_MIN): Likewise.
14723 [C99-based standards] (INT64_MAX): Likewise.
14724 [C99-based standards] (UINT8_MAX): Likewise.
14725 [C99-based standards] (UINT16_MAX): Likewise.
14726 [C99-based standards] (UINT32_MAX): Likewise.
14727 [C99-based standards] (UINT64_MAX): Likewise.
14728 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14729 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14730 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14731 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14732 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14733 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14734 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14735 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14736 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14737 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14738 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14739 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14740 [C99-based standards] (INT_FAST8_MIN): Likewise.
14741 [C99-based standards] (INT_FAST8_MAX): Likewise.
14742 [C99-based standards] (INT_FAST16_MIN): Likewise.
14743 [C99-based standards] (INT_FAST16_MAX): Likewise.
14744 [C99-based standards] (INT_FAST32_MIN): Likewise.
14745 [C99-based standards] (INT_FAST32_MAX): Likewise.
14746 [C99-based standards] (INT_FAST64_MIN): Likewise.
14747 [C99-based standards] (INT_FAST64_MAX): Likewise.
14748 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14749 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14750 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14751 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14752 [C99-based standards] (INTPTR_MIN): Likewise.
14753 [C99-based standards] (INTPTR_MAX): Likewise.
14754 [C99-based standards] (UINTPTR_MAX): Likewise.
14755 [C99-based standards] (INTMAX_MIN): Likewise.
14756 [C99-based standards] (INTMAX_MAX): Likewise.
14757 [C99-based standards] (UINTMAX_MAX): Likewise.
14758 [C99-based standards] (PTRDIFF_MIN): Likewise.
14759 [C99-based standards] (PTRDIFF_MAX): Likewise.
14760 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14761 [C99-based standards] (SIZE_MAX): Likewise.
14762 [C99-based standards] (WCHAR_MAX): Likewise.
14763 [C99-based standards] (WINT_MAX): Likewise.
14764 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14765 constraint on value.
14766 [C99-based standards] (WCHAR_MIN): Likewise.
14767 [C99-based standards] (WINT_MIN): Likewise.
14768 [C99-based standards] (*_t): Allow.
14769 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14770 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14771 Include math.h-data and complex.h-data. Remove all expectations
14772 of math.h and complex.h contents.
14773 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14774 at end of line.
14775 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14776 (struct tm): Expect tag.
14777 [C99-based-standards] (wcstof): Expect function.
14778 [C99-based-standards] (wcstold): Likewise.
14779 [C99-based-standards] (wcstoll): Likewise.
14780 [C99-based-standards] (wcstoull): Likewise.
14781 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14782 macro-int-constant. Specify type.
14783 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14784 constraint on value.
14785 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14786 Specify type.
14787 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14788 Specify value.
14789 [ISO C standards]: Do not allow headers.
14790 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14791 wcs[abcdefghijklmnopqrstuvwxyz]*.
14792 [ISO C standards] (*_t): Do not allow.
14793 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14794 Expect function.
14795 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14796 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14797 Specify type.
14798 [ISO C standards]: Do not allow headers.
14799 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14800 is[abcdefghijklmnopqrstuvwxyz]*.
14801 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14802 to[abcdefghijklmnopqrstuvwxyz]*.
14803 [ISO C standards] (*_t): Do not allow.
14804 * conform/data/stdalign.h-data: New file.
14805 * conform/data/stdbool.h-data: Likewise.
14806 * conform/data/stdnoreturn.h-data: Likewise.
14807
14808 2012-11-07 Roland McGrath <roland@hack.frob.com>
14809
14810 [BZ #14815]
14811 * manual/filesys.texi (Directory Entries): Typo fix.
14812 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14813
14814 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14815
14816 * elf/elf.h (EM_AARCH64): New macro.
14817 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14818 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14819 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14820 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14821 (R_AARCH64_TLSDESC): Likewise.
14822 (NT_ARM_TLS): Likewise.
14823 (NT_ARM_HW_BREAK): Likewise.
14824 (NT_ARM_HW_WATCH): Likewise.
14825
14826 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14827
14828 [BZ #14811]
14829 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14830 (__ieee754_powl): Saturate nonzero exponents with absolute value
14831 below 0x1p-79 to +/- 0x1p-79.
14832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14833 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14834 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14835 nonzero exponents with absolute value below 0x1p-32 to +/-
14836 0x1p-32.
14837 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14838 (__ieee754_powl): Saturate nonzero exponents with absolute value
14839 below 0x1p-79 to +/- 0x1p-79.
14840 * math/libm-test.inc (pow_test): Add more tests.
14841
14842 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14843
14844 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14845 _dl_s390_cap_flags with kernel. Increase string length.
14846 (_dl_s390_platforms): Add z196 and zEC12.
14847
14848 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14849
14850 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14851 Change XOPEN21K to XOPEN2K.
14852
14853 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14854
14855 * string/memmove.c: Use memcpy when possible.
14856
14857 2012-11-06 Andreas Jaeger <aj@suse.de>
14858
14859 * po/eo.po: Update from translation team.
14860
14861 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14862
14863 [BZ #14793]
14864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14865 exponent and small x and y exponents, scale x or y up. Increase
14866 by 2 the exponent used in scaling up.
14867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14869 * math/libm-test.inc (fma_test): Add more tests.
14870 (fma_test_towardzero): Likewise.
14871 (fma_test_downward): Likewise.
14872 (fma_test_upward): Likewise.
14873
14874 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14875
14876 [BZ #14805]
14877 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14878 fenv_t *.
14879
14880 [BZ #14801]
14881 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14882 namespace for names of struct fields.
14883 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14884 fenv_t fields.
14885 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14886 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14887
14888 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14889
14890 [BZ #3665]
14891 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14892
14893 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14894
14895 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14896 PTR_DEMANGLE.
14897
14898 [BZ #5246]
14899 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14900 PTR_DEMANGLE.
14901
14902 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14903
14904 [BZ #14797]
14905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14906 definitely overflow as x * y not x * y + z.
14907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14909 * math/libm-test.inc (fma_test): Add more tests.
14910 (fma_test_towardzero): Likewise.
14911 (fma_test_downward): Likewise.
14912 (fma_test_upward): Likewise.
14913
14914 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14915
14916 [BZ #157]
14917
14918 * include/stub-tag.h: Remove file.
14919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14920 '#include' of it.
14921 * manual/maint.texi (Porting): Don't reference it.
14922 * Makerules ($(objpfx)stubs): Likewise.
14923 * dirent/closedir.c: Don't include <stub-tag.h>.
14924 * dirent/dirfd.c: Likewise.
14925 * dirent/fdopendir.c: Likewise.
14926 * dirent/getdents.c: Likewise.
14927 * dirent/getdents64.c: Likewise.
14928 * dirent/opendir.c: Likewise.
14929 * dirent/readdir.c: Likewise.
14930 * dirent/readdir64.c: Likewise.
14931 * dirent/readdir64_r.c: Likewise.
14932 * dirent/readdir_r.c: Likewise.
14933 * dirent/rewinddir.c: Likewise.
14934 * dirent/seekdir.c: Likewise.
14935 * dirent/telldir.c: Likewise.
14936 * gmon/profil.c: Likewise.
14937 * grp/setgroups.c: Likewise.
14938 * inet/if_index.c: Likewise.
14939 * io/access.c: Likewise.
14940 * io/chdir.c: Likewise.
14941 * io/chmod.c: Likewise.
14942 * io/chown.c: Likewise.
14943 * io/close.c: Likewise.
14944 * io/dup.c: Likewise.
14945 * io/dup2.c: Likewise.
14946 * io/dup3.c: Likewise.
14947 * io/euidaccess.c: Likewise.
14948 * io/faccessat.c: Likewise.
14949 * io/fchdir.c: Likewise.
14950 * io/fchmod.c: Likewise.
14951 * io/fchmodat.c: Likewise.
14952 * io/fchown.c: Likewise.
14953 * io/fchownat.c: Likewise.
14954 * io/fcntl.c: Likewise.
14955 * io/flock.c: Likewise.
14956 * io/fstatfs.c: Likewise.
14957 * io/fstatfs64.c: Likewise.
14958 * io/fstatvfs.c: Likewise.
14959 * io/fstatvfs64.c: Likewise.
14960 * io/futimens.c: Likewise.
14961 * io/fxstat.c: Likewise.
14962 * io/fxstat64.c: Likewise.
14963 * io/fxstatat.c: Likewise.
14964 * io/fxstatat64.c: Likewise.
14965 * io/getcwd.c: Likewise.
14966 * io/isatty.c: Likewise.
14967 * io/lchmod.c: Likewise.
14968 * io/lchown.c: Likewise.
14969 * io/link.c: Likewise.
14970 * io/linkat.c: Likewise.
14971 * io/lseek.c: Likewise.
14972 * io/lseek64.c: Likewise.
14973 * io/lxstat64.c: Likewise.
14974 * io/mkdir.c: Likewise.
14975 * io/mkdirat.c: Likewise.
14976 * io/mkfifo.c: Likewise.
14977 * io/mkfifoat.c: Likewise.
14978 * io/open.c: Likewise.
14979 * io/open64.c: Likewise.
14980 * io/openat.c: Likewise.
14981 * io/openat64.c: Likewise.
14982 * io/pipe.c: Likewise.
14983 * io/pipe2.c: Likewise.
14984 * io/poll.c: Likewise.
14985 * io/posix_fadvise.c: Likewise.
14986 * io/posix_fadvise64.c: Likewise.
14987 * io/posix_fallocate.c: Likewise.
14988 * io/posix_fallocate64.c: Likewise.
14989 * io/read.c: Likewise.
14990 * io/readlink.c: Likewise.
14991 * io/readlinkat.c: Likewise.
14992 * io/rmdir.c: Likewise.
14993 * io/sendfile.c: Likewise.
14994 * io/sendfile64.c: Likewise.
14995 * io/statfs.c: Likewise.
14996 * io/statfs64.c: Likewise.
14997 * io/statvfs.c: Likewise.
14998 * io/statvfs64.c: Likewise.
14999 * io/symlink.c: Likewise.
15000 * io/symlinkat.c: Likewise.
15001 * io/ttyname.c: Likewise.
15002 * io/ttyname_r.c: Likewise.
15003 * io/umask.c: Likewise.
15004 * io/unlink.c: Likewise.
15005 * io/unlinkat.c: Likewise.
15006 * io/utime.c: Likewise.
15007 * io/utimensat.c: Likewise.
15008 * io/write.c: Likewise.
15009 * io/xmknod.c: Likewise.
15010 * io/xmknodat.c: Likewise.
15011 * io/xstat.c: Likewise.
15012 * io/xstat64.c: Likewise.
15013 * login/getpt.c: Likewise.
15014 * login/grantpt.c: Likewise.
15015 * login/unlockpt.c: Likewise.
15016 * math/e_acoshl.c: Likewise.
15017 * math/e_acosl.c: Likewise.
15018 * math/e_asinl.c: Likewise.
15019 * math/e_atan2l.c: Likewise.
15020 * math/e_atanhl.c: Likewise.
15021 * math/e_coshl.c: Likewise.
15022 * math/e_expl.c: Likewise.
15023 * math/e_fmodl.c: Likewise.
15024 * math/e_gammal_r.c: Likewise.
15025 * math/e_hypotl.c: Likewise.
15026 * math/e_j0l.c: Likewise.
15027 * math/e_j1l.c: Likewise.
15028 * math/e_jnl.c: Likewise.
15029 * math/e_lgammal_r.c: Likewise.
15030 * math/e_log10l.c: Likewise.
15031 * math/e_log2l.c: Likewise.
15032 * math/e_logl.c: Likewise.
15033 * math/e_powl.c: Likewise.
15034 * math/e_rem_pio2l.c: Likewise.
15035 * math/e_sinhl.c: Likewise.
15036 * math/e_sqrtl.c: Likewise.
15037 * math/fclrexcpt.c: Likewise.
15038 * math/fedisblxcpt.c: Likewise.
15039 * math/feenablxcpt.c: Likewise.
15040 * math/fegetenv.c: Likewise.
15041 * math/fegetexcept.c: Likewise.
15042 * math/fegetround.c: Likewise.
15043 * math/feholdexcpt.c: Likewise.
15044 * math/fesetenv.c: Likewise.
15045 * math/fesetround.c: Likewise.
15046 * math/feupdateenv.c: Likewise.
15047 * math/fgetexcptflg.c: Likewise.
15048 * math/fraiseexcpt.c: Likewise.
15049 * math/fsetexcptflg.c: Likewise.
15050 * math/ftestexcept.c: Likewise.
15051 * math/k_cosl.c: Likewise.
15052 * math/k_rem_pio2l.c: Likewise.
15053 * math/k_sinl.c: Likewise.
15054 * math/k_tanl.c: Likewise.
15055 * math/s_asinhl.c: Likewise.
15056 * math/s_atanl.c: Likewise.
15057 * math/s_cbrtl.c: Likewise.
15058 * math/s_erfl.c: Likewise.
15059 * math/s_expm1l.c: Likewise.
15060 * math/s_log1pl.c: Likewise.
15061 * math/s_tanhl.c: Likewise.
15062 * misc/acct.c: Likewise.
15063 * misc/brk.c: Likewise.
15064 * misc/chflags.c: Likewise.
15065 * misc/chroot.c: Likewise.
15066 * misc/fchflags.c: Likewise.
15067 * misc/fgetxattr.c: Likewise.
15068 * misc/flistxattr.c: Likewise.
15069 * misc/fremovexattr.c: Likewise.
15070 * misc/fsetxattr.c: Likewise.
15071 * misc/fsync.c: Likewise.
15072 * misc/ftruncate.c: Likewise.
15073 * misc/futimes.c: Likewise.
15074 * misc/futimesat.c: Likewise.
15075 * misc/getdomain.c: Likewise.
15076 * misc/getdtsz.c: Likewise.
15077 * misc/gethostid.c: Likewise.
15078 * misc/gethostname.c: Likewise.
15079 * misc/getloadavg.c: Likewise.
15080 * misc/getpagesize.c: Likewise.
15081 * misc/getsysstats.c: Likewise.
15082 * misc/getxattr.c: Likewise.
15083 * misc/gtty.c: Likewise.
15084 * misc/ioctl.c: Likewise.
15085 * misc/lgetxattr.c: Likewise.
15086 * misc/listxattr.c: Likewise.
15087 * misc/llistxattr.c: Likewise.
15088 * misc/lremovexattr.c: Likewise.
15089 * misc/lsetxattr.c: Likewise.
15090 * misc/lutimes.c: Likewise.
15091 * misc/madvise.c: Likewise.
15092 * misc/mincore.c: Likewise.
15093 * misc/mlock.c: Likewise.
15094 * misc/mlockall.c: Likewise.
15095 * misc/mmap.c: Likewise.
15096 * misc/mprotect.c: Likewise.
15097 * misc/msync.c: Likewise.
15098 * misc/munlock.c: Likewise.
15099 * misc/munlockall.c: Likewise.
15100 * misc/munmap.c: Likewise.
15101 * misc/preadv.c: Likewise.
15102 * misc/preadv64.c: Likewise.
15103 * misc/ptrace.c: Likewise.
15104 * misc/pwritev.c: Likewise.
15105 * misc/pwritev64.c: Likewise.
15106 * misc/readv.c: Likewise.
15107 * misc/reboot.c: Likewise.
15108 * misc/remap_file_pages.c: Likewise.
15109 * misc/removexattr.c: Likewise.
15110 * misc/revoke.c: Likewise.
15111 * misc/select.c: Likewise.
15112 * misc/setdomain.c: Likewise.
15113 * misc/setegid.c: Likewise.
15114 * misc/seteuid.c: Likewise.
15115 * misc/sethostid.c: Likewise.
15116 * misc/sethostname.c: Likewise.
15117 * misc/setregid.c: Likewise.
15118 * misc/setreuid.c: Likewise.
15119 * misc/setxattr.c: Likewise.
15120 * misc/sstk.c: Likewise.
15121 * misc/stty.c: Likewise.
15122 * misc/swapoff.c: Likewise.
15123 * misc/swapon.c: Likewise.
15124 * misc/sync.c: Likewise.
15125 * misc/syncfs.c: Likewise.
15126 * misc/syscall.c: Likewise.
15127 * misc/truncate.c: Likewise.
15128 * misc/ualarm.c: Likewise.
15129 * misc/usleep.c: Likewise.
15130 * misc/ustat.c: Likewise.
15131 * misc/utimes.c: Likewise.
15132 * misc/vhangup.c: Likewise.
15133 * misc/writev.c: Likewise.
15134 * posix/_exit.c: Likewise.
15135 * posix/alarm.c: Likewise.
15136 * posix/execve.c: Likewise.
15137 * posix/fexecve.c: Likewise.
15138 * posix/fork.c: Likewise.
15139 * posix/fpathconf.c: Likewise.
15140 * posix/getaddrinfo.c: Likewise.
15141 * posix/getegid.c: Likewise.
15142 * posix/geteuid.c: Likewise.
15143 * posix/getgid.c: Likewise.
15144 * posix/getgroups.c: Likewise.
15145 * posix/getlogin.c: Likewise.
15146 * posix/getlogin_r.c: Likewise.
15147 * posix/getpgid.c: Likewise.
15148 * posix/getpid.c: Likewise.
15149 * posix/getppid.c: Likewise.
15150 * posix/getresgid.c: Likewise.
15151 * posix/getresuid.c: Likewise.
15152 * posix/getsid.c: Likewise.
15153 * posix/getuid.c: Likewise.
15154 * posix/glob64.c: Likewise.
15155 * posix/nanosleep.c: Likewise.
15156 * posix/pathconf.c: Likewise.
15157 * posix/pause.c: Likewise.
15158 * posix/posix_madvise.c: Likewise.
15159 * posix/pread.c: Likewise.
15160 * posix/pread64.c: Likewise.
15161 * posix/pwrite.c: Likewise.
15162 * posix/pwrite64.c: Likewise.
15163 * posix/sched_getaffinity.c: Likewise.
15164 * posix/sched_getp.c: Likewise.
15165 * posix/sched_gets.c: Likewise.
15166 * posix/sched_primax.c: Likewise.
15167 * posix/sched_primin.c: Likewise.
15168 * posix/sched_rr_gi.c: Likewise.
15169 * posix/sched_setaffinity.c: Likewise.
15170 * posix/sched_setp.c: Likewise.
15171 * posix/sched_sets.c: Likewise.
15172 * posix/sched_yield.c: Likewise.
15173 * posix/setgid.c: Likewise.
15174 * posix/setlogin.c: Likewise.
15175 * posix/setpgid.c: Likewise.
15176 * posix/setresgid.c: Likewise.
15177 * posix/setresuid.c: Likewise.
15178 * posix/setsid.c: Likewise.
15179 * posix/setuid.c: Likewise.
15180 * posix/sleep.c: Likewise.
15181 * posix/spawni.c: Likewise.
15182 * posix/sysconf.c: Likewise.
15183 * posix/times.c: Likewise.
15184 * posix/wait.c: Likewise.
15185 * posix/wait3.c: Likewise.
15186 * posix/wait4.c: Likewise.
15187 * posix/waitpid.c: Likewise.
15188 * resolv/gai_sigqueue.c: Likewise.
15189 * resource/getpriority.c: Likewise.
15190 * resource/getrlimit.c: Likewise.
15191 * resource/getrusage.c: Likewise.
15192 * resource/nice.c: Likewise.
15193 * resource/setpriority.c: Likewise.
15194 * resource/setrlimit.c: Likewise.
15195 * resource/ulimit.c: Likewise.
15196 * rt/aio_cancel.c: Likewise.
15197 * rt/aio_fsync.c: Likewise.
15198 * rt/aio_read.c: Likewise.
15199 * rt/aio_sigqueue.c: Likewise.
15200 * rt/aio_suspend.c: Likewise.
15201 * rt/aio_write.c: Likewise.
15202 * rt/clock_getres.c: Likewise.
15203 * rt/clock_gettime.c: Likewise.
15204 * rt/clock_nanosleep.c: Likewise.
15205 * rt/clock_settime.c: Likewise.
15206 * rt/lio_listio.c: Likewise.
15207 * rt/mq_close.c: Likewise.
15208 * rt/mq_getattr.c: Likewise.
15209 * rt/mq_notify.c: Likewise.
15210 * rt/mq_open.c: Likewise.
15211 * rt/mq_receive.c: Likewise.
15212 * rt/mq_send.c: Likewise.
15213 * rt/mq_setattr.c: Likewise.
15214 * rt/mq_timedreceive.c: Likewise.
15215 * rt/mq_timedsend.c: Likewise.
15216 * rt/mq_unlink.c: Likewise.
15217 * rt/shm_open.c: Likewise.
15218 * rt/shm_unlink.c: Likewise.
15219 * rt/timer_create.c: Likewise.
15220 * rt/timer_delete.c: Likewise.
15221 * rt/timer_getoverr.c: Likewise.
15222 * rt/timer_gettime.c: Likewise.
15223 * rt/timer_settime.c: Likewise.
15224 * setjmp/__longjmp.c: Likewise.
15225 * setjmp/setjmp.c: Likewise.
15226 * signal/kill.c: Likewise.
15227 * signal/killpg.c: Likewise.
15228 * signal/raise.c: Likewise.
15229 * signal/sigaction.c: Likewise.
15230 * signal/sigaltstack.c: Likewise.
15231 * signal/sigblock.c: Likewise.
15232 * signal/sigignore.c: Likewise.
15233 * signal/sigintr.c: Likewise.
15234 * signal/signal.c: Likewise.
15235 * signal/sigpause.c: Likewise.
15236 * signal/sigpending.c: Likewise.
15237 * signal/sigqueue.c: Likewise.
15238 * signal/sigreturn.c: Likewise.
15239 * signal/sigset.c: Likewise.
15240 * signal/sigsetmask.c: Likewise.
15241 * signal/sigstack.c: Likewise.
15242 * signal/sigsuspend.c: Likewise.
15243 * signal/sigtimedwait.c: Likewise.
15244 * signal/sigvec.c: Likewise.
15245 * signal/sigwait.c: Likewise.
15246 * signal/sigwaitinfo.c: Likewise.
15247 * signal/sysv_signal.c: Likewise.
15248 * socket/accept.c: Likewise.
15249 * socket/accept4.c: Likewise.
15250 * socket/bind.c: Likewise.
15251 * socket/connect.c: Likewise.
15252 * socket/getpeername.c: Likewise.
15253 * socket/getsockname.c: Likewise.
15254 * socket/getsockopt.c: Likewise.
15255 * socket/isfdtype.c: Likewise.
15256 * socket/listen.c: Likewise.
15257 * socket/recv.c: Likewise.
15258 * socket/recvfrom.c: Likewise.
15259 * socket/recvmsg.c: Likewise.
15260 * socket/send.c: Likewise.
15261 * socket/sendmsg.c: Likewise.
15262 * socket/sendto.c: Likewise.
15263 * socket/setsockopt.c: Likewise.
15264 * socket/shutdown.c: Likewise.
15265 * socket/sockatmark.c: Likewise.
15266 * socket/socket.c: Likewise.
15267 * socket/socketpair.c: Likewise.
15268 * stdio-common/ctermid.c: Likewise.
15269 * stdio-common/cuserid.c: Likewise.
15270 * stdio-common/remove.c: Likewise.
15271 * stdio-common/rename.c: Likewise.
15272 * stdio-common/renameat.c: Likewise.
15273 * stdio-common/tempname.c: Likewise.
15274 * stdlib/getcontext.c: Likewise.
15275 * stdlib/makecontext.c: Likewise.
15276 * stdlib/setcontext.c: Likewise.
15277 * stdlib/swapcontext.c: Likewise.
15278 * stdlib/system.c: Likewise.
15279 * streams/fattach.c: Likewise.
15280 * streams/fdetach.c: Likewise.
15281 * streams/getmsg.c: Likewise.
15282 * streams/getpmsg.c: Likewise.
15283 * streams/putmsg.c: Likewise.
15284 * streams/putpmsg.c: Likewise.
15285 * sysdeps/unix/bsd/getpt.c: Likewise.
15286 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15287 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15288 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15290 Likewise.
15291 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15292 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15293 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15294 * sysvipc/msgctl.c: Likewise.
15295 * sysvipc/msgget.c: Likewise.
15296 * sysvipc/msgrcv.c: Likewise.
15297 * sysvipc/msgsnd.c: Likewise.
15298 * sysvipc/semctl.c: Likewise.
15299 * sysvipc/semget.c: Likewise.
15300 * sysvipc/semop.c: Likewise.
15301 * sysvipc/semtimedop.c: Likewise.
15302 * sysvipc/shmat.c: Likewise.
15303 * sysvipc/shmctl.c: Likewise.
15304 * sysvipc/shmdt.c: Likewise.
15305 * sysvipc/shmget.c: Likewise.
15306 * termios/tcdrain.c: Likewise.
15307 * termios/tcflow.c: Likewise.
15308 * termios/tcflush.c: Likewise.
15309 * termios/tcgetattr.c: Likewise.
15310 * termios/tcgetpgrp.c: Likewise.
15311 * termios/tcsendbrk.c: Likewise.
15312 * termios/tcsetattr.c: Likewise.
15313 * termios/tcsetpgrp.c: Likewise.
15314 * time/adjtime.c: Likewise.
15315 * time/clock.c: Likewise.
15316 * time/getitimer.c: Likewise.
15317 * time/gettimeofday.c: Likewise.
15318 * time/setitimer.c: Likewise.
15319 * time/settimeofday.c: Likewise.
15320 * time/stime.c: Likewise.
15321 * time/time.c: Likewise.
15322
15323 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15324
15325 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15326 /usr/old/bin.
15327
15328 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15329 instead of spaces.
15330 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15331
15332 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15333
15334 [BZ #14796]
15335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15336 FE_TONEAREST before applying Dekker multiplication and Knuth
15337 addition. Clear inexact exceptions and check for exact zero
15338 results afterwards.
15339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15342 * math/libm-test.inc (fma_test): Add more tests.
15343 (fma_test_towardzero): Likewise.
15344 (fma_test_downward): Likewise.
15345 (fma_test_upward): Likewise.
15346 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15347 function.
15348 (libc_fesetround): New macro.
15349 (libc_fesetroundf): Likewise.
15350 (libc_fesetroundl): Likewise.
15351 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15352 function.
15353 (libc_fesetround_387): Likewise.
15354 (libc_fesetroundf): New macro.
15355 (libc_fesetround): Likewise.
15356 (libc_fesetroundl): Likewise.
15357 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15358 function.
15359 (libc_fesetroundf): New macro.
15360 (libc_fesetround): Likewise.
15361 (libc_fesetroundl): Likewise.
15362 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15363 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15364 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15365 libm_hidden_ver.
15366 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15367 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15368 libm_hidden_def.
15369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15370 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15371 libm_hidden_ver.
15372 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15373 libm_hidden_def.
15374
15375 [BZ #3439]
15376 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15377 integer constant usable in #if and use that to give value to enum
15378 constant.
15379 (FE_DIVBYZERO): Likewise.
15380 (FE_UNDERFLOW): Likewise.
15381 (FE_OVERFLOW): Likewise.
15382 (FE_INVALID): Likewise.
15383 (FE_INVALID_SNAN): Likewise.
15384 (FE_INVALID_ISI): Likewise.
15385 (FE_INVALID_IDI): Likewise.
15386 (FE_INVALID_ZDZ): Likewise.
15387 (FE_INVALID_IMZ): Likewise.
15388 (FE_INVALID_COMPARE): Likewise.
15389 (FE_INVALID_SOFTWARE): Likewise.
15390 (FE_INVALID_SQRT): Likewise.
15391 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15392 (FE_TONEAREST): Likewise.
15393 (FE_TOWARDZERO): Likewise.
15394 (FE_UPWARD): Likewise.
15395 (FE_DOWNWARD): Likewise.
15396 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15397 (FE_DIVBYZERO): Likewise.
15398 (FE_OVERFLOW): Likewise.
15399 (FE_UNDERFLOW): Likewise.
15400 (FE_INEXACT): Likewise.
15401 (FE_TONEAREST): Likewise.
15402 (FE_DOWNWARD): Likewise.
15403 (FE_UPWARD): Likewise.
15404 (FE_TOWARDZERO): Likewise.
15405 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15406 (FE_UNDERFLOW): Likewise.
15407 (FE_OVERFLOW): Likewise.
15408 (FE_DIVBYZERO): Likewise.
15409 (FE_INVALID): Likewise.
15410 (FE_TONEAREST): Likewise.
15411 (FE_TOWARDZERO): Likewise.
15412 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15413 (FE_OVERFLOW): Likewise.
15414 (FE_UNDERFLOW): Likewise.
15415 (FE_DIVBYZERO): Likewise.
15416 (FE_INEXACT): Likewise.
15417 (FE_TONEAREST): Likewise.
15418 (FE_TOWARDZERO): Likewise.
15419 (FE_UPWARD): Likewise.
15420 (FE_DOWNWARD): Likewise.
15421 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15422 (FE_DIVBYZERO): Likewise.
15423 (FE_OVERFLOW): Likewise.
15424 (FE_UNDERFLOW): Likewise.
15425 (FE_INEXACT): Likewise.
15426 (FE_TONEAREST): Likewise.
15427 (FE_DOWNWARD): Likewise.
15428 (FE_UPWARD): Likewise.
15429 (FE_TOWARDZERO): Likewise.
15430
15431 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15432
15433 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15434
15435 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15436
15437 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15438 commands. Quote $PWD.
15439 (blacklist_exports): Don't use remove_newlines. Replace "declare
15440 -x" by "export".
15441 (remove_newlines): Remove.
15442
15443 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15444
15445 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15446 * stdlib/stdlib.h (atof): Moved to ...
15447 * include/bits/stdlib-float.h: Here. New file.
15448 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15449 * stdlib/bits/stdlib-float.h: New file.
15450 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15451 -mno-sse -mno-mmx.
15452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15453 <xmmintrin.h>.
15454
15455 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15456
15457 * conform/conformtest.pl (@headers): Add fenv.h.
15458 * conform/data/fenv.h-data: New file.
15459 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15460 include of <math/fenv.h>.
15461
15462 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15463 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15464 && !UNIX98]. Enables tests for XOPEN2K8.
15465 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15466 POSIX2008]: Likewise.
15467
15468 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15469 (struct rusage): Do not expect type or its members.
15470
15471 [BZ #3439]
15472 * math/math.h (FP_NAN): Define macro to integer constant usable in
15473 #if and use that to give value to enum constant.
15474 (FP_INFINITE): Likewise.
15475 (FP_ZERO): Likewise.
15476 (FP_SUBNORMAL): Likewise.
15477 (FP_NORMAL): Likewise.
15478
15479 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15480
15481 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15482 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15483 arguments.
15484
15485 2012-11-02 Roland McGrath <roland@hack.frob.com>
15486
15487 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15488 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15489 autoconf-time if not.
15490 * configure.in: Remove AC_PREREQ.
15491
15492 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15493
15494 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15495 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15496 of the internal implementation.
15497
15498 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15499
15500 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15501 except include of <misc/sys/syslog.h>.
15502
15503 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15504
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15506 function returns with a NULL context exit with zero.
15507
15508 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15509
15510 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15511
15512 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15513
15514 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15515 (run_program_cmd): This.
15516 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15517 (tst_langinfo): New variable. Use it.
15518
15519 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15520
15521 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15522 floating point opcodes.
15523
15524 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15525
15526 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15527 variable.
15528
15529 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15530
15531 * sysdeps/mach/hurd/powerpc: Remove directory.
15532 * sysdeps/mach/powerpc: Likewise.
15533
15534 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15535
15536 * scripts/check-local-headers.sh: Ignore c++ headers.
15537
15538 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15539
15540 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15541 __libc_cleanup_region_start argument.
15542
15543 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15544
15545 [BZ #14784]
15546 [BZ #14785]
15547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15548 x * y using scaling, not as x * y + z.
15549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15551 * math/libm-test.inc (fma_test): Add more tests.
15552 (fma_test_towardzero): Likewise.
15553 (fma_test_downward): Likewise.
15554 (fma_test_upward): Likewise.
15555
15556 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15557
15558 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15559
15560 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15561
15562 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15563 New variable.
15564
15565 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15566
15567 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15568
15569 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15570
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15572 Fix sort order.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15574 Likewise.
15575
15576 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15577
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15579 Fix the order of the list for glibc 2.17.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15581 Likewise.
15582
15583 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15584
15585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15586
15587 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15588
15589 [BZ #14610]
15590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15591 for low part of x being zero before using __atanl (y).
15592 * math/libm-test.inc (atan2_test): Add another test.
15593
15594 * manual/install.texi (Configuring and compiling): Document
15595 general use of test-wrapper and test-wrapper-env.
15596 * INSTALL: Regenerated.
15597
15598 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15599 (__fma): Do not extract and scale down low bits on after-rounding
15600 systems when result rounded to normal precision would have normal
15601 exponent.
15602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15603 (__fmal): Do not extract and scale down low bits on after-rounding
15604 systems when result rounded to normal precision would have normal
15605 exponent.
15606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15607 (__fmal): Do not extract and scale down low bits on after-rounding
15608 systems when result rounded to normal precision would have normal
15609 exponent.
15610 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15611 macro.
15612 (fma_test): Add more tests.
15613 (fma_test_towardzero): Likewise.
15614 (fma_test_downward): Likewise.
15615 (fma_test_upward): Likewise.
15616
15617 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15618
15619 * sysdeps/i386/tininess.h: Renamed to ...
15620 * sysdeps/x86/tininess.h: This.
15621 * sysdeps/x86_64/tininess.h: Removed.
15622
15623 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15624
15625 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15626 input. Use $(build-program-cmd).
15627 ($(objpfx)tst-array1-static.out): Likewise.
15628 ($(objpfx)tst-array2.out): Likewise.
15629 ($(objpfx)tst-array3.out): Likewise.
15630 ($(objpfx)tst-array4.out): Likewise.
15631 ($(objpfx)tst-array5.out): Likewise.
15632 ($(objpfx)tst-array5-static.out): Likewise.
15633
15634 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15635
15636 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15637 if defined.
15638
15639 * nss/nsswitch.h (nss_interface_function): Provide new
15640 macro for use with NSS functions.
15641 * grp/initgroups.c: Use new macro.
15642 * nss/getXXbyYY.c: Likewise.
15643 * nss/getXXbyYY_r.c: Likewise.
15644 * nss/getXXent.c: Likewise.
15645 * nss/getXXent_r.c: Likewise.
15646 * sysdeps/posix/getaddrinfo.c: Likewise.
15647
15648 2012-10-30 Andreas Jaeger <aj@suse.de>
15649
15650 * po/ru.po: Update Russion translation from translation project.
15651
15652 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15653
15654 [BZ #14152]
15655 [BZ #14783]
15656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15657 result and shift together with sticky bit instead of replicating
15658 round-to-nearest rounding.
15659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15661 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15662 missing underflow exceptions.
15663 (fma_test_towardzero): Add more tests.
15664 (fma_test_downward): Likewise.
15665 (fma_test_upward): Likewise.
15666
15667 [BZ #14047]
15668 * sysdeps/generic/tininess.h: New file.
15669 * sysdeps/i386/tininess.h: Likewise.
15670 * sysdeps/sh/tininess.h: Likewise.
15671 * sysdeps/x86_64/tininess.h: Likewise.
15672 * stdlib/tst-strtod-underflow.c: Likewise.
15673 * stdlib/tst-tininess.c: Likewise.
15674 * stdlib/strtod_l.c: Include <tininess.h>.
15675 (round_and_return): Do not set errno for exact underflow cases.
15676 Force an underflow exception when setting errno for underflow.
15677 Determine underflow based on rounding to normal precision if
15678 TININESS_AFTER_ROUNDING.
15679 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15680 ERANGE for exact underflow cases.
15681 * stdlib/Makefile (tests): Add tst-tininess and
15682 tst-strtod-underflow.
15683 ($(objpfx)tst-tininess): Use $(link-libm).
15684 ($(objpfx)tst-strtod-underflow): Likewise.
15685
15686 2012-10-30 Andreas Jaeger <aj@suse.de>
15687
15688 [BZ#14767]
15689 * elf/Makefile (tests): Remove conditional for have-initfini-array
15690 since this is now always required and the variable does not exist
15691 anymore.
15692 (tests-static): Likewise.
15693 (modules-names): Likewise.
15694
15695 * po/eo.po: Add Esperanto translation from translation project.
15696
15697 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15698 merged with constructor/destructor.
15699 (init_array): Likewise.
15700 * elf/tst-array2dep.c (fini_array): Likewise.
15701 (init_array): Likewise.
15702
15703 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15704
15705 * manual/message.texi: Delete @cartouche tags.
15706
15707 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15708
15709 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15710 EOPNOTSUPP.
15711 * sysdeps/mach/hurd/fsync.c: Likewise.
15712
15713 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15714 [_POSIX_REALTIME_SIGNALS]: Change condition to
15715 [_POSIX_REALTIME_SIGNALS > 0].
15716
15717 2012-10-27 Andreas Jaeger <aj@suse.de>
15718
15719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15720 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15722 [__WORDSIZE != 64]: Likewise.
15723
15724 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15725
15726 * iconvdata/tst-table.sh: Remove ${SHELL}.
15727 * iconvdata/tst-tables.sh: Likewise.
15728
15729 2012-10-25 David S. Miller <davem@davemloft.net>
15730
15731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15732 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15733 of strtoull.
15734
15735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15736 ifunc-impl-list.c
15737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15738 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15739 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15740 file.
15741
15742 2012-10-25 Roland McGrath <roland@hack.frob.com>
15743
15744 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15745 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15746 __getdirentries.
15747
15748 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15749 Jim Blandy <jimb@codesourcery.com>
15750
15751 * scripts/cross-test-ssh.sh: New file.
15752 * manual/install.texi (Configuring and compiling): Document use of
15753 cross-test-ssh.sh.
15754 * INSTALL: Regenerated.
15755
15756 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15757
15758 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15759 EOPNOTSUPP.
15760
15761 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15762
15763 * Makeconfig (run-program-prefix): Fix comment.
15764
15765 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15766 Jim Blandy <jimb@codesourcery.com>
15767
15768 * Makeconfig (test-wrapper): New variable,
15769 (test-wrapper-env): Likewise.
15770 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15771 (run-built-tests): Define to yes.
15772 (run-program-prefix): Use $(test-wrapper).
15773 (built-program-cmd): Likewise.
15774 * Rules (make-test-out): Use $(test-wrapper-env) and
15775 $(host-built-program-cmd).
15776 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15777 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15778 tst-pathopt.sh.
15779 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15780 $(test-wrapper-env) to tst-rtld-load-self.sh.
15781 ($(objpfx)order2.out): Use $(test-wrapper).
15782 ($(objpfx)tst-initorder.out): Likewise.
15783 ($(objpfx)tst-initorder2.out): Likewise.
15784 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15785 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15786 (test_wrapper_env): New variable. Use it to run ld.so.
15787 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15788 Use it to run ld.so.
15789 (test_wrapper_env): Likewise.
15790 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15791 $(test-wrapper) to run-iconv-test.sh.
15792 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15793 (ICONV): Use $test_wrapper.
15794 * posix/Makefile ($(objpfx)globtest.out): Pass
15795 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15796 globtest.sh, not $(run-program-prefix).
15797 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15798 (test_wrapper): Likewise.
15799 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15800 set together with run_via_rtld_prefix.
15801 (run_program_prefix): Define in terms of test_wrapper and
15802 run_via_rtld_prefix.
15803
15804 2012-10-24 Roland McGrath <roland@hack.frob.com>
15805
15806 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15807 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15808 Targets removed.
15809
15810 [BZ #14743]
15811 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15812 Declare __clock_getres, __clock_gettime, __clock_settime,
15813 __clock_nanosleep, and __clock_getcpuclockid.
15814 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15815 Remove librt_hidden_def (clock_gettime).
15816 * sysdeps/unix/clock_gettime.c: Likewise.
15817 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15819 * rt/clock_getres.c: Define __clock_getres as an alias.
15820 * sysdeps/posix/clock_getres.c: Likewise.
15821 * rt/clock_settime.c: Define __clock_settime as an alias.
15822 * sysdeps/unix/clock_settime.c: Likewise.
15823 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15824 * sysdeps/unix/clock_nanosleep.c: Likewise.
15825 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15826 * rt/clock-compat.c: New file.
15827 * rt/Makefile (librt-routines): Add clock-compat and move
15828 $(clock-routines) to ...
15829 (routines): ... here, new variable.
15830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15831 Don't add get_clockfreq here.
15832 * rt/Versions (libc: GLIBC_2.17): New version set.
15833 Add clock_* symbols here.
15834 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15836 (GLIBC_2.17): Add clock_* symbols.
15837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15841 Likewise.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15843 Likewise.
15844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15848 * NEWS: Mention the move.
15849
15850 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15851 Use __open, __read, __close rather than their public counterparts.
15852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15853 (__get_clockfreq_via_cpuinfo): Likewise.
15854 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15855 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15856
15857 * config.h.in (HAVE_IFUNC): New #undef.
15858 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15859 was successful.
15860 * configure: Regenerated.
15861
15862 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15863
15864 * configure.in: Move READELF check to start of file.
15865 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15866 libc_cv_asm_gnu_indirect_function in the process.
15867 * configure: Regenerated.
15868
15869 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15870
15871 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15872 send the output to /dev/null.
15873 (libc_cv_cc_with_libunwind): Likewise.
15874 (libc_cv_as_noexecstack): Likewise.
15875 * configure: Regenerate.
15876
15877 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15878
15879 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15880
15881 * posix/globtest.sh (TMPDIR): Do not set.
15882 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15883 (testout): Likewise.
15884
15885 2012-10-24 Andreas Jaeger <aj@suse.de>
15886
15887 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15888 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15889 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15890 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15891 posix_fadvise64, posix_fallocate64.
15892
15893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15894 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15895 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15896 Likewise.
15897 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15898 Likewise.
15899 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15900
15901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15902 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15903 <bits/fcntl-linux.h>.
15904 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15905
15906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15907 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15908 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15909 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15910 [__WORDSIZE != 64]: Likewise.
15911
15912 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15913
15914 * Makeconfig (run-built-tests): New variable.
15915 * Rules [$(cross-compiling) = yes]: Change condition to
15916 [$(run-built-tests) = no].
15917 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15918 to [$(run-built-tests) = yes].
15919 * elf/Makefile [$(cross-compiling) = no]: Likewise
15920 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15921 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15922 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15923 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15924 * io/Makefile [$(cross-compiling) = no]: Likewise.
15925 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15926 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15927 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15928 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15929 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15930 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15931 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15932 * string/Makefile [$(cross-compiling) = no]: Likewise.
15933
15934 * posix/Makefile ($(objpfx)globtest.out): Pass
15935 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15936 $(rtld-installed-name).
15937 * posix/globtest.sh (elf_objpfx): Remove variable.
15938 (rtld_installed_name): Likewise.
15939 (library_path): Likewise.
15940 (run_program_prefix): New variable. Use for running globtest
15941 binary.
15942
15943 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15944 Joseph Myers <joseph@codesourcery.com>
15945
15946 * Makeconfig (host-built-program-cmd): New variable.
15947 * elf/Makefile (tst-stackguard1-ARGS): Use
15948 $(host-built-program-cmd).
15949 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15950 (tst-spawn-ARGS): Likewise.
15951 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15952
15953 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15954 Jim Blandy <jimb@codesourcery.com>
15955
15956 * Makeconfig (run-via-rtld-prefix): New variable.
15957 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15958 (built-program-cmd): Likewise.
15959
15960 2012-10-22 Andreas Jaeger <aj@suse.de>
15961
15962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15963 __O_RSYNC if it exists, otherwise to O_SYNC.
15964
15965 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15966 Joseph Myers <joseph@codesourcery.com>
15967
15968 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15969 /dev/null.
15970 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15971 from /dev/null
15972 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15973 /dev/null.
15974
15975 2012-10-22 Andreas Jaeger <aj@suse.de>
15976
15977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15978 Define always.
15979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15980
15981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15982 bits/fcntl-linux.h.
15983
15984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15985 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15986
15987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15988 to __O_LARGEFILE.
15989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15990 to __O_LARGEFILE.
15991
15992 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15993 Joseph Myers <joseph@codesourcery.com>
15994
15995 * config.make.in (NM): New variable.
15996
15997 2012-10-21 Andreas Jaeger <aj@suse.de>
15998
15999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16000 definitions and declarations that are provided by
16001 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16002
16003 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16004
16005 [BZ #14683]
16006 * elf/Makefile (tests-static): Add tst-leaks1-static.
16007 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16008 ($(objpfx)tst-leaks1-static): New rule.
16009 ($(objpfx)tst-leaks1-static-mem): Likewise.
16010 (tst-leaks1-static-ENV): New macro.
16011 * elf/dl-open.c (dl_open_worker): Check the main application
16012 only if SHARED is defined.
16013 * elf/tst-leaks1-static.c: New file.
16014
16015 2012-10-20 Andreas Jaeger <aj@suse.de>
16016
16017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16018 generic values for Linux.
16019 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16020 and declarations that are provided by <bits/fcntl-linux.h> and
16021 include <bits/fcntl-linux.h>.
16022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16024
16025 2012-10-20 Roland McGrath <roland@hack.frob.com>
16026
16027 * io/fcntl.h: Move include of <bits/types.h> to the top and
16028 include it unconditionally.
16029
16030 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16031
16032 * wcsmbs/Makefile (tests-ifunc): New variable.
16033 (tests): Add $(tests-ifunc).
16034 * wcsmbs/test-wcschr-ifunc.c: New file.
16035 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16036 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16037 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16038 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16039 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16040
16041 * string/Makefile (tests-ifunc): New variable.
16042 (tests): Add $(tests-ifunc).
16043 * string/test-memccpy.c (TEST_NAME): New macro.
16044 * string/test-memchr.c (TEST_NAME): Likewise.
16045 * string/test-memcmp.c (TEST_NAME): Likewise.
16046 * string/test-memcpy.c (TEST_NAME): Likewise.
16047 * string/test-memmem.c (TEST_NAME): Likewise.
16048 * string/test-memmove.c (TEST_NAME): Likewise.
16049 * string/test-memset.c (TEST_NAME): Likewise.
16050 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16051 * string/test-stpcpy.c (TEST_NAME): Likewise.
16052 * string/test-stpncpy.c (TEST_NAME): Likewise.
16053 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16054 * string/test-strcasestr.c (TEST_NAME): Likewise.
16055 * string/test-strcat.c (TEST_NAME): Likewise.
16056 * string/test-strchr.c (TEST_NAME): Likewise.
16057 * string/test-strcmp.c(TEST_NAME): Likewise.
16058 * string/test-strcpy.c (TEST_NAME): Likewise.
16059 * string/test-strcspn.c (TEST_NAME): Likewise.
16060 * string/test-strlen.c (TEST_NAME): Likewise.
16061 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16062 * string/test-strncmp.c (TEST_NAME): Likewise.
16063 * string/test-strncpy.c (TEST_NAME): Likewise.
16064 * string/test-strnlen.c (TEST_NAME): Likewise.
16065 * string/test-strpbrk.c (TEST_NAME): Likewise.
16066 * string/test-strrchr.c (TEST_NAME): Likewise.
16067 * string/test-strspn.c (TEST_NAME): Likewise.
16068 * string/test-strstr.c (TEST_NAME): Likewise.
16069 * string/test-bcopy-ifunc.c: New file.
16070 * string/test-bzero-ifunc.c: Likewise.
16071 * string/test-memccpy-ifunc.c: Likewise.
16072 * string/test-memchr-ifunc.c: Likewise.
16073 * string/test-memcmp-ifunc.c: Likewise.
16074 * string/test-memcpy-ifunc.c: Likewise.
16075 * string/test-memmem-ifunc.c: Likewise.
16076 * string/test-memmove-ifunc.c: Likewise.
16077 * string/test-mempcpy-ifunc.c: Likewise.
16078 * string/test-memset-ifunc.c: Likewise.
16079 * string/test-rawmemchr-ifunc.c: Likewise.
16080 * string/test-stpcpy-ifunc.c: Likewise.
16081 * string/test-stpncpy-ifunc.c: Likewise.
16082 * string/test-strcasecmp-ifunc.c: Likewise.
16083 * string/test-strcasestr-ifunc.c: Likewise.
16084 * string/test-strcat-ifunc.c: Likewise.
16085 * string/test-strchr-ifunc.c: Likewise.
16086 * string/test-strchrnul-ifunc.c: Likewise.
16087 * string/test-strcmp-ifunc.c: Likewise.
16088 * string/test-strcpy-ifunc.c: Likewise.
16089 * string/test-strcspn-ifunc.c: Likewise.
16090 * string/test-strlen-ifunc.c: Likewise.
16091 * string/test-strncasecmp-ifunc.c: Likewise.
16092 * string/test-strncat-ifunc.c: Likewise.
16093 * string/test-strncmp-ifunc.c: Likewise.
16094 * string/test-strncpy-ifunc.c: Likewise.
16095 * string/test-strnlen-ifunc.c: Likewise.
16096 * string/test-strpbrk-ifunc.c: Likewise.
16097 * string/test-strrchr-ifunc.c: Likewise.
16098 * string/test-strspn-ifunc.c: Likewise.
16099 * string/test-strstr-ifunc.c: Likewise.
16100
16101 * debug/Makefile (tests-ifunc): New variable.
16102 (tests): Add $(tests-ifunc).
16103 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16104 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16105 * debug/test-stpcpy_chk-ifunc.c: New file.
16106 * debug/test-strcpy_chk-ifunc.c: Likewise.
16107
16108 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16109
16110 [BZ #13601]
16111 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16112 header is not read in.
16113
16114 2012-10-19 Joseph Myers <joseph@codesourcery.com>
16115
16116 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16117 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16118 directly. Pass built executable to script as
16119 $(built-program-cmd).
16120 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16121 $testprogram without using LD_LIBRARY_PATH and $ldso.
16122
16123 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16124 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16125 $(rtld-installed-name).
16126 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16127 (rtld_installed_name): Likewise.
16128 (library_path): Likewise.
16129 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16131 $(run-program-prefix) to tst-tables.sh.
16132 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16133 it to run tst-table-from and tst-table-to.
16134 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16135 Pass it to tst-table.sh.
16136 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16137 $(run-program-prefix) to tst-gettext.sh.
16138 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16139 tst-translit.sh.
16140 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16141 tst-gettext2.sh.
16142 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16143 to run tst-gettext.
16144 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16145 to run tst-gettext2.
16146 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16147 to run tst-translit.
16148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16149 $(run-program-prefix) to tst-mtrace.sh.
16150 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16151 to run tst-mtrace.
16152 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16153 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16154 $(rtld-installed-name).
16155 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16156 (rtld_installed_name): Likewise.
16157 (run_program_prefix): New variable. Use it to run wordexp-test.
16158
16159 * Makeconfig (ARCH): Remove all definitions.
16160 (machine): Likewise.
16161 [ARCH]: Remove conditional code.
16162 [!objdir]: Give error.
16163 [!objdir] (objpfx): Remove.
16164 [!objdir] (common-objpfx): Likewise.
16165 [!objdir] (common-objdir): Likewise.
16166 * configure.in (config_makefile): Remove. Hardcode Makefile in
16167 AC_CONFIG_FILES call.
16168 * configure: Regenerated.
16169
16170 [BZ #13888]
16171 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16172 or TMPDIR.
16173 (testout): Likewise.
16174
16175 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16176 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16177 $(rtld-installed-name).
16178 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16179 (rtld_installed_name): Likwise.
16180 (runit): Remove function.
16181 (run_getconf): New variable, Use it for running getconf binary.
16182
16183 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16184
16185 [BZ #14716]
16186 * string/test-memmem.c (check_result): New function.
16187 (do_one_test): Use it.
16188 (check1): New function.
16189 (test_main): Use it.
16190
16191 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16192
16193 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16194
16195 2012-10-18 Joseph Myers <joseph@codesourcery.com>
16196
16197 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16198 (_G_LSEEK64): Likewise.
16199 (_G_MMAP64): Likewise.
16200 (_G_FSTAT64): Likewise.
16201 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16202 (_G_LSEEK64): Likewise.
16203 (_G_MMAP64): Likewise.
16204 (_G_FSTAT64): Likewise.
16205 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16206 unconditional. Call __mmap64 directly.
16207 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16208 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16209 __lseek64 directly.
16210 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16211 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16212 __mmap64 directly.
16213 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16214 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16215 __lseek64 directly.
16216 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16217 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16218 __lseek64 directly.
16219 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16220 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16221 __lseek64 directly.
16222 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16223 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16224 __fxstat64 directly.
16225 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16226 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16227 unconditional.
16228 (freopen64) [!_G_OPEN64]: Remove conditional code.
16229 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16230 unconditional.
16231 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16232 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16233 unconditional.
16234 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16235 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16236 unconditional.
16237 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16238 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16239 unconditional.
16240 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16241 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16242 unconditional.
16243 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16244 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16245 unconditional.
16246 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16247 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16248 unconditional.
16249 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16250
16251 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16252
16253 [BZ #12140]
16254 * manual/memory.texi (Malloc Tunable Parameters): Add note
16255 about free list pointers overwriting some perturb bytes.
16256 Wording suggested by Roland McGrath.
16257
16258 2012-10-17 Joseph Myers <joseph@codesourcery.com>
16259
16260 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16261 (lgamma_test): Likewise.
16262 (tgamma_test): Likewise.
16263
16264 2012-10-16 Florian Weimer <fweimer@redhat.com>
16265
16266 [BZ #14700]
16267 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16268 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16269
16270 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16271
16272 * NEWS: Mention BZ #14716.
16273 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16274 when removing AVAILABLE1_USES_J macro.
16275
16276 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16279 (__bswap_64): __uint64_t for unsigned 64-bit int.
16280
16281 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16282
16283 * include/string.h (memmem): Declare libc hidden alias.
16284 * string/memmem.c (memmem): Define libc hidden alias.
16285 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16286 __read, __close instead of open, read, close.
16287
16288 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16291 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16292 global and hidden.
16293 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16294 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16295 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16296 Likewise.
16297 (__rawmemchr_sse2): Likewise.
16298 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16299 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16300 (__strchr_sse2): Likewise.
16301 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16302 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16303 (__strcasecmp_sse2): Likewise.
16304 (__strncasecmp_sse2): Likewise.
16305 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16306 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16307 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16308 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16309 (__strrchr_sse2): Likewise.
16310 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16311 ifunc-impl-list.c.
16312 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16313 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16314 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16316 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16317 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16320 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16321 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16322 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16324 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16325 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16326 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16327 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16328 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16329 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16330 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16331 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16332 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16333 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16334 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16336 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16337 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16338 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16340 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16341 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16342
16343 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16344 global and hidden.
16345 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16346 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16347 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16348 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16349 Likewise.
16350 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16351 Likewise.
16352 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16353 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16354 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16355 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16356 ifunc-impl-list.c.
16357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16359 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16360 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16361 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16362 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16363 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16364 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16365 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16366 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16367 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16368 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16369 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16370 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16371 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16373 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16374 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16375 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16376 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16377 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16378 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16379 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16381 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16382 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16383 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16384 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16385 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16386 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16387 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16390 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16391 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16392 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16393 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16394 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16395 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16396 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16397 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16398
16399 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16400 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16401 * include/ifunc-impl-list.h: New file.
16402 * misc/ifunc-impl-list.c: Likewise.
16403 * misc/Makefile (routines): Add ifunc-impl-list.
16404 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16405 * string/test-string.h: Include <ifunc-impl-list.h>.
16406 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16407 impl_array): New variables.
16408 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16409 are defined.
16410 (test_init): Call __libc_ifunc_impl_list to initialize
16411 func_list if TEST_IFUNC and TEST_NAME are defined.
16412
16413 * string/Makefile (strop-tests): Add bcopy and bzero.
16414 * string/test-bcopy.c: New file.
16415 * string/test-bzero.c: Likewise.
16416 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16417 defined.
16418 * string/test-memset.c: Support bzero test if TEST_BZERO is
16419 defined.
16420 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16421 __libc_memmove.
16422 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16423 __libc_memset.
16424 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16425 of memset.
16426
16427 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16428
16429 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16430 * configure: Regenerated.
16431
16432 * Makeconfig (+link-static-before-libc): Don't include
16433 $(link-static-libc).
16434
16435 * libio/libio.h (_IO_pos_t): Remove.
16436
16437 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16438
16439 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16440 McGrath.
16441
16442 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16443
16444 * crypt/crypt-entry.c: Include fips-private.h.
16445 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16446 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16447 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16448 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16449
16450 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16451
16452 * crypt/crypt-private.h: Include stdbool.h.
16453 (_ufc_setup_salt_r): Return bool.
16454 * crypt/crypt-entry.c: Include errno.h.
16455 (__crypt_r): Return NULL with EINVAL for bad salt.
16456 * crypt/crypt_util.c (bad_for_salt): New.
16457 (_ufc_setup_salt_r): Check that salt is long enough and within
16458 the specified alphabet.
16459 * crypt/badsalttest.c: New file.
16460 * crypt/Makefile (tests): Add it.
16461 ($(objpfx)badsalttest): New.
16462
16463 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16464
16465 * NEWS: Add entry for BZ #14602.
16466
16467 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16468
16469 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16470 type-generic.
16471 * math/libm-test.inc: Update comment listing what functions and
16472 macros are tested.
16473 (isgreater_test): New function.
16474 (isgreaterequal_test): Likewise.
16475 (isless_test): Likewise.
16476 (islessequal_test): Likewise.
16477 (islessgreater_test): Likewise.
16478 (isunordered_test): Likewise.
16479 (main): Call the new functions.
16480
16481 2012-10-09 Roland McGrath <roland@hack.frob.com>
16482
16483 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16484 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16485 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16486 * sysdeps/i386/configure: Regenerated.
16487 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16488 * sysdeps/mach/configure: Regenerated.
16489 * sysdeps/mach/hurd/configure: Regenerated.
16490 * sysdeps/powerpc/configure: Regenerated.
16491 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16492 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16493 * sysdeps/s390/s390-32/configure: Regenerated.
16494 * sysdeps/s390/s390-64/configure: Regenerated.
16495 * sysdeps/sh/configure: Regenerated.
16496 * sysdeps/sparc/configure: Regenerated.
16497 * sysdeps/unix/sysv/linux/configure: Regenerated.
16498 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16499 * sysdeps/x86_64/configure: Regenerated.
16500
16501 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16502 defined. Don't check if MAP is NULL.
16503
16504 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16505
16506 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16507 (_G_stat64): Likewise.
16508 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16509 (_G_stat64): Likewise.
16510 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16511 instead of struct _G_stat64.
16512 * libio/fileops.c (mmap_remap_check): Likewise.
16513 (decide_maybe_mmap): Likewise.
16514 (_IO_new_file_seekoff): Likewise.
16515 (_IO_file_stat): Likewise.
16516 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16517 _G_off64_t.
16518 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16519 instead of struct _G_stat64.
16520 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16521
16522 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16523
16524 [BZ #14602]
16525 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16526 Replace with ...
16527 (CHECK_EOL): New macro.
16528 (two_way_short_needle): Check beginning of haystack for EOL. Use
16529 CHECK_EOL.
16530 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16531 Replace with CHECK_EOL.
16532 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16533 Replace with CHECK_EOL.
16534
16535 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16536
16537 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16538 type-generic.
16539 * math/libm-test.inc: Update comment listing what functions and
16540 macros are tested.
16541 (finite_test): New function.
16542 (isinf_test): Likewise.
16543 (isnan_test): Likewise.
16544 (fpclassify_test): Test subnormal input.
16545 (isfinite_test): Likewise.
16546 (isnormal_test): Likewise.
16547 (main): Call the new functions.
16548
16549 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16550
16551 [BZ #14660]
16552 * Makerules (%.dynsym): Force C locale when running
16553 $(OBJDUMP) --dynamic-syms.
16554
16555 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16556
16557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16558 <stdint.h>.
16559
16560 2012-10-06 David S. Miller <davem@davemloft.net>
16561
16562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16563 upper 32-bits of the length value in %o2 since we use branch-on-register
16564 tests which consider the entire 64-bit register.
16565
16566 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16567
16568 * string/test-strstr.c (check2): Add a test for page boundary.
16569
16570 2012-10-05 David S. Miller <davem@davemloft.net>
16571
16572 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16573 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16574 file.
16575 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16576 sysdep_routines.
16577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16578 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16579 and bzero when HWCAP_SPARC_CRYPTO is present.
16580
16581 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16582
16583 [BZ #14602]
16584 * string/test-strstr.c (check2): New function.
16585 (test_main): Call check2.
16586
16587 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16588 and bug-strchr1.
16589 * string/bug-strcasestr1.c (do_test): Moved to ...
16590 * string/test-strcasestr.c (check1): Here. New function.
16591 (do_one_test): Break out result checking code into ...
16592 (check_result): This. New function.
16593 (do_one_test): Call check_result.
16594 (test_main): Call check1.
16595 * string/bug-strchr1.c (do_test): Moved to ...
16596 * string/test-strchr.c (check1): Here. New function.
16597 (do_one_test): Break out result checking code into ...
16598 (check_result): This. New function.
16599 (do_one_test): Call check_result.
16600 (test_main): Call check1.
16601 * string/bug-strstr1.c (main): Moved to ...
16602 * string/test-strstr.c (check1): Here. New function.
16603 (do_one_test): Break out result checking code into ...
16604 (check_result): This. New function.
16605 (do_one_test): Call check_result.
16606 (test_main): Call check1.
16607 * string/bug-strcasestr1.c: Removed.
16608 * string/bug-strchr1.c: Likewise.
16609 * string/bug-strstr1.c: Likewise.
16610
16611 * elf/Makefile (dl-routines): Add hwcaps.
16612 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16613 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16614 (_dl_important_hwcaps): Moved to ...
16615 * elf/dl-hwcaps.c: Here. New file.
16616 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16617
16618 [BZ #14557]
16619 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16620 if IS_IN_rtld isn't defined.
16621
16622 * elf/dl-support.c (_dl_sysinfo_map): New.
16623 Include "get-dynamic-info.h" and "setup-vdso.h".
16624 (_dl_non_dynamic_init): Call setup_vdso.
16625 * elf/dynamic-link.h: Don't include <assert.h>.
16626 (elf_get_dynamic_info): Moved to ...
16627 * elf/get-dynamic-info.h: Here. New file.
16628 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16629 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16630 * elf/setup-vdso.h: Here. New file.
16631 * elf/rtld.c: Include "setup-vdso.h".
16632 (dl_main): Call setup_vdso.
16633
16634 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16635
16636 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16637 creal in comment listing functions tested. List finite, isinf,
16638 isnan, isless, islessequal, isgreater, isgreaterequal,
16639 islessgreater, isunordered, lgamma_r and pow10 as functions and
16640 macros not tested. Mention which functions not tested are aliases
16641 for other functions. Fix typo. Note that signs of NaNs are not
16642 tested.
16643
16644 * scripts/config.guess: Update from config.git.
16645 * scripts/config.sub: Likewise.
16646
16647 2012-10-04 Roland McGrath <roland@hack.frob.com>
16648
16649 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16650 * misc/madvise.c (madvise): Renamed to __madvise.
16651 Make madvise a weak alias.
16652 * include/sys/mman.h: Declare __madvise.
16653 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16654 * sysdeps/unix/syscalls.list
16655 (madvise): Make __madvise the strong name, and madvise a weak alias.
16656 * sysdeps/unix/sysv/linux/syscalls.list
16657 (madvise, mmap): Remove redundant entries.
16658 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16659 * malloc/malloc.c (mtrim): Likewise.
16660 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16661
16662 2012-10-03 Roland McGrath <roland@hack.frob.com>
16663
16664 * sysdeps/mach/hurd/dl-cache.c: File removed.
16665 * config.h.in (USE_LDCONFIG): New #undef.
16666 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16667 * configure: Regenerated.
16668 * elf/Makefile (dl-routines): Add dl-cache only under
16669 [$(use-ldconfig) = yes].
16670 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16671 cache on [USE_LDCONFIG].
16672 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16673 [USE_LDCONFIG].
16674 * elf/rtld.c (dl_main): Likewise.
16675
16676 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16677
16678 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16679 _SC_LEVEL4_CACHE_LINESIZE.
16680
16681 2012-10-03 Roland McGrath <roland@hack.frob.com>
16682
16683 * sysdeps/unix/bsd/confstr.h: File removed.
16684
16685 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16686
16687 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16688 sys/sdt-config.h.
16689
16690 2012-10-02 Roland McGrath <roland@hack.frob.com>
16691
16692 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16693 Make 'mapoff' field ElfW(Off) rather than off_t.
16694
16695 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16696
16697 * nscd/Makefile: Remove nscd-cflags and all its users.
16698 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16699 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16700
16701 [BZ #10631]
16702 * malloc.c (malloc_printerr): Clarify error message.
16703
16704 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16705
16706 [BZ #14648]
16707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16708 Set bit_FMA_Usable if FMA is supported.
16709 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16710 macro.
16711 (bit_FMA4_Usable): Updated.
16712 (index_FMA_Usable): New macro.
16713 (CPUID_FMA): Likewise
16714 (HAS_FMA): Defined with bit_FMA_Usable.
16715
16716 2012-10-01 Roland McGrath <roland@hack.frob.com>
16717
16718 * bits/types.h (__swblk_t): Type removed.
16719 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16720 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16722 (__SWBLK_T_TYPE): Likewise.
16723 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16724 (__SWBLK_T_TYPE): Likewise.
16725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16726 (__SWBLK_T_TYPE): Likewise.
16727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16728 (__SWBLK_T_TYPE): Likewise.
16729
16730 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16731 Honza Horak <hhorak@redhat.com>
16732
16733 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16734 (xdr_mapname): Use YPMAXMAP as maxsize.
16735 (xdr_peername): Use YPMAXPEER as maxsize.
16736 (xdr_keydat): Use YPAXRECORD as maxsize.
16737 (xdr_valdat): Use YPMAXRECORD as maxsize.
16738
16739 2012-10-01 Roland McGrath <roland@hack.frob.com>
16740
16741 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16742
16743 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16744 * csu/init-first.c: ... here.
16745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16746 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16747 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16748 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16749 * sysdeps/i386/init-first.c: File removed.
16750 * sysdeps/sh/init-first.c: File removed.
16751
16752 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16753
16754 [BZ #14645]
16755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16756 if x * y might underflow to zero and z is zero.
16757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16759 * math/libm-test.inc (min_subnorm_value): New variable.
16760 (fma_test): Add more tests.
16761 (fma_test_towardzero): Likewise.
16762 (fma_test_downward): Likewise
16763 (fma_test_upward): Likewise.
16764 (initialize): Set min_subnorm_value.
16765
16766 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #14638]
16769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16770 0 + 0.
16771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16772 mode for addition resulting in exact zero.
16773 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16775 exact 0 + 0.
16776 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16778 * math/libm-test.inc (fma_test): Add more tests.
16779 (fma_test_towardzero): New function.
16780 (fma_test_downward): Likewise.
16781 (fma_test_upward): Likewise.
16782 (main): Call the new functions.
16783
16784 2012-09-28 David S. Miller <davem@davemloft.net>
16785
16786 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16787
16788 2012-09-28 Roland McGrath <roland@hack.frob.com>
16789
16790 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16791 instead of SIGALRM.
16792
16793 * sysdeps/gnu/_G_config.h: Moved to ...
16794 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16795 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16796 * sysdeps/generic/_G_config.h: ... here.
16797
16798 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16799
16800 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16801
16802 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16803 Conditionalize target on [libnss_test1.so-version].
16804
16805 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16806
16807 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16808 (elfobjdir): Move out of conditionals.
16809
16810 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16811 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16812 (__nss_lookup_function): Conditionalize label remove_from_tree on
16813 [!DO_STATIC_NSS || SHARED], matching its only use.
16814
16815 2012-09-28 David S. Miller <davem@davemloft.net>
16816
16817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16819 file.
16820 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16821 sysdep_routines.
16822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16824 when HWCAP_SPARC_CRYPTO is present.
16825
16826 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16827
16828 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16829
16830 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16831
16832 [BZ #6530]
16833 * stdio-common/vfprintf.c (process_string_arg): Revert
16834 2000-07-22 change.
16835
16836 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16837
16838 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16839 for testcase.
16840 * stdio-common/tst-sprintf.c: Include <locale.h>
16841 (main): Test sprintf's handling of incomplete multibyte
16842 characters.
16843
16844 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16845
16846 * elf/dl-runtime.c (VERSYMIDX): Removed.
16847 * elf/dl-version.c (VERSYMIDX): Likewise.
16848 * elf/do-rel.h (VERSYMIDX): Likewise.
16849 (VALIDX): Likewise.
16850 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16851 * elf/rtld.c (VALIDX): Likewise.
16852 (ADDRIDX): Likewise.
16853 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16854 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16855 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16856 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16857 (VALIDX): Likewise.
16858 (ADDRIDX): Likewise.
16859
16860 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16861
16862 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16863
16864 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16865
16866 [BZ #11438]
16867 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16868 to global scope.
16869 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16870 addresses are in the same scope as 192.0.2/24.
16871 * posix/gai.conf: Document new scope table defaults.
16872
16873 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16874
16875 [BZ #5298]
16876 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16877 for ftell. Compute offsets from write pointers instead.
16878 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16879
16880 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16881
16882 [BZ #14543]
16883 * libio/Makefile (tests): New test case tst-fseek.
16884 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16885 combination works in wide mode.
16886 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16887 state when the external buffer state changes.
16888
16889 2012-09-27 David S. Miller <davem@davemloft.net>
16890
16891 [BZ #14376]
16892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16893 pass reloc->r_addend in as the 'high' argument to
16894 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16895
16896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16897
16898 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16899
16900 * rt/tst-aio2.c: Include <pthread.h>.
16901 * rt/tst-aio3.c: Likewise.
16902
16903 2012-09-27 Steve Ellcey <sellcey@mips.com>
16904
16905 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16906
16907 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16910 contents on [SHARED].
16911
16912 2012-09-26 Marek Polacek <polacek@redhat.com>
16913
16914 [BZ #14530]
16915 [BZ #13741]
16916 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16917 for C++ and GCC <4.3 as well as for non GCC compilers.
16918
16919 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16920
16921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16922
16923 2012-09-25 Roland McGrath <roland@hack.frob.com>
16924
16925 * Makefile.in (all, install): Declare with .PHONY.
16926 Reported by Michael Hope <michael.hope@linaro.org>.
16927
16928 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16929
16930 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16931 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16932 system header.
16933 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16934 Likewise.
16935 (sydep_routines): Add the new and the internal functions.
16936 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16937 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16939 (GLIBC_2.17): Add the new function.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16941 (GLIBC_2.17): Likewise.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16943 (GLIBC_2.17): Likewise.
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16945 (GLIBC_2.17): Likewise.
16946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16947
16948 2012-09-25 Alan Modra <amodra@gmail.com>
16949
16950 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16951 Add release barrier before setting once_control to say
16952 initialisation is done. Add hints on lwarx. Use macro in
16953 place of isync.
16954 (clear_once_control): Add release barrier.
16955
16956 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16957
16958 [BZ #13629]
16959 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16960 specially.
16961 * math/s_clog10.c (__clog10): Likewise.
16962 * math/s_clog10f.c (__clog10f): Likewise.
16963 * math/s_clog10l.c (__clog10l): Likewise.
16964 * math/s_clogf.c (__clogf): Likewise.
16965 * math/s_clogl.c (__clogl): Likewise.
16966 * math/Makefile (libm-calls): Add x2y2m1.
16967 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16968 (__x2y2m1): Likewise.
16969 (__x2y2m1l): Likewise.
16970 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16971 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16974 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16976 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16977 * sysdeps/i386/fpu/libm-test-ulps: Update.
16978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16979
16980 [BZ #14621]
16981 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16982 int as type of variable DEPTH.
16983 (glob): Use size_t instead of int as type of variables NEWCOUNT
16984 and OLD_PATHC.
16985
16986 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16987
16988 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16989 Add s_sincosf-sse2.
16990 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16991 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16992 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16993 macros for using routine as __sincosf_ia32.
16994 Use macro for function declaration and weak_alias.
16995 * sysdeps/i386/fpu/libm-test-ulps: Update.
16996
16997 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16999
17000 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17001 subnormal argument.
17002 * math/s_cexpf.c (__cexpf): Likewise.
17003 * math/s_csinf.c (__csinf): Likewise.
17004 * math/s_csinhf.c (__csinhf): Likewise.
17005 * math/s_ctanf.c (__ctanf): Likewise.
17006 * math/s_ctanhf.c (__ctanhf): Likewise.
17007 * math/s_ccosh.c (__ccoshf): Likewise.
17008 * math/s_cexp.c (__cexpl): Likewise.
17009 * math/s_csin.c (__csin): Likewise.
17010 * math/s_csinh.c (__csinh): Likewise.
17011 * math/s_ctan.c (__ctan): Likewise.
17012 * math/s_ctanh.c (ctanh): Likewise.
17013 * math/s_ccoshl.c (__ccoshl): Likewise.
17014 * math/s_cexpl.c (__cexpl): Likewise.
17015 * math/s_csinl.c (__csinl): Likewise.
17016 * math/s_csinhl.c (__csinhl): Likewise.
17017 * math/s_ctanl.c (__ctanl): Likewise.
17018 * math/s_ctanhl.c (__ctanhl): Likewise.
17019
17020 2012-09-25 Joseph Myers <joseph@codesourcery.com>
17021
17022 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17023 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17024 (_IO_off_t): Define to __off_t, not _G_off_t.
17025 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17026 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17027 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17028 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17029 type of __dummy and __dummy2 fields.
17030 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17031 (_G_ssize_t): Likewise.
17032 (_G_off_t): Likewise.
17033 (_G_pid_t): Likewise.
17034 (_G_uid_t): Likewise.
17035 (_G_wchar_t): Likewise.
17036 (_G_wint_t): Likewise.
17037 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17038 (_G_ssize_t): Likewise.
17039 (_G_off_t): Likewise.
17040 (_G_pid_t): Likewise.
17041 (_G_uid_t): Likewise.
17042 (_G_wchar_t): Likewise.
17043 (_G_wint_t): Likewise.
17044 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17045 (_G_ssize_t): Likewise.
17046 (_G_off_t): Likewise.
17047 (_G_pid_t): Likewise.
17048 (_G_uid_t): Likewise.
17049 (_G_wchar_t): Likewise.
17050 (_G_wint_t): Likewise.
17051
17052 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
17054 * malloc/arena.c: Include malloc-sysdep.h.
17055 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17056 is sufficient to shrink the heap or an unmap is needed.
17057 * sysdeps/generic/malloc-sysdep.h: New file. Define
17058 new function check_may_shrink_heap.
17059 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17060 new function check_may_shrink_heap.
17061
17062 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17063
17064 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17065 comments.
17066
17067 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17068
17069 * catgets/test-gencat.sh: Add "set -e".
17070 * elf/tst-pathopt.sh: Likewise.
17071 * grp/tst_fgetgrent.sh: Likewise.
17072 * iconvdata/run-iconv-test.sh: Likewise.
17073 * intl/tst-gettext.sh: Likewise.
17074 * intl/tst-gettext2.sh: Likewise.
17075 * intl/tst-gettext4.sh: Likewise.
17076 * intl/tst-gettext6.sh: Likewise.
17077 * intl/tst-translit.sh: Likewise.
17078 * io/ftwtest-sh: Likewise.
17079 * libio/test-freopen.sh: Likewise.
17080 * malloc/tst-mtrace.sh: Likewise.
17081 * posix/globtest.sh: Likewise.
17082 * posix/tst-getconf.sh: Likewise.
17083 * posix/wordexp-tst.sh: Likewise.
17084 * stdio-common/tst-printf.sh: Likewise.
17085 * stdio-common/tst-unbputc.sh: Likewise.
17086 * stdlib/tst-fmtmsg.sh: Likewise.
17087 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17088 * catgets/Makefile: Do not specify -e option when running
17089 testsuite shell scripts.
17090 * elf/Makefile: Likewise.
17091 * grp/Makefile: Likewise.
17092 * iconvdata/Makefile: Likewise.
17093 * intl/Makefile: Likewise.
17094 * io/Makefile: Likewise.
17095 * libio/Makefile: Likewise.
17096 * malloc/Makefile: Likewise.
17097 * posix/Makefile: Likewise.
17098 * stdio-common/Makefile: Likewise.
17099 * stdlib/Makefile: Likewise.
17100 * sysdeps/x86_64/Makefile: Likewise.
17101
17102 * io/ftwtest-sh: Add copyright header.
17103 * posix/globtest.sh: Likewise.
17104 * posix/tst-getconf.sh: Likewise.
17105 * posix/wordexp-tst.sh: Likewise.
17106 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17107
17108 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17109
17110 [BZ #13679]
17111 * Makeconfig (+link): Defined as $(+link-static) if
17112 $(build-shared) isn't yes.
17113 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17114 isn't yes.
17115 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17116
17117 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17118
17119 [BZ #14562]
17120 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17121 new chunk size with MALLOC_ALIGN_MASK.
17122
17123 2012-09-24 Joseph Myers <joseph@codesourcery.com>
17124
17125 [BZ #5044]
17126 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17127 <rounding-mode.h>.
17128 (__printf_fphex): Determine rounding using get_rounding_mode and
17129 round_away.
17130 * stdio-common/tst-printf-round.c (struct hex_test): New
17131 structure.
17132 (hex_tests): New variable.
17133 (test_hex_in_one_mode): New function.
17134 (do_test): Also run tests for hex float output.
17135
17136 2012-09-21 Joseph Myers <joseph@codesourcery.com>
17137
17138 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17139 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17140 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17141 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17142 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17143 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17144 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17145 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17146
17147 2012-09-20 Joseph Myers <joseph@codesourcery.com>
17148
17149 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17150 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17151 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17152 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17153
17154 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17155
17156 [BZ #14579]
17157 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17158 mode only.
17159 * elf/tst-rtld-load-self.sh: New test.
17160 * elf/Makefile: Run it.
17161
17162 2012-09-18 Joseph Myers <joseph@codesourcery.com>
17163
17164 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17165 (tst-writev-ENV): Remove.
17166 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17167
17168 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17169
17170 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17171
17172 2012-09-17 Joseph Myers <joseph@codesourcery.com>
17173
17174 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17175 unconditional.
17176 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17177 Likewise.
17178 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17179 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17180 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17181 Likewise.
17182
17183 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 [BZ #14587]
17186 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17187 * config.make.in (have-cpp-asm-debuginfo): Removed.
17188 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17189 * configure: Regenerated.
17190
17191 2012-09-14 Joseph Myers <joseph@codesourcery.com>
17192
17193 [BZ #5044]
17194 * stdio-common/printf_fp.c: Include <stdbool.h> and
17195 <rounding-mode.h>.
17196 (___printf_fp): Determine rounding using get_rounding_mode and
17197 round_away.
17198 * stdio-common/tst-printf-round.c: New file.
17199 * stdio-common/Makefile (tests): Add tst-printf-round.
17200 (link-libm): New variable.
17201 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17202
17203 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17204
17205 [BZ #14576]
17206 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17207 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17208 Likewise.
17209 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17210 Likewise.
17211
17212 2012-09-13 Joseph Myers <joseph@codesourcery.com>
17213
17214 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17215 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17216 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17217 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17218
17219 2012-09-12 Joseph Myers <joseph@codesourcery.com>
17220
17221 [BZ #14518]
17222 * include/rounding-mode.h: New file.
17223 * sysdeps/generic/get-rounding-mode.h: Likewise.
17224 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17225 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17226 (MAX_VALUE): New macro.
17227 (MIN_VALUE): Likewise.
17228 (overflow_value): New function.
17229 (underflow_value): Likewise.
17230 (round_and_return): Use overflow_value and underflow_value to
17231 determine return values in overflow and underflow cases. Use
17232 round_away to determine rounding depending on rounding mode.
17233 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17234 determine return values in overflow and underflow cases.
17235 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17236 (struct test_results): New structure.
17237 (struct test): Use struct test_results to store expected results
17238 for all rounding modes.
17239 (TEST): Include expected results for all rounding modes.
17240 (test_in_one_mode): New function.
17241 (do_test): Use test_in_one_mode to compute and check results.
17242 Check results for all rounding modes.
17243 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17244 $(link-libm).
17245
17246 2012-12-09 Allan McRae <allan@archlinux.org>
17247
17248 * sysdeps/i386/fpu/libm-test-ulps: Update
17249
17250 2012-09-11 Joseph Myers <joseph@codesourcery.com>
17251
17252 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17253 (_G_int32_t): Likewise.
17254 (_G_uint16_t): Likewise.
17255 (_G_uint32_t): Likewise.
17256 (_G_HAVE_BOOL): Likewise.
17257 (_G_HAVE_ATEXIT): Likewise.
17258 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17259 (_G_HAVE_IO_FILE_OPEN): Likewise.
17260 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17261 (_G_int32_t): Likewise.
17262 (_G_uint16_t): Likewise.
17263 (_G_uint32_t): Likewise.
17264 (_G_HAVE_BOOL): Likewise.
17265 (_G_HAVE_ATEXIT): Likewise.
17266 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17267 (_G_HAVE_IO_FILE_OPEN): Likewise.
17268 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17269 (_G_int32_t): Likewise.
17270 (_G_uint16_t): Likewise.
17271 (_G_uint32_t): Likewise.
17272 (_G_HAVE_BOOL): Likewise.
17273 (_G_HAVE_ATEXIT): Likewise.
17274 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17275 (_G_HAVE_IO_FILE_OPEN): Likewise.
17276
17277 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 * csu/libc-tls.c: Update copyright years.
17280
17281 2012-09-10 Joseph Myers <joseph@codesourcery.com>
17282
17283 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17284 [!_G_USING_THUNKS]: Remove conditional code.
17285 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17286 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17287
17288 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17289 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17290 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17291 (_G_VTABLE_LABEL_PREFIX): Likewise.
17292 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17293 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17295 (_G_VTABLE_LABEL_PREFIX): Likewise.
17296 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17297 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17299 (_G_VTABLE_LABEL_PREFIX): Likewise.
17300 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17301
17302 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 * libio/Makefile: Include ../Makeconfig before tests.
17305 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17306 only if $(build-shared) is yes.
17307
17308 * iconv/gconv_db.c: Update copyright years.
17309
17310 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17311
17312 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17313 unwind info if defined PIC. Fix special cases description.
17314 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17315
17316 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17317 DP_HI_MASK entry.
17318 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17319
17320 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17321
17322 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17323
17324 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17325 is NULL.
17326
17327 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17328 (LDLIBS-tst-chk4): This.
17329 (LDFLAGS-tst-chk5): Renamed to ...
17330 (LDLIBS-tst-chk5): This.
17331 (LDFLAGS-tst-chk6): Renamed to ...
17332 (LDLIBS-tst-chk6): This.
17333 (LDFLAGS-tst-lfschk4): Renamed to ...
17334 (LDLIBS-tst-lfschk4): This.
17335 (LDFLAGS-tst-lfschk5): Renamed to ...
17336 (LDLIBS-tst-lfschk5): This.
17337 (LDFLAGS-tst-lfschk6): Renamed to ...
17338 (LDLIBS-tst-lfschk6): This.
17339
17340 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17341 on $(common-objpfx)soversions.mk.
17342
17343 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17344
17345 [BZ #10014]
17346 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17347 example host name.
17348
17349 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17350
17351 * malloc/arena.c (arena_get_retry): New function that gets
17352 another arena for the caller to try its request on.
17353 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17354 current arena cannot fulfill the request.
17355 (__libc_memalign): Likewise.
17356 (__libc_memalign): Likewise.
17357 (__libc_pvalloc): Likewise.
17358 (__libc_calloc): Likewise.
17359
17360 2012-09-05 John Tobey <john.tobey@gmail.com>
17361
17362 [BZ #13542]
17363 * manual/arith.texi (Operations on Complex): Fix description
17364 of carg branch cut.
17365
17366 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17367
17368 [BZ #10014]
17369 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17370 host name.
17371
17372 [BZ #10038]
17373 * manual/memory.texi (Memory): Make order of menu items match
17374 order of sections.
17375
17376 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17379 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17380 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17381
17382 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 * csu/libc-tls.c (static_dtv): Renamed to ...
17385 (_dl_static_dtv): This. Make it global.
17386 (_dl_initial_dtv): Removed.
17387 (__libc_setup_tls): Updated.
17388 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17389 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17390 DL_INITIAL_DTV.
17391
17392 2012-09-06 Petr Machata <pmachata@redhat.com>
17393
17394 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17395 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17396 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17397 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17398
17399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17400
17401 [BZ #14545]
17402 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17403 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17404 freeing dtv[-1].
17405
17406 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17407
17408 [BZ #14544]
17409 * Makeconfig (link-static-before-libc): Replace $(+prector)
17410 with $(+prectorT).
17411 (link-static-after-libc): Replace $(+postctor) with
17412 $(+postctorT).
17413 (link-bounded): Replace $(+prector)/$(+postctor) with
17414 $(+prectorT)/$(+postctorT).
17415 (+prectorT): New macro.
17416 (+postctorT): Likewise.
17417
17418 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17419
17420 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17421 (round_str): Handle values above the maximum for IBM long double
17422 as inexact.
17423 * stdlib/tst-strtod-round.c (tests): Regenerated.
17424
17425 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17426
17427 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17428 assembler flag.
17429 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17430 zarch_nohighgprs around the zarch optimized routines.
17431 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17432 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17433 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17434 for zarch.
17435
17436 2012-09-05 David S. Miller <davem@davemloft.net>
17437
17438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17439
17440 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17441 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17442 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17443 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17444 entries.
17445
17446 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17447
17448 * malloc/arena.c: Fold copyright years.
17449 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17450
17451 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17452
17453 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17454
17455 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17456
17457 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17458
17459 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17460
17461 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17462 change internal state upon failure.
17463
17464 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17465
17466 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17467 * malloc/memusage.c (mmap): Likewise.
17468 (mmap64, mremap): Likewise. Adjust name in comment.
17469
17470 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17471
17472 * libio/fileops.c: Fix typos in comments.
17473 * libio/oldfileops.c: Likewise.
17474 * libio/wfileops.c: Likewise.
17475
17476 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17477
17478 [BZ #1349]
17479 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17480 (tst-malloc-usable-ENV): Set environment for test case.
17481 * malloc/hooks.c (malloc_check_get_size): New function to get
17482 requested size.
17483 * malloc/malloc.c (musable): Use malloc_check_get_size.
17484 * malloc/tst-malloc-usable.c: New test case.
17485
17486 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17487
17488 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17489
17490 2012-09-05 Allan McRae <allan@archlinux.org>
17491
17492 [BZ #13966]
17493 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17494 determine header location.
17495 * configure: Regenerated.
17496
17497 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17498
17499 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17500 float format.
17501 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17502 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17503 format.
17504 (test): Regenerate.
17505
17506 2012-09-04 David S. Miller <davem@davemloft.net>
17507
17508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17510 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17511
17512 2012-09-04 Florian Weimer <fweimer@redhat.com>
17513
17514 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17515 failures.
17516
17517 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17518
17519 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17520
17521 [BZ #9914]
17522 * libio/iogetdelim.c: Include <limits.h>.
17523 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17524 + len + 1 would overflow.
17525
17526 2012-09-03 Andreas Jaeger <aj@suse.de>
17527
17528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530
17531 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17532
17533 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17534 Add s_sinf-sse2, s_conf-sse2.
17535
17536 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17537 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17538 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17539 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17540
17541 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17542 for using routine as __sinf_ia32.
17543 Use macro for function declaration and weak_alias.
17544 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17545 for using routine as __cosf_ia32.
17546 Use macro for function declaration and weak_alias.
17547
17548 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17549 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17550
17551 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17552 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17554
17555 * math/libm-test.inc (cos_test): Add more test cases.
17556 (sin_test): Likewise.
17557 (sincos_test): Likewise.
17558
17559 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17560
17561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17562 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17563 hidden.
17564 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17565
17566 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17567
17568 [BZ #14538]
17569 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17570 first element of the GOT.
17571 (elf_machine_load_address): Return the difference between
17572 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17573
17574 2012-09-01 Allan McRae <allan@archlinux.org>
17575
17576 [BZ #13412]
17577 * configure.in (AWK): Require gawk version 3.0 or later.
17578 * configure: Regenerated.
17579
17580 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17581
17582 * sysdeps/unix/sysv/linux/kernel-features.h
17583 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17585 [__NR_clock_getres]: Make code unconditional.
17586 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17587 (clock_getcpuclockid): Remove code left unreachable by removal of
17588 conditionals.
17589 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17590 code unconditional.
17591 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17592 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17593 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17594 Make code unconditional.
17595 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17597 * sysdeps/unix/sysv/linux/clock_settime.c
17598 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17599 conditional code.
17600 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17601 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17602
17603 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17604
17605 [BZ #14476]
17606 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17607 scripts/test-installation.pl.
17608
17609 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17610 and $ld_so_version if it is set.
17611
17612 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17613
17614 [BZ #14516]
17615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17616 failure if reading from procfs failed.
17617 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17618
17619 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17620
17621 * sysdeps/unix/sysv/linux/kernel-features.h
17622 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17623 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17624 Remove conditional code.
17625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17626 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17627 Remove conditional code.
17628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17629 * sysdeps/unix/sysv/linux/i386/fxstat.c
17630 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17632 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17633 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17635 * sysdeps/unix/sysv/linux/i386/lxstat.c
17636 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17638 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17639 Remove conditional code.
17640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17641 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17642 Remove conditional code.
17643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17645 <kernel-features.h>.
17646 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17647 Remove.
17648 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17649 Remove conditional code.
17650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17651 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17652 Remove conditional.
17653
17654 2012-08-27 Mike Frysinger <vapier@gentoo.org>
17655
17656 [BZ #5400]
17657 * NEWS: Add fixed bug number.
17658
17659 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17660
17661 [BZ #14519]
17662 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17663 underflowing exponent in case of negative sign.
17664 * stdlib/tst-strtod-round-data: Add more tests.
17665 * stdlib/tst-strtod-round.c (tests): Regenerated.
17666
17667 [BZ #3479]
17668 * stdlib/strtod_l.c (NDIG): Remove.
17669 (HEXNDIG): Likewise.
17670 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17671 smallest representable value.
17672 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17673 lie within an exact representation of 1/2 ulp of the result.
17674 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17675 unconditionally.
17676 (TENS_P9_IDX): Define unconditionally.
17677 (TENS_P9_SIZE): Likewise.
17678 (TENS_P10_IDX): Likewise.
17679 (TENS_P10_SIZE): Likewise.
17680 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17681 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17682 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17683 entries for 10^2^13 and 10^2^14.
17684 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17685 (TENS_P13_IDX): Define.
17686 (TENS_P13_SIZE): Likewise.
17687 (TENS_P14_IDX): Likewise.
17688 (TENS_P14_SIZE): Likewise.
17689 (_fpioconst_pow10): Change array size to
17690 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17691 unconditional.
17692 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17693 1024]: Add entries for 10^2^13 and 10^2^14.
17694 [LAST_POW10 > _LAST_POW10]: Remove #error.
17695 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17696 (_fpioconst_pow10): Change array size to
17697 FPIOCONST_POW10_ARRAY_SIZE.
17698 * stdlib/gen-fpioconst.c: New file.
17699 * stdlib/gen-tst-strtod-round.c: Likewise.
17700 * stdlib/tst-strtod-round-data: Likewise.
17701 * stdlib/tst-strtod-round.c: Likewise.
17702 * stdlib/Makefile (tests): Add tst-strtod-round.
17703
17704 [BZ #14459]
17705 * stdlib/strtod_l.c: Include <stdint.h>.
17706 (NDEBUG): Do not define.
17707 (round_and_return): Change EXPONENT parameter to type intmax_t.
17708 Rearrange calculations to avoid internal overflow possibilities.
17709 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17710 Rearrange calculations to avoid internal overflow possibilities.
17711 Assert that number fits inside MPNSIZE limbs.
17712 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17713 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17714 calculations and add assertions to avoid internal overflow
17715 possibilities. Add casts to avoid signed/unsigned operations.
17716 * stdlib/tst-strtod-overflow.c: New file.
17717 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17718
17719 2012-08-25 Marek Polacek <polacek@redhat.com>
17720
17721 * time/time.h: Fix some typos in comments.
17722
17723 2012-08-23 Roland McGrath <roland@hack.frob.com>
17724
17725 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17726 * posix/tst-rfc3484-2.c: Likewise.
17727 * posix/tst-rfc3484-3.c: Likewise.
17728
17729 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17730
17731 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17732 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17733
17734 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17735
17736 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17737 #include of fxstatat64.c.
17738
17739 2012-08-22 Roland McGrath <roland@hack.frob.com>
17740
17741 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17742 * shadow/getspent_r.c: Likewise.
17743 * shadow/getspnam.c: Likewise.
17744 * shadow/getspnam_r.c: Likewise.
17745 * gshadow/getsgent.c: Likewise.
17746 * gshadow/getsgent_r.c: Likewise.
17747 * gshadow/getsgnam.c: Likewise.
17748 * gshadow/getsgnam_r.c: Likewise.
17749 * inet/getnetbyad.c: Likewise.
17750 * inet/getnetbyad_r.c: Likewise.
17751 * inet/getnetbynm.c: Likewise.
17752 * inet/getnetbynm_r.c: Likewise.
17753 * inet/getnetent.c: Likewise.
17754 * inet/getnetent_r.c: Likewise.
17755 * inet/getproto.c: Likewise.
17756 * inet/getproto_r.c: Likewise.
17757 * inet/getprtent.c: Likewise.
17758 * inet/getprtent_r.c: Likewise.
17759 * inet/getprtname.c: Likewise.
17760 * inet/getprtname_r.c: Likewise.
17761 * inet/getrpcbyname.c: Likewise.
17762 * inet/getrpcbyname_r.c: Likewise.
17763 * inet/getrpcbynumber.c: Likewise.
17764 * inet/getrpcbynumber_r.c: Likewise.
17765 * inet/getrpcent.c: Likewise.
17766 * inet/getrpcent_r.c: Likewise.
17767 * inet/getaliasent.c: Likewise.
17768 * inet/getaliasent_r.c: Likewise.
17769 * inet/getaliasname.c: Likewise.
17770 * inet/getaliasname_r.c: Likewise.
17771 * nscd/getgrgid_r.c: Likewise.
17772 * nscd/getgrnam_r.c: Likewise.
17773 * nscd/gethstbyad_r.c: Likewise.
17774 * nscd/gethstbynm3_r.c: Likewise.
17775 * nscd/getpwnam_r.c: Likewise.
17776 * nscd/getpwuid_r.c: Likewise.
17777 * nscd/getsrvbynm_r.c: Likewise.
17778 * nscd/getsrvbypt_r.c: Likewise.
17779 * nscd/gai.c: Likewise.
17780
17781 * configure.in (build_nscd): New substituted variable, set
17782 by --disable-build-nscd and defaults to $use_nscd.
17783 * configure: Regenerated.
17784 * config.make.in (build-nscd): New substituted variable.
17785 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17786 Change conditional to require [$(build-nscd) = yes] as well.
17787 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17788
17789 [BZ# 13696]
17790 * configure.in (use_nscd): New substituted variable, set by
17791 --disable-nscd. If enabled, define USE_NSCD.
17792 * configure: Regenerated.
17793 * config.h.in: Add USE_NSCD.
17794 * config.make.in (use-nscd): New substituted variable.
17795 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17796 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17797 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17798 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17799 (CFLAGS-getgrnam_r.c): Likewise.
17800 (CFLAGS-initgroups.c): Likewise.
17801 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17802 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17803 Variables removed.
17804 * inet/getnetgrent_r.c
17805 (nscd_setnetgrent): New function, broken out of ...
17806 (setnetgrent): ... here. Call it.
17807 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17808 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17809 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17810 * nscd/Makefile (routines, aux): Move definitions after include of
17811 Makeconfig. Conditionalize on [$(use-nscd) != no].
17812 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17813 Conditionalize on [USE_NSCD].
17814 (is_nscd, nscd_init_cb): Likewise.
17815 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17816 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17817 * nss/nss_db/db-init.c: Likewise.
17818 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17819 [USE_NSCD].
17820 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17821 (make_request): Use it.
17822 (cache_valid_p): New function.
17823 (__check_pf): Use it.
17824 * NEWS: Add item for --disable-nscd.
17825
17826 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17827
17828 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17829 to support sed >= 4.2.1-20-ga9bf076.
17830 * configure: Regenerated.
17831
17832 2012-08-22 Roland McGrath <roland@hack.frob.com>
17833
17834 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17835 Conditionalize whole body on [IREL].
17836
17837 2012-08-22 Jeff Law <law@redhat.com>
17838
17839 [BZ #14505]
17840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17841 if the family is PF_UNSPEC.
17842
17843 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17844
17845 * Makerules (lib-version): Rename from V.
17846 (install-lib-nosubdir): Change V to lib-version.
17847
17848 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17849
17850 [BZ #14252]
17851 * powerpc32/power6/wcschr.c: New file.
17852 * powerpc32/power6/wcscpy.c: New file.
17853 * powerpc32/power6/wcsrchr.c: New file.
17854 * powerpc64/power6/wcschr.c: New file.
17855 * powerpc64/power6/wcscpy.c: New file.
17856 * powerpc64/power6/wcsrchr.c: New file.
17857
17858 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17859
17860 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17861 (two_way_short_needle): Use it.
17862 * string/strstr.c (AVAILABLE1_USES_J): Define.
17863 * string/strcasestr.c: Likewise.
17864
17865 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17866 array references.
17867 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17868
17869 [BZ #11607]
17870 * NEWS: Add an entry.
17871 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17872 define their defaults.
17873 (two_way_short_needle): Detect end-of-string on-the-fly.
17874 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17875 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17876 * string/bug-strcasestr1.c: New test.
17877 * string/Makefile: Run it.
17878
17879 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17880
17881 [BZ #11607]
17882 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17883 the first character.
17884
17885 2012-08-21 Roland McGrath <roland@hack.frob.com>
17886
17887 * csu/elf-init.c (__libc_csu_irel): Function removed.
17888 * csu/libc-start.c (apply_irel): New function.
17889 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17890
17891 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17892
17893 * sysdeps/unix/sysv/linux/kernel-features.h
17894 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17895 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17896 <kernel-features.h>.
17897 [__NR_fadvise64_64]: Make code unconditional.
17898 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17899 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17900 !__NR_fadvise64_64)]: Likewise.
17901 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17902 !__NR_fadvise64_64))]: Likewise.
17903 [__NR_fadvise64]: Make code unconditional.
17904 [!__NR_fadvise64]: Remove conditional code.
17905 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17906 <kernel-features.h>.
17907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17908 unconditional.
17909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17910 conditional code.
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17912 not include <kernel-features.h>.
17913 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17914 unconditional.
17915 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17916 conditional code.
17917 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17918 include <kernel-features.h>.
17919 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17920 unconditional.
17921 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17922 conditional code.
17923
17924 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17925
17926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17927 slight instruction rearrangements per scrollpipe analysis.
17928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17929
17930 2012-08-20 Roland McGrath <roland@hack.frob.com>
17931
17932 * manual/syslog.texi (syslog; vsyslog, closelog):
17933 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17934 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17935
17936 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17937 DSOCAPS to match condition on defining it.
17938
17939 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17940
17941 * sysdeps/unix/sysv/linux/kernel-features.h
17942 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17944 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17945 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17947 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17948 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17950 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17951 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17952
17953 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17954 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17955
17956 * sysdeps/unix/sysv/linux/kernel-features.h
17957 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17958 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17959 unconditional.
17960 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17961 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17964 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17965 Make code unconditional.
17966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17967 (__mmap64) [!__NR_mmap2]: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17969 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17970 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17972 [__NR_mmap2]: Make code unconditional.
17973 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17974 (__mmap64) [!__NR_mmap2]: Likewise.
17975
17976 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17977
17978 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17979
17980 2012-08-18 Andreas Jaeger <aj@suse.de>
17981
17982 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17983
17984 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17985
17986 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17987 * include/unistd.h (__have_sock_cloexec): Likewise.
17988 (__have_pipe2): Likewise.
17989 (__have_dup3): Likewise.
17990
17991 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17992
17993 [BZ #9685]
17994 * include/unistd.h (__have_pipe2): Change define into an extern int.
17995 (__have_dup3): Likewise.
17996 * socket/have_sock_cloexec.c: Include fcntl.h.
17997 (__have_pipe2): New variable.
17998 (__have_dup3): Likewise.
17999
18000 2012-08-17 Mike Frysinger <vapier@gentoo.org>
18001
18002 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18003
18004 2012-08-17 Marek Polacek <polacek@redhat.com>
18005
18006 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18007 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18008
18009 2012-08-17 Roland McGrath <roland@hack.frob.com>
18010
18011 * configure.in: Add AC_SUBST for sysheaders.
18012 * configure: Regenerated.
18013 * config.make.in (sysheaders): New substituted variable.
18014
18015 * sysdeps/unix/mkfifo.c: Moved ...
18016 * sysdeps/posix/mkfifo.c: ... here.
18017 * sysdeps/unix/mkfifoat.c: Moved ...
18018 * sysdeps/posix/mkfifoat.c: ... here.
18019
18020 * sysdeps/unix/utime.c: Moved ...
18021 * sysdeps/posix/utime.c: ... here.
18022
18023 * sysdeps/unix/time.c: Moved ...
18024 * sysdeps/posix/time.c: ... here.
18025 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18026 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18027
18028 * sysdeps/unix/nice.c: Moved ...
18029 * sysdeps/posix/nice.c: ... here.
18030
18031 * sysdeps/unix/alarm.c: Moved ...
18032 * sysdeps/posix/alarm.c: ... here.
18033
18034 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18035
18036 2012-08-17 Jeff Law <law@redhat.com>
18037
18038 * intl/Makefile (codeset_mo): New variable.
18039 ($(codeset_mo)): New target.
18040 (tst-codeset.out): Depend on that. Remove explicit rule.
18041 (tst-gettext3.out, tst-gettext5.out): Likewise.
18042 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18043 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18044 * intl/tst-codeset.sh: Remove.
18045 * intl/tst-gettext3.sh: Likewise.
18046 * intl/tst-gettext5.sh: Likewise.
18047
18048 2012-08-17 Roland McGrath <roland@hack.frob.com>
18049
18050 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18051 * sysdeps/unix/syscalls.list: ... here.
18052
18053 * sysdeps/posix/getaddrinfo.c
18054 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18055 (gaiconf_init, gaiconf_reload): Use them.
18056 [!_STATBUF_ST_NSEC]
18057 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18058 Define using time_t rather than struct timespec.
18059
18060 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18061 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18062 Macros removed.
18063 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18064 [!NO_THREADS].
18065 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18066 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18067 Likewise.
18068
18069 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18070 __libc_cleanup_push argument.
18071
18072 * bits/param.h: New file.
18073 * misc/sys/param.h: New file.
18074 * include/sys/param.h: New file.
18075 * misc/Makefile (headers): Add bits/param.h.
18076 * sysdeps/generic/sys/param.h: File removed.
18077 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18078 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18079 * sysdeps/mach/hurd/bits/param.h: New file.
18080 * sysdeps/mach/hurd/sys/param.h: File removed.
18081
18082 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18083 last change.
18084
18085 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18086 [_IO_MTSAFE_IO].
18087 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18088 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18089 New macros.
18090
18091 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18092 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18093 rather than -D_IO_MTSAFE_IO conditionally.
18094 * stdio-common/Makefile (CPPFLAGS): Likewise.
18095 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18096 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18097 Use $(libio-mtsafe).
18098 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18099 of -D_IO_MTSAFE_IO.
18100 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18101 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18102 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18103 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18104 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18105 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18106 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18107 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18108 (CFLAGS-fread_u_chk.c): Likewise.
18109 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18110 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18111 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18112 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18113 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18114 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18115 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18116 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18117 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18118
18119 * libio/Makefile: Test [$(libc-reentrant) = yes]
18120 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18121
18122 * Makeconfig
18123 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18124 * sysdeps/pthread/configure: File removed.
18125 * sysdeps/pthread/Makeconfig: New file.
18126 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18127 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18128
18129 2012-08-16 Gary Benson <gbenson@redhat.com>
18130
18131 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18132 unmapping the first object in a namespace.
18133
18134 2012-08-16 Roland McGrath <roland@hack.frob.com>
18135
18136 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18137 (__internal_setnetgrent): ... this. Add internal_function to
18138 definition. Add libc_hidden_def.
18139 (setnetgrent): Update caller.
18140 (internal_endnetgrent): Renamed to ...
18141 (__internal_endnetgrent): ... this. Add internal_function to
18142 definition. Add libc_hidden_def.
18143 (endnetgrent): Update caller.
18144 (internal_getnetgrent_r): Renamed to ...
18145 (__internal_getnetgrent_r): ... this. Add internal_function to
18146 definition. Add libc_hidden_def.
18147 (__getnetgrent_r): Update caller.
18148 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18149
18150 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18151
18152 * stdlib/longlong.h: Update from GCC.
18153
18154 2012-08-16 Roland McGrath <roland@hack.frob.com>
18155
18156 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18157 on _QL, which is set by umul_ppmm but never used.
18158 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18159 variables, which are set by GMP macros but never used.
18160 * stdio-common/_itowa.c (_itowa): Likewise.
18161 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18162 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18163
18164 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18165
18166 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18167 struct La_sh_regs is not constant.
18168 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18169 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18170 and struct La_sparc64_regs are not constant.
18171
18172 2012-08-16 Joseph Myers <joseph@codesourcery.com>
18173
18174 * sysdeps/unix/sysv/linux/kernel-features.h
18175 (__ASSUME_POSIX_TIMERS): Remove.
18176 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18178 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18179 Make code unconditional.
18180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18181 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18182 Make code unconditional.
18183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18184 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18185 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18187 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18188 Make code unconditional.
18189 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18190 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18191 (__libc_missing_posix_timers): Remove.
18192
18193 2012-08-15 Roland McGrath <roland@hack.frob.com>
18194
18195 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18196 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18197
18198 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18199
18200 * elf/dl-sym.c: Include <stdlib.h>.
18201
18202 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18203 constants, which avoids warnings in 32-bit builds.
18204
18205 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18206 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18207
18208 * misc/lseek.c: File moved to ...
18209 * io/lseek.c: ... here.
18210
18211 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18212
18213 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18214 shifting LEN more than 31 bits at once.
18215
18216 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18217
18218 [BZ #14195]
18219 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18220 segmentation fault for a case of two empty input strings.
18221 * string/test-strncasecmp.c (check1): Renamed to...
18222 (bz12205): ...this.
18223 (bz14195): Add new testcase for two empty input strings and N > 0.
18224 (test_main): Call new testcase, adapt for renamed function.
18225
18226 2012-08-15 Andreas Jaeger <aj@suse.de>
18227
18228 [BZ #14090]
18229 * crypt/md5test2.c: New test, based on test supplied by Serge
18230 Belyshev <belyshev@depni.sinp.msu.ru>.
18231 * crypt/Makefile (xtests): Add md5test-giant..
18232 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18233
18234 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18235
18236 [BZ #14090]
18237 * crypt/md5.c (md5_process_block): Don't assume the buffer
18238 length is less than 2**32.
18239 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18240 length is less than 2**64.
18241
18242 2012-08-15 Roland McGrath <roland@hack.frob.com>
18243
18244 * string/str-two-way.h: Include <sys/param.h>.
18245 (MAX): Macro removed.
18246
18247 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18248 Move #define and #undef of memmove to just before and after
18249 including <string.h>.
18250
18251 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18252 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18253 and after including <string.h>. Move declarations of
18254 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18255 to before #include "string/memmove.c".
18256
18257 * include/dirent.h: Declare __getdirentries.
18258
18259 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18260 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18261
18262 2012-08-14 Mike Frysinger <vapier@gentoo.org>
18263
18264 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18265 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18266 * sysdeps/i386/configure: Regenerated.
18267 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18268 STABS_CURRENT_FILE, and STABS_FUN.
18269 (END): Remove call to STABS_FUN_END.
18270 (STABS_CURRENT_FILE1): Delete.
18271 (STABS_CURRENT_FILE): Likewise.
18272 (STABS_FUN): Likewise.
18273 (STABS_FUN_END): Likewise.
18274 (STABS_FUN2): Likewise.
18275 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18276 * sysdeps/x86_64/configure: Regenerated.
18277
18278 2012-08-14 Roland McGrath <roland@hack.frob.com>
18279
18280 * elf/dl-open.c: Include <atomic.h>.
18281 * elf/dl-lookup.c: Likewise.
18282
18283 2012-08-14 Joseph Myers <joseph@codesourcery.com>
18284
18285 * sysdeps/unix/sysv/linux/kernel-features.h
18286 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18287 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18288 unconditionally.
18289 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18290 unconditionally.
18291 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18292 condition on __ASSUME_CLONE_THREAD_FLAGS.
18293
18294 2012-08-14 Andreas Jaeger <aj@suse.de>
18295
18296 * sysdeps/i386/fpu/libm-test-ulps: Update.
18297
18298 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18299
18300 * include/atomic.h (atomic_exchange_and_add): Split into ...
18301 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18302 New atomic macros.
18303
18304 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18305
18306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18307
18308 2012-08-13 Jeff Law <law@redhat.com>
18309
18310 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18311 null byte in the output string.
18312
18313 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18314
18315 * sysdeps/unix/sysv/linux/kernel-features.h
18316 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18317 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18318 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18320 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18321 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18322 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18323
18324 2012-08-09 Jeff Law <law@redhat.com>
18325
18326 [BZ #13939]
18327 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18328 When avoid_arena is set, don't retry in the that arena. Pick the
18329 next one, whatever it might be.
18330 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18331 (arena_lock): Pass in new parameter to arena_get2.
18332 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18333 arena_get2.
18334 (__libc_malloc): Unify retrying after main arena failure with
18335 __libc_memalign version.
18336 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18337
18338 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18339
18340 [BZ #14166]
18341 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18342 to __redirect_strstr.
18343 (__strstr_sse42): Use typeof __redirect_strstr.
18344 (__strstr_ia32): Likewise.
18345 (__libc_strstr): New prototype.
18346 (strstr): Renamed to ...
18347 (__libc_strstr): This.
18348 (strstr): New strong alias of __libc_strstr.
18349 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18350 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18351 __redirect_time.
18352 Include <time.h>.
18353 (__libc_time): New prototype.
18354 (time_ifunc): Replace time with __libc_time.
18355 (time): New strong alias and hidden definition of __libc_time.
18356 (__GI_time): Remove strong alias.
18357 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18358 Include <stddef.h>.
18359 (memmove): Redefined to __redirect_memmove.
18360 (__memmove_sse2): Use typeof __redirect_memmove.
18361 (__memmove_ssse3): Likewise.
18362 (__memmove_ssse3_back): Likewise.
18363 (__libc_memmove): New prototype.
18364 (memmove): Renamed to ...
18365 (__libc_memmove): This.
18366 (memmove): New strong alias of __libc_memmove.
18367
18368 2012-08-08 Mark Salter <msalter@redhat.com>
18369
18370 * elf/elf.h
18371 (R_MN10300_TLS_GD): Define.
18372 (R_MN10300_TLS_LD): Likewise.
18373 (R_MN10300_TLS_LDO): Likewise.
18374 (R_MN10300_TLS_GOTIE): Likewise.
18375 (R_MN10300_TLS_IE): Likewise.
18376 (R_MN10300_TLS_LE): Likewise.
18377 (R_MN10300_TLS_DTPMOD): Likewise.
18378 (R_MN10300_TLS_DTPOFF): Likewise.
18379 (R_MN10300_TLS_TPOFF): Likewise.
18380 (R_MN10300_SYM_DIFF): Likewise.
18381 (R_MN10300_ALIGN): Likewise.
18382 (R_MN10300_NUM): Update.
18383
18384 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18385
18386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18387 Remove.
18388
18389 2012-08-08 Roland McGrath <roland@hack.frob.com>
18390
18391 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18392
18393 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18394 sysdeps/unix -> sysdeps/posix move.
18395 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18396
18397 2012-08-07 Allan McRae <allan@archlinux.org>
18398
18399 [BZ #14303]
18400 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18401 (SUNOS_CPP): Likewise.
18402 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18403 not found.
18404 (open_input): Call CPP using execvp.
18405
18406 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18407
18408 * sysdeps/unix/sysv/linux/kernel-features.h
18409 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18410 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18411 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18412 (__ASSUME_WAITID_SYSCALL): Likewise.
18413 * sysdeps/unix/sysv/linux/dl-execstack.c
18414 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18415 code unconditional.
18416 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18417 conditional code.
18418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18419 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18420 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18421 code.
18422 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18423 unconditional.
18424 [__ASSUME_WAITID_SYSCALL]: Likewise.
18425 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18426
18427 2012-08-07 Roland McGrath <roland@hack.frob.com>
18428
18429 * sysdeps/unix/closedir.c: Renamed to ...
18430 * sysdeps/posix/closedir.c: ... here.
18431 * sysdeps/unix/dirfd.c: Renamed to ...
18432 * sysdeps/posix/dirfd.c: ... here.
18433 * sysdeps/unix/dirstream.h: Renamed to ...
18434 * sysdeps/posix/dirstream.h: ... here.
18435 * sysdeps/unix/fdopendir.c: Renamed to ...
18436 * sysdeps/posix/fdopendir.c: ... here.
18437 * sysdeps/unix/opendir.c: Renamed to ...
18438 * sysdeps/posix/opendir.c: ... here.
18439 * sysdeps/unix/readdir.c: Renamed to ...
18440 * sysdeps/posix/readdir.c: ... here.
18441 * sysdeps/unix/readdir_r.c: Renamed to ...
18442 * sysdeps/posix/readdir_r.c: ... here.
18443 * sysdeps/unix/rewinddir.c: Renamed to ...
18444 * sysdeps/posix/rewinddir.c: ... here.
18445 * sysdeps/unix/seekdir.c: Renamed to ...
18446 * sysdeps/posix/seekdir.c: ... here.
18447 * sysdeps/unix/telldir.c: Renamed to ...
18448 * sysdeps/posix/telldir.c: ... here.
18449 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18450 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18451 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18452 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18453
18454 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18455 * bits/fcntl.h: ... here.
18456
18457 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18458 not 0.
18459 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18460 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18461 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18462 (struct flock): Move l_start, l_len to the beginning.
18463 Use __pid_t for l_pid.
18464 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18465 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18466 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18467 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18468 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18469 [__USE_LARGEFILE64] (struct flock64): New type.
18470 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18471
18472 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18473 * bits/dirent.h: ... here.
18474
18475 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18476 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18477
18478 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18479
18480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18481 Change from 2.6.0 to 2.6.16.
18482 * sysdeps/unix/sysv/linux/configure: Regenerated.
18483 * sysdeps/unix/sysv/linux/kernel-features.h
18484 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18485 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18486 version.
18487 (__ASSUME_UTIMES): Likewise.
18488 (__ASSUME_CLONE_STOPPED): Remove.
18489 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18490 architectures, not kernel version.
18491 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18492 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18493 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18494 (__ASSUME_WAITID_SYSCALL): Likewise.
18495 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18496 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18497 * README: State 2.6.16 as minimum Linux kernel version. Do not
18498 refer to older versions.
18499
18500 2012-08-06 Roland McGrath <roland@hack.frob.com>
18501
18502 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18503 Define alphasort64 as an alias.
18504 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18505 Define versionsort64 as an alias.
18506 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18507 Define scandir64 as an alias.
18508 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18509 Define scandirat64 as an alias.
18510 * dirent/alphasort64.c (alphasort64):
18511 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18512 * dirent/versionsort64.c: Likewise.
18513 * dirent/scandir64.c: Likewise.
18514 * dirent/scandirat64.c: Likewise.
18515 * sysdeps/wordsize-64/alphasort.c: File removed.
18516 * sysdeps/wordsize-64/alphasort64.c: File removed.
18517 * sysdeps/wordsize-64/scandir.c: File removed.
18518 * sysdeps/wordsize-64/scandir64.c: File removed.
18519 * sysdeps/wordsize-64/scandirat.c: File removed.
18520 * sysdeps/wordsize-64/scandirat64.c: File removed.
18521 * sysdeps/wordsize-64/versionsort.c: File removed.
18522 * sysdeps/wordsize-64/versionsort64.c: File removed.
18523 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18531
18532 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18534 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18536 [defined __arch64__ || defined __sparcv9]
18537 (__INO_T_MATCHES_INO64_T): New macro.
18538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18539 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18540 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18541 * sysdeps/unix/sysv/linux/bits/dirent.h
18542 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18543 (_DIRENT_MATCHES_DIRENT64): New macro.
18544
18545 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18546 Define lockf64 as an alias.
18547 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18548 Define fseeko64 as an alias.
18549 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18550 Define ftello64 as an alias.
18551 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18552 Define _IO_fgetpos64 and fgetpos64 as aliases.
18553 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18554 Define _IO_fsetpos64 and fsetpos64 as aliases.
18555 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18556 Conditionalize body on this.
18557 * libio/fseeko64.c: Likewise.
18558 * libio/ftello64.c: Likewise.
18559 * libio/iofgetpos64.c: Likewise.
18560 * libio/iofsetpos64.c: Likewise.
18561 * sysdeps/wordsize-64/lockf.c: File removed.
18562 * sysdeps/wordsize-64/lockf64.c: File removed.
18563 * sysdeps/wordsize-64/fseeko.c: File removed.
18564 * sysdeps/wordsize-64/fseeko64.c: File removed.
18565 * sysdeps/wordsize-64/ftello.c: File removed.
18566 * sysdeps/wordsize-64/ftello64.c: File removed.
18567 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18568 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18569 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18570 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18581
18582 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18584 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18586 [defined __arch64__ || defined __sparcv9]
18587 (__OFF_T_MATCHES_OFF64_T): New macro.
18588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18589 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18591 (__OFF_T_MATCHES_OFF64_T): New macro.
18592
18593 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * stdlib/secure-getenv.c (__secure_getenv): Replace
18596 GLIBC_2_16 with GLIBC_2_17.
18597
18598 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18599
18600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18602
18603 2012-08-03 David S. Miller <davem@davemloft.net>
18604
18605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18606
18607 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18608
18609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18610 Remove.
18611 (__ASSUME_CORRECT_SI_PID): Likewise.
18612 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18613 (__ASSUME_TMPFS_NAME): Likewise.
18614 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18615 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18616 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18617 (HAVE_AUX_SECURE): Make definition unconditional.
18618 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18619 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18620
18621 2012-08-03 Roland McGrath <roland@hack.frob.com>
18622
18623 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18624 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18625 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18626 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18627 __eloop_threshold instead of SYMLOOP_MAX.
18628
18629 * sysdeps/generic/eloop-threshold.h: New file.
18630 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18631 of MAXSYMLINKS.
18632 * elf/chroot_canon.c (chroot_canon): Likewise.
18633
18634 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18635
18636 [BZ #13717]
18637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18638 Change to 2.6.0 everywhere.
18639 * sysdeps/unix/sysv/linux/configure: Regenerated.
18640 * sysdeps/unix/sysv/linux/kernel-features.h
18641 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18642 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18643 kernel versions.
18644 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18645 (__ASSUME_FUTEX_REQUEUE): Remove.
18646 (__ASSUME_STATFS64): Define unconditionally.
18647 (__ASSUME_AT_SECURE): Likewise.
18648 (__ASSUME_CORRECT_SI_PID): Likewise.
18649 (__ASSUME_TGKILL): Define without depending on kernel version for
18650 i386.
18651 (__ASSUME_UTIMES): Likewise.
18652 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18653 kernel version.
18654 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18655 (__ASSUME_TMPFS_NAME): Likewise.
18656 * README: Update reference to Linux kernel versions.
18657
18658 2012-08-02 Marek Polacek <polacek@redhat.com>
18659
18660 [BZ# 14150]
18661 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18662 libc_cv_asm_type_prefix with %.
18663 * configure: Regenerated.
18664 * include/libc-symbols.h: Remove comment about
18665 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18666 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18667 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18668 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18669 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18670 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18671 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18673 * elf/tst-unique2mod1.c: Likewise.
18674 * elf/tst-unique1mod2.c: Likewise.
18675 * elf/tst-unique1mod1.c: Likewise.
18676 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18677 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18678 Replace ASM_TYPE_DIRECTIVE with .type.
18679 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18680 * sysdeps/i386/sysdep.h: Likewise.
18681 * sysdeps/x86_64/sysdep.h: Likewise.
18682 * sysdeps/sh/sysdep.h: Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18684 Do not define ASM_TYPE_DIRECTIVE.
18685 * sysdeps/powerpc/sysdep.h: Likewise.
18686 * sysdeps/powerpc/powerpc32/sysdep.h:
18687 Replace ASM_TYPE_DIRECTIVE with .type.
18688 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18690 * sysdeps/i386/fpu/e_powf.S: Likewise.
18691 * sysdeps/i386/fpu/e_expl.S: Likewise.
18692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18693 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18694 * sysdeps/i386/fpu/e_pow.S: Likewise.
18695 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18696 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18697 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18698 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18699 * sysdeps/i386/fpu/e_log2.S: Likewise.
18700 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18702 * sysdeps/i386/fpu/e_powl.S: Likewise.
18703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18704 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18705 * sysdeps/i386/fpu/e_logl.S: Likewise.
18706 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18707 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18708 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18709 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18711 * sysdeps/i386/fpu/e_log.S: Likewise.
18712 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18713 * sysdeps/i386/fpu/e_logf.S: Likewise.
18714 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18715 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18717 * sysdeps/i386/fpu/e_log10.S: Likewise.
18718 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18720 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18721 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18725 * sysdeps/i386/i686/strtok.S: Likewise.
18726 * sysdeps/i386/i386-mcount.S: Likewise.
18727 * sysdeps/i386/strtok.S: Likewise.
18728 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18729 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18731 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18732 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18734 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18735 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18737 * sysdeps/x86_64/_mcount.S: Likewise.
18738 * sysdeps/x86_64/strtok.S: Likewise.
18739 * sysdeps/sh/_mcount.S: Likewise.
18740
18741 2012-08-01 Roland McGrath <roland@hack.frob.com>
18742
18743 * libio/iofopen.c: Include <fcntl.h>.
18744 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18745 (_IO_fopen64, fopen64): Define as aliases.
18746 * libio/iofopen64.c: Include <fcntl.h>.
18747 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18748 Conditionalize body on this.
18749 * sysdeps/wordsize-64/iofopen.c: File removed.
18750 * sysdeps/wordsize-64/iofopen64.c: File removed.
18751
18752 2012-08-01 Marek Polacek <polacek@redhat.com>
18753
18754 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18755 Use dlfcn directly instead of a variable.
18756 (binfmt-subdir): Do not define.
18757 (dlfcn): Likewise.
18758
18759 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18760
18761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18762 Remove all definitions.
18763 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18764 <kernel-features.h>.
18765 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18766 (miss_F_GETOWN_EX): Remove all definitions.
18767 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18768 macro definition.
18769 [!__ASSUME_FCNTL64]: Remove conditional code.
18770 [__ASSUME_FCNTL64]: Make code unconditional.
18771 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18772 <kernel-features.h>.
18773 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18774 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18775 (lockf64) [__NR_fcntl64]: Make code unconditional.
18776 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18777
18778 * sysdeps/unix/sysv/linux/kernel-features.h
18779 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18780 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18781 Make code unconditional.
18782 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18783 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18785 [__NR_vfork]: Make code unconditional.
18786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18789 [__NR_vfork]: Make code unconditional.
18790 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18791 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18792
18793 2012-08-01 Roland McGrath <roland@hack.frob.com>
18794
18795 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18796 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18797
18798 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18799 Define mkstemp64 as an alias.
18800 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18801 Define mkstemps64 as an alias.
18802 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18803 Define mkostemp64 as an alias.
18804 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18805 Define mkostemps64 as an alias.
18806 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18807 Conditionalize body on this.
18808 * misc/mkostemp64.c: Likewise.
18809 * misc/mkostemps64.c: Likewise.
18810 * misc/mkstemps64.c: Likewise.
18811 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18812 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18813 * sysdeps/wordsize-64/mkostemp.c: File removed.
18814 * sysdeps/wordsize-64/mkstemp.c: File removed.
18815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18819
18820 [BZ #14138]
18821 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18822 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18823 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18824 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18825
18826 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18827 compat_symbol macros from <shlib-compat.h> rather than the underlying
18828 default_symbol_version and symbol_version macros, so that DEFAULT
18829 lines in shlib-versions are respected.
18830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18831
18832 2012-08-01 Florian Weimer <fweimer@redhat.com>
18833
18834 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18835 Declare with warn_unused_result.
18836 (setgid, setregid, setegid, setresgid): Likewise.
18837 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18838 Likewise.
18839 * WUR-REPORT: Remove set*id functions.
18840
18841 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18842
18843 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18844
18845 2012-07-31 Roland McGrath <roland@hack.frob.com>
18846
18847 [BZ #10191]
18848 * include/sys/socket.h (__libc_accept, __libc_accept4):
18849 Add attribute_hidden.
18850 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18851
18852 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18853 use of PTR_MANGLE.
18854 * inet/getnetgrent_r.c (setup): Likewise.
18855
18856 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18857
18858 2012-07-31 David S. Miller <davem@davemloft.net>
18859
18860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18861
18862 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18863
18864 [BZ #13629]
18865 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18866 value between 1.0 and 2.0 and smaller part has absolute value less
18867 than 1.0.
18868 * math/s_clog10.c (__clog10): Likewise.
18869 * math/s_clog10f.c (__clog10f): Likewise.
18870 * math/s_clog10l.c (__clog10l): Likewise.
18871 * math/s_clogf.c (__clogf): Likewise.
18872 * math/s_clogl.c (__clogl): Likewise.
18873 * math/libm-test.inc (clog_test): Add more tests.
18874 (clog10_test): Likewise.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877
18878 2012-07-31 Florian Weimer <fweimer@redhat.com>
18879
18880 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18881 Exit with zero in case no suitable GID is found, and write a
18882 message to standard error.
18883
18884 2012-07-30 Roland McGrath <roland@hack.frob.com>
18885
18886 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18887 rather than to 1.
18888 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18889 (MAXPATHLEN): Removed.
18890 (NOGROUP, NODEV): New macros.
18891 (setbit, clrbit, isset, isclr): New macros.
18892 (howmany, roundup, powerof2): New macros.
18893 (DEV_BSIZE): New macro.
18894
18895 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18896 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18897
18898 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18899 definition on [!__NO_LONG_DOUBLE_MATH].
18900
18901 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18902 PTR_MANGLE and PTR_DEMANGLE.
18903
18904 * socket/accept4.c (accept4): Rename to __libc_accept4.
18905 Define accept4 as a weak alias.
18906
18907 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18908 on [_DIRENT_HAVE_D_TYPE].
18909 * io/ftw.c (ftw_dir): Likewise.
18910
18911 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18912
18913 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18914
18915 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18916 Use the BSD numbers rather than the arbitrary ones we had.
18917 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18918 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18919 (SIGXCPU, SIGXFSZ): New macros.
18920 (_NSIG): Now 32.
18921
18922 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18923 initializer on [_LIBC_REENTRANT].
18924
18925 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18926 definitions inside [_POSIX_MAPPED_FILES].
18927
18928 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18929
18930 * dirent/opendir.c: Include <fcntl.h>.
18931
18932 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18933 (__libc_getspecific): Likewise.
18934 (__libc_key_create): Likewise.
18935
18936 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18937 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18938 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18939 (tmpfile64): Define as alias.
18940 * sysdeps/wordsize-64/tmpfile.c: File removed.
18941 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18944
18945 * stdio-common/vfscanf.c: Include <stdbool.h>.
18946 * nss/makedb.c: Likewise.
18947 * stdio-common/_i18n_number.h: Likewise.
18948 * argp/argp-help.c: Likewise.
18949 * posix/wordexp.c: Likewise.
18950 * sysdeps/posix/spawni.c: Likewise.
18951 * nss/nss_files/files-initgroups.c: Likewise.
18952 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18953 * nss/nss_files/files-initgroups.c: Likewise.
18954 * nss/nss_db/db-netgrp.c: Likewise.
18955 * nss/nss_db/db-initgroups.c: Likewise.
18956 * io/fchmodat.c: Include <sys/stat.h>.
18957
18958 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18959 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18960
18961 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18962 [HAVE_MMAP].
18963
18964 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18965 Add multiple inclusion protection.
18966
18967 2012-07-27 David S. Miller <davem@davemloft.net>
18968
18969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18970
18971 2012-07-27 Gary Benson <gbenson@redhat.com>
18972
18973 [BZ #14298]
18974 * elf/rtld.c: Include <stap-probe.h>.
18975 (dl_main): Added static probes "init_start" and "init_complete".
18976 * elf/dl-load.c: Include <stap-probe.h>.
18977 (lose): Take new parameter "nsid".
18978 Added static probe "map_failed".
18979 (_dl_map_object_from_fd): Pass namespace id to lose.
18980 Added static probe "map_start".
18981 (open_verify): Pass namespace id to lose.
18982 * elf/dl-open.c: Include <stap-probe.h>.
18983 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18984 and "reloc_complete".
18985 * elf/dl-close.c: Include <stap-probe.h>.
18986 (_dl_close_worker): Added static probes "unmap_start" and
18987 "unmap_complete".
18988 * elf/rtld-debugger-interface.txt: New file documenting the above.
18989
18990 2012-07-26 Roland McGrath <roland@hack.frob.com>
18991
18992 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18993 rather than a string variable.
18994 * sunrpc/rpc_main.c (h_output): Likewise.
18995 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18996
18997 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18998
18999 * inet/check_native.c: New file.
19000
19001 2012-07-26 Joseph Myers <joseph@codesourcery.com>
19002
19003 [BZ #13629]
19004 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19005 if larger part has absolute value 1.0.
19006 * math/s_clog10.c (__clog10): Likewise.
19007 * math/s_clog10f.c (__clog10f): Likewise.
19008 * math/s_clog10l.c (__clog10l): Likewise.
19009 * math/s_clogf.c (__clogf): Likewise.
19010 * math/s_clogl.c (__clogl): Likewise.
19011 * math/libm-test.inc (clog_test): Add more tests.
19012 (clog10_test): Likewise.
19013 * sysdeps/i386/fpu/libm-test-ulps: Update.
19014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015
19016 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19017 (pltexit): Likewise.
19018 (La_regs): Likewise.
19019 (La_retval): Likewise.
19020 (int_retval): Likewise.
19021 Update #error for removed macros to refer only to definitions in
19022 tst-audit.h.
19023 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19024 macro.
19025 (pltexit): Likewise.
19026 (La_regs): Likewise.
19027 (La_retval): Likewise.
19028 (int_retval): Likewise.
19029 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19030 macro.
19031 (pltexit): Likewise.
19032 (La_regs): Likewise.
19033 (La_retval): Likewise.
19034 (int_retval): Likewise.
19035 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19036 macro.
19037 (pltexit): Likewise.
19038 (La_regs): Likewise.
19039 (La_retval): Likewise.
19040 (int_retval): Likewise.
19041 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19042 macro.
19043 (pltexit): Likewise.
19044 (La_regs): Likewise.
19045 (La_retval): Likewise.
19046 (int_retval): Likewise.
19047 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19048 macro.
19049 (pltexit): Likewise.
19050 (La_regs): Likewise.
19051 (La_retval): Likewise.
19052 (int_retval): Likewise.
19053 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19054 macro.
19055 (pltexit): Likewise.
19056 (La_regs): Likewise.
19057 (La_retval): Likewise.
19058 (int_retval): Likewise.
19059 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19060 macro definitions in tst-audit.h.
19061 * sysdeps/i386/tst-audit.h: New file.
19062 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19063 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19064 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19065 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19066 * sysdeps/sh/tst-audit.h: Likewise.
19067 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19068 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19069 * sysdeps/x86_64/tst-audit.h: Likewise.
19070
19071 2012-07-26 Andreas Jaeger <aj@suse.de>
19072
19073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19074 ptrace.
19075
19076 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19077 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19078 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19079 PTRACE_O_MASK.
19080 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19081 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19082 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19083
19084 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19085 value.
19086
19087 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19088 _sigsys.
19089 (si_call_addr, si_syscall, si_arch): Define new macro.
19090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19091 _sigsys.
19092 (si_call_addr, si_syscall, si_arch): Define new marcro.
19093 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19094 _sigsys.
19095 (si_call_addr, si_syscall, si_arch): Define new macro.
19096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19097 _sigsys.
19098 (si_call_addr, si_syscall, si_arch): Define new macro.
19099
19100 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19101
19102 [BZ #13717]
19103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19104 Change to 2.4.21 where previously 2.4.1.
19105 * sysdeps/unix/sysv/linux/configure: Regenerated.
19106 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19107 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19108 Linux kernel version.
19109 (__ASSUME_STD_AUXV): Remove.
19110 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19111 kernel version.
19112 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19113 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19114 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19115 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19116 (__ASSUME_NETLINK_SUPPORT): Likewise.
19117 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19118 (__no_netlink_support): Remove conditional definition.
19119 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19120 Remove.
19121 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19122 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19123 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19124 (if_nameindex_ioctl): Remove.
19125 (if_nameindex_netlink): Do not handle __no_netlink_support.
19126 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19127 code.
19128 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19129 Remove conditional code.
19130 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19131 code.
19132 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19133 unconditional.
19134 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19135 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19136 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19137 Remove.
19138 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19139 [!__ASSUME_STD_AUXV]: Remove conditional code.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19141 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19142 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19144 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19145 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19146 code.
19147 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19149 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19150 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19151 conditional code.
19152 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19154 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19155 code.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19157 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19158 conditional code.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19160 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19161 code unconditional.
19162 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19163 conditional code.
19164 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19165 unconditional.
19166 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19167 conditional code.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19169 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19170 unconditional.
19171 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19172 conditional code.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19174 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19175 code unconditional.
19176 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19177 conditional code.
19178 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19179 unconditional.
19180 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19181 conditional code.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19183 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19184 code unconditional.
19185 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19186 conditional code.
19187 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19188 unconditional.
19189 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19190 conditional code.
19191
19192 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19193
19194 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19196 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19197 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19198 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19199 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19201 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19202 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19203 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19204 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19205 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19206 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19207 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19208 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19209 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19210 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19212 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19214 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19215 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19217
19218 2012-07-25 Florian Weimer <fweimer@redhat.com>
19219
19220 * Versions.def: Add GLIBC_2.17.
19221 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19222 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19223 Introduce __libc_secure_getenv.
19224 * stdlib/Versions (2.17): Add secure_getenv
19225 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19226 * stdlib/secure-getenv.c: Rename __secure_getenv to
19227 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19228 symbol __secure_getenv for GLIBC_2.0.
19229 * stdlib/tst-secure-getenv.c: New.
19230 * stdlib/Makefile (tests): Add testcase.
19231 * manual/startup.texi (Environment Access): Document
19232 secure_getenv.
19233 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19234 __libc_secure_getenv.
19235 * inet/ruserpass.c (ruserpass): Likewise.
19236 * malloc/mtrace.c (mtrace): Likewise.
19237 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19238 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19239 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19240 * sysdeps/posix/tempname.c: Likewise. Evaluate
19241 HAVE_SECURE_GETENV.
19242 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19243 __secure_getenv to __libc_secure_getenv.
19244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19246 Likewise.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19248 Likewise.
19249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19256
19257 2012-07-25 Joseph Myers <joseph@codesourcery.com>
19258
19259 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19260 (struct La_i86_retval): Likewise.
19261 (struct La_x86_64_regs): Likewise.
19262 (struct La_x86_64_retval): Likewise.
19263 (struct La_x32_regs): Likewise.
19264 (struct La_x32_retval): Likewise.
19265 (struct La_ppc32_regs): Likewise.
19266 (struct La_ppc32_retval): Likewise.
19267 (struct La_ppc64_regs): Likewise.
19268 (struct La_ppc64_retval): Likewise.
19269 (struct La_sh_regs): Likewise.
19270 (struct La_sh_retval): Likewise.
19271 (struct La_s390_32_regs): Likewise.
19272 (struct La_s390_32_retval): Likewise.
19273 (struct La_s390_64_regs): Likewise.
19274 (struct La_s390_64_retval): Likewise.
19275 (struct La_sparc32_regs): Likewise.
19276 (struct La_sparc32_retval): Likewise.
19277 (struct La_sparc64_regs): Likewise.
19278 (struct La_sparc64_retval): Likewise.
19279 (struct audit_ifaces): Remove architecture-specific pltenter and
19280 pltexit members.
19281 * sysdeps/i386/ldsodefs.h: New file.
19282 * sysdeps/powerpc/ldsodefs.h: Likewise.
19283 * sysdeps/s390/ldsodefs.h: Likewise.
19284 * sysdeps/sh/ldsodefs.h: Likewise.
19285 * sysdeps/sparc/ldsodefs.h: Likewise.
19286 * sysdeps/x86_64/ldsodefs.h: Likewise.
19287
19288 2012-07-25 Marek Polacek <polacek@redhat.com>
19289
19290 [BZ #6808]
19291 * math/libm-test.inc (yn_test): Add another test.
19292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19293 to ERANGE when the result is +-Inf.
19294 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19295 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19296 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19297 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19298
19299 2012-07-24 Joseph Myers <joseph@codesourcery.com>
19300
19301 * conform/data/time.h-data (NULL): Use macro-constant. Require
19302 equal to 0.
19303 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19304 clock_t.
19305 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19306
19307 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19308
19309 * configure.in <sysdeps resolving>: Correct printing
19310 Implies_before.
19311 * configure: Regenerate.
19312
19313 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19314
19315 * math/w_ilogb.c: Include <limits.h>.
19316 * math/w_ilogbl.c: Likewise.
19317
19318 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19319
19320 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19321 va_copy. Document allowing for unavailable va_copy only as
19322 pre-C99 compatibility.
19323 * manual/string.texi (Copying and Concatenation): Use va_copy
19324 instead of __va_copy in concat example.
19325
19326 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19327
19328 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19329 (__sendto): Use create_address_port. Initialize APORT and deallocate
19330 it if not null.
19331
19332 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19333 with O_NOLINK passed to __file_name_lookup.
19334
19335 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19336 with O_NOLINK passed to __file_name_lookup.
19337
19338 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19339 negative N or less than NGIDS.
19340
19341 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19342 type to string_t. Set ERANGE as errno and return it if NAME is not big
19343 enough. Use memcpy instead of strncpy.
19344
19345 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19346
19347 * elf/Makefile (check-data): Remove.
19348 (localplt.data): New vpath directive.
19349 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19350 instead of $(check-data).
19351 * scripts/data/localplt-generic.data: Move to ...
19352 * sysdeps/generic/localplt.data: ... here.
19353 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19354 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19355 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19357 ... here.
19358 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19360 ... here.
19361 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19363 ... here.
19364 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19366 ... here.
19367 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19369 ... here.
19370 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19372 ... here.
19373
19374 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19377 PPC32 and PPC64 files.
19378 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19379 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19380
19381 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19382
19383 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19384 __makecontext_ret to ...
19385 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19386 ... here and call exit if uc_link is NULL. New file.
19387 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19388 __makecontext_ret.S.
19389 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19390 __makecontext_ret to ...
19391 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19392 ... here and call exit if uc_link is NULL. New file.
19393 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19394 __makecontext_ret.S.
19395
19396 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19397
19398 * elf/elf.h (R_390_IRELATIVE): New definition.
19399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19400 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19401 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19403 (elf_machine_lazy_rel): Likewise.
19404 * sysdeps/s390/dl-irel.h: New file.
19405 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19406 * sysdeps/s390/s390-64/memset.S: New asm code.
19407 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19408 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19410 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19411 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19412 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19413 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19414 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19415 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19416 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19417 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19418 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19419 * sysdeps/s390/s390-32/memset.S: New asm code.
19420 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19421
19422 2012-07-17 Marek Polacek <polacek@redhat.com>
19423
19424 [BZ #14349]
19425 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19426 * sysdeps/s390/s390-64/configure.in: Likewise.
19427 * sysdeps/sparc/configure.in: Likewise.
19428 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19429 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19430 * sysdeps/i386/configure.in: Likewise.
19431 * sysdeps/x86_64/configure.in: Likewise.
19432 * sysdeps/sh/configure.in: Likewise.
19433 * sysdeps/s390/s390-32/configure: Regenerated.
19434 * sysdeps/s390/s390-64/configure: Likewise.
19435 * sysdeps/x86_64/configure: Likewise.
19436 * sysdeps/sh/configure: Likewise.
19437 * sysdeps/powerpc/powerpc64/configure: Likewise.
19438 * sysdeps/powerpc/powerpc32/configure: Likewise.
19439 * sysdeps/sparc/configure: Likwise.
19440 * sysdeps/i386/configure: Likewise.
19441
19442 * elf/dl-open.c: Comment fixes.
19443
19444 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19445
19446 * Makefile [CXX] (check-data): Remove.
19447 [CXX] (c++-types.data): New vpath directive.
19448 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19449 vpath. Do not allow for C++ type data being missing.
19450 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19451 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19452 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19453 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19454 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19455 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19456 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19458 ... here.
19459 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19461 ... here.
19462 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19464 ... here.
19465 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19467 ... here.
19468 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19470 ... here.
19471 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19473 ... here.
19474 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19476 ... here.
19477 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19479
19480 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19481 definitions to architecture-specific files.
19482 (TLS_IE): Likewise.
19483 (TLS_LD): Likewise.
19484 (TLS_GD): Likewise.
19485 * sysdeps/i386/tls-macros.h: New file.
19486 * sysdeps/powerpc/tls-macros.h: Likewise.
19487 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19488 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19489 * sysdeps/sh/tls-macros.h: Likewise.
19490 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19491 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19492 * sysdeps/x86_64/tls-macros.h: Likewise.
19493
19494 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19495
19496 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19497 zero value for regular exit case.
19498
19499 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19500 (__start_context): Preserve zero value for regular exit case.
19501
19502 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19503 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19504
19505 * manual/setjmp.texi (setcontext): Clarify normal process
19506 termination when uc_link is the null pointer.
19507 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19508 exit call.
19509
19510 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19511
19512 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19513 preprocessor. Test for each exception mask separately.
19514
19515 2012-07-16 Andreas Jaeger <aj@suse.de>
19516
19517 * po/ru.po: Update from translation team.
19518
19519 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19520
19521 * conform/data/string.h-data (NULL): Use macro-constant. Require
19522 equal to 0.
19523 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19524 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19525 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19526 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19528
19529 2012-07-13 Andreas Jaeger <aj@suse.de>
19530
19531 * po/fr.po: Update from translation team.
19532
19533 2012-07-12 Marek Polacek <polacek@redhat.com>
19534
19535 [BZ #14173]
19536 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19537 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19538 loop condition.
19539
19540 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19541
19542 [BZ #13717]
19543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19544 Change to 2.4.1 where previously 2.4.0.
19545 * sysdeps/unix/sysv/linux/configure: Regenerated.
19546 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19547 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19548 version.
19549 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19550 (__ASSUME_AT_CLKTCK): Remove.
19551 (__ASSUME_AT_PAGESIZE): Likewise.
19552 (__ASSUME_AT_XID): Likewise.
19553 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19554 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19555 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19556 unconditionally.
19557 (HAVE_AUX_PAGESIZE): Likewise.
19558 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19559 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19560 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19561
19562 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19563
19564 [BZ #14307]
19565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19566 the temporary buffer used to invoke __gethostbyname2_r,
19567 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19568 host_data / struct gaih_addrtuple.
19569 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19570 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19571 header file nss/nsswitch.h.
19572 * nss/nsswitch.h (global scope): Add definition of implementation
19573 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19574 resolv/nss_dns/dns-host.c).
19575
19576 2012-07-11 Andreas Jaeger <aj@suse.de>
19577
19578 * po/fr.po: Update from translation team.
19579
19580 * po/sv.po: Update from translation team
19581 * po/fr.po: Another update from translation team.
19582
19583 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19584
19585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19586 for subnormals or multiply small sinh result by itself.
19587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19589
19590 2012-07-11 David S. Miller <davem@davemloft.net>
19591
19592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19593
19594 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19595
19596 [BZ #14347]
19597 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19598 (INTERNAL_MARK): Shift it here.
19599
19600 2012-07-10 Marek Polacek <polacek@redhat.com>
19601
19602 [BZ #14151]
19603 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19604 libc_cv_asm_global_directive with .globl.
19605 * configure: Regenerated.
19606 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19607 with .globl.
19608 * sysdeps/i386/configure: Regenerated.
19609 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19610 with .globl.
19611 * sysdeps/x86_64/configure: Regenerated.
19612 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19613 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19614 * elf/tst-unique2mod2.c: Likewise.
19615 * elf/tst-unique2mod1.c: Likewise.
19616 * elf/tst-unique1mod2.c: Likewise.
19617 * elf/tst-unique1mod1.c: Likewise.
19618 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19619 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19621 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19622 * sysdeps/mach/sysdep.h: Likewise.
19623 * sysdeps/i386/sysdep.h: Likewise.
19624 * sysdeps/i386/i386-mcount.S: Likewise.
19625 * sysdeps/x86_64/_mcount.S: Likewise.
19626 * sysdeps/x86_64/sysdep.h: Likewise.
19627 * sysdeps/sh/_mcount.S: Likewise.
19628 * sysdeps/sh/sysdep.h: Likewise.
19629 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19630 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19631 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19633 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19634 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19635 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19636 * locale/localeinfo.h: Likewise.
19637 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19638 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19639
19640 2012-07-09 Roland McGrath <roland@hack.frob.com>
19641
19642 [BZ #14336]
19643 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19644 system".
19645 * manual/message.texi (The Uniforum approach): Likewise.
19646 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19647 (glibc iconv Implementation): Likewise.
19648
19649 2012-07-09 Joseph Myers <joseph@codesourcery.com>
19650
19651 [BZ #14337]
19652 * math/s_clog.c (__clog): Avoid scaling a value down where that
19653 could result in underflow.
19654 * math/s_clog10.c (__clog10): Likewise.
19655 * math/s_clog10f.c (__clog10f): Likewise.
19656 * math/s_clog10l.c (__clog10l): Likewise.
19657 * math/s_clogf.c (__clogf): Likewise.
19658 * math/s_clogl.c (__clogl): Likewise.
19659 * math/libm-test.inc (clog_test): Add more tests.
19660 (clog10_test): Likewise.
19661 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19663
19664 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19665
19666 [BZ #14283]
19667 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19668 by 7 not 8 to examine high bit of fractional part.
19669
19670 [BZ #14042]
19671 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19672 for call to __mcount_internal.
19673 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19674 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19675 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19676
19677 2012-07-06 Joseph Myers <joseph@codesourcery.com>
19678
19679 [BZ #14154]
19680 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19681 approximation for values within 0x1p-13f of an odd multiple of
19682 pi/4.
19683 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19684 exception. Add more tests.
19685 * sysdeps/i386/fpu/libm-test-ulps: Update.
19686
19687 [BZ #6778]
19688 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19689 inputs and return -1 for them. Do not check for +Inf in case not
19690 reachable for +Inf.
19691 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19692 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19693 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19694 and return -1 for them. Do not check for +Inf in case not
19695 reachable for +Inf.
19696 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19697 define.
19698 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19699 and return -1 for them. Do not check for +Inf in case not
19700 reachable for +Inf.
19701 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19702 spurious underflow.
19703 * sysdeps/i386/fpu/libm-test-ulps: Update.
19704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19705
19706 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19707
19708 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19709
19710 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19711
19712 [BZ #14157]
19713 [BZ #14331]
19714 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19715 could result in spurious underflow. Scale down values above
19716 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19717 * math/s_csqrtf.c (__csqrtf): Likewise.
19718 * math/s_csqrtl.c (__csqrtl): Likewise.
19719 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19720 spurious underflow.
19721 * sysdeps/i386/fpu/libm-test-ulps: Update.
19722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19723
19724 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19725
19726 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19727 xopen-msg.sed.
19728 * catgets/xopen-msg.awk: New file.
19729 * catgets/xopen-msg.sed: Removed.
19730
19731 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19732 po2text.sed.
19733 * intl/po2test.awk: New file.
19734 * intl/po2test.sed: Removed.
19735
19736 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19737
19738 [BZ #14328]
19739 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19740 or multiply small sinh result by itself.
19741 * math/s_ctanf.c (__ctanf): Likewise.
19742 * math/s_ctanh.c (__ctanh): Likewise.
19743 * math/s_ctanhf.c (__ctanhf): Likewise.
19744 * math/s_ctanhl.c (__ctanhl): Likewise.
19745 * math/s_ctanl.c (__ctanl): Likewise.
19746 * math/libm-test.inc (ctan_test_tonearest): New function.
19747 (ctan_test_towardzero): Likewise.
19748 (ctan_test_downward): Likewise.
19749 (ctan_test_upward): Likewise.
19750 (ctanh_test_tonearest): Likewise.
19751 (ctanh_test_towardzero): Likewise.
19752 (ctanh_test_downward): Likewise.
19753 (ctanh_test_upward): Likewise.
19754 (main): Call these new functions.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19757
19758 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19759
19760 * .gitignore: Delete /ports entry.
19761
19762 2012-07-03 Andreas Jaeger <aj@suse.de>
19763
19764 * po/bg.po: Update from translation team.
19765 * po/cs.po: Likewise.
19766 * po/de.po: Likewise.
19767 * po/hr.po: Likewise.
19768 * po/nl.pl: Likewise.
19769 * po/pl.po: Likewise.
19770 * po/vi.po: Likewise.
19771
19772 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19773
19774 * Makeconfig [!+link] (+link-before-libc): New variable.
19775 [!+link] (+link-after-libc): Likewise.
19776 [!+link] (+link-tests): Likewise.
19777 [!+link] (+link): Define in terms of $(+link-before-libc) and
19778 $(+link-after-libc).
19779 [!+link-static] (+link-static-before-libc): New variable.
19780 [!+link-static] (+link-static-after-libc): Likewise.
19781 [!+link-static] (+link-static-tests): Likewise.
19782 [!+link-static] (+link-static): Define in terms of
19783 $(+link-static-before-libc) and $(+link-static-after-libc).
19784 [build-shared] (link-libc-before-gnulib): New variable.
19785 [build-shared] (link-libc-tests): Likewise.
19786 [build-shared] (link-libc): Define in terms of
19787 $(link-libc-before-gnulib).
19788 [!build-shared] (link-libc-tests): New variable.
19789 (link-libc-static-tests): New variable.
19790 [!gnulib] (gnulib-arch): New variable.
19791 [!gnulib] (gnulib-tests): Likewise.
19792 [!gnulib] (static-gnulib-arch): Likewise.
19793 [!gnulib] (static-gnulib-tests): Likewise.
19794 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19795 Define with "=" instead of ":=".
19796 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19797 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19798 * Rules (binaries-all-notests): New variable.
19799 (binaries-all-tests): Likewise.
19800 (binaries-static-notests): Likewise.
19801 (binaries-static-tests): Likewise.
19802 (binaries-all): Define using $(binaries-all-notests) and
19803 $(binaries-all-tests).
19804 (binaries-static): Define using $(binaries-static-notests) and
19805 $(binaries-static-tests).
19806 (binaries-shared-tests): New variable.
19807 (binaries-shared-notests): Likewise.
19808 (binaries-shared): Remove variable.
19809 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19810 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19811 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19812 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19813 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19814 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19815 * elf/Makefile (sln-modules): New variable.
19816 (extra-objs): Add $(sln-modules:=.o).
19817 (ldconfig-modules): Add static-stubs.
19818 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19819 * elf/static-stubs.c: New file.
19820
19821 [BZ #14283]
19822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19823 by 7 not 8 to examine high bit of fractional part. Use volatile
19824 variables when splitting into final array of floats if
19825 __FLT_EVAL_METHOD__ != 0.
19826 * math/libm-test.inc (cos_test): Add another test.
19827 (sin_test): Likewise.
19828 * sysdeps/i386/fpu/libm-test-ulps: Update.
19829
19830 [BZ #14273]
19831 * math/libm-test.inc (cosh_test): Add more tests.
19832
19833 * version.h (RELEASE): Set to "development".
19834 (VERSION): Set to "2.16.90".
19835
19836 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19837
19838 * NEWS: Update copyright. Remove last-updated date.
19839 Mention math library bug fixes and timezone data changes.
19840 * README: Mention GNU/Hurd, x32, and HPPA support status.
19841
19842 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19843
19844 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19845
19846 2012-06-27 Andreas Jaeger <aj@suse.de>
19847
19848 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19849
19850 2012-06-25 Andreas Jaeger <aj@suse.de>
19851
19852 * sysdeps/s390/fpu/libm-test-ulps: Update.
19853
19854 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19855 Thomas Schwinge <thomas@codesourcery.com>
19856
19857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19858 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19860 fanotify_mark.
19861
19862 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19863
19864 * sysdeps/mach/start.c: Remove file.
19865 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19866 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19867 * sysdeps/sh/init-first.c: Likewise.
19868
19869 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19870 registers for frame unwinding purposes, add CFI directives.
19871 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19873 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19874 Likewise.
19875
19876 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19877 __fortify_fail returning.
19878 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19879
19880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19881 sysdeps/sh/____longjmp_chk.S.
19882 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19883 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19884 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19885 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19886
19887 * sysdeps/sh/abort-instr.h: New file.
19888 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19889 process in case exit returns.
19890
19891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19892 initialize the GOT register before use.
19893
19894 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19895 calculation of ARGC > 4.
19896
19897 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19898 meaningful names to some local labels.
19899
19900 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19901 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19902
19903 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19904 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19905 (__arch_compare_and_exchange_val_16_acq): Likewise.
19906 (__arch_compare_and_exchange_val_32_acq): Likewise.
19907 (atomic_exchange_and_add): Fix gUSA sequence.
19908 (atomic_add): Likewise.
19909 (atomic_add_negative): Likewise.
19910 (atomic_add_zero): Likewise.
19911 (atomic_bit_test_set): Likewise.
19912
19913 2012-06-22 Andreas Schwab <schwab@redhat.com>
19914
19915 [BZ #13579]
19916 * include/link.h (struct link_map): Add l_free_initfini.
19917 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19918 l_initfini.
19919 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19920 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19921 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19922 set.
19923
19924 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19925
19926 * configure.in: Use AC_LANG_SOURCE.
19927 * configure: Regenerate.
19928
19929 2012-06-22 Roland McGrath <roland@hack.frob.com>
19930
19931 * configure.in (libc_cv_localstatedir): New substituted variable.
19932 * configure: Regenerated.
19933 * config.make.in (localstatedir): New variable, substituted from
19934 libc_cv_localstatedir.
19935 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19936 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19937 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19938 * sysdeps/gnu/configure: Regenerated.
19939
19940 2012-06-21 Jeff Law <law@redhat.com>
19941
19942 [BZ #14277]
19943 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19944 free. Simplify list management for _LIBC case.
19945
19946 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19947
19948 [BZ #14273]
19949 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19950 Clear sign bit of 64-bit integer value before comparing against
19951 overflow value.
19952
19953 * sysdeps/mach/configure: Regenerated.
19954
19955 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19956
19957 [BZ #14278]
19958 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19959
19960 2012-06-21 Jeff Law <law@redhat.com>
19961
19962 [BZ #13882]
19963 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19964 uint16_t for elements in the "seen" array to avoid char overflows.
19965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19966 * elf/dl-open.c (dl_open_worker): Likewise.
19967
19968 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19969
19970 * scripts/list-sources.sh: Scan PORTS for translations.
19971 * po/libc.pot: Regenerated.
19972
19973 2012-06-21 Andreas Jaeger <aj@suse.de>
19974
19975 [BZ #12194]
19976 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19977 warning.
19978 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19979 * bits/byteswap-16.h (__bswap_16): Likewise.
19980 * bits/byteswap.h (__bswap_constant_16): Likewise.
19981
19982 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19983
19984 [BZ #14117]
19985 * sysdeps/i386/fpu_control.h: Removed.
19986 * sysdeps/x86_64/fpu_control.h: Moved to ...
19987 * sysdeps/x86/fpu_control.h: Here.
19988
19989 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19990 (_FPU_SETCW): Likewise.
19991
19992 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19993
19994 [BZ #14117]
19995 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19996 * sysdeps/x86/fpu/bits/mathinline.h: This.
19997 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19998
19999 [BZ #14050]
20000 [BZ #14117]
20001 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20002 functions if __x86_64__ is defined.
20003
20004 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20005
20006 * string/endian.h: Add !__ASSEMBLER__ condition for including
20007 conversion interfaces.
20008
20009 2012-06-15 Joseph Myers <joseph@codesourcery.com>
20010
20011 [BZ #14241]
20012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20013 of ABS(x) in calculating zero to negative powers other than odd
20014 integers.
20015 * math/libm-test.inc (pow_test): Add more tests.
20016
20017 2012-06-15 Andreas Jaeger <aj@suse.de>
20018
20019 * manual/contrib.texi (Contributors): Update entry of Liubov
20020 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20021 Machado Filho.
20022
20023 2012-06-15 Cyril Hrubis <metan@ucw.cz>
20024
20025 * string/string.h: Add __wur to GNU version of strerror_r.
20026
20027 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 [BZ #14229]
20030 * string/Makefile (tests): Add tst-strtok_r.
20031 * string/tst-strtok_r.c: New file.
20032 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20033 RAX_LP/RDX_LP on SAVE_PTR.
20034
20035 2012-06-14 Roland McGrath <roland@hack.frob.com>
20036
20037 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20038
20039 2012-06-14 Joseph Myers <joseph@codesourcery.com>
20040
20041 * libm_test.inc (csqrt_test): Allow more spurious underflow
20042 exceptions.
20043 (j0_test): Likewise.
20044 (j1_test): Likewise.
20045 (y0_test): Likewise.
20046 (y1_test): Likewise.
20047
20048 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20049
20050 * po/Makefile (libc.pot): Use UTF-8 charset.
20051
20052 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20053
20054 [BZ #14210]
20055 Suppress sign-conversion warning from FD_SET.
20056 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20057 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20058 not unsigned long int.
20059 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20060
20061 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20062
20063 [BZ #14050]
20064 [BZ #14117]
20065 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20066 __extern_always_inline instead of __extern_inline.
20067 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20068 (__signbit): Likewise.
20069 (__signbitl): Support C++ namespace.
20070 (lrintf): New inline function.
20071 (lrint): Likewise.
20072 (llrintf): Likewise.
20073 (llrint): Likewise.
20074 (fmaxf): Likewise.
20075 (fmax): Likewise.
20076 (fminf): Likewise.
20077 (fmin): Likewise.
20078 (rint): Likewise.
20079 (rintf): Likewise.
20080 (ceil): Likewise.
20081 (ceilf): Likewise.
20082 (floor): Likewise.
20083 (floorf): Likewise.
20084 (nearbyint): Likewise.
20085 (nearbyintf): Likewise.
20086
20087 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20088
20089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20090 non-default versions.
20091
20092 2012-06-11 Roland McGrath <roland@hack.frob.com>
20093
20094 [BZ #14218]
20095 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20096
20097 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20098
20099 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20100 (FE_UPWARD, FE_DOWNWARD): Don't define.
20101 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20102 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20103
20104 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20105 reading it.
20106 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20108
20109 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20110
20111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20114 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20115
20116 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20117
20118 [BZ #14117]
20119 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20120 * sysdeps/i386/fpu/Implies: New file.
20121 * sysdeps/x86_64/fpu/Implies: Likewise.
20122 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20123 * sysdeps/x86/fpu/bits/fenv.h: This.
20124
20125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20126 __SSE_MATH__.
20127
20128 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20129
20130 [BZ #14134]
20131 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20132 character 0xffff that matches the last element of the
20133 conversion table.
20134
20135 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20136
20137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20138 fmodl commit.
20139
20140 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20141
20142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20143 values higher than 25.6283.
20144
20145 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20146
20147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20148 subnormal exponent extraction and add some __builtin_expect.
20149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20150 Fix for subnormal mantissa calculation.
20151
20152 2012-06-04 Mike Frysinger <vapier@gentoo.org>
20153
20154 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20155 cpu2 is -1 and errno is not ENOSYS.
20156
20157 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20158
20159 [BZ #14117]
20160 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20161 * sysdeps/x86/bits/string.h: This.
20162 * sysdeps/x86_64/bits/string.h: Removed.
20163
20164 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20165 if not compiling for x86-64, but compiling for >= i486.
20166
20167 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20168 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20169
20170 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20171 New macro from Linux kernel 3.4.0.
20172 (FP_XSTATE_MAGIC2): Likewise.
20173 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20174 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20175 (struct _fpx_sw_bytes): New struct.
20176 (struct _xsave_hdr): Likewise.
20177 (struct _ymmh_state): Likewise.
20178 (struct _xstate): Likewise.
20179
20180 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20181 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20183 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20184 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20185 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20186
20187 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20189 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20190 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20191 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20192 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20193
20194 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20195
20196 [BZ #13743]
20197 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20198 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20199 (sysdep_headers): Include sys/platform/ppc.h.
20200 * sysdeps/powerpc/test-gettimebase.c: Test for
20201 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20202 * manual/Makefile (appendices): Include platform.texi.
20203 * manual/contrib.texi (Contributors): Update @node pointers.
20204 * manual/maint.texi (Maintenance): Likewise.
20205 (Platform): New node.
20206 * manual/platform.texi: New file. Document the new features.
20207
20208 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20209 Jakub Jelinek <jakub@redhat.com>
20210
20211 [BZ #14188]
20212 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20213 where __builtin_expect is unavailable.
20214
20215 2012-06-03 David S. Miller <davem@davemloft.net>
20216
20217 * stdlib/longlong.h: Updated from GCC.
20218
20219 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20220
20221 [BZ #14042]
20222 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20223 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20224 __mcount_internal.
20225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20226 (GLIBC_2.16): Likewise.
20227
20228 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20229
20230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20231
20232 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20233
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20235 (default-abi): New variable.
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20237 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20238 variable.
20239 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20240 Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20242 Likewise.
20243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20244 Likewise.
20245
20246 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20247 definition. Document in comment.
20248
20249 2012-06-01 David S. Miller <davem@davemloft.net>
20250
20251 * stdlib/longlong.h: Updated from GCC.
20252
20253 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20254
20255 [BZ #14117]
20256 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20257 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20258 sys/debugreg.h sys/io.h here.
20259 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20260 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20261 sys/io.h.
20262 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20263 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20265 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20267 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20268
20269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20270 Define only if __x86_64__ is defined.
20271
20272 2012-06-01 Joseph Myers <joseph@codesourcery.com>
20273
20274 [BZ #14048]
20275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20276 Use int64_t for variable i.
20277 * math/libm-test.inc (fmod_test): Add more tests.
20278
20279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20280 z computation is not scheduled after fetestexcept.
20281 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20282 Use math_force_eval instead of asm to ensure calculation scheduled
20283 before exception test.
20284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20285 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20286
20287 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20288
20289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20290 computation is not scheduled after fetestexcept.
20291
20292 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20293
20294 [BZ #14117]
20295 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20296 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20297
20298 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20299
20300 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20302
20303 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 [BZ #14117]
20306 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20307 <bits/wordsize.h>.
20308 (__WCHAR_MIN): Support __WORDSIZE == 64.
20309 (__WCHAR_MAX): Likewise.
20310
20311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20313
20314 [BZ #14183]
20315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20316 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20317
20318 [BZ #14117]
20319 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20321
20322 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20323 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20324
20325 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20326 Defined to 1 if __x86_64__ isn't defined.
20327 (_STAT_VER_LINUX_OLD): New.
20328 (st_atime): Remove duplicate.
20329 (st_mtime): Likewise.
20330 (st_ctime): Likewise.
20331
20332 2012-05-31 David S. Miller <davem@davemloft.net>
20333
20334 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20335 entries.
20336
20337 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20338
20339 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20340 gen-libm-test.pl.
20341
20342 [BZ #14132]
20343 * elf/dl-reloc.c: Include <_itoa.h>.
20344 (_dl_reloc_bad_type): Remove use of INTUSE.
20345 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20346 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20347 * stdio-common/psiginfo.c (psiginfo): Likewise.
20348 * stdio-common/psignal.c (psignal): Likewise.
20349 * string/strsignal.c (strsignal): Likewise.
20350 * include/signal.h (_sys_siglist): Declare hidden proto.
20351 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20352 INTVARDEF with libc_hidden_data_def.
20353 * stdio-common/itoa-udigits.c: Likewise.
20354 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20355 (_itoa_lower_digits_internal): Remove declaration.
20356 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20357 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20358 (_sys_sigabbrev_internal): Remove aliases.
20359 (_sys_siglist): Define hidden alias.
20360
20361 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20362
20363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20364 bits/sysctl.h.
20365
20366 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 [BZ #14117]
20369 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20370 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20371
20372 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20373 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20374 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20375 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20377 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20378
20379 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20380 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20381 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20382
20383 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20384 with __addr.
20385 (insw): Likewise.
20386 (insl): Likewise.
20387 (outsb): Likewise.
20388 (outsw): Likewise.
20389 (outsl): Likewise.
20390
20391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20394
20395 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20396 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20399 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20400 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20401
20402 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20403 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20404
20405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20407
20408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20411
20412 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20413 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20414 to ...
20415 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20416
20417 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20419 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20420
20421 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20422 for x86-64.
20423 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20424
20425 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20426
20427 * math/math.h (M_El): Use two more decimal places.
20428 (M_LOG2El): Likewise.
20429 (M_LOG10El): Likewise.
20430 (M_LN2l): Likewise.
20431 (M_LN10l): Likewise.
20432 (M_PIl): Likewise.
20433 (M_PI_2l): Likewise.
20434 (M_PI_4l): Likewise.
20435 (M_1_PIl): Likewise.
20436 (M_2_PIl): Likewise.
20437 (M_2_SQRTPIl): Likewise.
20438 (M_SQRT2l): Likewise.
20439 (M_SQRT1_2l): Likewise.
20440
20441 2012-05-31 David S. Miller <davem@davemloft.net>
20442
20443 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20444 values between float registers.
20445 * sysdeps/sparc/sparc64/memset.S: Likewise.
20446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20447
20448 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20449
20450 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20451 -D_FORTIFY_SOURCE=1.
20452 (CPPFLAGS-tst-longjmp_chk.c): Define.
20453 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20454 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20455 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20456 CFLAGS-tst-wchar-h.c.
20457
20458 2012-05-31 Marek Polacek <polacek@redhat.com>
20459
20460 [BZ #14132]
20461 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20462 __endmntent_internal): Remove declaration.
20463 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20464 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20465 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20466
20467 2012-05-30 David S. Miller <davem@davemloft.net>
20468
20469 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20470 (___Q_simulate_exceptions): Use real FP ops rather than writing
20471 into the %fsr.
20472 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20473 Likewise.
20474
20475 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20476
20477 [BZ #14117]
20478 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20479 * sysdeps/x86/bits/xtitypes.h: This.
20480
20481 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20482 * sysdeps/x86/bits/wordsize.h: This.
20483
20484 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20485 * sysdeps/x86/bits/huge_vall.h: This.
20486
20487 * sysdeps/i386/bits/select.h: Removed.
20488 * sysdeps/x86_64/bits/select.h: Renamed to ...
20489 * sysdeps/x86/bits/select.h: This.
20490
20491 * sysdeps/i386/bits/setjmp.h: Removed.
20492 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20493 * sysdeps/x86/bits/setjmp.h: This.
20494
20495 * sysdeps/i386/bits/mathdef.h: Removed.
20496 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20497 * sysdeps/x86/bits/mathdef.h: This.
20498
20499 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20500
20501 [BZ #14132]
20502 * include/sys/socket.h (__connect_internal)
20503 (__libc_sa_len_internal): Remove declaration.
20504 (__connect, __libc_sa_len): Declare hidden_proto.
20505 (SA_LEN): Remove use of INTUSE.
20506 * socket/connect.c: Add libc_hidden_def.
20507 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20508 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20509 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20510 alias.
20511 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20512 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20513 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20514 of adding _internal alias.
20515
20516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20517
20518 [BZ #14117]
20519 * sysdeps/i386/bits/link.h: Removed.
20520 * sysdeps/i386/bits/linkmap.h: Likewise.
20521 * sysdeps/x86_64/bits/link.h: Renamed to ...
20522 * sysdeps/x86/bits/link.h: This.
20523 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20524 * sysdeps/x86/bits/linkmap.h: This.
20525
20526 * sysdeps/i386/bits/endian.h: Removed.
20527 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20528 * sysdeps/x86/bits/endian.h: This.
20529
20530 * sysdeps/i386/bits/byteswap.h: Removed.
20531 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20532 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20533 * sysdeps/x86/bits/byteswap.h: This.
20534 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20535 * sysdeps/x86/bits/byteswap-16.h: This.
20536 * sysdeps/i386/Implies: Add x86.
20537 * sysdeps/x86_64/Implies: Likewise.
20538
20539 2012-05-30 David S. Miller <davem@davemloft.net>
20540
20541 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20542 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20543 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20544 (FP_TRAPPING_EXCEPTIONS): Define.
20545 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20546 (FP_TRAPPING_EXCEPTIONS): Define.
20547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20548 subnormals only when inexact has been signalled or underflow
20549 exceptions are enabled.
20550 (_FP_PACK_CANONICAL): Likewise.
20551
20552 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20553
20554 [BZ #14183]
20555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20556 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20557
20558 2012-05-30 Richard Henderson <rth@twiddle.net>
20559
20560 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20561 with #ifndef NOT_IN_libc.
20562
20563 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20564 marked to avoid plt entry.
20565
20566 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20567
20568 [BZ #14112]
20569 * Makeconfig (default-abi): New macro.
20570 (abi-includes): Likewise.
20571 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20572 $(abi-$(default-abi)-lib-soname) for soname if defined.
20573 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20574 abi-variants.
20575 * Makefile (installed-stubs): Likewise.
20576 * include/stubs-biarch.h: Removed.
20577 * scripts/lib-names.awk: Only handle one library at a time.
20578 * scripts/soversions.awk: Remove WORDSIZE support.
20579 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20580 entries.
20581 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20582 Removed.
20583 (syscall-list-default-condition): Likewise.
20584 (syscall-list-default-condition): Likewise.
20585 (syscall-list-includes): Likewise.
20586 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20587 syscall-list-* with abi-*. Handle undefined abi-variants.
20588 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20589 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20590 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20591 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20593 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20594 Removed.
20595 (syscall-list-32-options): Likewise.
20596 (syscall-list-32-condition): Likewise.
20597 (syscall-list-64-options): Likewise.
20598 (syscall-list-64-condition): Likewise.
20599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20600 macro.
20601 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20602 Renamed to ...
20603 (abi-*): This.
20604 (abi-64-ld-soname): New macro.
20605 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20606 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20607 Renamed to ...
20608 (abi-*): This.
20609 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20610 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20611
20612 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20613
20614 * sysdeps/unix/sysv/linux/kernel-features.h
20615 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20616 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20617 include <kernel-features.h>.
20618 [!__NR_ftruncate64]: Remove conditional code.
20619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20620 [__NR_ftruncate64]: Make code unconditional.
20621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20622 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20623 include <kernel-features.h>.
20624 [!__NR_ftruncate64]: Remove conditional code.
20625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20626 [__NR_ftruncate64]: Make code unconditional.
20627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20629 include <kernel-features.h>.
20630 [!__NR_ftruncate64]: Remove conditional code.
20631 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20632 [__NR_ftruncate64]: Make code unconditional.
20633 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20635 include <kernel-features.h>.
20636 [!__NR_ftruncate64]: Remove conditional code.
20637 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20638 [__NR_ftruncate64]: Make code unconditional.
20639 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20640
20641 * configure.in (libc_cv_fpie): Weaken to a compile test using
20642 LIBC_TRY_CC_OPTION.
20643 * configure: Regenerated.
20644
20645 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20646
20647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20651 Refreshed.
20652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20658 Refreshed.
20659
20660 2012-05-27 David S. Miller <davem@davemloft.net>
20661
20662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20663 (___Q_zero): New.
20664 (__Q_simulate_exceptions): Return void. Change to simulate
20665 exceptions by writing into the %fsr.
20666 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20667 (__Qp_handle_exceptions): Likewise.
20668 (numbers): Delete.
20669 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20670 __Qp_handle_exceptions.
20671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20672 __Qp_handle_exceptions.
20673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20674 as unused and give dummy FP_RND_NEAREST initializer.
20675 (FP_INHIBIT_RESULTS): Define.
20676 (___Q_simulate_exceptions): Update declaration.
20677 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20678 formatting.
20679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20680 as unused and give dummy FP_RND_NEAREST initializer.
20681 (__Qp_handle_exceptions): Update declaration.
20682 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20683 formatting.
20684
20685 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20686
20687 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20688 the temporary FPU control word.
20689 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20690 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20692 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20693 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20694 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20695 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20697 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20698 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20699 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20700
20701 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20702
20703 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20704 fields.
20705
20706 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20707
20708 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20709 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20711 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20712 Likewise.
20713 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20714 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20715 Likewise.
20716
20717 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20718
20719 * po/h.po: Update from translation team.
20720
20721 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20722
20723 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20724
20725 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20726 handling of denormals.
20727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20728 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20729 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20730 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20734 Likewise.
20735
20736 2012-05-26 Marek Polacek <polacek@redhat.com>
20737
20738 [BZ #14152]
20739 * math/libm-test.inc (fma_test): Don't always expect underflow
20740 exception.
20741
20742 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20743
20744 [BZ #12416]
20745 * elf/tst-execstack.c: Include stackinfo.h.
20746 (do_test): Adjust test case to ensure that pthread_getattr_np
20747 behaviour remains the same after marking stack executable.
20748
20749 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20750
20751 * sysdeps/unix/sysv/linux/kernel-features.h
20752 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20753 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20754 kernel-features.h.
20755 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20756 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20757 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20758 kernel-features.h.
20759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20761
20762 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * configure.in: Define the default includes to being none.
20765 * configure: Regenerated.
20766
20767 2012-05-25 Roland McGrath <roland@hack.frob.com>
20768
20769 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20770 * sysdeps/x86_64/setjmp.S: Likewise.
20771 * sysdeps/i386/bsd-setjmp.S: Likewise.
20772 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20773 * sysdeps/i386/setjmp.S: Likewise.
20774 * sysdeps/i386/__longjmp.S: Likewise.
20775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20776 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20777
20778 * include/stap-probe.h: New file.
20779 * configure.in: Handle --enable-systemtap.
20780 * configure: Regenerated.
20781 * config.h.in (USE_STAP_PROBE): New #undef.
20782 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20783 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20784 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20785
20786 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20787
20788 [BZ #13717]
20789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20790 to 2.4.0 where earlier.
20791 * sysdeps/unix/sysv/linux/configure: Regenerated.
20792 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20793 <kernel-features.h>.
20794 [__ASSUME_32BITUIDS]: Make code unconditional.
20795 [!__ASSUME_32BITUIDS]: Remove conditional code.
20796 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20797 <kernel-features.h>.
20798 [__ASSUME_32BITUIDS]: Make code unconditional.
20799 [!__ASSUME_32BITUIDS]: Remove conditional code.
20800 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20801 [__ASSUME_32BITUIDS]: Make code unconditional.
20802 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20803 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
20812 <kernel-features.h>.
20813 [__ASSUME_32BITUIDS]: Make code unconditional.
20814 [!__ASSUME_32BITUIDS]: Remove conditional code.
20815 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20816 <kernel-features.h>.
20817 [__ASSUME_32BITUIDS]: Make code unconditional.
20818 [!__ASSUME_32BITUIDS]: Remove conditional code.
20819 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20820 <kernel-features.h>.
20821 [__ASSUME_32BITUIDS]: Make code unconditional.
20822 [!__ASSUME_32BITUIDS]: Remove conditional code.
20823 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20824 <kernel-features.h>.
20825 [__ASSUME_32BITUIDS]: Make code unconditional.
20826 [!__ASSUME_32BITUIDS]: Remove conditional code.
20827 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20828 <kernel-features.h>.
20829 [__ASSUME_32BITUIDS]: Make code unconditional.
20830 [!__ASSUME_32BITUIDS]: Remove conditional code.
20831 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20832 <kernel-features.h>.
20833 [__ASSUME_32BITUIDS]: Make code unconditional.
20834 [!__ASSUME_32BITUIDS]: Remove conditional code.
20835 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20836 <kernel-features.h>.
20837 [__ASSUME_32BITUIDS]: Make code unconditional.
20838 [!__ASSUME_32BITUIDS]: Remove conditional code.
20839 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20840 <kernel-features.h>.
20841 [__ASSUME_32BITUIDS]: Make code unconditional.
20842 [!__ASSUME_32BITUIDS]: Remove conditional code.
20843 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20844 <kernel-features.h>.
20845 [__NR_setresgid] (__setresgid): Do not declare.
20846 [__ASSUME_32BITUIDS]: Make code unconditional.
20847 [!__ASSUME_32BITUIDS]: Remove conditional code.
20848 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20849 <kernel-features.h>.
20850 [__NR_setresuid] (__setresuid): Do not declare.
20851 [__ASSUME_32BITUIDS]: Make code unconditional.
20852 [!__ASSUME_32BITUIDS]: Remove conditional code.
20853 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
20862 <kernel-features.h>.
20863 [__ASSUME_32BITUIDS]: Make code unconditional.
20864 [!__ASSUME_32BITUIDS]: Remove conditional code.
20865 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20866 <kernel-features.h>.
20867 [__ASSUME_32BITUIDS]: Make code unconditional.
20868 [!__ASSUME_32BITUIDS]: Remove conditional code.
20869 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20870 <kernel-features.h>.
20871 [__ASSUME_32BITUIDS]: Make code unconditional.
20872 [!__ASSUME_32BITUIDS]: Remove conditional code.
20873 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20874 <kernel-features.h>.
20875 [__ASSUME_32BITUIDS]: Make code unconditional.
20876 [!__ASSUME_32BITUIDS]: Remove conditional code.
20877 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20878 <kernel-features.h>.
20879 [__ASSUME_32BITUIDS]: Make code unconditional.
20880 [!__ASSUME_32BITUIDS]: Remove conditional code.
20881 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20882 <kernel-features.h>.
20883 [__ASSUME_32BITUIDS]: Make code unconditional.
20884 [!__ASSUME_32BITUIDS]: Remove conditional code.
20885 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20886 <kernel-features.h>.
20887 [__ASSUME_32BITUIDS]: Make code unconditional.
20888 [!__ASSUME_32BITUIDS]: Remove conditional code.
20889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20890 <kernel-features.h>.
20891 [__ASSUME_32BITUIDS]: Make code unconditional.
20892 [!__ASSUME_32BITUIDS]: Remove conditional code.
20893 * sysdeps/unix/sysv/linux/kernel-features.h
20894 (__ASSUME_SETRESUID_SYSCALL): Remove.
20895 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20896 (__ASSUME_32BITUIDS): Likewise.
20897 (__ASSUME_LDT_WORKS): Likewise.
20898 (__ASSUME_O_DIRECTORY): Likewise.
20899 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20900 architecture but not kernel version.
20901 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20902 (__ASSUME_MMAP2_SYSCALL): Likewise.
20903 (__ASSUME_STAT64_SYSCALL): Likewise.
20904 (__ASSUME_IPC64): Likewise.
20905 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20906 <kernel-features.h>.
20907 [__ASSUME_32BITUIDS]: Make code unconditional.
20908 [!__ASSUME_32BITUIDS]: Remove conditional code.
20909 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20910 <kernel-features.h>.
20911 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20912 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20913 132096]: Remove conditional code.
20914 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20916 <kernel-features.h>.
20917 [__ASSUME_32BITUIDS]: Make code unconditional.
20918 [!__ASSUME_32BITUIDS]: Remove conditional code.
20919 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20920 <kernel-features.h>.
20921 [__ASSUME_32BITUIDS]: Make code unconditional.
20922 [!__ASSUME_32BITUIDS]: Remove conditional code.
20923 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20924 <kernel-features.h>.
20925 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20926 unconditional.
20927 (__setresgid): Do not declare.
20928 [__ASSUME_32BITUIDS]: Make code unconditional.
20929 [!__ASSUME_32BITUIDS]: Remove conditional code.
20930 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20931 <kernel-features.h>.
20932 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20933 unconditional.
20934 (__setresuid): Do not declare.
20935 [__ASSUME_32BITUIDS]: Make code unconditional.
20936 [!__ASSUME_32BITUIDS]: Remove conditional code.
20937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20938 <kernel-features.h>.
20939 [__ASSUME_32BITUIDS]: Make code unconditional.
20940 [!__ASSUME_32BITUIDS]: Remove conditional code.
20941 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20942 <kernel-features.h>.
20943 [__ASSUME_32BITUIDS]: Make code unconditional.
20944 [!__ASSUME_32BITUIDS]: Remove conditional code.
20945
20946 2012-05-25 Richard Henderson <rth@twiddle.net>
20947
20948 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20949 dl_hwcap to ifunc resolver.
20950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20951 elf_ifunc_invoke.
20952 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20953 dl_hwcap to ifunc resolver.
20954 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20955
20956 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20957
20958 [BZ #14153]
20959 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20960 for |x| <= 2**-26, not 2**-57.
20961 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20962 exception.
20963
20964 2012-05-24 Jeff Law <law@redhat.com>
20965
20966 * stdio-common/Makefile (tests): Add bug25.
20967 * stdio-common/bug25.c: New test.
20968
20969 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20970
20971 [BZ #13576]
20972 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20973 multiple of MALLOC_ALIGNMENT in size.
20974 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20975
20976 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20977
20978 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20979 Require >= 256.
20980 (FILENAME_MAX): Use macro-int-constant.
20981 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20982 (_IOFBF): Use macro-int-constant.
20983 (_IOLBF): Likewise.
20984 (_IONBF): Likewise.
20985 (SEEK_CUR): Likewise.
20986 (SEEK_END): Likewise.
20987 (SEEK_SET): Likewise.
20988 (TMP_MAX): Likewise.
20989 (EOF): Use macro-int-constant. Require < 0.
20990 (NULL): Use macro-constant. Require == 0.
20991 (stdin): Require type to be FILE *.
20992 (stdout): Likewise.
20993 (stderr): Likewise.
20994 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20995 macro-int-constant.
20996 (EXIT_SUCCESS): Likewise.
20997 (NULL): Use macro-constant. Require == 0.
20998 (RAND_MAX): Use macro-int-constant.
20999 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21000 [C99-based standards] (strtof): Require function.
21001 [C99-based standards] (strtold): Likewise.
21002 [C99-based standards] (strtoll): Likewise.
21003 [C99-based standards] (strtoull): Likewise.
21004 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21005 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21006 [ISO || ISO99 || ISO11] (math.h): Likewise.
21007 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21010
21011 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21012
21013 [BZ #14132]
21014 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21015 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21016 * intl/dgettext.c (DCGETTEXT): Likewise.
21017 * intl/gettext.c (DCGETTEXT): Likewise.
21018 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21019 * posix/regex_internal.h (gettext): Likewise.
21020 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21021 Remove declaration.
21022 * include/argz.h (__argz_count_internal)
21023 (__argz_stringify_internal): Remove declaration.
21024 (__argz_count, __argz_stringify): Declare hidden proto.
21025 * intl/dcgettext.c: Remove use of INTDEF.
21026 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21027 * string/argz-stringify.c: Likewise.
21028 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21029 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21030 Declare hidden proto.
21031 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21032 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21033 Declare hidden proto.
21034 * include/stdio.h (__asprintf_internal): Don't declare.
21035 (__asprintf): Don't define as macro. Declare hidden proto.
21036 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21037 (__fsetlocking): Declare hidden proto.
21038 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21039 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21040 hidden proto.
21041 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21042 (_IO_setlinebuf): Remove use of INTUSE.
21043 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21044 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21045 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21046 Remove declaration.
21047 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21048 (_IO_do_flush): Remove use of INTUSE.
21049 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21050 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21051 (_IO_adjust_column, _IO_least_wmarker)
21052 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21053 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21054 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21055 (_IO_default_doallocate, _IO_wdefault_doallocate)
21056 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21057 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21058 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21059 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21060 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21061 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21062 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21063 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21064 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21065 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21066 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21067 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21068 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21069 proto.
21070 (_IO_flush_all_internal, _IO_adjust_column_internal)
21071 (_IO_default_uflow_internal, _IO_default_finish_internal)
21072 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21073 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21074 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21075 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21076 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21077 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21078 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21079 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21080 (_IO_file_close_internal, _IO_file_close_it_internal)
21081 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21082 (_IO_file_init_internal, _IO_file_attach_internal)
21083 (_IO_file_fopen_internal, _IO_file_read_internal)
21084 (_IO_file_sync_internal, _IO_file_seek_internal)
21085 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21086 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21087 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21088 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21089 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21090 (_IO_list_all_internal, _IO_link_in_internal)
21091 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21092 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21093 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21094 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21095 (_IO_do_write_internal, _IO_padn_internal)
21096 (_IO_getline_info_internal, _IO_getline_internal)
21097 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21098 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21099 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21100 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21101 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21102 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21103 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21104 with libc_hidden_ver, remove use of INTUSE.
21105 * libio/genops.c: Likewise.
21106 * libio/freopen.c: Likewise.
21107 * libio/freopen64.c: Likewise.
21108 * libio/iofclose.c: Likewise.
21109 * libio/iofdopen.c: Likewise.
21110 * libio/iofflush.c: Likewise.
21111 * libio/iofflush_u.c: Likewise.
21112 * libio/iofgets.c: Likewise.
21113 * libio/iofgets_u.c: Likewise.
21114 * libio/iofopen.c: Likewise.
21115 * libio/iofopncook.c: Likewise.
21116 * libio/iofread.c: Likewise.
21117 * libio/iofread_u.c: Likewise.
21118 * libio/ioftell.c: Likewise.
21119 * libio/iofwrite.c: Likewise.
21120 * libio/iogetline.c: Likewise.
21121 * libio/iogets.c: Likewise.
21122 * libio/iogetwline.c: Likewise.
21123 * libio/iopadn.c: Likewise.
21124 * libio/iopopen.c: Likewise.
21125 * libio/ioseekoff.c: Likewise.
21126 * libio/ioseekpos.c: Likewise.
21127 * libio/iosetbuffer.c: Likewise.
21128 * libio/iosetvbuf.c: Likewise.
21129 * libio/ioungetc.c: Likewise.
21130 * libio/ioungetwc.c: Likewise.
21131 * libio/iovdprintf.c: Likewise.
21132 * libio/iovsprintf.c: Likewise.
21133 * libio/iovsscanf.c: Likewise.
21134 * libio/memstream.c: Likewise.
21135 * libio/obprintf.c: Likewise.
21136 * libio/oldfileops.c: Likewise.
21137 * libio/oldiofclose.c: Likewise.
21138 * libio/oldiofdopen.c: Likewise.
21139 * libio/oldiofopen.c: Likewise.
21140 * libio/oldiopopen.c: Likewise.
21141 * libio/oldstdfiles.c: Likewise.
21142 * libio/putc.c: Likewise.
21143 * libio/setbuf.c: Likewise.
21144 * libio/setlinebuf.c: Likewise.
21145 * libio/stdfiles.c: Likewise.
21146 * libio/strops.c: Likewise.
21147 * libio/vasprintf.c: Likewise.
21148 * libio/vscanf.c: Likewise.
21149 * libio/vsnprintf.c: Likewise.
21150 * libio/vswprintf.c: Likewise.
21151 * libio/wfiledoalloc.c: Likewise.
21152 * libio/wfileops.c: Likewise.
21153 * libio/wgenops.c: Likewise.
21154 * libio/wmemstream.c: Likewise.
21155 * libio/wstrops.c: Likewise.
21156 * libio/__fpurge.c: Likewise.
21157 * libio/__fsetlocking.c: Likewise.
21158 * assert/assert.c: Likewise.
21159 * debug/fgets_chk.c: Likewise.
21160 * debug/fgets_u_chk.c: Likewise.
21161 * debug/fread_chk.c: Likewise.
21162 * debug/fread_u_chk.c: Likewise.
21163 * debug/gets_chk.c: Likewise.
21164 * debug/obprintf_chk.c: Likewise.
21165 * debug/vasprintf_chk.c: Likewise.
21166 * debug/vdprintf_chk.c: Likewise.
21167 * debug/vsnprintf_chk.c: Likewise.
21168 * debug/vsprintf_chk.c: Likewise.
21169 * malloc/mtrace.c: Likewise.
21170 * misc/error.c: Likewise.
21171 * misc/syslog.c: Likewise.
21172 * stdio-common/asprintf.c: Likewise.
21173 * stdio-common/fxprintf.c: Likewise.
21174 * stdio-common/getw.c: Likewise.
21175 * stdio-common/isoc99_fscanf.c: Likewise.
21176 * stdio-common/isoc99_scanf.c: Likewise.
21177 * stdio-common/isoc99_vfscanf.c: Likewise.
21178 * stdio-common/isoc99_vscanf.c: Likewise.
21179 * stdio-common/isoc99_vsscanf.c: Likewise.
21180 * stdio-common/printf-prs.c: Likewise.
21181 * stdio-common/printf_fp.c: Likewise.
21182 * stdio-common/printf_fphex.c: Likewise.
21183 * stdio-common/printf_size.c: Likewise.
21184 * stdio-common/putw.c: Likewise.
21185 * stdio-common/scanf.c: Likewise.
21186 * stdio-common/sprintf.c: Likewise.
21187 * stdio-common/tmpfile.c: Likewise.
21188 * stdio-common/vfprintf.c: Likewise.
21189 * stdio-common/vfscanf.c: Likewise.
21190 * stdlib/strfmon_l.c: Likewise.
21191 * sunrpc/openchild.c: Likewise.
21192 * sunrpc/xdr_stdio.c: Likewise.
21193 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21194 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21195
21196 2012-05-24 Roland McGrath <roland@hack.frob.com>
21197
21198 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21199
21200 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21201 in the third column, to generate for the shared library an IFUNC
21202 that uses _dl_vdso_vsym.
21203 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21204 * Makeconfig (object-suffixes-noshared): New variable.
21205
21206 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21207 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21208 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21209 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21210
21211 [BZ #14132]
21212 * include/sys/time.h (__gettimeofday): Remove macro.
21213 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21214 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21215 Remove INTDEF.
21216 (__gettimeofday): Add libc_hidden_def.
21217 (gettimeofday): Add libc_hidden_weak.
21218 * sysdeps/mach/gettimeofday.c: Likewise.
21219 * sysdeps/posix/gettimeofday.c: Likewise.
21220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21221 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21223 (__gettimeofday_internal): Remove strong_alias.
21224 (__gettimeofday): Add libc_hidden_def.
21225 (gettimeofday): Add libc_hidden_weak.
21226 * sysdeps/unix/syscalls.list (gettimeofday):
21227 Remove __gettimeofday_internal alias.
21228
21229 2012-05-24 Daniel Jacobowitz <drow@false.org>
21230 H.J. Lu <hongjiu.lu@intel.com>
21231
21232 [BZ #12495]
21233 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21234 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21235 (largebin_index_32_big): New.
21236 (largebin_index): Use it for 16-byte alignment.
21237 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21238 correction with front_misalign.
21239
21240 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21244 Likewise.
21245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21246 Likewise.
21247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21248 Likewise.
21249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21250 Likewise.
21251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21252 Likewise.
21253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21254 Likewise.
21255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21256 Likewise.
21257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21258 Likewise.
21259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21260 Likewise.
21261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21262 Likewise.
21263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21264 Likewise.
21265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21266 Likewise.
21267
21268 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21269 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21270
21271 2012-05-24 Joseph Myers <joseph@codesourcery.com>
21272
21273 [BZ #10846]
21274 [BZ #14036]
21275 * math/libm-test.inc (exp_test): Add test from bug 14036.
21276 (pow_test): Add test from bug 10846.
21277
21278 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21279 and other flags.
21280 (special_function): Do not include flags in test name.
21281 (parse_args): Likewise.
21282 * sysdeps/i386/fpu/libm-test-ulps: Update.
21283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21287
21288 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21289 exceptions.
21290 * math/libm-test.inc ("Philosophy"): Update comment about
21291 exception testing.
21292 (UNDERFLOW_EXCEPTION): New macro.
21293 (UNDERFLOW_EXCEPTION_OK): Likewise.
21294 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21295 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21296 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21297 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21298 (INVALID_EXCEPTION_OK): Update value.
21299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21300 (OVERFLOW_EXCEPTION_OK): Likewise.
21301 (IGNORE_ZERO_INF_SIGN): Likewise.
21302 (test_exceptions): Handle underflow exceptions.
21303 (acos_test): Update for underflow exception expectations.
21304 (cexp_test): Likewise.
21305 (clog_test): Likewise.
21306 (clog10_test): Likewise.
21307 (csqrt_test): Likewise.
21308 (ctan_test): Likewise.
21309 (ctanh_test): Likewise.
21310 (exp_test): Likewise.
21311 (exp10_test): Likewise.
21312 (exp2_test): Likewise.
21313 (expm1_test): Likewise.
21314 (fma_test): Likewise.
21315 (j0_test): Likewise.
21316 (jn_test): Likewise.
21317 (nexttoward_test): Likewise.
21318 (pow_test): Likewise.
21319 (scalbn_test): Likewise.
21320 (scalbln_test): Likewise.
21321 (tan_test): Likewise.
21322 (y1_test): Likewise.
21323 * sysdeps/i386/fpu/libm-test-ulps: Update.
21324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21325
21326 2012-05-23 David S. Miller <davem@davemloft.net>
21327
21328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21329 (__libc_sigaction): Remove unused local variables.
21330
21331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21334
21335 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21336
21337 mktime: avoid signed integer overflow
21338 * time/mktime.c (__mktime_internal): Do not mishandle the case
21339 where diff == INT_MIN.
21340
21341 mktime: simplify computation of average
21342 * time/mktime.c (ranged_convert): Use new time_t_avg function
21343 instead of rolling our own (probably-slower) code.
21344
21345 mktime: do not assume signed right shift propagates sign bit
21346 * time/mktime.c (isdst_differ): New static function.
21347 (__mktime_internal): No need to normalize tm_isdst now.
21348 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21349 tm_isdst values.
21350
21351 mktime: merge another wrapv change from gnulib
21352 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21353 from some compilers.
21354
21355 mktime: remove incorrect attempt at unusual arithmetics
21356 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21357 The code didn't really work on such machines anyway.
21358 (TYPE_MINIMUM): Assume two's complement.
21359 (twos_complement_arithmetic): Verify that long_int and time_t
21360 are two's complement (or unsigned, in the latter case).
21361
21362 mktime: check signed shifts on long_int and time_t, too
21363 * time/mktime.c (SHR): Check that shifts work as desired
21364 on the types long_int and time_t too, as SHR is used on
21365 such types.
21366
21367 mktime: do not assume 'long' is wide enough
21368 * time/mktime.c (verify): Move decl up.
21369 (long_int): New type.
21370 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21371 to remove assumption in the code that 'long' is wide enough to
21372 store year values. This assumption is not true on x32 and on
21373 some non-glibc platforms.
21374
21375 mktime: merge wrapv change from gnulib
21376 * time/mktime.c (WRAPV): New macro.
21377 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21378 (guess_time_tm, __mktime_internal): Do not assume that signed
21379 integer overflow wraps around; modern compilers generate code
21380 where this assumption is no longer valid.
21381
21382 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21383
21384 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21385 Replace "jmp L(pseudo_end)" with "ret".
21386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21387 Likewise.
21388
21389 2012-05-23 Andreas Jaeger <aj@suse.de>
21390
21391 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21392 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21393
21394 2012-05-23 Andreas Jaeger <aj@suse.de>
21395 Maximilian Attems <max@stro.at>
21396
21397 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21398 New macros.
21399
21400 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21401
21402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21403 code so that pseudo_end is just ret and the stack pointer is
21404 correct also for static library in error case.
21405
21406 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21407
21408 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21409 move to syscalls.list.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21414
21415 * manual/install.texi (Running make install): Do not mention Linux
21416 kernel version for which pt_chown is not needed.
21417 (Linux): Do not mention problems with nscd with 2.0 kernels.
21418 * INSTALL: Regenerated.
21419
21420 2012-05-23 Andreas Jaeger <aj@suse.de>
21421
21422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21423 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21424 macro.
21425 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21427 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21429 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21433 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21435 * sysdeps/unix/sysv/linux/bits/in.h
21436 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21437
21438 2012-05-22 Roland McGrath <roland@hack.frob.com>
21439
21440 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21441 (PREPARE_VERSION): Just use assert instead, it will be elided
21442 under [NDEBUG] anyway.
21443
21444 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21445
21446 * sysdeps/unix/sysv/linux/Makefile: Include
21447 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21448 (sysdep_routines): Remove sysctl.
21449 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21450 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21452 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21453 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21454
21455 2012-05-22 Andreas Jaeger <aj@suse.de>
21456
21457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21458 that pseudo_end is just ret and the stack pointer is correct also
21459 for static library in error case.
21460
21461 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21462
21463 [BZ #14122]
21464 * nss/nsswitch.c (defconfig_entries): New variable.
21465 (__nss_database_lookup): Don't leak defconfig entries.
21466 (nss_parse_service_list): Don't leak on error paths.
21467 (free_database_entries): New function.
21468 (free_defconfig): New function.
21469 (free_mem): Move common code to free_database_entries.
21470
21471 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21472
21473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21474 Add arch_prctl.
21475 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21476
21477 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21478 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21480 New macro.
21481 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21482 (INTERNAL_SYSCALL_TYPES): Likewise.
21483 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21484 (LOAD_REGS_TYPES_[1-6]): Likewise.
21485 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21486 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21487
21488 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21489
21490 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21491 copysignl for GLIBC_2_0.
21492 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21493 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21495 logbl for GLIBC_2_0.
21496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21497 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21498
21499 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21500
21501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21503
21504 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21505 Use "neg %eax".
21506
21507 * time/mktime.c: Update copyright years.
21508
21509 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21510
21511 mktime: merge comment-quoting-style change from gnulib
21512 * time/mktime.c: Quote 'like this' in comments.
21513 The GNU coding standards suggest that we no longer quote `like this',
21514 as "`" and "'" are typically rendered asymmetrically nowadays.
21515 The typical gnulib style is to quote 'like this' when quoting
21516 code, and "like this" when quoting English.
21517
21518 * time/mktime.c (compile-command): Add "-I.".
21519
21520 mktime: merge mktime-internal.h change from gnulib
21521 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21522
21523 mktime: merge time_r change from gnulib
21524 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21525
21526 mktime: merge DEBUG change from gnulib
21527 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21528 case system <time.h> has a #define.
21529
21530 mktime: merge <sys/types.h> change from gnulib
21531 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21532 since <time.t> is now guaranteed to define time_t.
21533
21534 mktime: merge HAVE_CONFIG_H change from gnulib
21535 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21536
21537 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21538
21539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21540 Use "neg %eax".
21541
21542 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21543 __rlim_t cast.
21544 (struct rusage): Use anonymous union to pad each field to
21545 __syscall_slong_t.
21546
21547 2012-05-21 David S. Miller <davem@davemloft.net>
21548
21549 * Makefules (o-iterator): Remove .s cases.
21550 (compile-command.s): Delete.
21551 (COMPILE.s): Delete.
21552 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21553
21554 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21555
21556 * configure.in (libc_cv_predef_stack_protector): Only consider
21557 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21558 * configure: Regenerated.
21559
21560 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21563 New macro. Use R*LP on int and pointer.
21564 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21565 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21566 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21567 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21568
21569 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21570 [__WORDSIZE_TIME64_COMPAT32] instead of
21571 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21572 (struct utmp): Likewise.
21573 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21574 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21575 Renamed to ...
21576 (__WORDSIZE_TIME64_COMPAT32): This.
21577 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21578 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21579 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21580 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21581 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21582 (__WORDSIZE_TIME64_COMPAT32): New macro.
21583
21584 2012-05-21 Andreas Jaeger <aj@suse.de>
21585
21586 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21587 only if [SHARED]. Add prototype for __wcschr_ia32.
21588
21589 2012-05-21 Roland McGrath <roland@hack.frob.com>
21590
21591 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21592 of %rbp unmolested in the jmp_buf while mangling the low bits.
21593 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21594 unmolested high bits of %rbp while demangling the low bits.
21595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21596
21597 2012-05-21 Andreas Jaeger <aj@suse.de>
21598
21599 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21600 * sunrpc/svc_simple.c: Use it for registerrpc.
21601 * sunrpc/xcrypt.c: Use it for passwd2des.
21602
21603 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21604
21605 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21606
21607 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21608 Don't define if [__SYSCALL_WORDSIZE != 32].
21609 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21610 New macro.
21611
21612 2012-05-21 Bruno Haible <bruno@clisp.org>
21613 Andreas Jaeger <aj@suse.de>
21614
21615 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21616 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21617 inptr and inend for must_buffer_ch.
21618 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21619 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21620 * stdio-common/Makefile (tests): Remove bug15.
21621 (bug15-ENV): Remove macro.
21622 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21623 anymore.
21624
21625 2012-05-19 Andreas Jaeger <aj@suse.de>
21626 Roland McGrath <roland@hack.frob.com>
21627
21628 * manual/contrib.texi: Completely rewritten. It contains now an
21629 alphabetical list of contributors and their contributions.
21630
21631 2012-05-21 Richard Henderson <rth@twiddle.net>
21632
21633 * misc/getauxval.c (__getauxval): Use unsigned long int.
21634 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21635 (getauxval): Use unsigned long int.
21636
21637 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21638
21639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21640
21641 2012-05-21 Roland McGrath <roland@hack.frob.com>
21642
21643 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21644 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21645 __alignof__ (long double).
21646
21647 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648
21649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21650
21651 2012-05-20 Richard Henderson <rth@twiddle.net>
21652
21653 * misc/getauxval.c: New file.
21654 * misc/sys/auxv.h: New file.
21655 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21656 (routines): Add getauxval.
21657 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21659 * elf/dl-sysdep.c (_dl_auxv): Remove.
21660 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21661 * elf/dl-support.c (_dl_auxv): New variable.
21662 (_dl_aux_init): Initialize it.
21663 * manual/startup.texi (Auxiliary Vector): New node.
21664 * sysdeps/generic/bits/hwcap.h: New file.
21665 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21666 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21667 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21668 * sysdeps/sparc/sysdep.h: ... here. Include it.
21669 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21672 Update.
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21681
21682 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21683
21684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21685
21686 2012-05-19 David S. Miller <davem@davemloft.net>
21687
21688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21689
21690 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21691
21692 [BZ #14123]
21693 * math/s_ccosh.c: Include <float.h>
21694 (__ccosh): Avoid internal overflow calculating sinh and cosh
21695 values before multiplying by sin and cos values.
21696 * math/s_ccoshf.c: Likewise.
21697 * math/s_ccoshl.c: Likewise.
21698 * math/s_csin.c: Likewise.
21699 * math/s_csinf.c: Likewise.
21700 * math/s_csinl.c: Likewise.
21701 * math/s_csinh.c: Likewise.
21702 * math/s_csinhf.c: Likewise.
21703 * math/s_csinhl.c: Likewise.
21704 * math/libm-test.inc (ccos_test): Add more tests.
21705 (ccosh_test): Likewise.
21706 (csin_test): Likewise.
21707 (csinh_test): Likewise.
21708 * sysdeps/i386/fpu/libm-test-ulps: Update.
21709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21710
21711 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21712
21713 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21714 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21715
21716 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21717
21718 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21719
21720 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21721 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21722 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21723 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21724 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21725 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21726 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21727 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21728 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21729 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21730 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21731 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21732 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21733 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21734 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21735 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21736 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21737 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21738 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21739 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21740 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21741 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21742 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21743 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21744 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21745 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21746 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21747 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21748 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21749 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21750 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21751
21752 2012-05-18 Andreas Jaeger <aj@suse.de>
21753
21754 * csu/.gitignore: Delete.
21755
21756 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21757
21758 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21759 (timex): Use __syscall_slong_t.
21760
21761 2012-05-18 Andreas Jaeger <aj@suse.de>
21762 Carlos O'Donell <carlos_odonell@mentor.com>
21763
21764 * manual/install.texi (Configuring and compiling): Update
21765 description about files modified in the source directory.
21766 * INSTALL: Regenerated.
21767
21768 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21771 value. Use "or" to set return value to -1.
21772 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21773 negate return value.
21774
21775 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21776
21777 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21778 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21779 failure if the compiler has Graphite support disabled.
21780 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21781 Likewise.
21782 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21783 CFLAGS-memmove.c): Likewise.
21784 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21785 Likewise.
21786
21787 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21788
21789 * sysdeps/x86_64/x32/_itoa.h: New file.
21790
21791 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21792 getdents system call only if kernel and user dirents have the
21793 same d_ino and d_off.
21794
21795 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21796 LLONG_MAX != LONG_MAX.
21797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21798 (_fitoa_word): Likewise.
21799
21800 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21801 years.
21802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21803 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21804 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21805
21806 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21807 include <bits/wordsize.h>. Check __x86_64__ instead of
21808 __WORDSIZE.
21809 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21810 if __x86_64__ is defined. Use anonymous union on fpstate.
21811
21812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21813 anonymous union.
21814
21815 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21816
21817 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21818 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21820 Refer to _rtld_local_ro instead of _rtld_global_ro.
21821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21822 Likewise.
21823 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21824 Likewise.
21825 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21826 Likewise.
21827 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21828 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21829 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21830
21831 * sysdeps/powerpc/powerpc32/dl-machine.c
21832 (__elf_machine_runtime_setup) [PROF]: Don't reference
21833 _dl_prof_resolve.
21834
21835 2012-05-18 Andreas Jaeger <aj@suse.de>
21836
21837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21838 function only available for GCCs before 3.4 since GCC 3.4
21839 introduced a builtin.
21840 (lrint): Likewise.
21841 (llrintf): Likewise.
21842 (llrint): Likewise.
21843 (fmaxf): Likewise.
21844 (fmax): Likewise.
21845 (fminf): Likewise.
21846 (fmin): Likewise.
21847 (rint): Likewise.
21848 (rintf): Likewise.
21849 (nearbyint): Likewise.
21850 (nearbyintf): Likewise.
21851 (ceil): Likewise.
21852 (ceilf): Likewise.
21853 (floor): Likewise.
21854 (floorf): Likewise.
21855
21856 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21859 on both fields and cast pointer to __syscall_ulong_t.
21860
21861 * bits/types.h (__fsword_t): New type.
21862 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21863 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21865 (__FSWORD_T_TYPE): Likewise.
21866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21867 (__FSWORD_T_TYPE): Likewise.
21868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21869 (__FSWORD_T_TYPE): Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21871 (__FSWORD_T_TYPE): Likewise.
21872 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21873 __SWORD_TYPE with __fsword_t.
21874 (statfs64): Likewise.
21875
21876 2012-05-17 David S. Miller <davem@davemloft.net>
21877
21878 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21879
21880 2012-05-17 Andreas Jaeger <aj@suse.de>
21881
21882 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21883 warning.
21884
21885 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21886
21887 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21888
21889 2012-05-17 Andreas Jaeger <aj@suse.de>
21890
21891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21892 when it is used.
21893
21894 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21895
21896 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21897
21898 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21901 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21902
21903 2012-05-17 Andreas Jaeger <aj@suse.de>
21904 Carlos O'Donell <carlos_odonell@mentor.com>
21905
21906 [BZ #14059]
21907 * sysdeps/x86_64/multiarch/init-arch.h
21908 (bit_YMM_Usable): Rename to...
21909 (bit_AVX_Usable): ... this.
21910 (bit_FMA4_Usable): New macro.
21911 (bit_XMM_state): New macro.
21912 (bit_YMM_state): New macro.
21913 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21914 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21915 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21916 (CPUID_OSXSAVE): New macro.
21917 (CPUID_AVX): New macro.
21918 (CPUID_FMA4): New macro.
21919 (index_YMM_Usable): Rename to...
21920 (index_AVX_Usable): ... this.
21921 (HAS_AVX): Use HAS_ARCH_FEATURE.
21922 (HAS_FMA4): Likewise.
21923 (HAS_YMM_USABLE): Remove.
21924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21925 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21926 are present.
21927 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21928 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21929 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21930 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21931 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21932
21933 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21934
21935 * math/libm-test.c: Support platforms without multiple rounding modes.
21936 * math/bug-nextafter.c: Support platforms without FP exceptions.
21937 * math/bug-nexttoward.c: Likewise.
21938 * math/test-fenv.c: Likewise.
21939 * math/test-misc.c: Likewise.
21940 * stdlib/bug-getcontext.c: Likewise.
21941
21942 2012-05-17 Andreas Jaeger <aj@suse.de>
21943
21944 * manual/examples/search.c (critter_cmp): Change signature to
21945 avoid warnings.
21946 * manual/string.texi (Collation Functions): Likewise.
21947
21948 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21949
21950 * bits/types.h: Fold copyright years.
21951 * bits/typesizes.h: Likewise.
21952 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21956 * time/time.h: Likewise.
21957
21958 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21959
21960 [BZ #208]
21961 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21962 in instead of returning them. Return void.
21963 (__libc_mallinfo): Accumulate over all arenas.
21964 (__malloc_stats): Adjust for change in int_mallinfo interface.
21965
21966 2012-05-16 Roland McGrath <roland@hack.frob.com>
21967
21968 [BZ #10375]
21969 * configure.in (NM): Add AC_CHECK_TOOL for it.
21970 (libc_extra_cflags): New substituted variable.
21971 Check for -fstack-protector being used implicitly.
21972 * configure: Regenerated.
21973 * config.make.in (config-extra-cflags): New variable,
21974 gets @libc_extra_cflags@.
21975 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21976
21977 [BZ #10375]
21978 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21979 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21980 * configure: Regenerated.
21981 * config.make.in (CPPUNDEFS): New substituted variable.
21982 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21983 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21984 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21985
21986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21989 (mq_attr): Use __syscall_slong_t.
21990
21991 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21994 Check __x86_64__ instead of __WORDSIZE.
21995 (_STAT_VER_LINUX): Likewise.
21996 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21997 __syscall_ulong_t and __syscall_slong_t.
21998 (stat64): Likewise.
21999
22000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22003
22004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22005
22006 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22007
22008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22009
22010 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22011 __syscall_ulong_t.
22012
22013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22014 include <bits/wordsize.h>. Check __x86_64__ instead of
22015 __WORDSIZE.
22016 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22017 defined.
22018 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22019
22020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22021 include <bits/wordsize.h>. Check __x86_64__ instead of
22022 __WORDSIZE.
22023 (user_regs_struct): Use "__extension__ unsigned long long"
22024 instead of "unsigned long" if __x86_64__ is defined.
22025 (user): Likewise. Pad after pointer field if __ILP32__ is
22026 defined.
22027
22028 2012-05-16 Joseph Myers <joseph@codesourcery.com>
22029
22030 * configure.in (makeinfo): Require version 4.5 or later. Allow
22031 versions 5 to 9.
22032 * configure: Regenerated.
22033 * manual/install.texi (texinfo): Increase version requirement to
22034 4.5 or later.
22035 * INSTALL: Regenerated.
22036
22037 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22038
22039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22040
22041 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22042
22043 * sysdeps/x86_64/x32/ffs.c: New file.
22044
22045 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22046 __syscall_ulong_t.
22047 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22048 defined. Use __syscall_ulong_t.
22049 (shminfo): Use __syscall_ulong_t.
22050 (shm_info): Likewise.
22051
22052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22053 __syscall_ulong_t.
22054
22055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22056 <bits/wordsize.h>.
22057 (msgqnum_t): Use __syscall_ulong_t.
22058 (msglen_t): Likewise.
22059 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22060 __syscall_ulong_t.
22061
22062 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22063 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22064
22065 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22066
22067 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22068 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22069
22070 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22071 __syscall_slong_t.
22072
22073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22074 include <bits/wordsize.h>. Check __x86_64__ instead of
22075 __WORDSIZE.
22076
22077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22078 "unsigned long long int" if __x86_64__ is defined.
22079 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22080
22081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22082 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22083 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22084
22085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22086 <stdint.h>.
22087 (GET_PC): Cast to uintptr_t first.
22088 (GET_FRAME): Likewise.
22089 (GET_STACK): Likewise.
22090
22091 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22097 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22098 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22099 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22104 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22109 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22110 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22120
22121 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22122
22123 * Makerules (+depfiles): Also collect depfiles from .oS in
22124 $(extra-objs).
22125 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22126 .oS, $(libnldbl-routines)).
22127
22128 * Makerules (native-compile-mkdep-flags): Define.
22129 * sunrpc/Makefile (extra-objs): Add $(addprefix
22130 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22131 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22132 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22133 calling $(make-target-directory).
22134
22135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * bits/types.h (__snseconds_t): Removed.
22138 * time/time.h (struct timespec): Replace __snseconds_t with
22139 __syscall_slong_t.
22140 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22141 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22142 Likewise.
22143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22144 (__SNSECONDS_T_TYPE): Likewise.
22145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22146 (__SNSECONDS_T_TYPE): Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22148 (__SNSECONDS_T_TYPE): Likewise.
22149
22150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22151
22152 * sysdeps/mach/hurd/bits/typesizes.h
22153 (__SYSCALL_SLONG_TYPE): New macro.
22154 (__SYSCALL_ULONG_TYPE): Likewise.
22155
22156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22157
22158 * bits/types.h (__syscall_slong_t): New type.
22159 (__syscall_ulong_t): Likewise.
22160
22161 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22162 (__SYSCALL_ULONG_TYPE): Likewise.
22163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22164 (__SYSCALL_SLONG_TYPE): Likewise.
22165 (__SYSCALL_ULONG_TYPE): Likewise.
22166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22167 (__SYSCALL_SLONG_TYPE): Likewise.
22168 (__SYSCALL_ULONG_TYPE): Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22170 (__SYSCALL_SLONG_TYPE): Likewise.
22171 (__SYSCALL_ULONG_TYPE): Likewise.
22172
22173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22176 Add sigaltstack-offsets.sym.
22177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22178 <sigaltstack-offsets.h>.
22179 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22180 longjmp_msg pointer.
22181 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22182 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22183 signal stack.
22184 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22185
22186 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22187
22188 * elf/stackguard-macros.h: Remove file.
22189 * sysdeps/generic/stackguard-macros.h: New file.
22190 * sysdeps/i386/stackguard-macros.h: Likewise.
22191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22197 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22198 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22199 <elf/stackguard-macros.h>.
22200
22201 [BZ #14109]
22202 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22203 __aligned__ in attribute.
22204 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22205 (gregset_t): Likewise.
22206
22207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22208
22209 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22210 * sysdeps/x86_64/64/Implies-after: Here. New file.
22211 * sysdeps/x86_64/x32/Implies-after: New file.
22212
22213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22214
22215 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22216 and access return value for _dl_profile_fixup. Use R10_LP to
22217 load frame size.
22218
22219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22222
22223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22224
22225 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22226 * sysdeps/x86_64/x32/sysdep.h: New file.
22227
22228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22229
22230 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22231 * sysdeps/x86_64/setjmp.S: Likewise.
22232
22233 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22234
22235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22237 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22238 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22239 remove unused global constant.
22240
22241 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22242
22243 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22244 include of <not-cancel.h>.
22245
22246 2012-05-15 Roland McGrath <roland@hack.frob.com>
22247
22248 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22249
22250 2012-05-15 Jeff Law <law@redhat.com>
22251 Andreas Jaeger <aj@suse.de>
22252
22253 [BZ #13594]
22254 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22255 out from...
22256 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22257 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22258 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22259 code changing __hst_map_handle.map.
22260
22261 2012-05-15 Roland McGrath <roland@hack.frob.com>
22262
22263 * configure.in (sysnames): Look for Implies-before and Implies-after
22264 files.
22265 * configure: Regenerated.
22266
22267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22270 8-byte data alignment with LP_SIZE alignment.
22271
22272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22275 into R10_LP.
22276
22277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22280
22281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22284 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22286 Likewise.
22287 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22288
22289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22290
22291 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22292 (stackinfo_sub_sp): Likewise.
22293
22294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22295
22296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22297 RAX_LP.
22298
22299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22300
22301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22302 into R*_LP.
22303
22304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22305
22306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22307 sizes into R*_LP.
22308
22309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22312
22313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22314
22315 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22316 into R11_LP and load __x86_64_shared_cache_size_half into
22317 R8_LP.
22318
22319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22322 R8_LP.
22323
22324 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22325
22326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22327 logb for POWER7.
22328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22329 logbf for POWER7.
22330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22331 logbl for POWER7.
22332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22333 powerpc32/power7/fpu/s_logb.c via #include.
22334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22335 powerpc32/power7/fpu/s_logbf.c via #include.
22336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22337 powerpc32/power7/fpu/s_logbl.c via #include.
22338
22339 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22340
22341 * README.libm: Remove file.
22342
22343 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22344
22345 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22346 count for x32. Use R*_LP and omit operand-size suffix.
22347
22348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22351 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22352 * sysdeps/x86_64/x32/shlib-versions: New file.
22353
22354 2012-05-14 Roland McGrath <roland@hack.frob.com>
22355
22356 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22357 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22358 Use _dl_fatal_printf instead.
22359
22360 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22361
22362 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22363 set if not set by the user. Do not allow for being unset.
22364 * sysdeps/unix/sysv/linux/configure: Regenerated.
22365
22366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22367
22368 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22369 the `q' suffix from lea and replace .quad with ASM_ADDR.
22370
22371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22374 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22375 instead of $17.
22376 (PTR_DEMANGLE): Likewise.
22377
22378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22379
22380 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22381 (LP_OP): Likewise.
22382 (ASM_ADDR): Likewise.
22383 (RAX_LP): Likewise.
22384 (RBP_LP): Likewise.
22385 (RBX_LP): Likewise.
22386 (RCX_LP): Likewise.
22387 (RDI_LP): Likewise.
22388 (RSI_LP): Likewise.
22389 (RSP_LP): Likewise.
22390 (R8_LP): Likewise.
22391 (R9_LP): Likewise.
22392 (R10_LP): Likewise.
22393 (R10_LP): Likewise.
22394 (R11_LP): Likewise.
22395 (R12_LP): Likewise.
22396 (R13_LP): Likewise.
22397 (R14_LP): Likewise.
22398 (R15_LP): Likewise.
22399
22400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * sysdeps/x86_64/x32/dl-machine.h: New file.
22403
22404 2012-05-14 Andreas Jaeger <aj@suse.de>
22405
22406 * manual/Makefile (subdir): Remove export of subdir.
22407 (all): Remove target.
22408 (.PHONY): Remove all from list.
22409 (mkinstalldirs): Remove.
22410 (.PHONY): Remove installdirs from list.
22411 ($(inst_infodir)/libc.info): Use make-target-directory.
22412 (installdirs): Remove.
22413 (subdir_%): Remove.
22414 (glibc-targets): Remove.
22415 (lib): Remove.
22416 (stubs): Remove.
22417 ($(objpfx)stubs ../po/manual.pot): Remove.
22418 ($(objpfx)stamp%): Remove.
22419 (make-target-directory): Remove.
22420 (subdir_install): Remove.
22421 (routines): Remove.
22422 (aux): Remove.
22423 (sources): Remove.
22424 (objects): Remove.
22425 (headers): Remove.
22426
22427 [BZ #13750]
22428 * manual/.gitignore: Remove, it's not needed anymore.
22429 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22430 all files in it.
22431 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22432 directory.
22433 (texis): Renamed to $(objpfx)texis.
22434 (texis-path): New, contains path to generated files.
22435 (chapters.%): Use texis-path for complete path, add extra argument
22436 libc-texinfo.sh.
22437 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22438 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22439 (summary,texi, stamp-summary): Use complete path of
22440 files. Generate files in build dir.
22441 (dir-add.texi): Build in build dir.
22442 (libm-err.texi,stamp-libm-err): Likewise.
22443 (version.texi, stamp-version): Likewise.
22444 (.%c.texi): Likewise.
22445 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22446 (mostlyclean): Remove target.
22447 (realclean): Remove target.
22448 (generated): Add new variable with contents from mostlyclean and
22449 realclean, remove entries duplicated in common-mostlyclean, add
22450 stamp-libm-err and stamp-version.
22451 (generated-dirs): Add libc directory.
22452 ($(inst_infodir)/libc.info): Install files from build dir.
22453
22454 * manual/install.texi (Configuring and compiling): Adjust since
22455 the info files are not part of the tar ball anymore.
22456
22457 2012-05-14 Andreas Jaeger <aj@suse.de>
22458
22459 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22460 variable.
22461
22462 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22463
22464 [BZ #13717]
22465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22466 to 2.2.0 where earlier.
22467 * sysdeps/unix/sysv/linux/configure: Regenerated.
22468 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22469 Remove conditional code.
22470 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22471 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22472 Remove conditional code.
22473 [!__NR_lchown]: Likewise.
22474 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22475 [__NR_lchown]: Likewise.
22476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22477 comment referencing __ASSUME_LCHOWN_SYSCALL.
22478 * sysdeps/unix/sysv/linux/i386/sigaction.c
22479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22481 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22482 Remove conditional code.
22483 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22484 (__protocol_available): Remove #if 0 code.
22485 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22486 conditional code.
22487 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22488 * sysdeps/unix/sysv/linux/kernel-features.h
22489 (__ASSUME_GETCWD_SYSCALL): Don't define.
22490 (__ASSUME_REALTIME_SIGNALS): Likewise.
22491 (__ASSUME_PREAD_SYSCALL): Likewise.
22492 (__ASSUME_PWRITE_SYSCALL): Likewise.
22493 (__ASSUME_POLL_SYSCALL): Likewise.
22494 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22495 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22496 non-SPARC.
22497 (__ASSUME_SIOCGIFNAME): Don't define.
22498 (__ASSUME_MSG_NOSIGNAL): Likewise.
22499 (__ASSUME_SENDFILE): Define unconditionally.
22500 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22501 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22502 conditional code.
22503 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22504 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22505 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22506 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22507 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22508 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22509 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22523 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22526 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22534 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22535 Remove conditional code.
22536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22537 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22538 Remove conditional code.
22539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22540 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22541 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22542 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22543 Remove conditional code.
22544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22545 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22546 Remove conditional code.
22547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22548 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22549 Remove conditional code.
22550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22551 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22552 Remove conditional code.
22553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22554 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22555 Remove conditional code.
22556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22557 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22560 * sysdeps/unix/sysv/linux/sigaction.c
22561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22563 * sysdeps/unix/sysv/linux/sigpending.c
22564 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22565 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22566 * sysdeps/unix/sysv/linux/sigprocmask.c
22567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22569 * sysdeps/unix/sysv/linux/sigsuspend.c
22570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22572 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22573 (__libc_missing_rt_sigs): Remove.
22574 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22575 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22576 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22577 Remove conditional code.
22578 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22579 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22580 return 1.
22581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22582 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22584 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22585
22586 2012-05-14 Andreas Jaeger <aj@suse.de>
22587
22588 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22589 it's not used in glibc.
22590 (__coshm1): Likewise.
22591 (__acosh1p): Likewise.
22592 (__sgn): Likewise.
22593
22594 * manual/string.texi (Copying and Concatenation): Add missing
22595 variable in concat example.
22596 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22597
22598 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22599
22600 [BZ #14103]
22601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22602 __builtin_clzl with __builtin_clzll.
22603
22604 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22605
22606 [BZ #14104]
22607 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22608 libc_freeres_ptr.
22609
22610 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22611
22612 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22613 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22614 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22615 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22616
22617 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22618
22619 * NEWS: Update ia64 info.
22620
22621 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22622
22623 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22624 used as bcopy.
22625
22626 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22627
22628 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22629 * sysdeps/unix/syscalls.list (dup3): Likewise.
22630 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22631 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22632
22633 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22634
22635 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22636 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22637
22638 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22639
22640 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22641 thread pointer.
22642 (TLS_IE): Use mov/add instead of movq/addq to load thread
22643 pointer.
22644 (TLS_GD_PREFIX): New.
22645 (TLS_GD): Use it.
22646
22647 2012-05-11 David S. Miller <davem@davemloft.net>
22648
22649 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22650 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22651 (_FPU_SETCW): Likewise.
22652
22653 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22654
22655 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22656 is 32-byte aligned.
22657
22658 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22659
22660 [BZ #11837]
22661 * iconvdata/gb18030.c: Update tables.
22662 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22663 characters specially.
22664 (BODY for TO_LOOP): Add encoding of missing ranges.
22665
22666 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22667
22668 [BZ #13673]
22669 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22670 * sysdeps/mach/hurd/dup3.c: Likewise.
22671 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22672 * sysdeps/powerpc/memmove.c:: Likewise.
22673
22674 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22675
22676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22677 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22678
22679 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * elf/elf.h (R_X86_64_RELATIVE64): New.
22682 (R_X86_64_NUM): Updated.
22683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22684 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22685 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22686 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22687 tst-quad1pie tst-quad2pie
22688 (modules-names): Add tst-quadmod1 tst-quadmod2.
22689 ($(objpfx)tst-quad1): New dependency.
22690 ($(objpfx)tst-quad2): Likewise.
22691 ($(objpfx)tst-quad1pie): Likewise.
22692 ($(objpfx)tst-quad2pie): Likewise.
22693 * sysdeps/x86_64/tst-quad1.c: New file.
22694 * sysdeps/x86_64/tst-quad1pie.c: New file.
22695 * sysdeps/x86_64/tst-quad2.c: Likewise.
22696 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22697 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22698 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22699 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22700 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22701
22702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22703
22704 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22705 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22706 * streams/stropts.h (t_scalar_t): Define type.
22707
22708 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22709 (_PATH_PRESERVE): Set to "/var/lib".
22710 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22711
22712 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22713 instead of int.
22714
22715 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22716 if __dir_mkfile succeeded.
22717
22718 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22719 checking for _hurd_dtablesize. Unlock it right after having
22720 finished _hurd_dtable allocation.
22721
22722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22723
22724 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22725 * sysdeps/mach/hurd/configure: Regenerated.
22726 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22727 special-casing to...
22728 * sysdeps/gnu/configure.in: ... this new file.
22729 * sysdeps/unix/sysv/linux/configure: Regenerated.
22730 * sysdeps/gnu/configure: New generated file.
22731
22732 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22733 for Linux: use nsec instead of usec, as well as:
22734 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22735 members of type struct timespec.
22736 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22737 New macros.
22738 (struct stat64): Likewise.
22739 (_STATBUF_ST_NSEC): New macro.
22740 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22741
22742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22743 __strtoul_internal rather than strtoul.
22744
22745 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22746
22747 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22748 and reject them.
22749
22750 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22751
22752 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22753 which preserves existing values.
22754 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22755
22756 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22757
22758 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22759 TIMEOUT values. Return EINVAL for NFDS values either negative or
22760 greater than FD_SETSIZE.
22761
22762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22763
22764 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22765 allocated, call __vm_protect to finish enabling the existing space, and
22766 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22767 allocate the remainder.
22768
22769 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22770
22771 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22772 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22773
22774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22775
22776 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22777 sysdeps/mach/hurd/readlink.c.
22778
22779 * posix/tst-sysconf.c (posix_options): Only use
22780 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22781 _POSIX_SYNCHRONIZED_IO when they are defined
22782 * sysdeps/mach/hurd/bits/posix_opt.h:
22783 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22784 (_XOPEN_REALTIME): Undefine macro.
22785 (_XOPEN_REALTIME_THREADS): Undefine macro.
22786 (_XOPEN_SHM): Undefine macro.
22787 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22788 macro to -1.
22789 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22790 macro to -1.
22791 (_POSIX_ASYNC_IO): Undefine macro.
22792 (_POSIX_PRIORITIZED_IO): Undefine macro.
22793 (_POSIX_SPIN_LOCKS): Define macro to -1.
22794
22795 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22796 SA_NODEFER, SA_RESETHAND.
22797 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22798 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22799 F_DUPFD_CLOEXEC.
22800
22801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22802
22803 * elf/Makefile (pldd-modules): Define unconditionally.
22804
22805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22806
22807 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22808
22809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22810
22811 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22812 Return ENOENT when name is empty.
22813 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22814
22815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22816
22817 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22818
22819 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22820
22821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22822
22823 Fix mlock in all cases except non-readable pages.
22824 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22825 instead of VM_PROT_ALL as parameter to __vm_wire function.
22826
22827 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22828 (__mkdir): When path is `/', just fail with EEXIST.
22829 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22830
22831 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22832
22833 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22834 <sys/uio.h> (for writev).
22835 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22836 and <sys/param.h> (for MIN).
22837
22838 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22839
22840 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22841 REQUESTED_TIME. Properly set the remaining time and return EINTR
22842 if interrupted.
22843
22844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22845
22846 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22847 Depend on against $(link-rpcuserlibs).
22848
22849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22850
22851 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22852 (__libc_stack_end): Do not use attribute_relro.
22853 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22854 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22855 to libthread-provided value.
22856 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22857 attribute_relro.
22858
22859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22860
22861 [BZ #3748]
22862 * bits/libc-lock.h (__libc_once_get): New macro.
22863 * sysdeps/mach/bits/libc-lock.h: Likewise.
22864 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22866 instead of using implementation details.
22867
22868 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22869 * libio/freopen.c: Likewise.
22870 * libio/freopen64.c: Likewise.
22871 * misc/syslog.c: Likewise.
22872 * nscd/connections.c: Likewise.
22873 * nscd/netgroupcache.c: Likewise.
22874 * sysdeps/posix/getcwd.c: Likewise.
22875
22876 2012-05-10 Roland McGrath <roland@hack.frob.com>
22877
22878 * math/w_ilogbf.c: Add #include <limits.h>.
22879
22880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22881
22882 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22883 path instead of returning without unlocking.
22884
22885 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22886 immediate-write ioctls.
22887 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22888
22889 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22890
22891 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22892 __builtin_frame_address instead of making assumptions about the
22893 location of the return address relative to DATA. Force early load of
22894 the return address.
22895 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22896 __builtin_frame_address.
22897
22898 dup3 for GNU Hurd.
22899 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22900 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22901 implement dup3 and do some further code clean-ups.
22902 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22903 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22904
22905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22906
22907 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22908
22909 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22910 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22911 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22912 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22913 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22914 d->port.lock.
22915
22916 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22917 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22918 when handler == SIG_ERR, not when handler != SIG_ERR.
22919
22920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22921
22922 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22923 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22924 definitions.
22925
22926 accept4 for GNU Hurd.
22927 * include/sys/socket.h (__libc_accept4): New prototype.
22928 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22929 to implement __libc_accept4.
22930 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22931 __libc_accept4.
22932 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22933
22934 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22935 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22936 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22937 signal-defines.sym.
22938
22939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22940
22941 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22942
22943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22944
22945 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22946 assertion on O_CLOEXEC flag.
22947 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22948 * hurd/intern-fd.c: Likewise.
22949 * hurd/port2fd.c: Likewise.
22950
22951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22952
22953 [BZ #3906]
22954 * bits/in.h (IPV6_PKTINFO): Define new macro.
22955 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22956
22957 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22958
22959 [BZ #13954]
22960 [BZ #13955]
22961 [BZ #13956]
22962 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22964 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22965 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22967 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22968 * math/libm-test.inc (logb_test) : Additional logb tests.
22969
22970 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22971 Andreas Jaeger <aj@suse.de>
22972
22973 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22974 * configure: Regenerated.
22975 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22976 * config.make.in (link-obsolete-rpc): New substituted variable.
22977 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22978 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22979 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22980 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22981 so that libc.a contains the symbols.
22982 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22983 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22984 * sunrpc/auth_none.c: Likewise.
22985 * sunrpc/auth_unix.c: Likewise.
22986 * sunrpc/authdes_prot.c: Likewise.
22987 * sunrpc/authuxprot.c: Likewise.
22988 * sunrpc/clnt_gen.c: Likewise.
22989 * sunrpc/clnt_perr.c: Likewise.
22990 * sunrpc/clnt_raw.c: Likewise.
22991 * sunrpc/clnt_simp.c: Likewise.
22992 * sunrpc/clnt_tcp.c: Likewise.
22993 * sunrpc/clnt_udp.c: Likewise.
22994 * sunrpc/clnt_unix.c: Likewise.
22995 * sunrpc/des_crypt.c: Likewise.
22996 * sunrpc/des_soft.c: Likewise.
22997 * sunrpc/get_myaddr.c: Likewise.
22998 * sunrpc/key_call.c: Likewise.
22999 * sunrpc/key_prot.c: Likewise.
23000 * sunrpc/netname.c: Likewise.
23001 * sunrpc/pm_getmaps.c: Likewise.
23002 * sunrpc/pm_getport.c: Likewise.
23003 * sunrpc/pmap_clnt.c: Likewise.
23004 * sunrpc/pmap_prot.c: Likewise.
23005 * sunrpc/pmap_prot2.c: Likewise.
23006 * sunrpc/pmap_rmt.c: Likewise.
23007 * sunrpc/publickey.c: Likewise.
23008 * sunrpc/rpc_cmsg.c: Likewise.
23009 * sunrpc/rpc_common.c: Likewise.
23010 * sunrpc/rpc_dtable.c: Likewise.
23011 * sunrpc/rpc_prot.c: Likewise.
23012 * sunrpc/rpc_thread.c: Likewise.
23013 * sunrpc/rtime.c: Likewise.
23014 * sunrpc/svc.c: Likewise.
23015 * sunrpc/svc_auth.c: Likewise.
23016 * sunrpc/svc_raw.c: Likewise.
23017 * sunrpc/svc_run.c: Likewise.
23018 * sunrpc/svc_tcp.c: Likewise.
23019 * sunrpc/svc_udp.c: Likewise.
23020 * sunrpc/svc_unix.c: Likewise.
23021 * sunrpc/svcauth_des.c: Likewise.
23022 * sunrpc/xcrypt.c: Likewise.
23023 * sunrpc/xdr.c: Likewise.
23024 * sunrpc/xdr_array.c: Likewise.
23025 * sunrpc/xdr_float.c: Likewise.
23026 * sunrpc/xdr_intXX_t.c: Likewise.
23027 * sunrpc/xdr_mem.c: Likewise.
23028 * sunrpc/xdr_rec.c: Likewise.
23029 * sunrpc/xdr_ref.c: Likewise.
23030 * sunrpc/xdr_sizeof.c: Likewise.
23031 * sunrpc/xdr_stdio.c: Likewise.
23032
23033 2012-05-10 Roland McGrath <roland@hack.frob.com>
23034
23035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23036 change. Update copyright years.
23037
23038 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23039
23040 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23041
23042 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23043 Joseph Myers <joseph@codesourcery.com>
23044 Paul Pluzhnikov <ppluzhnikov@google.com>
23045
23046 [BZ #14012]
23047 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23048 requiring rpcgen.
23049 [cross-compiling] (extra-libs): Likewise.
23050 [cross-compiling] (extra-libs-others): Likewise.
23051 [cross-compiling] (librpcsvc-routines): Likewise.
23052 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23053 [cross-compiling] (omit-deps): Likewise.
23054 (sunrpc-CPPFLAGS): New variable.
23055 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23056 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23057 (cross-rpcgen-objs): New variable.
23058 (extra-objs): Append $(cross-rpcgen-objs).
23059 ($(cross-rpcgen-objs)): New rule.
23060 ($(objpfx)cross-rpcgen): Likewise.
23061 (rpcgen-cmd): Define to use $(built-program-file). Expand
23062 comment.
23063 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23064 ($(objpfx)x%.stmp): Likewise.
23065 * sunrpc/proto.h [IS_IN_build] (_): Define.
23066 [IS_IN_build] (_libc_intl_domainname): Likewise.
23067
23068 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23069
23070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23071 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23072 and R_X86_64_TPOFF64.
23073
23074 2012-05-10 Joseph Myers <joseph@codesourcery.com>
23075
23076 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23077 sysdeps/unix/sysv/syscalls.list.
23078 (stime): Likewise.
23079 (utime): Likewise.
23080 * sysdeps/unix/sysv/syscalls.list: Remove file.
23081
23082 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23083
23084 [BZ #3440]
23085 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23086 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23087 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23088 (__LC_IDENTIFICATION): Make these macros useful in #if
23089 expressions, as required by C99.
23090
23091 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23092
23093 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23094 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23095 after this.
23096
23097 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 * stdlib/longlong.h: Updated from GCC.
23100
23101 2012-05-09 Andreas Jaeger <aj@suse.de>
23102
23103 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23104 default is first entry.
23105 (run_mode): Set type.
23106 (main): Remove informal message about syslog.
23107 (options): Fix typo.
23108
23109 [BZ #14053]
23110 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23111 to asm.
23112 (lrint): Likewise.
23113 (llrintf): Likewise.
23114 (llrint): Likewise.
23115 (rint): Likewise.
23116 (rintf): Likewise.
23117 (nearbyint): Likewise.
23118 (nearbyintf): Likewise.
23119
23120 2012-05-09 Andreas Jaeger <aj@suse.de>
23121 Pedro Alves <palves@redhat.com>
23122
23123 * nscd/nscd.c (run_mode): Use enum.
23124 (main): Cleanup coding style issue.
23125
23126 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
23127 Andreas Jaeger <aj@suse.de>
23128
23129 * nscd/nscd.c (go_background): Replaced with...
23130 (run_mode): ... this.
23131 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23132 (options): Add -F --foreground.
23133 (main): Implement it.
23134 (parse_opt): Parse it.
23135
23136 2012-05-09 Andreas Jaeger <aj@suse.de>
23137
23138 [BZ #14083]
23139 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23140 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23141 -Wconversion warning.
23142 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23143 Likewise.
23144
23145 2012-05-09 Joseph Myers <joseph@codesourcery.com>
23146
23147 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23148 == 0.
23149 (LC_ALL): Use macro-int-constant.
23150 (LC_COLLATE): Likewise.
23151 (LC_CTYPE): Likewise.
23152 (LC_MESSAGES): Likewise.
23153 (LC_MONETARY): Likewise.
23154 (LC_NUMERIC): Likewise.
23155 (LC_TIME): Likewise.
23156 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23157 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23159 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23160 Specify type.
23161 [C99-based standards] (float_t): Expect type.
23162 [C99-based standards] (double_t): Expect type.
23163 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23164 type.
23165 [C99-based standards] (HUGE_VALL): Likewise.
23166 [C99-based standards] (INFINITY): Likewise.
23167 [C99-based standards] (NAN): Likewise.
23168 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23169 [C99-based standards] (FP_NAN): Likewise.
23170 [C99-based standards] (FP_NORMAL): Likewise.
23171 [C99-based standards] (FP_SUBNORMAL): Likewise.
23172 [C99-based standards] (FP_ZERO): Likewise.
23173 [C99-based standards] (FP_FAST_FMA): Use
23174 optional-macro-int-constant. Specify type. Require == 1.
23175 [C99-based standards] (FP_FAST_FMAF): Likewise.
23176 [C99-based standards] (FP_FAST_FMAL): Likewise.
23177 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23178 [C99-based standards] (FP_ILOGBNAN): Likewise.
23179 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23180 Specify type.
23181 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23182 [C99-based standards] (math_errhandling): Specify type.
23183 [ISO99 || ISO11] (signgam): Do not allow.
23184 [non-C99-based standards] (copysignf): Do not allow.
23185 [non-C99-based standards] (exp2f): Likewise.
23186 [non-C99-based standards] (log2f): Likewise.
23187 [non-C99-based standards] (modff): Allow.
23188 [non-C99-based standards] (erff): Do not allow.
23189 [non-C99-based standards] (erfcf): Likewise.
23190 [non-C99-based standards] (gammaf): Likewise.
23191 [non-C99-based standards] (hypotf): Likewise.
23192 [non-C99-based standards] (j0f): Likewise.
23193 [non-C99-based standards] (j1f): Likewise.
23194 [non-C99-based standards] (jnf): Likewise.
23195 [non-C99-based standards] (lgammaf): Likewise.
23196 [non-C99-based standards] (tgammaf): Likewise.
23197 [non-C99-based standards] (y0f): Likewise.
23198 [non-C99-based standards] (y1f): Likewise.
23199 [non-C99-based standards] (ynf): Likewise.
23200 [non-C99-based standards] (isnanf): Likewise.
23201 [non-C99-based standards] (acoshf): Likewise.
23202 [non-C99-based standards] (asinhf): Likewise.
23203 [non-C99-based standards] (atanhf): Likewise.
23204 [non-C99-based standards] (cbrtf): Likewise.
23205 [non-C99-based standards] (expm1f): Likewise.
23206 [non-C99-based standards] (ilogbf): Likewise.
23207 [non-C99-based standards] (log1pf): Likewise.
23208 [non-C99-based standards] (logbf): Likewise.
23209 [non-C99-based standards] (nextafterf): Likewise.
23210 [non-C99-based standards] (remainderf): Likewise.
23211 [non-C99-based standards] (rintf): Likewise.
23212 [non-C99-based standards] (scalbf): Likewise.
23213 [non-C99-based standards] (copysignl): Likewise.
23214 [non-C99-based standards] (exp2l): Likewise.
23215 [non-C99-based standards] (log2l): Likewise.
23216 [non-C99-based standards] (modfl): Allow.
23217 [non-C99-based standards] (erfl): Do not allow.
23218 [non-C99-based standards] (erfcl): Likewise.
23219 [non-C99-based standards] (gammal): Likewise.
23220 [non-C99-based standards] (hypotl): Likewise.
23221 [non-C99-based standards] (j0l): Likewise.
23222 [non-C99-based standards] (j1l): Likewise.
23223 [non-C99-based standards] (jnl): Likewise.
23224 [non-C99-based standards] (lgammal): Likewise.
23225 [non-C99-based standards] (tgammal): Likewise.
23226 [non-C99-based standards] (y0l): Likewise.
23227 [non-C99-based standards] (y1l): Likewise.
23228 [non-C99-based standards] (ynl): Likewise.
23229 [non-C99-based standards] (isnanl): Likewise.
23230 [non-C99-based standards] (acoshl): Likewise.
23231 [non-C99-based standards] (asinhl): Likewise.
23232 [non-C99-based standards] (atanhl): Likewise.
23233 [non-C99-based standards] (cbrtl): Likewise.
23234 [non-C99-based standards] (expm1l): Likewise.
23235 [non-C99-based standards] (ilogbl): Likewise.
23236 [non-C99-based standards] (log1pl): Likewise.
23237 [non-C99-based standards] (logbl): Likewise.
23238 [non-C99-based standards] (nextafterl): Likewise.
23239 [non-C99-based standards] (remainderl): Likewise.
23240 [non-C99-based standards] (rintl): Likewise.
23241 [non-C99-based standards] (scalbl): Likewise.
23242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23243 [non-C99-based standards] (FP_*): Do not allow.
23244 [C99-based standards] (FP_*): Change to
23245 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23246 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23247 allow.
23248 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23249 (SIG_ERR): Likewise.
23250 [X/Open-based standards] (SIG_HOLD): Likewise.
23251 (SIG_IGN): Likewise.
23252 (SIGABRT): Use macro-int-constant. Specify type. Require
23253 positive value.
23254 (SIGFPE): Likewise.
23255 (SIGILL): Likewise.
23256 (SIGINT): Likewise.
23257 (SIGSEGV): Likewise.
23258 (SIGTER): Likewise.
23259 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23260 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23261 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23262 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23263 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23264 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23265 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23266 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23267 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23268 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23269 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23270 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23271 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23272 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23273 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23274 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23275 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23276 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23277 [X/Open-based standards] (SIGTRAP): Likewise.
23278 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23279 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23280 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23281 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23282 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23283 allow.
23284
23285 2012-05-08 Ian Wienand <ianw@vmware.com>
23286
23287 [BZ #14080]
23288 * time/tzset.c (__tzset_parse_tz): Update default rules for
23289 daylight time changes in the Energy Policy Act of 2005.
23290
23291 2012-05-09 Andreas Jaeger <aj@suse.de>
23292
23293 [BZ #13983]
23294 * elf/ldconfig.c (parse_conf): Change string to make clear that
23295 ldconfig only issued a warning if ld.so.conf does not exist.
23296
23297 2012-05-08 David S. Miller <davem@davemloft.net>
23298
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23300 movxtod instead of popping the value on the stack.
23301
23302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23303
23304 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23305
23306 * config.h.in: Add HAVE_ARM_PCS_VFP.
23307
23308 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
23309
23310 [BZ #13979]
23311 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23312 checking but the checks are disabled for any reason.
23313
23314 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23315
23316 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23317 and ELF64_R_TYPE with ELFW(R_TYPE).
23318
23319 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23320
23321 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23322 (ulimit): Likewise.
23323
23324 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23325 (settimeofday): Likewise.
23326
23327 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23328
23329 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23330 a struct th_u2 inside the union, and move tu_block/tu_code into
23331 a new th_u3 union of tu_block/tu_code inside of that. Move
23332 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23333 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23334 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23335 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23336 (th_stuff): Change to th_u1.tu_stuff.
23337 (th_data): Define.
23338 (th_msg): Change to th_u1.th_u2.tu_data.
23339
23340 2012-05-07 David S. Miller <davem@davemloft.net>
23341
23342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23343
23344 [BZ #14074]
23345 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23346 (SETUP_PIC_REG): Use it.
23347 (SETUP_PIC_REG_LEAF): Use it.
23348
23349 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23350
23351 [BZ #13885]
23352 [BZ #13923]
23353 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23354 USE_AS_EXPM1L.
23355 (EXPL_FINITE): Likewise.
23356 (FLDLOG): Likewise.
23357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23358 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23359 e_expl.S.
23360 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23361 USE_AS_EXPM1L.
23362 (EXPL_FINITE): Likewise.
23363 (FLDLOG): Likewise.
23364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23365 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23366 e_expl.S.
23367 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23368 test of -max_value argument for long double.
23369 * sysdeps/i386/fpu/libm-test-ulps: Update.
23370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23371
23372 2012-05-06 David S. Miller <davem@davemloft.net>
23373
23374 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23375 quad soft-float symbols whose references which are compiler
23376 generated.
23377 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23378
23379 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23380
23381 [BZ #13884]
23382 [BZ #13914]
23383 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23384 USE_AS_EXP10L.
23385 (EXPL_FINITE): Likewise.
23386 (FLDLOG): Likewise.
23387 (c0): Likewise.
23388 (c1): Likewise.
23389 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23390 Adjust comments for base varying.
23391 (__expl_finite): Change alias to EXPL_FINITE.
23392 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23393 e_expl.S.
23394 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23395 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23397 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23398 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23399 USE_AS_EXP10L.
23400 (EXPL_FINITE): Likewise.
23401 (FLDLOG): Likewise.
23402 (c0): Likewise.
23403 (c1): Likewise.
23404 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23405 Adjust comments for base varying.
23406 (__expl_finite): Change alias to EXPL_FINITE.
23407 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23408 tests for bugs.
23409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23410
23411 [BZ #14064]
23412 * math/libm-test.inc (check_float_internal): Correct ulp
23413 calculation for subnormal expected results.
23414
23415 2012-05-06 Andreas Jaeger <aj@suse.de>
23416
23417 * Makeconfig (+math-flags): New, set to -frounding-math.
23418 (+cflags): Add +math-flags so that all of glibc gets compiled with
23419 it.
23420
23421 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23422
23423 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23424
23425 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23426 Disable one test.
23427
23428 [BZ #13787]
23429 [BZ #13922]
23430 [BZ #14036]
23431 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23432 (__ieee754_expl): Allow for and saturate large arguments.
23433 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23434 (u_threshold): Likewise.
23435 (__exp): Call __ieee754_exp before checking for overflow and
23436 underflow.
23437 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23438 (u_threshold): Likewise.
23439 (__expf): Call __ieee754_expf before checking for overflow and
23440 underflow.
23441 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23442 (u_threshold): Likewise.
23443 (__expl): Call __ieee754_expl before checking for overflow and
23444 underflow.
23445 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23446 (__ieee754_expl): Allow for and saturate large arguments.
23447 * math/libm-test.inc (exp_test): Add another test. Do not allow
23448 missing overflow exception on overflow.
23449 (expm1_test): Do not allow missing overflow exception on overflow.
23450
23451 * sysdeps/i386/fpu/e_expl.c: Move to ...
23452 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23453 rather than using inline asm.
23454 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23455 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23456 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23457
23458 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23459 (nice): Likewise.
23460 (poll): Likewise.
23461 (signal): Likewise.
23462 (time): Likewise.
23463 (times): Likewise.
23464
23465 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23466
23467 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23468 sysdeps/unix/common/syscalls.list.
23469 (fchmod): Likewise.
23470 (fchown): Likewise.
23471 (ftruncate): Likewise.
23472 (getrusage): Likewise.
23473 (gettimeofday): Likewise.
23474 (setpgid): Likewise.
23475 (setregid): Likewise.
23476 (setreuid): Likewise.
23477 (sigaction): Likewise.
23478 (truncate): Likewise.
23479 (vhangup): Likewise.
23480 * sysdeps/unix/common/syscalls.list: Remove file.
23481 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23482 * sysdeps/unix/sysv/linux/Implies: Likewise.
23483
23484 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23485
23486 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23488 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23489 Moved to ...
23490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23491 Here.
23492 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23493 to ...
23494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23495 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23496 to ...
23497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23499 to ...
23500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23501 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23502 to ...
23503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23504 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23505 to ...
23506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23507 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23508 to ...
23509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23511 to ...
23512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23513 Here.
23514 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23515 to ...
23516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23517 Here.
23518 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23519 to ...
23520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23521 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23522 Moved to ...
23523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23524 Here.
23525 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23526 to ...
23527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23528
23529 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23530
23531 * sysdeps/unix/common/bits/dirent.h: Remove file.
23532 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23533
23534 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23535 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23536 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23537 * sysdeps/unix/bsd/isatty.c: Likewise.
23538 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23539 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23540 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23541
23542 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23543
23544 [BZ #13563]
23545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23546 long double comparison inaccuracies.
23547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23549
23550 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23551
23552 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23554
23555 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23556
23557 [BZ #14049]
23558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23559 nonzero digits before rounding a hex value.
23560 * stdlib/tst-strtod.c (tests): Add another test.
23561
23562 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23563
23564 * sysdeps/s390/fpu/libm-test-ulps: Update.
23565
23566 2012-05-03 Andreas Jaeger <aj@suse.de>
23567
23568 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23569 does not get optimized out.
23570 (malloc_opt_barrier): New.
23571
23572 2012-05-03 Andreas Jaeger <aj@suse.de>
23573 Roland McGrath <roland@hack.frob.com>
23574
23575 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23576 intermediate file deletion.
23577 (generated): Add .symlist files.
23578
23579 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23580
23581 [BZ #13775]
23582 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23583 Redirect under this condition.
23584 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23585 [__USE_GNU] (__dprintf_chk): Not under this condition.
23586 [__USE_GNU] (__vdprintf_chk): Likewise.
23587 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23588 under this condition.
23589 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23590 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23591 [__USE_XOPEN2K8] (vdprintf): Likewise.
23592 [__USE_GNU] (__dprintf_chk): Not under this condition.
23593 [__USE_GNU] (__vdprintf_chk): Likewise.
23594 [__USE_GNU] (dprintf): Likewise.
23595 [__USE_GNU] (vdprintf): Likewise.
23596
23597 2012-05-03 Roland McGrath <roland@hack.frob.com>
23598
23599 * elf/Makefile (common-generated): Set this instead of generated for
23600 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23601 $(all-built-dso)-derived lists.
23602
23603 2012-05-03 Andreas Jaeger <aj@suse.de>
23604
23605 * sysdeps/i386/fpu/libm-test-ulps: Update.
23606
23607 * FAQ: Removed.
23608 * FAQ.in: Likewise.
23609 * scripts/gen-FAQ.pl: Likewise.
23610 * manual/install.texi (Installation): Point to online location of
23611 FAQ.
23612 * Makefile (files-for-dist): Remove FAQ.
23613 (FAQ): Remove.
23614
23615 2012-05-02 Allan McRae <allan@archlinux.org>
23616
23617 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23618 (LDFLAGS-reldepmod5.so): Likewise.
23619 (LDFLAGS-reldep6mod1.so): Likewise.
23620 (LDFLAGS-reldep6mod4.so): Likewise.
23621 (LDFLAGS-reldep8mod3.so): Likewise.
23622 (LDFLAGS-unload4mod1.so): Likewise.
23623 (LDFLAGS-unload4mod2.so): Likewise.
23624 (LDFLAGS-tst-initorder): Likewise.
23625 (LDFLAGS-tst-initordera2.so): Likewise.
23626 (LDFLAGS-tst-initordera3.so): Likewise.
23627 (LDFLAGS-tst-initordera4.so): Likewise.
23628 (LDFLAGS-tst-initorderb2.so): Likewise.
23629 (LDFLAGS-noload): Likewise.
23630 (LDFLAGS-next): Likewise.
23631 (LDFLAGS-order2mod1.so): Likewise.
23632 (LDFLAGS-order2mod2.so): Likewise.
23633 (LDFLAGS-tst-initorder2): Likewise.
23634 (LDFLAGS-tst-initorder2a.so): Likewise.
23635 (LDFLAGS-tst-initorder2b.so): Likewise.
23636 (LDFLAGS-tst-initorder2c.so): Likewise.
23637 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23638
23639 2012-05-02 David S. Miller <davem@davemloft.net>
23640
23641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23642
23643 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23644
23645 [BZ #14055]
23646 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23647
23648 2012-05-02 Andreas Jaeger <aj@suse.de>
23649
23650 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23651 since we manipulate rounding mode.
23652 (CPPFLAGS-test-idouble.c): Likewise.
23653 (CPPFLAGS-test-ifloat.c): Likewise.
23654 (CFLAGS-test-ldouble.c): Likewise.
23655 (CFLAGS-test-double.c): Likewise.
23656 (CFLAGS-test-float.c): Likewise.
23657 (CFLAGS-test-misc.c): Likewise.
23658 (CFLAGS-test-test-fenv.c): Likewise.
23659
23660 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23661
23662 [BZ #2550]
23663 [BZ #2570]
23664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23665 comparisons to determine direction to adjust input.
23666
23667 2012-05-01 Roland McGrath <roland@hack.frob.com>
23668
23669 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23670 output to the target.
23671
23672 * scripts/localplt.awk: New file.
23673 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23674 (check-localplt-CFLAGS): Variable removed.
23675 ($(all-built-dso:=.jmprel)): New static pattern rule.
23676 (generated): Add those targets.
23677 (localplt-built-dso): New variable.
23678 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23679
23680 * elf/check-localplt.c: File removed.
23681
23682 * scripts/check-execstack.awk: New file.
23683 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23684 (check-execstack-CFLAGS): Variable removed.
23685 ($(objpfx)check-execstack.h): Target removed.
23686 ($(objpfx)execstack-default): New target.
23687 (generated): Add that instead of check-execstack.h.
23688 ($(all-built-dso:=.phdr)): New static pattern rule.
23689 (generated): Add those targets.
23690 * elf/check-execstack.c: File removed.
23691
23692 * scripts/check-textrel.awk: New file.
23693 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23694 (check-textrel-CFLAGS): Variable removed.
23695 (all-built-dso): Use := to define.o
23696 ($(all-built-dso:=.dyn)): New static pattern rule.
23697 (generated): Add those targets.
23698 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23699 * config.make.in (READELF): New substituted variable.
23700 * elf/check-textrel.c: File removed.
23701
23702 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23703
23704 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23705 allow.
23706 * conform/data/ctype.h-data [C99-based standards] (isblank):
23707 Expect function.
23708 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23709 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23711 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23712 Specify type. Require positive value.
23713 (EILSEQ): Likewise.
23714 (ERANGE): Likewise.
23715 [ISO || POSIX] (EILSEQ): Do not expect.
23716 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23717 Specify type. Require positive value.
23718 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23719 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23720 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23721 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23722 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23723 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23724 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23725 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23726 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23727 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23728 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23729 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23730 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23731 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23732 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23733 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23734 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23735 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23736 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23737 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23738 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23739 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23740 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23741 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23742 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23743 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23744 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23745 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23746 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23747 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23748 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23749 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23750 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23751 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23752 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23753 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23754 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23755 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23758 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23759 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23760 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23761 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23762 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23763 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23764 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23765 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23766 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23767 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23768 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23769 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23770 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23771 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23772 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23773 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23774 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23775 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23776 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23777 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23778 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23779 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23780 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23781 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23782 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23783 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23784 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23785 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23786 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23787 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23788 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23789 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23790 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23791 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23792 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23793 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23794 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23795 Require >= 2.
23796 (FLT_ROUNDS): Expect as macro, not constant.
23797 (FLT_MANT_DIG): Use macro-int-constant.
23798 (DBL_MANT_DIG): Likewise.
23799 (LDBL_MANT_DIG): Likewise.
23800 (FLT_DIG): Likewise.
23801 (DBL_DIG): Likewise.
23802 (LDBL_DIG): Likewise.
23803 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23804 (DBL_MIN_EXP): Likewise.
23805 (LDBL_MIN_EXP): Likewise.
23806 (FLT_MAX_EXP): Use macro-int-constant.
23807 (DBL_MAX_EXP): Likewise.
23808 (LDBL_MAX_EXP): Likewise.
23809 (FLT_MAX_10_EXP): Likewise.
23810 (DBL_MAX_10_EXP): Likewise.
23811 (LDBL_MAX_10_EXP): Likewise.
23812 (FLT_MAX): Use macro-constant.
23813 (DBL_MAX): Likewise.
23814 (LDBL_MAX): Likewise.
23815 (FLT_EPSILON): Use macro-constant. Give upper bound.
23816 (DBL_EPSILON): Likewise.
23817 (LDBL_EPSILON): Likewise.
23818 (FLT_MIN): Likewise.
23819 (DBL_MIN): Likewise.
23820 (LDBL_MIN): Likewise.
23821 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23822 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23823 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23824 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23825 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23826 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23827 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23828 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23829 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23830 [ISO11] (FLT_TRUE_MIN): Likewise.
23831 [ISO11] (LDBL_TRUE_MIN): Likewise.
23832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23833 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23834 (SCHAR_MIN): Use macro-int-constant. Specify type.
23835 (SCHAR_MAX): Likewise.
23836 (UCHAR_MAX): Likewise.
23837 (CHAR_MIN): Likewise.
23838 (CHAR_MAX): Likewise.
23839 (MB_LEN_MAX): Use macro-int-constant.
23840 (SHRT_MIN): Use macro-int-constant. Specify type.
23841 (SHRT_MAX): Likewise.
23842 (USHRT_MAX): Likewise.
23843 (INT_MAX): Likewise.
23844 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23845 bound negative.
23846 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23847 bound with "U".
23848 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23849 bound with "L".
23850 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23851 bound negative. Suffix upper bound with "L".
23852 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23853 bound with "UL".
23854 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23855 Specify type.
23856 [C99-based standards] (LLONG_MAX): Likewise.
23857 [C99-based standards] (ULLONG_MAX): Likewise.
23858 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23859 == 0.
23860 [ISO11] (max_align_t): Require type.
23861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23862
23863 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23864 from $CFLAGS, without defining away __attribute__ calls.
23865 (checknamespace): Use $CFLAGS_namespace.
23866
23867 * conform/conformtest.pl (@keywords): Only include C99 keywords
23868 for standards based on C99 or C11.
23869
23870 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23871 Disable tests.
23872 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23873 UNIX98]: Likewise.
23874
23875 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23876 usability of symbols in #if.
23877
23878 * conform/conformtest.pl: If macro or constant types start
23879 "promoted:", expect the symbol to be of the following type
23880 promoted by the integer promotions.
23881
23882 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23883 in one place. Also handle "macro-constant".
23884
23885 * conform/conformtest.pl: Only accept expected macro values with
23886 "==". Parse all "macro" lines in one place.
23887 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23888
23889 * conform/conformtest.pl: Handle braced types on "constant" lines
23890 instead of handling "typed-constant".
23891 * conform/data/signal.h-data: Use "constant" instead of
23892 "typed-constant".
23893
23894 * conform/conformtest.pl: Handle "optional-" at start of lines in
23895 one place rather than duplicating several cases. Handle each
23896 format of "macro" line with initial "optional-".
23897
23898 * conform/conformtest.pl: Only accept expected constant or
23899 optional-constant values with "==". Parse all "constant" lines in
23900 one place. Parse all "optional-constant" lines in one place.
23901 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23902 * conform/data/fmtmsg.h-data: Likewise.
23903 * conform/data/netinet/in.h-data: Likewise.
23904 * conform/data/tar.h-data: Likewise.
23905 * conform/data/limits.h-data: Use "==" form on "constant" and
23906 "optional-constant" lines.
23907
23908 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23909 Use -std=c99 for XOPEN2K.
23910 (@knownproblems): Remove.
23911 (newtoken): Don't check %isknown.
23912
23913 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23914 Do not expect macro.
23915 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23916 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23917 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23918 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23919 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23920 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23921 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23922 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23923 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23924 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23925 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23926 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23927 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23928 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23929 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23930 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23931 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23932 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23933 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23934 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23935 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23936 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23939 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23940 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23941 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23942 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23943 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23944 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23945 [XPG3] (acosh): Likewise.
23946 [XPG3] (asinh): Likewise.
23947 [XPG3] (atanh): Likewise.
23948 [XPG3] (cbrt): Likewise.
23949 [XPG3] (expm1): Likewise.
23950 [XPG3] (ilogb): Likewise.
23951 [XPG3] (log1p): Likewise.
23952 [XPG3] (logb): Likewise.
23953 [XPG3] (nextafter): Likewise.
23954 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23955 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23956 [XPG3] (remainder): Likewise.
23957 [XPG3] (rint): Likewise.
23958 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23959 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23960 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23961 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23962 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23963 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23964 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23965 [UNIX98 || XOPEN2K] (scalb): Expect.
23966 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23967 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23968 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23969 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23970 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23971 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23972 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23973 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23974 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23975 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23976 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23977 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23978 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23979 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23980 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23981 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23982 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23983 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23984 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23985 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23986 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23987 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23988 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23989 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23990 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23991 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23992 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23993 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23994 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23995 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23996 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23997 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23998 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23999 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24000 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24001 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24002 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24003 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24004 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24005 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24006 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24007 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24008 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24009 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24010 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24011 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24012 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24013 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24014 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24015 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24016 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24017 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24018 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24019 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24020 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24021 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24022 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24023 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24024 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24025 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24026 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24027 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24028 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24029 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24030 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24031 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24032 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24033 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24034 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24035 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24036 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24037 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24038 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24039 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24040 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24041 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24042 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24043 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24044 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24045 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24046 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24047 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24048 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24049 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24050 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24051 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24052 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24053 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24054 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24055 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24056 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24057 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24058 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24059 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24060 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24061 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24062 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24063 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24064 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24065 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24066 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24067 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24068 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24069 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24070 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24071 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24072 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24073 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24074 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24075 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24076 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24077 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24078 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24079 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24080 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24081 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24082 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24083 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24084 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24085 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24086 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24087 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24088 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24089 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24090 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24091 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24092 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24093 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24094 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24095 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24096 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24097 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24098 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24099 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24100 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24101 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24102 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24103
24104 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24105 _XOPEN_SOURCE_EXTENDED for XPG4.
24106
24107 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24108
24109 * Makeconfig (localtime): Remove variable.
24110 (inst_localtime-file): Likewise.
24111
24112 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24113
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24115 Update.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24117 Update.
24118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24119 Update.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24121 Update.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24123 Update.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24125 Update.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24127 Update.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24129 Update.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24131 Update.
24132
24133 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24134
24135 [BZ #2550]
24136 [BZ #2570]
24137 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24138 comparisons to determine direction to adjust input.
24139 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24140 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24142 Likewise.
24143 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24144 Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24146 Likewise.
24147 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24148 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24149 Likewise.
24150 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24151 Likewise.
24152 * math/libm-test.inc (nexttoward_test): Add more tests.
24153
24154 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24155
24156 [BZ #14040]
24157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24158 in version GLIBC_2.1, not GLIBC_2.0.
24159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24160 Likewise.
24161
24162 2012-04-30 Joseph Myers <joseph@codesourcery.com>
24163
24164 [BZ #13942]
24165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24166 (1 - x) * (1 + x).
24167 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24168 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24169 * math/libm-test.inc (acos_test): Add more tests.
24170 (asin_test): Likewise.
24171 * sysdeps/i386/fpu/libm-test-ulps: Update.
24172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24173
24174 [BZ #14034]
24175 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24176 of square root.
24177 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24178 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24179 * math/libm-test.inc (acos_test_tonearest): New function.
24180 (acos_test_towardzero): Likewise.
24181 (acos_test_downward): Likewise.
24182 (acos_test_upward): Likewise.
24183 (asin_test_tonearest): Likewise.
24184 (asin_test_towardzero): Likewise.
24185 (asin_test_downward): Likewise.
24186 (asin_test_upward): Likewise.
24187 (main): Call the new functions.
24188 * sysdeps/i386/fpu/libm-test-ulps: Update.
24189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24190
24191 [BZ #13884]
24192 [BZ #13924]
24193 * math/e_exp10.c: Include <float.h>.
24194 (__ieee754_exp10): Handle underflow here rather than multiplying
24195 large negative argument by M_LN10.
24196 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24197 of __ieee754_expf.
24198 * math/e_exp10l.c: Include <float.h>.
24199 (__ieee754_exp10l): Handle underflow here rather than multiplying
24200 large negative argument by M_LN10l.
24201 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24202 spurious overflow exception on underflow.
24203
24204 2012-04-29 Marek Polacek <polacek@redhat.com>
24205
24206 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24207 (__fortify_function): New macro.
24208 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24209 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24210 __extern_always_inline.
24211 * libio/bits/stdio2.h: Likewise.
24212 * libio/bits/stdio.h: Likewise.
24213 * string/string.h: Likewise.
24214 * string/bits/string3.h: Likewise.
24215 * include/stdio.h: Likewise.
24216 * stdlib/bits/stdlib.h: Likewise.
24217 * stdlib/stdlib.h: Likewise.
24218 * rt/bits/mqueue2.h: Likewise.
24219 * rt/mqueue.h: Likewise.
24220 * posix/bits/unistd.h: Likewise.
24221 * posix/unistd.h: Likewise.
24222 * io/bits/poll2.h: Likewise.
24223 * io/bits/fcntl2.h: Likewise.
24224 * io/fcntl.h: Likewise.
24225 * io/sys/poll.h: Likewise.
24226 * misc/bits/syslog.h: Likewise.
24227 * misc/bits/syslog-ldbl.h: Likewise.
24228 * misc/sys/syslog.h: Likewise.
24229 * socket/bits/socket2.h: Likewise.
24230 * socket/sys/socket.h: Likewise.
24231 * debug/tst-chk1.c: Likewise.
24232 * wcsmbs/bits/wchar2.h: Likewise.
24233 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24234 * wcsmbs/wchar.h: Likewise.
24235
24236 2012-04-29 Andreas Jaeger <aj@suse.de>
24237
24238 * Makerules (tests): Remove enable-check-abi protection.
24239 (check-abi-warn): Remove.
24240 (check-abi-%): Remove check-abi-warn usage.
24241
24242 * configure.in: Remove check-abi configure option.
24243 * configure: Regenerated.
24244 * config.make.in (enable-check-abi): Remove.
24245
24246 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24247
24248 [BZ #14033]
24249 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24250 double functions to double *_finite functions.
24251
24252 [BZ #13941]
24253 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24254 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24255 LDBL_MIN_EXP.
24256 * stdio-common/Makefile (tests): Add tst-sprintf3.
24257 * stdio-common/tst-sprintf3.c: New file.
24258
24259 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24260 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24261
24262 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24263
24264 * conform/conformtest.pl: Remove duplicate typed-constant
24265 handling.
24266
24267 2012-04-28 David S. Miller <davem@davemloft.net>
24268
24269 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24270 (check-abi-%): Remove AWK script prerequisite and explicit
24271 abilist directory.
24272 (check-abi): Rewrite to just diff the symlist with the abilist.
24273 (config-tls, config-abi-config): Delete, no longer used.
24274 (update-abi-%): Remove AWK script and explicit abilist directory.
24275 (update-abi): Rewrite to simply compare and conditionally copy the
24276 symlist and the sysdep abilist file. Remove update-abi-config
24277 checks.
24278 * abilist/ld.abilist: Remove.
24279 * abilist/libBrokenLocale.abilist: Remove.
24280 * abilist/libanl.abilist: Remove.
24281 * abilist/libcrypt.abilist: Remove.
24282 * abilist/libdl.abilist: Remove.
24283 * abilist/librt.abilist: Remove.
24284 * abilist/libthread_db.abilist: Remove.
24285 * abilist/libutil.abilist: Remove.
24286 * scripts/extract-abilist.awk: Remove.
24287 * scripts/merge-abilist.awk: Remove.
24288 * sysdeps/generic/libcidn.abilist: New file.
24289 * sysdeps/generic/libnss_compat.abilist: New file.
24290 * sysdeps/generic/libnss_db.abilist: New file.
24291 * sysdeps/generic/libnss_dns.abilist: New file.
24292 * sysdeps/generic/libnss_files.abilist: New file.
24293 * sysdeps/generic/libnss_hesiod.abilist: New file.
24294 * sysdeps/generic/libnss_nis.abilist: New file.
24295 * sysdeps/generic/libnss_nisplus.abilist: New file.
24296 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24297 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24298 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24299 file.
24300 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24301 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24302 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24303 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24304 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24306 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24307 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24308 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24309 file.
24310 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24311 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24312 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24313 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24314 file.
24315 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24316 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24317 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24319 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24320 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24321 file.
24322 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24323 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24324 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24325 file.
24326 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24328 New file.
24329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24330 New file.
24331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24332 New file.
24333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24334 New file.
24335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24336 New file.
24337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24338 New file.
24339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24340 New file.
24341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24342 New file.
24343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24344 New file.
24345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24346 New file.
24347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24348 New file.
24349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24350 New file.
24351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24352 New file.
24353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24354 file.
24355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24356 New file.
24357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24358 New file.
24359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24360 file.
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24362 New file.
24363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24364 New file.
24365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24366 file.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24368 New file.
24369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24370 New file.
24371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24372 New file.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24374 New file.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24376 New file.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24378 New file.
24379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24381 file.
24382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24383 New file.
24384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24385 file.
24386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24387 file.
24388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24389 file.
24390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24391 file.
24392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24393 file.
24394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24395 New file.
24396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24397 file.
24398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24399 file.
24400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24401 New file.
24402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24403 file.
24404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24406 file.
24407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24408 New file.
24409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24410 file.
24411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24412 file.
24413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24414 file.
24415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24416 file.
24417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24418 file.
24419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24420 New file.
24421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24422 file.
24423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24424 file.
24425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24426 New file.
24427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24428 file.
24429 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24430 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24431 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24432 file.
24433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24434 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24435 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24436 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24437 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24438 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24439 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24440 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24441 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24442 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24445 file.
24446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24447 New file.
24448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24449 file.
24450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24451 file.
24452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24453 file.
24454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24455 file.
24456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24457 file.
24458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24459 New file.
24460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24461 New file.
24462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24463 file.
24464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24465 New file.
24466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24467 file.
24468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24470 file.
24471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24472 New file.
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24474 file.
24475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24476 file.
24477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24478 file.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24480 file.
24481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24482 file.
24483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24484 New file.
24485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24486 New file.
24487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24488 file.
24489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24490 New file.
24491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24492 file.
24493
24494 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24495
24496 * conform/conformtest.pl: Fix typo in handling typed-constant from
24497 allow-header.
24498
24499 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24500
24501 * README: Cut down references to pre-2.6 Linux kernels and
24502 Linuxthreads. Update lists of configurations in libc and ports
24503 and sort alphabetically. Say "or newer" with Linux kernel version
24504 requirements.
24505
24506 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24507
24508 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24509
24510 [BZ #887]
24511 * math/libm-test.inc (logb_test_downward): New test to expose
24512 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24513 rounding mode.
24514
24515 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24516
24517 [BZ #14027]
24518 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24519 to be done.
24520 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24521 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24522
24523 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24524
24525 * sysdeps/unix/i386/brk.S: Remove file.
24526 * sysdeps/unix/i386/dl-brk.S: Likewise.
24527 * sysdeps/unix/i386/pipe.S: Likewise.
24528 * sysdeps/unix/i386/sigreturn.S: Likewise.
24529 * sysdeps/unix/i386/syscall.S: Likewise.
24530 * sysdeps/unix/i386/vfork.S: Likewise.
24531 * sysdeps/unix/i386/wait.S: Likewise.
24532
24533 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24534 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24535
24536 * configure.in (arm*-none*): Do not allow without
24537 --enable-hacker-mode.
24538 (netbsd*): Remove case setting base_os.
24539 (386bsd*): Likewise.
24540 (freebsd*): Likewise.
24541 (bsdi*): Likewise.
24542 (osf*): Likewise.
24543 (sunos*): Likewise.
24544 (ultrix*): Likewise.
24545 (newsos*): Likewise.
24546 (dynix*): Likewise.
24547 (*bsd*): Likewise.
24548 (sysv*): Likewise.
24549 (isc*): Likewise.
24550 (esix*): Likewise.
24551 (sco*): Likewise.
24552 (minix*): Likewise.
24553 (irix4*): Likewise.
24554 (irix6*): Likewise.
24555 (solaris[2-9]*): Likewise.
24556 (none): Likewise.
24557 * configure: Regenerated.
24558
24559 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24560
24561 [BZ #11521]
24562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24563 overflow or cancellation in calculating denominator.
24564 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24566 down expression to avoid unexpected rounding in newer GCCs.
24567 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24568
24569 2012-04-26 David S. Miller <davem@davemloft.net>
24570
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24572 long-double compat symbols.
24573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24586
24587 2012-04-25 David S. Miller <davem@davemloft.net>
24588
24589 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24590 HWCAP_* values only after the memory barriers have been defined.
24591 (atomic_full_barrier): Define.
24592 (atomic_read_barrier): Define.
24593 (atomic_write_barrier): Define.
24594
24595 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24596
24597 * shlib-versions: Add libgcc_s version information.
24598 * sysdeps/generic/libgcc_s.h: Remove.
24599 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24600 libgcc_s.h.
24601 * sysdeps/gnu/unwind-resume.c: Likewise.
24602 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24603
24604 2012-04-25 David S. Miller <davem@davemloft.net>
24605
24606 * sysdeps/unix/sparc/brk.S: Delete.
24607 * sysdeps/unix/sparc/dl-brk.S: Delete.
24608 * sysdeps/unix/sparc/pipe.S: Delete.
24609 * sysdeps/unix/sparc/sysdep.S: Delete.
24610 * sysdeps/unix/sparc/sysdep.h: Delete.
24611 * sysdeps/unix/sparc/vfork.S: Delete.
24612 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24613 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24614 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24615 ret_ERRVAL, r0, r1, MOVE): Define.
24616 (JUMPTARGET): Remove.
24617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24618 sysdeps/unix/sparc/sysdep.h
24619 (ENTRY, END): Remove.
24620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24621
24622 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24623
24624 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24625 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24626 -DIS_IN_build.
24627
24628 * timezone/README: Update upstream location and email address for
24629 tzcode and tzdata.
24630 * timezone/zdump.c: Update from tzcode 2012b.
24631 * timezone/zic.c: Likewise.
24632
24633 * configure.in (libc_cv_as_needed): Remove test.
24634 * configure: Regenerated.
24635 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24636 conditional definition.
24637 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24638 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24639 * config.make.in (have-as-needed): Remove variable.
24640
24641 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24642 Paul Pluzhnikov <ppluzhnikov@google.com>
24643
24644 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24645 strings correctly.
24646
24647 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24648
24649 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24650 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24651 * sysdeps/sh/strlen.S: Likewise.
24652
24653 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24654
24655 * sysdeps/unix/fork.S: Remove file.
24656 * sysdeps/unix/i386/fork.S: Likewise.
24657 * sysdeps/unix/sparc/fork.S: Likewise.
24658
24659 * sysdeps/unix/system.c: Remove file.
24660 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24661
24662 * sysdeps/unix/getegid.S: Remove file.
24663 * sysdeps/unix/geteuid.S: Likewise.
24664
24665 2012-04-24 Roland McGrath <roland@hack.frob.com>
24666
24667 * scripts/check-localplt.awk: New file.
24668 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24669 of diff.
24670 * scripts/data/localplt-generic.data: Add a comment.
24671
24672 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24673 NODE when __dir_mkfile failed.
24674 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24675 Reported by Ludovic Courtès <ludo@gnu.org>.
24676
24677 2012-04-24 Andreas Jaeger <aj@suse.de>
24678
24679 * Makerules (common-clean): Also remove gen-as-const-headers
24680 files.
24681
24682 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24683
24684 * Makerules (native-compile): Do not change working directory for
24685 build. Use $(OUTPUT_OPTION) in command.
24686 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24687
24688 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24689
24690 [BZ #13886]
24691 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24692 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24693 * math/libm-test.inc (floor_test): Add more tests.
24694 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24695
24696 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24697
24698 * sysdeps/unix/getdents.c: Remove file.
24699 * sysdeps/unix/sysv/getdents.c: Likewise.
24700 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24701
24702 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24703 sysdeps/unix/mman/syscalls.list.
24704 (mmap): Likewise.
24705 (mprotect): Likewise.
24706 (msync): Likewise.
24707 (munmap): Likewise.
24708 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24709 * sysdeps/unix/mman/syscalls.list: Remove.
24710 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24711
24712 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24713 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24714 * configure: Regenerated.
24715 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24716 $(libgcc_s_suffix).
24717 * config.make.in (libgcc_s_suffix): Remove variable.
24718
24719 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24720
24721 * sysdeps/unix/sysv/gethostname.c: Move to ...
24722 * sysdeps/posix/gethostname.c: ... here.
24723
24724 * sysdeps/unix/execve.S: Remove file.
24725
24726 * sysdeps/unix/_exit.S: Remove file.
24727
24728 2012-04-23 Andreas Jaeger <aj@suse.de>
24729
24730 [BZ #13739]
24731 * manual/Makefile: Remove make dist support, there's no
24732 need for a stand-alone documentation tar ball.
24733 (TEXI2DVI): Define always, it's not in Makeconfig.
24734 (dist): Removed.
24735 (tar-it): Removed.
24736 (edition): Removed.
24737 (glibc-doc-$(edition).tar): Removed
24738 (%.Z): Removed.
24739 (%.gz): Removed.
24740 (%.uu): Removed.
24741 (ETAGS): Remove, it's in Makeconfig.
24742 (move-if-change): Remove, it's in Makeconfig.
24743
24744 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24745
24746 [BZ #13970]
24747 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24748 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24749 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24750 (strtod_l, strtof_l, strtold_l): Remove __wur.
24751 It is not necessarily an error to ignore strtol's return value.
24752 One can reliably look at the stored endptr to decide whether
24753 the number had valid syntax.
24754
24755 2012-04-21 Andreas Jaeger <aj@suse.de>
24756
24757 [BZ #13739]
24758 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24759
24760 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24761
24762 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24763 * sysdeps/unix/sysv/Versions: Remove file.
24764
24765 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24766
24767 [BZ #13927]
24768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24769
24770 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24771
24772 [BZ #7064]
24773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24774 version from __vm86.
24775
24776 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24777
24778 * sysdeps/unix/common/lxstat.c: Remove file.
24779 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24780
24781 * sysdeps/unix/sysv/Makefile: Remove file.
24782
24783 * sysdeps/unix/sysv/direct.h: Remove file.
24784
24785 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24786 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24787 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24788 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24789 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24790 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24791 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24792
24793 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24794
24795 * sysdeps/unix/xmknod.c: Remove file.
24796 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24797
24798 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24799
24800 * sysdeps/unix/sysv/i386/time.S: Remove file.
24801
24802 * sysdeps/unix/fxstat.c: Remove file.
24803 * sysdeps/unix/xstat.c: Likewise.
24804 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24805
24806 * sysdeps/unix/sysv/sigaction.c: Remove file.
24807
24808 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24809 (sysdep_headers): Remove variable.
24810 [termio.h not in sysdep_headers] (generated): Likewise.
24811 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24812 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24813 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24814 * sysdeps/unix/sysv/tcflow.c: Likewise.
24815 * sysdeps/unix/sysv/tcflush.c: Likewise.
24816 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24817 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24818 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24819 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24820 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24821
24822 * sysdeps/unix/siglist.c: Remove file.
24823
24824 * sysdeps/unix/getppid.S: Remove file.
24825
24826 * sysdeps/unix/mkdir.c: Remove file.
24827 * sysdeps/unix/rmdir.c: Likewise.
24828
24829 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24830
24831 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24832 ERR_MAX value.
24833 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24834 errlist-compat value.
24835
24836 2012-04-18 David S. Miller <davem@davemloft.net>
24837
24838 * sysdeps/generic/memcopy.h (reg_char): Delete.
24839 * debug/strcat_chk.c: Use char, not reg_char.
24840 * debug/strcpy_chk.c: Likewise.
24841 * debug/strncat_chk.c: Likewise.
24842 * debug/strncpy_chk.c: Likewise.
24843 * string/memchr.c: Likewise.
24844 * string/memrchr.c: Likewise.
24845 * string/rawmemchr.c: Likewise.
24846 * string/strcat.c: Likewise.
24847 * string/strchr.c: Likewise.
24848 * string/strchrnul.c: Likewise.
24849 * string/strcmp.c: Likewise.
24850 * string/strcpy.c: Likewise.
24851 * string/strncat.c: Likewise.
24852 * string/strncmp.c: Likewise.
24853 * string/strncpy.c: Likewise.
24854
24855 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24856
24857 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24858 __builtin_memcopy is called when src and dest ranges are known to not
24859 overlap.
24860
24861 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24862
24863 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24864 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24865 fwd_align_merge macro call.
24866 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24867 bwd_align_merge macro call.
24868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24869
24870 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24871
24872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24873 bwd_align_merge macros.
24874 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24875 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24877
24878 2012-04-18 David S. Miller <davem@davemloft.net>
24879
24880 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24881
24882 2012-04-18 Andreas Jaeger <aj@suse.de>
24883
24884 [BZ# 6794]
24885 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24886 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24888
24889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24890 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24892
24893 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24894 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24895 Adjust for changed ldbl-128 files.
24896
24897 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24898 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24899 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24900
24901 2012-04-17 David S. Miller <davem@davemloft.net>
24902
24903 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24904
24905 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24906
24907 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24908 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24909 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24910 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24911 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24912 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24913
24914 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24915
24916 [BZ #6794]
24917 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24918 * math/libm-test.inc: Add ilogb errno and exception tests.
24919 * math/w_ilogb.c: New file: ilogb wrapper.
24920 * math/w_ilogbf.c: New file: ilogbf wrapper.
24921 * math/w_ilogbl.c: New file: ilogbl wrapper.
24922 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24923 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24924 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24925 exception being thrown with 0.0 as argument.
24926 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24927 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24928 exception being thrown with 0.0 as argument.
24929 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24930 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24931 exception being thrown with 0.0 as argument.
24932 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24933 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24934 exception being thrown with 0.0 as argument.
24935 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24936 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24937 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24938 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24939 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24940 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24941 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24942 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24943 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24944
24945 2012-04-17 Petr Baudis <pasky@ucw.cz>
24946
24947 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24948 with altivec.
24949
24950 2012-04-16 Marek Polacek <polacek@redhat.com>
24951
24952 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24953
24954 2012-04-16 Marek Polacek <polacek@redhat.com>
24955
24956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24957 operands of fdivp instruction.
24958
24959 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24960
24961 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24962 * elf/tst-auditmod3b.c: Likewise.
24963 * elf/tst-auditmod4b.c: Likewise.
24964 * elf/tst-auditmod5b.c: Likewise.
24965 * elf/tst-auditmod6b.c: Likewise.
24966 * elf/tst-auditmod6c.c: Likewise.
24967 * elf/tst-auditmod7b.c: Likewise.
24968 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24969 * sysdeps/x86_64/preconfigure.in: Likewise.
24970 * sysdeps/x86_64/preconfigure: Regenerated.
24971
24972 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24973
24974 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24975 __ILP32__.
24976
24977 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24978
24979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24980 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24981
24982 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24983
24984 [BZ #13973]
24985 * locale/iso-639.def: Fix gl language name. Spotted by
24986 Yaron Shahrabani.
24987
24988 2012-04-12 Roland McGrath <roland@hack.frob.com>
24989
24990 [BZ #2074]
24991 * libio/libio.h (__io_write_fn): Update comment.
24992
24993 2012-04-12 Petr Baudis <pasky@ucw.cz>
24994
24995 [BZ #2074]
24996 * stdio.texi (Hook Functions): The user provided writer function
24997 is not allowed to return -1.
24998
24999 2012-04-11 David S. Miller <davem@davemloft.net>
25000
25001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25002
25003 2012-04-11 Mike Frysinger <vapier@gentoo.org>
25004
25005 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25006 Add a leading slash to rtkaio.
25007
25008 2012-04-11 Jim Meyering <meyering@redhat.com>
25009
25010 [BZ #11959]
25011 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25012 It is not necessarily an error to ignore fwrite's return
25013 value. One can reliably use ferror to test for errors after
25014 the fact.
25015
25016 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25017
25018 * bits/types.h (__snseconds_t): New type.
25019 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25020
25021 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25023 (__SNSECONDS_T_TYPE): Likewise.
25024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25025 (__SNSECONDS_T_TYPE): Likewise.
25026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25027 (__SNSECONDS_T_TYPE): Likewise.
25028
25029 2012-04-10 Andreas Jaeger <aj@suse.de>
25030
25031 [BZ #2636]
25032 * manual/time.texi (Processor Time): Return type of times is
25033 elapsed real time since an arbitrary point in the past.
25034 (CPU Time): Move CLK_TCK from here...
25035 (Processor Time): ...to here. Correct description.
25036 * manual/conf.texi (Constants for Sysconf): Correct description of
25037 _SC_CLK_TCK.
25038
25039 2012-04-10 David S. Miller <davem@davemloft.net>
25040
25041 [BZ #13967]
25042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25043 where the is a gap between DT_REL(A) and DT_JMPREL.
25044
25045 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25046
25047 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25048 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25049 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25050
25051 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25052
25053 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25054 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25055 (dl_main): Handle --inhibit-cache.
25056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25057 _dl_inhibit_cache.
25058 * elf/dl-load.c (_dl_map_object): Use it.
25059 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25060
25061 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25062
25063 [BZ #13872]
25064 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25065 (__ieee754_powl): Saturate large exponents rather than testing for
25066 overflow of y*log2(x).
25067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25068 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25069 exceptions.
25070
25071 [BZ #11521]
25072 * math/s_ctan.c: Include <float.h>.
25073 (__ctan): Avoid internal overflow or cancellation in calculating
25074 denominator.
25075 * math/s_ctanf.c: Likewise.
25076 * math/s_ctanl.c: Likewise.
25077 * math/s_ctanh.c: Likewise.
25078 * math/s_ctanhf.c: Likewise.
25079 * math/s_ctanhl.c: Likewise.
25080 * math/libm-test.inc (ctan_test): Add more tests.
25081 (ctanh_test): Likewise.
25082 * sysdeps/i386/fpu/libm-test-ulps: Update.
25083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25084
25085 2012-04-09 Andreas Jaeger <aj@suse.de>
25086
25087 [BZ #6894]
25088 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25089 is an optional BSD extension.
25090
25091 [BZ #10254]
25092 * manual/stdio.texi (Opening Streams): Document additional fopen
25093 parameters.
25094
25095 2012-04-09 Roland McGrath <roland@hack.frob.com>
25096
25097 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25098 %eax without telling the compiler.
25099
25100 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25101
25102 [BZ # 13963]
25103 * manual/install.texi: Use sourceware.org.
25104
25105 2012-04-09 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #13873]
25108 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25109 (__ieee754_pow): Generate overflow and underflow using huge*huge
25110 and tiny*tiny rather than just returning constant infinity or zero
25111 for large exponents.
25112 * math/libm-test.inc (pow_test): Require overflow exceptions for
25113 applicable cases of large exponents.
25114
25115 [BZ #706]
25116 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25117 (__ieee754_pow): Use iterative multiplication algorithm only for
25118 integer exponents with absolute value below 1024. Check for odd
25119 integer exponents when using algorithm for real exponents.
25120 * math/libm-test.inc (pow_test): Add more tests.
25121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25122
25123 2012-04-08 Joseph Myers <joseph@codesourcery.com>
25124
25125 [BZ #13705]
25126 * math/libm-test.inc (exp_test): Do not allow overflow exception
25127 on underflow test.
25128
25129 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25130
25131 [BZ #13705]
25132 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25133 instead of __kernel_standard_f.
25134
25135 2012-04-08 Mike Frysinger <vapier@gentoo.org>
25136
25137 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25138 * sysdeps/x86_64/memset_chk.S: Likewise.
25139
25140 2012-04-08 Andreas Jaeger <aj@suse.de>
25141
25142 [BZ #10153]
25143 * manual/startup.texi (Environment Access): Describe return value
25144 for putenv and setenv.
25145
25146 [BZ #6895]
25147 * manual/filesys.texi (Directory Entries): Add description for
25148 DT_LNK.
25149
25150 [BZ #6890]
25151 * manual/filesys.texi (Directory Entries): Clarify that it's file
25152 system not operating system in the description of DT_UNKNOWN.
25153
25154 [BZ #6578]
25155 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25156
25157 2012-04-08 Stephen Compall <s11@member.fsf.org>
25158
25159 [BZ #6649]
25160 * manual/llio.texi (Opening and Closing Files): Add cross
25161 reference to explain mode argument.
25162
25163 2012-04-07 Mike Frysinger <vapier@gentoo.org>
25164
25165 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25166 * sysdeps/x86_64/memset_chk.S: Likewise.
25167
25168 2012-04-07 David S. Miller <davem@davemloft.net>
25169
25170 * elf/elf.h (R_SPARC_WDISP10): Define.
25171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25172 R_SPARC_SIZE32.
25173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25174 R_SPARC_SIZE64 and R_SPARC_H34.
25175
25176 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25177
25178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25179 conditions and remove no longer applicable assertion.
25180
25181 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25182
25183 * bits/byteswap.h: Include <features.h>.
25184 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25185 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25186
25187 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25188
25189 * bits/byteswap.h (__bswap_16): Removed.
25190 Include <bits/byteswap-16.h> to get __bswap_16.
25191 * sysdeps/i386/bits/byteswap.h: Likewise.
25192 * sysdeps/s390/bits/byteswap.h: Likewise.
25193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25194 * bits/byteswap-16.h: New file.
25195 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25196 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25197 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25198 * string/Makefile (headers): Add bits/byteswap-16.h.
25199
25200 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25201
25202 [BZ #13895]
25203 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25204 extra indirection.
25205 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25206 * nss/tst-nss-static.c: New.
25207
25208 2012-04-06 Robert Millan <rmh@gnu.org>
25209
25210 [BZ #6486]
25211 * manual/llio.texi (File Position Primitive): lseek
25212 refers to WHENCE when it really means OFFSET.
25213
25214 2012-04-06 Andreas Jaeger <aj@suse.de>
25215
25216 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25217 strncmp declarations.
25218
25219 * abilist/libc.abilist: Add __poll and __ppoll.
25220
25221 2012-04-05 David S. Miller <davem@davemloft.net>
25222
25223 * scripts/check-local-headers.sh: Accept a host triplet in the
25224 path matched by the exclude regexp.
25225
25226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25227 definition.
25228 * sysdeps/powerpc/powerpc32/dl-machine.h
25229 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25230 * sysdeps/s390/s390-32/dl-machine.h
25231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25232 * sysdeps/sparc/sparc32/dl-machine.h
25233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25234 * sysdeps/sparc/sparc64/dl-machine.h
25235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25236
25237 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25238 lazy binding.
25239 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25240 undefined symbol errors.
25241
25242 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25243 DT_NEEDED entries.
25244
25245 2012-04-05 Michael Matz <matz@suse.de>
25246
25247 [BZ #13592]
25248 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25249
25250 2012-04-05 Andreas Jaeger <aj@suse.de>
25251
25252 [BZ #13908]
25253 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25254 comment.
25255
25256 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25257
25258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25259 which ROUND is no valid rounding mode.
25260
25261 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25262
25263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25264 read again.
25265 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25266
25267 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25268
25269 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25270 an exception using FPU order intentionally.
25271
25272 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25273
25274 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25275 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25276 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25277 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25278
25279 2012-04-05 Simon Josefsson <simon@josefsson.org>
25280
25281 [BZ #12340]
25282 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25283 EINVAL when BUFLEN is too smal.
25284
25285 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25286
25287 [BZ #13553]
25288 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25289 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25290
25291 2012-04-03 Andreas Jaeger <aj@suse.de>
25292
25293 [BZ #13938]
25294 * manual/setjmp.texi (System V contexts): Fix sentence.
25295
25296 [BZ #13926]
25297 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25298 New macro for this case.
25299 [!__GNUC__] (__bswap_64): New inline function for this case.
25300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25301 * bits/byteswap.h: Likewise.
25302 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25303 ull, guard with __GLIBC_HAVE_LONG_LONG.
25304
25305 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25306 __GLIBC_HAVE_LONG_LONG.
25307
25308 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25309 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25310
25311 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25312
25313 [BZ #13691]
25314 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25315 inptr and inend, rather than using last_ch.
25316
25317 2012-04-02 David S. Miller <davem@davemloft.net>
25318
25319 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25320 * stdio-common/printf-parse.h (read_int): Change return type to
25321 'int', return -1 on INT_MAX overflow.
25322 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25323 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25324 overflows INT_MAX. Check for overflow of in-format-string precision
25325 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25326 SIZE_MAX not INT_MAX for integer overflow test.
25327 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25328 skip the construct in the format string but do not record anything.
25329 * stdio-common/bug22.c: Adjust to test both width/prevision
25330 INT_MAX overflow as well as total length INT_MAX overflow. Check
25331 explicitly for proper errno values.
25332
25333 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25334
25335 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25336 CHAR_MAX.
25337 * string/test-strcmp.c [! WIDE]: Likewise.
25338 * time/tst-mktime2.c: Likewise for INT_MAX.
25339 * string/test-string.h: #include <sys/param.h> for MIN.
25340
25341 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25342 * sysdeps/i386/init-first.c (init): Likewise.
25343 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25344 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25345 * sysdeps/sh/init-first.c (init): Likewise.
25346
25347 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25348
25349 * po/ru.po: Update from translation team.
25350 * po/vi.po: Likewise.
25351
25352 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25353
25354 * resolv/nss_dns/dns-host.c: Merge copyright years.
25355
25356 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25357
25358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25359 Optimize memcpy with prefetch if
25360 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25361 src, dst pointers have unequal 16 byte alignments.
25362
25363 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25364
25365 [BZ #13928]
25366 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25367 from a CNAME entry and return the minimum ttl for the query.
25368 (gaih_getanswer_slice): Likewise.
25369
25370 2012-03-30 Jeff Law <law@redhat.com>
25371
25372 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25373 due to long keys.
25374 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25375 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25376
25377 * resolv/nss_dns/dns-host.c: Update copyright year.
25378
25379 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25380
25381 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25382 requests to save a system call. Fix check that all bytes are sent.
25383
25384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25385 comments for sendmmsg.
25386
25387 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25388
25389 [BZ #13691]
25390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25391 with only 1 character between 0x0041 and 0x01b0.
25392 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25393 * wcsmbs/tst-mbsnrtowcs.c: New file.
25394
25395 2012-03-29 David S. Miller <davem@davemloft.net>
25396
25397 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25398 small copies by hand.
25399
25400 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25401
25402 [BZ #13761]
25403 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25404 _nss_compat_initgroups_dyn): Fall back to malloc/free
25405 for large group memberships.
25406
25407 2012-03-28 David S. Miller <davem@davemloft.net>
25408
25409 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25410 that branches into memcpy.
25411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25414 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25416 bits.
25417 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25418 implementation too.
25419 * sysdeps/sparc/mempcpy.S: New file.
25420
25421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25422 the IFUNC routine in the libc case.
25423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25424
25425 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25426 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25427 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25428 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25429 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25430 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25431 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25432 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25433
25434 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25435 loop to 256 bytes instead of 64 bytes and fix test signedness.
25436
25437 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25438 * sysdeps/sparc/sparc32/Makefile: rather than here...
25439 * sysdeps/sparc/sparc64/Makefile: and here.
25440
25441 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25442
25443 * malloc/mallocbug.c: Avoid warnings about unused variables.
25444
25445 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25446
25447 [BZ #13760]
25448 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25449 in the right place. Discard and retry query if response is
25450 larger than input buffer size.
25451
25452 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25453
25454 [BZ #369]
25455 [BZ #2678]
25456 [BZ #3866]
25457 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25458 x for large integer exponent.
25459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25460 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25461 sign of result as needed afterwards.
25462 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25463 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25464 result for underflowing pow the same as for overflow.
25465 (__kernel_standard_l): Handle powl overflow and underflow here
25466 rather than calling __kernel_standard.
25467 * math/libm-test.inc (pow_test): Add more tests.
25468
25469 [BZ #3868]
25470 [BZ #13879]
25471 [BZ #13910]
25472 [BZ #13911]
25473 [BZ #13912]
25474 [BZ #13913]
25475 [BZ #13915]
25476 [BZ #13916]
25477 [BZ #13917]
25478 [BZ #13918]
25479 [BZ #13919]
25480 [BZ #13920]
25481 [BZ #13921]
25482 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25483 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25484 (__kernel_standard_l): New function.
25485 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25486 __kernel_standard.
25487 * math/w_acosl.c (__acosl): Likewise.
25488 * math/w_asinl.c (__asinl): Likewise.
25489 * math/w_atan2l.c (__atan2l): Likewise.
25490 * math/w_atanhl.c (__atanhl): Likewise.
25491 * math/w_coshl.c (__coshl): Likewise.
25492 * math/w_exp10l.c (__exp10l): Likewise.
25493 * math/w_exp2l.c (__exp2l): Likewise.
25494 * math/w_fmodl.c (__fmodl): Likewise.
25495 * math/w_hypotl.c (__hypotl): Likewise.
25496 * math/w_j0l.c (__j0l, __y0l): Likewise.
25497 * math/w_j1l.c (__j1l, __y1l): Likewise.
25498 * math/w_jnl.c (__jnl, __ynl): Likewise.
25499 * math/w_lgammal.c (__lgammal): Likewise.
25500 * math/w_log10l.c (__log10l): Likewise.
25501 * math/w_log2l.c (__log2l): Likewise.
25502 * math/w_logl.c (__logl): Likewise.
25503 * math/w_powl.c (__powl): Likewise.
25504 * math/w_remainderl.c (__remainderl): Likewise.
25505 * math/w_scalbl.c (sysv_scalbl): Likewise.
25506 * math/w_sinhl.c (__sinhl): Likewise.
25507 * math/w_sqrtl.c (__sqrtl): Likewise.
25508 * math/w_tgammal.c (__tgammal): Likewise.
25509 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25510 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25511 * math/libm-test.inc (acos_test): Add more tests.
25512 (acosh_test): Likewise.
25513 (asin_test): Likewise.
25514 (atanh_test): Likewise.
25515 (exp_test): Likewise.
25516 (exp10_test): Likewise.
25517 (exp2_test): Likewise.
25518 (expm1_test): Likewise.
25519 (lgamma_test): Likewise.
25520 (log_test): Likewise.
25521 (log10_test): Likewise.
25522 (log1p_test): Likewise.
25523 (log2_test): Likewise.
25524 (pow_test): Do not allow some spurious overflow exceptions.
25525 (sqrt_test): Add more tests.
25526 (tgamma_test): Likewise.
25527 (y0_test): Likewise.
25528 (y1_test): Likewise.
25529 (yn_test): Likewise.
25530
25531 2012-03-27 Anton Blanchard <anton@samba.org>
25532
25533 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25534 MAP_HUGETLB.
25535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25538
25539 2012-03-27 David S. Miller <davem@davemloft.net>
25540
25541 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25542
25543 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25544 have-as-vis3 check.
25545
25546 2012-03-27 Andreas Jaeger <aj@suse.de>
25547
25548 * sysdeps/x86_64/elf/configure.in: Moved to ...
25549 * sysdeps/x86_64/configure.in: ... here.
25550 * sysdeps/x86_64/elf/start.S: Moved to ...
25551 * sysdeps/x86_64/start.S: ... here.
25552 * sysdeps/x86_64/elf/configure: Delete.
25553
25554 * sysdeps/x86_64/configure.in: Merge contents from
25555 sysdeps/i386/configure.in (without i686 check).
25556
25557 * sysdeps/i386/elf/Versions: Merge into ...
25558 * sysdeps/i386/Versions: ... this.
25559 * sysdeps/i386/elf/Versions: Delete file.
25560 * sysdeps/i386/elf/start.S: Moved to ...
25561 * sysdeps/i386/start.S: ...here.
25562 * sysdeps/i386/elf/configure.in: Merge into...
25563 * sysdeps/i386/configure.in: ...here.
25564 * sysdeps/i386/elf/configure.in: Delete file.
25565 * sysdeps/i386/elf/configure: Delete file.
25566
25567 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25568 * debug/backtracesyms.c: ... here.
25569 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25570 * debug/backtracesymsfd.c: ... here.
25571 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25572 * sysdeps/generic/ifunc-sel.h: ... here.
25573
25574 * sysdeps/unix/i386/start.c: Delete file.
25575 * sysdeps/unix/sparc/start.c: Delete file.
25576 * sysdeps/unix/start.c: Delete file.
25577
25578 * sysdeps/sh/elf/configure.in: Moved to ...
25579 * sysdeps/sh/configure.in: ... here.
25580 * sysdeps/sh/elf/start.S: Moved to ...
25581 * sysdeps/sh/start.S: ... here.
25582 * sysdeps/sh/elf/configure: Delete file.
25583
25584 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25585 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25586 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25587 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25588 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25589 * sysdeps/powerpc/powerpc64/start.S: here.
25590 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25591 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25592 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25593 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25594 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25595
25596 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25597 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25598 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25599 * sysdeps/powerpc/powerpc32/start.S: ... here.
25600 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25601 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25602 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25603
25604 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25605 * sysdeps/powerpc/ifunc-sel.h: ... here.
25606 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25607 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25608
25609 * sysdeps/sparc/elf/configure.in: Moved to ...
25610 * sysdeps/sparc/configure.in: ... here.
25611 * sysdeps/sparc/elf/configure: Delete file.
25612 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25613 * sysdeps/sparc/sparc32/start.S: ... here.
25614 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25615 * sysdeps/sparc/sparc64/start.S: ... here.
25616 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25617 * sysdeps/sparc/sparc32/Makefile: ... this.
25618 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25619 * sysdeps/sparc/sparc64/Makefile: ... this.
25620
25621 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25622 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25623 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25624 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25625 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25626 * sysdeps/s390/s390-32/setjmp.S: ... here.
25627 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25628 * sysdeps/s390/s390-32/configure.in: ... here.
25629 * sysdeps/s390/s390-32/elf/configure: Delete file.
25630 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25631 * sysdeps/s390/s390-32/start.S: ... here.
25632
25633 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25634 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25635 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25636 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25637 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25638 * sysdeps/s390/s390-64/setjmp.S: ... here.
25639 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25640 * sysdeps/s390/s390-64/configure.in: ... here
25641 * sysdeps/s390/s390-64/elf/configure: Delete file.
25642 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25643 * sysdeps/s390/s390-64/start.S: ... here.
25644 * sysdeps/s390/s390-64/elf/configure: Delete.
25645
25646 * configure.in: Remove support for elf directories in sysdeps.
25647
25648 * configure: Regenerated.
25649 * sysdeps/i386/configure: Regenerated.
25650 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25651 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25652 * sysdeps/s390/s390-32/configure: Regenerated.
25653 * sysdeps/s390/s390-64/configure: Regenerated.
25654 * sysdeps/sh/configure: Regenerated.
25655 * sysdeps/sparc/configure: Regenerated.
25656 * sysdeps/x86_64/configure: Regenerated.
25657
25658 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25659
25660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25661
25662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25663 denormal result into account.
25664
25665 2012-03-25 Roland McGrath <roland@hack.frob.com>
25666
25667 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25668 Reported by Allan McRae <allan@archlinux.org>.
25669
25670 2012-03-23 Jeff Law <law@redhat.com>
25671
25672 * nss/getnssent.c (__nss_getent): Fix typo.
25673
25674 2012-03-23 David S. Miller <davem@davemloft.net>
25675
25676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25677
25678 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25679
25680 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25681 to pad to uint64_t for each field.
25682 (dl_tls_index): Replace unsigned long with uint64_t.
25683
25684 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25685 Paul Pluzhnikov <ppluzhnikov@google.com>
25686
25687 [BZ #6528]
25688 * grp/Makefile (otherlibs): Don't set it.
25689 * inet/Makefile (otherlibs): Likewise.
25690 * login/Makefile (otherlibs): Likewise.
25691 * nscd/Makefile (otherlibs): Likewise.
25692 * posix/Makefile (otherlibs): Likewise.
25693 * pwd/Makefile (otherlibs): Likewise.
25694 * rt/Makefile (otherlibs): Likewise.
25695 * sunrpc/Makefile (otherlibs): Likewise.
25696 * nss/Makefile (otherlibs): Likewise.
25697 Add libnss_files to routines and static-only-routines.
25698 ($(objpfx)getent): Remove rule.
25699 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25700 static-only-routines.
25701
25702 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #13892]
25705 * math/s_cexp.c: Include <float.h>.
25706 (__cexp): Handle exp result overflowing not necessarily
25707 overflowing both real and imaginary parts of result.
25708 * math/s_cexpf.c: Likewise.
25709 * math/s_cexpl.c: Likewise.
25710 * math/libm-test.inc (cexp_test): Add more tests.
25711 * sysdeps/i386/fpu/libm-test-ulps: Update.
25712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713
25714 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 * include/link.h (ELFW): New macro.
25717 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25718 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25719
25720 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25721
25722 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25723 with uint64_t.
25724
25725 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25728 declaration.
25729 (struct La_x32_retval): Likewise.
25730
25731 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25732
25733 * sysdeps/x86_64/preconfigure.in: New file.
25734 * sysdeps/x86_64/preconfigure: New generated file.
25735
25736 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25737
25738 [BZ #13824]
25739 * math/e_exp2l.c: Include <float.h>.
25740 (__ieee754_exp2l): Handle overflow and underflow cases
25741 separately. Only pass fractional part of argument to
25742 __ieee754_expl.
25743 * math/libm-test.inc (exp2_test): Add more tests.
25744
25745 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25746 negating x to take absolute value.
25747 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25748 Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25751 Likewise.
25752 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25753 computing low part if x was negated.
25754 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25755
25756 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25757
25758 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25759 la_x32_gnu_pltexit.
25760 (pltexit): Cast int_retval to ptrdiff_t.
25761 * elf/tst-auditmod3b.c: Likewise.
25762 * elf/tst-auditmod4b.c: Likewise.
25763 * elf/tst-auditmod5b.c: Likewise.
25764 * elf/tst-auditmod6b.c: Likewise.
25765 * elf/tst-auditmod6c.c: Likewise.
25766 * elf/tst-auditmod7b.c: Likewise.
25767
25768 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25769 and x32_gnu_pltexit.
25770
25771 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25772 __ELF_NATIVE_CLASS.
25773 (La_x32_regs): New macro.
25774 (La_x32_retval): Likewise.
25775 (la_x32_gnu_pltenter): New function prototype.
25776 (la_x32_gnu_pltexit): Likewise.
25777
25778 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25779
25780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25781 exponent.
25782
25783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25784
25785 * configure.in (libc_cv_cc_nofma): Check for option to disable
25786 generation of FMA instructions.
25787 * configure: Regenerate.
25788 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25789 * sysdeps/ieee754/dbl-64/Makefile: New file.
25790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25791 Remove brandred-fma4.
25792 (CFLAGS-brandred-fma4.c): Remove.
25793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25795 define.
25796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25797 define.
25798
25799 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25800
25801 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25802 LLONG_MAX != LONG_MAX.
25803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25804 (_fitoa_word): Likewise.
25805 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25806 LLONG_MAX != LONG_MAX.
25807 * stdio-common/_itowa.h: Include <_itoa.h>.
25808 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25809 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25810 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25811 only if not defined.
25812 (_ITOA_WORD_TYPE): Likewise.
25813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25814 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25815
25816 2012-03-21 David S. Miller <davem@davemloft.net>
25817
25818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25819
25820 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25821
25822 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25823 of x86_64 when setting libc_cv_slibdir, libdir and
25824 libc_cv_localedir.
25825 * sysdeps/unix/sysv/linux/configure: Regenerated.
25826
25827 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25828
25829 * manual/lang.texi (Old Varargs): Remove section.
25830 (How Variadic): Update menu.
25831 (va_start): Do not mention varargs.h.
25832
25833 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25834 Joseph Myers <joseph@codesourcery.com>
25835
25836 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25837 link test.
25838 * configure: Regenerated.
25839
25840 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25841
25842 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25843 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25844 conformtest.pl
25845
25846 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25847
25848 * NOTES: Remove.
25849 * Makefile (files-for-dist): Remove NOTES.
25850 (NOTES): Remove rule.
25851 * README: Don't refer to NOTES.
25852 * manual/creature.texi: Don't include macros.texi.
25853 * manual/intro.texi (creature.texi): Remove comment referring to
25854 NOTES.
25855
25856 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25857 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25858 * configure: Regenerated.
25859 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25860 LIBC_TRY_CC_OPTION.
25861 (libc_cv_as_i686): Likewise.
25862 (libc_cv_cc_avx): Likewise.
25863 (libc_cv_cc_sse2avx): Likewise.
25864 (libc_cv_cc_fma4): Likewise.
25865 (libc_cv_cc_novzeroupper): Likewise.
25866 * sysdeps/i386/configure: Regenerated.
25867
25868 [BZ #13883]
25869 * sysdeps/i386/fpu/s_cexp.S: Remove.
25870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25872 * math/libm-test.inc (cexp_test): Add more tests.
25873 * sysdeps/i386/fpu/libm-test-ulps: Update.
25874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875
25876 2012-03-21 Allan McRae <allan@archlinux.org>
25877
25878 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25879
25880 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25881
25882 [BZ #13871]
25883 * math/w_exp2.c: Do not include <float.h>.
25884 (o_threshold, u_threshold): Remove.
25885 (__exp2): Calculate result before checking finiteness and calling
25886 __kernel_standard.
25887 * math/w_exp2f.c: Likewise.
25888 * math/w_exp2l.c: Likewise.
25889 * math/libm-test.inc (exp2_test): Require overflow exception for
25890 1e6 input.
25891
25892 [BZ #3866]
25893 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25894 range of signed 64-bit integers before using fistpll. Remove
25895 checks for whether integers fit in mantissa bits.
25896 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25897 the range of signed 32-bit integers before using fistpl. Remove
25898 checks for whether integers fit in mantissa bits.
25899 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25900 (__ieee754_powl): Test for y outside the range of signed 64-bit
25901 integers before using fistpll. Reduce 64-bit values to 63-bit
25902 ones as needed.
25903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25904 divide-by-zero is raised for zero to large negative powers.
25905 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25906 (__ieee754_powl): Test for y outside the range of signed 64-bit
25907 integers before using fistpll. Reduce 64-bit values to 63-bit
25908 ones as needed.
25909 * math/libm-test.inc (pow_test): Add more tests.
25910
25911 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25912
25913 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25914 <stdio-common/_itoa.h>.
25915 * debug/segfault.c: Likewise.
25916 * elf/dl-cache.c: Likewise.
25917 * elf/dl-minimal.c: Likewise.
25918 * elf/dl-misc.c: Likewise.
25919 * elf/dl-sysdep.c: Likewise.
25920 * elf/dl-version.c: Likewise.
25921 * elf/rtld.c: Likewise.
25922 * hurd/hurdsock.c: Likewise.
25923 * hurd/lookup-retry.c: Likewise.
25924 * malloc/malloc.c: Likewise.
25925 * malloc/mtrace.c: Likewise.
25926 * nscd/nscd_getgr_r.c: Likewise.
25927 * nscd/nscd_getpw_r.c: Likewise.
25928 * nscd/nscd_getserv_r.c: Likewise.
25929 * posix/getopt_init.c: Likewise.
25930 * posix/wordexp.c: Likewise.
25931 * stdio-common/_itoa.c: Likewise.
25932 * stdio-common/printf_fphex.c: Likewise.
25933 * stdio-common/vfprintf.c: Likewise.
25934 * string/_strerror.c: Likewise.
25935 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25936 * sysdeps/i386/i686/hp-timing.h: Likewise.
25937 * sysdeps/mach/_strerror.c: Likewise.
25938 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25939 * sysdeps/mach/hurd/sethostid.c: Likewise.
25940 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25941 * sysdeps/mach/xpg-strerror.c: Likewise.
25942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25944 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25945 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25947 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25949 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25950 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25951 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25952 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25953 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25954 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25955 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25956 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25958 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25960 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25961 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25962 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25963
25964 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25965
25966 * stdio-common/_itoa.h: Moved to ...
25967 * sysdeps/generic/_itoa.h: Here.
25968
25969 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25970
25971 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25972 instead of "_itoa.h" and "_itowa.h".
25973 * stdio-common/vfprintf.: Likewise.
25974
25975 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25976
25977 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25978 <bits/wordsize.h>.
25979 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25980 (__signbit): Likwise.
25981 (llrintf): Likwise.
25982 (llrint): Likwise.
25983
25984 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25987 __WORDSIZE != 64.
25988
25989 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25990
25991 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25992 OVERFLOW_EXCEPTION_OK.
25993 * math/libm-test.inc ("Philosophy"): Update comment about
25994 exception testing.
25995 (OVERFLOW_EXCEPTION): Define.
25996 (OVERFLOW_EXCEPTION_OK): Likewise.
25997 (INVALID_EXCEPTION_OK): Renumber.
25998 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25999 (IGNORE_ZERO_INF_SIGN): Likewise.
26000 (test_exceptions): Handle FE_OVERFLOW.
26001 (exp10_test): Expect overflow exceptions.
26002 (exp2_test): Likewise.
26003 (expm1_test): Likewise.
26004 (nextafter_test): Likewise.
26005 (pow_test): Likewise.
26006 (scalbn_test): Likewise.
26007 (scalbln_test): Likewise.
26008
26009 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26010
26011 * sysdeps/x86_64/bits/atomic.h
26012 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26013 64bit integer.
26014 (atomic_exchange_acq): Likewise.
26015 (__arch_exchange_and_add_body): Likewise.
26016 (__arch_add_body): Likewise.
26017 (atomic_add_negative): Likewise.
26018 (atomic_add_zero): Likewise.
26019
26020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26021
26022 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26023 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26024
26025 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26026
26027 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26028 Check __x86_64__ instead of __WORDSIZE.
26029
26030 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26033
26034 2012-03-19 David S. Miller <davem@davemloft.net>
26035
26036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26037
26038 * sysdeps/sparc/fpu/fenv_private.h: New file.
26039 * sysdeps/sparc/fpu/math_private.h: Use it.
26040 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26041 Remove.
26042 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26043 (libc_feholdexcept_setroundl): Remove.
26044 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26045 Remove.
26046 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26047 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26048
26049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26050
26051 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26052 int64_t instead of long int.
26053 (INSERT_WORDS64): Likwise.
26054
26055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26056
26057 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26058 _Unwind_GetCFA return to _Unwind_Ptr first.
26059
26060 2012-03-19 Joseph Myers <joseph@codesourcery.com>
26061
26062 [BZ #13629]
26063 * math/s_clog.c: Include <float.h>.
26064 (__clog): Scale large or subnormal inputs.
26065 * math/s_clogf.c: Likewise.
26066 * math/s_clogl.c: Likewise.
26067 * math/s_clog10.c: Include <float.h>.
26068 (M_LOG10_2): Define.
26069 (__clog10): Scale large or subnormal inputs.
26070 * math/s_clog10f.c: Likewise.
26071 * math/s_clog10l.c: Likewise.
26072 * math/libm-test.inc (clog_test): Add more tests.
26073 (clog10_test): Likewise.
26074 * sysdeps/i386/fpu/libm-test-ulps: Update.
26075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26076
26077 [BZ #11451]
26078 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26079 x and y.
26080 * math/libm-test.inc (atan2_test): Add another test.
26081
26082 * Makerules (common-objdir-compile): Remove.
26083 * sysdeps/unix/Makefile (config-generated): Do not add
26084 $(unix-generated) to variable.
26085 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26086 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26087 Remove rule.
26088 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26089 Likewise.
26090 [generic bits/local_lim.h] (before-compile): Do not append to
26091 variable.
26092 [generic bits/local_lim.h] (common-generated): Likewise.
26093 [generic sys/param.h] (before-compile): Do not append to variable.
26094 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26095 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26096 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26097 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26098 include.
26099 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26100 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26101 [generic sys/param.h] ($(addprefix
26102 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26103 [generic sys/param.h] (common-generated): Do not append to
26104 variable.
26105 [generic sys/param.h] (sysdep_headers): Likewise.
26106 [generic bits/errno.h] (before-compile): Do not append to
26107 variable.
26108 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26109 rule.
26110 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26111 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26112 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26113 [generic bits/errno.h] (common-generated): Do not append to
26114 variable.
26115 [generic bits/ioctls.h] (before-compile): Do not append to
26116 variable.
26117 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26118 rule.
26119 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26120 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26121 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26122 rule.
26123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26124 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26125 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26126 [generic bits/ioctls.h] (common-generated): Do not append to
26127 variable.
26128 [generic sys/syscall.h] (syscall.h): Remove variable.
26129 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26130 rule.
26131 [generic sys/syscall.h] (before-compile): Do not append to
26132 variable.
26133 [generic sys/syscall.h] (common-generated): Likewise.
26134 * sysdeps/unix/errnos-tmpl.c: Remove file.
26135 * sysdeps/unix/errnos.awk: Likewise.
26136 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26137 * sysdeps/unix/ioctls.awk: Likewise.
26138 * sysdeps/unix/mk-local_lim.c: Likewise.
26139 * sysdeps/unix/snarf-ioctls: Likewise.
26140
26141 2012-03-19 Richard Henderson <rth@twiddle.net>
26142
26143 * sysdeps/i386/fpu/fenv_private.h: New file.
26144 * sysdeps/i386/fpu/math_private.h: Use it.
26145 (math_opt_barrier, math_force_eval): Remove.
26146 (libc_feholdexcept_setround_53bit): Remove.
26147 (libc_feupdateenv_53bit): Remove.
26148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26149 (math_opt_barrier, math_force_eval): Remove.
26150 (libc_feholdexcept): Remove.
26151 (libc_feholdexcept_setround): Remove.
26152 (libc_fetestexcept, libc_fesetenv): Remove.
26153 (libc_feupdateenv_test): Remove.
26154 (libc_feupdateenv, libc_feholdsetround): Remove.
26155 (libc_feresetround): Remove.
26156
26157 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26158 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26159
26160 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26161 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26162 (libc_feupdateenv_testl): New.
26163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26164 (libc_feupdateenv_testf): New.
26165 (libc_feupdateenv): Use libc_feupdateenv_test.
26166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26168
26169 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26170 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26171 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26172 (libc_feresetround_noex): New.
26173 (libc_feresetround_noexf): New.
26174 (libc_feresetround_noexl): New.
26175 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26176 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26177 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26179 SET_RESTORE_ROUND.
26180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26182 (__cos): Likewise.
26183 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26184 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26185 SET_RESTORE_ROUND_NOEX.
26186 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26187 SET_RESTORE_ROUND_NOEXF.
26188 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26189 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26190 (libc_feholdsetroundf): New.
26191 (libc_feresetround, libc_feresetroundf): New.
26192
26193 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26194 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26195 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26196
26197 * sysdeps/generic/math_private.h: Include <fenv.h>.
26198 (default_libc_feholdexcept): New.
26199 (default_libc_feholdexcept_setround): New.
26200 (default_libc_fesetenv, default_libc_feupdateenv): New.
26201 (libc_feholdexcept): Only define if undefined.
26202 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26203 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26204 (libc_feholdexcept_setroundl): Likewise.
26205 (libc_feholdexcept_setround_53bit): Likewise.
26206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26207 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26208 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26209 (libc_feupdateenv_53bit): Likewise.
26210 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26211 (libc_feholdexcept): Convert from macro to inline function.
26212 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26213 (libc_fesetenv, libc_feupdateenv): Likewise.
26214
26215 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26216 not previously defined.
26217 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26218 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26219 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26220 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26221 * sysdeps/ieee754/flt-32/math_private.h: New file.
26222 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26223 math_private.h below SET_FLOAT_WORD.
26224 (__isnan, __isinf_ns, __finite): Remove.
26225 (__isnanf, __isinf_nsf, __finitef): Remove.
26226
26227 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26228
26229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26230
26231 2012-03-17 David S. Miller <davem@davemloft.net>
26232
26233 [BZ #6471]
26234 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26235 for 2.16.
26236
26237 2012-03-16 David S. Miller <davem@davemloft.net>
26238
26239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26240 warnings.
26241
26242 [BZ #6471]
26243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26244 properly.
26245 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26246 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26247 sysdep_routines when subdir is sysvipc.
26248 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26249 __getshmlba helper.
26250
26251 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26252
26253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26254
26255 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26256 [__LP64__].
26257
26258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26262 (__lround): Renamed to ...
26263 (__llround): This. Replace long int with long long int.
26264 Define lround functions as aliases of llround functions.
26265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26266
26267 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26270 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26271 adresses to uintptr_t. Replace "long int" and "unsigned long
26272 int" with "greg_t" on va_arg.
26273
26274 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26275
26276 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26277 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26278
26279 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26280 Move e_machine check before EI_CLASS check. Handle x32
26281 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26282 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26283 SKIP_EM_IA_64 and include
26284 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26285
26286 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26287 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26288 (add_system_dir): New macro.
26289
26290 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26291 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26292
26293 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26294
26295 [BZ #2551]
26296 [BZ #2552]
26297 [BZ #2553]
26298 [BZ #2554]
26299 [BZ #2562]
26300 [BZ #2563]
26301 [BZ #2565]
26302 [BZ #2566]
26303 [BZ #2576]
26304 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26305 (y0): Likewise.
26306 * math/w_j0f.c (j0f): Likewise.
26307 (y0f): Likewise.
26308 * math/w_j0l.c (__j0l): Likewise.
26309 (__y0l): Likewise.
26310 * math/w_j1.c (j1): Likewise.
26311 (y1): Likewise.
26312 * math/w_j1f.c (j1f): Likewise.
26313 (y1f): Likewise.
26314 * math/w_j1l.c (__j1l): Likewise.
26315 (__y1l): Likewise.
26316 * math/w_jn.c (jn): Likewise.
26317 (yn): Likewise.
26318 * math/w_jnf.c (jnf): Likewise.
26319 (ynf): Likewise.
26320 * math/w_jnl.c (__jnl): Likewise.
26321 (__ynl): Likewise.
26322 * math/libm-test.inc (j0_test): Add more tests.
26323 (j1_test): Likewise.
26324 (jn_test): Likewise. Add trailing semicolon to existing test.
26325 (y0_test): Likewise.
26326 (y1_test): Likewise.
26327 * sysdeps/i386/fpu/libm-test-ulps: Update.
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329
26330 [BZ #13851]
26331 [BZ #13854]
26332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26333 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26334 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26336 (__tanl): Set errno for infinite argument.
26337 * sysdeps/i386/fpu/mptan.c: Remove.
26338 * sysdeps/i386/fpu/s_tan.S: Likewise.
26339 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26340 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26341 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26342 * math/libm-test.inc (tan_test): Add more tests and enable more
26343 tests for double and long double.
26344 * sysdeps/i386/fpu/libm-test-ulps: Update.
26345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26346
26347 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26348
26349 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26350 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26351
26352 2012-03-16 Roland McGrath <roland@hack.frob.com>
26353
26354 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26355 * configure.in: Use it for both main tree and add-ons.
26356 * configure: Regenerated.
26357
26358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26359
26360 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26361
26362 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26363
26364 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26365 in comment.
26366
26367 [BZ #13851]
26368 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26369 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26373 infinite argument.
26374 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26376 != 0 for prec == 2.
26377 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26378 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26379 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26380 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26381 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26382 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26383 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26384 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26385 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26386 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26387 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26388 * math/libm-test.inc (cos_test): Add more tests and enable more
26389 tests for long double.
26390 (sin_test): Likewise.
26391 (sincos_test): Likewise.
26392 * sysdeps/i386/fpu/libm-test-ulps: Update.
26393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26394
26395 2012-03-16 David S. Miller <davem@davemloft.net>
26396
26397 * sysdeps/sparc/fpu/math_private.h: New file.
26398
26399 2012-03-15 David S. Miller <davem@davemloft.net>
26400
26401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26402 file.
26403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26405 file.
26406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26412 sysdep routines.
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26414
26415 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26416 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26417
26418 * sysdeps/sparc/sparc-ifunc.h: New file.
26419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26420 sparc-ifunc.h
26421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26423 Likewise.
26424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26425 Likewise.
26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26430 Likewise.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26436 Likewise.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26438 Likewise.
26439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26463
26464 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26465
26466 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26467 scaling.
26468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26469
26470 2012-03-15 Andreas Jaeger <aj@suse.de>
26471
26472 [BZ #13852]
26473 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26474 ieee754/flt-32 implementation for sin, cos and sincos.
26475 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26476 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26477 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26478 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26479 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26480 ieee754/flt-32 implementation for tan.
26481
26482 * math/libm-test.inc (cos_test): Enable some large input tests for
26483 float as well
26484 (sin_test): Likewise.
26485 (sincos_test): Likewise.
26486 (tan_test): Add tests for large input.
26487
26488 * sysdeps/i386/fpu/libm-test-ulps: Update.
26489
26490 2012-03-15 Andreas Jaeger <aj@suse.de>
26491
26492 [BZ #13658]
26493 * math/libm-test.inc (cos_test): Add more test cases.
26494 (sin_test): Likewise.
26495 (sincos_test): Likewise.
26496
26497 2012-03-15 Andreas Jaeger <aj@suse.de>
26498
26499 [BZ #13837]
26500 * math/libm-test.inc (cos_test): Add a test case for large input
26501 value.
26502 (sin_test): Likewise.
26503 (sincos_test): Likewise.
26504
26505 2012-03-15 Andreas Jaeger <aj@suse.de>,
26506 Joseph Myers <joseph@codesourcery.com>
26507
26508 [BZ #13658]
26509 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26510 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26511 * sysdeps/i386/fpu/branred.c: Likewise.
26512 * sysdeps/i386/fpu/dosincos.c: Likewise.
26513 * sysdeps/i386/fpu/mpa.c: Likewise.
26514 * sysdeps/i386/fpu/s_cos.S: Likewise.
26515 * sysdeps/i386/fpu/s_sin.S: Likewise.
26516 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26517 * sysdeps/i386/fpu/sincos32.c: Likewise.
26518
26519 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26520 Define.
26521 (libc_feupdateenv_53bit): Define.
26522 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26523 Define.
26524 (libc_feupdateenv_53bit): Define.
26525
26526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26527 53 bit (without extend i386 double precision).
26528
26529 * math/libm-test.inc (sincos_test): Add tests for large input.
26530 (sin): Likewise.
26531 (cos): Likewise.
26532
26533 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26534
26535 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26536
26537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26538
26539 2012-03-15 David S. Miller <davem@davemloft.net>
26540
26541 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26542 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26543 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26544 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26557 file.
26558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26560 file.
26561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26563 file.
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26566 file.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26569 fmin/fmax sysdep routines.
26570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26571
26572 2012-03-14 David S. Miller <davem@davemloft.net>
26573
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26603 routines.
26604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26605 file.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26608 file.
26609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26611 file.
26612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26614 file.
26615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26617 file.
26618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26620 file.
26621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26622 file.
26623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26624 file.
26625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26626 file.
26627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26628 New file.
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26630 file.
26631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26632 file.
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26635 file.
26636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26638 file.
26639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26641 file.
26642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26644 VIS3 routines.
26645
26646 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26647 New file.
26648
26649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26650
26651 * sysdeps/sparc/configure.in: New file.
26652 * sysdeps/sparc/configure: Generate.
26653 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26654 * configure: Regenerate.
26655 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26656 * config.make.in (have-as-vis3): New.
26657 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26658 available use -Av9d instead of -Av9a.
26659 * sysdeps/sparc/sparc64/Makefile: Likewise.
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26662 New file.
26663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26664 file.
26665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26666 New file.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26668 file.
26669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26674
26675 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26676 fzeros/fnegs to load 0x80000000 into a float register instead of
26677 using the stack.
26678 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26679
26680 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26681
26682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26683 bits/syscall.h.
26684 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26685 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26686 ($(inst_includedir)/bits/syscall.h): Remove rule.
26687 ($(objpfx)bits/syscall.d): Include instead of
26688 $(objpfx)syscall-list.d.
26689 (generated): Change syscall-list.h and syscall-list.d to
26690 bits/syscall.h and bits/syscall.d.
26691
26692 2012-03-14 Roland McGrath <roland@hack.frob.com>
26693
26694 [BZ #13846]
26695 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26696
26697 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26698
26699 [BZ #13841]
26700 * math/s_csqrt.c: Include <float.h>.
26701 (__csqrt): Scale large or subnormal inputs.
26702 * math/s_csqrtf.c: Likewise.
26703 * math/s_csqrtl.c: Likewise.
26704 * math/libm-test.inc (csqrt_test): Add more tests.
26705 * sysdeps/i386/fpu/libm-test-ulps: Update.
26706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26707
26708 [BZ #13840]
26709 * math/libm-test.inc (hypot_test): Add more tests.
26710
26711 2012-03-13 David S. Miller <davem@davemloft.net>
26712
26713 [BZ #13840]
26714 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26715 double-precision for the calculation instead of scaling.
26716
26717 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26718
26719 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26720 manipulate bits before adding and subtracting TWO52[sx].
26721 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26723 Likewise.
26724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26725
26726 2012-03-13 David S. Miller <davem@davemloft.net>
26727
26728 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26729 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26731 rtld-global-offsets.h
26732 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26733
26734 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26735 large parameters.
26736
26737 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26738
26739 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26740 'err' in the ifdef scope in which it is actually used.
26741
26742 * nss/nss_db/db-init.c: Include string.h
26743
26744 2012-03-12 David S. Miller <davem@davemloft.net>
26745
26746 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26747 masking out of the most significant byte of random value used.
26748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26749 Fix coding style in previous change.
26750
26751 * sysdeps/unix/sysv/linux/kernel-features.h
26752 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26753 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26754 expression.
26755 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26756 later.
26757
26758 2012-03-11 David S. Miller <davem@davemloft.net>
26759
26760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26761 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26763 for 'resultvar' otherwise things get truncated on 64-bit.
26764
26765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26766 Fix masking out of the most significant byte of random value used.
26767
26768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26769
26770 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26771
26772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26773
26774 2012-03-09 David S. Miller <davem@davemloft.net>
26775
26776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26777 variables with appropriate CPP guards.
26778 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26779 frame pointer, not the stack pointer. Correct layout comments. Fix test
26780 on resulting framesize and the management of the outregs buffer for pltexit.
26781 Preserve floating point return values across _dl_call_pltexit call.
26782 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26783 framesize and the management of the outregs buffer for pltexit.
26784 Preserve floating point return values across _dl_call_pltexit
26785 call.
26786 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26787 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26788 (print_exit): Fix format string for return register value.
26789
26790 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26791
26792 * sunrpc/Makefile (others): Add rpcgen.
26793 ($(objpfx)rpcgen): Remove special build rule and dependency on
26794 libc.
26795 * sunrpc/rpcgen.c: New file.
26796
26797 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26798
26799 [BZ #13673]
26800 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26801 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26802 * sysdeps/i386/crti.S: Likewise.
26803 * sysdeps/i386/crtn.S: Likewise.
26804 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26805 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26806 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26807 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26808 * sysdeps/sh/crti.S: Likewise.
26809 * sysdeps/sh/crtn.S: Likewise.
26810 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26811
26812 [BZ #13673]
26813 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26814 with URL.
26815 * locale/programs/locfile-kw.gperf: Likewise.
26816 * locale/programs/charmap-kw.h: Regenerated.
26817 * locale/programs/locfile-kw.h: Likewise.
26818
26819 [BZ #13673]
26820 * intl/plural.y: Replace FSF snail mail address with URL.
26821 * intl/plural.c: Regenerated.
26822
26823 2012-03-09 Richard Henderson <rth@twiddle.net>
26824
26825 * include/math_private.h: Remove file.
26826 * math/math_private.h: Move file ...
26827 * sysdeps/generic/math_private.h: ... here.
26828
26829 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26830 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26831 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26832
26833 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26834 and <math_private.h>.
26835 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26836 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26837 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26838 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26839 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26840 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26868 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26869 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26870 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26875 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26876 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26877 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26878 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26879 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26881 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26882 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26885 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26886 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26887 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26888 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26889 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26890 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26891 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26892 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26893 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26894 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26895 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26909 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26915 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26922 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26923 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26924 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26925 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26926 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26927 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26928 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26929 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26930 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26931 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26932 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26935 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26936 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26937 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26938 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26939 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26940 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26941 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26942 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26949 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26950 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26952 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26954 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26955 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26956 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26958 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26959 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26960 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26961 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26962 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26963 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26964 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26965 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26966 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26968 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26969 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26970 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26972 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26973 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26974 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26975 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26976 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26977 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26978 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26979 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26980 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26981 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26982 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26983 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26984 * sysdeps/ieee754/k_standard.c: Likewise.
26985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27076 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27089 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27109 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27110 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27112 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27118 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27119 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27120 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27121 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27122 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27124 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27125 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27126 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27128 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27134 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27135 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27136 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27139 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27141 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27142 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27144 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27145 * sysdeps/ieee754/s_lib_version.c: Likewise.
27146 * sysdeps/ieee754/s_matherr.c: Likewise.
27147 * sysdeps/ieee754/s_signgam.c: Likewise.
27148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27150 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27151 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27152 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27153 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27154 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27155 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27156 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27157 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27158 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27159 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27160 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27162 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27163 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27164 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27165 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27166 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27169
27170 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27171
27172 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27173 * sunrpc/rpc_main.c: Likewise.
27174 * sunrpc/rpc_svcout.c: Likewise.
27175
27176 2012-03-09 David S. Miller <davem@davemloft.net>
27177
27178 * include/math_private.h: New file.
27179
27180 2012-03-09 Joseph Myers <joseph@codesourcery.com>
27181
27182 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27183 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27184 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27185 from <bits/socket_type.h>.
27186 (enum __socket_type): Don't define here.
27187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27189 bits/socket_type.h.
27190
27191 [BZ #13566]
27192 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27193 checking __USE_GNU.
27194
27195 * Makerules ($(inst_includedir)/%.h): New rule.
27196 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27197 (install-others): Remove variable setting.
27198 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27199
27200 2012-03-08 Richard Henderson <rth@twiddle.net>
27201
27202 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27203 from macro to inline function; merge with the
27204 !__LIBC_INTERNAL_MATH_INLINES version.
27205 (__ieee754_sqrtf): Likewise.
27206
27207 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27208 to inline function.
27209 (__rintf, __floor, __floorf): Likewise.
27210
27211 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27212 macro to inline function.
27213 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27214
27215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27216 not <math/math_private.h>.
27217
27218 2012-03-08 David S. Miller <davem@davemloft.net>
27219
27220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27221 copyright year.
27222 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27223
27224 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27225
27226 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27227 normalization.
27228 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27229 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27230
27231 2012-03-08 Ulrich Drepper <drepper@gmail.com>
27232
27233 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27234 be defined individually, they must be defined as a block. Define
27235 S for printing a string instead of hidint the different by using a
27236 macro for adding the 'l'.
27237 * stdio-common/tst-fphex-wide.c: Adjust.
27238
27239 2012-03-07 Marek Polacek <polacek@redhat.com>
27240
27241 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27242
27243 2012-03-08 Marek Polacek <polacek@redhat.com>
27244
27245 [BZ #13806]
27246 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27247 * stdio-common/tst-fphex.c: Define a few macros to make the
27248 test reusable. Use them.
27249 * stdio-common/tst-fphex-wide.c: New file.
27250
27251 2012-03-08 Joseph Myers <joseph@codesourcery.com>
27252
27253 [BZ #6911]
27254 * manual/macros.texi (gnusystems): New macro.
27255 (nongnusystems): Likewise.
27256 (gnulinuxhurdsystems): Likewise.
27257 (gnuhurdsystems): Likewise..
27258 (gnulinuxsystems): Likewise.
27259 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27260 variants of the GNU system, not "GNU system".
27261 * manual/conf.texi: Likewise.
27262 * manual/errno.texi: Likewise. Update example of errno macro
27263 expansion.
27264 * manual/filesys.texi: Likewise.
27265 (getumask): Document as specific to GNU/Hurd.
27266 * manual/install.texi: Likewise. Reword some references to
27267 GNU/Linux.
27268 * manual/intro.texi: Likewise.
27269 * manual/io.texi: Likewise.
27270 (File Name Portability): Detail which constraints are inapplicable
27271 to all GNU systems and which are only inapplicable to GNU/Hurd.
27272 * manual/job.texi: Likewise.
27273 * manual/llio.texi: Likewise.
27274 (O_NOCTTY): Document as present on GNU/Linux.
27275 * manual/maint.texi: Likewise.
27276 * manual/memory.texi: Likewise.
27277 * manual/pattern.texi: Likewise.
27278 * manual/pipe.texi: Likewise.
27279 * manual/process.texi: Likewise.
27280 * manual/resource.texi: Likewise.
27281 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27282 child on GNU/Hurd.
27283 * manual/setjmp.texi: Likewise.
27284 * manual/signal.texi: Likewise.
27285 * manual/startup.texi: Likewise.
27286 * manual/stdio.texi: Likewise.
27287 * manual/terminal.texi: Likewise.
27288 (ONLCR): Document as POSIX.
27289 (OXTABS): Document availability on GNU/Linux as XTABS.
27290 (ONOEOT): Document availability separately from other bits.
27291 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27292 * manual/time.texi: Likewise.
27293 * manual/users.texi: Likewise.
27294 * INSTALL: Regenerated.
27295 * sysdeps/gnu/errlist.c: Regenerated.
27296
27297 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27298 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27299 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27300 puts.
27301 * configure: Regenerated.
27302
27303 2012-03-07 Joseph Myers <joseph@codesourcery.com>
27304
27305 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27306 default includes instead of AC_HEADER_CHECK.
27307 * sysdeps/i386/configure: Regenerated.
27308
27309 [BZ #10716]
27310 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27311 * math/s_cacoshf.c (__cacoshf): Likewise.
27312 * math/s_cacoshl.c (__cacoshl): Likewise.
27313 * math/s_casinh.c (__casinh): Set signs of result from argument.
27314 * math/s_casinhf.c (__casinhf): Likewise.
27315 * math/s_casinhl.c (__casinhl): Likewise.
27316 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27317 (casinh_test): Add more tests.
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27320
27321 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27322
27323 * po/zh_TW.po: Update from translation team.
27324
27325 * login/Makefile (distribute): Remove variable.
27326 * catgets/Makefile: Likewise.
27327 * mach/Makefile: Likewise.
27328 * malloc/Makefile: Likewise.
27329 * misc/Makefile: Likewise.
27330 * iconv/Makefile: Likewise.
27331 * nscd/Makefile: Likewise.
27332 * hurd/Makefile: Likewise.
27333 * manual/Makefile: Likewise.
27334 * locale/Makefile: Likewise.
27335 * intl/Makefile: Likewise.
27336 * conform/Makefile: Likewise.
27337 * nss/Makefile: Likewise.
27338 * time/Makefile: Likewise.
27339 * soft-fp/Makefile: Likewise.
27340 * dirent/Makefile: Likewise.
27341 * gmon/Makefile: Likewise.
27342 * po/Makefile: Likewise.
27343 * rt/Makefile: Likewise.
27344 * socket/Makefile: Likewise.
27345 * math/Makefile: Likewise.
27346 * signal/Makefile: Likewise.
27347 * debug/Makefile: Likewise.
27348 * elf/Makefile: Likewise.
27349 * timezone/Makefile: Likewise.
27350 * stdlib/Makefile: Likewise.
27351 * iconvdata/Makefile: Likewise.
27352 * sunrpc/Makefile: Likewise.
27353 * io/Makefile: Likewise.
27354 * argp/Makefile: Likewise.
27355 * inet/Makefile: Likewise.
27356 * hesiod/Makefile: Likewise.
27357 * grp/Makefile: Likewise.
27358 * csu/Makefile: Likewise.
27359 * wctype/Makefile: Likewise.
27360 * crypt/Makefile: Likewise.
27361 * libio/Makefile: Likewise.
27362 * string/Makefile: Likewise.
27363 * nis/Makefile: Likewise.
27364 * resolv/Makefile: Likewise.
27365 * stdio-common/Makefile: Likewise.
27366 * wcsmbs/Makefile: Likewise.
27367 * dlfcn/Makefile: Likewise.
27368 * posix/Makefile: Likewise.
27369
27370 [BZ #6959]
27371 * timezone/Makefile: Don't install timezone files, just the programs
27372 and scripts.
27373
27374 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27375
27376 * nss/databases.def: Add missing gshadow entry.
27377
27378 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27379
27380 2012-03-06 Marek Polacek <polacek@redhat.com>
27381
27382 [BZ #13726]
27383 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27384 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27385 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27386 * stdio-common/tst-long-dbl-fphex.c: New file.
27387
27388 2012-03-06 David S. Miller <davem@davemloft.net>
27389
27390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27391 (set_obp_int): New function.
27392 (get_obp_int): New function.
27393 (__get_clockfreq_via_dev_openprom): Likewise.
27394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27395 Avoid unused variable warnings on 'val' and use builtin_expect.
27396 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27397 __builtin_expect.
27398 (INLINE_CLONE_SYSCALL): Likewise.
27399
27400 2012-03-05 David S. Miller <davem@davemloft.net>
27401
27402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27403
27404 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27405
27406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27407
27408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27409 only for |x| >= 40.
27410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27411
27412 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27413
27414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27415 Replace gettimeofday with __vdso_gettimeofday.
27416
27417 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27418 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27419 __vdso_clock_gettime and __vdso_getcpu.
27420
27421 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27422 time with __vdso_time.
27423
27424 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27425
27426 * manual/lang.texi (size_t): Note types to which size_t may be
27427 equivalent with the GNU C Library, but do not describe when
27428 differences between them are significant.
27429
27430 2012-03-05 Andreas Jaeger <aj@suse.de>
27431
27432 * sysdeps/i386/fpu/libm-test-ulps: Update.
27433
27434 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27435
27436 [BZ #3976]
27437 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27438 (__ieee754_pow): Save and restore rounding mode and use
27439 round-to-nearest for main computations.
27440 * math/libm-test.inc (pow_test_tonearest): New function.
27441 (pow_test_towardzero): Likewise.
27442 (pow_test_downward): Likewise.
27443 (pow_test_upward): Likewise.
27444 (main): Call the new functions.
27445 * sysdeps/i386/fpu/libm-test-ulps: Update.
27446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27447
27448 [BZ #3976]
27449 * math/libm-test.inc (cosh_test_tonearest): New function.
27450 (cosh_test_towardzero): Likewise.
27451 (cosh_test_downward): Likewise.
27452 (cosh_test_upward): Likewise.
27453 (sinh_test_tonearest): Likewise.
27454 (sinh_test_towardzero): Likewise.
27455 (sinh_test_downward): Likewise.
27456 (sinh_test_upward): Likewise.
27457 (main): Call the new functions.
27458 * sysdeps/i386/fpu/libm-test-ulps: Update.
27459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27460
27461 2012-03-05 Tom de Vries <tom@codesourcery.com>
27462
27463 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27464 default stack guard is set in last bytes.
27465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27466
27467 2012-03-05 Kees Cook <keescook@chromium.org>
27468
27469 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27470
27471 [BZ #13656]
27472 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27473 possibly allocate from heap instead of stack.
27474 * stdio-common/bug-vfprintf-nargs.c: New file.
27475 * stdio-common/Makefile (tests): Add nargs overflow test.
27476
27477 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27478
27479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27480
27481 2012-03-03 Marek Polacek <polacek@redhat.com>
27482
27483 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27484 * math/math_private.h: Likewise.
27485 * stdlib/tst-strtod.c: Likewise.
27486 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27487 * sysdeps/x86_64/bits/atomic.h: Likewise.
27488
27489 2012-03-02 David S. Miller <davem@davemloft.net>
27490
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27495 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27496 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27497 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27498 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27499
27500 2012-03-02 Roland McGrath <roland@hack.frob.com>
27501
27502 [BZ #13792]
27503 * manual/examples/README: New file, says the example source files
27504 can be used under GPL>=2.
27505 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27506 line containing just "*/".
27507 * manual/examples/add.c: Add copyright header (GPL>=2).
27508 * manual/examples/argp-ex1.c: Likewise.
27509 * manual/examples/argp-ex2.c: Likewise.
27510 * manual/examples/argp-ex3.c: Likewise.
27511 * manual/examples/argp-ex4.c: Likewise.
27512 * manual/examples/atexit.c: Likewise.
27513 * manual/examples/db.c: Likewise.
27514 * manual/examples/dir.c: Likewise.
27515 * manual/examples/dir2.c: Likewise.
27516 * manual/examples/execinfo.c: Likewise.
27517 * manual/examples/filecli.c: Likewise.
27518 * manual/examples/filesrv.c: Likewise.
27519 * manual/examples/fmtmsgexpl.c: Likewise.
27520 * manual/examples/genpass.c: Likewise.
27521 * manual/examples/inetcli.c: Likewise.
27522 * manual/examples/inetsrv.c: Likewise.
27523 * manual/examples/isockad.c: Likewise.
27524 * manual/examples/longopt.c: Likewise.
27525 * manual/examples/memopen.c: Likewise.
27526 * manual/examples/memstrm.c: Likewise.
27527 * manual/examples/mkfsock.c: Likewise.
27528 * manual/examples/mkisock.c: Likewise.
27529 * manual/examples/mygetpass.c: Likewise.
27530 * manual/examples/pipe.c: Likewise.
27531 * manual/examples/popen.c: Likewise.
27532 * manual/examples/rprintf.c: Likewise.
27533 * manual/examples/search.c: Likewise.
27534 * manual/examples/select.c: Likewise.
27535 * manual/examples/setjmp.c: Likewise.
27536 * manual/examples/sigh1.c: Likewise.
27537 * manual/examples/sigusr.c: Likewise.
27538 * manual/examples/stpcpy.c: Likewise.
27539 * manual/examples/strdupa.c: Likewise.
27540 * manual/examples/strftim.c: Likewise.
27541 * manual/examples/strncat.c: Likewise.
27542 * manual/examples/subopt.c: Likewise.
27543 * manual/examples/swapcontext.c: Likewise.
27544 * manual/examples/termios.c: Likewise.
27545 * manual/examples/testopt.c: Likewise.
27546 * manual/examples/testpass.c: Likewise.
27547 * manual/examples/timeval_subtract.c: Likewise.
27548
27549 [BZ #13792]
27550 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27551 function to ...
27552 * manual/timeval_subtract.c.texi: ... here, new file.
27553
27554 2012-03-02 David S. Miller <davem@davemloft.net>
27555
27556 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27557
27558 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27559
27560 [BZ #3976]
27561 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27562 (__sin): Save and restore rounding mode and use round-to-nearest
27563 for all computations.
27564 (__cos): Save and restore rounding mode and use round-to-nearest
27565 for all computations.
27566 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27567 <fenv.h>.
27568 (tan): Save and restore rounding mode and use round-to-nearest for
27569 all computations.
27570 * math/libm-test.inc (cos_test_tonearest): New function.
27571 (cos_test_towardzero): Likewise.
27572 (cos_test_downward): Likewise.
27573 (cos_test_upward): Likewise.
27574 (sin_test_tonearest): Likewise.
27575 (sin_test_towardzero): Likewise.
27576 (sin_test_downward): Likewise.
27577 (sin_test_upward): Likewise.
27578 (tan_test_tonearest): Likewise.
27579 (tan_test_towardzero): Likewise.
27580 (tan_test_downward): Likewise.
27581 (tan_test_upward): Likewise.
27582 (main): Call the new functions.
27583 * sysdeps/i386/fpu/libm-test-ulps: Update.
27584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27585
27586 [BZ #10135]
27587 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27588 small n, then large n, before computing and testing k+n.
27589 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27591 Likewise.
27592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27593 Likewise.
27594 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27595 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27596 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27597 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27598 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27599 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27601 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27602 * math/libm-test.inc (scalbn_test): Add more tests.
27603 (scalbln_test): Likewise.
27604
27605 * manual/filesys.texi (mode_t): Describe constraints on size and
27606 signedness, not exact equivalence to a particular type.
27607 (ino_t): Likewise.
27608 (ino64_t): Likewise.
27609 (dev_t): Likewise.
27610 (nlink_t): Likewise.
27611 (blkcnt_t): Likewise.
27612 (blkcnt64_t): Likewise.
27613 * manual/llio.texi (off_t): Likewise.
27614
27615 [BZ #3976]
27616 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27617 (__ieee754_exp): Save and restore rounding mode and use
27618 round-to-nearest for all computations.
27619 * math/libm-test.inc (exp_test_tonearest): New function.
27620 (exp_test_towardzero): Likewise.
27621 (exp_test_downward): Likewise.
27622 (exp_test_upward): Likewise.
27623 (main): Call the new functions.
27624 * sysdeps/i386/fpu/libm-test-ulps: Update.
27625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27626
27627 2012-03-01 Chris Demetriou <cgd@google.com>
27628
27629 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27630 have predictable order.
27631
27632 2012-03-01 David S. Miller <davem@davemloft.net>
27633
27634 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27635
27636 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27637 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27638 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27639 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27640
27641 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27642 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27643 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27645 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27646 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27647 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27648 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27649 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27650
27651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27652
27653 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27654 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27655 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27656
27657 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27658 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27659 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27660 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27661 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27664 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27665 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27666 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27667 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27668 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27670 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27671 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27673 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27674 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27675 * sysdeps/sparc/elf/configure: Regenerated.
27676
27677 2012-03-01 Joseph Myers <joseph@codesourcery.com>
27678
27679 * configure.in (AS, LD): Require binutils 2.20 or later.
27680 * configure: Regenerated.
27681 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27682 as required minimum version.
27683 * INSTALL: Regenerated.
27684
27685 [BZ #2541]
27686 [BZ #4108]
27687 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27688 before squaring exponent.
27689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27690 bottom long double and 27 bits of top long double before squaring
27691 exponent.
27692 * math/libm-test.inc (erfc_test): Add more tests.
27693 * sysdeps/i386/fpu/libm-test-ulps: Update.
27694 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27696
27697 2012-03-01 Kai Tietz <ktietz@redhat.com>
27698
27699 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27700 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27701 containing bit-fields.
27702 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27703 * soft-fp/single.h (_FP_UNION_S): Likewise.
27704 * soft-fp/double.h (_FP_UNION_D): Likewise.
27705
27706 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27707
27708 [BZ #13786]
27709 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27710 not include ../strcmp.S.
27711 [USE_AS_STRNCASECMP_L]: Likewise.
27712 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27713 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27714 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27715 (__strncasecmp_l_ia32): Define as alias to
27716 __strncasecmp_l_nonascii.
27717
27718 [BZ #5794]
27719 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27720 * sysdeps/i386/fpu/libm-test-ulps: Update.
27721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27722
27723 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27725
27726 2012-02-29 Jeff Law <law@redhat.com>
27727
27728 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27729 out of bounds read.
27730
27731 2012-02-29 Marek Polacek <polacek@redhat.com>
27732
27733 [BZ #13706]
27734 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27735 * elf/Makefile: Add rules to run tst-unused-dep.out.
27736
27737 2012-02-28 David S. Miller <davem@davemloft.net>
27738
27739 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27740 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27741 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27742 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27743 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27744 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27745
27746 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27747
27748 * math/libm-test.inc (llround_test): Move one test from
27749 lround_test. Use TEST_f_L in moved test.
27750 (lround_test): Move misplaced test to llround_test. Add testcase
27751 from bug 2561.
27752
27753 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27754
27755 * sysdeps/x86_64/fpu/e_expf.S: New file.
27756 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27757
27758 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27759
27760 [BZ #13637]
27761 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27762 of remain_len that may cause incomplete multi-byte character and
27763 false match.
27764 * posix/bug-regex33.c: New file.
27765 * posix/Makefile (tests): Add bug-regex33.
27766
27767 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27768
27769 * manual/macros.texi: New file.
27770 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27771 * manual/libc.texinfo: Include macros.texi.
27772 * manual/creatute.texi: Likewise.
27773 * manual/install.texi: Likewise.
27774 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27775 @glibcadj{} in references to the GNU C Library.
27776 * manual/charset.texi: Likewise.
27777 * manual/conf.texi: Likewise.
27778 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27779 when not using those macros.
27780 * manual/creature.texi: Likewise.
27781 * manual/crypt.texi: Likewise.
27782 * manual/errno.texi: Likewise.
27783 * manual/filesys.texi: Likewise.
27784 * manual/header.texi: Likewise.
27785 * manual/install.texi: Likewise.
27786 * manual/intro.texi: Likewise.
27787 * manual/io.texi: Likewise.
27788 * manual/job.texi: Likewise.
27789 * manual/lang.texi: Likewise.
27790 * manual/libc.texiinfo: Likewise.
27791 * manual/llio.texi: Likewise.
27792 * manual/locale.texi: Likewise.
27793 * manual/maint.texi: Likewise.
27794 * manual/math.texi: Likewise.
27795 * manual/memory.texi: Likewise.
27796 * manual/message.texi: Likewise.
27797 * manual/nss.texi: Likewise.
27798 * manual/pattern.texi: Likewise.
27799 * manual/process.texi: Likewise.
27800 * manual/resource.texi: Likewise.
27801 * manual/search.texi: Likewise.
27802 * manual/setjmp.texi: Likewise.
27803 * manual/signal.texi: Likewise.
27804 * manual/socket.texi: Likewise.
27805 * manual/startup.texi: Likewise.
27806 * manual/stdio.texi: Likewise.
27807 * manual/string.texi: Likewise.
27808 * manual/sysinfo.texi: Likewise.
27809 * manual/syslog.texi: Likewise.
27810 * manual/terminal.texi: Likewise.
27811 * manual/time.texi: Likewise.
27812 * manual/users.texi: Likewise.
27813 * INSTALL: Regenerated.
27814 * NOTES: Regenerated.
27815 * sysdeps/gnu/errlist.c: Regenerated.
27816
27817 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27818
27819 * include/dirent.h: Include <dirstream.h> before
27820 <dirent/dirent.h>.
27821
27822 2012-02-28 David S. Miller <davem@davemloft.net>
27823
27824 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27825 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27826 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27827 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27828
27829 2012-02-27 David S. Miller <davem@davemloft.net>
27830
27831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27833 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27834 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27835
27836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27837 frame pointer instead of stack pointer relative arg slot.
27838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27839 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27840 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27841
27842 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27843
27844 [BZ #3992]
27845 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27846
27847 2012-02-27 David S. Miller <davem@davemloft.net>
27848
27849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27853 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27854 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27855 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27856 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27857
27858 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27859
27860 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27861 later. Allow versions 5-9.
27862 * configure: Regenerated.
27863 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27864 required minimum version and 4.6 as recommended version. Do not
27865 mention bugs in GCC 2.7 and 2.8.
27866 * INSTALL: Regenerated.
27867
27868 2012-02-27 David S. Miller <davem@davemloft.net>
27869
27870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27876 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27877 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27878
27879 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27880 manipulate bits before adding and subtracting TWO112[sx].
27881 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27882
27883 2012-02-27 Roland McGrath <roland@hack.frob.com>
27884
27885 [BZ #13775]
27886 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27887 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27888 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27889 being in POSIX, because they are in 1003.1-2008.
27890
27891 * rt/tst-aio.c: Include <fcntl.h>.
27892 * rt/tst-aio7.c: Likewise.
27893 * rt/tst-aio64.c: Likewise.
27894
27895 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27896
27897 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27898
27899 * manual/install.texi (--with-headers): Describe headers as
27900 interface headers, not private headers.
27901 (Specific advice for GNU/Linux systems): Describe use of headers
27902 from "make headers_install", not private headers from older
27903 kernels.
27904 * INSTALL: Regenerated.
27905 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27906 Change to 2.6.19.
27907 * sysdeps/unix/sysv/linux/configure: Regenerated.
27908
27909 * manual/llio.texi (fclean): Remove documentation.
27910
27911 * manual/Makefile (libc-texi-generated): New variable. Include
27912 version.texi.
27913 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27914 $(libc-texi-generated), not duplicated list of files.
27915 (version.texi, stamp-version): New rules.
27916 (realclean): Remove $(libc-texi-generated), not individual files
27917 from that list. Do not remove dir-add.texinfo.
27918 * manual/libc.texinfo: Comment out uses of edition numbers and
27919 references to printed manual. Remove last-updated dates.
27920 (EDITION): Comment out.
27921 (ISBN): Likewise.
27922 (VERSION, UPDATED): Remove.
27923 (version.texi): Include.
27924
27925 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27926
27927 * sysdeps/posix/spawni.c: Include <signal.h>.
27928 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27929 * sysdeps/pthread/aio_fsync.c: Likewise.
27930
27931 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27932
27933 * conform/Makefile (tests): Run only when not cross-compiling and
27934 when fast-check is not defined.
27935
27936 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27937 * conform/data/limits.h-data: Fixes for POSIX2008.
27938 * conform/run-conformtest.sh: Run all tests.
27939 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27940 headers.
27941 * include/bits/dlfcn.h: Likewise.
27942 * include/langinfo.h: Likewise.
27943 * include/monetary.h: Likewise.
27944 * include/sys/poll.h: Likewise.
27945
27946 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27947 for __USE_GNU.
27948 * posix/spawn.h: Define __need_sigset_t.
27949 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27950 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27951 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27952 to get sigevent_t only.
27953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27954 only for __USE_GNU.
27955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27956 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27957 process_vm_writev only for __USE_GNU.
27958 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27959
27960 * conform/Makefile: For now ignore errors from run-conformtest.
27961 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27962 POSIX to avoid namespace pollution. Don't prepend headers.
27963 * conform/data/aio.h-data: Fixes for POSIX testing.
27964 * conform/data/fcntl.h-data: Likewise.
27965 * conform/data/glob.h-data: Likewise.
27966 * conform/data/grp.h-data: Likewise.
27967 * conform/data/pthread.h-data: Likewise.
27968 * conform/data/pwd.h-data: Likewise.
27969 * conform/data/signal.h-data: Likewise.
27970 * conform/data/spawn.h-data: Likewise.
27971 * conform/data/stdio.h-data: Likewise.
27972 * conform/data/stdlib.h-data: Likewise.
27973 * conform/data/stropts.h-data: Likewise.
27974 * conform/data/sys/mman.h-data: Likewise.
27975 * conform/data/sys/stat.h-data: Likewise.
27976 * conform/data/sys/types.h-data: Likewise.
27977 * conform/data/sys/wait.h-data: Likewise.
27978 * conform/data/time.h-data: Likewise.
27979 * conform/data/unistd.h-data: Likewise.
27980 * conform/data/utime.h-data: Likewise.
27981
27982 * io/sys/stat.h: fchmod was always in POSIX.
27983 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27984 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27985 * rt/aio.h: Define __need_timespec before including <time.h>.
27986 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27987 struct. Add forward declaration of pthread_attr_t and use it in
27988 sigevent.
27989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27991 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27992 always remove CLK_TCK definition.
27993
27994 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27995
27996 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27997
27998 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27999
28000 * conform/run-conformtest.sh: New file.
28001 * conform/Makefile: Run run-conformtest for tests.
28002 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28003 support.
28004
28005 * conform/data/uchar.h-data: New file.
28006 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28007 * conform/data/arpa/inet.h-data: Likewise.
28008 * conform/data/assert.h-data: Likewise.
28009 * conform/data/complex.h-data: Likewise.
28010 * conform/data/cpio.h-data: Likewise.
28011 * conform/data/ctype.h-data: Likewise.
28012 * conform/data/dirent.h-data: Likewise.
28013 * conform/data/dlfcn.h-data: Likewise.
28014 * conform/data/errno.h-data: Likewise.
28015 * conform/data/fcntl.h-data: Likewise.
28016 * conform/data/float.h-data: Likewise.
28017 * conform/data/fmtmsg.h-data: Likewise.
28018 * conform/data/fnmatch.h-data: Likewise.
28019 * conform/data/ftw.h-data: Likewise.
28020 * conform/data/glob.h-data: Likewise.
28021 * conform/data/grp.h-data: Likewise.
28022 * conform/data/iconv.h-data: Likewise.
28023 * conform/data/inttypes.h-data: Likewise.
28024 * conform/data/langinfo.h-data: Likewise.
28025 * conform/data/libgen.h-data: Likewise.
28026 * conform/data/limits.h-data: Likewise.
28027 * conform/data/locale.h-data: Likewise.
28028 * conform/data/math.h-data: Likewise.
28029 * conform/data/monetary.h-data: Likewise.
28030 * conform/data/mqueue.h-data: Likewise.
28031 * conform/data/ndbm.h-data: Likewise.
28032 * conform/data/net/if.h-data: Likewise.
28033 * conform/data/netdb.h-data: Likewise.
28034 * conform/data/netinet/in.h-data: Likewise.
28035 * conform/data/nl_types.h-data: Likewise.
28036 * conform/data/poll.h-data: Likewise.
28037 * conform/data/pthread.h-data: Likewise.
28038 * conform/data/pwd.h-data: Likewise.
28039 * conform/data/regex.h-data: Likewise.
28040 * conform/data/sched.h-data: Likewise.
28041 * conform/data/search.h-data: Likewise.
28042 * conform/data/semaphore.h-data: Likewise.
28043 * conform/data/setjmp.h-data: Likewise.
28044 * conform/data/signal.h-data: Likewise.
28045 * conform/data/spawn.h-data: Likewise.
28046 * conform/data/stdarg.h-data: Likewise.
28047 * conform/data/stdio.h-data: Likewise.
28048 * conform/data/stdlib.h-data: Likewise.
28049 * conform/data/string.h-data: Likewise.
28050 * conform/data/strings.h-data: Likewise.
28051 * conform/data/stropts.h-data: Likewise.
28052 * conform/data/sys/ipc.h-data: Likewise.
28053 * conform/data/sys/mman.h-data: Likewise.
28054 * conform/data/sys/msg.h-data: Likewise.
28055 * conform/data/sys/resource.h-data: Likewise.
28056 * conform/data/sys/select.h-data: Likewise.
28057 * conform/data/sys/sem.h-data: Likewise.
28058 * conform/data/sys/shm.h-data: Likewise.
28059 * conform/data/sys/socket.h-data: Likewise.
28060 * conform/data/sys/stat.h-data: Likewise.
28061 * conform/data/sys/statvfs.h-data: Likewise.
28062 * conform/data/sys/time.h-data: Likewise.
28063 * conform/data/sys/timeb.h-data: Likewise.
28064 * conform/data/sys/times.h-data: Likewise.
28065 * conform/data/sys/types.h-data: Likewise.
28066 * conform/data/sys/uio.h-data: Likewise.
28067 * conform/data/sys/un.h-data: Likewise.
28068 * conform/data/sys/utsname.h-data: Likewise.
28069 * conform/data/sys/wait.h-data: Likewise.
28070 * conform/data/syslog.h-data: Likewise.
28071 * conform/data/tar.h-data: Likewise.
28072 * conform/data/termios.h-data: Likewise.
28073 * conform/data/utime.h-data: Likewise.
28074 * conform/data/utmpx.h-data: Likewise.
28075 * conform/data/varargs.h-data: Likewise.
28076 * conform/data/wchar.h-data: Likewise.
28077 * conform/data/wctype.h-data: Likewise.
28078 * conform/data/wordexp.h-data: Likewise.
28079
28080 * include/stropts.h: New file.
28081 * include/uchar.h: New file.
28082 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28083 * include/assert.h: Likewise.
28084 * include/ctype.h: Likewise.
28085 * include/dirent.h: Likewise.
28086 * include/dlfcn.h: Likewise.
28087 * include/fcntl.h: Likewise.
28088 * include/fnmatch.h: Likewise.
28089 * include/glob.h: Likewise.
28090 * include/grp.h: Likewise.
28091 * include/libio.h: Likewise.
28092 * include/locale.h: Likewise.
28093 * include/math.h: Likewise.
28094 * include/net/if.h: Likewise.
28095 * include/netdb.h: Likewise.
28096 * include/netinet/in.h: Likewise.
28097 * include/pthread.h: Likewise.
28098 * include/pwd.h: Likewise.
28099 * include/regex.h: Likewise.
28100 * include/sched.h: Likewise.
28101 * include/search.h: Likewise.
28102 * include/setjmp.h: Likewise.
28103 * include/signal.h: Likewise.
28104 * include/stdio.h: Likewise.
28105 * include/stdlib.h: Likewise.
28106 * include/string.h: Likewise.
28107 * include/sys/cdefs.h: Likewise.
28108 * include/sys/mman.h: Likewise.
28109 * include/sys/msg.h: Likewise.
28110 * include/sys/resource.h: Likewise.
28111 * include/sys/select.h: Likewise.
28112 * include/sys/socket.h: Likewise.
28113 * include/sys/stat.h: Likewise.
28114 * include/sys/statvfs.h: Likewise.
28115 * include/sys/time.h: Likewise.
28116 * include/sys/times.h: Likewise.
28117 * include/sys/uio.h: Likewise.
28118 * include/sys/utsname.h: Likewise.
28119 * include/sys/wait.h: Likewise.
28120 * include/termios.h: Likewise.
28121 * include/time.h: Likewise.
28122 * include/ulimit.h: Likewise.
28123 * include/unistd.h: Likewise.
28124 * include/utime.h: Likewise.
28125 * include/wchar.h: Likewise.
28126 * include/wctype.h: Likewise.
28127 * include/wordexp.h: Likewise.
28128
28129 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28130
28131 * time/time.h: TIME_UTC must be a macro.
28132 Make timespec_get available for ISO C11 only as well.
28133
28134 2012-02-24 Ulrich Drepper <drepper@gmail.com>
28135
28136 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28137 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28138
28139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28140
28141 * configure.in: Use -o not -a in test for unsupported multi-arch.
28142
28143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28144
28145 * manual/texinfo.tex: Update to version 2012-01-19.16.
28146
28147 2012-02-24 Joseph Myers <joseph@codesourcery.com>
28148
28149 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28150
28151 2012-02-24 Roland McGrath <roland@hack.frob.com>
28152
28153 [BZ #13738]
28154 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28155 * manual/fdl-1.3.texi: New file.
28156 * manual/fdl-1.1.texi: File removed.
28157
28158 [BZ #13738]
28159 * manual/libc.texinfo (FDL_VERSION): New @set.
28160 Use it for mention of FDL in cover text.
28161 (Documentation License): Use it in @include file name.
28162
28163 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28164 Roland McGrath <roland@hack.frob.com>
28165
28166 [BZ #5461]
28167 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28168 not LONG_LONG_MAX and LONG_LONG_MIN.
28169 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28170 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28171 name.
28172 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28173
28174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28175
28176 [BZ #2547]
28177 [BZ #11365]
28178 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28179 manipulate bits before adding and subtracting TWO23[sx].
28180 * math/libm-test.inc (nearbyint_test): Add more tests.
28181
28182 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28183
28184 [BZ #2548]
28185 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28186 bits before adding and subtracting TWO23[sx].
28187 * math/libm-test.inc (rint_test): Add more tests.
28188 (rint_test_tonearest): Likewise.
28189 (rint_test_towardzero): Likewise.
28190 (rint_test_downward): Likewise.
28191 (rint_test_upward: Likewise.
28192
28193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28194
28195 [BZ #10110]
28196 * include/stdc-predef.h: New file. Extracted from features.h.
28197 * include/features.h: Include stdc-predef.h.
28198 * Makefile (headers): Add stdc-predef.h.
28199 * CONFORMANCE (Compiler limitations): Update.
28200
28201 2012-02-22 Joseph Myers <joseph@codesourcery.com>
28202
28203 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28204
28205 2012-02-21 David S. Miller <davem@davemloft.net>
28206
28207 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28208 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28209
28210 2012-02-20 David S. Miller <davem@davemloft.net>
28211
28212 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28213 using a normal save/restore sequence, rather than allocating a
28214 dummy stack frame just to store a frame pointer and restore.
28215 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28216
28217 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28218
28219 * manual/install.texi: Fix stray word in line-wrapped comment.
28220
28221 2012-02-20 David S. Miller <davem@davemloft.net>
28222
28223 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28224 both binutils and gcc support GOTDATA.
28225
28226 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28227 "rd %pc" in the PIC register setup sequences.
28228
28229 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28230 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28231 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28232 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28233 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28235 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28238 (SYSCALL_ERROR_HANDLER): Likewise.
28239 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28242 (SYSCALL_ERROR_HANDLER): Likewise.
28243
28244 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28245 (HAVE_GCC_GOTDATA): New.
28246 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28247 relocation support in both binutils and gcc.
28248 * sysdeps/sparc/elf/configure: Regenerate.
28249
28250 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28251 * sysdeps/sparc/sparc32/elf/configure: Delete.
28252 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28253 * sysdeps/sparc/sparc64/elf/configure: Delete.
28254 * sysdeps/sparc/elf/configure.in: New file.
28255 * sysdeps/sparc/elf/configure: Generate.
28256
28257 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28258 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28259 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28260 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28261 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28262
28263 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28264
28265 * manual/install.texi: Do not mention specific glibc version
28266 numbers.
28267 * manual/libc.texinfo (VERSION, UPDATED): Update.
28268 (@copying): Use @copyright{} and range of years.
28269
28270 2012-02-21 Joseph Myers <joseph@codesourcery.com>
28271
28272 [BZ #13695]
28273 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28274 [crti.S not in sysdirs] (generated): Do not append.
28275 [crti.S not in sysdirs] (omit-deps): Likewise.
28276 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28277 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28278 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28279 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28280 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28281 Likewise.
28282 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28283 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28284 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28285 * csu/defs.awk: Remove file.
28286 * sysdeps/generic/initfini.c: Likewise.
28287 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28288 variable.
28289 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28290 Likewise.
28291
28292 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28293
28294 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28295 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28296 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28298 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28299 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28300 <bits/epoll.h>.
28301 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28302 (__EPOLL_PACKED): Define to empty if not defined by
28303 <bits/epoll.h>.
28304 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28306 bits/epoll.h.
28307
28308 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28309
28310 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28311 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28312 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28313 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28314 <bits/timerfd.h>.
28315 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28317 bits/timerfd.h.
28318
28319 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28320
28321 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28322 in C locale.
28323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28324 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28325 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28327
28328 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28329
28330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28331 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28332
28333 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28334
28335 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28336 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28337 defined.
28338 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28339 Likewise.
28340 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28341 entry for 2.16.
28342
28343 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28344
28345 * math/w_acos.c: Use non-signaling floating-point comparisons.
28346 * math/w_acosf.c: Likewise.
28347 * math/w_acosh.c: Likewise.
28348 * math/w_acoshf.c: Likewise.
28349 * math/w_acoshl.c: Likewise.
28350 * math/w_acosl.c: Likewise.
28351 * math/w_asin.c: Likewise.
28352 * math/w_asinf.c: Likewise.
28353 * math/w_asinl.c: Likewise.
28354 * math/w_atanh.c: Likewise.
28355 * math/w_atanhf.c: Likewise.
28356 * math/w_atanhl.c: Likewise.
28357 * math/w_exp2.c: Likewise.
28358 * math/w_exp2f.c: Likewise.
28359 * math/w_exp2l.c: Likewise.
28360 * math/w_j0.c: Likewise.
28361 * math/w_j0f.c: Likewise.
28362 * math/w_j0l.c: Likewise.
28363 * math/w_j1.c: Likewise.
28364 * math/w_j1f.c: Likewise.
28365 * math/w_j1l.c: Likewise.
28366 * math/w_jn.c: Likewise.
28367 * math/w_jnf.c: Likewise.
28368 * math/w_log.c: Likewise.
28369 * math/w_log10.c: Likewise.
28370 * math/w_log10f.c: Likewise.
28371 * math/w_log10l.c: Likewise.
28372 * math/w_log2.c: Likewise.
28373 * math/w_log2f.c: Likewise.
28374 * math/w_log2l.c: Likewise.
28375 * math/w_logf.c: Likewise.
28376 * math/w_logl.c: Likewise.
28377 * math/w_sqrt.c: Likewise.
28378 * math/w_sqrtf.c: Likewise.
28379 * math/w_sqrtl.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28381 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28383 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28384 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28385
28386 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28387
28388 [BZ #9739]
28389 * manual/string.texi (strnlen): Use correct parameter name in
28390 equivalent expression.
28391
28392 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28393
28394 [BZ #11174]
28395 * manual/users.texi (seteuid): Consistently use neweuid for
28396 argument name.
28397
28398 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28399
28400 [BZ #13704]
28401 * manual/nss.texi (Services in the NSS configuration): Correct
28402 list of services in example configuration file.
28403
28404 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28405
28406 [BZ #11322]
28407 * manual/arith.texi: Remove statements about negative zero
28408 behaving identically to zero.
28409
28410 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28411
28412 [BZ #5993]
28413 * manual/install.texi: Do not document upgrading from libc5.
28414
28415 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28416
28417 [BZ #4596]
28418 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28419
28420 2012-02-18 David S. Miller <davem@davemloft.net>
28421
28422 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28423 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28424 %o7 across the call.
28425 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28426 instead.
28427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28428 SETUP_PIC_REG_LEAF.
28429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28430 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28431 * sysdeps/sparc/crtn.S: Likewise.
28432
28433 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28434
28435 * aout/Makefile: Remove.
28436
28437 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28438
28439 [BZ #13058]
28440 * manual/examples/argp-ex1.c (main): Format definition in GNU
28441 style.
28442 * manual/examples/argp-ex2.c (main): Likewise.
28443 * manual/examples/argp-ex3.c (main): Likewise.
28444 * manual/examples/argp-ex4.c (main): Likewise.
28445 * manual/examples/longopt.c (main): Use new-style prototype
28446 definition.
28447 * manual/examples/strncat.c (main): Specify return type and use
28448 (void) for arguments.
28449 * manual/examples/subopt.c (main): Use char **argv argument.
28450
28451 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28452
28453 [BZ #5077]
28454 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28455 rounding modes.
28456
28457 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28458
28459 [BZ #6907]
28460 * manual/string.texi (strchr): Change when strchrnul is
28461 recommended.
28462
28463 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28464
28465 [BZ #174]
28466 * manual/locale.texi (setlocale): Document LOCPATH.
28467
28468 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28469
28470 [BZ #10210]
28471 * manual/process.texi (execle): Move @dots{} before last argument.
28472
28473 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28474
28475 [BZ #12047]
28476 * manual/charset.texi (Generic Charset Conversion): Fix typo
28477 (LC_TYPE -> LC_CTYPE).
28478
28479 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28480
28481 [BZ #5805]
28482 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28483 (scalbnf): Likewise.
28484 (scalbnl): Likewise.
28485 (scalbln): Likewise.
28486 (scalblnf): Likewise.
28487 (scalblnl): Likewise.
28488 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28489 (vwarnx): Likewise.
28490 (verr): Likewise.
28491 (verrx): Likewise.
28492 * manual/filesys.texi (telldir): Use braces around return type.
28493 * manual/llio.texi (mmap): Add space after comma.
28494 (mmap64): Likewise.
28495 * manual/math.texi (jn): Use @var{} on parameter names.
28496 (jnf): Likewise.
28497 (jnl): Likewise.
28498 (yn): Likewise.
28499 (ynf): Likewise.
28500 (ynl): Likewise.
28501 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28502 line.
28503 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28504 "...".
28505 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28506 (sched_get_priority_max): Likewise.
28507 * manual/signal.texi (sigvec): Add space after comma.
28508 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28509 names.
28510 (if_indextoname): Likewise.
28511 (if_freenameindex): Likewise.
28512 (sendto): Use ',' instead of '.' in prototype.
28513 * manual/startup.texi (syscall): Use @dots{} instead of literal
28514 "...".
28515 * manual/stdio.texi (__fpending): Separate initial words of
28516 paragraph from @deftypefun line.
28517 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28518 "...".
28519 (vsyslog): Use @var{} on parameter names.
28520 * manual/terminal.texi (stty): Use @var{} on parameter names.
28521 * manual/users.texi (getutmp): Use @var{} on parameter names.
28522 (getutmpx): Likewise.
28523
28524 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28525
28526 [BZ #6884]
28527 * manual/stdio.texi (fopen): Fix typos in description of
28528 ",ccs=STRING".
28529
28530 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28531
28532 [BZ #4026]
28533 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28534 get clock_id definition.
28535
28536 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28537
28538 [BZ #4822]
28539 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28540 (madvise): Cast every argument to void on its own.
28541
28542 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28543
28544 [BZ #9902]
28545 * manual/startup.texi (Exit Status): Fix typo.
28546
28547 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28548
28549 [BZ #10140]
28550 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28551 * manual/examples/argp-ex2.c: Likewise.
28552 * manual/examples/argp-ex3.c: Likewise.
28553
28554 2012-02-16 Richard Henderson <rth@redhat.com>
28555
28556 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28557 * sysdeps/s390/s390-32/initfini.c: Remove.
28558 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28559 * sysdeps/s390/s390-64/initfini.c: Remove.
28560
28561 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28562
28563 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28564 compiler output for sysdeps/generic/initfini.c.
28565 * sysdeps/sh/elf/initfini.c: Remove file.
28566
28567 2012-02-16 David S. Miller <davem@davemloft.net>
28568
28569 [BZ #11494]
28570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28571
28572 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28573 * sysdeps/sparc/crti.S: New file.
28574 * sysdeps/sparc/crtn.S: New file.
28575 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28576 * sysdeps/sparc/sparc64/Makefile: Likewise.
28577
28578 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28579
28580 [BZ #3335]
28581 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28582
28583 2012-02-15 Roland McGrath <roland@hack.frob.com>
28584
28585 [BZ #4822]
28586 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28587
28588 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28589 (write, read, close): Likewise.
28590 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28591
28592 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28593
28594 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28595 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28597 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28598 <bits/signalfd.h>.
28599 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28601 bits/signalfd.h.
28602
28603 2012-02-14 Marek Polacek <polacek@redhat.com>
28604
28605 * sysdeps/x86_64/crti.S: New file.
28606 * sysdeps/x86_64/crtn.S: New file.
28607 * sysdeps/x86_64/elf/initfini.c: Remove file.
28608
28609 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28610
28611 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28612 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28613 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28614 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28615 <bits/inotify.h>.
28616 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28618 bits/inotify.h.
28619
28620 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28621
28622 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28623 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28624 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28625 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28626 <bits/eventfd.h>.
28627 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28629 bits/eventfd.h.
28630
28631 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28632
28633 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28634 __feraiseexcept instead of feraiseexcept.
28635
28636 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28637 nanosleep invocations.
28638 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28639 strings, and add error checking for a nanosleep invocations.
28640
28641 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28642
28643 Replace FSF snail mail address with URLs, as per GNU coding standards.
28644 Most of the snail mail addresses were wrong anyway, and omitting
28645 them makes the source code easier to maintain. Almost all of the
28646 changes are to license notices and to locale LC_IDENTIFICATION
28647 addresses, except for this one:
28648 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28649 not its snail mail address.
28650
28651 2012-02-09 Richard Henderson <rth@twiddle.net>
28652
28653 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28654 of kernel-features.h.
28655
28656 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28657
28658 2012-02-08 Marek Polacek <polacek@redhat.com>
28659
28660 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28661 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28662 * sysdeps/gnu/_G_config.h: Likewise.
28663 * sysdeps/generic/_G_config.h: Likewise.
28664
28665 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28666
28667 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28668 tests.
28669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28670
28671 * sysdeps/powerpc/powerpc32/crti.S: New file.
28672 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28673 * sysdeps/powerpc/powerpc64/crti.S: New file.
28674 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28675
28676 * Makeconfig (have-initfini): Don't set.
28677 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28678 * configure.in (nopic_initfini): Don't substitute.
28679 * config.h.in (HAVE_INITFINI): Don't #undef.
28680 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28681 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28682
28683 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28684
28685 Support crti.S and crtn.S provided directly by architectures.
28686 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28687 [crti.S in sysdirs] (omit-deps): Likewise.
28688 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28689 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28690 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28691 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28692 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28693 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28694 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28695 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28696 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28697 compiler output for sysdeps/generic/initfini.c.
28698 * sysdeps/i386/elf/Makefile: Remove file.
28699 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28700
28701 2012-02-07 Marek Polacek <polacek@redhat.com>
28702
28703 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28704 * sysdeps/gnu/_G_config.h: Likewise.
28705 * sysdeps/mach/hurd/_G_config.h: Likewise.
28706
28707 2012-02-07 Marek Polacek <polacek@redhat.com>
28708
28709 * math/Makefile (tests): Add tst-CMPLX2.
28710 * math/tst-CMPLX2.c: New file.
28711
28712 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28713
28714 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28715
28716 * math/libm-test.inc (jn_test): Add missing L suffix.
28717
28718 2012-02-06 Marek Polacek <polacek@redhat.com>
28719
28720 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28721 * sysdeps/i386/fpu/e_powf.S: Likewise.
28722 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28723 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28724 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28725 * sysdeps/i386/fpu/e_pow.S: Likewise.
28726 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28727 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28728 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28729 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28730 * sysdeps/i386/fpu/e_log2.S: Likewise.
28731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28732 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28733 * sysdeps/i386/fpu/e_powl.S: Likewise.
28734 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28735 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28736 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28737 * sysdeps/i386/fpu/e_logl.S: Likewise.
28738 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28739 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28740 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28741 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28742 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28743 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28744 * sysdeps/i386/fpu/e_log.S: Likewise.
28745 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28746 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28747 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28748 * sysdeps/i386/fpu/e_logf.S: Likewise.
28749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28751 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28752 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28753 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28754 * sysdeps/i386/fpu/e_log10.S: Likewise.
28755 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28756 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28757 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28758 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28759 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28760 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28761 * sysdeps/i386/asm-syntax.h: Likewise.
28762 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28763 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28764 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28765 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28766 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28767 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28768 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28769 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28770 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28771 * sysdeps/powerpc/sysdep.h: Likewise.
28772 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28773 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28774
28775 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28776
28777 [BZ #411]
28778 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28779
28780 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28781
28782 * sysdeps/i386/sysdep.h: Include <features.h>.
28783 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28784 version.
28785
28786 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28787
28788 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28789 Define.
28790 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28791 LOAD_PIC_REG_STR.
28792
28793 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28794
28795 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28796 (SETUP_PIC_REG): Use GET_PC_THUNK.
28797 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28798 macro.
28799
28800 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28801
28802 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28803 for non-PIC compilation.
28804 (SETUP_PIC_REG): Add .p2align directive.
28805 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28806 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28807 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28808 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28809 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28810 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28811 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28812 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28813 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28814 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28815 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28816 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28817 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28818 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28819 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28820 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28821 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28822 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28823 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28824 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28825 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28826 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28827 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28828 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28831 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28833 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28834 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28835 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28837 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28838 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28839 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28840 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28841 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28842 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28843 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28844 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28845 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28846
28847 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28848
28849 * math/tst-CMPLX.c: Include <stdio.h>.
28850
28851 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28852
28853 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28854 float.
28855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28856 * sysdeps/sparc/bits/mathdef.h: Likewise.
28857
28858 2012-01-31 Marek Polacek <polacek@redhat.com>
28859
28860 * libio/libio.h: Don't define _PARAMS.
28861 * locale/programs/config.h: Don't define PARAMS.
28862 * stdlib/strtol_l.c: Likewise.
28863 (__strtol_l): Remove PARAMS from the prototype.
28864
28865 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28866
28867 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28868 names. Just use the correct names. Remove unnecessary wrapper
28869 functions.
28870 * malloc/arena.c: Likewise.
28871 * malloc/hooks.c: Likewise.
28872
28873 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28874 ARENA_TEST says not to. Simplify test for creation of a new arena.
28875 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28876
28877 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28878
28879 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28880 into tail calls.
28881 (update_get_addr): New function.
28882 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28883 GET_ADDR_MODULE parameter.
28884
28885 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28886
28887 * crypt/cert.c: Remove __STDC__ conditionals.
28888 * crypt/crypt-entry.c: Likewise.
28889 * crypt/crypt_util.c: Likewise.
28890 * libio/filedoalloc.c: Likewise.
28891 * libio/fileops.c: Likewise.
28892 * libio/genops.c: Likewise.
28893 * libio/iofclose.c: Likewise.
28894 * libio/iofdopen.c: Likewise.
28895 * libio/iofopen.c: Likewise.
28896 * libio/iofopen64.c: Likewise.
28897 * libio/iogetdelim.c: Likewise.
28898 * libio/iopopen.c: Likewise.
28899 * libio/obprintf.c: Likewise.
28900 * libio/oldfileops.c: Likewise.
28901 * libio/oldiofclose.c: Likewise.
28902 * libio/oldiofdopen.c: Likewise.
28903 * libio/oldiofopen.c: Likewise.
28904 * libio/oldiopopen.c: Likewise.
28905 * libio/wfiledoalloc.c: Likewise.
28906 * libio/wgenops.c: Likewise.
28907 * locale/programs/xmalloc.c: Likewise.
28908 * misc/syslog.c: Likewise.
28909 * stdio-common/xbug.c: Likewise.
28910 * string/memchr.c: Likewise.
28911 * string/memcmp.c: Likewise.
28912 * string/memrchr.c: Likewise.
28913 * string/rawmemchr.c: Likewise.
28914 * sysdeps/posix/getcwd.c: Likewise.
28915 * time/strftime_l.c: Likewise.
28916
28917 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28918
28919 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28920 * config.make.in (config-cflags-sse2avx): Define.
28921 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28922 Fix typo.
28923
28924 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28925
28926 * scripts/config.guess: Update from upstream config git repository.
28927 * scripts/config.sub: Likewise.
28928
28929 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28930
28931 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28932 (EM_NUM): Update.
28933 (R_TILEPRO_*, R_TILEGX_*): New macros.
28934
28935 * scripts/firstversions.awk: Fix bug in version range handling.
28936
28937 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28938
28939 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28940
28941 * include/sys/epoll.h: New file.
28942 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28943 libc_hidden_def.
28944
28945 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28946
28947 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28948 Avoid unnecessary __WORDSIZE == 64 test.
28949 (fmaxf): Use VEX format if possible.
28950 (fmax): Likewise.
28951 (fminf): Likewise.
28952 (fmin): Likewise.
28953
28954 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28955 * math/math_private.h: Remove libc_fegetround* and
28956 libc_fesetround*.
28957 * sysdeps/i386/configure.in: Check for -msse2avx.
28958 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28959 also if SSE2AVX is defined.
28960 Remove libc_fegetround* and libc_fesetround*.
28961 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28962 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28963 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28964 of HAS_YMM_USABLE.
28965 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28966 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28967 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28969 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28970
28971 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28972
28973 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28974
28975 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28976 size is not set.
28977 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28978
28979 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28980
28981 [BZ #13618]
28982 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28983 relocation.
28984 * Makeconfig (libm): Define.
28985 * elf/Makefile: Add rules to build and run tst-relsort1.
28986 * elf/tst-relsort1.c: New file.
28987 * elf/tst-relsort1mod1.c: New file.
28988 * elf/tst-relsort1mod2.c: New file.
28989
28990 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28991
28992 * math/s_ldexp.c: Remove __STDC__ conditionals.
28993 * math/s_ldexpf.c: Likewise.
28994 * math/s_ldexpl.c: Likewise.
28995 * math/s_nextafter.c: Likewise.
28996 * math/s_nexttowardf.c: Likewise.
28997 * math/s_significand.c: Likewise.
28998 * math/s_significandf.c: Likewise.
28999 * math/s_significandl.c: Likewise.
29000 * math/w_jnl.c: Likewise.
29001 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29002 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29003 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29004 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29005 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29020 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29021 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29022 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29023 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29024 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29025 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29026 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29027 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29028 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29029 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29030 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29031 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29032 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29033 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29034 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29035 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29036 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29037 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29038 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29039 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29040 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29041 * sysdeps/ieee754/k_standard.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29064 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29098 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29099 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29108 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29111 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29112 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29117 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29120 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29121 * sysdeps/ieee754/s_matherr.c: Likewise.
29122 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29123 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29126
29127 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29128
29129 * crypt/md5.h: Remove __STDC__ conditionals.
29130 * libio/libioP.h: Likewise.
29131 * locale/programs/config.h: Likewise.
29132 * sysdeps/generic/sysdep.h: Likewise.
29133 * sysdeps/i386/asm-syntax.h: Likewise.
29134 * sysdeps/s390/asm-syntax.h: Likewise.
29135 * sysdeps/unix/sysdep.h: Likewise.
29136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29138
29139 2012-01-26 Joseph Myers <joseph@codesourcery.com>
29140
29141 * libio/libio.h: Remove __STDC__ conditionals.
29142 * malloc/obstack.h: Likewise.
29143 * math/complex.h: Likewise.
29144 * math/math.h: Likewise.
29145 * sysdeps/generic/_G_config.h: Likewise.
29146 * sysdeps/gnu/_G_config.h: Likewise.
29147 * sysdeps/mach/hurd/_G_config.h: Likewise.
29148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29149 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29150 * sysdeps/sparc/bits/mathdef.h: Likewise.
29151
29152 2012-01-26 Ulrich Drepper <drepper@gmail.com>
29153
29154 [BZ #13583]
29155 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29156 Clean up HAS_* macros.
29157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29158 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29159 possible.
29160 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29161 HAS_AVX.
29162 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29163 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29164 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29167
29168 2012-01-25 Joseph Myers <joseph@codesourcery.com>
29169
29170 * elf/tst-unique3.cc (gets): Remove declaration.
29171 * elf/tst-unique3lib.cc (gets): Likewise.
29172 * elf/tst-unique3lib2.cc (gets): Likewise.
29173 * elf/tst-unique4.cc (gets): Likewise.
29174
29175 2012-01-24 Ulrich Drepper <drepper@gmail.com>
29176
29177 * include/stdio.h: Add C++ protection. Add gets declarations and
29178 definitions.
29179 * debug/tst-chk1.c: Don't declare gets here.
29180 * stdio-common/tst-gets.c: Likewise.
29181
29182 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29183
29184 * posix/glob: Remove directory.
29185
29186 2012-01-24 Joseph Myers <joseph@codesourcery.com>
29187
29188 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29189
29190 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29191
29192 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29193 of the non-standard EPFNOSUPPORT.
29194
29195 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29196
29197 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29198 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29199 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29200
29201 2012-01-21 Ulrich Drepper <drepper@gmail.com>
29202
29203 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29204
29205 2012-01-20 Ulrich Drepper <drepper@gmail.com>
29206
29207 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29208 transient errors.
29209 * nscd/grpcache.c (cache_addgr): Likewise.
29210 * nscd/hstcache.c (cache_addhst): Likewise.
29211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29212 * nscd/pwdcache.c (cache_addpw): Likewise.
29213 * nscd/servicescache.c (cache_addserv): Likewise.
29214
29215 2012-01-16 Ulrich Drepper <drepper@gmail.com>
29216
29217 * malloc/malloc.c: Various cleanups.
29218 * malloc/hooks.c: Likewise.
29219
29220 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29221 * stdlib/bug-fmtmsg1.c: New file.
29222
29223 * stdlib/fmtmsg.c (init): Add missing unlock.
29224 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29225
29226 2012-01-12 Marek Polacek <polacek@redhat.com>
29227
29228 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29229 and _GNU_SOURCE.
29230
29231 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29232
29233 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29234 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29235 macro to ensure uniqueness of label name.
29236 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29237 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29238
29239 2012-01-11 Ulrich Drepper <drepper@gmail.com>
29240
29241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29242
29243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29244 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29247
29248 2012-01-10 Ulrich Drepper <drepper@gmail.com>
29249
29250 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29251
29252 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29253 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29255
29256 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29257
29258 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29259 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29262
29263 * math/bits/math-finite.h: Add ldexp support.
29264
29265 2012-01-10 Marek Polacek <polacek@redhat.com>
29266
29267 * locale/programs/localedef.h (show_archive_content): Add noreturn
29268 attribute.
29269
29270 2012-01-09 Ulrich Drepper <drepper@gmail.com>
29271
29272 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29273
29274 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29275
29276 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29277
29278 * io/Makefile (headers): Add bits/poll2.h.
29279
29280 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29281
29282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29283 typo #include statement.
29284
29285 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29286
29287 * include/sys/cdefs.h: Define __attribute_alloc_size.
29288 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29289 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29290 * elf/pldd.c: Likewise.
29291 * iconv/iconv_charmap.c: Likewise.
29292 * iconv/iconvconfig.c: Likewise.
29293 * iconv/strtab.c: Likewise.
29294 * locale/programs/locale.c: Likewise.
29295 * locale/programs/localedef.h: Likewise.
29296 * locale/programs/simple-hash.c: Likewise.
29297 * nscd/nscd.h: Likewise.
29298 * nss/makedb.c: Likewise.
29299 * sysdeps/generic/ldconfig.h: Likewise.
29300 * locale/programs/localedef.c: Remove xmalloc prototype.
29301 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29302
29303 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29304
29305 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29306 appropriate.
29307
29308 2012-01-08 Ulrich Drepper <drepper@gmail.com>
29309
29310 * math/Makefile (tests): Add tst-CMPLX.
29311 * math/tst-CMPLX.c: New file.
29312
29313 * math/complex.h (CMPLXL): Fix typo.
29314
29315 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29316 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29317 GLIBC_2.16.
29318 * debug/tst-chk1.c: Add poll and ppoll tests.
29319 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29320 * include/sys/poll.h: Add hidden proto for ppoll.
29321 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29322 * sysdeps/mach/hurd/ppoll.c: Likewise.
29323 * io/ppoll.c: Likewise.
29324 * debug/poll_chk.c: New file.
29325 * debug/ppoll_chk.c: New file.
29326 * include/bits/poll2.h: New file.
29327 * io/bits/poll2.h: New file.
29328
29329 [BZ #1350]
29330 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29331
29332 * configure.in: static is always set to yes. Remove.
29333 * config.make.in: Don't set build-static.
29334 * Makeconfig: Remove use of build-static.
29335 * dlfcn/Makefile: Likewise.
29336 * elf/Makefile: Likewise.
29337 * math/Makefile: Likewise.
29338 * misc/Makefile: Likewise.
29339 * nptl/Makefile: Likewise.
29340 * sysdeps/mach/hurd/Makefile: Likewise.
29341
29342 * configure.in: PWD_P is not used anymore.
29343 * config.make.in: Remove PWD_P entry.
29344
29345 * configure.in: Remove last remnants of RANLIB.
29346 No need to check for signed size_t anymore.
29347 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29348 and IA-64.
29349 Remove __builtin_expect test because we require at least gcc 3.4.
29350 * aclocal.m4: Likewise.
29351
29352 * wcsmbs/mbrtoc16.c: Implement using towc function.
29353 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29354 * wcsmbs/wcsmbsload.c: Likewise.
29355 * iconv/gconv_simple.c: Likewise.
29356 * iconv/gconv_int.h: Likewise.
29357 * iconv/gconv_builtin.h: Likewise.
29358 * iconv/iconv_prog.c: Remove CHAR16 handling.
29359
29360 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29361
29362 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29363
29364 * configure.in: Remove --with-elf and --enable-bounded options.
29365 Dont set base_machine for ia64. More non-ELF conditions removed.
29366 Remove testing and setting of leading underscore information.
29367 * config.make.in (build-bounded): Set to no.
29368 * config.h.in: Remove NO_UNDERSCORES entry.
29369 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29370 them.
29371 * csu/start.c: Remove !NO_UNDERSCORE code.
29372 * locale/localeinfo.h: Likewise.
29373 * sysdeps/generic/machine-gmon.h: Likewise.
29374 * sysdeps/generic/sysdep.h: Likewise.
29375 * sysdeps/i386/sysdep.h: Likewise.
29376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29377 * sysdeps/mach/sysdep.h: Likewise.
29378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29380 * sysdeps/sh/sysdep.h: Likewise.
29381 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29382 * sysdeps/unix/i386/sysdep.S: Likewise.
29383 * sysdeps/unix/sparc/start.c: Likewise.
29384 * sysdeps/unix/sparc/sysdep.S: Likewise.
29385 * sysdeps/unix/sparc/sysdep.h: Likewise.
29386 * sysdeps/unix/start.c: Likewise.
29387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29388 * sysdeps/x86_64/sysdep.h: Likewise.
29389
29390 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29391
29392 [BZ #13553]
29393 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29394 for non-gcc.
29395 * argp/argp-fmtstream.h: Use const instead __const.
29396 * argp/argp.h: Likewise.
29397 * assert/assert.h: Likewise.
29398 * bits/fenv.h: Likewise.
29399 * bits/sched.h: Likewise.
29400 * bits/sigset.h: Likewise.
29401 * bits/sigthread.h: Likewise.
29402 * catgets/nl_types.h: Likewise.
29403 * conform/data/pthread.h-data: Likewise.
29404 * crypt/crypt-private.h: Likewise.
29405 * crypt/crypt.h: Likewise.
29406 * crypt/crypt_util.c: Likewise.
29407 * ctype/ctype.h: Likewise.
29408 * debug/execinfo.h: Likewise.
29409 * debug/mbsnrtowcs_chk.c: Likewise.
29410 * debug/mbsrtowcs_chk.c: Likewise.
29411 * debug/wcsnrtombs_chk.c: Likewise.
29412 * debug/wcsrtombs_chk.c: Likewise.
29413 * debug/wcstombs_chk.c: Likewise.
29414 * dirent/dirent.h: Likewise.
29415 * dlfcn/dlfcn.h: Likewise.
29416 * elf/neededtest4.c: Likewise.
29417 * grp/grp.h: Likewise.
29418 * gshadow/gshadow.h: Likewise.
29419 * iconv/gconv.h: Likewise.
29420 * iconv/gconv_int.h: Likewise.
29421 * iconv/gconv_simple.c: Likewise.
29422 * iconv/iconv.h: Likewise.
29423 * iconv/loop.c: Likewise.
29424 * iconv/skeleton.c: Likewise.
29425 * include/aio.h: Likewise.
29426 * include/aliases.h: Likewise.
29427 * include/argz.h: Likewise.
29428 * include/arpa/inet.h: Likewise.
29429 * include/assert.h: Likewise.
29430 * include/dirent.h: Likewise.
29431 * include/dlfcn.h: Likewise.
29432 * include/execinfo.h: Likewise.
29433 * include/fcntl.h: Likewise.
29434 * include/fenv.h: Likewise.
29435 * include/glob.h: Likewise.
29436 * include/grp.h: Likewise.
29437 * include/libintl.h: Likewise.
29438 * include/mntent.h: Likewise.
29439 * include/netdb.h: Likewise.
29440 * include/pwd.h: Likewise.
29441 * include/rpc/netdb.h: Likewise.
29442 * include/sched.h: Likewise.
29443 * include/search.h: Likewise.
29444 * include/shadow.h: Likewise.
29445 * include/signal.h: Likewise.
29446 * include/stdio.h: Likewise.
29447 * include/stdlib.h: Likewise.
29448 * include/string.h: Likewise.
29449 * include/sys/socket.h: Likewise.
29450 * include/sys/stat.h: Likewise.
29451 * include/sys/statfs.h: Likewise.
29452 * include/sys/statvfs.h: Likewise.
29453 * include/sys/syslog.h: Likewise.
29454 * include/sys/time.h: Likewise.
29455 * include/sys/uio.h: Likewise.
29456 * include/time.h: Likewise.
29457 * include/unistd.h: Likewise.
29458 * include/utmp.h: Likewise.
29459 * include/wchar.h: Likewise.
29460 * include/wctype.h: Likewise.
29461 * inet/aliases.h: Likewise.
29462 * inet/arpa/inet.h: Likewise.
29463 * inet/netinet/ether.h: Likewise.
29464 * inet/netinet/in.h: Likewise.
29465 * intl/libintl.h: Likewise.
29466 * io/bits/fcntl2.h: Likewise.
29467 * io/fcntl.h: Likewise.
29468 * io/ftw.h: Likewise.
29469 * io/sys/poll.h: Likewise.
29470 * io/sys/stat.h: Likewise.
29471 * io/sys/statfs.h: Likewise.
29472 * io/sys/statvfs.h: Likewise.
29473 * io/utime.h: Likewise.
29474 * libio/bits/stdio.h: Likewise.
29475 * libio/bits/stdio2.h: Likewise.
29476 * libio/libio.h: Likewise.
29477 * libio/libioP.h: Likewise.
29478 * libio/stdio.h: Likewise.
29479 * locale/lc-ctype.c: Likewise.
29480 * locale/locale.h: Likewise.
29481 * login/utmp.h: Likewise.
29482 * malloc/arena.c: Likewise.
29483 * malloc/malloc.c: Likewise.
29484 * malloc/malloc.h: Likewise.
29485 * malloc/mcheck.c: Likewise.
29486 * malloc/mtrace.c: Likewise.
29487 * math/bits/mathcalls.h: Likewise.
29488 * math/fenv.h: Likewise.
29489 * math/math_private.h: Likewise.
29490 * misc/bits/error.h: Likewise.
29491 * misc/bits/syslog.h: Likewise.
29492 * misc/err.h: Likewise.
29493 * misc/error.h: Likewise.
29494 * misc/fstab.h: Likewise.
29495 * misc/mntent.h: Likewise.
29496 * misc/regexp.h: Likewise.
29497 * misc/search.h: Likewise.
29498 * misc/sgtty.h: Likewise.
29499 * misc/sys/mman.h: Likewise.
29500 * misc/sys/syslog.h: Likewise.
29501 * misc/sys/uio.h: Likewise.
29502 * misc/sys/xattr.h: Likewise.
29503 * misc/ttyent.h: Likewise.
29504 * nis/rpcsvc/ypclnt.h: Likewise.
29505 * nss/nss.h: Likewise.
29506 * posix/bits/unistd.h: Likewise.
29507 * posix/fnmatch.h: Likewise.
29508 * posix/glob.h: Likewise.
29509 * posix/sched.h: Likewise.
29510 * posix/spawn.h: Likewise.
29511 * posix/sys/wait.h: Likewise.
29512 * posix/unistd.h: Likewise.
29513 * posix/wordexp.h: Likewise.
29514 * pwd/pwd.h: Likewise.
29515 * resolv/netdb.h: Likewise.
29516 * resource/sys/resource.h: Likewise.
29517 * rt/aio.h: Likewise.
29518 * rt/bits/mqueue2.h: Likewise.
29519 * rt/mqueue.h: Likewise.
29520 * shadow/shadow.h: Likewise.
29521 * signal/signal.h: Likewise.
29522 * socket/send.c: Likewise.
29523 * socket/sendto.c: Likewise.
29524 * socket/sys/socket.h: Likewise.
29525 * stdio-common/printf.h: Likewise.
29526 * stdlib/bits/stdlib.h: Likewise.
29527 * stdlib/fmtmsg.h: Likewise.
29528 * stdlib/monetary.h: Likewise.
29529 * stdlib/stdlib.h: Likewise.
29530 * stdlib/ucontext.h: Likewise.
29531 * streams/stropts.h: Likewise.
29532 * string/argz.h: Likewise.
29533 * string/bits/string2.h: Likewise.
29534 * string/string.h: Likewise.
29535 * string/strings.h: Likewise.
29536 * sunrpc/rpc/auth.h: Likewise.
29537 * sunrpc/rpc/auth_des.h: Likewise.
29538 * sunrpc/rpc/clnt.h: Likewise.
29539 * sunrpc/rpc/netdb.h: Likewise.
29540 * sunrpc/rpc/pmap_clnt.h: Likewise.
29541 * sunrpc/rpc/xdr.h: Likewise.
29542 * sysdeps/generic/inttypes.h: Likewise.
29543 * sysdeps/generic/net/if.h: Likewise.
29544 * sysdeps/generic/sys/swap.h: Likewise.
29545 * sysdeps/gnu/net/if.h: Likewise.
29546 * sysdeps/gnu/utmpx.h: Likewise.
29547 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29548 * sysdeps/i386/i486/bits/string.h: Likewise.
29549 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29550 * sysdeps/s390/bits/string.h: Likewise.
29551 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29552 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29553 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29554 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29555 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29556 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29557 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29558 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29559 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29560 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29561 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29562 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29563 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29564 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29565 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29566 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29567 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29570 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29573 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29574 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29575 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29576 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29579 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29581 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29582 * sysvipc/sys/ipc.h: Likewise.
29583 * sysvipc/sys/msg.h: Likewise.
29584 * sysvipc/sys/sem.h: Likewise.
29585 * sysvipc/sys/shm.h: Likewise.
29586 * termios/termios.h: Likewise.
29587 * time/sys/time.h: Likewise.
29588 * time/time.h: Likewise.
29589 * wcsmbs/bits/wchar2.h: Likewise.
29590 * wcsmbs/uchar.h: Likewise.
29591 * wcsmbs/wchar.h: Likewise.
29592 * wctype/wctype.h: Likewise.
29593
29594 [BZ #13551]
29595 * Makeconfig: Remove all but ELF support including AIX support.
29596 * Makerules: Likewise.
29597 * config.h.in: Likewise.
29598 * config.make.in: Likewise.
29599 * configure: Likewise.
29600 * configure.in: Likewise.
29601 * csu/Makefile: Likewise.
29602 * csu/version.c: Likewise.
29603 * debug/Makefile: Likewise.
29604 * dlfcn/Makefile: Likewise.
29605 * elf/Makefile: Likewise.
29606 * extra-lib.mk: Likewise.
29607 * iconv/Makefile: Likewise.
29608 * include/libc-symbols.h: Likewise.
29609 * include/shlib-compat.h: Likewise.
29610 * resolv/Makefile: Likewise.
29611 * resolv/res_libc.c: Likewise.
29612 * rt/Makefile: Likewise.
29613 * sysdeps/i386/asm-syntax.h: Likewise.
29614 * sysdeps/i386/sysdep.h: Likewise.
29615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29616 * sysdeps/mach/sysdep.h: Likewise.
29617 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29618 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29619 * sysdeps/s390/asm-syntax.h: Likewise.
29620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29622 * sysdeps/sh/sysdep.h: Likewise.
29623 * sysdeps/unix/sparc/sysdep.h: Likewise.
29624 * sysdeps/wordsize-32/divdi3.c: Likewise.
29625 * sysdeps/x86_64/sysdep.h: Likewise.
29626
29627 * argp/Versions: Remove _argp_unlock_xxx.
29628
29629 [BZ #13559]
29630 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29631 * abilist/libBrokenLocale.abilist: Likewise.
29632 * abilist/libanl.abilist: Likewise.
29633 * abilist/libc.abilist: Likewise.
29634 * abilist/libcrypt.abilist: Likewise.
29635 * abilist/libdl.abilist: Likewise.
29636 * abilist/libm.abilist: Likewise.
29637 * abilist/libnsl.abilist: Likewise.
29638 * abilist/libpthread.abilist: Likewise.
29639 * abilist/libresolv.abilist: Likewise.
29640 * abilist/librt.abilist: Likewise.
29641 * abilist/libthread_db.abilist: Likewise.
29642 * abilist/libutil.abilist: Likewise.
29643 * abilist/libnss_db.abilist: New file.
29644
29645 * scripts/abilist.awk: Add support for indirect functions.
29646
29647 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29648
29649 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29650
29651 * shlib-versions: Remove entries for ports architectures.
29652
29653 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29654 files in ports.
29655 * elf/stackguard-macros.h: Remove support for IA-64.
29656 * elf/tst-auditmod1.c: Likewise.
29657 * sysdeps/generic/ldsodefs.h: Likewise.
29658
29659 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29660 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29661 configure files.
29662
29663 [BZ #13552]
29664 * configure.in: Remove --enable-omitfp support.
29665 * FAQ.in: Adjust.
29666 * config.make.in: Likewise.
29667 * Makeconfig: Likewise.
29668 * manual/install.texi: Likewise.
29669
29670 In case anyone cares, the IA-64 architecture could move to ports.
29671 * sysdeps/ia64/*: Removed.
29672 * sysdeps/unix/sysv/linux/ia64/*: Removed.
29673 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29674
29675 [BZ #13555]
29676 * configure.in: Remove entries for unsupported architectures.
29677
29678 [BZ #13533]
29679 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29680 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29681 routines.
29682 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29683 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29684 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29685 fall back to using wcrtomb.
29686 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29687 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29688 renaming.
29689 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29690 * wcsmbs/tst-c16c32-1.c: New file.
29691
29692 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29693 local variable.
29694
29695 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29696
29697 * elf/tst-unique3.cc: Add explicit declaration of gets.
29698 * elf/tst-unique3lib.cc: Likewise.
29699 * elf/tst-unique3lib2.cc: Likewise.
29700 * elf/tst-unique4.cc: Likewise.
29701
29702 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29703
29704 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29705
29706 [BZ #13566]
29707 * assert/assert.h (static_assert): Don't define for C++.
29708 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29709 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29710
29711 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29712
29713 * iconv/loop.c (single loop): Fix assertion in storing of
29714 remaining bytes.
29715
29716 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29717
29718 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29719
29720 * posix/getconf.c: Update copyright year.
29721 * nss/getent.c: Likewise.
29722 * nss/makedb.c: Likewise.
29723 * iconv/iconvconfig.c: Likewise.
29724 * iconv/iconv_prog.c: Likewise.
29725 * elf/ldconfig.c: Likewise.
29726 * elf/pldd.c: Likewise.
29727 * elf/sotruss.ksh: Likewise.
29728 * catgets/gencat.c: Likewise.
29729 * csu/version.c: Likewise.
29730 * elf/ldd.bash.in: Likewise.
29731 * elf/sprof.c (print_version): Likewise.
29732 * locale/programs/locale.c: Likewise.
29733 * locale/programs/localedef.c: Likewise.
29734 * login/programs/pt_chown.c: Likewise.
29735 * nscd/nscd.c (print_version): Likewise.
29736 * debug/xtrace.sh: Likewise.
29737 * malloc/memusage.sh: Likewise.
29738 * malloc/mtrace.pl: Likewise.
29739 * debug/catchsegv.sh: Likewise.
29740
29741 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29742
29743 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29744 pure attribute.
29745
29746 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29747
29748 [BZ #13533]
29749 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29750 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29751 transformations.
29752 * iconv/gconv_int.h: Likewise.
29753 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29754 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29755 from libc for GLIBC_2.16.
29756 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29757 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29758 * wcsmbs/uchar.h: Really define mbstate_t.
29759 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29760 * wcsmbs/c16rtomb.c: New file.
29761 * wcsmbs/mbrtoc16.c: New file.
29762 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29763 for C/POSIX locale.
29764 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29765 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29766
29767 * wcsmbs/wchar.h: Add missing __restrict.
29768
29769 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29770
29771 [BZ #13532]
29772 * time/Makefile (routines): Add timespec_get.
29773 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29774 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29775 timespec for ISO C11.
29776 * time/timespec_get.c: New file.
29777 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29778 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29779
29780 [BZ #13531]
29781 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29782 * stdlib/stdlib.h: Declare aligned_alloc.
29783 * Versions.def: Add GLIBC_2.16 for libc.
29784 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29785
29786 [BZ 13527]
29787 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29788 ISO C11.
29789
29790 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29791 code.
29792
29793 [BZ #13528]
29794 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29795
29796 [BZ #13529]
29797 * assert/assert.h (static_assert): Define.
29798
29799 * version.h: Update for 2.16 development version.
29800
29801 [BZ #13526]
29802 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29803 _ISOC11_SOURCE.
29804
29805 * version.h (RELEASE): Bump for 2.15 release.
29806 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29807
29808 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29809 Patch by Marek Polacek <mpolacek@redhat.com>.
29810
29811 * bits/byteswap.h: Protect long long constants with __extension__.
29812 * sysdeps/i386/bits/byteswap.h: Likewise.
29813 * sysdeps/ia64/bits/byteswap.h: Likewise.
29814 * sysdeps/s390/bits/byteswap.h: Likewise.
29815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29816
29817 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29818
29819 [BZ #13540]
29820 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29821 destination buffer.
29822 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29823
29824 2011-12-23 Marek Polacek <polacek@redhat.com>
29825
29826 * elf/dl-addr.c (determine_info): Add inline keyword.
29827 * elf/tst-auditmod4b.c (check_avx): Likewise.
29828 * elf/tst-auditmod6b.c (check_avx): Likewise.
29829 * elf/tst-auditmod6c.c (check_avx): Likewise.
29830 * elf/tst-auditmod7b.c (check_avx): Likewise.
29831
29832 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29833
29834 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29835 !__SSE_MATH__.
29836
29837 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29838
29839 [BZ #13540]
29840 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29841 processing for last bytes.
29842
29843 2011-08-06 Bruno Haible <bruno@clisp.org>
29844
29845 [BZ #13061]
29846 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29847 U+0385, not to U+1FEE.
29848
29849 [BZ #13062]
29850 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29851 entry for U+00A5 U+0301.
29852
29853 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29854
29855 [BZ #13166]
29856 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29857 buffer for the output is too small.
29858
29859 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29860 optimization.
29861
29862 [BZ #13185]
29863 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29864 SSE flags if possible.
29865
29866 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29867
29868 [BZ #13540]
29869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29870 processing for last bytes.
29871
29872 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29873
29874 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29875 (syscall-list-default-options, syscall-list-default-condition)
29876 (syscall-list-includes): Define.
29877 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29878 list of ABIs and options and #if conditions for each ABI. Do not
29879 handle common syscalls between ABIs specially.
29880 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29881 Remove.
29882 (syscall-list-variants, syscall-list-32bit-options)
29883 (syscall-list-32bit-condition, syscall-list-64bit-options)
29884 (syscall-list-64bit-condition): Define.
29885 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29886 (syscall-list-variants, syscall-list-32bit-options)
29887 (syscall-list-32bit-condition, syscall-list-64bit-options)
29888 (syscall-list-64bit-condition): Define.
29889 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29890 Remove.
29891 (syscall-list-variants, syscall-list-32bit-options)
29892 (syscall-list-32bit-condition, syscall-list-64bit-options)
29893 (syscall-list-64bit-condition): Define.
29894 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29895 Remove.
29896 (syscall-list-variants, syscall-list-32bit-options)
29897 (syscall-list-32bit-condition, syscall-list-64bit-options)
29898 (syscall-list-64bit-condition): Define.
29899
29900 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29901
29902 * locale/iso-639.def: Add brx entry.
29903
29904 [BZ #13328]
29905 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29906 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29907
29908 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29909 __feraiseexcept_renamed.
29910
29911 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29912
29913 [BZ #13538]
29914 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29915 EPOLLET with unsigned values.
29916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29917 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29918
29919 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29920 to large cancellation.
29921 * math/s_cacoshf.c: Likewise.
29922 * math/s_cacoshl.c: Likewise.
29923
29924 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29925
29926 [BZ #13305]
29927 [BZ #12786]
29928 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29929 * math/s_cacoshf.c: Likewise.
29930 * math/s_cacoshl.c: Likewise.
29931
29932 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29933
29934 [BZ #13439]
29935 * iconv/gconv.h: Define __GCONV_SWAP.
29936 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29937 * iconvdata/utf-16.c: Likewise.
29938 * iconvdata/utf-32.c: Likewise.
29939
29940 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29941
29942 [BZ #13524]
29943 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29944 numerator after shifting it by one limb.
29945
29946 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29947
29948 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29949 under [__USE_EXTERN_INLINES].
29950
29951 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29952
29953 [BZ #13446]
29954 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29955
29956 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29957
29958 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29959 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29960 optimized code.
29961 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29962 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29963 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29964 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29965 for strncasecmp/strncasecmp_l compilation.
29966 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29967 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29968
29969 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29970
29971 [BZ #13484]
29972 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29973 of __asm__.
29974
29975 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29976
29977 [BZ #13506]
29978 * time/tzfile.c (__tzfile_read): Check values from file header.
29979
29980 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29981
29982 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29983 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29984 * powerpc/powerpc32/dl-start.S: Likewise.
29985 * powerpc/powerpc32/elf/start.S: Likewise.
29986 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29987 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29988 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29989 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29990 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29991 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29992 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29993 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29994 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29995 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29996 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29997 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29998 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29999 * powerpc/powerpc32/memset.S: Likewise.
30000 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30001 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30002 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30003 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30004 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30005 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30006 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30007 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30008 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30009 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30010 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30011 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30012 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30013
30014 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30015
30016 * math/libm-test.inc: Added more nearbyint tests.
30017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30021
30022 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30023
30024 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30025 FD_CLOEXEC.
30026
30027 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30028
30029 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30030 Add wcscpy-ssse3 wcscpy-c.
30031 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30032 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30033 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30034 * sysdeps/x86_64/wcschr.S: New file.
30035 * sysdeps/x86_64/wcsrchr.S: New file.
30036 * string/test-strcmp.c: Remove checking of wcscmp function for
30037 wrong alignments.
30038 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30039 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30040 wcsrchr-sse2 wcsrchr-c.
30041 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30042 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30043 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30044 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30045 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30046 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30047 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30048 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30049 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30050 * wcsmbc/wcschr.c (WCSCHR): New macro.
30051
30052 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30053
30054 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30055 * wcsmbs/test-wcsrchr.c: New file.
30056 * string/test-strrchr.c: Add wcsrchr support.
30057 (WIDE): New macro.
30058 * wcsmbs/test-wcscpy.c: New file.
30059 * string/test-strcpy.c: Add wcscpy support.
30060 (WIDE): New macro.
30061
30062 2011-12-10 Ulrich Drepper <drepper@gmail.com>
30063
30064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30065 the inner loop.
30066
30067 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30068
30069 [BZ #13472]
30070 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30071
30072 2011-12-04 Ulrich Drepper <drepper@gmail.com>
30073
30074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30075 Minor optimizations.
30076
30077 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30078 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30079 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30080
30081 2011-12-03 Ulrich Drepper <drepper@gmail.com>
30082
30083 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30084 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30085 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30086 for gcc to avoid warnings.
30087 * inet/Makefile (tests): Add tst-checks.
30088 * inet/tst-checks.c: New file.
30089
30090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30091 warning.
30092
30093 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30094 __wmemcmp_sse2.
30095
30096 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30097 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30098
30099 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30100
30101 2011-12-02 Ulrich Drepper <drepper@gmail.com>
30102
30103 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30104 problem.
30105
30106 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30107
30108 2011-11-29 Joseph Myers <joseph@codesourcery.com>
30109
30110 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30111 conditional on GCC version.
30112 (__arch_compare_and_exchange_val_8_acq)
30113 (__arch_compare_and_exchange_val_16_acq)
30114 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30115 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30116 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30117
30118 2011-12-02 Joseph Myers <joseph@codesourcery.com>
30119
30120 * sysdeps/sh/backtrace.c: New file.
30121
30122 2011-12-02 Andreas Schwab <schwab@redhat.com>
30123
30124 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30125 parenthesis.
30126
30127 2011-12-01 Andreas Schwab <schwab@redhat.com>
30128
30129 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30130 falling back to utime.
30131
30132 2011-11-30 Andreas Schwab <schwab@redhat.com>
30133
30134 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30135 expectations for float.
30136
30137 2011-11-29 Andreas Schwab <schwab@redhat.com>
30138
30139 * locale/weight.h (findidx): Add parameter len.
30140 * locale/weightwc.h (findidx): Likewise.
30141 * posix/fnmatch_loop.c (FCT): Adjust caller.
30142 * posix/regcomp.c (build_equiv_class): Likewise.
30143 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30144 * posix/regexec.c (check_node_accept_bytes): Likewise.
30145 * string/strcoll_l.c (STRCOLL): Likewise.
30146 * string/strxfrm_l.c (STRXFRM): Likewise.
30147
30148 2011-11-17 Ulrich Drepper <drepper@gmail.com>
30149
30150 * Makefile.in: Remove CVSOPT handling.
30151 * configure.in: Remove use of AC_REVISION.
30152 * iconvdata/Makefile (distribute): No need to filter out CVS.
30153 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30154 handling.
30155
30156 2011-11-16 Andreas Schwab <schwab@redhat.com>
30157
30158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30159 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30160 [USE_AS_STRNCASECMP_L]: Likewise.
30161 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30162 NO_TLS_DIRECT_SEG_REFS.
30163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30164 Fix argument offsets for non-PIC.
30165 [USE_AS_STRNCASECMP_L]: Likewise.
30166 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30167 NO_TLS_DIRECT_SEG_REFS.
30168
30169 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30170
30171 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30172 O_CLOEXEC.
30173 * locale/loadlocale.c (_nl_load_locale): Likewise.
30174
30175 2011-11-15 Andreas Schwab <schwab@redhat.com>
30176
30177 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30178 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30180 (SYSCALL_GETTIME): Set errno on error.
30181
30182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30183 count references to noai6ai_cached.
30184
30185 2011-11-15 Ulrich Drepper <drepper@gmail.com>
30186
30187 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30188
30189 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30190 FD_CLOEXEC for /proc/self/maps.
30191
30192 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30193 FD_CLOEXEC for /proc/meminfo.
30194
30195 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30196 gai.conf.
30197
30198 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30199 FD_CLOEXEC for given file.
30200
30201 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30202
30203 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30204 FD_CLOEXEC for /etc/hosts.
30205 (_gethtent): Likewise.
30206
30207 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30208
30209 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30210 cancellation and set FD_CLOEXEC for /etc/netgroup.
30211
30212 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30213 reading /etc/publickey.
30214
30215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30216 allow cancellation when reading /etc/group.
30217
30218 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30219 cancellation.
30220 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30221
30222 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30223 when using data file.
30224
30225 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30226
30227 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30228 (write_nis_obj): Use "c" and "e" in fopen.
30229
30230 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30231
30232 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30233
30234 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30235
30236 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30237
30238 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30239 locale.alias.
30240
30241 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30242
30243 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30244
30245 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30246
30247 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30248 file parsing and set FD_CLOEXEC.
30249
30250 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30251
30252 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30253
30254 2011-11-14 Andreas Schwab <schwab@redhat.com>
30255
30256 * malloc/arena.c (arena_get2): Don't call reused_arena when
30257 _int_new_arena failed.
30258
30259 2011-11-14 Ulrich Drepper <drepper@gmail.com>
30260
30261 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30262 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30263 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30264 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30266 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30267 to compile strcasecmp and strncasecmp.
30268 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30269 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30270
30271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30272
30273 2011-11-13 Ulrich Drepper <drepper@gmail.com>
30274
30275 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30276 locale-defines.sym to gen-as-const-headers.
30277 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30278 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30280 to compile strcasecmp and strncasecmp.
30281 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30282 strcasecmp_l and strncasecmp_l.
30283 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30284 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30285 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30286 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30287 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30288 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30289 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30290 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30291 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30292 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30293 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30294
30295 2011-11-12 Ulrich Drepper <drepper@gmail.com>
30296
30297 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30298 result of SYSDEP_GETTIME_CPU to retval.
30299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30300 parameter list to macro. Remove trailing semicolon. Adjust users.
30301
30302 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30303 variable.
30304
30305 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30306 mantissa words.
30307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30308
30309 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30310 from unused variable.
30311
30312 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30313 DWARF definitions.
30314 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30315 for assembling.
30316
30317 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30318 over namespaces.
30319
30320 * sunrpc/rpc_prot.c (rejected): Fix case value.
30321
30322 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30323 unsigned long long int to avoid warnings in shift.
30324
30325 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30326 of use of trans.
30327 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30328 variable tmp.
30329
30330 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30331 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30333
30334 * nis/nis_table.c (nis_list): Use variable of correct type for
30335 result of __follow_path call.
30336
30337 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30338
30339 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30340 of math functions ceil, trunc, floor, round, and sqrt, when
30341 avaliable on the platform.
30342 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30343 name clash.
30344 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30345 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30346 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30347
30348 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30349
30350 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30351 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30352
30353 2011-11-11 Roland McGrath <roland@hack.frob.com>
30354
30355 * include/unistd.h: Fix __readlink return type.
30356 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30357
30358 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30359
30360 * stdlib/ucontext.h: Undo last change for makecontext.
30361
30362 2011-11-11 Andreas Schwab <schwab@redhat.com>
30363
30364 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30365
30366 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30367 * setjmp/setjmp.h: Mark functions as non-leaf.
30368 * setjmp/bits/setjmp2.h: Likewise.
30369 * stdlib/ucontext.h: Likewise.
30370
30371 2011-11-10 Andreas Schwab <schwab@redhat.com>
30372
30373 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30374 (reused_arena): Don't check arena limit.
30375 (arena_get2): Atomically check arena limit.
30376
30377 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30378
30379 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30380 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30381
30382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30383 instructions.
30384
30385 2011-11-07 Andreas Schwab <schwab@redhat.com>
30386
30387 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30388 handler when locking.
30389
30390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30391 Fix size of allocated buffer.
30392
30393 2011-11-04 Andreas Schwab <schwab@redhat.com>
30394
30395 [BZ #10103]
30396 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30397 declarations for long double functions.
30398 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30399
30400 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30401
30402 2011-11-03 Andreas Schwab <schwab@redhat.com>
30403
30404 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30405 installed.
30406
30407 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30408 is disabled.
30409
30410 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30411
30412 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30413
30414 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30415
30416 * include/alloca.h (stackinfo_alloca_round): Define.
30417 (extend_alloca): Use it.
30418 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30419 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30420 here.
30421
30422 * scripts/check-local-headers.sh: Ignore libaudit.h.
30423
30424 * nscd/Makefile (extra-objs): Make recursively expanded.
30425
30426 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30427
30428 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30430
30431 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30432 * posix/tst-rfc3484-2.c: Likewise.
30433 * posix/tst-rfc3484-3.c: Likewise.
30434
30435 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30436 process_vm_writev.
30437 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30438 process_vm_writev.
30439 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30440 process_vm_writev from libc using GLIBC_2.15 version.
30441
30442 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30443
30444 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30445
30446 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30447 stack usage.
30448
30449 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30450
30451 [BZ #13367]
30452 * nss/getent.c (initgroups_keys): Show error message in case no group
30453 names are given.
30454
30455 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30456 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30457 __bump_nl_timestamp.
30458 * nscd/connections (nscd_init): When host database is served open
30459 netlink socket and request notification about configuration changes.
30460 (main_loop_poll): Track netlink file descriptor and bump timestamp
30461 in case data becomes available.
30462 (main_loop_epoll): Likewise.
30463 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30464 (database_pers_head): Add extra_data fileds.
30465 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30466 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30467 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30468 Adjust caller.
30469 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30470 in6ai data, call __free_in6ai.
30471 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30472 Add -DHAVE_NETLINK.
30473 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30474 interface information. Reuse previous data if netlink timestamp
30475 is not changed.
30476 (__bump_nl_timestamp): New function.
30477 (__free_in6ai): New function.
30478
30479 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30480
30481 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30482 close_not_cancel_no_status here.
30483 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30484
30485 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30486
30487 [BZ #13276]
30488 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30489 return value.
30490
30491 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30492 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30493 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30494
30495 2011-07-03 Andreas Jaeger <aj@suse.de>
30496
30497 [BZ #10709]
30498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30499 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30500 * math/libm-test.inc (sin_test): Add test case.
30501
30502 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30503
30504 [BZ #13337]
30505 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30507
30508 * elf/chroot_canon.c (chroot_canon): Cleanups.
30509
30510 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30511
30512 [BZ #13335]
30513 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30514 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30515
30516 * string/test-strchr.c: Make usable for strchrnul testing.
30517 * string/test-strchrnul.c: New file.
30518 * string/Makefile (strop-tests): Add strchrnul.
30519
30520 * po/it.po: Update from translation team.
30521 * po/es.po: Likewise.
30522
30523 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30524
30525 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30526 the three constants needed as parameters. Drop the others.
30527 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30528 __m128i_strloadu_tolower.
30529 Create and initialize variable zero and use it in all the places
30530 where _mm_setzero_si128 was used.
30531
30532 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30533 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30534 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30536 anymore.
30537 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30538 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30539 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30540 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30541 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30542 __mpranred, __mptan.
30543 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30544 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30545 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30546 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30547 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30548 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30550 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30551 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30552
30553 2011-10-28 Andreas Schwab <schwab@redhat.com>
30554
30555 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30556 redefine if SHARED.
30557 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30558
30559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30560 wide char related routines to wcsmbs subdir.
30561
30562 2011-10-27 Andreas Schwab <schwab@redhat.com>
30563
30564 [BZ #13344]
30565 * misc/sys/cdefs.h (__THROWNL): Define.
30566 * posix/unistd.h: Use __THREADNL instead of __THREAD
30567 for memory synchronization functions.
30568
30569 2011-10-26 Roland McGrath <roland@hack.frob.com>
30570
30571 [BZ #13349]
30572 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30573 doesn't exist.
30574 * manual/stdio.texi (Obstack Streams): Node removed.
30575
30576 2011-10-26 Andreas Schwab <schwab@redhat.com>
30577
30578 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30579 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30581
30582 * math/math_private.h (math_force_eval): Allow non-addressable
30583 arguments.
30584 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30585
30586 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30587
30588 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30589 file is not needed.
30590
30591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30592 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30594 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30595 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30598 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30599 Add AVX variants.
30600 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30601 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30602 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30603 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30604 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30605 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30606 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30607 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30608 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30609 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30610 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30611 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30613 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30614 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30615 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30616 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30617 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30618 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30619
30620 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30621 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30622
30623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30624 place. Use VEX encoding when compiling for AVX.
30625
30626 2011-10-25 Andreas Schwab <schwab@redhat.com>
30627
30628 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30629 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30630
30631 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30632
30633 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30634
30635 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30636 useless if() expression.
30637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30650 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30655 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30656
30657 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30658
30659 2011-10-25 Andreas Schwab <schwab@redhat.com>
30660
30661 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30662 condition.
30663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30664
30665 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30666
30667 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30668 .text section. Avoid duplicate constants.
30669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30678 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30679 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30680 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30681 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30682 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30683 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30684 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30685 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30686 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30689 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30690 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30693 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30694 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30695 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30696 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30697 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30698 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30699 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30700 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30701 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30702 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30703 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30704 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30705 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30706 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30707 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30708 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30709 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30710 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30711 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30712 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30713 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30714
30715 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30716
30717 * sysdeps/x86_64/dla.h: Move to ...
30718 * sysdeps/x86_64/fpu/dla.h: ...here.
30719 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30720 situations. Use __builtin_fma only for gcc 4.6 and up.
30721
30722 * config.make.in: Add have-mfma4 entry.
30723 * configure.in: Substitute libc_cv_cc_fma4.
30724 * math/Makefile (dbl-only-routines): Add sincostab.
30725 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30726 Use __sincostab not sincos.
30727 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30728 name is a macro.
30729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30733 using __copysign.
30734 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30735 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30736 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30737 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30738 and __inv.
30739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30740 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30741 __copysign.
30742 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30743 define aliases when function name is a macro.
30744 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30745 sysdeps/ieee754/dbl-64/sincos.tbl.
30746 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30747 fma4-enabled routines.
30748 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30749 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30750 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30751 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30752 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30754 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30755 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30756 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30757 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30758 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30759 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30760 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30763 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30764 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30765 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30766 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30768 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30769 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30775 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30776 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30777 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30778
30779 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30780 rename.
30781 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30789
30790 2011-10-24 Andreas Schwab <schwab@redhat.com>
30791
30792 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30793
30794 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30795
30796 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30797
30798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30799 prediction.
30800 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30801
30802 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30803 Remove unused variable magic_bits.
30804 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30805
30806 * string/strnlen.c: Define and use STRNLEN macro.
30807 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30808 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30809 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30810 * wcsmbs/wcslen.c: Define and use WCSLEN.
30811 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30812 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30813 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30814 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30815 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30816 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30817 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30818
30819 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30820
30821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30822 strnlen-sse2-no-bsf.
30823 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30825 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30826 Add strnlen support.
30827 (USE_AS_STRNLEN): New macro.
30828 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30829 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30830 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30831 * sysdeps/x86_64/wcslen.S: New file.
30832
30833 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30834
30835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30836 XMM-moves are used for copying on small sizes.
30837
30838 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30839
30840 * wcsmbs/Makefile (strop-tests): Add wcschr.
30841 * wcsmbs/test-wcschr.c: New file.
30842 * string/test-strchr.c: Update.
30843 Add wcschr support.
30844 (WIDE): New macro.
30845
30846 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30847
30848 * wcsmbs/Makefile (strop-tests): Add wcslen.
30849 * wcsmbs/test-wcslen.c: New file.
30850 * string/test-strlen.c: Update.
30851 Add wcslen support.
30852 (WIDE): New macro.
30853
30854 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30855
30856 * po/it.po: Update from translation team.
30857
30858 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30859
30860 * sysdeps/x86_64/wcscmp.S: Update.
30861 Fix wrong comparison semantics.
30862 wcscmp shall use signed comparison not unsigned.
30863 Don't use substraction to avoid overflow bug.
30864 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30865 * wcsmbc/wcscmp.c: Likewise.
30866 * string/test-strcmp.c: Likewise.
30867 Add new tests to check cases with negative values.
30868
30869 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30870
30871 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30872 * sysdeps/x86_64/dla.h: ...here. New file.
30873 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30882
30883 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30884
30885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30886 __ynl_finite aliases.
30887
30888 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30889
30890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30891
30892 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30893 define DLA_FMA.
30894 [DLA_FMA] (EMULV): Use DLA_FMA.
30895 [DLA_FMA] (MUL12): Use EMULV.
30896 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30897 that are not needed.
30898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30905
30906 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30907
30908 * math/s_nan.c: Undef __nan.
30909 * math/s_nanf.c: Undef __nanf.
30910 * math/s_nanl.c: Undef __nanl.
30911 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30912 "math_private.h".
30913
30914 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30915
30916 * math/s_catan.c: Add branch predictions.
30917 * math/s_catanf.c: Likewise.
30918 * math/s_catanh.c: Likewise.
30919 * math/s_catanhf.c: Likewise.
30920 * math/s_catanhl.c: Likewise.
30921 * math/s_catanl.c: Likewise.
30922 * math/s_cexp.c: Likewise.
30923 * math/s_cexpf.c: Likewise.
30924 * math/s_cexpl.c: Likewise.
30925 * math/s_clog.c: Likewise.
30926 * math/s_clog10.c: Likewise.
30927 * math/s_clog10f.c: Likewise.
30928 * math/s_clog10l.c: Likewise.
30929 * math/s_clogf.c: Likewise.
30930 * math/s_clogl.c: Likewise.
30931 * math/s_csqrt.c: Likewise.
30932 * math/s_csqrtf.c: Likewise.
30933 * math/s_csqrtl.c: Likewise.
30934 * math/s_ctanf.c: Likewise.
30935 * math/s_ctanh.c: Likewise.
30936 * math/s_ctanhf.c: Likewise.
30937 * math/s_ctanhl.c: Likewise.
30938 * math/s_ctanl.c: Likewise.
30939
30940 * math/math_private.h: Define __nan, __nanf, __nanl.
30941 * math/s_cacosh.c: Include <math_private.h>.
30942 * math/s_cacoshl.c: Likewise.
30943 * math/s_casinh.c: Likewise.
30944 * math/s_casinhf.c: Likewise.
30945 * math/s_casinhl.c: Likewise.
30946 * math/s_ccos.c: Rely entire on ccosh.
30947 * math/s_ccosf.c: Rely entire on ccoshf.
30948 * math/s_ccosl.c: Rely entirely on ccoshl.
30949 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30950 Remove tests for FE_INVALID.
30951 * math/s_ccoshf.c: Likewise.
30952 * math/s_ccoshl.c: Likewise.
30953 * math/s_csin.c: Likewise.
30954 * math/s_csinf.c: Likewise.
30955 * math/s_csinh.c Likewise.
30956 * math/s_csinhf.c: Likewise.
30957 * math/s_csinhl.c: Likewise.
30958 * math/s_csinl.c: Likewise.
30959 * math/s_ctan.c: Likewise.
30960 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30961 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30962 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30963
30964 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30965
30966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30967 compilation problems.
30968
30969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30970 __builtin_expect.
30971
30972 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30973
30974 * sysdeps/i386/configure.in: Test for -mfma4 option.
30975 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30976 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30977 COMMON_CPUID_INDEX_80000001.
30978 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30979 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30980 use it if FMA3 is not supported.
30981 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30982
30983 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30984 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30985
30986 2011-10-20 Andreas Schwab <schwab@redhat.com>
30987
30988 [BZ #12892]
30989 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30990 it would create a cycle with a link time dependency.
30991
30992 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30993
30994 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30995 instruction.
30996 * string/Makefile (strop-tests): Add rawmemchr.
30997 * string/test-rawmemchr.c: New file.
30998
30999 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31001 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31002 when compiling str{,n}casecmp and when AVX is available. Hook up
31003 new optimized code in initializers.
31004
31005 2011-10-19 Andreas Schwab <schwab@redhat.com>
31006
31007 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31008 __feraiseexcept instead of feraiseexcept.
31009
31010 2011-10-18 Ulrich Drepper <drepper@gmail.com>
31011
31012 * math/math_private.h: Define defaults for libc_fetestexcept and
31013 libc_feupdateenv.
31014 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31015 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31016 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31017 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31018 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31019 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31020 libc_fetestexcept and libc_feupdateenv.
31021
31022 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31023 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31024 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31025 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31026 libc_feholdexcept_setround.
31027
31028 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31029 Add s_nearbyint-c and s_nearbyintf-c.
31030 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31031 nearbyintf inlines.
31032 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31033 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31034 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31036
31037 * math/math_private.h: Define defaults for libc_fegetround,
31038 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31039 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31040 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31042 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31043 standard functions.
31044 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31045 Remove comments and hacks for old compiler versions.
31046 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31047 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31048 libc_feholdexceptl.
31049
31050 2011-10-18 Andreas Schwab <schwab@redhat.com>
31051
31052 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31053 (__feraiseexcept_renamed): Add __NTH.
31054 (feraiseexcept): Add __NTH. Rename local variables to fix
31055 namespace violations.
31056
31057 2011-10-17 Ulrich Drepper <drepper@gmail.com>
31058
31059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31060
31061 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31062
31063 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31064 recently added interfaces.
31065 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31066
31067 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31068 about macro parameter expansion.
31069
31070 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31071 __NO_MATH_INLINES is defined. Cleanups.
31072
31073 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31074 and __floorf is target has SSE4.1.
31075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31076 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31077 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31078 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31079
31080 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31081 name.
31082 (floorf): Likewise.
31083
31084 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31085
31086 2011-10-17 Andreas Schwab <schwab@redhat.com>
31087
31088 * misc/sys/cdefs.h: Fix last change.
31089
31090 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31091 database lookup.
31092
31093 2011-10-16 Ulrich Drepper <drepper@gmail.com>
31094
31095 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31096
31097 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31103 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31106 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31107 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31108 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31109 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31110 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31111 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31112 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31114 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31115 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31116 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31117 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31118 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31119
31120 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31121 ceil, ceilf, floor, floorf.
31122
31123 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31124 Perform IRELATIVE relocations last.
31125
31126 * elf/do-rel.h: Add another parameter nrelative, replacing the
31127 local variable with the same name. Change name of the function
31128 to end in Rel or Rela (uppercase).
31129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31130 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31131 elf_dynamic_do_##reloc function.
31132
31133 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31134
31135 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31136 is sufficient, at least on modern CPUs.
31137
31138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31139
31140 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31141 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31142
31143 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31144 __expl_finite.
31145 * math/bits/math-finite.h: Add entries for exp.
31146 * math/e_expl.c: Add __*_finite alias.
31147 * sysdeps/i386/fpu/e_exp.S: Likewise.
31148 * sysdeps/i386/fpu/e_expf.S: Likewise.
31149 * sysdeps/i386/fpu/e_expl.c: Likewise.
31150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31151 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31152 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31154 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31155 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31156 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31157
31158 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31159 is sufficient, at least on modern CPUs.
31160
31161 * ctype/ctype-info.c (__ctype_init): Define.
31162 * include/ctype.h (__ctype_init): Declare.
31163 (__ctype_b_loc): The variable is always initialized.
31164 (__ctype_toupper_loc): Likewise.
31165 (__ctype_tolower_loc): Likewise.
31166 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31167 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31168
31169 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31170
31171 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31172
31173 * configure.in: Also look in $cxxmachine/include for C++ system
31174 headers.
31175
31176 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31177
31178 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31179 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31180 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31181 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31182 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31183 (USE_AS_WMEMCMP): New macro.
31184 Fixing indents.
31185 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31186 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31187 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31188 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31190 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31191 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31192 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31193 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31194 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31195 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31196 (USE_AS_WMEMCMP): New macro.
31197 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31198 * sysdeps/string/test-memcmp.c: Update.
31199 Fix simple_wmemcmp.
31200 Add new tests.
31201 * wcsmbs/wmemcmp.c: Update.
31202 (WMEMCMP): New macro.
31203 Fix overflow bug.
31204
31205 2011-10-12 Andreas Jaeger <aj@suse.de>
31206
31207 [BZ #13268]
31208 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31209
31210 2011-10-15 Ulrich Drepper <drepper@gmail.com>
31211
31212 * libio/iofwide.c (do_length): Avoid warning.
31213
31214 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31215
31216 2011-10-14 Ulrich Drepper <drepper@gmail.com>
31217
31218 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31219
31220 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31221 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31222 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31223 * sysdeps/i386/i686/fpu/e_log.S: New file.
31224 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31225 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31226
31227 * ctype/ctype.h: Add support for inlined isXXX functions when
31228 compiling C++ code.
31229
31230 2011-10-14 Andreas Schwab <schwab@redhat.com>
31231
31232 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31233
31234 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31235
31236 2011-10-13 Roland McGrath <roland@hack.frob.com>
31237
31238 [BZ #13291]
31239 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31240
31241 2011-10-13 Andreas Schwab <schwab@redhat.com>
31242
31243 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31244 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31245 feraiseexcept.
31246
31247 * sysdeps/x86_64/memrchr.S: Check for zero size.
31248
31249 * string/stratcliff.c: Add memrchr tests.
31250
31251 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31252
31253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31254 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31255 rawmemchr-sse2 rawmemchr-sse2-bsf.
31256 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31257 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31258 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31259 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31260 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31261 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31262 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31263 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31264 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31265 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31266 * string/memrchr.c (MEMRCHR): New macro.
31267
31268 2011-10-12 Ulrich Drepper <drepper@gmail.com>
31269
31270 Add integration with gcc's -ffinite-math-only and optimize wrapper
31271 functions in libm.
31272 * Versions.def: Define GLIBC_2.15 version for libm.
31273 * math/Makefile (headers): Add bits/math-finite.h.
31274 * math/bits/math-finite.h: New file.
31275 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31276 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31277 * math/e_acoshl.c: Add __*_finite alias.
31278 * math/e_acosl.c: Likewise.
31279 * math/e_asinl.c: Likewise.
31280 * math/e_atan2l.c: Likewise.
31281 * math/e_atanhl.c: Likewise.
31282 * math/e_coshl.c: Likewise.
31283 * math/e_exp10.c: Likewise.
31284 * math/e_exp10f.c: Likewise.
31285 * math/e_exp10l.c: Likewise.
31286 * math/e_exp2l.c: Likewise.
31287 * math/e_fmodl.c: Likewise.
31288 * math/e_gammal_r.c: Likewise.
31289 * math/e_hypotl.c: Likewise.
31290 * math/e_j0l.c: Likewise.
31291 * math/e_j1l.c: Likewise.
31292 * math/e_jnl.c: Likewise.
31293 * math/e_lgammal_r.c: Likewise.
31294 * math/e_log10l.c: Likewise.
31295 * math/e_log2l.c: Likewise.
31296 * math/e_logl.c: Likewise.
31297 * math/e_powl.c: Likewise.
31298 * math/e_sinhl.c: Likewise.
31299 * math/e_sqrtl.c: Likewise.
31300 * math/e_scalb.c: Completely rewritten and optimized.
31301 * math/e_scalbf.c: Likewise.
31302 * math/e_scalbl.c: Likewise.
31303 * math/w_acos.c: Likewise.
31304 * math/w_acosf.c: Likewise.
31305 * math/w_acosl.c: Likewise.
31306 * math/w_acosh.c: Likewise.
31307 * math/w_acoshf.c: Likewise.
31308 * math/w_acoshl.c: Likewise.
31309 * math/w_asin.c: Likewise.
31310 * math/w_asinf.c: Likewise.
31311 * math/w_asinl.c: Likewise.
31312 * math/w_atan2.c: Likewise.
31313 * math/w_atan2f.c: Likewise.
31314 * math/w_atan2l.c: Likewise.
31315 * math/w_atanh.c: Likewise.
31316 * math/w_atanhf.c: Likewise.
31317 * math/w_atanhl.c: Likewise.
31318 * math/w_exp10.c: Likewise.
31319 * math/w_exp10f.c: Likewise.
31320 * math/w_exp10l.c: Likewise.
31321 * math/w_fmod.c: Likewise.
31322 * math/w_fmodf.c: Likewise.
31323 * math/w_fmodl.c: Likewise.
31324 * math/w_j0.c: Likewise.
31325 * math/w_j0f.c: Likewise.
31326 * math/w_j0l.c: Likewise.
31327 * math/w_j1.c: Likewise.
31328 * math/w_j1f.c: Likewise.
31329 * math/w_j1l.c: Likewise.
31330 * math/w_jn.c: Likewise.
31331 * math/w_jnf.c: Likewise.
31332 * math/w_log.c: Likewise.
31333 * math/w_logf.c: Likewise.
31334 * math/w_logl.c: Likewise.
31335 * math/w_log10.c: Likewise.
31336 * math/w_log10f.c: Likewise.
31337 * math/w_log10l.c: Likewise.
31338 * math/w_log2.c: Likewise.
31339 * math/w_log2f.c: Likewise.
31340 * math/w_log2l.c: Likewise.
31341 * math/w_pow.c: Likewise.
31342 * math/w_powf.c: Likewise.
31343 * math/w_powl.c: Likewise.
31344 * math/w_remainder.c: Likewise.
31345 * math/w_remainderf.c: Likewise.
31346 * math/w_remainderl.c: Likewise.
31347 * math/w_scalb.c: Likewise.
31348 * math/w_scalbf.c: Likewise.
31349 * math/w_scalbl.c: Likewise.
31350 * math/w_sqrt.c: Likewise.
31351 * math/w_sqrtf.c: Likewise.
31352 * math/w_sqrtl.c: Likewise.
31353 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31354 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31355 used.
31356 * math/math_private.h: Declare __kernel_standard_f.
31357 * math/w_cosh.c: Remove cruft and optimize a bit.
31358 * math/w_coshf.c: Likewise.
31359 * math/w_coshl.c: Likewise.
31360 * math/w_exp2.c: Likewise.
31361 * math/w_exp2f.c: Likewise.
31362 * math/w_exp2l.c: Likewise.
31363 * math/w_hypot.c: Likewise.
31364 * math/w_hypotf.c: Likewise.
31365 * math/w_hypotl.c: Likewise.
31366 * math/w_lgamma.c: Likewise.
31367 * math/w_lgamma_r.c: Likewise.
31368 * math/w_lgammaf.c: Likewise.
31369 * math/w_lgammaf_r.c: Likewise.
31370 * math/w_lgammal.c: Likewise.
31371 * math/w_lgammal_r.c: Likewise.
31372 * math/w_sinh.c: Likewise.
31373 * math/w_sinhf.c: Likewise.
31374 * math/w_sinhl.c: Likewise.
31375 * math/w_tgamma.c: Likewise.
31376 * math/w_tgammaf.c: Likewise.
31377 * math/w_tgammal.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31379 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31380 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31381 Minor optimizations. Pretty printing. Remove cruft.
31382 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31384 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31386 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31387 * sysdeps/i386/fpu/e_asin.S: Likewise.
31388 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31389 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31390 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31391 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31394 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31395 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31396 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31397 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31398 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31399 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31400 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31401 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31402 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31403 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31404 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31405 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31406 * sysdeps/i386/fpu/e_log.S: Likewise.
31407 * sysdeps/i386/fpu/e_log10.S: Likewise.
31408 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31409 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31410 * sysdeps/i386/fpu/e_log2.S: Likewise.
31411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31412 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31413 * sysdeps/i386/fpu/e_logf.S: Likewise.
31414 * sysdeps/i386/fpu/e_logl.S: Likewise.
31415 * sysdeps/i386/fpu/e_pow.S: Likewise.
31416 * sysdeps/i386/fpu/e_powf.S: Likewise.
31417 * sysdeps/i386/fpu/e_powl.S: Likewise.
31418 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31419 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31420 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31422 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31424 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31425 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31426 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31427 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31428 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31430 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31431 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31432 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31433 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31434 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31435 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31437 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31438 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31440 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31441 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31443 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31444 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31447 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31448 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31449 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31450 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31451 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31452 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31453 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31454 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31455 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31456 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31457 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31458 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31459 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31460 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31461 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31462 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31463 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31464 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31465 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31466 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31467 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31468 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31469 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31470 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31472 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31473 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31474 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31475 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31476 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31477 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31483 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31484 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31487 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31491 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31503 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31509 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31518 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31520 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31524 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31525 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31526 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31527 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31528 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31529 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31530 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31533 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31535 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31536 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31537 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31538 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31539 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31540 (__isnanf): Likewise.
31541 (__isinf_ns): Likewise.
31542 (__isinf_nsf): Likewise.
31543 (__finite): Likewise.
31544 (__finitef): Likewise.
31545 (__ieee754_sqrt): Define as macro.
31546 (__ieee754_sqrtf): Define as macro.
31547 (__ieee754_sqrtl): Define as macro.
31548 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31549 inlined copy.
31550 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31551 __FINITE_MATH_ONLY__ consistent.
31552 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31553
31554 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31555
31556 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31557 of rawmemchr.
31558
31559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31560
31561 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31562
31563 * po/ja.po: Update from translation team.
31564
31565 2011-10-08 Roland McGrath <roland@hack.frob.com>
31566
31567 * locale/programs/locarchive.c (prepare_address_space): New function.
31568 (create_archive, enlarge_archive, open_archive): Use it.
31569
31570 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31571 inside [SHARED], where it is used.
31572
31573 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31574
31575 * nss/getent.c (netgroup_keys): Remove unused variable.
31576 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31577
31578 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31579
31580 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31584 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31585 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31586 * math/Makefile (libm-calls): Add s_isinf_ns.
31587 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31588 * math/multc3.c: Likewise.
31589 * math/s_casin.c: Likewise.
31590 * math/s_casinf.c: Likewise.
31591 * math/s_casinl.c: Likewise.
31592 * math/s_ccos.c: Likewise.
31593 * math/s_ccosf.c: Likewise.
31594 * math/s_ccosl.c: Likewise.
31595 * math/s_ctan.c: Likewise.
31596 * math/s_ctanf.c: Likewise.
31597 * math/s_ctanh.c: Likewise.
31598 * math/s_ctanhf.c: Likewise.
31599 * math/s_ctanhl.c: Likewise.
31600 * math/s_ctanl.c: Likewise.
31601 * math/w_fmod.c: Likewise.
31602 * math/w_fmodf.c: Likewise.
31603 * math/w_fmodl.c: Likewise.
31604 * math/w_remainder.c: Likewise.
31605 * math/w_remainderf.c: Likewise.
31606 * math/w_remainderl.c: Likewise.
31607 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31608 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31611 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31612 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31613 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31614 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31615
31616 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31617 of the number.
31618 * stdio-common/printf_fphex.c: Likewise.
31619 * stdio-common/printf_size.c: Likewise.
31620
31621 * math/e_exp10.c: Include math_private.h using <...> not "...".
31622 * math/e_exp10f.c: Likewise.
31623 * math/e_exp10l.c: Likewise.
31624 * math/e_exp2l.c: Likewise.
31625 * math/e_j0l.c: Likewise.
31626 * math/e_j1l.c: Likewise.
31627 * math/e_jnl.c: Likewise.
31628 * math/e_lgammal_r.c: Likewise.
31629 * math/e_rem_pio2l.c: Likewise.
31630 * math/e_scalb.c: Likewise.
31631 * math/e_scalbf.c: Likewise.
31632 * math/e_scalbl.c: Likewise.
31633 * math/k_cosl.c: Likewise.
31634 * math/k_sinl.c: Likewise.
31635 * math/k_tanl.c: Likewise.
31636 * math/s_cacoshf.c: Likewise.
31637 * math/s_catan.c: Likewise.
31638 * math/s_catanf.c: Likewise.
31639 * math/s_catanh.c: Likewise.
31640 * math/s_catanhf.c: Likewise.
31641 * math/s_catanhl.c: Likewise.
31642 * math/s_catanl.c: Likewise.
31643 * math/s_ccosh.c: Likewise.
31644 * math/s_ccoshf.c: Likewise.
31645 * math/s_ccoshl.c: Likewise.
31646 * math/s_cexp.c: Likewise.
31647 * math/s_cexpf.c: Likewise.
31648 * math/s_cexpl.c: Likewise.
31649 * math/s_clog.c: Likewise.
31650 * math/s_clog10.c: Likewise.
31651 * math/s_clog10f.c: Likewise.
31652 * math/s_clog10l.c: Likewise.
31653 * math/s_clogf.c: Likewise.
31654 * math/s_clogl.c: Likewise.
31655 * math/s_csin.c: Likewise.
31656 * math/s_csinf.c: Likewise.
31657 * math/s_csinh.c: Likewise.
31658 * math/s_csinhf.c: Likewise.
31659 * math/s_csinhl.c: Likewise.
31660 * math/s_csinl.c: Likewise.
31661 * math/s_csqrt.c: Likewise.
31662 * math/s_csqrtf.c: Likewise.
31663 * math/s_csqrtl.c: Likewise.
31664 * math/s_ctan.c: Likewise.
31665 * math/s_ctanf.c: Likewise.
31666 * math/s_ctanh.c: Likewise.
31667 * math/s_ctanhf.c: Likewise.
31668 * math/s_ctanhl.c: Likewise.
31669 * math/s_ctanl.c: Likewise.
31670 * math/s_ldexp.c: Likewise.
31671 * math/s_ldexpf.c: Likewise.
31672 * math/s_ldexpl.c: Likewise.
31673 * math/s_significand.c: Likewise.
31674 * math/s_significandf.c: Likewise.
31675 * math/s_significandl.c: Likewise.
31676 * math/w_acos.c: Likewise.
31677 * math/w_acosf.c: Likewise.
31678 * math/w_acosh.c: Likewise.
31679 * math/w_acoshf.c: Likewise.
31680 * math/w_acoshl.c: Likewise.
31681 * math/w_acosl.c: Likewise.
31682 * math/w_asin.c: Likewise.
31683 * math/w_asinf.c: Likewise.
31684 * math/w_asinl.c: Likewise.
31685 * math/w_atan2.c: Likewise.
31686 * math/w_atan2f.c: Likewise.
31687 * math/w_atan2l.c: Likewise.
31688 * math/w_atanh.c: Likewise.
31689 * math/w_atanhf.c: Likewise.
31690 * math/w_atanhl.c: Likewise.
31691 * math/w_cosh.c: Likewise.
31692 * math/w_coshf.c: Likewise.
31693 * math/w_coshl.c: Likewise.
31694 * math/w_dremf.c: Likewise.
31695 * math/w_exp10.c: Likewise.
31696 * math/w_exp10f.c: Likewise.
31697 * math/w_exp10l.c: Likewise.
31698 * math/w_exp2.c: Likewise.
31699 * math/w_exp2f.c: Likewise.
31700 * math/w_fmod.c: Likewise.
31701 * math/w_fmodf.c: Likewise.
31702 * math/w_fmodl.c: Likewise.
31703 * math/w_hypot.c: Likewise.
31704 * math/w_hypotf.c: Likewise.
31705 * math/w_hypotl.c: Likewise.
31706 * math/w_j0.c: Likewise.
31707 * math/w_j0f.c: Likewise.
31708 * math/w_j0l.c: Likewise.
31709 * math/w_j1.c: Likewise.
31710 * math/w_j1f.c: Likewise.
31711 * math/w_j1l.c: Likewise.
31712 * math/w_jn.c: Likewise.
31713 * math/w_jnf.c: Likewise.
31714 * math/w_jnl.c: Likewise.
31715 * math/w_lgamma.c: Likewise.
31716 * math/w_lgamma_r.c: Likewise.
31717 * math/w_lgammaf.c: Likewise.
31718 * math/w_lgammaf_r.c: Likewise.
31719 * math/w_lgammal.c: Likewise.
31720 * math/w_lgammal_r.c: Likewise.
31721 * math/w_log.c: Likewise.
31722 * math/w_log10.c: Likewise.
31723 * math/w_log10f.c: Likewise.
31724 * math/w_log10l.c: Likewise.
31725 * math/w_log2.c: Likewise.
31726 * math/w_log2f.c: Likewise.
31727 * math/w_log2l.c: Likewise.
31728 * math/w_logf.c: Likewise.
31729 * math/w_logl.c: Likewise.
31730 * math/w_pow.c: Likewise.
31731 * math/w_powf.c: Likewise.
31732 * math/w_powl.c: Likewise.
31733 * math/w_remainder.c: Likewise.
31734 * math/w_remainderf.c: Likewise.
31735 * math/w_remainderl.c: Likewise.
31736 * math/w_scalb.c: Likewise.
31737 * math/w_scalbf.c: Likewise.
31738 * math/w_scalbl.c: Likewise.
31739 * math/w_sinh.c: Likewise.
31740 * math/w_sinhf.c: Likewise.
31741 * math/w_sinhl.c: Likewise.
31742 * math/w_sqrt.c: Likewise.
31743 * math/w_sqrtf.c: Likewise.
31744 * math/w_sqrtl.c: Likewise.
31745 * math/w_tgamma.c: Likewise.
31746 * math/w_tgammaf.c: Likewise.
31747 * math/w_tgammal.c: Likewise.
31748
31749 * po/ja.po: Update from translation team.
31750
31751 2011-09-29 Andreas Jaeger <aj@suse.de>
31752
31753 [BZ #13179]
31754 * sunrpc/netname.c (netname2host): Fix logic.
31755
31756 [BZ #6779]
31757 [BZ #6783]
31758 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31759 correctly.
31760 * math/w_remainder.c (__remainder): Likewise.
31761 * math/w_remainderf.c (__remainderf): Likewise.
31762 * math/libm-test.inc (remainder_test): Add test cases.
31763
31764 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31765
31766 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31767 sdiv_qrnnd.
31768
31769 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31770
31771 * string/test-memcmp.c: Avoid unncessary #defines.
31772 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31773
31774 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31775
31776 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31777 Use new sse2 version for core i3 - i7 as it's faster
31778 than sse42 version.
31779 (bit_Prefer_PMINUB_for_stringop): New.
31780 * sysdeps/x86_64/rawmemchr.S: Update.
31781 Replace with faster SSE2 version.
31782 * sysdeps/x86_64/memrchr.S: New file.
31783 * sysdeps/x86_64/memchr.S: Update.
31784 Replace with faster SSE2 version.
31785
31786 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31787
31788 * elf/dl-load.c (lose): Add cast to avoid warning.
31789
31790 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31791
31792 * po/ca.po: Update from translation team.
31793
31794 * inet/getnetgrent_r.c: Hook up nscd.
31795 * nscd/Makefile (routines): Add nscd_netgroup.
31796 (nscd-modules): Add netgroupcache.
31797 (CFLAGS-netgroupcache.c): Define.
31798 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31799 (cache_search): Add const to second parameter.
31800 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31801 INNETGR.
31802 (dbs): Add netgrdb entry.
31803 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31804 (verify_persistent_db): Handle netgrdb.
31805 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31806 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31807 GETFDNETGR.
31808 (netgroup_response_header): Define.
31809 (innetgroup_response_header): Define.
31810 (datahead): Add netgroup_response_header and innetgroup_response_header
31811 elements.
31812 * nscd/nscd.conf: Add entries for netgroup cache.
31813 * nscd/nscd.h (dbtype): Add netgrdb.
31814 (_PATH_NSCD_NETGROUP_DB): Define.
31815 (netgroup_iov_disabled): Declare.
31816 (xmalloc, xcalloc, xrealloc): Move declarations here.
31817 (cache_search): Adjust prototype.
31818 Add netgroup-related prototypes.
31819 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31820 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31821 (__nscd_innetgr): Declare.
31822 * nscd/selinux.c (perms): Use access_vector_t as element type and
31823 add netgroup-related initializers.
31824 * nscd/netgroupcache.c: New file.
31825 * nscd/nscd_netgroup.c: New file.
31826 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31827 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31828 For four parameters use innetgr.
31829 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31830 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31831 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31832 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31833
31834 * nscd/connections.c (register_traced_file): Don't register file
31835 for disabled databases.
31836
31837 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31838
31839 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31840
31841 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31842 from tree and freeing node.
31843
31844 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31845
31846 * nss/nsswitch.c (__nss_database_lookup): Handle
31847 nss_parse_service_list out of memory case.
31848
31849 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31850
31851 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31852 out of memory case.
31853
31854 2011-10-04 Andreas Schwab <schwab@redhat.com>
31855
31856 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31857 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31858 pass it down.
31859 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31860 elf_machine_rela, elf_machine_lazy_rel.
31861 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31862 (ELF_DYNAMIC_DO_REL): Likewise.
31863 (ELF_DYNAMIC_DO_RELA): Likewise.
31864 (ELF_DYNAMIC_RELOCATE): Likewise.
31865 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31866 to ELF_DYNAMIC_DO_REL.
31867 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31868 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31869 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31870 elf_machine_rela.
31871 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31872 skip_ifunc, don't call ifunc function if non-zero.
31873 (elf_machine_rela): Likewise.
31874 (elf_machine_lazy_rel): Likewise.
31875 (elf_machine_lazy_rela): Likewise.
31876 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31877 (elf_machine_lazy_rel): Likewise.
31878 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31879 Likewise.
31880 (elf_machine_lazy_rel): Likewise.
31881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31882 Likewise.
31883 (elf_machine_lazy_rel): Likewise.
31884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31885 (elf_machine_lazy_rel): Likewise.
31886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31887 (elf_machine_lazy_rel): Likewise.
31888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31889 (elf_machine_lazy_rel): Likewise.
31890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31891 (elf_machine_lazy_rel): Likewise.
31892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31893 (elf_machine_lazy_rel): Likewise.
31894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31895 (elf_machine_lazy_rel): Likewise.
31896
31897 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31898
31899 * nss/nss_files/files-init.c (_nss_files_init): Use static
31900 initialization for all the *_traced_file variables.
31901
31902 2011-09-28 Andreas Schwab <schwab@redhat.com>
31903
31904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31905
31906 2011-09-27 Roland McGrath <roland@hack.frob.com>
31907
31908 [BZ #13226]
31909 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31910
31911 2011-09-27 Andreas Schwab <schwab@redhat.com>
31912
31913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31914 Reread the line before reparsing it.
31915
31916 2011-09-26 Andreas Schwab <schwab@redhat.com>
31917
31918 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31919
31920 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31921 Maxim Kuvyrkov <maxim@codesourcery.com>
31922 Joseph Myers <joseph@codesourcery.com>
31923
31924 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31925 if needed for __stack_chk_guard.
31926
31927 2011-09-19 Roland McGrath <roland@hack.frob.com>
31928
31929 * sysdeps/posix/spawni.c (script_execute): Always define it.
31930 It will be optimized away if unused.
31931 (maybe_script_execute): New function.
31932 (__spawni): Call it.
31933
31934 * Makerules: Don't include tls.make.
31935 (config-tls): Always set to thread.
31936 * tls.make.c: File removed.
31937
31938 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31939
31940 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31941 * config.make.in (CPPFLAGS-config): New substituted variable.
31942
31943 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31944
31945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31946
31947 [BZ #13192]
31948 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31949 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31950
31951 2011-09-15 Roland McGrath <roland@hack.frob.com>
31952
31953 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31954 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31956 (CALL_FAIL): Likewise.
31957 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31958 (CALL_FAIL): Macro removed.
31959 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31960
31961 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31962
31963 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31964 for __FINITE_MATH_ONLY__ == 1.
31965
31966 2011-09-15 Andreas Schwab <schwab@redhat.com>
31967
31968 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31969 __ieee754_sqrt instead of sqrt.
31970 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31971 __ieee754_sqrtf instead of sqrtf.
31972 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31973 __floorf instead of floorf.
31974 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31975 __floorf, __truncf instead of floorf, truncf.
31976
31977 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31978
31979 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31980
31981 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31982 __extern_always_inline.
31983 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31984 32-bit.
31985
31986 2011-09-14 Andreas Schwab <schwab@redhat.com>
31987
31988 * elf/rtld.c (dl_main): Also relocate in dependency order when
31989 doing symbol dependency testing.
31990
31991 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31992
31993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31994 Always define `refsym'.
31995
31996 2011-09-13 Andreas Schwab <schwab@redhat.com>
31997
31998 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31999 (__FD_ELT): Renamed from __FDELT.
32000 * misc/bits/select2.h (__FD_ELT): Likewise.
32001 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32002 __FD_MASK instead of __FDELT, __FDMASK.
32003 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32004 Likewise.
32005 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32006 Likewise.
32007
32008 * elf/Makefile (gen-ldd): Fix pattern.
32009
32010 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32011 (init_tls): Likewise.
32012
32013 2011-09-12 Ulrich Drepper <drepper@gmail.com>
32014
32015 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32016
32017 2011-09-12 Andreas Schwab <schwab@redhat.com>
32018
32019 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32020 `struct cmsghdr *' instead of `void *'.
32021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32022 Likewise.
32023
32024 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32025
32026 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32027 if non-absolute.
32028 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32029 ldd_rewrite_script.
32030
32031 2011-09-11 Ulrich Drepper <drepper@gmail.com>
32032
32033 * configure.in: Remove --with-tls option.
32034 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32035 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32036 out in case it is missing.
32037 * sysdeps/ia64/elf/configure.in: Likewise.
32038 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32039 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32040 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32041 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32042 * sysdeps/sh/elf/configure.in: Likewise.
32043 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32044 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32045 * sysdeps/x86_64/elf/configure.in: Likewise.
32046 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32047 * sysdeps/mach/hurd/tls.h: Likewise.
32048
32049 [BZ #13067]
32050 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32051
32052 [BZ #13090]
32053 * configure.in: Fix use of AC_INIT.
32054
32055 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32056
32057 2011-09-10 Ulrich Drepper <drepper@gmail.com>
32058
32059 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32060 __set_errno.
32061 * malloc/hooks.c: Likewise.
32062
32063 [BZ #11929]
32064 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32065 variables statically.
32066 (narenas): Initialize.
32067 (list_lock): Initialize.
32068 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32069 initializtion of main_arena and list_lock. Small cleanups.
32070 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32071 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32072 Add initializers to main_arena and mp_.
32073 (malloc_state): Remove pagesize member. Change all users to use
32074 GLRO(dl_pagesize).
32075
32076 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32077 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32078 is always initialized.
32079
32080 * malloc/malloc.c: Removed unused configurations and dead code.
32081 * malloc/arena.c: Likewise.
32082 * malloc/hooks.c: Likewise.
32083 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32084
32085 * include/tls.h: Removed. USE___THREAD must always be defined.
32086 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32087 * elf/dl-libc.c: Likewise.
32088 * elf/dl-tsd.c: Likewise.
32089 * include/errno.h: Likewise.
32090 * include/netdb.h: Likewise.
32091 * include/resolv.h: Likewise.
32092 * inet/herrno-loc.c: Likewise.
32093 * inet/herrno.c: Likewise.
32094 * malloc/arena.c: Likewise.
32095 * malloc/hooks.c: Likewise.
32096 * malloc/malloc.c: Likewise.
32097 * resolv/res-state.c: Likewise.
32098 * resolv/res_libc.c: Likewise.
32099 * sysdeps/i386/dl-machine.h: Likewise.
32100 * sysdeps/ia64/dl-machine.h: Likewise.
32101 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32102 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32103 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32104 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32105 * sysdeps/sh/dl-machine.h: Likewise.
32106 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32107 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32108 * sysdeps/unix/i386/sysdep.S: Likewise.
32109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32110 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32115 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32117 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32120 * sysdeps/x86_64/dl-machine.h: Likewise.
32121 * tls.make.c: Likewise.
32122
32123 * configure.in: Remove --with-__thread option. Make tests for
32124 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32125 tls_model attribute fail if no support is available. Remove
32126 USE_IN_LIBIO.
32127 * Makeconfig: Adjust for dropped configure option. All features are
32128 now mandatory.
32129 * Makerules: Likewise.
32130 * Versions.def: Likewise.
32131 * argp/argp-fmtstream.c: Likewise.
32132 * argp/argp-fmtstream.h: Likewise.
32133 * argp/argp-help.c: Likewise.
32134 * assert/assert.c: Likewise.
32135 * config.h.in: Likewise.
32136 * config.make.in: Likewise.
32137 * configure: Likewise.
32138 * configure.in: Likewise.
32139 * csu/Versions: Likewise.
32140 * csu/init.c: Likewise.
32141 * elf/tst-audit2.c: Likewise.
32142 * elf/tst-tls10.c: Likewise.
32143 * elf/tst-tls10.h: Likewise.
32144 * elf/tst-tls11.c: Likewise.
32145 * elf/tst-tls12.c: Likewise.
32146 * elf/tst-tls14.c: Likewise.
32147 * elf/tst-tlsmod11.c: Likewise.
32148 * elf/tst-tlsmod12.c: Likewise.
32149 * elf/tst-tlsmod13.c: Likewise.
32150 * elf/tst-tlsmod13a.c: Likewise.
32151 * elf/tst-tlsmod14a.c: Likewise.
32152 * elf/tst-tlsmod15b.c: Likewise.
32153 * elf/tst-tlsmod16a.c: Likewise.
32154 * elf/tst-tlsmod16b.c: Likewise.
32155 * elf/tst-tlsmod7.c: Likewise.
32156 * elf/tst-tlsmod8.c: Likewise.
32157 * elf/tst-tlsmod9.c: Likewise.
32158 * gmon/gmon.c: Likewise.
32159 * grp/fgetgrent_r.c: Likewise.
32160 * grp/putgrent.c: Likewise.
32161 * hurd/fopenport.c: Likewise.
32162 * include/libc-symbols.h: Likewise.
32163 * include/tls.h: Likewise.
32164 * intl/gettextP.h: Likewise.
32165 * intl/loadinfo.h: Likewise.
32166 * locale/global-locale.c: Likewise.
32167 * locale/localeinfo.h: Likewise.
32168 * mach/devstream.c: Likewise.
32169 * malloc/arena.c: Likewise.
32170 * malloc/set-freeres.c: Likewise.
32171 * misc/err.c: Likewise.
32172 * misc/getttyent.c: Likewise.
32173 * misc/mntent_r.c: Likewise.
32174 * posix/getopt.c: Likewise.
32175 * posix/wordexp.c: Likewise.
32176 * pwd/fgetpwent_r.c: Likewise.
32177 * resolv/Versions: Likewise.
32178 * resolv/res_hconf.c: Likewise.
32179 * shadow/fgetspent_r.c: Likewise.
32180 * shadow/putspent.c: Likewise.
32181 * stdio-common/printf_fphex.c: Likewise.
32182 * stdio-common/tmpfile.c: Likewise.
32183 * stdlib/abort.c: Likewise.
32184 * stdlib/fmtmsg.c: Likewise.
32185 * sunrpc/auth_unix.c: Likewise.
32186 * sunrpc/clnt_perr.c: Likewise.
32187 * sunrpc/clnt_tcp.c: Likewise.
32188 * sunrpc/clnt_udp.c: Likewise.
32189 * sunrpc/clnt_unix.c: Likewise.
32190 * sunrpc/openchild.c: Likewise.
32191 * sunrpc/svc_simple.c: Likewise.
32192 * sunrpc/svc_tcp.c: Likewise.
32193 * sunrpc/svc_udp.c: Likewise.
32194 * sunrpc/svc_unix.c: Likewise.
32195 * sunrpc/xdr.c: Likewise.
32196 * sunrpc/xdr_array.c: Likewise.
32197 * sunrpc/xdr_rec.c: Likewise.
32198 * sunrpc/xdr_ref.c: Likewise.
32199 * sunrpc/xdr_stdio.c: Likewise.
32200
32201 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32202
32203 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32204
32205 2011-07-03 Andreas Jaeger <aj@suse.de>
32206
32207 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32208 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32209 regenerate with gen-libm-tests.pl.
32210
32211 2010-05-12 Petr Baudis <pasky@suse.cz>
32212
32213 [BZ #11589]
32214 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32215 around j0() zero points by switching to j1().
32216 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32220
32221 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32222
32223 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32224 instead of 0.
32225 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32226 instead of 0.
32227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32228 Patch in part by Pavel Roskin <proski@gnu.org>.
32229
32230 [BZ #13138]
32231 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32232 realloc.
32233 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32234 Free memory block if necessary.
32235
32236 [BZ #12847]
32237 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32238 be NULL. Don't lock in this case.
32239
32240 2011-09-09 Roland McGrath <roland@hack.frob.com>
32241
32242 * elf/elf.h (ELFOSABI_GNU): New macro.
32243 (ELFOSABI_LINUX): Define to that.
32244
32245 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32246
32247 * string/strncat.c (strncat): Undef the symbol in case it has been
32248 defined in bits/string.h.
32249
32250 2011-09-09 Ulrich Drepper <drepper@gmail.com>
32251
32252 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32253
32254 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32255 link map.
32256
32257 2011-08-17 Andreas Jaeger <aj@suse.de>
32258
32259 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32260
32261 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32262 Ian Lance Taylor <iant@google.com>
32263
32264 * math/libm-test.inc (lround_test): New testcase.
32265 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32266
32267 2011-09-08 Ulrich Drepper <drepper@gmail.com>
32268
32269 * Makefile: Remove support for automatic cvs check-ins.
32270 * Makerules: Likewise.
32271 * config.make.in: Likewise.
32272 * configure.in: Likewise.
32273 * intl/Makefile: Likewise.
32274 * locale/Makefile: Likewise.
32275 * po/Makefile: Likewise.
32276 * posix/Makefile: Likewise.
32277 * sysdeps/gnu/Makefile: Likewise.
32278 * sysdeps/mach/hurd/Makefile: Likewise.
32279 * sysdeps/sparc/sparc32/Makefile: Likewise.
32280
32281 [BZ #13118]
32282 * posix/Makefile (bug-regex32-ENV): Define.
32283 Patch by John Stanley <jpsinthemix@verizon.net>.
32284
32285 * misc/Makefile (headers): Add bits/select2.h.
32286 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32287 * misc/bits/select2.h: New file.
32288 * include/bits/select2.h: New file.
32289 * debug/Makefile (routines): Add fdelt_chk.
32290 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32291 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32292 FD_ISSET.
32293 * debug/fdelt_chk.c: New file.
32294
32295 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32296 * wcsmbs/test-wmemcmp.c: Likewise.
32297 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32298 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32299
32300 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32301
32302 * string/Makefile (strop-tests): Add memcmp.
32303 * string/test-wmemcmp.c: New file.
32304 * string/test-memcmp.c: Add wmemcmp support.
32305
32306 2011-09-08 Roland McGrath <roland@hack.frob.com>
32307
32308 [BZ #13153]
32309 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32310 2011-07-19 change.
32311
32312 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32313 garbage value in a __mach_port_mod_refs call in the cases of the
32314 task-self and thread-self ports.
32315
32316 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32317
32318 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32319
32320 2011-09-08 Andreas Schwab <schwab@redhat.com>
32321
32322 * elf/dl-load.c (lose): Check for non-null L.
32323
32324 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32325
32326 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32327
32328 * elf/dl-libc.c (dlerror_run): Pass back error code from
32329 dl_catch_error.
32330
32331 [BZ #13123]
32332 * elf/dl-load.c (lose): Free l_origin if it is valid.
32333
32334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32335 names.
32336 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32337 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32338 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32341 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32342
32343 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32344
32345 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32346 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32347 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32349 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32350 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32351 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32352 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32353 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32354 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32355
32356 2011-08-15 Alan Modra <amodra@gmail.com>
32357
32358 [BZ #13092]
32359 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32360 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32361 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32362 ppc_mcount to static-only-routines.
32363 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32364 __mcount_internal.
32365 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32366 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32367
32368 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32369
32370 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32371 for finite and infinity parameters.
32372
32373 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32374
32375 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32376 and add nop instructions for throughput optimization.
32377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32378
32379 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32380
32381 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32382 aligned copy for power7 with vector-scalar instructions.
32383 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32384
32385 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32386
32387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32388 AVX check.
32389
32390 2011-09-07 Andreas Schwab <schwab@redhat.com>
32391
32392 [BZ #13144]
32393 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32394 last change.
32395
32396 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32397
32398 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32399 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32400 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32401 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32402 clock_gettime.
32403
32404 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32405
32406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32407 Forgot to demangle the pointer.
32408
32409 * sysdeps/i386/sysdep.h: Define atom_text_section.
32410 * sysdeps/x86_64/sysdep.h: Likewise.
32411 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32412 section with atom_text_section.
32413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32415 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32417 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32418
32419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32421 already be defined. Change to take two parameters and don't assign
32422 result to variable. Adjust all users.
32423 Define INTERNAL_GETTIME if not already defined.
32424 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32425 call.
32426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32427 HAVE_CLOCK_GETTIME_VSYSCALL.
32428 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32429
32430 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32431 gettimeofday vsyscall, just use time.
32432
32433 2011-09-06 Andreas Schwab <schwab@redhat.com>
32434
32435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32436 <errno.h>.
32437
32438 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32439
32440 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32441 syscall on x86-64.
32442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32443 syscall.
32444 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32446 syscall if possible.
32447
32448 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32449
32450 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32451 e_ident. Don't pass to find_mapsXX.
32452 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32453
32454 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32455
32456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32457 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32458 * sysdeps/x86_64/multiarch/strchr.S: Update.
32459 Check bit_slow_BSF bit.
32460 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32461 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32462 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32463
32464 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32465
32466 [BZ #13134]
32467 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32468 before glibc 2.15.
32469 (tryshell): Define.
32470 (__spawni): Change last parameter to be flag. Test
32471 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32472 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32473 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32474 * posix/spawni.c: Likewise.
32475 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32476 * posix/spawnp.c: Likewise. Change normal version to use
32477 SPAWN_XFLAGS_USE_PATH.
32478 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32479 SPAWN_XFLAGS_TRY_SHELL.
32480
32481 [BZ #13150]
32482 * posix/glob.h: Remove gcc 1.x support.
32483
32484 [BZ #13068]
32485 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32486
32487 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32488
32489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32490 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32491 strrchr-sse2-bsf
32492 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32493 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32494 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32495 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32496 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32497 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32498
32499 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32500
32501 * sysdeps/x86_64/wcscmp.S: New file.
32502
32503 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32504 wcscmp-c wcscmp-sse2
32505 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32506 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32507 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32508 * wcsmbs/wcscmp.c: Allow renaming.
32509
32510 2011-09-05 David S. Miller <davem@davemloft.net>
32511
32512 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32513 stack slot, rather than the struct return pointer slot.
32514 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32515 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32517 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32518
32519 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32520
32521 * po/ja.po: Update from translation team.
32522
32523 [BZ #13144]
32524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32525 kernel in 64-bit binaries.
32526
32527 2011-09-01 David S. Miller <davem@davemloft.net>
32528
32529 * elf/elf.h (HWCAP_SPARC_*): Move to..
32530 * sysdeps/sparc/sysdep.h: this new file and add new values.
32531 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32532 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32533 _DL_HWCAP_COUNT to 24.
32534 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32535 entries.
32536 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32537 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32538 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32540 instead of magic constants.
32541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32542
32543 2011-08-31 David S. Miller <davem@davemloft.net>
32544
32545 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32547 Reimplement to do errno handling inline.
32548 (SYSCALL_ERROR_HANDLER): New macro.
32549 (__SYSCALL_STRING): Do not do errno handling in asm.
32550 (__CLONE_SYSCALL_STRING): Delete.
32551 (__INTERNAL_SYSCALL_STRING): Delete.
32552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32553 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32554 (PSEUDO): Reimplement to do errno handling inline.
32555 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32556 (SYSCALL_ERROR_HANDLER): New macro.
32557 (__SYSCALL_STRING): Do not do errno handling in asm.
32558 (__CLONE_SYSCALL_STRING): Delete.
32559 (__INTERNAL_SYSCALL_STRING): Delete.
32560 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32561 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32562 i386.
32563 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32564 (inline_syscall*): Add 'err' argument.
32565 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32566 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32567 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32568 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32569
32570 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32571 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32572
32573 2011-08-30 Andreas Schwab <schwab@redhat.com>
32574
32575 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32576
32577 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32578
32579 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32580 directive.
32581
32582 2011-08-24 David S. Miller <davem@davemloft.net>
32583
32584 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32585
32586 2011-08-24 Andreas Schwab <schwab@redhat.com>
32587
32588 * elf/Makefile: Add rules to build and run unload8 test.
32589 * elf/unload8.c: New file.
32590 * elf/unload8mod1.c: New file.
32591 * elf/unload8mod1x.c: New file.
32592 * elf/unload8mod2.c: New file.
32593 * elf/unload8mod3.c: New file.
32594
32595 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32596 it wasn't used.
32597
32598 2011-08-23 David S. Miller <davem@davemloft.net>
32599
32600 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32601 subtract stack bias.
32602 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32603 %sp not %fp in calculations.
32604 (_JMPBUF_UNWINDS_ADJ): Likewise.
32605
32606 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32607 (aio_suspend): Call it to force an exception region around the
32608 AIO_MISC_WAIT() invocation.
32609
32610 2011-08-23 Andreas Schwab <schwab@redhat.com>
32611
32612 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32613 backslash.
32614
32615 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32616
32617 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32618 protection macro.
32619 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32620 and <dl-machine.h>.
32621 (Elf64_FuncDesc): Remove.
32622
32623 2011-08-22 David S. Miller <davem@davemloft.net>
32624
32625 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32626 sigaltstack check, add missing cfi directives.
32627 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32628 missing cfi directives, and sigaltstack handling.
32629
32630 2011-08-16 Andreas Schwab <schwab@redhat.com>
32631
32632 [BZ #11724]
32633 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32634 object is seen twice.
32635 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32636
32637 * elf/Makefile (distribute): Add tst-initorder2.c.
32638 (tests): Add tst-initorder2.
32639 (modules-names): Add tst-initorder2a tst-initorder2b
32640 tst-initorder2c tst-initorder2d. Add rules to build them.
32641 ($(objpfx)tst-initorder2.out): New rule.
32642 * elf/tst-initorder2.c: New file.
32643 * elf/tst-initorder2.exp: New file.
32644
32645 2011-08-22 Andreas Schwab <schwab@redhat.com>
32646
32647 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32648
32649 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32650 dependencies back to end of function.
32651
32652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32653 $(elfobjdir)/ld.so.
32654
32655 2011-08-21 Ulrich Drepper <drepper@gmail.com>
32656
32657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32658 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32660 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32661 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32662 of __vdso_gettimeofday.
32663 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32664 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32665 attribute_hidden.
32666 (_libc_vdso_platform_setup): Remove initialization of
32667 __vdso_gettimeofday and __vdso_time.
32668
32669 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32670
32671 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32672 and fgetc_unlocked.
32673 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32674 getc_unlocked.
32675
32676 * elf/dl-open.c (add_to_global): Report additions to the global scope
32677 for LD_DEBUG=scopes.
32678 (dl_open_worker): Also print scope of newly loaded dependencies.
32679 (_dl_show_scope): Indicate if there is no scope.
32680
32681 [BZ #13114]
32682 * stdio-common/Makefile (tests): Add bug24.
32683 * stdio-common/bug24.c: New file.
32684
32685 2011-08-19 Andreas Jaeger <aj@suse.de>
32686
32687 [BZ #13114]
32688 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32689 non-existant file when using close-on-exec mode.
32690
32691 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32692
32693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32694 the very first instruction.
32695
32696 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32697 the CFI state in the end.
32698 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32699 inclusion of dl-trampoline.h.
32700 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32701
32702 2011-08-19 Andreas Schwab <schwab@redhat.com>
32703
32704 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32705 expectations for long double.
32706
32707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32708 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32709
32710 2011-08-14 David S. Miller <davem@davemloft.net>
32711
32712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32713 artificual limit depends upon the system page size.
32714
32715 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32716
32717 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32718 * resolv/Makefile: Define CFLAGS-libresolv.
32719
32720 2011-08-17 Andreas Schwab <schwab@redhat.com>
32721
32722 * nss/makedb.c (compute_tables): Make variables used in nested
32723 function static.
32724
32725 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32726
32727 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32728 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32729 if buffer was too small.
32730
32731 * elf/pldd.c (main): Attach to all threads in the process.
32732 Rewrite /proc handling to use *at functions.
32733
32734 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32735
32736 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32737 specifies first scope to show.
32738 (dl_open_worker): Update callers. Move printing scope of new
32739 object to before the relocation.
32740 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32741 * sysdeps/generic/ldsodefs.h: Update declaration.
32742
32743 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32744 string for the scope number.
32745
32746 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32747
32748 * nscd/servicescache.c (cache_addserv): Make sure written is always
32749 initialized.
32750
32751 2011-08-14 Roland McGrath <roland@hack.frob.com>
32752
32753 * sysdeps/i386/i486/bits/atomic.h
32754 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32755 statement expression, so as to suppress "set but not used" warning.
32756 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32757
32758 * string/strncat.c (STRNCAT): Use prototype definition.
32759
32760 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32761 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32762 -Iprograms here.
32763 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32764 (localedef-modules): Add localedef.
32765 (locale-modules): Add locale.
32766
32767 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32768 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32769 to avoid a warning.
32770
32771 2011-08-14 David S. Miller <davem@davemloft.net>
32772
32773 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32774 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32775
32776 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32777
32778 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32779 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32780 * elf/rtld.c (dl_main): Set l_name of vDSO.
32781 Call _dl_show_scope when DL_DEBUG_SCOPES.
32782 (process_dl_debug): Recognize scopes flag and also set it for all.
32783 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32784 Declare _dl_show_scope.
32785
32786 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32787 (do_dlopen): Pass caller_dlopen to dl_open.
32788 (__libc_dlopen_mode): Initialize caller_dlopen.
32789
32790 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32791 of libc. Make tolower call locale-independent. Optimize a bit by
32792 using isdigit instead of isalnum.
32793 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32794
32795 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32796
32797 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32798 was a dependency or dynamically loaded.
32799
32800 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32801
32802 * intl/l10nflist.c: Allow architecture-specific pop function.
32803 * sysdeps/x86_64/l10nflist.c: New file.
32804
32805 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32806 classification.
32807
32808 2011-08-10 Andreas Schwab <schwab@redhat.com>
32809
32810 * include/dirent.h: Add libc_hidden_proto for scandirat and
32811 scandirat64. Don't declare __scandirat64.
32812 * dirent/scandirat.c: Add libc_hidden_def.
32813 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32814 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32815
32816 2011-08-10 David S. Miller <davem@davemloft.net>
32817
32818 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32819 enum.
32820 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32823
32824 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32825
32826 * Versions.def [libc]: Add GLIBC_2.15.
32827 * dirent/Makefile (routines): Add scandirat and scandirat64.
32828 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32829 GLIBC_2.15.
32830 * dirent/dirent.h: Declare scandirat and scandirat64.
32831 * dirent/scandirat.c: New file.
32832 * dirent/scandirat64.c: New file.
32833 * sysdeps/wordsize-64/scandirat.c: New file.
32834 * sysdeps/wordsize-64/scandirat64.c: New file.
32835 * dirent/opendir.c: Define opendirat.
32836 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32837 using scandirat.
32838 * dirent/scandir64.c: Adjust for scandir.c change.
32839 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32840 __scandirat64, and __scandir_cancel_handler.
32841 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32842 additional parameter and use openat instead of open (outside of ld.so).
32843 Add new __opendir as wrapper around __opendirat.
32844 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32845 here without requiring old scandirat implementation.
32846
32847 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32848
32849 * dirent/scandir.c (cancel_handler): Renamed to
32850 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32851 defined. Adjust users.
32852 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32854
32855 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32856
32857 * string/test-string.h (IMPL): Use __STRING to expand name and then
32858 stringify it.
32859
32860 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32861 of cleanups.
32862
32863 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32864
32865 * string/Makefile: Update.
32866 (strop-tests): Append strncat.
32867 * string/test-wcscmp.c: New file.
32868 New comprehensive test for wcscmp.
32869 * string/test-strcmp.c: Update.
32870 (WIDE): New define.
32871
32872 2011-07-22 Andreas Schwab <schwab@redhat.com>
32873
32874 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32875 line.
32876
32877 2011-07-26 Andreas Schwab <schwab@redhat.com>
32878
32879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32880 encoding to ACE if AI_IDN.
32881
32882 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32883
32884 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32885 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32886
32887 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32888
32889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32890 Fix overflow bug in strncat.
32891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32892
32893 * string/test-strncat.c: Update.
32894 Add new tests for checking overflow bugs.
32895
32896 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32897
32898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32899 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32900 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32901 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32903 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32904 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32905 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32906 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32907
32908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32909 (USE_AS_STRCAT): Define.
32910 Add strcat and strncat support.
32911 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32912
32913 2011-07-25 Andreas Schwab <schwab@redhat.com>
32914
32915 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32916 __n bigger than INT_MAX+1.
32917 (__strncmp_g): Likewise.
32918
32919 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32920
32921 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32922 * libio/stido.h: Likewise.
32923
32924 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32925 (AF_NFC): Define.
32926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32927 (AF_NFC): Define.
32928
32929 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32932 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32934
32935 [BZ #13021]
32936 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32937 installed.
32938
32939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32940 typo.
32941 (_dl_x86_64_save_sse): Likewise.
32942
32943 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32944
32945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32946 OSXSAVE.
32947 (_dl_x86_64_save_sse): Likewise.
32948
32949 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32950
32951 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32952
32953 2011-07-21 Andreas Schwab <schwab@redhat.com>
32954
32955 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32956 change.
32957 (_dl_x86_64_save_sse): Use correct AVX check.
32958
32959 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32960
32961 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32962 bug in strncpy/strncat.
32963 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32964
32965 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32966
32967 * string/tester.c (test_strcat): Add tests for different alignments
32968 of source and destination.
32969 (test_strncat): Likewise.
32970
32971 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32972
32973 [BZ #12852]
32974 * posix/glob.c (glob): Check passed in values before using them in
32975 expressions to avoid some overflows.
32976 (glob_in_dir): Likewise.
32977
32978 [BZ #13007]
32979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32980 check for AVX enablement so that we don't crash with old kernels and
32981 new hardware.
32982 * elf/tst-audit4.c: Add same checks here.
32983 * elf/tst-audit6.c: Likewise.
32984
32985 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32986
32987 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32988
32989 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32990
32991 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32992
32993 * po/cs.po: Update from translation team.
32994 * po/bg.po: Likewise.
32995
32996 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32997
32998 * misc/sys/cdefs.h: Add support for const attribute.
32999 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33000 to gnu_dev_{major,minor,makedev} functions.
33001
33002 2011-07-20 Marek Polacek <mpolacek@redhat.com>
33003
33004 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33005
33006 2011-07-20 Andreas Schwab <schwab@redhat.com>
33007
33008 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33009 strlen results.
33010
33011 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33012
33013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33014 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33015 register in order to avoid conflicts with the soft frame pointer
33016 being held in r11 when necessary.
33017 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33018 (INTERNAL_VSYSCALL_NCS): Likewise.
33019
33020 2011-07-14 Marek Polacek <mpolacek@redhat.com>
33021
33022 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33023 * elf/dl-fini.c (_dl_fini): Adjust caller.
33024 * elf/dl-close.c (_dl_close_worker): Likewise.
33025 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33026
33027 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33028
33029 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33030 "aux_cache->nlibs < 0".
33031
33032 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33033 in the reload-count case.
33034
33035 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33036
33037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33038 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33039 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33040 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33041 * sysdeps/x86_64/multiarch/strcat.S: New file.
33042 * sysdeps/x86_64/multiarch/strncat.S: New file.
33043 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33045 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33046 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33047 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33048 (USE_AS_STRCAT): Define.
33049 Add strcat and strncat support.
33050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33051 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33052 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33053 * string/strncat.c: Update.
33054 (USE_AS_STRNCAT): Define.
33055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33056 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33057 and i7.
33058 * sysdeps/x86_64/multiarch/init-arch.h
33059 (bit_Prefer_PMINUB_for_stringop): New.
33060 (index_Prefer_PMINUB_for_stringop): Likewise.
33061 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33062 bit_Prefer_PMINUB_for_stringop.
33063
33064 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33065
33066 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33067 buffer64.
33068 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33069 of casting of buffer.
33070 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33071 buffer32 and buffer64.
33072 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33073 writes instead of casting of buffer.
33074 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33075 buffer32.
33076 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33077 casting of buffer.
33078
33079 2011-07-19 Andreas Schwab <schwab@redhat.com>
33080
33081 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33082
33083 2011-07-19 Ulrich Drepper <drepper@gmail.com>
33084
33085 * nscd/nscd.c (termination_handler): Don't do anything for a database
33086 if it has not yet been initialized.
33087
33088 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33089
33090 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33091
33092 2011-07-15 Marek Polacek <mpolacek@redhat.com>
33093
33094 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33095
33096 2011-07-18 Ulrich Drepper <drepper@gmail.com>
33097
33098 * po/nl.po: Update from translation team.
33099 * po/sv.po: Likewise.
33100
33101 2011-07-16 Roland McGrath <roland@hack.frob.com>
33102
33103 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33104 now disallowed by GCC.
33105
33106 * configure.in (use-default-link): Default to yes if a test -shared
33107 link meets our qualifications.
33108 * configure: Regenerated.
33109
33110 * config.make.in (output-format): New variable.
33111 * configure.in: Check for ld --print-output-format support.
33112 * configure: Regenerated.
33113 * Makerules ($(common-objpfx)format.lds)
33114 [$(output-format) != unknown]: Just use $(output-format),
33115 instead of the linker-script munging.
33116
33117 2011-07-14 Roland McGrath <roland@hack.frob.com>
33118
33119 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33120 of $(common-objpfx)shlib.lds.
33121 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33122
33123 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33124 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33125
33126 * configure.in (-z relro check): Adjust test code to add a large
33127 writable data section after it.
33128 * configure: Regenerated.
33129
33130 2011-07-11 Roland McGrath <roland@hack.frob.com>
33131
33132 * configure.in (-z relro check): Fix test code to make the variable
33133 truly const.
33134 * configure: Regenerated.
33135
33136 2011-07-11 Ulrich Drepper <drepper@gmail.com>
33137
33138 * nscd/nscd.h (struct traced_file): Define.
33139 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33140 elements. Add traced_files.
33141 (inotify_fd): Declare.
33142 (register_traced_file): Declare.
33143 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33144 (inotify_fd): Export.
33145 (resolv_conf_descr): Remove.
33146 (nscd_init): Move inotify descriptor creation to main.
33147 Don't register files for notification here.
33148 (register_traced_file): New function.
33149 (invalidate_cache): Don't use reset_res to determine whether to call
33150 res_init, go through the list of registered files.
33151 (main_loop_poll): The inotify descriptors are now stored in the
33152 structures for the traced files.
33153 (main_loop_epoll): Likewise
33154 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33155 to __nss_disable_nscd.
33156 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33157 for a database anymore. Check the records for all the registered
33158 files instead.
33159 * nss/Makefile (libnss_files-routines): Add files-init.
33160 (libnss_db-routines): Add db-init.
33161 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33162 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33163 * nss/nss_db/db-init.c: New file.
33164 * nss/nss_files/files-init.c: New file.
33165 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33166 __nss_lookup_function.
33167 (__nss_lookup_function): Call nss_load_library.
33168 (nss_load_all_libraries): New function.
33169 (__nss_disable_nscd): Take parameter with callback function for files
33170 to register. Set is_nscd. Load all the DSOs for the NSS modules
33171 used for the cached services.
33172 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33174 options for features to all the files in nscd.
33175
33176 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33177
33178 2011-07-10 Roland McGrath <roland@hack.frob.com>
33179
33180 * csu/elf-init.c (__libc_csu_init): Comment typo.
33181
33182 2011-07-09 Ulrich Drepper <drepper@gmail.com>
33183
33184 * po/pl.po: Update from translation team.
33185 * po/ja.po: Likewise.
33186 * po/ru.po: Likewise.
33187 * po/ko.po: Likewise.
33188 * po/fr.po: Likewise.
33189
33190 2011-07-09 Roland McGrath <roland@hack.frob.com>
33191
33192 * configure.in (.ctors/.dtors header and trailer check):
33193 Use an empirical test on a built program.
33194 * configure: Regenerated.
33195
33196 * configure.in (-z relro check): Use an empirical test on a built DSO.
33197 Detect, but do not require, on ia64.
33198 * configure: Regenerated.
33199
33200 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33201 Update tests that use readelf to use $READELF instead.
33202 * configure: Regenerated.
33203
33204 2011-07-08 Ulrich Drepper <drepper@gmail.com>
33205
33206 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33207 if the result is not used.
33208
33209 2011-07-05 Andreas Jaeger <aj@suse.de>
33210
33211 [BZ#9696]
33212 * stdlib/tst-strtod.c: Add testcase.
33213
33214 2011-07-07 Ulrich Drepper <drepper@gmail.com>
33215
33216 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33217 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33218 The latter has a higher limit. Take additional parameter to pass to
33219 the new function.
33220 (__pathconf): Pass file to __statfs_link_max.
33221 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33222 __statfs_link_max.
33223 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33224 __statfs_link_max.
33225
33226 [BZ #12868]
33227 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33229 Handle Lustre.
33230 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33231 (__statfs_filesize_max): Likewise.
33232 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33233
33234 2011-07-05 Andreas Jaeger <aj@suse.de>
33235
33236 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33237
33238 2011-07-06 Marek Polacek <mpolacek@redhat.com>
33239
33240 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33241 `status' variable.
33242 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33243 Likewise.
33244
33245 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33246
33247 * Makefile (strop-tests): Add strncat.
33248 * string/test-strncat.c: New file.
33249
33250 2011-06-30 Marek Polacek <mpolacek@redhat.com>
33251
33252 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33253
33254 2011-06-21 Andreas Jaeger <aj@suse.de>
33255
33256 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33257 Copy rule from iconvdata/Makefile.
33258
33259 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33260
33261 [BZ #12922]
33262 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33263 but no long options are defined, just return 'W'.
33264
33265 2011-06-22 Marek Polacek <mpolacek@redhat.com>
33266
33267 [BZ #9696]
33268 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33269
33270 2011-07-06 Ulrich Drepper <drepper@gmail.com>
33271
33272 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33273 netgroups to read.
33274 (innetgr): Likewise.
33275
33276 2011-07-05 Roland McGrath <roland@hack.frob.com>
33277
33278 * config.make.in (install_root): Default to $(DESTDIR).
33279
33280 2011-07-05 Ulrich Drepper <drepper@gmail.com>
33281
33282 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33283
33284 2011-07-02 Roland McGrath <roland@hack.frob.com>
33285
33286 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33287
33288 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33289 containing directory rather than embedding absolute directory names.
33290
33291 * scripts/check-local-headers.sh: Rewritten using awk.
33292 Match by word, not by line. Print error messages for matches.
33293 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33294
33295 * Makerules [shlib-lds-flags empty]:
33296 ($(common-objpfx)libc_pic.opts): New target.
33297 ($(common-objpfx)libc_pic.os.clean): New target.
33298 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33299
33300 * config.make.in (OBJCOPY): New variable.
33301 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33302 * configure: Regenerated.
33303
33304 * config.make.in (use-default-link): New variable.
33305 * configure.in (use_default_link): Grok --with-default-link to set it.
33306 * configure: Regenerated.
33307 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33308 (shlib-lds, shlib-lds-flags): Define to empty.
33309
33310 * Makerules (shlib-lds): New variable.
33311 (shlib-lds-flags): New variable.
33312 (build-shlib, build-moduile, build-module-asneeded): Use it.
33313 ($(common-objpfx)libc.so): Use $(shlib-lds).
33314 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33315 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33316
33317 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33318 DT_FLAGS/DT_FLAGS_1 with zero flags.
33319
33320 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33321 linker script munging.
33322
33323 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33324
33325 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33326 as 128-bit value.
33327 * crypt/sha512.c (sha512_process_block): Perform total addition using
33328 128-bit if possible.
33329 (__sha512_finish_ctx): Likewise.
33330 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33331 as 64-bit value.
33332 * crypt/sha256.c (SWAP64): Define.
33333 (sha256_process_block): Perform total addition using 64-bit if
33334 possible.
33335 (__sha256_finish_ctx): Likewise.
33336
33337 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33338
33339 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33340 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33341 * nscd/hstcache.c (cache_addhst): Likewise.
33342 * nscd/grpcache.c (cache_addgr): Likewise.
33343 * nscd/aicache.c (addhstaiX): Likewise
33344 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33345
33346 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33347
33348 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33350 * nscd/hstcache.c (cache_addhst): Likewise.
33351 * nscd/grpcache.c (cache_addgr): Likewise.
33352 * nscd/aicache.c (addhstaiX): Likewise
33353
33354 2011-07-01 Andreas Schwab <schwab@redhat.com>
33355
33356 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33357 domain only when needed.
33358
33359 2011-06-30 Andreas Schwab <schwab@redhat.com>
33360
33361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33362 is always restored.
33363
33364 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33365
33366 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33367 are re-adding the entry.
33368 * nscd/servicescache.c (cache_addserv): Likewise.
33369
33370 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33371
33372 * sysdeps/generic/dl-irel.h: fix protection against multiple
33373 inclusions.
33374 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33375
33376 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33377
33378 [BZ #12935]
33379 * malloc/memusage.sh: Fix quoting in message.
33380 * debug/xtrace.sh: Likewise.
33381
33382 * configure.in: Remove support for --experimental-malloc option, make
33383 it the default.
33384 * config.make.in: Likewise.
33385 * malloc/Makefile: Likewise.
33386
33387 2011-06-27 Andreas Schwab <schwab@redhat.com>
33388
33389 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33390 two-byte characters.
33391
33392 2011-06-27 Roland McGrath <roland@hack.frob.com>
33393
33394 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33395 AC_CACHE_CHECK invocation.
33396 * configure: Regenerated.
33397
33398 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33399
33400 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33401
33402 [BZ #12350]
33403 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33404 bit from old_res_options.
33405
33406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33407
33408 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33409 value type for setfct.
33410
33411 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33414 __gettimeofday instead of gettimeofday.
33415
33416 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33417
33418 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33419
33420 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33421
33422 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33423
33424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33425 info.
33426
33427 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33430 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33431 strcpy-sse2-unaligned strncpy-sse2-unaligned
33432 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33433 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33434 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33435 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33436 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33439 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33440 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33441 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33442 (STRCPY): Support SSE2 and SSSE3 versions.
33443
33444 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33445
33446 [BZ #12874]
33447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33448 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33449 kernels which artificially limit size of requests.
33450
33451 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33452
33453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33454 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33455 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33456 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33457 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33458 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33459 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33460 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33463 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33464 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33465 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33466 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33467 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33469 Enable unaligned load optimization for Intel Core i3, i5 and i7
33470 processors.
33471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33472 Define.
33473 (index_Fast_Unaligned_Load): Define.
33474 (HAS_FAST_UNALIGNED_LOAD): Define.
33475
33476 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33477
33478 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33479
33480 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33481
33482 [BZ #12907]
33483 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33484 until it is clear that the information is realy needed.
33485 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33486
33487 2011-06-22 Andreas Schwab <schwab@redhat.com>
33488
33489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33490
33491 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33492
33493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33494 /sys/devices/system/cpu/online if it is usable.
33495
33496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33497 reading the information from the /proc filesystem to once a second.
33498
33499 2011-06-21 Andreas Jaeger <aj@suse.de>
33500
33501 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33502 NULL after inclusion of kernel headers.
33503
33504 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33505
33506 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33507 calls to internal_setent.
33508
33509 [BZ #12885]
33510 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33511 addresses using gethostbyname4_r ignore IPv4 addresses.
33512
33513 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33514 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33515
33516 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33517
33518 2011-06-20 David S. Miller <davem@davemloft.net>
33519
33520 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33521 inclusions.
33522 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33523
33524 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33525 (elf_irel): Use it.
33526 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33527 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33528 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33529 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33530 * sysdeps/x86_64/dl-irel.h: Likewise.
33531
33532 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33533 * elf/dl-sym.c: Likewise.
33534
33535 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33536
33537 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33538 need to dereference resplen2.
33539
33540 2011-06-14 Andreas Schwab <schwab@redhat.com>
33541
33542 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33543
33544 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33545
33546 * Makeconfig: Define vardbdir and inst_vardbdir.
33547 * nss/Makefile: Add rules to install db-Makefile.
33548
33549 * nss/nss_db/db-XXX.c: Cleanup.
33550
33551 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33552 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33553 GLIBC_PRIVATE.
33554 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33555 * nss/makedb.c: Implement -g option to specify that value strings
33556 are generated and should not be added to table iterated over for
33557 get*ent calls.
33558 * nss/nss_db/db-initgroups.c: New file.
33559
33560 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33561 interface.
33562
33563 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33564 (internal_getgrouplist): Adjust to name change.
33565 Update use_initgroups_entry if this is not the first call.
33566 * nss/databases.def: Add initgroups entry.
33567
33568 * nss/makedb.c (compute_tables): Check result of multiple hash table
33569 sizes to minimize maximum chain length.
33570
33571 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33572
33573 * Versions.def: Add entry for libnss_db.
33574 * shlib-versions: Likewise.
33575 * nss/Makefile: Add rules to build libnss_db.
33576 * nss/Versions: Add libnss_db information. Organize libnss_files
33577 entries better.
33578 * nss/db-Makefile: Add gshadow support. Change rules for the new
33579 makedb progra. Some minor improvements to generate smaller files.
33580 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33581 here from...
33582 * nss/makedb.c: ...here.
33583 Improve database format to be smaller and require less memory at
33584 runtime.
33585 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33586 db anymore.
33587 * nss/nss_db/db-netgrp.c: Likewise.
33588 * nss/nss_db/db-open.c: Likewise.
33589 * nss/nss_files/flies-XXX.x: Adjust comments.
33590 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33591 * nss/nss_files/files-grp.c: Likewise.
33592 * nss/nss_files/files-hosts.c: Likewise.
33593 * nss/nss_files/files-network.c: Likewise.
33594 * nss/nss_files/files-proto.c: Likewise.
33595 * nss/nss_files/files-pwd.c: Likewise.
33596 * nss/nss_files/files-rpc.c: Likewise.
33597 * nss/nss_files/files-service.c: Likewise.
33598 * nss/nss_files/files-sgrp.c: Likewise.
33599 * nss/nss_files/files-spwd.c: Likewise.
33600 * nss/nss_db/db-alias.c: Removed.
33601 * nss/nss_db/dummy-db.h: Removed.
33602
33603 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33604
33605 * nss/makedb.c: Rewritten to not use database library.
33606 * nss/Makefile: Update to build new makedb program.
33607
33608 2011-06-14 Andreas Jaeger <aj@suse.de>
33609
33610 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33611 memset declaration.
33612
33613 2011-06-10 Andreas Schwab <schwab@redhat.com>
33614
33615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33616 tmpbuf.
33617
33618 2011-06-10 Roland McGrath <roland@hack.frob.com>
33619
33620 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33621 * elf/Makefile ($(objpfx)ld.so): Likewise.
33622
33623 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33624 Don't list ld.so twice in dependencies.
33625
33626 * posix/bug-regex31.c: Include <stdlib.h>.
33627
33628 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33629
33630 * nis/nss_compat/compat-spwd.c
33631 (getspent_next_nss_netgr): Remove unused variable.
33632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33633
33634 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33635 nonmembers" output to use the right array.
33636
33637 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33638
33639 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33640
33641 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33642 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33643 * catgets/gencat.c (read_input_file): Likewise.
33644 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33645
33646 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33647 variable definition inside #if's controlling its use.
33648
33649 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33650
33651 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33652
33653 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33654
33655 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33656 unreachable code.
33657
33658 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33659
33660 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33661 * configure: Regenerated.
33662
33663 * Makerules: Revert last change.
33664 * elf/Makefile: Likewise.
33665
33666 2011-06-09 Roland McGrath <roland@hack.frob.com>
33667
33668 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33669 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33670 (reloc-link): Likewise.
33671
33672 2011-06-09 Ulrich Drepper <drepper@gmail.com>
33673
33674 * elf/Makefile: Add rules to build pldd.
33675 * elf/pldd.c: New file.
33676 * elf/pldd-xx.c: New file.
33677
33678 2011-06-07 Ulrich Drepper <drepper@gmail.com>
33679
33680 * version.h: Update for 2.15 development version.
33681
33682 2011-06-07 David S. Miller <davem@davemloft.net>
33683
33684 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33685 ifuncs.
33686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33687 elf_machine_lazy_rel): Likewise.
33688 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33690 elf_machine_lazy_rel): Likewise.
33691 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33692 dl_hwcap via passed in argument.
33693 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33694 Likewise.
33695
33696 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33697
33698 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33699
33700 2011-06-06 Roland McGrath <roland@hack.frob.com>
33701
33702 [BZ #12849]
33703 * manual/fdl-1.1.texi: New file, verbatim from:
33704 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33705 * manual/lgpl-2.1.texi: New file, verbatim from:
33706 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33707 * manual/Makefile (licenses): New variable, list those new file names.
33708 (texis): Use it.
33709 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33710
33711 * manual/fdl.texi: File removed.
33712 * manual/lesser.texi: File removed.
33713 * manual/libc.texinfo (Copying, Documentation License):
33714 Use new @include file names, put @appendix directive before @include.
33715
33716 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33717
33718 [BZ #12841]
33719 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33720 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33721 (mq_open): Add __NTH.
33722
33723 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33724
33725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33726 Assume Intel Core i3/i5/i7 processor if AVX is available.
33727
33728 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33729
33730 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33731 typo.
33732
33733 2011-05-31 Andreas Schwab <schwab@redhat.com>
33734
33735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33736 memory. Use alloca_account. Fix memory leak when retrying.
33737
33738 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33739
33740 * version.h (RELEASE): Bump for 2.14 release.
33741 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33742
33743 * config.make.in (RANLIB): Remove entry.
33744
33745 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33746
33747 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33748 (libc.pot): Work around missing support for .ksh extension in xgettext.
33749
33750 [BZ #12684]
33751 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33752 if both request failed.
33753 (send_dg): In case of server errors clear resplen or *resplen2.
33754
33755 [BZ #12454]
33756 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33757 when there are multiple maps.
33758 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33759 (_dl_fini): Remove test here.
33760
33761 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33762
33763 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33764
33765 [BZ #12350]
33766 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33767 bit from old_res_options.
33768 (gaih_inet): Likewise.
33769
33770 [BZ #11099]
33771 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33772 as signed.
33773
33774 * resolv/res_init.c (res_setoptions): Make the code more compact.
33775
33776 [BZ #11558]
33777 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33778 set RES_USEVC.
33779
33780 [BZ #11634]
33781 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33782
33783 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33784
33785 [BZ #11781]
33786 * malloc/malloc.h: Declare malloc hook variables as volatile.
33787
33788 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33789 in last patch.
33790
33791 [BZ #11799]
33792 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33793 raise in the comment.
33794 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33796 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33797
33798 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33799
33800 [BZ #12811]
33801 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33802 grow the buffers more if it already has to be sufficient.
33803 (build_wcs_upper_buffer): Likewise.
33804 * posix/regexec.c (check_matching): Likewise.
33805 (clean_state_log_if_needed): Likewise.
33806 (extend_buffers): Don't enlarge buffers beyond size of the input
33807 buffer.
33808 Patches mostly by Emil Wojak <emil@wojak.eu>.
33809 * posix/bug-regex32.c: New file.
33810 * posix/Makefile (tests): Add bug-regex32.
33811
33812 * locale/findlocale.c (_nl_find_locale): Return right away if
33813 _nl_explode_name failed.
33814 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33815
33816 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33817
33818 * debug/xtrace.sh: Unify messages.
33819 * malloc/memusage.sh: Likewise.
33820
33821 [BZ #12813]
33822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33823 time symbol from vDSO. Substitute with vsyscall if not available.
33824 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33825 __vdso_time.
33826
33827 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33828 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33829 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33830 Add sendmmsg and internal_sendmmsg.
33831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33832 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33834
33835 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33836 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33838
33839 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33840
33841 [BZ #12813]
33842 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33843 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33844 available.
33845 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33846 __vdso_getcpu.
33847
33848 [BZ #12814]
33849 * iconvdata/Makefile (tests): Add bug-iconv9.
33850 * iconvdata/bug-iconv9.c: New file.
33851
33852 2011-05-27 Andreas Schwab <schwab@redhat.com>
33853
33854 [BZ #12814]
33855 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33856
33857 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33858
33859 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33860 (struct user_regs_struct): Change intcs field back to cs.
33861
33862 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33863
33864 * po/ja.po: Update from translation team.
33865
33866 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33867
33868 [BZ #12795]
33869 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33870 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33871
33872 2011-05-20 Andreas Schwab <schwab@redhat.com>
33873
33874 * stdlib/longlong.h: Update from GCC.
33875
33876 2011-05-23 Andreas Schwab <schwab@redhat.com>
33877
33878 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33879 parameter name.
33880 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33881 Add parameter name.
33882 (__sysconf): Pass it down.
33883
33884 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33885
33886 [BZ #12671]
33887 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33888 some situations.
33889 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33890 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33891 add in in __libc_use_alloca calls. Adjust callers.
33892 (glob): Use malloc in some situations.
33893
33894 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33895 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33896 pltexit.
33897
33898 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33899
33900 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33901 and CLOCK_BOOTTIME_ALARM.
33902
33903 [BZ #12782]
33904 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33905 is returned.
33906
33907 * string/_strerror.c (__strerror_r): Print negative errors as signed
33908 numbers.
33909
33910 [BZ #12777]
33911 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33912 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33913 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33914
33915 * configure.in: Fix typo in redirection and correct removal of test
33916 files in two cases.
33917
33918 [BZ #12788]
33919 * locale/setlocale.c (new_composite_name): Fix test to check for
33920 identical name of all categories.
33921
33922 [BZ #12792]
33923 * libio/filedoalloc.c (local_isatty): New function.
33924 (_IO_file_doallocate): Use local_isatty.
33925 * stdio-common/perror.c (perror): In case a new stream is used
33926 forward the stream error.
33927 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33928 error flag.
33929
33930 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33931
33932 [BZ #11869]
33933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33934 alloca.
33935 * include/alloca.h (extend_alloca_account): Define.
33936
33937 [BZ #11857]
33938 * posix/regex.h: Fix comments with documentation of user-accessible
33939 fields after compilation and describe correct free'ing of pattern
33940 after re_compile_pattern.
33941 Patch by Reuben Thomas <rrt@sc3d.org>.
33942
33943 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33944
33945 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33946 and -mno-altivec to prevent the compiler from using Altivec and/or
33947 VSX instructions when the corresponding registers are not available.
33948
33949 2011-05-19 Andreas Schwab <schwab@redhat.com>
33950
33951 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33952
33953 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33954
33955 * libio/freopen.c (freopen): Use __dup2, not dup2.
33956 * libio/freopen64.c (freopen64): Likewise.
33957
33958 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33959
33960 [BZ #12775]
33961 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33962 * math/Makefile (tests): Add test-powl.
33963 (CFLAGS-test-powl.c): Define.
33964 * math/test-powl.c: New file.
33965
33966 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33967
33968 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33969
33970 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33971
33972 [BZ #11837]
33973 * iconvdata/gb18030.c: Update to GB18020-2005.
33974
33975 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33976
33977 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33978 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33979 Patch by Aharon Robbins <arnold@skeeve.com>.
33980
33981 [BZ #11892]
33982 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33983 on the stack.
33984
33985 [BZ #11895]
33986 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33987 through underflows.
33988
33989 [BZ #12766]
33990 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33991 point to strings before performing equality test for error_one_per_line
33992 mode.
33993
33994 [BZ #11697]
33995 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33996
33997 [BZ #11820]
33998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33999 (struct user_fpregs_struct): Avoid __uint*_t types.
34000
34001 [BZ #6420]
34002 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34003 symbol info. Use it instead of calling _dl_addr locally.
34004 (lock_and_info): New function.
34005 (tr_freehook): Call lock_and_info and pass symbol info as additional
34006 parameter to tr_where.
34007 (tr_mallochook): Likewise.
34008 (tr_reallochook): Likewise.
34009 (tr_memalignhook): Likewise.
34010
34011 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34012 used and couldn't be at all thread-safe.
34013
34014 2011-05-15 Ulrich Drepper <drepper@gmail.com>
34015
34016 * libio/freopen.c (freopen): Don't close old file descriptor
34017 before the new one is opened. Instead dup the new file descriptor
34018 to the old one after the new stream is created.
34019 * libio/freopen64.c (freopen64): Likewise.
34020 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34021 * libio/fileops.c (_IO_new_file_close_it): Handle new
34022 _IO_FLAGS2_NOCLOSE flag.
34023 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34024 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34025 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34026 _IO_FLAGS2_NOCLOSE flag.
34027 * include/unistd.h: Add hidden_proto for dup3.
34028 Define __have_dup3.
34029 * io/dup3.c: Define hidden symbol.
34030 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34031
34032 [BZ #7101]
34033 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34034 when an incomplete long option is used.
34035 * posix/tst-getopt_long1.c: New file.
34036 * posix/Makefile (tests): Add tst-getopt_long1.
34037
34038 [BZ #10138]
34039 * scripts/config.guess: Update from autoconf-2.68.
34040 * scripts/config.sub: Likewise.
34041
34042 [BZ #10157]
34043 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34044 tests into ...
34045 (has_cpuclock): ...this. New function.
34046 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34047 macro here based on has_cpuclock code.
34048
34049 [BZ #10149]
34050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34051 First byte (not low byte) is now always NUL.
34052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34053
34054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34055 Use non-cancelable interfaces.
34056
34057 [BZ #9809]
34058 * locale/iso-639.def: Add entry for Sorani.
34059
34060 [BZ #11901]
34061 * include/stdlib.h: Move include protection to the right place.
34062 Define abort_msg_s. Declare __abort_msg with it.
34063 * stdlib/abort.c (__abort_msg): Adjust type.
34064 * assert/assert.c (__assert_fail_base): New function. Majority
34065 of code from __assert_fail. Allocate memory for __abort_msg with
34066 mmap.
34067 (__assert_fail): Now call __assert_fail_base.
34068 * assert/assert-perr.c: Remove bulk of implementation. Use
34069 __assert_fail_base.
34070 * include/assert.hL Declare __assert_fail_base.
34071 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34072 mmap.
34073 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34074
34075 2011-05-14 Ulrich Drepper <drepper@gmail.com>
34076
34077 [BZ #11952]
34078 [BZ #12453]
34079 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34080 until all modules are registered in the DTV.
34081 * elf/Makefile: Add rules to build and run tst-tls19.
34082 * elf/tst-tls19.c: New file.
34083 * elf/tst-tls19mod1.c: New file.
34084 * elf/tst-tls19mod2.c: New file.
34085 * elf/tst-tls19mod3.c: New file.
34086 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34087
34088 [BZ #12083]
34089 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34090 correctly.
34091
34092 [BZ #12601]
34093 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34094 two-byte sequence errors.
34095 * iconvdata/Makefile (tests): Add bug-iconv8.
34096 * iconvdata/bug-iconv8.c: New file.
34097
34098 [BZ #12626]
34099 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34100 buf2 definition.
34101
34102 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34103
34104 [BZ #12432]
34105 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34106 (dummy_getcfa): New function.
34107 (init): Get _Unwind_GetCFA address, use dummy if not found.
34108 (backtrace_helper): In recursion check, also check whether CFA changes.
34109 (__backtrace): Completely initialize arg.
34110
34111 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34112 storing incomplete byte sequence in state object. Avoid testing for
34113 guaranteed too small input if we know there is enough data available.
34114
34115 2011-05-11 Andreas Schwab <schwab@redhat.com>
34116
34117 * Makeconfig (+link-pie): Indent.
34118 * Rules (binaries-pie): Define if $(have-fpie) and
34119 $(build-shared).
34120 (binaries-shared): Also filter out $(binaries-pie).
34121 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34122 * nscd/Makefile (others-pie): Add nscd.
34123 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34124 ($(objpfx)nscd): Remove command override.
34125 * login/Makefile (others-pie): Add pt_chown.
34126 ($(objpfx)pt_chown): Remove command override.
34127 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34128 remove command overrides.
34129
34130 2011-05-13 Ulrich Drepper <drepper@gmail.com>
34131
34132 * libio/tst_putwc.c: Fix error messages.
34133
34134 [BZ #12724]
34135 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34136 currently writing and seek to current position when not.
34137 * libio/Makefile (tests): Add bug-fclose1.
34138 * libio/bug-fclose1.c: New file.
34139
34140 2011-05-12 Ulrich Drepper <drepper@gmail.com>
34141
34142 [BZ #12511]
34143 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34144 don't set DF_1_NODELETE here.
34145 (do_lookup_x): When entering new entry test for copy relocation
34146 and if necessary set DF_1_NODELETE flag.
34147 * elf/tst-unique4.cc: New file.
34148 * elf/tst-unique4.h: New file.
34149 * elf/tst-unique4lib.cc: New file.
34150 * elf/Makefile: Add rules to build and run tst-unique4.
34151 Patch by Piotr Bury <pbury@goahead.com>.
34152
34153 2011-05-11 Ulrich Drepper <drepper@gmail.com>
34154
34155 [BZ #12052]
34156 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34157
34158 [BZ #12625]
34159 * misc/mntent_r.c (addmntent): Flush the stream after the output
34160
34161 [BZ #12393]
34162 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34163 (is_trusted_path_normalize): Skip initial colon. Append slash
34164 to empty buffer. Duplicate is_trusted_path code but allow
34165 constructed patch to be prefix.
34166 (is_dst): Allow $ORIGIN followed by /.
34167 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34168 Correct testing of result of is_trusted_path_normalize
34169 (decompose_rpath): Fix warning.
34170
34171 2011-05-10 Ulrich Drepper <drepper@gmail.com>
34172
34173 [BZ #11257]
34174 * grp/initgroups.c (internal_getgrouplist): When we found the service
34175 list through the initgroups entry in nsswitch.conf do not always
34176 continue on a successful lookup. Don't always use the
34177 __nss_group_database value if it is set.
34178 * nss/nsswitch.conf (initgroups): Change action for successful db
34179 lookup to continue for compatibility.
34180
34181 2011-05-09 Ulrich Drepper <drepper@gmail.com>
34182
34183 [BZ #11532]
34184 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34185 and CP774 modules.
34186 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34187 and CP774 modules.
34188 * iconvdata/tst-tables.sh: Likewise.
34189 * iconvdata/cp770.c: New file.
34190 * iconvdata/cp771.c: New file.
34191 * iconvdata/cp772.c: New file.
34192 * iconvdata/cp773.c: New file.
34193 * iconvdata/cp774.c: New file.
34194 * iconvdata/testdata/CP770: New file.
34195 * iconvdata/testdata/CP770..UTF8: New file.
34196 * iconvdata/testdata/CP771: New file.
34197 * iconvdata/testdata/CP771..UTF8: New file.
34198 * iconvdata/testdata/CP772: New file.
34199 * iconvdata/testdata/CP772..UTF8: New file.
34200 * iconvdata/testdata/CP773: New file.
34201 * iconvdata/testdata/CP773..UTF8: New file.
34202 * iconvdata/testdata/CP774: New file.
34203 * iconvdata/testdata/CP774..UTF8: New file.
34204
34205 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34206 END CHARMAP line.
34207 * iconvdata/gen-8bit-gap.sh: Likewise.
34208 * iconvdata/gen-8bit.sh: Likewise.
34209
34210 * locale/iso-639.def: Add ary entry.
34211
34212 [BZ #11258]
34213 * locale/C-translit.h.in: Add U20A1 transliteration.
34214
34215 [BZ #12178]
34216 * locale/iso-639.def: Add wae entry.
34217 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34218
34219 [BZ #12545]
34220 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34221 for n.
34222
34223 [BZ #12711]
34224 * locale/C-translit.h.in: Add entry for U20B9.
34225 Patch by pravin.d.s@gmail.com.
34226
34227 2011-05-08 Ulrich Drepper <drepper@gmail.com>
34228
34229 [BZ #12713]
34230 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34231 ENAMETOOLONG use generic getcwd.
34232 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34233 in rtld. Use *stat64.
34234 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34235 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34236 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34237 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34238 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34239 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34240 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34241 __fstatat64 macros.
34242 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34243 * dirent/rewinddir.c: Add libc_hidden_def.
34244 * sysdeps/mach/hurd/rewinddir.c: Likewise.
34245 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
34246
34247 * include/dirent.h (__alloc_dir): Add flags parameter.
34248 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34249 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34250 __alloc_dir.
34251 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34252 from fdopendir if O_CLOEXEC is already set.
34253
34254 2011-03-15 Alan Modra <amodra@gmail.com>
34255
34256 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34257 l_tls_firstbyte_offset non-zero. Save padding offset in
34258 l_tls_firstbyte_offset for later use.
34259 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34260 freeing static tls block.
34261
34262 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34263
34264 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34265 where #ifdef was intended. The intent is to prevent ARG_MAX from
34266 being defined by the kernel headers.
34267
34268 2011-05-07 Ulrich Drepper <drepper@gmail.com>
34269
34270 [BZ #12734]
34271 * resolv/resolv.h: Define RES_NOTLDQUERY.
34272 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34273 no-tld-query and set RES_NOTLDQUERY.
34274 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34275 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34276 modern BIND to search name as TLD unless forbidden.
34277
34278 2011-05-07 Petr Baudis <pasky@suse.cz>
34279 Ulrich Drepper <drepper@gmail.com>
34280
34281 [BZ #12393]
34282 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34283 (is_trusted_path): ...to here.
34284 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34285 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34286 using is_trusted_path_normalize() in setuid scripts.
34287
34288 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34289
34290 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34291 __BEGIN/__END_DECLS.
34292
34293 2011-05-06 Ulrich Drepper <drepper@gmail.com>
34294
34295 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34296 NSS_STATUS_NOTFOUND if no record was found.
34297
34298 2011-05-05 Andreas Schwab <schwab@redhat.com>
34299
34300 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34301 (headers-not-in-tirpc): Remove rpc/netdb.h
34302 * resolv/netdb.h: Revert last change.
34303
34304 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34305
34306 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34307 circular dependency between libgcc.a and libc.a.
34308
34309 2011-05-05 Andreas Schwab <schwab@redhat.com>
34310
34311 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34312 * nis/Makefile: Don't install rpcsvc/*.
34313 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34314 instead of <rpc/types.h>.
34315 (MAXHOSTNAMELEN): Define.
34316
34317 2011-05-03 Andreas Schwab <schwab@redhat.com>
34318
34319 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34320
34321 2011-04-28 Maciej Babinski <mbabinski@google.com>
34322
34323 [BZ #12714]
34324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34325 gethostbyname4_r when IPv6 results are possible.
34326
34327 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34328
34329 [BZ #12723]
34330 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34331 _PC_PIPE_BUF handling.
34332
34333 2011-04-30 Bruno Haible <bruno@clisp.org>
34334
34335 [BZ #12717]
34336 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34337 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34338 to 'int'.
34339 * inet/getnameinfo.c (getnameinfo): Likewise.
34340
34341 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34342
34343 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34344 to groups setting in database lookup.
34345 * nss/nsswitch.conf: Add initgroups entry.
34346
34347 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34348
34349 [BZ #12685]
34350 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34351 mode string.
34352 Patch by Eric Blake <eblake@redhat.com>.
34353
34354 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34355
34356 * sunrpc/Makefile (need-export-routines): Add svc_run.
34357 (routines): Remove svc_run.
34358 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34359 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34360 * sunrpc/svc_run.c (svc_run): Likewise.
34361 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34362
34363 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34364
34365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34366 problem in reallocation in last patch.
34367
34368 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34369
34370 * sunrpc/Makefile: Move inclusion of Rules.
34371
34372 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34373
34374 * nss/nss_files/files-initgroups.c: New file.
34375 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34376 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34377 _nss_files_initgroups_dyn.
34378
34379 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34380
34381 * elf/elf.h (R_ARM_IRELATIVE): Define.
34382
34383 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34384
34385 * po/ru.po: Update from translation team.
34386
34387 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34388
34389 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34390 dependencies.
34391
34392 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34393
34394 [BZ #12653]
34395 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34396 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34400
34401 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34402
34403 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34404 differing bytes.
34405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34407 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34408
34409 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34410
34411 [BZ #12420]
34412 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34413 storing it.
34414 * stdlib/bug-getcontext.c: New file.
34415 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34416
34417 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34418
34419 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34420 instructions into .machine "z9-109".
34421 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34422 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34423
34424 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34425
34426 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34427 between environment variables and auxiliary vector.
34428
34429 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34430
34431 * Makefile: Add rules to build linkobj/libc.so.
34432 * include/libc-symbols.h: Define libc_hidden_nolink.
34433 * include/rpc/auth.h: Mark functions which are to be hidden.
34434 * include/rpc/auth_des.h: Likewise.
34435 * include/rpc/auth_unix.h: Likewise.
34436 * include/rpc/clnt.h: Likewise.
34437 * include/rpc/des_crypt.h: Likewise.
34438 * include/rpc/key_prot.h: Likewise.
34439 * include/rpc/pmap_clnt.h: Likewise.
34440 * include/rpc/pmap_prot.h: Likewise.
34441 * include/rpc/pmap_rmt.h: Likewise.
34442 * include/rpc/rpc_msg.h: Likewise.
34443 * include/rpc/svc.h: Likewise.
34444 * include/rpc/svc_auth.h: Likewise.
34445 * include/rpc/xdr.h: Likewise.
34446 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34447 * nss/Makefile: Likewise.
34448 * sunrpc/Makefile: Don't install headers. Build library with normal
34449 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34450 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34451 for the compat linking library. Remove use of INTDEF/INTUSE.
34452 * sunrpc/auth_none.c: Likewise.
34453 * sunrpc/auth_unix.c: Likewise.
34454 * sunrpc/authdes_prot.c: Likewise.
34455 * sunrpc/authuxprot.c: Likewise.
34456 * sunrpc/clnt_gen.c: Likewise.
34457 * sunrpc/clnt_perr.c: Likewise.
34458 * sunrpc/clnt_raw.c: Likewise.
34459 * sunrpc/clnt_simp.c: Likewise.
34460 * sunrpc/clnt_tcp.c: Likewise.
34461 * sunrpc/clnt_udp.c: Likewise.
34462 * sunrpc/clnt_unix.c: Likewise.
34463 * sunrpc/des_crypt.c: Likewise.
34464 * sunrpc/des_soft.c: Likewise.
34465 * sunrpc/get_myaddr.c: Likewise.
34466 * sunrpc/key_call.c: Likewise.
34467 * sunrpc/key_prot.c: Likewise.
34468 * sunrpc/netname.c: Likewise.
34469 * sunrpc/pm_getmaps.c: Likewise.
34470 * sunrpc/pm_getport.c: Likewise.
34471 * sunrpc/pmap_clnt.c: Likewise.
34472 * sunrpc/pmap_prot.c: Likewise.
34473 * sunrpc/pmap_prot2.c: Likewise.
34474 * sunrpc/pmap_rmt.c: Likewise.
34475 * sunrpc/publickey.c: Likewise.
34476 * sunrpc/rpc_cmsg.c: Likewise.
34477 * sunrpc/rpc_common.c: Likewise.
34478 * sunrpc/rpc_dtable.c: Likewise.
34479 * sunrpc/rpc_prot.c: Likewise.
34480 * sunrpc/rpc_thread.c: Likewise.
34481 * sunrpc/rtime.c: Likewise.
34482 * sunrpc/svc.c: Likewise.
34483 * sunrpc/svc_auth.c: Likewise.
34484 * sunrpc/svc_authux.c: Likewise.
34485 * sunrpc/svc_raw.c: Likewise.
34486 * sunrpc/svc_run.c: Likewise.
34487 * sunrpc/svc_simple.c: Likewise.
34488 * sunrpc/svc_tcp.c: Likewise.
34489 * sunrpc/svc_udp.c: Likewise.
34490 * sunrpc/svc_unix.c: Likewise.
34491 * sunrpc/svcauth_des.c: Likewise.
34492 * sunrpc/xcrypt.c: Likewise.
34493 * sunrpc/xdr.c: Likewise.
34494 * sunrpc/xdr_array.c: Likewise.
34495 * sunrpc/xdr_float.c: Likewise.
34496 * sunrpc/xdr_intXX_t.c: Likewise.
34497 * sunrpc/xdr_mem.c: Likewise.
34498 * sunrpc/xdr_rec.c: Likewise.
34499 * sunrpc/xdr_ref.c: Likewise.
34500 * sunrpc/xdr_sizeof.c: Likewise.
34501 * sunrpc/xdr_stdio.c: Likewise.
34502
34503 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34504
34505 [BZ #12650]
34506 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34507 * sysdeps/ia64/dl-tls.h: Likewise.
34508 * sysdeps/powerpc/dl-tls.h: Likewise.
34509 * sysdeps/s390/dl-tls.h: Likewise.
34510 * sysdeps/sh/dl-tls.h: Likewise.
34511 * sysdeps/sparc/dl-tls.h: Likewise.
34512 * sysdeps/x86_64/dl-tls.h: Likewise.
34513 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34514
34515 2011-03-14 Andreas Schwab <schwab@redhat.com>
34516
34517 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34518 rpath element also skip the following colon.
34519 (expand_dynamic_string_token): Add is_path parameter and pass
34520 down to DL_DST_REQUIRED and _dl_dst_substitute.
34521 (decompose_rpath): Call expand_dynamic_string_token with
34522 non-zero is_path. Ignore empty rpaths.
34523 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34524 with zero is_path.
34525
34526 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34527
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34529 Make cancelable.
34530
34531 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34532
34533 [BZ #12655]
34534 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34535 Patch by Filipe David Manana <fdmanana@apache.org>.
34536
34537 2011-04-07 Andreas Schwab <schwab@redhat.com>
34538
34539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34540 Maintain aligned stack.
34541 (CHECK_RSP): Remove unused macro.
34542
34543 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34544
34545 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34547
34548 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34549
34550 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34551
34552 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34553
34554 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34555
34556 [BZ #12518]
34557 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34558 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34559 * sysdeps/x86_64/memmove.c: New file.
34560 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34561 (memcpy): Renamed to ...
34562 (__new_memcpy): This.
34563 (memcpy): Provide GLIBC_2_14 memcpy.
34564 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34565 (memcpy): Provide GLIBC_2_2_5 memcpy.
34566
34567 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34568
34569 [BZ #12631]
34570 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34571
34572 2011-03-30 Andreas Schwab <schwab@redhat.com>
34573
34574 * misc/syncfs.c: New file.
34575 * misc/Makefile (routines): Add syncfs.
34576 * posix/unistd.h: Declare syncfs.
34577 * sysdeps/unix/syscalls.list: Add syncfs.
34578
34579 2011-04-01 Andreas Schwab <schwab@redhat.com>
34580
34581 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34582 open_by_handle_at.
34583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34588 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34590
34591 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34592
34593 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34597 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34600
34601 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34602 sync_file_range.c with -fexceptions.
34603 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34604 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34605 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34606 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34607 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34608 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34610 sync_file_range as cancellation point
34611 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34612 now a wrapper around __call_sync_file_range with cancellation handling.
34613 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34614 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34615 function name to __call_sync_file_range.
34616 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34617 Add call_sync_file_range.
34618
34619 2011-04-01 Andreas Schwab <schwab@redhat.com>
34620
34621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34622 bits/timex.h.
34623
34624 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34625
34626 * iconv/iconv.h: Fix typo in comment.
34627 * io/fcntl.h: Likewise.
34628 * libio/stdio.h: Likewise.
34629 * posix/spawn.h: Likewise.
34630 * posix/unistd.h: Likewise.
34631 * stdlib/stdlib.h: Likewise.
34632 * time/time.h: Likewise.
34633 * wcsmbs/wchar.h: Likewise.
34634
34635 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34636 open_by_handle): Add.
34637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34638 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34639 Augment a few comments.
34640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34645 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34646 open_by_handle.
34647
34648 * io/fcntl.h (AT_EMPTY_PATH): Define.
34649
34650 2011-03-30 Ulrich Drepper <drepper@gmail.com>
34651
34652 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34653 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34654 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34655 to...
34656 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
34657 * Versions.def: Add GLIBC_2.14.
34658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34659 Export.
34660
34661 2011-03-22 Ulrich Drepper <drepper@gmail.com>
34662
34663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34664 round counter.
34665 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34666
34667 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34668
34669 [BZ #12597]
34670 * string/test-strncmp.c (do_page_test): New function.
34671 (check2): Likewise.
34672 (test_main): Call check2.
34673 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34674
34675 2011-03-20 Ulrich Drepper <drepper@gmail.com>
34676
34677 [BZ #12587]
34678 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34679 Handle cache information in CPU leaf 4.
34680 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34681
34682 2011-03-18 Ulrich Drepper <drepper@gmail.com>
34683
34684 [BZ #12583]
34685 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34686 character representation.
34687 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34688
34689 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34690
34691 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34692 END(__isnan) to END(__isnanf) to match function entry point/label
34693 EALIGN(__isnanf,...).
34694
34695 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34696
34697 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34698
34699 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34700
34701 [BZ #12510]
34702 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34703 copy from the symbol referenced in the relocation to initialize the
34704 used variable.
34705 Patch by Piotr Bury <pbury@goahead.com>.
34706 * elf/Makefile: Add rules to build and tst-unique3.
34707 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34708 * elf/tst-unique3.cc: New file.
34709 * elf/tst-unique3.h: New file.
34710 * elf/tst-unique3lib.cc: New file.
34711 * elf/tst-unique3lib2.cc: New file.
34712
34713 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34714
34715 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34716
34717 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34718 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34719 to _start.
34720
34721 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34722
34723 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34724 to-be-loaded object along a path to loader is ld.so.
34725
34726 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34727 Ulrich Drepper <drepper@gmail.com>
34728
34729 * sysdeps/x86_64/memset.S: After aligning destination, code
34730 branches to different locations depending on the value of
34731 misalignment, when multiarch is enabled. Fix this.
34732
34733 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34734
34735 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34736 Set _x86_64_preferred_memory_instruction for AMD processsors.
34737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34738 Set bit_Prefer_SSE_for_memop for AMD processors.
34739
34740 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34741
34742 * libio/fmemopen.c (fmemopen): Optimize a bit.
34743
34744 2011-03-03 Andreas Schwab <schwab@redhat.com>
34745
34746 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34747
34748 2011-03-03 Roland McGrath <roland@redhat.com>
34749
34750 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34751
34752 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34753
34754 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34755 __bzero_ultra1 instead of __memset_ultra1.
34756
34757 2011-02-23 Andreas Schwab <schwab@redhat.com>
34758 Ulrich Drepper <drepper@gmail.com>
34759
34760 [BZ #12509]
34761 * include/link.h (struct link_map): Add l_orig_initfini.
34762 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34763 returning unsuccessfully.
34764 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34765 close of a file loaded at startup, restore the original l_initfini
34766 list.
34767 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34768 list, store the pointer.
34769 * elf/Makefile ($(objpfx)noload-mem): New rule.
34770 (noload-ENV): Define.
34771 (tests): Add $(objpfx)noload-mem.
34772 * elf/noload.c: Include <memcheck.h>.
34773 (main): Call mtrace. Close all opened handles.
34774
34775 2011-02-17 Andreas Schwab <schwab@redhat.com>
34776
34777 [BZ #12454]
34778 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34779 dependencies are missing.
34780
34781 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34782
34783 Fix __if_freereq crash: Unlike the generic version which uses free,
34784 Hurd needs munmap.
34785 * sysdeps/mach/hurd/ifreq.h: New file.
34786
34787 2011-01-27 Petr Baudis <pasky@suse.cz>
34788 Ulrich Drepper <drepper@gmail.com>
34789
34790 [BZ 12445]#
34791 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34792 to extend_alloca().
34793 * stdio-common/bug23.c: New file.
34794 * stdio-common/Makefile (tests): Add bug23.
34795
34796 2010-09-28 Andreas Schwab <schwab@redhat.com>
34797 Ulrich Drepper <drepper@gmail.com>
34798
34799 [BZ #12489]
34800 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34801 before performing relro protection. At old place add assertion
34802 to make sure nothing changed.
34803
34804 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34805 Glauber de Oliveira Costa <glommer@gmail.com>
34806
34807 * elf/elf.h: Add new ARM TLS relocs.
34808
34809 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34810
34811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34812 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34813 cast from r3.
34814 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34815 'tests' variable.
34816 * sysdeps/wordsize-64/tst-writev.c: New file.
34817
34818 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34819
34820 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34821 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34822 insns in _dl_start to prevent a TOC reference before relocs are
34823 resolved.
34824
34825 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34826
34827 [BZ #12469]
34828 * Makeconfig: Remove RANLIB definition.
34829 * Makerules: Don't use RANLIB.
34830 * aclocal.m4: Remove ranlib test.
34831 * configure.in: No need to check for ranlib.
34832 * elf/rtld-Rules: Don't use RANLIB.
34833
34834 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34835
34836 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34837 protection macro.
34838 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34839 inclusion protection macro.
34840
34841 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34842 SIGRTMIN and SIGRTMAX and print information in that case only when
34843 SIGRTMIN is defined.
34844
34845 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34846
34847 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34848 arginfo fn returning -1.
34849
34850 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34851 and thousands string is zero terminated.
34852
34853 2011-02-03 Andreas Schwab <schwab@redhat.com>
34854
34855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34856 sysdeps/unix/sysv/linux/bits/socket.h.
34857
34858 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34859
34860 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34861 (__CPU_COUNT): Remove old macros.
34862 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34863 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34864 (__CPU_ALLOC, __CPU_FREE): Add macros.
34865 (__sched_cpualloc, __sched_cpufree): Add declarations.
34866
34867 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34868
34869 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34870 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34871 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34872 (readdhstai): Return value of addhstaiX call.
34873 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34874 (addgrbyX): Return value returned by cache_addgr.
34875 (readdgrbyname): Return value returned by addgrbyX.
34876 (readdgrbygid): Likewise.
34877 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34878 (addpwbyX): Return value returned by cache_addpw.
34879 (readdpwbyname): Return value returned by addhstbyX.
34880 (readdpwbyuid): Likewise.
34881 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34882 (addservbyX): Return value returned by cache_addserv.
34883 (readdservbyname): Return value returned by addservbyX:
34884 (readdservbyport): Likewise.
34885 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34886 (addhstbyX): Return value returned by cache_addhst.
34887 (readdhstbyname): Return value returned by addhstbyX.
34888 (readdhstbyaddr): Likewise.
34889 (readdhstbynamev6): Likewise.
34890 (readdhstbyaddrv6): Likewise.
34891 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34892 (readdinitgroups): Return value returned by addinitgroupsX.
34893 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34894 (prune_cache): Keep track of timeout value of re-added entries.
34895 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34896 * nscd/nscd.h: Adjust prototypes of readd* functions.
34897
34898 2011-02-04 Roland McGrath <roland@redhat.com>
34899
34900 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34901 (nis_stats): Likewise.
34902 * nis/nis_modify.c (nis_modify): Likewise.
34903 * nis/nis_remove.c (nis_remove): Likewise.
34904 * nis/nis_add.c (nis_add): Likewise.
34905
34906 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34907
34908 * posix/fnmatch_loop.c: Add some consts.
34909
34910 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34911
34912 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34913
34914 [BZ #12460]
34915 * config.make.in (config-cflags-novzeroupper): Define.
34916 * configure.in: Substitute libc_cv_cc_novzeroupper.
34917 * elf/Makefile (AVX-CFLAGS): Define.
34918 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34919 (CFLAGS-tst-auditmod4a.c): Likewise.
34920 (CFLAGS-tst-auditmod4b.c): Likewise.
34921 (CFLAGS-tst-auditmod6b.c): Likewise.
34922 (CFLAGS-tst-auditmod6c.c): Likewise.
34923 (CFLAGS-tst-auditmod7b.c): Likewise.
34924 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34925
34926 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34927
34928 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34929 function to the callback.
34930 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34931
34932 2011-02-02 Andreas Schwab <schwab@redhat.com>
34933
34934 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34935 of errno.
34936
34937 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34938
34939 [BZ #11724]
34940 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34941 of constructors.
34942 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34943 of destructors.
34944 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34945
34946 [BZ #11724]
34947 * elf/Makefile: Add rules to build and run new test.
34948 * elf/tst-initorder.c: New file.
34949 * elf/tst-initorder.exp: New file.
34950 * elf/tst-initordera1.c: New file.
34951 * elf/tst-initordera2.c: New file.
34952 * elf/tst-initordera3.c: New file.
34953 * elf/tst-initordera4.c: New file.
34954 * elf/tst-initorderb1.c: New file.
34955 * elf/tst-initorderb2.c: New file.
34956 * elf/tst-order-a1.c: New file.
34957 * elf/tst-order-a2.c: New file.
34958 * elf/tst-order-a3.c: New file.
34959 * elf/tst-order-a4.c: New file.
34960 * elf/tst-order-b1.c: New file.
34961 * elf/tst-order-b2.c: New file.
34962 * elf/tst-order-main.c: New file.
34963 New test case by George Gensure <werkt0@gmail.com>.
34964
34965 2010-10-01 Andreas Schwab <schwab@redhat.com>
34966
34967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34968 decoding ACE if AI_CANONIDN.
34969
34970 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34971
34972 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34973
34974 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34975
34976 * version.h (RELEASE): Bump for 2.13 release.
34977 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34978
34979 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34980
34981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34982 MADV_NOHUGEPAGE.
34983 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34984 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34986 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34988 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34989
34990 * posix/getconf.c: Update copyright year.
34991 * catgets/gencat.c: Likewise.
34992 * csu/version.c: Likewise.
34993 * debug/catchsegv.sh: Likewise.
34994 * debug/xtrace.sh: Likewise.
34995 * elf/ldconfig.c: Likewise.
34996 * elf/ldd.bash.in: Likewise.
34997 * elf/sprof.c (print_version): Likewise.
34998 * iconv/iconv_prog.c: Likewise.
34999 * iconv/iconvconfig.c: Likewise.
35000 * locale/programs/locale.c: Likewise.
35001 * locale/programs/localedef.c: Likewise.
35002 * malloc/memusage.sh: Likewise.
35003 * malloc/mtrace.pl: Likewise.
35004 * nscd/nscd.c (print_version): Likewise.
35005 * nss/getent.c: Likewise.
35006
35007 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35008 PF_CAIF, and PF_ALG.
35009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35010
35011 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35012
35013 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35014 (modules-names): Use them.
35015 (ifunc-test-modules, ifunc-pie-tests): Define.
35016 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35017 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35018 (test-extras): Likewise.
35019 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35020 $(compile-command.c).
35021 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35022 (all-built-dso): Define.
35023 (check-textrel.out, check-execstack.out): Depend on it.
35024
35025 * configure.in: Don't override --enable-multi-arch.
35026
35027 2011-01-15 Ulrich Drepper <drepper@gmail.com>
35028
35029 [BZ #6812]
35030 * nscd/hstcache.c (tryagain): Define.
35031 (cache_addhst): Return tryagain not notfound for temporary errors.
35032 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35033 failed.
35034
35035 2011-01-14 Ulrich Drepper <drepper@gmail.com>
35036
35037 [BZ #10563]
35038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35039 to make the syscall.
35040 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35041
35042 [BZ #12378]
35043 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35044 and fall back to matching as normal character if the string ends before
35045 the matching ']' is found. This is what POSIX requires.
35046 * posix/testfnm.c: Adjust test result.
35047 * posix/globtest.sh: Adjust test result. Add new test.
35048 * posix/tst-fnmatch.input: Likewise.
35049 * posix/tst-fnmatch2.c: Add new test.
35050
35051 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35052
35053 * elf/Makefile (check-execstack): Revert last change. Depend on
35054 check-execstack.h.
35055 (check-execstack.h): New target.
35056 (generated): Add check-execstack.h.
35057 * elf/check-execstack.c: Include "check-execstack.h".
35058 (main): Revert last change.
35059 (handle_file): Return zero if GNU_STACK is absent and
35060 DEFAULT_STACK_PERMS doesn't include PF_X.
35061
35062 2011-01-13 Ulrich Drepper <drepper@gmail.com>
35063
35064 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35065 in child fails because the descriptor is already closed.
35066 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35067 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35068 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35069
35070 [BZ #12397]
35071 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35072 syscall.
35073
35074 [BZ #10484]
35075 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35076 temporary buffer used to handle multi lookups locally.
35077 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35078
35079 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35080
35081 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35082 loader is ld.so.
35083
35084 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35085
35086 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35087 alignment for SSE2.
35088
35089 2011-01-12 Ulrich Drepper <drepper@gmail.com>
35090
35091 [BZ #12394]
35092 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35093 characters. When rounding increased number of integer digits recompute
35094 number of groups.
35095 * stdio-common/tst-grouping.c: New file.
35096 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35097
35098 2011-01-09 Ulrich Drepper <drepper@gmail.com>
35099
35100 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35101 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35102
35103 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35104 void.
35105 * bits/select.h: Likewise.
35106
35107 2011-01-08 Ulrich Drepper <drepper@gmail.com>
35108
35109 * po/ja.po: Update from translation team.
35110
35111 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
35112
35113 [BZ #11155]
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35115 implementation just like for lxstat, fxstatat, et al.
35116
35117 2010-12-27 Jim Meyering <meyering@redhat.com>
35118
35119 [BZ #12348]
35120 * posix/regexec.c (build_trtable): Return failure indication upon
35121 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35122
35123 2010-12-25 Ulrich Drepper <drepper@gmail.com>
35124
35125 [BZ #12201]
35126 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35127 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35128 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35130
35131 [BZ #12207]
35132 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35133
35134 [BZ #12204]
35135 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35136 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35137
35138 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35141 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35142 script has SORT_BY_INIT_PRIORITY.
35143 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35144 NO_CTORS_DTORS_SECTIONS is defined.
35145 * elf/soinit.c: Likewise.
35146 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35147 NO_CTORS_DTORS_SECTIONS is defined.
35148 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35149 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35150 * sysdeps/sh/init-first.c: Likewise.
35151 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35152
35153 2010-12-24 Ulrich Drepper <drepper@gmail.com>
35154
35155 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35156 always use the slow path.
35157
35158 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35159
35160 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35161 similar rule which adds the sysdep directories to the header search in
35162 order to pick up the correct platform stackinfo.h.
35163 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35164 perform test if it is, otherwise return successfully without testing.
35165 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35166 DEFAULT_STACK_PERMS define in stackinfo.h.
35167 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35168 defined in stackinfo.h.
35169 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35170 DEFAULT_STACK_PERMS defined in stackinfo.h.
35171 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35172 * sysdeps/ia64/stackinfo.h: Likewise.
35173 * sysdeps/s390/stackinfo.h: Likewise.
35174 * sysdeps/sh/stackinfo.h: Likewise.
35175 * sysdeps/sparc/stackinfo.h: Likewise.
35176 * sysdeps/x86_64/stackinfo.h: Likewise.
35177 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35178 PF_X for powerpc64. Retain PF_X for powerpc32.
35179
35180 2010-12-19 Ulrich Drepper <drepper@gmail.com>
35181
35182 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35183 accurately.
35184 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35185 GETDENTS_64BIT_ALIGNED.
35186
35187 2010-12-14 Ulrich Drepper <dreper@gmail.com>
35188
35189 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35190
35191 2010-12-10 Andreas Schwab <schwab@redhat.com>
35192
35193 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35194 _GNU_SOURCE.
35195
35196 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35197 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35198 Remove __restrict.
35199 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35200 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35201
35202 2010-12-09 Ulrich Drepper <drepper@gmail.com>
35203
35204 [BZ #11655]
35205 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35206 are initialized.
35207
35208 2010-12-09 Jakub Jelinek <jakub@redhat.com>
35209
35210 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35211
35212 2010-12-03 Ulrich Drepper <drepper@gmail.com>
35213
35214 * po/it.po: Update from translation team.
35215
35216 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35217
35218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35219 unused codes.
35220
35221 2010-11-30 Ulrich Drepper <drepper@gmail.com>
35222
35223 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35224
35225 2010-11-24 Andreas Schwab <schwab@redhat.com>
35226
35227 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35228 specially.
35229 (gaih_getanswer_slice): Likewise.
35230
35231 2010-10-20 Jakub Jelinek <jakub@redhat.com>
35232
35233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35234
35235 2010-05-31 Petr Baudis <pasky@suse.cz>
35236
35237 [BZ #11149]
35238 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35239 silently even in the chroot mode.
35240
35241 2010-11-22 Ulrich Drepper <drepper@gmail.com>
35242
35243 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35244 last patch a bit. Pretty printing
35245
35246 2010-05-31 Petr Baudis <pasky@suse.cz>
35247
35248 [BZ #10085]
35249 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35250 initialization of skip_initgroups_dyn.
35251
35252 2010-11-19 Ulrich Drepper <drepper@gmail.com>
35253
35254 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35255 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35256
35257 2010-11-16 Ulrich Drepper <drepper@gmail.com>
35258
35259 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35260
35261 2010-11-11 Andreas Schwab <schwab@redhat.com>
35262
35263 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35264 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35265 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35266 ($(objpfx)tst-fnmatch-mem): New rule.
35267 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35268 * posix/tst-fnmatch.c (main): Call mtrace.
35269
35270 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35271
35272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35273 Support Intel processor model 6 and model 0x2c.
35274
35275 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
35276
35277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35278 signed comparison.
35279
35280 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35281
35282 [BZ #12205]
35283 * string/test-strncasecmp.c (check_result): New function.
35284 (do_one_test): Use it.
35285 (check1): New function.
35286 (test_main): Use it.
35287 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35288 Support strcasecmp and strncasecmp.
35289
35290 2010-11-08 Ulrich Drepper <drepper@gmail.com>
35291
35292 [BZ #12194]
35293 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35294 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35295
35296 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35297
35298 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35299 IFUNC support.
35300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35301 memset-x86-64.
35302 * sysdeps/x86_64/multiarch/bzero.S: New file.
35303 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35304 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35305 * sysdeps/x86_64/multiarch/memset.S: New file.
35306 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35308 Set bit_Prefer_SSE_for_memop for Intel processors.
35309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35310 Define.
35311 (index_Prefer_SSE_for_memop): Define.
35312 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35313
35314 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35315
35316 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35317 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35318
35319 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35320
35321 [BZ #12191]
35322 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35323 (__x86_64_raw_data_cache_size_half): Likewise.
35324 (__x86_64_raw_shared_cache_size): Likewise.
35325 (__x86_64_raw_shared_cache_size_half): Likewise.
35326
35327 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35328 (__x86_64_raw_data_cache_size_half): Likewise.
35329 (__x86_64_raw_shared_cache_size): Likewise.
35330 (__x86_64_raw_shared_cache_size_half): Likewise.
35331 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35332 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35333 and __x86_64_raw_shared_cache_size_half. Round
35334 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35335 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35336 to multiple of 256 bytes.
35337
35338 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35339
35340 [BZ #12167]
35341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35342 of inacessible symlinks. Verify result of symlink before returning it.
35343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35344 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35345
35346 2010-10-28 Erich Ritz <erichritz@gmail.com>
35347
35348 * math/math.h (isinf): Fix typo in comment.
35349
35350 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35351
35352 * po/da.po: Update from translation team.
35353
35354 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35355
35356 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35357 is added to the list.
35358
35359 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35360 Ulrich Drepper <drepper@gmail.com>
35361
35362 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35363 the global list here. Move code to...
35364 (_dl_add_to_namespace_list): ...here. New function.
35365 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35366 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35367 * elf/dl-load.c (lose): Don't remove the element from the list.
35368 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35369 (_dl_map_object): Likewise.
35370
35371 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35372
35373 [BZ #12159]
35374 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35375 into all bytes of SSE register.
35376 Patch by Richard Li <richardpku@gmail.com>.
35377
35378 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35379
35380 [BZ #12140]
35381 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35382 perturbing.
35383
35384 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35385
35386 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35387 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35391 submachine.
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35393
35394 2010-10-22 Andreas Schwab <schwab@redhat.com>
35395
35396 * include/dlfcn.h (__RTLD_SECURE): Define.
35397 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35398 mode & __RTLD_SECURE instead.
35399 (open_path): Rename preloaded parameter to secure.
35400 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35401 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35402 * elf/dl-deps.c (openaux): Likewise.
35403 * elf/rtld.c (struct map_args): Remove is_preloaded.
35404 (map_doit): Don't use it.
35405 (dl_main): Likewise.
35406 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35407 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35408
35409 2010-09-09 Andreas Schwab <schwab@redhat.com>
35410
35411 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35412 (sysd-rules-targets): Remove duplicates.
35413 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35414 rtld-%.$o dependency.
35415
35416 2010-10-18 Andreas Schwab <schwab@redhat.com>
35417
35418 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35419 _dl_map_object do it.
35420
35421 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35422
35423 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35424 fast fma builtins, define the macros in the C99 standard.
35425 (FP_FAST_FMAF): Likewise.
35426 (FP_FAST_FMAL): Likewise.
35427 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35428
35429 * bits/mathdef.h: Update copyright year.
35430 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35431
35432 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35433
35434 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35435 builtins, define the macros in the C99 standard.
35436 (FP_FAST_FMAF): Likewise.
35437 (FP_FAST_FMAL): Likewise.
35438 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35439 multiply/add.
35440 (FP_FAST_FMAF): Likewise.
35441
35442 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35443
35444 [BZ #3268]
35445 * math/libm-test.inc (fma_test): Some new testcases.
35446 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35448 y and infinite z. Do multiplication by C already in long double.
35449 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35451 y and infinite z. Do bitwise or of inexact bit into u.d.
35452 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35453 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35454 * sysdeps/i386/fpu/s_fma.S: Removed.
35455 * sysdeps/i386/fpu/s_fmal.S: Removed.
35456
35457 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35458
35459 [BZ #3268]
35460 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35462 computation is not scheduled after fetestexcept. Fix value
35463 of minimum denormal long double.
35464
35465 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35466
35467 [BZ #3268]
35468 * math/libm-test.inc (fma_test): Add some more tests.
35469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35470 correctly.
35471
35472 2010-10-15 Andreas Schwab <schwab@redhat.com>
35473
35474 * scripts/data/localplt-s390-linux-gnu.data: New file.
35475 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35476
35477 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35478
35479 [BZ #3268]
35480 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35481 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35482 instead of dbl-64.
35483 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35484 inlines.
35485 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35487 if one of x and y is very large and the other is subnormal.
35488 * sysdeps/s390/fpu/s_fmaf.c: New file.
35489 * sysdeps/s390/fpu/s_fma.c: New file.
35490 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35491 * sysdeps/powerpc/fpu/s_fma.S: New file.
35492 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35493 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35494 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35495
35496 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35497
35498 [BZ #3268]
35499 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35500 fma tests.
35501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35502 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35503 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35504 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35505 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35506 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35508
35509 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35510
35511 [BZ #12078]
35512 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35513 * posix/bug-regex31.input: Add test case.
35514
35515 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35516
35517 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35518 * posix/bug-regex31.input: New file.
35519
35520 [BZ #12078]
35521 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35522 (parse_sub_exp): Fix last change, use postorder.
35523
35524 * posix/bug-regex31.c: New file.
35525 * posix/Makefile: Add rules to build and run bug-regex31.
35526
35527 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35528
35529 [BZ #12078]
35530 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35531
35532 [BZ #12108]
35533 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35534 to have entries in sys_siglist.
35535
35536 [BZ #12093]
35537 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35538 be NULL.
35539
35540 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35541
35542 [BZ #3268]
35543 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35544 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35545 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35546 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35547 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35548 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35549 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35550 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35551 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35552 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35553 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35554 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35555 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35556 * math/ftestexcept.c (fetestexcept): Likewise.
35557 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35558 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35559 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35560 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35561 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35562 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35563 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35564
35565 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35566
35567 [BZ #12107]
35568 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35569 newline.
35570
35571 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35572
35573 * string/bug-strstr1.c: New file.
35574 * string/Makefile: Add rules to build and run bug-strstr1.
35575
35576 2010-10-05 Eric Blake <eblake@redhat.com>
35577
35578 [BZ #12092]
35579 * string/str-two-way.h (two_way_long_needle): Always clear memory
35580 when skipping input due to the shift table.
35581
35582 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35583
35584 [BZ #12005]
35585 * malloc/mcheck.c: Handle large requests.
35586
35587 [BZ #12077]
35588 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35589 for strncmp and strncasecmp.
35590 * string/stratcliff.c: Add tests for strcmp and strncmp.
35591 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35592
35593 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35594
35595 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35596 __set_fpscr.
35597
35598 2010-09-30 Andreas Jaeger <aj@suse.de>
35599
35600 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35601 (CGROUP_SUPER_MAGIC): Define.
35602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35603 Handle btrfs and cgroup file systems.
35604 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35605 Likewise.
35606
35607 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35608
35609 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35610 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35611
35612 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35613
35614 [BZ #12067]
35615 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35616 trying to locate the ELF header.
35617
35618 2010-09-27 Andreas Schwab <schwab@redhat.com>
35619
35620 [BZ #11611]
35621 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35622 Mask out sign-bit copies when constructing f_fsid.
35623
35624 2010-09-24 Petr Baudis <pasky@suse.cz>
35625
35626 * debug/stack_chk_fail_local.c: Add missing licence exception.
35627 * debug/warning-nop.c: Likewise.
35628
35629 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35630
35631 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35632 implementing getdents64 using getdents syscall, set d_type if
35633 __ASSUME_GETDENTS32_D_TYPE.
35634
35635 2010-09-16 Andreas Schwab <schwab@redhat.com>
35636
35637 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35638 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35639
35640 2010-09-21 Ulrich Drepper <drepper@redhat.com>
35641
35642 [BZ #12037]
35643 * posix/unistd.h: Undo change of feature selection for ftruncate from
35644 2010-01-11.
35645
35646 2010-09-20 Ulrich Drepper <drepper@redhat.com>
35647
35648 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35649 detection.
35650
35651 2010-09-20 Andreas Schwab <schwab@redhat.com>
35652
35653 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35654 fanotify_mark.
35655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35656
35657 2010-09-14 Andreas Schwab <schwab@redhat.com>
35658
35659 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35660 variables after CHECK_SP call.
35661 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35662
35663 2010-09-13 Andreas Schwab <schwab@redhat.com>
35664 Ulrich Drepper <drepper@redhat.com>
35665
35666 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35667 re-relocationg ld.so.
35668 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35669 _dl_init_paths call.
35670 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35671 here anymore.
35672
35673 2010-09-14 Ulrich Drepper <drepper@redhat.com>
35674
35675 * resolv/res_init.c (__res_vinit): Count the default server we added.
35676
35677 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35678 Ulrich Drepper <drepper@redhat.com>
35679
35680 [BZ #11968]
35681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35682 (____longjmp_chk): Use %ebx for saving value across system call.
35683 Add unwind info.
35684
35685 2010-09-06 Andreas Schwab <schwab@redhat.com>
35686
35687 * manual/Makefile: Don't mix pattern rules with normal rules.
35688
35689 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35690
35691 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35692 operation.
35693 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35694 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35695 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35696 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35698 Likewise.
35699
35700 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35701
35702 [BZ #11979]
35703 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35704 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35705
35706 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35707
35708 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35709 * sysdeps/x86_64/addmul_1.S: Likewise.
35710 * sysdeps/x86_64/lshift.S: Likewise.
35711 * sysdeps/x86_64/mul_1.S: Likewise.
35712 * sysdeps/x86_64/rshift.S: Likewise.
35713 * sysdeps/x86_64/sub_n.S: Likewise.
35714 * sysdeps/x86_64/submul_1.S: Likewise.
35715
35716 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35717
35718 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35719 Define __sched_param instead of SCHED_* and sched_param when
35720 <bits/sched.h> is included with __need_schedparam defined.
35721 * bits/sched.h [__need_schedparam]
35722 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35723 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35724 (__defined_schedparam): Define to 1.
35725 (__sched_param): New structure, identical to sched_param.
35726 (__need_schedparam): Undefine.
35727
35728 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35729
35730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35731 (epoll_create1): Declare.
35732
35733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35734
35735 2010-08-31 Andreas Schwab <schwab@redhat.com>
35736
35737 [BZ #7066]
35738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35739 shifting retval into place.
35740
35741 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35742
35743 * nis/rpcsvc/nis.h: Update copyright notice.
35744 * nis/rpcsvc/nis.x: Likewise.
35745 * nis/rpcsvc/nis_callback.h: Likewise.
35746 * nis/rpcsvc/nis_callback.x: Likewise.
35747 * nis/rpcsvc/nis_object.x: Likewise.
35748 * nis/rpcsvc/nis_tags.h: Likewise.
35749 * nis/rpcsvc/yp.h: Likewise.
35750 * nis/rpcsvc/yp.x: Likewise.
35751 * nis/rpcsvc/ypupd.h: Likewise.
35752 * nis/yp_xdr.c: Likewise.
35753 * nis/ypupdate_xdr.c: Likewise.
35754
35755 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35756 mainly the body of pmap_getport. Add parameters to specify timeouts.
35757 (pmap_getport): Use __libc_rpc_getport.
35758 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35759 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35760 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35761
35762 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35763
35764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35765 fanotify_mark.
35766
35767 2010-08-27 Roland McGrath <roland@redhat.com>
35768
35769 * sysdeps/i386/i686/multiarch/Makefile
35770 (CFLAGS-varshift.c): New variable.
35771
35772 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35773
35774 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35775 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35776
35777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35778
35779 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35780
35781 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35782
35783 * sysdeps/x86_64/strlen.S: Unroll the loop.
35784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35785 strlen-sse2 strlen-sse2-bsf.
35786 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35787 __strlen_no_bsf if bit_Slow_BSF is set.
35788 (__strlen_sse42): Removed.
35789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35790 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35791
35792 2010-08-25 Roland McGrath <roland@redhat.com>
35793
35794 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35795 * sysdeps/x86_64/multiarch/varshift.c: New file.
35796 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35797 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35798 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35799 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35800
35801 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35802
35803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35804 strlen-sse2 strlen-sse2-bsf.
35805 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35806 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35807 (__strlen_sse2): Removed.
35808 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35809 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35811 bit_Slow_BSF for Atom.
35812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35813 (index_Slow_BSF): Define.
35814 (HAS_SLOW_BSF): Define.
35815
35816 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35817
35818 [BZ #10851]
35819 * resolv/res_init.c (__res_vinit): When no server address at all
35820 is given default to loopback.
35821
35822 2010-08-24 Roland McGrath <roland@redhat.com>
35823
35824 * configure.in: Remove config-name.h generation.
35825 * configure: Regenerated.
35826 * config-name.in: File removed.
35827 * scripts/config-uname.sh: New file.
35828 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35829 ($(objdir)config-name.h): New target.
35830
35831 * sunrpc/rpc_parse.h: Avoid nested comment.
35832
35833 2010-08-24 Richard Henderson <rth@redhat.com>
35834 Ulrich Drepper <drepper@redhat.com>
35835 H.J. Lu <hongjiu.lu@intel.com>
35836
35837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35839 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35840 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35841 _mm_alignr_epi8 with _mm_loadu_si128.
35842 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35843 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35844 (__m128i_shift_right): Removed.
35845 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35846 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35847 * sysdeps/x86_64/multiarch/varshift.h: New file.
35848 * sysdeps/x86_64/multiarch/varshift.S: New file.
35849
35850 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35851
35852 * configure.in: Move assembler checks to before sysdep dir checking.
35853
35854 2010-08-20 Petr Baudis <pasky@suse.cz>
35855
35856 * LICENSES: Sync the sunrpc license.
35857
35858 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35859
35860 * sunrpc/auth_des.c: Update copyright notice once again.
35861 * sunrpc/auth_none.c: Likewise.
35862 * sunrpc/auth_unix.c: Likewise.
35863 * sunrpc/authdes_prot.c: Likewise.
35864 * sunrpc/authuxprot.c: Likewise.
35865 * sunrpc/bindrsvprt.c: Likewise.
35866 * sunrpc/clnt_gen.c: Likewise.
35867 * sunrpc/clnt_perr.c: Likewise.
35868 * sunrpc/clnt_raw.c: Likewise.
35869 * sunrpc/clnt_simp.c: Likewise.
35870 * sunrpc/clnt_tcp.c: Likewise.
35871 * sunrpc/clnt_udp.c: Likewise.
35872 * sunrpc/clnt_unix.c: Likewise.
35873 * sunrpc/des_crypt.c: Likewise.
35874 * sunrpc/des_soft.c: Likewise.
35875 * sunrpc/get_myaddr.c: Likewise.
35876 * sunrpc/getrpcport.c: Likewise.
35877 * sunrpc/key_call.c: Likewise.
35878 * sunrpc/key_prot.c: Likewise.
35879 * sunrpc/openchild.c: Likewise.
35880 * sunrpc/pm_getmaps.c: Likewise.
35881 * sunrpc/pm_getport.c: Likewise.
35882 * sunrpc/pmap_clnt.c: Likewise.
35883 * sunrpc/pmap_prot.c: Likewise.
35884 * sunrpc/pmap_prot2.c: Likewise.
35885 * sunrpc/pmap_rmt.c: Likewise.
35886 * sunrpc/rpc/auth.h: Likewise.
35887 * sunrpc/rpc/auth_unix.h: Likewise.
35888 * sunrpc/rpc/clnt.h: Likewise.
35889 * sunrpc/rpc/des_crypt.h: Likewise.
35890 * sunrpc/rpc/key_prot.h: Likewise.
35891 * sunrpc/rpc/netdb.h: Likewise.
35892 * sunrpc/rpc/pmap_clnt.h: Likewise.
35893 * sunrpc/rpc/pmap_prot.h: Likewise.
35894 * sunrpc/rpc/pmap_rmt.h: Likewise.
35895 * sunrpc/rpc/rpc.h: Likewise.
35896 * sunrpc/rpc/rpc_des.h: Likewise.
35897 * sunrpc/rpc/rpc_msg.h: Likewise.
35898 * sunrpc/rpc/svc.h: Likewise.
35899 * sunrpc/rpc/svc_auth.h: Likewise.
35900 * sunrpc/rpc/types.h: Likewise.
35901 * sunrpc/rpc/xdr.h: Likewise.
35902 * sunrpc/rpc_clntout.c: Likewise.
35903 * sunrpc/rpc_cmsg.c: Likewise.
35904 * sunrpc/rpc_common.c: Likewise.
35905 * sunrpc/rpc_cout.c: Likewise.
35906 * sunrpc/rpc_dtable.c: Likewise.
35907 * sunrpc/rpc_hout.c: Likewise.
35908 * sunrpc/rpc_main.c: Likewise.
35909 * sunrpc/rpc_parse.c: Likewise.
35910 * sunrpc/rpc_parse.h: Likewise.
35911 * sunrpc/rpc_prot.c: Likewise.
35912 * sunrpc/rpc_sample.c: Likewise.
35913 * sunrpc/rpc_scan.c: Likewise.
35914 * sunrpc/rpc_scan.h: Likewise.
35915 * sunrpc/rpc_svcout.c: Likewise.
35916 * sunrpc/rpc_tblout.c: Likewise.
35917 * sunrpc/rpc_util.c: Likewise.
35918 * sunrpc/rpc_util.h: Likewise.
35919 * sunrpc/rpcinfo.c: Likewise.
35920 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35921 * sunrpc/rpcsvc/key_prot.x: Likewise.
35922 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35923 * sunrpc/rpcsvc/mount.x: Likewise.
35924 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35925 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35926 * sunrpc/rpcsvc/rex.x: Likewise.
35927 * sunrpc/rpcsvc/rstat.x: Likewise.
35928 * sunrpc/rpcsvc/rusers.x: Likewise.
35929 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35930 * sunrpc/rpcsvc/spray.x: Likewise.
35931 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35932 * sunrpc/rtime.c: Likewise.
35933 * sunrpc/svc.c: Likewise.
35934 * sunrpc/svc_auth.c: Likewise.
35935 * sunrpc/svc_authux.c: Likewise.
35936 * sunrpc/svc_raw.c: Likewise.
35937 * sunrpc/svc_run.c: Likewise.
35938 * sunrpc/svc_simple.c: Likewise.
35939 * sunrpc/svc_tcp.c: Likewise.
35940 * sunrpc/svc_udp.c: Likewise.
35941 * sunrpc/svc_unix.c: Likewise.
35942 * sunrpc/svcauth_des.c: Likewise.
35943 * sunrpc/xcrypt.c: Likewise.
35944 * sunrpc/xdr.c: Likewise.
35945 * sunrpc/xdr_array.c: Likewise.
35946 * sunrpc/xdr_float.c: Likewise.
35947 * sunrpc/xdr_mem.c: Likewise.
35948 * sunrpc/xdr_rec.c: Likewise.
35949 * sunrpc/xdr_ref.c: Likewise.
35950 * sunrpc/xdr_sizeof.c: Likewise.
35951 * sunrpc/xdr_stdio.c: Likewise.
35952
35953 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35954 handling.
35955
35956 2010-08-19 Andreas Schwab <schwab@redhat.com>
35957
35958 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35959
35960 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35961
35962 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35963 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35964 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35965 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35967 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35968 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35969 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35971 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35972 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35973 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35974 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35975 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35976
35977 2010-07-26 Anton Blanchard <anton@samba.org>
35978
35979 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35980 * malloc/arena.c (heap_trim): Likewise.
35981
35982 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35983
35984 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35985 here. Not...
35986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35987 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35988
35989 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35990
35991 * sysdeps/i386/elf/Makefile: New file.
35992
35993 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35994
35995 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35996 from fanotify_init.
35997 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35999
36000 2010-08-15 Ulrich Drepper <drepper@redhat.com>
36001
36002 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36003 of strncasecmp_l.
36004 * sysdeps/multiarch/strcmp.S: Likewise.
36005
36006 2010-08-14 Ulrich Drepper <drepper@redhat.com>
36007
36008 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36009 strncase_l-nonascii.
36010 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36011 Add strncase_l-ssse3.
36012 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36013 * sysdeps/x86_64/strcmp.S: Likewise.
36014 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36015 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36016 * sysdeps/x86_64/strncase.S: New file.
36017 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36018 * sysdeps/x86_64/strncase_l.S: New file.
36019 * string/Makefile (strop-tests): Add strncasecmp.
36020 * string/test-strncasecmp.c: New file.
36021
36022 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36023 warning.
36024
36025 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36026 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36027
36028 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36029
36030 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36031
36032 2010-08-12 Ulrich Drepper <drepper@redhat.com>
36033
36034 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36035 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36036 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36037
36038 2010-05-01 Alan Modra <amodra@gmail.com>
36039
36040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36041 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36042 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36043 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36044 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36045 tidying. Don't tail-call __sigjmp_save for static lib.
36046 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36047 save location.
36048 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36049 (CALL_MCOUNT): Add eh info, and nop after bl.
36050 (TAIL_CALL_SYSCALL_ERROR): New macro.
36051 (PSEUDO_RET): Use it.
36052 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36053 Correct save location of integer regs and cr.
36054 (_dl_profile_resolve): Correct cr save location. Delete nops
36055 after bl when SHARED. Reduce cfi size a little by better
36056 placement of cfi directives.
36057 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36058 make a stack frame. Instead use parm save area as a temp.
36059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36060 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36062 Don't make a stack frame for parent, use parm save area.
36063 Increase child stack frame to 112 bytes. Don't save unused reg,
36064 and adjust reg usage. Set up cfi on error recovery and
36065 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36067 (__makecontext): Add dummy nop after jump to exit.
36068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36069 Use correct parm save area and cr save, reduce stack frame.
36070 Correct cfi for possible PSEUDO_RET frame setup.
36071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36072 Branch to local label emitted by PSEUDO_RET rather than
36073 __syscall_error.
36074
36075 2010-08-12 Andreas Schwab <schwab@redhat.com>
36076
36077 [BZ #11904]
36078 * locale/programs/locale.c (print_assignment): New function.
36079 (show_locale_vars): Use it.
36080
36081 2010-08-11 Ulrich Drepper <drepper@redhat.com>
36082
36083 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36084 field.
36085 (struct statfs64): Likewise.
36086 (_STATFS_F_FLAGS): Define.
36087 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36088 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36089 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36090 (ST_VALID): Define locally.
36091 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36092 __statvfs_getflags, use the provided value.
36093 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36094 __ASSUME_STATFS_F_FLAGS.
36095
36096 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36097
36098 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36099 Add sys/fanotify.h.
36100 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36101 fanotify_mask for GLIBC_2.13.
36102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36103 fanotify_init and fanotify_mark.
36104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36105 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36106
36107 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36108 Add prlimit.
36109 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36110 prlimit64 for GLIBC_2.13.
36111 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36112 prlimit64.
36113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36114 syscall.
36115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36117 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36120 add prlimit alias.
36121 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36122
36123 [BZ #11903]
36124 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36125 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36126
36127 * nss/Makefile: Add rules to build and run tst-nss-test1.
36128 * shlib-versions: Add entry for libnss_test1.
36129 * nss/nss_test1.c: New file.
36130 * nss/tst-nss-test1.c: New file.
36131
36132 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36133 (__nss_configure_lookup): Set appropriate entry in
36134 __nss_configure_lookup to true.
36135 * nss/nsswitch.h: Define enum with indeces of databases in
36136 databases and __nss_database_custom arrays. Declare
36137 __nss_database_custom.
36138 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36139 to avoid using nscd when custom rules are installed.
36140 * nss/getXXbyYY_r.c: Likewise.
36141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36142
36143 * nss/nss_files/files-parse.c: Whitespace fixes.
36144
36145 2010-08-09 Ulrich Drepper <drepper@redhat.com>
36146
36147 [BZ #11883]
36148 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36149 * posix/fnmatch_loop.c: Likewise.
36150
36151 2010-07-17 Andi Kleen <ak@linux.intel.com>
36152
36153 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36154 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36155 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36156 * Versions.def [GLIBC_2.13]: Add.
36157
36158 2010-08-06 Ulrich Drepper <drepper@redhat.com>
36159
36160 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36161 Also fail if tpwd after pwuid call is NULL.
36162
36163 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36164
36165 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36166 when converting to ms.
36167
36168 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36169
36170 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36171 EOPNOTSUPP errors with ENOTTY.
36172 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36173 EOPNOTSUPP errors with ENOTTY.
36174
36175 2010-07-31 Ulrich Drepper <drepper@redhat.com>
36176
36177 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36178 Add strcasecmp_l-ssse3.
36179 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36180 strcasecmp.
36181 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36182 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36183 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36184
36185 2010-07-30 Ulrich Drepper <drepper@redhat.com>
36186
36187 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36188
36189 * string/Makefile (strop-tests): Add strcasecmp.
36190 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36191 strcasecmp_l-nonascii.
36192 (gen-as-const-headers): Add locale-defines.sym.
36193 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36194 * sysdeps/x86_64/strcasecmp.S: New file.
36195 * sysdeps/x86_64/strcasecmp_l.S: New file.
36196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36197 * sysdeps/x86_64/locale-defines.sym: New file.
36198 * string/test-strcasecmp.c: New file.
36199
36200 * string/test-strcasestr.c: Test both ends of the range of characters.
36201 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36202
36203 2010-07-29 Roland McGrath <roland@redhat.com>
36204
36205 [BZ #11856]
36206 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36207
36208 2010-07-27 Ulrich Drepper <drepper@redhat.com>
36209
36210 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36211 for ld.so.
36212
36213 2010-07-27 Andreas Schwab <schwab@redhat.com>
36214
36215 * manual/memory.texi (Malloc Tunable Parameters): Document
36216 M_PERTURB.
36217
36218 2010-07-26 Roland McGrath <roland@redhat.com>
36219
36220 [BZ #11840]
36221 * configure.in (-fgnu89-inline check): Set and substitute
36222 gnu89_inline, not libc_cv_gnu89_inline.
36223 * configure: Regenerated.
36224 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36225
36226 2010-07-26 Ulrich Drepper <drepper@redhat.com>
36227
36228 * string/test-strnlen.c: New file.
36229 * string/Makefile (strop-tests): Add strnlen.
36230 * string/tester.c (test_strnlen): Add a few more test cases.
36231 * string/tst-strlen.c: Better error reporting.
36232
36233 * sysdeps/x86_64/strnlen.S: New file.
36234
36235 2010-07-24 Ulrich Drepper <drepper@redhat.com>
36236
36237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36238 lower-latency instructions.
36239
36240 2010-07-23 Ulrich Drepper <drepper@redhat.com>
36241
36242 * string/test-strcasestr.c: New file.
36243 * string/test-strstr.c: New file.
36244 * string/Makefile (strop-tests): Add strstr and strcasestr.
36245 * string/str-two-way.h: Don't undefine MAX.
36246 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36247
36248 2010-07-21 Andreas Schwab <schwab@redhat.com>
36249
36250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36251 strcasestr-nonascii.
36252 (CFLAGS-strcasestr-nonascii.c): Define.
36253 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36254 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36255 Remove unused attribute.
36256
36257 2010-07-20 Roland McGrath <roland@redhat.com>
36258
36259 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36260 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36261 ld.so.cache was broken. With it, there is no way to disable dsocaps
36262 like LD_HWCAP_MASK can disable hwcaps.
36263
36264 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36265
36266 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36267
36268 2010-07-16 Ulrich Drepper <drepper@redhat.com>
36269
36270 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36271 call in strcasestr.
36272 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36273 __strcasestr_sse42_nonascii.
36274 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36275 strcasestr-nonascii.c.
36276 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36277
36278 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
36279
36280 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36281 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36284
36285 2010-07-09 Ulrich Drepper <drepper@redhat.com>
36286
36287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36288 fcntl.
36289
36290 2010-07-06 Andreas Schwab <schwab@redhat.com>
36291
36292 [BZ #11577]
36293 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36294 dl_signal_cerror.
36295
36296 2010-07-06 Ulrich Drepper <drepper@redhat.com>
36297
36298 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36299 _PC_PIPE_BUF using F_GETPIPE_SZ.
36300
36301 2010-07-05 Roland McGrath <roland@redhat.com>
36302
36303 * manual/arith.texi (Rounding Functions): Fix rint description
36304 implicit in round description.
36305
36306 2010-07-02 Ulrich Drepper <drepper@redhat.com>
36307
36308 * elf/Makefile: Fix linking for a few tests to make recent linker
36309 happy.
36310
36311 2010-06-30 Andreas Schwab <schwab@redhat.com>
36312
36313 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36314 $(common-objpfx)libc_nonshared.a.
36315
36316 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36317
36318 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36319 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36320 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36321 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36322 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36323 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36324 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36325 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36340 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36341 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36342 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36343 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36344 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36345 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36346 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36347 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36348 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36349 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36350 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36351 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36366
36367 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36368
36369 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36370 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36371 * string/memmove.c (memmove): Renamed to ...
36372 (MEMMOVE): ...this. Default to memmove.
36373 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36374 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36375 (END_CHK): Define.
36376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36377 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36378 mempcpy-ssse3-back memmove-ssse3-back.
36379 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36382 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36383 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36384 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36385 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36386 * sysdeps/x86_64/multiarch/memmove.c: New file.
36387 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36388 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36389 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36390 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36391 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36392 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36393 Define.
36394 (index_Fast_Copy_Backward): Define.
36395 (HAS_ARCH_FEATURE): Define.
36396 (HAS_FAST_REP_STRING): Define.
36397 (HAS_FAST_COPY_BACKWARD): Define.
36398
36399 2010-06-21 Andreas Schwab <schwab@redhat.com>
36400
36401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36402 Restore proper fallback handling.
36403
36404 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36405
36406 [BZ #11701]
36407 * posix/group_member.c (__group_member): Correct checking loop.
36408
36409 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36410 OOM in getpwuid_r correctly. Return error number when the caller
36411 should return, otherwise -1.
36412 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36413 call returning > 0 value.
36414 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36415
36416 2010-06-07 Andreas Schwab <schwab@redhat.com>
36417
36418 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36419 libc_nonshared.a from targets in modules-names.
36420
36421 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36422
36423 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36424 requires it.
36425
36426 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36427
36428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36429 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36432
36433 2010-06-02 Andreas Schwab <schwab@redhat.com>
36434
36435 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36436
36437 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36438
36439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36440 and F_GETPIPE_SZ.
36441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36445 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36447
36448 2010-06-14 Roland McGrath <roland@redhat.com>
36449
36450 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36451
36452 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36453
36454 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36455 __REDIRECT followed by __THROW.
36456 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36457 * posix/getopt.h (getopt): Likewise.
36458
36459 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36460
36461 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36462 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36463 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36464 in AT_FLAGS.
36465 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36466 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36467
36468 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36469
36470 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36471
36472 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36473
36474 [BZ #11640]
36475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36476 Properly check family and model.
36477
36478 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36479
36480 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36481
36482 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36483
36484 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36485
36486 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36487
36488 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36489 symbol reference.
36490
36491 2010-05-19 Andreas Schwab <schwab@redhat.com>
36492
36493 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36494 symbol reference.
36495
36496 2010-05-21 Andreas Schwab <schwab@redhat.com>
36497
36498 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36499 and internal_recvmmsg.
36500 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36501 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36502 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36503 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36504
36505 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36506 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36507 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36508
36509 2010-05-20 Andreas Schwab <schwab@redhat.com>
36510
36511 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36512
36513 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36514
36515 POWER7 optimizations.
36516 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36517 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36518
36519 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36520
36521 * version.h: Update for 2.13 development version.
36522
36523 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36524
36525 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36526 exceptions. Return 0.
36527
36528 2010-05-07 Roland McGrath <roland@redhat.com>
36529
36530 * elf/ldconfig.c (main): Add a const.
36531
36532 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36533
36534 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36535 (args_options): Add no-idn option.
36536 (ahosts_keys_int): Add idn_flags to ai_flags.
36537 (parse_option): Handle 'i' option to clear idn_flags.
36538
36539 * malloc/malloc.c (_int_free): Possible race in the most recently
36540 added check. Only act on the data if no current modification
36541 happened.
36542
36543 See ChangeLog.17 for earlier changes.
This page took 1.449323 seconds and 6 git commands to generate.