1 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3 * stdio-common/vfprintf.c: Replace __builtin_expect with
6 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/generic/bp-sym.h: Remove file.
10 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12 <bp-sym.h> and <bp-asm.h>.
13 (__longjmp): Don't use BP_SYM.
14 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16 (memcpy): Don't use BP_SYM.
17 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18 <bp-sym.h> and <bp-asm.h>.
19 (memcpy): Don't use BP_SYM.
20 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22 (memcpy): Don't use BP_SYM.
23 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25 (memset): Don't use BP_SYM.
26 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28 (__bzero): Don't use BP_SYM.
29 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32 <bp-sym.h> and <bp-asm.h>.
33 (memcmp): Don't use BP_SYM. Remove comment about bounded
35 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36 <bp-sym.h> and <bp-asm.h>.
37 (memcpy): Don't use BP_SYM.
38 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39 <bp-sym.h> and <bp-asm.h>.
40 (memset): Don't use BP_SYM.
41 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43 (__bzero): Don't use BP_SYM.
44 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47 <bp-sym.h> and <bp-asm.h>.
48 (strncmp): Don't use BP_SYM. Remove comment about bounded
50 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51 <bp-sym.h> and <bp-asm.h>.
52 (memcpy): Don't use BP_SYM.
53 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54 <bp-sym.h> and <bp-asm.h>.
55 (memset): Don't use BP_SYM.
56 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58 (__bzero): Don't use BP_SYM.
59 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62 <bp-sym.h> and <bp-asm.h>.
63 (__memchr): Don't use BP_SYM.
64 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65 <bp-sym.h> and <bp-asm.h>.
66 (memcmp): Don't use BP_SYM. Remove comment about bounded
68 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69 <bp-sym.h> and <bp-asm.h>.
70 (memcpy): Don't use BP_SYM.
71 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
72 <bp-sym.h> and <bp-asm.h>.
73 (__mempcpy): Don't use BP_SYM.
74 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
75 <bp-sym.h> and <bp-asm.h>.
76 (__memrchr): Don't use BP_SYM.
77 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
78 <bp-sym.h> and <bp-asm.h>.
79 (memset): Don't use BP_SYM.
81 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
82 <bp-sym.h> and <bp-asm.h>.
83 (__rawmemchr): Don't use BP_SYM.
84 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
85 <bp-sym.h> and <bp-asm.h>.
86 (__STRCMP): Don't use BP_SYM.
87 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
88 <bp-sym.h> and <bp-asm.h>.
89 (strchr): Don't use BP_SYM.
90 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
91 <bp-sym.h> and <bp-asm.h>.
92 (__strchrnul): Don't use BP_SYM.
93 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
94 <bp-sym.h> and <bp-asm.h>.
95 (strlen): Don't use BP_SYM.
96 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
97 <bp-sym.h> and <bp-asm.h>.
98 (strncmp): Don't use BP_SYM. Remove comment about bounded
100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
101 <bp-sym.h> and <bp-asm.h>.
102 (__strnlen): Don't use BP_SYM.
103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
104 <bp-sym.h> and <bp-asm.h>.
105 (__GI__setjmp): Don't use BP_SYM.
107 (__sigsetjmp): Likewise.
108 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
109 (L(start_addresses)): Don't use BP_SYM.
111 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
113 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
114 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
115 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
116 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
117 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
119 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
120 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
121 about bounded pointers.
122 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
123 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
124 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
126 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
127 about bounded pointers. Remove GKM FIXME comments.
128 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
129 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
131 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
132 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
133 Remove GKM FIXME comments.
134 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
135 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
136 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
138 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
139 about bounded pointers. Remove GKM FIXME comment.
140 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
142 (strncmp): Don't use BP_SYM. Remove comment about bounded
144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
145 <bp-sym.h> and <bp-asm.h>.
146 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
148 <bp-sym.h> and <bp-asm.h>.
149 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
152 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
154 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
157 2013-03-05 David S. Miller <davem@davemloft.net>
159 * po/es.po: Update from translation team.
161 2013-03-05 Andreas Jaeger <aj@suse.de>
163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
168 <bits/mman-linux.h> to end of file.
169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
172 <bits/mman-linux.h> to end of file.
173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
176 <bits/mman-linux.h> to end of file.
178 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
179 (MCL_CURRENT, MCL_FUTURE): Define here.
181 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
187 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
189 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
190 fourth parameter needed for rt_sigprocmask syscall.
191 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
194 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
196 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
198 2013-03-04 Joseph Myers <joseph@codesourcery.com>
201 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
202 comment about bounded pointers.
203 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
204 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
206 2013-03-04 Andreas Jaeger <aj@suse.de>
208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
212 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
213 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
218 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
222 __ieee754_sqrl instead of __sqrl.
224 2013-03-01 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
227 * sysdeps/powerpc/fpu_control.h: ... here.
228 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
229 * sysdeps/powerpc/bits/fenvinline.h: ... here.
230 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
231 * sysdeps/powerpc/bits/mathinline.h: ... here.
233 2013-03-01 Roland McGrath <roland@hack.frob.com>
235 * elf/dl-hwcaps.c (_dl_important_hwcaps):
236 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
237 to just [NEED_DL_SYSINFO_DSO].
238 * elf/dl-support.c: Likewise.
239 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
240 * elf/rtld.c (dl_main): Likewise.
241 * elf/setup-vdso.h (setup_vdso): Likewise.
242 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
243 * sysdeps/unix/sysv/linux/dl-sysdep.c
244 (_dl_discover_osversion): Likewise.
246 2013-03-01 Carlos O'Donell <carlos@redhat.com>
248 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
249 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
251 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
253 * NEWS: Mention libm performance improvements and non-x86 PI
256 * csu/libc-start.c (__pthread_initialize_minimal): Change
258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
260 2013-02-28 Joseph Myers <joseph@codesourcery.com>
263 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
264 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
265 <bp-sym.h> and <bp-asm.h>.
266 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
269 (memcpy): Don't use BP_SYM.
270 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
272 (__mpn_add_n): Don't use BP_SYM.
273 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
274 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
276 (__mpn_addmul_1): Don't use BP_SYM.
277 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
278 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
280 (_setjmp): Don't use BP_SYM.
281 (__novmx_setjmp): Likewise.
282 (__GI__setjmp): Likewise.
283 (__vmx_setjmp): Likewise.
284 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
286 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
287 (__bzero): Don't use BP_SYM.
288 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
289 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
291 <bp-sym.h> and <bp-asm.h>.
292 (memcpy): Don't use BP_SYM.
293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
294 <bp-sym.h> and <bp-asm.h>.
295 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
297 <bp-sym.h> and <bp-asm.h>.
298 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
299 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
301 (__mpn_lshift): Don't use BP_SYM.
302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
303 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
305 (memset): Don't use BP_SYM.
306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
308 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
310 (__mpn_mul_1): Don't use BP_SYM.
311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
313 <bp-sym.h> and <bp-asm.h>.
314 (memcmp): Don't use BP_SYM.
315 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
316 <bp-sym.h> and <bp-asm.h>.
317 (memcpy): Don't use BP_SYM.
318 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
319 <bp-sym.h> and <bp-asm.h>.
320 (memset): Don't use BP_SYM.
321 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
322 <bp-sym.h> and <bp-asm.h>.
323 (strncmp): Don't use BP_SYM.
324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
325 <bp-sym.h> and <bp-asm.h>.
326 (memcpy): Don't use BP_SYM.
327 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
328 <bp-sym.h> and <bp-asm.h>.
329 (memset): Don't use BP_SYM.
330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
331 <bp-sym.h> and <bp-asm.h>.
332 (__memchr): Don't use BP_SYM.
333 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
334 <bp-sym.h> and <bp-asm.h>.
335 (memcmp): Don't use BP_SYM.
336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
337 <bp-sym.h> and <bp-asm.h>.
338 (memcpy): Don't use BP_SYM.
339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
340 <bp-sym.h> and <bp-asm.h>.
341 (__mempcpy): Don't use BP_SYM.
342 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
343 <bp-sym.h> and <bp-asm.h>.
344 (__memrchr): Don't use BP_SYM.
345 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
346 <bp-sym.h> and <bp-asm.h>.
347 (memset): Don't use BP_SYM.
348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
349 <bp-sym.h> and <bp-asm.h>.
350 (__rawmemchr): Don't use BP_SYM.
351 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
352 <bp-sym.h> and <bp-asm.h>.
353 (__STRCMP): Don't use BP_SYM.
354 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
355 <bp-sym.h> and <bp-asm.h>.
356 (strchr): Don't use BP_SYM.
357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (__strchrnul): Don't use BP_SYM.
360 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (strlen): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (strncmp): Don't use BP_SYM.
366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
367 <bp-sym.h> and <bp-asm.h>.
368 (__strnlen): Don't use BP_SYM.
369 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
371 (__mpn_rshift): Don't use BP_SYM.
372 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
373 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
374 <bp-sym.h> and <bp-asm.h>.
375 (__sigsetjmp): Don't use BP_SYM.
376 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
377 (L(start_addresses)): Don't use BP_SYM.
379 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
381 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
384 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
386 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
389 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
394 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
396 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
398 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
399 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
400 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
402 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
404 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
406 (strncmp): Don't use BP_SYM,
407 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
409 (__mpn_sub_n): Don't use BP_SYM.
410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
411 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
413 (__mpn_submul_1): Don't use BP_SYM.
414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
416 <bp-sym.h> and <bp-asm.h>.
417 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
419 <bp-sym.h> and <bp-asm.h>.
420 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
423 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
426 Use ZK to minimize writes to Z.
427 (sub_magnitudes): Simplify code a bit.
428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
429 Use ZK to minimize writes to Z.
430 (sub_magnitudes): Simplify code a bit.
432 2013-02-27 Roland McGrath <roland@hack.frob.com>
434 * csu/gmon-start.c: Add special exception to license text.
436 2013-02-27 Richard Henderson <rth@redhat.com>
438 * scripts/config.guess: Update from config.git.
439 * scripts/config.sub: Likewise.
441 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
445 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
447 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
449 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
451 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
453 2013-02-26 Roland McGrath <roland@hack.frob.com>
455 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
456 [$(build-shared = yes].
458 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
460 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
461 (__mul): Reduce iterations for calculating mantissa.
463 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
465 (__mpranred): Likewise.
468 * malloc/memusagestat.c (main): Draw graphs for heap and stack
469 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
471 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
473 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
474 Define __attribute__.
476 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
478 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
480 * posix/regex_internal.h (__attribute): Remove.
481 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
482 (re_string_context_at): Likewise.
483 (bitset_not): Use __attribute__ and mark function as possibly
485 (bitset_merge): Likewise.
486 (bitset_mask): Likewise.
487 (re_string_char_size_at): Likewise.
488 (re_string_wchar_at): Likewise.
489 (re_string_elem_size_at): Likewise.
491 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
497 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
502 (__dbl_mp): Likewise.
503 (add_magnitudes): Likewise.
504 (sub_magnitudes): Likewise.
508 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
511 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
514 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
518 up changes with default code.
519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
522 2013-02-24 Allan McRae <allan@archlinux.org>
524 * manual/socket.texi (The Internet Namespace): Order menu items
525 to match that in the file.
527 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
528 node listing of the info page menu.
530 2013-02-21 Joseph Myers <joseph@codesourcery.com>
533 * sysdeps/i386/bp-asm.h: Remove file.
534 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
535 (PARMS): Do not use macros from bp-asm.h.
539 (__mpn_add_n): Do not use BP_SYM
540 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
542 (PARMS): Do not use macros from bp-asm.h.
545 (__mpn_addmul_1): Do not use BP_SYM
546 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
548 (PARMS): Do not use macros from bp-asm.h.
550 (_setjmp): Likewise. Do not use BP_SYM.
551 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
553 (PARMS): Do not use macros from bp-asm.h.
555 (setjmp): Likewise. Do not use BP_SYM.
556 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
558 (PARMS): Do not use macros from bp-asm.h.
559 (__frexp): Do not use BP_SYM.
561 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
563 (PARMS): Do not use macros from bp-asm.h.
564 (__frexpf): Do not use BP_SYM.
566 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
568 (PARMS): Do not use macros from bp-asm.h.
569 (__frexpl): Do not use BP_SYM.
571 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
573 (PARMS): Do not use macros from bp-asm.h.
574 (__remquo): Do not use BP_SYM.
576 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
578 (PARMS): Do not use macros from bp-asm.h.
579 (__remquof): Do not use BP_SYM.
581 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
583 (PARMS): Do not use macros from bp-asm.h.
584 (__remquol): Do not use BP_SYM.
586 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
588 (PARMS): Do not use macros from bp-asm.h.
591 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
592 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
594 (PARMS): Do not use macros from bp-asm.h.
595 (strlen): Do not use BP_SYM.
596 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
598 (PARMS): Do not use macros from bp-asm.h.
602 (__mpn_add_n): Do not use BP_SYM.
603 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
605 (PARMS): Do not use macros from bp-asm.h.
608 (__mpn_addmul_1): Do not use BP_SYM.
609 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
612 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
614 (PARMS): Do not use macros from bp-asm.h.
617 (__mpn_lshift): Do not use BP_SYM.
618 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
620 (PARMS): Do not use macros from bp-asm.h.
624 (memcpy): Likewise. Do not use BP_SYM.
625 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
626 libc_hidden_def and weak_alias.
627 (mempcpy): Do not use BP_SYM in weak_alias.
628 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
630 (PARMS): Do not use macros from bp-asm.h.
633 [!BZERO_P] (CHR): Likewise.
634 (memset): Likewise. Do not use BP_SYM.
635 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
637 (PARMS): Do not use macros from bp-asm.h.
640 (__mpn_mul_1): Do not use BP_SYM.
641 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
643 (PARMS): Do not use macros from bp-asm.h.
646 (__mpn_rshift): Do not use BP_SYM.
647 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
649 (PARMS): Do not use macros from bp-asm.h.
652 (strchr): Likewise. Do not use BP_SYM.
653 (index): Do not use BP_SYM in weak_alias.
654 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
656 (PARMS): Do not use macros from bp-asm.h.
659 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
660 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
662 (PARMS): Do not use macros from bp-asm.h.
663 (strlen): Do not use BP_SYM.
664 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
666 (PARMS): Do not use macros from bp-asm.h.
670 (__mpn_sub_n): Do not use BP_SYM.
671 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
673 (PARMS): Do not use macros from bp-asm.h.
676 (__mpn_submul_1): Do not use BP_SYM.
677 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
679 (PARMS): Do not use macros from bp-asm.h.
683 (__mpn_add_n): Do not use BP_SYM.
684 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
687 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
689 (PARMS): Do not use macros from bp-asm.h.
692 (memcmp): Do not use BP_SYM.
693 (bcmp): Do not use BP_SYM in weak_alias.
694 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
696 (PARMS): Do not use macros from bp-asm.h.
700 (memcpy): Likewise. Do not use BP_SYM.
701 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
703 (PARMS): Do not use macros from bp-asm.h.
707 (memmove): Likewise. Do not use BP_SYM.
708 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
710 (PARMS): Do not use macros from bp-asm.h.
714 (__mempcpy): Likewise. Do not use BP_SYM.
715 (mempcpy): Do not use BP_SYM in weak_alias.
716 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
718 (PARMS): Do not use macros from bp-asm.h.
721 [!BZERO_P] (CHR): Likewise.
722 (memset): Likewise. Do not use BP_SYM.
723 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
725 (PARMS): Do not use macros from bp-asm.h.
727 (strcmp): Do not use BP_SYM.
728 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
730 (PARMS): Do not use macros from bp-asm.h.
733 [USE_AS_STRTOK_R] (SAVE): Likewise.
734 (FUNCTION): Likewise. Do not use BP_SYM.
735 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
737 (strtok_r): Likewise.
738 (__GI___strtok_r): Likewise.
739 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
740 (PARMS): Do not use macros from bp-asm.h.
743 (__mpn_lshift): Do not use BP_SYM.
744 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
745 (PARMS): Do not use macros from bp-asm.h.
748 (__memchr): Do not use BP_SYM.
749 (memchr): Do not use BP_SYM in weak_alias.
750 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
751 (PARMS): Do not use macros from bp-asm.h.
754 (memcmp): Do not use BP_SYM.
755 (bcmp): Do not use BP_SYM in weak_alias.
756 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
757 (PARMS): Do not use macros from bp-asm.h.
760 (__mpn_mul_1): Do not use BP_SYM.
761 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
763 (PARMS): Do not use macros from bp-asm.h.
766 (__rawmemchr): Do not use BP_SYM.
767 (rawmemchr): Do not use BP_SYM in weak_alias.
768 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
769 (PARMS): Do not use macros from bp-asm.h.
772 (__mpn_rshift): Do not use BP_SYM.
773 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
774 (PARMS): Do not use macros from bp-asm.h.
776 (__sigsetjmp): Likewise. Do not use BP_SYM.
777 * sysdeps/i386/start.S: Do not include "bp-sym.h".
778 (_start): Do not use BP_SYM.
779 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
780 (PARMS): Do not use macros from bp-asm.h.
783 (__stpcpy): Likewise. Do not use BP_SYM.
784 (stpcpy): Do not use BP_SYM in weak_alias.
785 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
787 (PARMS): Do not use macros from bp-asm.h.
791 (__stpncpy): Likewise. Do not use BP_SYM.
792 (stpncpy): Do not use BP_SYM in weak_alias.
793 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
794 (PARMS): Do not use macros from bp-asm.h.
797 (strchr): Likewise. Do not use BP_SYM.
798 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
800 (PARMS): Do not use macros from bp-asm.h.
803 (__strchrnul): Likewise. Do not use BP_SYM.
804 (strchrnul): Do not use BP_SYM in weak_alias.
805 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
807 (PARMS): Do not use macros from bp-asm.h.
809 (strcspn): Do not use BP_SYM.
810 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
812 (PARMS): Do not use macros from bp-asm.h.
815 (strpbrk): Likewise. Do not use BP_SYM.
816 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
818 (PARMS): Do not use macros from bp-asm.h.
821 (strrchr): Likewise. Do not use BP_SYM.
822 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
823 (PARMS): Do not use macros from bp-asm.h.
825 (strspn): Do not use BP_SYM.
826 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
827 (PARMS): Do not use macros from bp-asm.h.
831 (FUNCTION): Likewise. Do not use BP_SYM.
832 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
834 (strtok_r): Likewise.
835 (__GI___strtok_r): Likewise.
836 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
837 (PARMS): Do not use macros from bp-asm.h.
841 (__mpn_sub_n): Do not use BP_SYM.
842 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
844 (PARMS): Do not use macros from bp-asm.h.
847 (__mpn_submul_1): Do not use BP_SYM.
848 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
850 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
852 (PARMS): Do not use macros from bp-asm.h.
857 (__clone): Do not use BP_SYM.
858 (clone): Do not use BP_SYM in weak_alias.
859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
861 (PARMS): Do not use macros from bp-asm.h.
863 (__mmap64): Do not use BP_SYM.
864 (mmap64): Do not use BP_SYM in weak_alias.
865 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
866 <bp-sym.h> and <bp-asm.h>.
867 (PARMS): Do not use macros from bp-asm.h.
868 (__posix_fadvise64_l64): Do not use BP_SYM.
869 * sysdeps/unix/sysv/linux/i386/semtimedop.S
870 (PARMS): Do not use macros from bp-asm.h.
872 (semtimedop): Do not use BP_SYM.
873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
876 2013-02-21 Allan McRae <allan@archlinux.org>
878 * manual/message.texi (Charset conversion in gettext):
879 Move @end statement to beginning of line.
881 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
893 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
895 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
896 tail-call to the resolved function if pltexit isn't needed.
898 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
901 or Y being zero as being unlikely.
902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
905 2013-02-20 Carlos O'Donell <carlos@redhat.com>
907 * manual/nss.texi (System Databases and Name Service Switch):
908 Remove frobnicate @pxref.
910 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
913 __attribute__ ((unused)) to __attribute__ ((__unused__)).
915 2013-02-20 Petr Machata <pmachata@redhat.com>
917 * elf/elf.h (R_ARM_TARGET1): New macro.
918 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
919 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
920 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
921 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
922 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
923 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
924 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
925 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
926 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
927 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
928 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
929 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
930 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
931 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
932 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
933 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
934 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
935 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
936 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
937 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
938 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
939 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
940 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
941 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
942 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
943 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
944 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
945 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
946 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
947 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
948 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
949 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
950 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
951 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
952 (R_ARM_THM_GOT_BREL12): Likewise.
953 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
954 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
955 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
956 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
957 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
958 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
959 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
960 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
961 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
963 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
965 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
966 __attribute_used__ to __attribute__ ((unused)).
968 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
976 2013-02-19 Joseph Myers <joseph@codesourcery.com>
979 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
981 (ENTER): Remove both macro definitions.
983 (CHECK_BOUNDS_LOW): Likewise.
984 (CHECK_BOUNDS_HIGH): Likewise.
985 (CHECK_BOUNDS_BOTH): Likewise.
986 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
987 (RETURN_BOUNDED_POINTER): Likewise.
988 (RETURN_NULL_BOUNDED_POINTER): Likewise.
989 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
990 (POP_ERRNO_LOCATION_RETURN): Likewise.
991 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
993 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
995 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
996 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
997 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
998 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
999 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1000 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1001 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1002 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1003 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1004 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1005 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1006 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1007 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1008 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1011 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1014 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1015 * sysdeps/i386/i586/memset.S (memset): Likewise.
1016 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1017 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1018 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1021 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1022 Change uses of L(2) to L(out).
1023 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1024 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1025 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1027 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1030 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1032 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1033 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1034 (RETURN): Do not use macro LEAVE.
1035 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1036 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1037 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1038 * sysdeps/i386/i686/memset.S (memset): Likewise.
1039 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1040 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1042 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1044 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1045 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1046 L(1_2) and L(1_3) into L(1).
1047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1048 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1049 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1050 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1051 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1052 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1053 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1055 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1057 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1058 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1059 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1060 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1061 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1062 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1063 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1064 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1065 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1066 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1067 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1068 * sysdeps/i386/strspn.S (strspn): Likewise.
1069 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1072 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1073 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1074 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1076 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1078 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1080 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1082 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1084 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1087 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1089 * math/atest-exp.c (exp_mpn): Remove ROUND.
1090 * math/atest-exp2.c (exp_mpn): Likewise.
1091 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1093 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1094 * stdlib/tst-tls-atexit-lib.c: Likewise.
1095 * stdlib/tst-tls-atexit.c: Likewise.
1097 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1099 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1100 and __attribute_alloc_size__.
1102 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1104 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1105 __attribute_alloc_size__.
1106 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1107 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1109 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1111 * include/programs/xmalloc.h: New file.
1112 * catgets/gencat.c: Include it.
1113 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1114 * elf/pldd.c: Likewise.
1115 * iconv/iconv_charmap.c: Likewise.
1116 * iconv/iconvconfig.c: Likewise.
1117 * iconv/strtab.c: Likewise.
1118 * locale/programs/locale.c: Likewise.
1119 * locale/programs/localedef.h: Likewise.
1120 * locale/programs/simple-hash.c: Likewise.
1121 * nscd/nscd.h: Likewise.
1122 * nss/makedb.c: Likewise.
1123 * sysdeps/generic/ldconfig.h: Likewise.
1125 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1127 * Versions.def: Add GLIBC_2.18.
1128 * include/link.h (struct link_map): New member l_tls_dtor_count.
1129 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1130 (__call_tls_dtors): Likewise.
1131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1132 __cxa_thread_atexit_impl.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1149 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1150 (tests): Add test case tst-tls-atexit.
1151 (modules-names): Add shared library for tst-tls-atexit.
1152 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1153 (GLIBC_PRIVATE): Add __call_tls_dtors.
1154 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1156 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1157 * stdlib/tst-tls-atexit.c: New test case.
1158 * stdlib/tst-tls-atexit-lib.c: New test case.
1160 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1162 * elf/Versions (ld): Add _dl_find_dso_for_object.
1163 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1164 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1165 (dl_open_worker): Use _dl_find_dso_for_object.
1166 * elf/dl-sym.c (do_sym): Likewise.
1167 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1169 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1171 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1172 Syntactic changes only.
1173 (_dl_runtime_profile): Do a tail-call to the resolved function.
1175 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/x86_64/bp-asm.h: Remove file.
1179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1180 <bp-sym.h> and <bp-asm.h>.
1181 (__clone): Do not use BP_SYM.
1182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1183 <bp-sym.h> and <bp-asm.h>.
1184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1185 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1187 (_setjmp): Do not use BP_SYM.
1188 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1190 (setjmp): Do not use BP_SYM.
1191 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1193 (mempcpy): Do not use BP_SYM in weak_alias.
1194 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1196 (strchr): Do not use BP_SYM.
1197 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1199 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1200 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1201 (_start): Do not use BP_SYM.
1202 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1204 (strcat): Do not use BP_SYM.
1205 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1207 (STRCMP): Do not use BP_SYM.
1208 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1210 (STRCPY): Do not use BP_SYM.
1211 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1213 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1215 (FUNCTION): Do not use BP_SYM.
1216 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1218 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1220 2013-02-17 Andreas Jaeger <aj@suse.de>
1222 * time/Versions: Sort entries.
1223 * string/Versions: Likewise.
1224 * resolv/Versions: Likewise.
1225 * posix/Versions: Likewise.
1226 * iconv/Versions: Likewise.
1227 * elf/Versions: Likewise.
1228 * wcsmbs/Versions: Likewise.
1230 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1233 loop termination condition.
1235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1236 variable to calculate EZ.
1239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1240 the lower precision input.
1242 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1245 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1246 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1247 (run-via-rtld-prefix): Do not handle %-bp tests.
1248 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1249 (all-object-suffixes): Remove .ob.
1250 (bppfx): Remove variable.
1251 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1252 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1253 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1254 [$(build-bounded) = yes] (libtype.ob): Likewise.
1255 * Makerules (elide-routines.ob): Remove variable.
1256 (do-tests-clean): Do not handle *-bp.out.
1257 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1258 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1259 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1260 (tests): Do not include $(tests-bp.out).
1261 (xtests): Do not include $(xtests-bp.out).
1262 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1263 [$(build-bounded) = yes] ($(addprefix
1264 $(objpfx),$(binaries-bounded))): Remove rule.
1265 ($(objpfx)%-bp.out): Remove rule.
1266 * config.make.in (build-bounded): Remove variable.
1267 * crypt/Makefile [$(build-bounded) = yes]
1268 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1269 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1271 [$(build-bounded) = yes] (install-lib): Likewise.
1272 [$(build-bounded) = yes] (generated): Likewise.
1273 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1275 * intl/Makefile [$(build-bounded) = yes]
1276 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1277 * math/Makefile [$(build-bounded) = yes]
1278 ($(tests:%=$(objpfx)%-bp): Likewise.
1279 * misc/Makefile [$(build-bounded) = yes]
1280 ($(objpfx)tst-tsearch-bp): Likewise.
1281 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1282 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1284 * string/Makefile (o-objects.ob): Remove variable.
1285 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1286 (CFLAGS-.ob): Remove variable.
1287 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1289 both definitions of variable.
1290 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1291 (ASFLAGS-.ob): Remove variable.
1293 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1296 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1297 Remove __BOUNDED_POINTERS__ from condition.
1298 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1299 * string/bits/string2.h [!__NO_STRING_INLINES &&
1300 !__BOUNDED_POINTERS__]: Likewise.
1301 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1303 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1304 Remove conditional code.
1305 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1306 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1307 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1311 * csu/libc-start.c: Do not include <bp-sym.h>.
1312 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1313 * elf/dl-open.c: Do not include <bp-sym.h>.
1314 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1315 * math/fegetenv.c: Do not include <bp-sym.h>.
1316 (fegetenv): Do not use BP_SYM in versioned symbols.
1317 * nptl/sysdeps/pthread/bits/libc-lockP.h
1318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1321 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1323 (__pthread_mutex_destroy): Likewise.
1324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1325 (__pthread_mutex_lock): Likewise.
1326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1327 (__pthread_mutex_trylock): Likewise.
1328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1329 (__pthread_mutex_unlock): Likewise.
1330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1331 (__pthread_mutexattr_init): Likewise.
1332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1333 (__pthread_mutexattr_destroy): Likewise.
1334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1335 (__pthread_mutexattr_settype): Likewise.
1336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1337 (__pthread_rwlock_init): Likewise.
1338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1339 (__pthread_rwlock_destroy): Likewise.
1340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1341 (__pthread_rwlock_rdlock): Likewise.
1342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1343 (__pthread_rwlock_tryrdlock): Likewise.
1344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1345 (__pthread_rwlock_wrlock): Likewise.
1346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1347 (__pthread_rwlock_trywrlock): Likewise.
1348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1349 (__pthread_rwlock_unlock): Likewise.
1350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1351 (__pthread_key_create): Likewise.
1352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1353 (__pthread_setspecific): Likewise.
1354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1355 (__pthread_getspecific): Likewise.
1356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1359 (_pthread_cleanup_push_defer): Likewise.
1360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1361 (_pthread_cleanup_pop_restore): Likewise.
1362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1363 (pthread_setcancelstate): Likewise.
1364 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1366 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1367 (memchr): Do not use BP_SYM in weak_alias.
1368 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1369 (fegetenv): Do not use BP_SYM in versioned symbols.
1370 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1371 (fesetenv): Do not use BP_SYM in versioned symbols.
1372 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1373 (feupdateenv): Do not use BP_SYM in versioned symbols.
1374 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1375 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1376 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1377 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1378 (open64): Do not use BP_SYM in weak_alias.
1379 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1380 (fegetenv): Do not use BP_SYM in versioned symbols.
1381 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1382 (fesetenv): Do not use BP_SYM in versioned symbols.
1383 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1384 (feupdateenv): Do not use BP_SYM in versioned symbols.
1385 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1386 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1387 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1388 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1389 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1390 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1393 (__libc_start_main): Do not use BP_SYM.
1395 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1398 redundant return line.
1402 (sub_magnitudes): Likewise.
1408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1412 (sub_magnitudes): Likewise.
1419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1422 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1426 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1428 of __mul for squares.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1436 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1439 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1441 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1442 prototype or function definition. Rename ubp_* variables and
1443 parameters. Remove argv definitions conditional on
1444 [__BOUNDED_POINTERS__].
1445 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1446 * elf/dl-runtime.c (_dl_fixup): Likewise.
1447 * include/set-hooks.h (RUN_HOOK): Likewise.
1448 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1450 * string/strcpy.c (strcpy): Do not use __unbounded.
1451 * sysdeps/generic/frame.h (struct layout): Likewise.
1452 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1453 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1454 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1455 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1456 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1457 (__backtrace): Likewise.
1458 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1460 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1462 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1464 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1465 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1468 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1469 Do not use __unbounded.
1470 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1471 Rename __unboundedrlimits parameter to rlimits in prototype.
1472 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1473 Do not use __unbounded.
1474 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1476 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1477 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1478 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1480 __ptrvalue or __unbounded.
1481 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1482 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1484 (__new_msgctl): Do not use __ptrvalue.
1485 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1487 (__libc_msgrcv): Do not use __ptrvalue.
1488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1489 startup_info): Do not use __unbounded.
1490 (__libc_start_main): Likewise. Rename ubp_* variables and
1491 parameters. Remove argv definitions conditional on
1492 [__BOUNDED_POINTERS__].
1493 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1495 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1499 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1501 (__new_shmctl): Do not use __ptrvalue.
1502 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1503 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1505 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1507 (__libc_sigaction): Likewise.
1508 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1511 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1513 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1515 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1517 * string/mempcpy.c: Implement by calling memcpy.
1519 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1527 values in the mantissa.
1529 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1530 minimize writes to Z.
1531 (sub_magnitudes): Simplify code a bit.
1533 2013-02-12 Roland McGrath <roland@hack.frob.com>
1535 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1536 from the message. The linker prefixes all warnings with that already.
1538 2013-02-12 Andreas Schwab <schwab@suse.de>
1541 * posix/regexec.c (extend_buffers): Add parameter min_len.
1542 (check_matching): Pass minimum needed length.
1543 (clean_state_log_if_needed): Likewise.
1544 (get_subexp): Likewise.
1545 * posix/Makefile (tests): Add bug-regex34.
1546 (bug-regex34-ENV): Define.
1547 * posix/bug-regex34.c: New file.
1550 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1551 elements compare against the byte sequence of it, not its name.
1552 * posix/Makefile (tests): Add bug-regex35.
1553 (bug-regex35-ENV): Define.
1554 * posix/bug-regex35.c: New file.
1556 2013-02-11 Tom de Vries <tom@codesourcery.com>
1558 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1560 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1561 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1562 (CHECK_EOL): Add undef.
1564 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1566 * bits/stdlib-bsearch.h: New file.
1567 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1568 * stdlib/stdlib.h: Likewise.
1570 2013-02-11 Roland McGrath <roland@hack.frob.com>
1572 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1573 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1575 * manual/search.texi (Array Search Function): Add missing const in
1577 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1578 declaration to use rlim_t.
1579 (Basic Scheduling Functions): Remove erroneous const from
1580 sched_getparam prototype. Remove erroneous * from
1581 sched_get_priority_max and sched_get_priority_min prototypes.
1582 (Resource Usage): Fix summary @comment on vtimes to refer to
1583 sys/vtimes.h rather than vtimes.h.
1584 Add missing *s in vtimes prototype.
1585 (Limits on Resources): Fix ulimit prototype to return long int.
1586 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1587 prototypes to use long int rather than double.
1588 (BSD Random): Fix initstate and setstate to use char *, not void *.
1589 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1590 prototype to make second argument 'struct aiocb64 *const[]'.
1591 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1592 (Status of AIO Operations): Remove erroneous const in aio_return and
1593 aio_return64 prototypes.
1594 (Synchronizing I/O): Fix sync prototype to return void.
1595 * manual/startup.texi (Suboptions): Remove an erroneous const in
1596 getsubopt prototype.
1597 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1598 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1599 use size_t rather than int.
1600 (Scanning All Users): Likewise for getpwent_r.
1601 (Setting Groups): Add missing const to setgroups prototype.
1602 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1603 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1604 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1605 'const void *' rather than 'const char *'.
1606 (Host Address Functions): Likewise for inet_ntop.
1607 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1608 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1609 ssize_t for return value.
1610 (Sending Data): Likewise for send, sendto, sendmsg.
1611 (Socket Option Functions): Add a missing const in setsockopt prototype.
1612 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1613 use wchar_t for the argument.
1614 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1615 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1617 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1618 double/float/long double for second argument.
1619 Fix return types of significand, significandf, significandl.
1620 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1621 argument in fchmod prototype.
1622 (File Owner): Use uid_t and gid_t in fchown prototype.
1623 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1624 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1625 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1626 use 'const struct dirent **' as argument types to CMP function pointer
1628 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1629 (File Times): Fix summary magic @comment for struct utimbuf and utime
1630 to refer to utime.h, not time.h.
1631 * manual/string.texi (Argz Functions): Add missing const in
1632 argz_extract and argz_next prototypes.
1633 (Finding Tokens in a String): Likewise for basename.
1634 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1635 (Copying and Concatenation): Fix typo in wmemmove prototype.
1636 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1637 (Signal Stack): Remove erroneous const in sigstack prototype.
1638 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1640 (Simple Calendar Time): Likewise for stime.
1641 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1643 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1644 say sys/sysctl.h instead.
1645 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1646 and vsyslog prototypes.
1648 2013-02-11 Tom de Vries <tom@codesourcery.com>
1650 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1653 2013-02-11 Roland McGrath <roland@hack.frob.com>
1655 * misc/sys/mman.h: Fix typo in mremap comment.
1657 2013-02-08 Roland McGrath <roland@hack.frob.com>
1659 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1660 the '\0' terminator.
1662 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1665 * debug/segfault.c: Don't include <bp-checks.h>.
1666 * sysdeps/generic/bp-checks.h: Remove file.
1667 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1668 (__GETDENTS): Don't use CHECK_N.
1669 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1670 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1671 (__getgroups): Don't use CHECK_N.
1672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1673 (setgroups): Don't use CHECK_N.
1674 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1675 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1676 (__libc_msgrcv): Don't use CHECK_N.
1677 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1678 (__libc_msgsnd): Don't use CHECK_N.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1681 (__libc_pread): Don't use CHECK_N.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1683 include <bp-checks.h>.
1684 (__libc_pread64): Don't use CHECK_N.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1686 include <bp-checks.h>.
1687 (__libc_pwrite): Don't use CHECK_N.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1689 include <bp-checks.h>.
1690 (__libc_pwrite64): Don't use CHECK_N.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1693 (__libc_pread): Don't use CHECK_N.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1695 include <bp-checks.h>.
1696 (__libc_pread64): Don't use CHECK_N.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1698 include <bp-checks.h>.
1699 (__libc_pwrite): Don't use CHECK_N.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1701 include <bp-checks.h>.
1702 (__libc_pwrite64): Don't use CHECK_N.
1703 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1704 (do_pread): Don't use CHECK_N.
1705 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1706 (do_pread64): Don't use CHECK_N.
1707 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1708 (do_pwrite): Don't use CHECK_N.
1709 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1710 (do_pwrite64): Don't use CHECK_N.
1711 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1712 (__libc_readv): Don't use CHECK_N.
1713 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1714 (semop): Don't use CHECK_N.
1715 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1717 (semtimedop): Don't use CHECK_N.
1718 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1719 (__libc_pread): Don't use CHECK_N.
1720 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1722 (__libc_pread64): Don't use CHECK_N.
1723 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1725 (__libc_pwrite): Don't use CHECK_N.
1726 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1728 (__libc_pwrite64): Don't use CHECK_N.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1731 (__libc_msgrcv): Don't use CHECK_N.
1732 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1733 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1734 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1735 (__libc_writev): Don't use CHECK_N.
1737 2013-02-08 Roland McGrath <roland@hack.frob.com>
1739 * string/strcpy.c: Removed unused variable.
1741 * Makeconfig (+sysdep-includes): Define with := rather than =.
1742 Use an existing include/ subdir of each sysdeps dir before it.
1744 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1746 * nscd/connection.c (register_traced_file): Comment function.
1747 [HAVE_INOTIFY] (union __inev): Define.
1748 [HAVE_INOTIFY] (inotify_check_files): New function.
1749 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1750 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1752 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1754 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1756 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1757 loaded if not already and that a failure is permanent.
1759 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1762 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1763 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1765 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1768 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1769 (CHECK_1_NULL_OK): Likewise.
1770 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1771 (__fxstat): Do not use CHECK_1.
1772 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1774 (___fxstat64): Do not use CHECK_1.
1775 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1777 (__fxstatat): Do not use CHECK_1.
1778 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1780 (__fxstatat64): Do not use CHECK_1.
1781 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1783 (__fxstat): Do not use CHECK_1.
1784 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1786 (__fxstatat): Do not use CHECK_1.
1787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1789 (__getresgid): Do not use CHECK_1.
1790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1792 (__getresuid): Do not use CHECK_1.
1793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1795 (__lxstat): Do not use CHECK_1.
1796 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1798 (__old_msgctl): Do not use CHECK_1.
1799 (__new_msgctl): Likewise.
1800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1802 (__new_setrlimit): Do not use CHECK_1.
1803 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1805 (__old_shmctl): Do not use CHECK_1.
1806 (__new_shmctl): Likewise.
1807 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1809 (__xstat): Do not use CHECK_1.
1810 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1811 (__lxstat): Do not use CHECK_1.
1812 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1814 (___lxstat64): Do not use CHECK_1.
1815 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1816 (__old_msgctl): Do not use CHECK_1.
1817 (__new_msgctl): Likewise.
1818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1820 (__gettimeofday): Do not use CHECK_1.
1821 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1822 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1825 (__gettimeofday): Do not use CHECK_1.
1826 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1827 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1828 (__new_shmctl): Do not use CHECK_1.
1829 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1831 (do_sigtimedwait): Do not use CHECK_1.
1832 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1834 (do_sigwaitinfo): Do not use CHECK_1.
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1837 (msgctl): Do not use CHECK_1.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1840 (shmctl): Do not use CHECK_1.
1841 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1842 (ustat): Do not use CHECK_1.
1843 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1845 (__fxstat): Do not use CHECK_1.
1846 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1848 (__fxstatat): Do not use CHECK_1.
1849 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1851 (__lxstat): Do not use CHECK_1.
1852 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1854 (__xstat): Do not use CHECK_1.
1855 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1856 (__xstat): Do not use CHECK_1.
1857 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1858 (___xstat64): Do not use CHECK_1.
1861 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1863 (CHECK_BOUNDS_HIGH): Likewise.
1864 * string/strcpy.c: Do not include <bp-checks.h>.
1865 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1867 2013-02-07 Roland McGrath <roland@hack.frob.com>
1869 * nscd/nscd-client.h (__nscd_drop_map_ref):
1870 Add __attribute__ ((unused)).
1871 * nis/nss-nisplus.h (niserr2nss): Likewise.
1873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1874 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1876 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1877 Remove inline keyword.
1878 * include/rounding-mode.h (round_away): Likewise.
1879 * libio/wfileops.c (adjust_wide_data): Likewise.
1880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1881 (__m128i_strloadu_tolower): Likewise.
1882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1883 (__m128i_strloadu_tolower): Likewise.
1884 * time/mktime.c (ydhms_diff): Likewise.
1885 * locale/elem-hash.h (elem_hash): Likewise.
1886 * locale/setlocale.c (setdata): Likewise.
1887 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1888 (re_string_wchar_at): Likewise.
1889 (bitset_not, bitset_merge, bitset_mask): Likewise.
1890 [!(__GNUC__ > 3)] (inline): Remove macro.
1891 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1892 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1893 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1894 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1895 * string/memcmp.c (memcmp_bytes): Likewise.
1896 * locale/programs/locarchive.c (compute_hashval): Likewise.
1897 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1899 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1900 * nss/getent.c (print_rpc, print_protocols): Likewise.
1901 (print_passwd, print_group, print_aliases): Likewise.
1902 * nis/nss-nisplus.h (niserr2nss): Likewise.
1903 * nscd/connections.c (restart_p): Likewise.
1904 Change return type to bool.
1906 2013-02-05 Roland McGrath <roland@hack.frob.com>
1908 * Makeconfig (all-Depend-files): Add existing
1909 $(sorted-subdirs:=/Depend) files.
1910 (all-subdirs): Remove nss.
1911 * sysdeps/unix/inet/Subdirs: Add it here instead.
1912 * hesiod/Depend: New file.
1914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1915 instead of calling alloca.
1917 * io/lseek.c (__lseek): Rename to __libc_lseek.
1918 Define __lseek as an alias.
1920 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1922 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1924 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1925 else clause and remove check for non-standard endianness.
1927 2013-02-04 David S. Miller <davem@davemloft.net>
1929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1931 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1934 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1935 (__ubp_memchr): Remove prototype.
1936 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1937 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1938 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1939 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1940 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1942 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1943 (__ubp_memchr): Likewise.
1944 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1945 (__ubp_memchr): Likewise.
1946 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1947 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1948 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1949 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1951 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1952 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1953 (__getcwd): Do not use CHECK_STRING.
1954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1956 (__real_chown): Do not use CHECK_STRING.
1957 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1959 (fchownat): Do not use CHECK_STRING.
1960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1964 (__lchown): Do not use CHECK_STRING.
1965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1966 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1967 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1968 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1970 include <bp-checks.h>.
1971 (truncate64): Do not use CHECK_STRING.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1974 (__real_chown): Do not use CHECK_STRING.
1975 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1977 (__lchown): Do not use CHECK_STRING.
1978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1980 (__chown): Do not use CHECK_STRING.
1981 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1983 (truncate64): Do not use CHECK_STRING.
1984 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1986 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1987 (__xmknod): Do not use CHECK_STRING.
1988 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1990 (__xmknodat): Do not use CHECK_STRING.
1991 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1992 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1994 2013-02-04 Andreas Schwab <schwab@suse.de>
1997 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1998 * include/netdb.h: Likewise for h_errno.
1999 * elf/tst-stackguard1.c: Include <tls.h>.
2001 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2003 * elf/link.h (struct link_map): Extend the l_addr comment.
2004 * include/link.h (struct link_map): Likewise.
2006 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2009 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2010 (BOUNDED_1): Remove macro.
2011 * debug/backtrace.c: Don't include <bp-checks.h>.
2012 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2013 (__backtrace): Likewise.
2014 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2016 (__backtrace): Don't use BOUNDED_1.
2017 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2019 (__backtrace): Don't use BOUNDED_1.
2020 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2021 (__backtrace): Don't use BOUNDED_1.
2022 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2023 (shmat): Don't use BOUNDED_N.
2025 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2028 * sysdeps/generic/bp-start.h: Remove file.
2029 * csu/libc-start.c: Don't include <bp-start.h>.
2030 (LIBC_START_MAIN): Set up __environ directly instead of using
2031 INIT_ARGV_and_ENVIRON.
2032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2036 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2038 (CHECK_FCNTL): Likewise.
2039 (CHECK_N_PAGES): Likewise.
2042 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2044 (CHECK_SIGSET_NULL_OK): Likewise.
2045 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2047 (sigpending): Don't use CHECK_SIGSET.
2048 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2050 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2051 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2053 (do_sigsuspend): Don't use CHECK_SIGSET.
2054 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2056 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2057 (do_sigwait): Don't use CHECK_SIGSET.
2058 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2061 include <bp-checks.h>.
2062 (sigpending): Don't use CHECK_SIGSET.
2063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2064 include <bp-checks.h>.
2065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2066 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2068 (sigpending): Don't use CHECK_SIGSET.
2069 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2071 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2074 * sysdeps/generic/bp-semctl.h: Remove file.
2075 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2076 <bp-checks.h> and <bp-semctl.h>.
2077 (__old_semctl): Don't use CHECK_SEMCTL.
2078 (__new_semctl): Likewise.
2079 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2081 (__old_semctl): Don't use CHECK_SEMCTL.
2082 (__new_semctl): Likewise.
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2084 <bp-checks.h> and <bp-semctl.h>.
2085 (__old_semctl): Don't use CHECK_SEMCTL.
2086 (__new_semctl): Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2088 <bp-checks.h> and <bp-semctl.h>.
2089 (semctl): Don't use CHECK_SEMCTL.
2092 * Makerules (elide-bp-thunks): Remove variable.
2093 (elide-routines.oS): Don't use $(elide-bp-thunks).
2094 (elide-routines.os): Likewise.
2095 (elide-routines.o): Likewise.
2096 (elide-routines.op): Likewise.
2097 (elide-routines.og): Likewise.
2098 (objects): Don't use $(bp-thunks).
2099 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2101 (common-generated): Do not add s-proto-bp.d.
2102 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2105 Do not generate makefile rules for bounded-pointer thunks.
2106 * sysdeps/generic/bp-thunks.h: Remove file.
2107 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2108 * sysdeps/unix/s-proto-bp.S: Likewise.
2111 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2112 parts of result separately when argument is not close to line from
2113 -i to i and one part of argument is small.
2114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2116 * math/libm-test.inc (cacos_test): Add more tests.
2117 (casin_test): Likewise.
2118 (casinh_test): Likewise.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122 2013-01-31 David S. Miller <davem@davemloft.net>
2124 * po/de.po: Update from translation team.
2126 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2128 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2130 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2132 * configure.in (_AC_PROG_CC_C89): New definition.
2133 * configure: Regenerate.
2135 * configure.in (AC_PROG_CPP): New definition.
2136 * configure: Regenerate.
2138 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2140 * debug/tst-backtrace.h: New file.
2141 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2142 (ret): Remove variable.
2144 (FAIL): Remove macro.
2145 (NO_INLINE): Likewise.
2146 (fn1): Use match function instead of strstr.
2147 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2148 (ret): Remove variable.
2150 (FAIL): Remove macro.
2151 (NO_INLINE): Likewise.
2152 (fn): Use match function instead of strstr.
2153 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2154 (ret): Remove variable.
2156 (FAIL): Remove macro.
2157 (NO_INLINE): Likewise.
2158 (handle_signal): Use match function instead of strstr.
2159 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2160 (ret): Remove variable.
2162 (FAIL): Remove macro.
2163 (NO_INLINE): Likewise.
2164 (handle_signal): Use match function instead of strstr.
2166 2013-01-23 Roland McGrath <roland@hack.frob.com>
2168 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2170 2013-01-23 David S. Miller <davem@davemloft.net>
2172 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2173 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2174 argument of CAS if possible.
2175 * sysdeps/sparc/sparc64/bits/atomic.h
2176 (__arch_compare_and_exchange_val_32_acq): Likewise.
2177 (__arch_compare_and_exchange_val_64_acq): Likewise.
2179 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2181 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2182 * sysdeps/posix/ulimit.c: ... this.
2184 * sysdeps/unix/bsd/ulimit.c: Remove file.
2186 2013-01-23 Adam Conrad <adconrad@0c3.net>
2188 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2189 (LDFLAGS-tst-array5): Likewise.
2191 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2194 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2195 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2196 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2199 2013-01-21 David S. Miller <davem@davemloft.net>
2201 * sysdeps/sparc/backtrace.c: New file.
2202 * sysdeps/sparc/sparc32/backtrace.h: New file.
2203 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2204 * sysdeps/sparc/sparc64/backtrace.h: New file.
2205 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2206 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2209 2013-01-21 Andreas Schwab <schwab@suse.de>
2212 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2215 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2221 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2222 Mark Mitchell <mark@codesourcery.com>
2223 Tom de Vries <tom@codesourcery.com>
2224 Paul Pluzhnikov <ppluzhnikov@google.com>
2226 * debug/tst-backtrace2.c: New file.
2227 * debug/tst-backtrace3.c: Likewise.
2228 * debug/tst-backtrace4.c: Likewise.
2229 * debug/tst-backtrace5.c: Likewise.
2230 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2231 (CFLAGS-tst-backtrace3.c): Likewise.
2232 (CFLAGS-tst-backtrace4.c): Likewise.
2233 (CFLAGS-tst-backtrace5.c): Likewise.
2234 (LDFLAGS-tst-backtrace2): Likewise.
2235 (LDFLAGS-tst-backtrace3): Likewise.
2236 (LDFLAGS-tst-backtrace4): Likewise.
2237 (LDFLAGS-tst-backtrace5): Likewise.
2238 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2239 tst-backtrace4 and tst-backtrace5.
2241 2013-01-18 Anton Blanchard <anton@samba.org>
2242 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2245 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2247 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2249 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2250 "+r" and remove output regs list as redundant. Add explicit inline
2251 asm to specify register of return val to work around compiler codegen
2252 bug. Remove (int) cast on return value. Add return type parameter to
2253 use in macro so that this macro does not truncate return value for
2255 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2256 pass to INTERNAL_VSYSCALL_NCS.
2257 (INLINE_VSYSCALL): Add 'long int' as return type to
2258 INTERNAL_VSYSCALL_NCS macro invocation.
2259 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2260 INTERNAL_VSYSCALL_NCS macro invocation.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2263 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2266 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2267 Fix application of SIMD FP exception mask.
2269 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2270 mp_no from a power of two.
2271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2272 __mpexp_twomm1. Use __pow_mp.
2274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2277 2013-01-17 David S. Miller <davem@davemloft.net>
2279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2281 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2284 * include/complex.h: Condition contents on [!_COMPLEX_H].
2285 (__kernel_casinhf): New prototype.
2286 (__kernel_casinh): Likewise.
2287 (__kernel_casinhl): Likewise.
2288 * math/Makefile (libm_calls): Add k_casinh.
2289 * math/k_casinh.c: New file.
2290 * math/k_casinhf.c: Likewise.
2291 * math/k_casinhl.c: Likewise.
2292 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2293 finite nonzero arguments.
2294 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2295 finite nonzero arguments.
2296 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2297 finite nonzero arguments.
2298 * math/s_casinh.c: Do not include <float.h>.
2299 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2300 * math/s_casinhf.c: Do not include <float.h>.
2301 (__casinhf): Move code for finite nonzero arguments to
2303 * math/s_casinhl.c: Do not include <float.h>.
2304 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2306 (__casinhl): Move code for finite nonzero arguments to
2308 * math/libm-test.inc (cacos_test): Add more tests.
2309 * sysdeps/i386/fpu/libm-test-ulps: Update.
2310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2312 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2314 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2315 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2316 [!HAVE_MREMAP]: Remove [defined linux] case.
2317 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2319 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2321 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2323 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2325 * elf/elf.h (R_386_SIZE32): New relocation.
2326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2328 (elf_machine_rela): Likewise.
2329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2330 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2332 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2334 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2335 (FP_FAST_FMA): Do not define.
2336 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2337 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2338 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2339 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2340 !_SOFT_FLOAT]: Likewise.
2341 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2345 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2348 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2349 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2352 2013-01-16 Andreas Schwab <schwab@suse.de>
2355 * include/stdlib.h (__mktemp): Add declaration.
2356 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2357 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2359 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2361 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2364 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2365 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2368 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2372 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2373 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2376 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2377 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2381 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2383 2013-01-15 David S. Miller <davem@davemloft.net>
2385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2386 trunc{,f} to libm-sysdep_routes.
2387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2399 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2401 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2402 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2405 nearbyint{,f} to libm-sysdep_routes.
2406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2423 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2424 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2427 libc_feholdexcept and libc_fesetenv.
2429 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2431 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2433 2013-01-14 David S. Miller <davem@davemloft.net>
2435 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2436 (SPARC_ASM_VIS2_IFUNC): Likewise.
2437 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2439 use of 'siam' instruction.
2440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2473 routines to libm-sysdep_routines.
2474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2477 fdim/fdimf to libm-sysdep_routines.
2478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2486 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2487 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2489 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2491 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2496 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2501 local variable MPTWO.
2502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2505 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2507 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2510 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2512 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2514 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2516 * manual/pattern.texi (glob_t): Document gl_flags.
2517 (glob64_t): Likewise.
2519 2013-01-11 David S. Miller <davem@davemloft.net>
2521 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2522 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2523 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2524 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2525 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2526 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2527 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2528 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2529 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2530 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2532 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2533 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2535 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2536 sparc V9 rather than using V8 code.
2537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2545 2013-01-11 Roland McGrath <roland@hack.frob.com>
2547 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2548 not in the main loop.
2549 * configure: Regenerated.
2551 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2553 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2554 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2556 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2557 [!__GLIBC_HAVE_LONG_LONG] case.
2558 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2559 condition to just #else.
2560 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2561 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2562 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2563 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2565 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2566 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2567 #elif condition to just #else.
2568 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2569 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2570 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2571 #elif condition to just #else.
2573 2013-01-11 Steve Ellcey <sellcey@mips.com>
2575 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2576 (EF_MIPS_ARCH_64): Fix value.
2577 (EF_MIPS_ARCH_32R2): New.
2578 (EF_MIPS_ARCH_64R2): New.
2580 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2582 * Makeconfig (+link-pie-before-libc): New.
2583 (+link-pie-after-libc): Likewise.
2584 (+link-pie-tests): Likewise.
2585 (+link-pie): Rewritten.
2586 (link-before-libc): Remove $(config-LDFLAGS).
2587 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2588 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2589 (config-LDFLAGS): Renamed to ...
2590 (rtld-LDFLAGS): This.
2591 (rtld-tests-LDFLAGS): New macro.
2592 (link-libc-rpath-link): Likewise.
2593 (link-libc-tests-rpath-link): Likewise.
2594 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2595 (link-libc): Prepand $(link-libc-rpath-link).
2596 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2597 (test-program-prefix): New macro.
2598 (test-via-rtld-prefix): Likewise.
2599 (test-program-cmd): Likewise.
2600 (host-test-program-cmd): Likewise.
2601 * Makefile ($(common-objpfx)testrun.sh): Replace
2602 $(run-program-prefix) with $(test-program-prefix).
2603 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2605 ($(common-objpfx)shlib.lds): Likewise.
2606 (build-module-helper): Likewise.
2607 ($(common-objpfx)format.lds): Likewise.
2608 * Rules (binaries-pie-tests): New.
2609 (binaries-pie-notests): Likewise.
2610 (binaries-pie): Rewritten.
2611 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2612 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2613 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2614 (make-test-out): Replace $(host-built-program-cmd) with
2615 $(host-test-program-cmd).
2616 * config.make.in (build-hardcoded-path-in-tests): New variable.
2617 * configure.in (--enable-hardcoded-path-in-tests): New configure
2619 (hardcoded_path_in_tests): New AC_SUBST.
2620 * configure: Regenerated.
2621 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2622 $(built-program-cmd) with $(test-program-cmd).
2623 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2624 (test_program_cmd): This.
2625 * elf/Makefile ($(objpfx)order.out): Run test with
2626 $(test-program-prefix).
2627 ($(objpfx)order2.out): Likewise.
2628 ($(objpfx)tst-initorder.out): Likewise.
2629 ($(objpfx)tst-initorder2.out): Likewise.
2630 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2631 $(test-program-cmd).
2632 ($(objpfx)tst-array1-static.out): Likewise.
2633 ($(objpfx)tst-array2.out): Likewise.
2634 ($(objpfx)tst-array3.out): Likewise.
2635 ($(objpfx)tst-array4.out): Likewise.
2636 ($(objpfx)tst-array5.out): Likewise.
2637 ($(objpfx)tst-array5-static.out): Likewise.
2638 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2639 $(test-program-cmd).
2640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2641 $(run-program-prefix) with $(test-program-prefix).
2642 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2643 (test_program_prefix): This.
2644 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2645 $(run-program-prefix) with $(test-program-prefix).
2646 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2647 (test_program_prefix): This.
2648 * iconvdata/tst-tables.sh: Likewise.
2649 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2650 $(run-program-prefix) with $(test-program-prefix).
2651 ($(objpfx)tst-translit.out): Likewise.
2652 ($(objpfx)tst-gettext2.out): Likewise.
2653 ($(objpfx)tst-gettext4.out): Likewise.
2654 ($(objpfx)tst-gettext6.out): Likewise.
2655 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2656 (test_program_prefix): This.
2657 * intl/tst-gettext2.sh: Likewise.
2658 * intl/tst-gettext4.sh Likewise.
2659 * intl/tst-gettext6.sh: Likewise.
2660 * intl/tst-translit.sh: Likewise.
2661 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2662 with $(test-program-cmd).
2663 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2664 $(run-program-prefix) with $(test-program-prefix).
2665 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2666 (test_program_prefix): This.
2667 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2668 $(run-program-prefix) with $(test-program-prefix).
2669 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2670 (test_program_prefix): This.
2671 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2672 * posix/Makefile ($(objpfx)globtest.out): Replace
2673 $(run-via-rtld-prefix) and $(test-wrapper) with
2674 $(test-program-prefix) and $(test-via-rtld-prefix).
2675 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2676 $(test-program-prefix).
2677 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2678 $(host-test-program-cmd).
2679 (tst-spawn-ARGS): Likewise.
2680 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2681 $(test-program-prefix).
2682 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2683 (test_via_rtld_prefix): This.
2684 (test_wrapper): Renamed to ...
2685 (test_program_prefix): This.
2686 (run_program_prefix): Replaced by test_program_prefix.
2687 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2688 (test_program_prefix): This.
2689 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2690 with $(host-test-program-cmd).
2691 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2692 $(run-program-prefix) with $(test-program-prefix).
2693 ($(objpfx)tst-printf.out): Likewise.
2694 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2695 $(test-program-cmd).
2696 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2697 (test_program_prefix): This.
2698 * stdio-common/tst-unbputc.sh: Likewise.
2699 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2700 $(run-program-prefix) with $(test-program-prefix).
2701 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2702 (test_program_prefix): This.
2703 * string/Makefile ($(objpfx)tst-svc.out): Replace
2704 $(built-program-cmd) with $(test-program-cmd).
2706 2013-01-11 Andreas Jaeger <aj@suse.de>
2709 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2710 value. Sync with Linux 3.7.
2712 2013-01-10 David S. Miller <davem@davemloft.net>
2714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2715 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2716 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2718 2013-01-10 Roland McGrath <roland@hack.frob.com>
2720 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2722 * configure: Regenerated.
2724 2013-01-10 David S. Miller <davem@davemloft.net>
2726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2727 sparc V9 rather than using V8 code.
2728 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2729 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2731 2013-01-10 Roland McGrath <roland@hack.frob.com>
2733 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2734 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2735 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2736 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2737 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2738 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2739 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2740 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2741 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2742 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2743 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2744 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2745 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2746 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2747 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2748 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2749 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2750 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2751 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2752 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2753 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2754 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2755 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2756 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2757 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2758 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2759 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2761 2013-01-10 David S. Miller <davem@davemloft.net>
2763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2765 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2767 * posix/Makefile (tests-static): New variable.
2768 (tests): Add $(tests-static).
2769 (tst-exec-static-ARGS): New variable.
2770 (tst-spawn-static-ARGS): Likewise.
2771 * posix/tst-exec-static.c: New file.
2772 * posix/tst-spawn-static.c: Likewise.
2773 * posix/tst-exec.c: Support run directly.
2774 * posix/tst-spawn.c: Likewise.
2776 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2778 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2780 * math/bits/mathcalls.h (llrint): Likewise.
2781 (llround): Likewise.
2782 * stdlib/stdlib.h (struct drand48_data): Likewise.
2783 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2784 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2785 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2787 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2789 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2790 (elf_greg_t): Likewise.
2791 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2792 (__jmp_buf): Likewise.
2793 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2795 (llrint): Likewise, for all definitions.
2796 (llrintl): Likewise.
2798 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2799 Remove [__GNUC__] condition.
2800 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2801 condition to just [__USE_ISOC99].
2802 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2804 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2807 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2808 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2810 (_POSIX_V6_ILP32_OFF32): Likewise.
2811 (_XBS5_ILP32_OFF32): Likewise.
2812 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2813 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2815 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2817 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2820 doubles __mpexp_twomm1. Adjust usage.
2821 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2824 2013-01-10 Andreas Schwab <schwab@suse.de>
2827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2828 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2830 2013-01-09 David S. Miller <davem@davemloft.net>
2833 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2834 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2835 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2836 TCP_FASTOPEN): Define.
2837 (tcp_repair_opt): New structure.
2838 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2840 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2841 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2842 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2843 (tcp_cookie_transactions): New structure.
2845 2013-01-09 Anton Blanchard <anton@samba.org>
2847 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2852 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2854 * include/features.h (__USE_ANSI): Remove.
2856 2013-01-09 Roland McGrath <roland@hack.frob.com>
2858 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2860 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2862 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2864 * sysdeps/s390/fpu/libm-test-ulps: Update.
2866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2868 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2873 (__mp_dbl): Likewise.
2874 (__dbl_mp): Likewise.
2875 (add_magnitudes): Likewise.
2876 (sub_magnitudes): Likewise.
2882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2887 (__mp_dbl): Likewise.
2888 (__dbl_mp): Likewise.
2889 (add_magnitudes): Likewise.
2890 (sub_magnitudes): Likewise.
2896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2901 (__mp_dbl): Likewise.
2902 (__dbl_mp): Likewise.
2903 (add_magnitudes): Likewise.
2904 (sub_magnitudes): Likewise.
2911 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2913 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2914 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2915 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2916 2 && __USE_EXTERN_INLINES]: Likewise.
2918 2013-01-08 Andreas Jaeger <aj@suse.de>
2921 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2923 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2924 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2926 2013-01-07 Anton Blanchard <anton@samba.org>
2928 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2929 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2930 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2931 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2932 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2933 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2934 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2935 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2942 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2946 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2951 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2955 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2958 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2961 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2962 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2972 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2974 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2975 (__MALLOC_PMT): Likewise.
2976 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2977 [__GNUC__], only on [_LIBC].
2978 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2979 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2980 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2981 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2982 forward declaration.
2983 (realloc_hook_ini): Likewise.
2984 (memalign_hook_ini): Likewise.
2985 (__libc_memalign): Do not use __MALLOC_PMT in variable
2987 (__libc_valloc): Likewise.
2988 (__libc_pvalloc): Likewise.
2989 (__libc_calloc): Likewise.
2990 (__posix_memalign): Likewise.
2993 * math/s_casinh.c: Include <float.h>.
2994 (__casinh): Do not do computation with squaring and square root
2995 for large arguments.
2996 * math/s_casinhf.c: Include <float.h>.
2997 (__casinhf): Do not do computation with squaring and square root
2998 for large arguments.
2999 * math/s_casinhl.c: Include <float.h>.
3000 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3001 (__casinhl): Do not do computation with squaring and square root
3002 for large arguments.
3003 * math/libm-test.inc (casin_test): Add more tests.
3004 (casinh_test): Likewise.
3005 * sysdeps/i386/fpu/libm-test-ulps: Update.
3006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3008 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3011 (__x86_64_raw_data_cache_size): Likewise.
3012 (__x86_64_data_cache_size_half): Likewise.
3013 (__x86_64_raw_data_cache_size_half): Likewise.
3014 (__x86_64_shared_cache_size): Likewise.
3015 (__x86_64_raw_shared_cache_size): Likewise.
3016 (__x86_64_shared_cache_size_half): Likewise.
3017 (__x86_64_raw_shared_cache_size_half): Likewise.
3018 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3020 (__x86_data_cache_size): This.
3021 (__x86_64_raw_data_cache_size): Renamed to ...
3022 (__x86_raw_data_cache_size): This.
3023 (__x86_64_data_cache_size_half): Renamed to ...
3024 (__x86_data_cache_size_half): This.
3025 (__x86_64_raw_data_cache_size_half): Renamed to ...
3026 (__x86_raw_data_cache_size_half): This.
3027 (__x86_64_shared_cache_size): Renamed to ...
3028 (__x86_shared_cache_size): This.
3029 (__x86_64_raw_shared_cache_size): Renamed to ...
3030 (__x86_raw_shared_cache_size): This.
3031 (__x86_64_shared_cache_size_half): Renamed to ...
3032 (__x86_shared_cache_size_half): This.
3033 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3034 (__x86_raw_shared_cache_size_half): This.
3035 * sysdeps/x86_64/memcpy.S: Updated.
3036 * sysdeps/x86_64/memset.S: Likewise.
3037 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3041 2013-01-04 David S. Miller <davem@davemloft.net>
3043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3045 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3047 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3048 1 to avoid redefinition warning.
3049 (__USE_GNU): Don't define.
3050 (init_signaling_nan): Protoize.
3052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3054 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3056 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3058 (__cpymn): Likewise.
3059 (norm): Remove commented code.
3061 (__mp_dbl): Likewise.
3063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3064 (__cpymn): Likewise.
3065 (norm): Remove commented code.
3067 (__mp_dbl): Likewise.
3070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3071 mp_no value for 1.0 and 2.0.
3072 (norm): Use RADIXI instead of radixi.d.
3074 (__mul): Use 0.0 instead of zero.d.
3075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3076 mp_no value for 1.0 and 2.0.
3077 (norm): Use RADIXI instead of radixi.d.
3079 (__mul): Use 0.0 instead of zero.d.
3081 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3084 * math/s_casinh.c (__casinh): Reduce finite argument to first
3085 quadrant then set signs of results at the end.
3086 * math/s_casinhf.c (__casinhf): Likewise.
3087 * math/s_casinhl.c (__casinhl): Likewise.
3088 * math/libm-test.inc (casin_test): Add more tests.
3089 (casinh_test): Likewise.
3090 * sysdeps/i386/fpu/libm-test-ulps: Update.
3091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3095 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3097 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3099 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3102 (__mp_dbl): Likewise.
3105 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3106 and adjust the header comment.
3108 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3109 variable name from declaration.
3111 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3114 Initialize COMMON_CPUID_INDEX_7 element.
3115 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3116 (CPUID_RTM): Likewise.
3117 (HAS_RTM): Likewise.
3118 (COMMON_CPUID_INDEX_7): New enum.
3120 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3123 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3124 size is zero, record memory as freed.
3126 2013-01-03 Andreas Jaeger <aj@suse.de>
3128 * po/ia.po: Add new Interlingua translation.
3130 2012-01-03 Allan McRae <allan@archlinux.org>
3132 * locale/programs/localedef.c: Fix description of '--posix' flag.
3134 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3136 * NEWS: Update dates in second copyright notice.
3137 * README: Update copyright dates in example.
3138 * manual/libc.texinfo: Update copyright dates.
3139 * scripts/test-installation.pl: Update copyright date in --version
3142 * hurd/ctty-input.c: Fix copyright notice formatting.
3143 * hurd/ctty-output.c: Likewise.
3144 * hurd/dtable.c: Likewise.
3145 * hurd/hurd-raise.c: Likewise.
3146 * hurd/hurdprio.c: Likewise.
3147 * hurd/msgportdemux.c: Likewise.
3148 * misc/sys/file.h: Likewise.
3149 * misc/sys/ioctl.h: Likewise.
3150 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3151 * sysdeps/mach/hurd/chdir.c: Likewise.
3152 * sysdeps/mach/hurd/fchdir.c: Likewise.
3153 * sysdeps/mach/hurd/rename.c: Likewise.
3154 * sysdeps/mach/hurd/rmdir.c: Likewise.
3155 * sysdeps/mach/hurd/seekdir.c: Likewise.
3156 * sysdeps/mach/hurd/setsid.c: Likewise.
3157 * sysdeps/posix/wait3.c: Likewise.
3159 * All files with FSF copyright notices: Update copyright dates
3160 using scripts/update-copyrights.
3161 * intl/plural.c: Regenerated.
3162 * locale/programs/charmap-kw.h: Likewise.
3163 * locale/programs/locfile-kw.h: Likewise.
3165 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3167 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3170 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3171 calculation loop and add branch prediction.
3173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3174 check access beyond bounds of m1np.
3176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3178 (__inv): Remove local variable MPTWO to use the global
3180 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3184 MP3HALFS static const.
3186 2013-01-01 David S. Miller <davem@davemloft.net>
3188 * po/ca.po: Update from translation team.
3190 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3192 * scripts/update-copyrights: New file.
3193 * Makeconfig: Reformat copyright notice.
3194 * ctype/ctype.h: Likewise.
3195 * debug/swprintf_chk.c: Likewise.
3196 * elf/dl-cache.c: Likewise.
3197 * elf/dl-debug.c: Likewise.
3198 * elf/dl-object.c: Likewise.
3199 * grp/initgroups.c: Likewise.
3200 * hurd/Makefile: Likewise.
3201 * hurd/hurd/signal.h: Likewise.
3202 * hurd/hurdfault.c: Likewise.
3203 * hurd/hurdioctl.c: Likewise.
3204 * hurd/hurdlookup.c: Likewise.
3205 * hurd/intr-msg.c: Likewise.
3206 * iconv/gconv_open.c: Likewise.
3207 * libio/swprintf.c: Likewise.
3208 * locale/lc-ctype.c: Likewise.
3209 * locale/nl_langinfo.c: Likewise.
3210 * mach/Machrules: Likewise.
3211 * mach/Makefile: Likewise.
3212 * malloc/obstack.h: Likewise.
3213 * manual/Makefile: Likewise.
3214 * manual/tsort.awk: Likewise.
3215 * misc/bits/stab.def: Likewise.
3216 * nis/nis_print_group_entry.c: Likewise.
3217 * nis/nis_table.c: Likewise.
3218 * nis/nss_compat/compat-pwd.c: Likewise.
3219 * nis/nss_compat/compat-spwd.c: Likewise.
3220 * po/Makefile: Likewise.
3221 * posix/fnmatch.c: Likewise.
3222 * posix/regex.h: Likewise.
3223 * resolv/Makefile: Likewise.
3224 * resolv/nss_dns/dns-network.c: Likewise.
3225 * resolv/res_hconf.c: Likewise.
3226 * scripts/gen-sorted.awk: Likewise.
3227 * soft-fp/soft-fp.h: Likewise.
3228 * stdio-common/printf.h: Likewise.
3229 * stdlib/monetary.h: Likewise.
3230 * stdlib/random.c: Likewise.
3231 * stdlib/random_r.c: Likewise.
3232 * sysdeps/generic/Makefile: Likewise.
3233 * sysdeps/gnu/Makefile: Likewise.
3234 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3262 * sysdeps/mach/hurd/errnos.awk: Likewise.
3263 * sysdeps/mach/hurd/fork.c: Likewise.
3264 * sysdeps/mach/hurd/getcwd.c: Likewise.
3265 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3266 * sysdeps/mach/hurd/mmap.c: Likewise.
3267 * sysdeps/mach/hurd/utimes.c: Likewise.
3268 * sysdeps/mach/hurd/xmknod.c: Likewise.
3269 * sysdeps/posix/profil.c: Likewise.
3270 * sysdeps/posix/readdir_r.c: Likewise.
3271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3272 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3274 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3276 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3277 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3278 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3282 * sysdeps/pthread/lio_listio.c: Likewise.
3283 * sysdeps/sparc/dl-procinfo.h: Likewise.
3284 * sysdeps/unix/i386/sysdep.S: Likewise.
3285 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3286 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3287 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3288 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3290 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3291 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3292 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3293 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3294 * sysdeps/wordsize-32/divdi3.c: Likewise.
3295 * time/sys/time.h: Likewise.
3296 * wcsmbs/Makefile: Likewise.
3298 2013-01-01 David S. Miller <davem@davemloft.net>
3300 * po/fr.po: Update from translation team.
3302 * catgets/gencat.c: Update copyright year.
3303 * csu/version.c: Likewise.
3304 * debug/catchsegv.sh: Likewise.
3305 * debug/pcprofiledump.c: Likewise.
3306 * debug/xtrace.sh: Likewise.
3307 * elf/ldconfig.c: Likewise.
3308 * elf/ldd.bash.in: Likewise.
3309 * elf/pldd.c: Likewise.
3310 * elf/sotruss.ksh: Likewise.
3311 * elf/sprof.c: Likewise.
3312 * iconv/iconv_prog.c: Likewise.
3313 * iconv/iconvconfig.c: Likewise.
3314 * locale/programs/locale.c: Likewise.
3315 * locale/programs/localedef.c: Likewise.
3316 * login/programs/pt_chown.c: Likewise.
3317 * malloc/memusage.sh: Likewise.
3318 * malloc/memusagestat.c: Likewise.
3319 * malloc/mtrace.pl: Likewise.
3320 * nscd/nscd.c: Likewise.
3321 * nss/getent.c: Likewise.
3322 * nss/makedb.c: Likewise.
3323 * posix/getconf.c: Likewise.
3325 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3330 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3332 * math/bits/mathcalls.h (modf): Use __nonnull.
3334 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3336 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3337 (split): Use macro CN instead of the bare value.
3338 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3341 instead of the bare value.
3344 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3350 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3354 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3355 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3357 2012-12-28 Andreas Jaeger <aj@suse.de>
3359 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3360 values are from Linux 3.7.
3362 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3363 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3365 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3373 variables with preprocessor constants.
3374 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3375 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3376 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3378 2012-12-27 Bruno Haible <bruno@clisp.org>
3381 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3384 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3387 and use variable directly.
3388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3390 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3392 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3395 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3397 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3398 include directive. Remove local variable MPONE.
3399 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3403 2012-12-25 David S. Miller <davem@davemloft.net>
3405 * version.h (RELEASE): Set to "development".
3406 (VERSION): Set to "2.17.90".
3407 * NEWS: Add 2.18 section.
3409 2012-12-21 David S. Miller <davem@davemloft.net>
3411 * po/hr.po: Update from translation team.
3413 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3415 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3417 2012-12-19 Steve Ellcey <sellcey@mips.com>
3419 * NEWS: Mention new memcpy for MIPS.
3421 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3423 * manual/contrib.texi (Contributors): Spelling correction.
3425 2012-12-15 David S. Miller <davem@davemloft.net>
3427 * po/ru.po: Update from translation team.
3429 2012-12-13 David S. Miller <davem@davemloft.net>
3431 * NEWS: Mention IFUNC testsuite enhancements.
3433 * po/pl.po: Update from translation team.
3434 * po/bg.po: Likewise.
3436 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3437 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3439 2012-12-11 David S. Miller <davem@davemloft.net>
3441 * po/sv.po: Update from translation team.
3443 * po/vi.po: Update from translation team.
3445 * po/cs.po: Update from translation team.
3447 * po/de.po: Update from translation team.
3448 * po/eo.po: Likewise.
3449 * po/nl.po: Likewise.
3451 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 * manual/argp.texi (Argp Helper Functions): Move node to follow
3458 * manual/conf.texi (Limits on File System Capacity): Mention if
3459 terminating null is included in the max size.
3461 2012-12-10 Andreas Jaeger <aj@suse.de>
3463 * po/cs.po: Update from translation team.
3465 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3467 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3468 void pointer and cast to uintptr_t.
3469 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3471 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3472 * sysdeps/s390/s390-64/memset.S: Likewise.
3474 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3477 * menual/message.texi (Message Translation): Fix typos.
3478 (Helper programs for gettext): Likewise.
3480 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3483 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3486 2012-12-07 David S. Miller <davem@davemloft.net>
3488 * po/libc.pot: Update.
3490 2012-12-07 Richard Henderson <rth@redhat.com>
3493 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3494 normal/normal case to before the switch.
3495 (_FP_DIV): Likewise.
3497 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3498 Mike Frysinger <vapier@gentoo.org>
3500 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3501 check for __NR_fadvise64_64.
3503 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3505 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3506 0, not just to plain "0" as a statement.
3507 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3510 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3512 * NEWS: Use sourceware.org in Bugzilla URL.
3514 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3517 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3519 * stdio-common/tst-put-error.c (do_test): Add newline to the
3520 padded test to ensure flush.
3522 2012-12-05 Jeff Law <law@redhat.com>
3524 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3526 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3528 * README: Don't refer to ports add-on as distributed separately.
3529 Mention AArch64 in list of systems supported in the ports add-on.
3531 * LICENSES: Add more non-FSF copyright and license notices.
3533 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3538 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3539 10000 as width of padded output.
3541 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3543 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3546 variable LX with __attribute__ ((unused)).
3547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3549 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3552 with __attribute__ ((unused)).
3554 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3556 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3558 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3561 (CFLAGS-nldbl-acos.c): New variable.
3562 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3563 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3564 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3565 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3566 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3567 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3568 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3569 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3570 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3571 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3572 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3573 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3574 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3575 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3576 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3577 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3578 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3579 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3580 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3581 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3582 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3583 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3584 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3585 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3586 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3587 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3588 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3589 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3590 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3591 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3592 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3593 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3594 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3595 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3596 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3597 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3598 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3599 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3600 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3601 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3602 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3603 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3604 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3605 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3606 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3607 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3608 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3609 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3610 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3611 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3612 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3613 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3614 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3615 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3616 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3617 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3618 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3623 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3624 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3625 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3626 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3627 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3628 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3629 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3630 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3631 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3632 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3633 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3634 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3635 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3636 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3637 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3638 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3639 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3640 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3641 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3642 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3643 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3644 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3645 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3646 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3647 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3648 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3649 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3650 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3651 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3652 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3653 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3654 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3655 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3656 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3657 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3658 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3661 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3665 whole low double instead of just low 47 bits when splitting values
3668 2012-12-03 Allan McRae <allan@archlinux.org>
3670 * manual/stdio.texi (Predefined Printf Handlers): Remove
3671 @hsep and @vsep usage.
3673 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3675 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3676 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3678 2012-12-03 Jeff Law <law@redhat.com>
3680 * time/sys/time.h (settimeofday): Do not mark TV argument
3683 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3685 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3686 when currently writing and seek to current position when not.
3687 * libio/Makefile (tests): Remove bug-fclose1.
3688 * libio/bug-fclose1.c: Delete.
3690 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3692 * manual/arith.texi (feenableexcept): Fix typo.
3693 (fedisableexcept): Likewise.
3695 2012-11-30 Roland McGrath <roland@hack.frob.com>
3697 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3698 second, differently-typed declaration, rather than a cast.
3700 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3702 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3703 * include/rpc/svc.h: ... here.
3705 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3708 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3709 depending n and resplen2 to catch cases where answer
3712 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3714 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3715 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3717 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3721 2012-11-29 Roland McGrath <roland@hack.frob.com>
3723 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3725 2012-11-28 Jeff Law <law@redhat.com>
3728 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3729 dataset_temporary. Track alloca usage into alloca_used.
3730 If dataset is large allocate and release it via malloc/free.
3732 2012-06-04 Florian Weimer <fweimer@redhat.com>
3735 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3737 2012-11-28 David S. Miller <davem@davemloft.net>
3739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3741 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3745 of pi/2 rounded to nearest to 64 bits.
3746 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3748 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3751 2012-11-28 Jeff Law <law@redhat.com>
3752 Martin Osvald <mosvald@redhat.com>
3755 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3756 * sunrpc/svc.c: Include time.h.
3757 (__svc_accept_failed): New function.
3758 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3759 any reason other than EINTR, call __svc_accept_failed.
3760 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3761 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3763 2012-11-28 Andreas Schwab <schwab@suse.de>
3765 * scripts/abilist.awk: Also handle indirect functions in .opd
3768 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3771 * sysdeps/x86/fpu/powl_helper.c: New file.
3772 * sysdeps/x86/fpu/Makefile: Likewise.
3773 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3775 (__ieee754_powl): Use __powl_helper for finite arguments except
3776 integer exponents below 8.
3777 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3779 (__ieee754_powl): Use __powl_helper for finite arguments except
3780 integer exponents below 8.
3781 * math/libm-test.inc (pow_test): Add more tests and enable some
3782 previously disabled tests.
3783 * sysdeps/i386/fpu/libm-test-ulps: Update.
3784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3786 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3787 Carlos O'Donell <carlos_odonell@mentor.com>
3789 * nss/makedb.c (is_prime): Assert that input is odd and greater
3790 than 4. Note that fact in a comment too.
3791 (next_prime): Add 4 to input.
3793 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3796 * libio/Makefile (tests): Add test case tst-fwrite-error.
3797 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3798 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3799 * libio/tst-fwrite-error.c: New test case.
3801 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3803 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3804 before casting to void *.
3805 * include/libc-internal.h (__pointer_type): New macro.
3806 (__integer_if_pointer_type_sub): Likewise.
3807 (__integer_if_pointer_type): Likewise.
3808 (cast_to_integer): Likewise.
3809 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3810 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3811 before casting to atomic64_t.
3812 (atomic_exchange_acq): Likewise.
3813 (__arch_exchange_and_add_body): Likewise.
3814 (__arch_add_body): Likewise.
3815 (atomic_add_negative): Likewise.
3816 (atomic_add_zero): Likewise.
3818 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3820 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3821 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3822 (add_fdes): Likewise.
3823 (linear_search_fdes): Likewise.
3824 (binary_search_unencoded_fdes): Likewise.
3826 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3828 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3830 2012-11-24 Adam Conrad <adconrad@0c3.net>
3832 * configure.in: Autodetect C++ header directories.
3833 * configure: Regenerated.
3835 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3837 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3839 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3843 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3845 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3846 LDBL_MANT_DIG == 106]: Disable some tests.
3847 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3849 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3854 input for small inputs. Return +/- pi/2 for large inputs.
3855 * math/libm-test.inc (atan_test): Add more tests.
3857 * sysdeps/generic/unwind-dw2-fde-glibc.c
3858 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3859 __attribute__ ((unused)).
3862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3863 x * y if x and y are nonzero and z is zero.
3866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3867 nonzero exponents with absolute value below 0x1p-117 to +/-
3871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3872 up arguments below 2**-450, not just those below 2**-500.
3873 * math/libm-test.inc (hypot_test): Add another test.
3876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3877 Return a+b for ratio over 2**120, not 2**60.
3878 * math/libm-test.inc (hypot_test): Add another test.
3880 * math/libm-test.inc (clog_test): Use
3881 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3882 (clog10_test): Likewise.
3885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3887 2012-11-22 Andreas Schwab <schwab@suse.de>
3889 * sysdeps/i386/fpu/libm-test-ulps: Update.
3891 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3893 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3894 printf output with newline.
3896 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3899 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3900 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3901 -z nodlopen, -z initfirst and -z execstack support.
3902 * configure: Regenerated.
3904 * elf/elf.h (DF_1_NODIRECT): New macro.
3905 (DF_1_IGNMULDEF): Likewise.
3906 (DF_1_NOKSYMS): Likewise.
3907 (DF_1_NOHDR): Likewise.
3908 (DF_1_EDITED): Likewise.
3909 (DF_1_NORELOC): Likewise.
3910 (DF_1_SYMINTPOSE): Likewise.
3911 (DF_1_GLOBAUDIT): Likewise.
3912 (DF_1_SINGLETON): Likewise.
3913 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3914 DT_1_SUPPORTED_MASK bits.
3915 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3917 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3919 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3921 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3923 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3926 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3927 (sendmmsg): Move declarations...
3928 * socket/sys/socket.h: ... here.
3929 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3930 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3932 * socket/recvmmsg.c: ... this new file.
3933 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3934 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3935 definition of __sendmmsg hidden.
3936 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3937 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3938 Move ENOSYS stub into and include it from...
3939 * socket/sendmmsg.c: ... this new file.
3940 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3941 (sysdep_routines): Move recvmmsg and sendmmsg...
3942 * socket/Makefile (routines): ... here.
3943 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3944 (GLIBC_PRIVATE): Add __sendmmsg.
3945 * include/sys/socket.h (__sendmmsg): Add declarations.
3946 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3949 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3951 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3952 variable I1 with __attribute__ ((unused)).
3953 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3955 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3957 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3958 DUMMY variables with __attribute__ ((unused)).
3960 * bits/byteswap.h: Include <bits/types.h>.
3961 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3963 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3965 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3966 string_t. Do not manually set errno.
3967 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3968 length with __strnlen. Make sure to both set errno and return it on
3971 2012-11-19 David S. Miller <davem@davemloft.net>
3973 With help from Joseph Myers.
3974 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3975 very large arguments properly.
3976 * math/libm-test.inc (atan_test): New tests.
3977 (atan2_test): New tests.
3978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3981 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3984 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3987 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3988 [POSIX] (EADDRNOTAVAIL): Likewise.
3989 [POSIX] (EAFNOSUPPORT): Likewise.
3990 [POSIX] (EALREADY): Likewise.
3991 [POSIX] (ECONNABORTED): Likewise.
3992 [POSIX] (ECONNREFUSED): Likewise.
3993 [POSIX] (ECONNRESET): Likewise.
3994 [POSIX] (EDESTADDRREQ): Likewise.
3995 [POSIX] (EDQUOT): Likewise.
3996 [POSIX] (EHOSTUNREACH): Likewise.
3997 [POSIX] (EIDRM): Likewise.
3998 [POSIX] (EISCONN): Likewise.
3999 [POSIX] (ELOOP): Likewise.
4000 [POSIX] (EMULTIHOP): Likewise.
4001 [POSIX] (ENETDOWN): Likewise.
4002 [POSIX] (ENETUNREACH): Likewise.
4003 [POSIX] (ENOBUFS): Likewise.
4004 [POSIX] (ENODATA): Likewise.
4005 [POSIX] (ENOLINK): Likewise.
4006 [POSIX] (ENOMSG): Likewise.
4007 [POSIX] (ENOPROTOOPT): Likewise.
4008 [POSIX] (ENOSR): Likewise.
4009 [POSIX] (ENOSTR): Likewise.
4010 [POSIX] (ENOTCONN): Likewise.
4011 [POSIX] (ENOTSOCK): Likewise.
4012 [POSIX] (EOPNOTSUPP): Likewise.
4013 [POSIX] (EOVERFLOW): Likewise.
4014 [POSIX] (EPROTO): Likewise.
4015 [POSIX] (EPROTONOSUPPORT): Likewise.
4016 [POSIX] (EPROTOTYPE): Likewise.
4017 [POSIX] (ESTALE): Likewise.
4018 [POSIX] (ETIME): Likewise.
4019 [POSIX] (ETXTBSY): Likewise.
4020 [POSIX] (EWOULDBLOCK): Likewise.
4021 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4022 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4023 [POSIX] (SEEK_CUR): Likewise.
4024 [POSIX] (SEEK_END): Likewise.
4025 [POSIX || UNIX98] (mode_t): Do not require.
4026 [POSIX] (off_t): Likewise.
4027 [POSIX] (pid_t): Likewise.
4028 [POSIX] (sys/stat.h): Do not allow header.
4029 [POSIX] (unistd.h): Likewise.
4030 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4031 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4032 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4033 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4035 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4036 sigevent): Specify elements.
4037 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4039 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4040 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4042 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4043 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4044 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4045 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4046 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4047 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4048 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4049 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4050 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4051 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4052 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4054 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4061 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4063 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4067 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4068 Specify lower bound on value.
4069 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4070 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4073 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4075 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4076 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4078 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4080 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4084 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4086 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4090 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4091 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4092 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4093 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4094 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4095 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4097 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4099 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4101 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4102 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4103 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4106 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4108 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4110 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4111 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4117 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4118 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4119 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4120 specify as optional.
4121 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4122 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4125 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4126 [XPG3] (NL_LANGMAX): Likewise.
4127 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4128 [POSIX || XPG3] (NL_NMAX): Likewise.
4129 [POSIX || XPG3] (NL_SETMAX): Likewise.
4130 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4131 [XPG3] (NZERO): Likewise.
4132 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4133 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4134 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4135 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4136 (REG_ERANGE): Expect.
4137 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4139 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4140 Use (void) in prototype.
4141 [POSIX] (*_t): Allow.
4142 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4143 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4144 (WRDE_BADVAL): Expect.
4146 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4148 [XPG3 || XPG4] (O_RSYNC): Likewise.
4149 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4151 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4152 [XPG3 || XPG4] (sigqueue): Likewise.
4153 [XPG3 || XPG4] (sigtimedwait): Likewise.
4154 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4155 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4156 [XPG3 || XPG4] (vsnprintf): Likewise.
4157 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4159 [XPG3 || XPG4] (blksize_t): Likewise.
4160 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4162 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4163 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4164 [XPG3 || XPG4] (struct itimerspec): Likewise.
4165 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4166 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4167 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4168 [XPG3 || XPG4] (clockid_t): Likewise.
4169 [XPG3 || XPG4] (timer_t): Likewise.
4170 [XPG3 || XPG4] (clock_getres): Likewise.
4171 [XPG3 || XPG4] (clock_gettime): Likewise.
4172 [XPG3 || XPG4] (clock_settime): Likewise.
4173 [XPG3 || XPG4] (nanosleep): Likewise.
4174 [XPG3 || XPG4] (timer_create): Likewise.
4175 [XPG3 || XPG4] (timer_delete): Likewise.
4176 [XPG3 || XPG4] (timer_gettime): Likewise.
4177 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4178 [XPG3 || XPG4] (timer_settime): Likewise.
4179 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4180 [XPG3 || XPG4] (getlogin_r): Likewise.
4181 [XPG3 || XPG4] (pread): Likewise.
4182 [XPG3 || XPG4] (pthread_atfork): Likewise.
4183 [XPG3 || XPG4] (pwrite): Likewise.
4186 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4189 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4191 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4192 finalizing MALLSTREAM.
4194 * sysdeps/mach/hurd/syncfs.c: New file.
4196 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4200 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4201 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4202 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4203 (_nss_dns_gethostbyname4_r): Likewise.
4204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4205 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4207 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4210 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4212 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4214 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4215 * elf/cache.c (print_entry): Print ",AArch64" for
4218 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4219 * elf/cache.c (print_entry): Print ",hard-float" for
4222 2012-11-18 David S. Miller <davem@davemloft.net>
4224 With help from Joseph Myers.
4225 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4227 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4229 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4230 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4233 * math/libm-test.inc (y0_test): New tests.
4234 (y1_test): New tests.
4235 * sysdeps/i386/fpu/libm-test-ulps: Update.
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4239 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4241 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4243 * configure: Regenerated.
4245 2012-11-17 David S. Miller <davem@davemloft.net>
4248 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4249 nonzero exponents with absolute value below 0x1p-128 to +/-
4252 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4254 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4256 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4258 * posix/getconf-speclist.c: New file.
4259 * posix/posix-envs.def: Likewise.
4260 * posix/confstr.c (START_ENV_GROUP): New macro.
4261 (END_ENV_GROUP): Likewise.
4262 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4263 (KNOWN_PRESENT_ENV_STRING): Likewise.
4264 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4265 (UNKNOWN_ENVIRONMENT): Likewise.
4266 (confstr): Include posix-envs.def instead of handling
4267 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4268 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4269 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4270 (END_ENV_GROUP): Likewise.
4271 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4272 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4273 (UNKNOWN_ENVIRONMENT): Likewise.
4274 (__sysconf): Include posix-envs.def instead of handling associated
4275 cases directly here.
4276 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4277 preprocessing getconf-speclist.c rather than running getconf or
4278 generating empty file.
4280 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4282 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4284 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4287 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4289 2012-11-16 David S. Miller <davem@davemloft.net>
4291 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4292 smaller than LDBL_EPSILON/2.0L, just return xm1.
4294 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4296 * elf/tst-array1.c (init): Set constructor priority to 1000.
4297 (fini): Set destructor priority to 1000.
4298 * elf/tst-array2dep.c: Likewise.
4300 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4303 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4304 (_IO_new_file_xsputn): Also return EOF if none of the input
4305 data was written when overflow failed.
4306 * libio/iopadn.c (_IO_padn): Likewise.
4307 * libio/iowpadn.c (_IO_wpadn): Likewise.
4308 * stdio-common/tst-put-error.c: Add copyright notice.
4309 (do_test): Add case for printing padded string.
4310 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4311 _IO_padn returned error.
4312 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4313 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4316 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4318 * libio/libioP.h: Add comment note that the references to C++
4319 bits are now obsolete.
4321 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4323 * math/libm-test.inc (check_complex): Use asprintf.
4325 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4327 * debug/pcprofiledump.c (print_version): Update copyright year.
4328 * malloc/memusagestat.c (print_version): Likewise.
4330 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4333 * elf/Makefile (tests): Add tst-audit8.
4334 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4335 ($(objpfx)tst-audit8.out): New target.
4336 (tst-audit8-ENV): New variable.
4337 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4338 audit if l_reloc_result is NULL.
4339 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4340 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4341 * elf/tst-audit8.c: New file.
4343 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4345 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4346 * misc/Makefile (CFLAGS-select.c): Define.
4347 * posix/Makefile (CFLAGS-pause.c): Define.
4349 2012-11-13 David S. Miller <davem@davemloft.net>
4351 * crypt/Makefile: Move test targets after toplevel Rules
4352 inclusion. Grab any necessary sysdep routines when linking.
4353 * crypt/md5.c (md5_process_block): Remove define, we will always
4354 name it __md5_process_block.
4355 (md5_finish_ctx): Update md5_process_block call.
4356 (md5_stream): Likewise.
4357 (md5_process_bytes): Likewise.
4358 (md5_process_block): Rename to __md5_process_block and move to ...
4359 * crypt/md5-block.c: ... here.
4360 * crypt/sha256.c (sha256_process_block): Move to ...
4361 * crypt/sha256-block.c: ... here.
4362 * crypt/sha512.c (sha512_process_block): Move to ...
4363 * crypt/sha512-block.c: ... here.
4364 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4366 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4367 * sysdeps/sparc/sparc64/multiarch/Makefile
4368 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4370 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4373 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4374 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4375 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4376 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4377 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4378 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4379 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4388 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4390 * timezone/tzselect.ksh: Update from tzcode git revision
4391 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4392 * timezone/zdump.c: Likewise.
4393 * timezone/zic.c: Likewise.
4394 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4395 in TZVERSION setting, not $(PKGVERSION).
4396 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4397 REPORT_BUGS_TO settings.
4400 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4403 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4405 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4406 detection to immediately after _FP_ROUND().
4407 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4410 2012-11-11 David S. Miller <davem@davemloft.net>
4412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4414 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4415 __close rather than their public counterparts.
4417 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4419 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4421 [UNIX98] (sem_timedwait): Do not expect.
4422 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4423 [XPG4 || UNIX98] (sockatmark): Do not expect.
4424 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4425 (clock_getcpuclockid): Do not expect.
4426 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4427 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4429 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4430 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4431 [UNIX98] (vwscanf): Likewise.
4432 [UNIX98] (vswscanf): Likewise.
4434 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4436 * timezone/version.h: Remove file.
4437 * timezone/README: Do not refer to version.h.
4438 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4440 ($(objpfx)zdump.o): Likewise.
4441 ($(objpfx)version.h): New target.
4443 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4445 * timezone/README: Don't mention modification to tzselect.ksh.
4446 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4447 work on unmodified tzselect.ksh. Substitute version numbers in
4450 * Makefile (format-me): Remove.
4451 (INSTALL): Adjust indentation. Use commands directly instead of
4454 * aclocal.m4 (ACX_PKGVERSION): New macro.
4455 (ACX_BUGURL): Likewise.
4456 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4457 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4458 (REPORT_BUGS_TO): Likewise.
4459 * configure: Regenerated.
4460 * config.h.in (PKGVERSION): New macro.
4461 (REPORT_BUGS_TO): Likewise.
4462 * config.make.in (PKGVERSION): New variable.
4463 (PKGVERSION_TEXI): Likewise.
4464 (REPORT_BUGS_TO): Likewise.
4465 (REPORT_BUGS_TEXI): Likewise.
4466 * Makefile (format-me): Use -I$(common-objpfx)manual.
4467 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4468 ($(common-objpfx)manual/%): New target.
4469 (manual/%): Remove target.
4470 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4471 (print_version): Use PKGVERSION.
4472 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4473 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4475 ($(objpfx)xtrace): Likewise.
4476 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4477 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4478 (print_version): Use PKGVERSION.
4479 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4480 (do_version): Use PKGVERSION.
4481 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4483 (common-ldd-rewrite): Likewise.
4484 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4485 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4486 (print_version): Use PKGVERSION.
4487 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4488 * elf/pldd.c (argp_program_bug_address): Remove variable.
4489 (more_help): New function.
4490 (argp): Use more_help.
4491 (print_version): Use PKGVERSION.
4492 * elf/sln.c (main): Use PKGVERSION.
4493 (usage): Use REPORT_BUGS_TO.
4494 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4495 (top level): Use PKGVERSION.
4496 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4497 (print_version): Use PKGVERSION.
4498 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4499 (print_version): Use PKGVERSION.
4500 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4501 (print_version): Use PKGVERSION.
4502 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4503 (print_version): Use PKGVERSION.
4504 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4505 (print_version): Use PKGVERSION.
4506 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4507 (print_version): Use PKGVERSION.
4508 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4510 ($(objpfx)memusage): Likewise.
4511 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4512 (do_version): Use PKGVERSION.
4513 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4514 (print_version): Use PKGVERSION.
4515 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4516 ($PKGVERSION): New variable.
4517 ($REPORT_BUGS_TO): Likewise.
4518 (usage): Use $REPORT_BUGS_TO.
4519 (top level): Use $PKGVERSION.
4520 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4521 ($(objpfx)pkgvers.texi): New rule.
4522 ($(objpfx)stamp-pkgvers): Likewise.
4523 * manual/install.texi: Include pkgvers.texi.
4524 (--with-pkgversion): Document new configure option.
4525 (--with-bugurl): Likewise.
4526 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4527 than necessarily for this particular distribution. Use
4528 REPORT_BUGS_TO for where to report bugs.
4529 * INSTALL: Regenerated.
4530 * manual/libc.texinfo: Include pkgvers.texi.
4531 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4532 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4533 (print_version): Use PKGVERSION.
4534 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4535 (print_version): Use PKGVERSION.
4536 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4537 (print_version): Use PKGVERSION.
4538 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4539 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4541 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4542 (print_version): Use PKGVERSION.
4543 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4544 (print_version): Use PKGVERSION.
4545 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4548 * timezone/checktab.awk: Update from tzcode 2012i.
4549 * timezone/ialloc.c: Likewise.
4550 * timezone/private.h: Likewise.
4551 * timezone/scheck.c: Likewise.
4552 * timezone/tzfile.h: Likewise.
4553 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4554 (TZVERSION): Hardcode tzcode version number.
4555 * timezone/zdump.c: Update from tzcode 2012i.
4556 * timezone/zic.c: Likewise.
4557 * timezone/version.h: New file.
4558 * timezone/README: Describe version.h. Update upstream location.
4561 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4562 (mktemp): Enable declaration.
4563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4580 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4581 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4582 for copies of such integer values.
4583 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4584 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4586 2012-11-09 Andreas Jaeger <aj@suse.de>
4588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4589 definitions and declarations that are provided by
4590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4592 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4594 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4595 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4596 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4599 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4601 * elf/elf.h: Update comment before AArch64 relocations.
4603 2012-11-07 David S. Miller <davem@davemloft.net>
4605 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4606 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4607 (__start_context): Declare.
4608 (__makecontext_ret): Delete.
4609 (__makecontext): Hook up __start_context instead of
4611 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4612 (sysdep_routines): Add __start_context when in stdlib.
4614 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4617 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4618 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4620 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4621 (READELF): New variable. Use it instead of hardcoded "readelf".
4623 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4625 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4626 * sysdeps/x86/Makefile: Here.
4627 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4628 * sysdeps/x86/tst-xmmymm.sh: This.
4630 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4632 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4634 [UNIX98] (pthread_barrier_t): Do not expect.
4635 [UNIX98] (pthread_barrierattr_t): Likewise.
4636 [UNIX98] (pthread_spinlock_t): Likewise.
4637 [UNIX98] (pthread_barrier_destroy): Likewise.
4638 [UNIX98] (pthread_barrier_init): Likewise.
4639 [UNIX98] (pthread_barrier_wait): Likewise.
4640 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4641 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4642 [UNIX98] (pthread_barrierattr_init): Likewise.
4643 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4644 [UNIX98] (pthread_getcpuclockid): Likewise.
4645 [UNIX98] (pthread_mutex_timedlock): Likewise.
4646 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4647 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4648 [UNIX98] (pthread_sigmask): Likewise.
4649 [UNIX98] (pthread_spin_destroy): Likewise.
4650 [UNIX98] (pthread_spin_init): Likewise.
4651 [UNIX98] (pthread_spin_lock): Likewise.
4652 [UNIX98] (pthread_spin_trylock): Likewise.
4653 [UNIX98] (pthread_spin_unlock): Likewise.
4654 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4656 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4658 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4659 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4660 [XPG3 || XPG4] (pthread_key_t): Likewise.
4661 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4662 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4663 [XPG3 || XPG4] (pthread_once_t): Likewise.
4664 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4665 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4667 [XPG3 || XPG4] (pthread_t): Likewise.
4669 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4671 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4674 Change function return type to int.
4676 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4677 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4678 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4679 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4680 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4681 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4682 [!POSIX] (posix_madvise): Likewise.
4683 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4685 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4686 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4688 (posix_mem_offset): Likewise.
4689 (posix_typed_mem_get_info): Likewise.
4690 (posix_typed_mem_open): Likewise.
4692 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4693 Change condition to [XOPEN2K8].
4695 * conform/conformtest.pl: Preprocess allow-header data with -x c
4696 instead of from stdin.
4697 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4698 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4699 [C99-based standards] (cerfc): Likewise.
4700 [C99-based standards] (cexp2): Likewise.
4701 [C99-based standards] (cexpm1): Likewise.
4702 [C99-based standards] (clog10): Likewise.
4703 [C99-based standards] (clog1p): Likewise.
4704 [C99-based standards] (clog2): Likewise.
4705 [C99-based standards] (clgamma): Likewise.
4706 [C99-based standards] (ctgamma): Likewise.
4707 [C99-based standards] (cerff): Likewise.
4708 [C99-based standards] (cerfcf): Likewise.
4709 [C99-based standards] (cexp2f): Likewise.
4710 [C99-based standards] (cexpm1f): Likewise.
4711 [C99-based standards] (clog10f): Likewise.
4712 [C99-based standards] (clog1pf): Likewise.
4713 [C99-based standards] (clog2f): Likewise.
4714 [C99-based standards] (clgammaf): Likewise.
4715 [C99-based standards] (ctgammaf): Likewise.
4716 [C99-based standards] (cerfl): Likewise.
4717 [C99-based standards] (cerfcl): Likewise.
4718 [C99-based standards] (cexp2l): Likewise.
4719 [C99-based standards] (cexpm1l): Likewise.
4720 [C99-based standards] (clog10l): Likewise.
4721 [C99-based standards] (clog1pl): Likewise.
4722 [C99-based standards] (clog2l): Likewise.
4723 [C99-based standards] (clgammal): Likewise.
4724 [C99-based standards] (ctgammal): Likewise.
4725 * conform/data/inttypes.h-data [C99-based standards]: Include
4726 stdint.h-data. Remove all expectations for stdint.h contents.
4727 [C99-based standards] (PRI*): Do not allow.
4728 [C99-based standards] (SCN*): Likewise.
4729 [C99-based standards] (*_t): Likewise.
4730 [C99-based-standards] (PRId8): Expect macro.
4731 [C99-based-standards] (PRIi8): Likewise.
4732 [C99-based-standards] (PRIo8): Likewise.
4733 [C99-based-standards] (PRIu8): Likewise.
4734 [C99-based-standards] (PRIx8): Likewise.
4735 [C99-based-standards] (PRIX8): Likewise.
4736 [C99-based-standards] (SCNd8): Likewise.
4737 [C99-based-standards] (SCNi8): Likewise.
4738 [C99-based-standards] (SCNo8): Likewise.
4739 [C99-based-standards] (SCNu8): Likewise.
4740 [C99-based-standards] (SCNx8): Likewise.
4741 [C99-based-standards] (PRIdLEAST8): Likewise.
4742 [C99-based-standards] (PRIiLEAST8): Likewise.
4743 [C99-based-standards] (PRIoLEAST8): Likewise.
4744 [C99-based-standards] (PRIuLEAST8): Likewise.
4745 [C99-based-standards] (PRIxLEAST8): Likewise.
4746 [C99-based-standards] (PRIXLEAST8): Likewise.
4747 [C99-based-standards] (SCNdLEAST8): Likewise.
4748 [C99-based-standards] (SCNiLEAST8): Likewise.
4749 [C99-based-standards] (SCNoLEAST8): Likewise.
4750 [C99-based-standards] (SCNuLEAST8): Likewise.
4751 [C99-based-standards] (SCNxLEAST8): Likewise.
4752 [C99-based-standards] (PRIdFAST8): Likewise.
4753 [C99-based-standards] (PRIiFAST8): Likewise.
4754 [C99-based-standards] (PRIoFAST8): Likewise.
4755 [C99-based-standards] (PRIuFAST8): Likewise.
4756 [C99-based-standards] (PRIxFAST8): Likewise.
4757 [C99-based-standards] (PRIXFAST8): Likewise.
4758 [C99-based-standards] (SCNdFAST8): Likewise.
4759 [C99-based-standards] (SCNiFAST8): Likewise.
4760 [C99-based-standards] (SCNoFAST8): Likewise.
4761 [C99-based-standards] (SCNuFAST8): Likewise.
4762 [C99-based-standards] (SCNxFAST8): Likewise.
4763 [C99-based-standards] (PRId16): Likewise.
4764 [C99-based-standards] (PRIi16): Likewise.
4765 [C99-based-standards] (PRIo16): Likewise.
4766 [C99-based-standards] (PRIu16): Likewise.
4767 [C99-based-standards] (PRIx16): Likewise.
4768 [C99-based-standards] (PRIX16): Likewise.
4769 [C99-based-standards] (SCNd16): Likewise.
4770 [C99-based-standards] (SCNi16): Likewise.
4771 [C99-based-standards] (SCNo16): Likewise.
4772 [C99-based-standards] (SCNu16): Likewise.
4773 [C99-based-standards] (SCNx16): Likewise.
4774 [C99-based-standards] (PRIdLEAST16): Likewise.
4775 [C99-based-standards] (PRIiLEAST16): Likewise.
4776 [C99-based-standards] (PRIoLEAST16): Likewise.
4777 [C99-based-standards] (PRIuLEAST16): Likewise.
4778 [C99-based-standards] (PRIxLEAST16): Likewise.
4779 [C99-based-standards] (PRIXLEAST16): Likewise.
4780 [C99-based-standards] (SCNdLEAST16): Likewise.
4781 [C99-based-standards] (SCNiLEAST16): Likewise.
4782 [C99-based-standards] (SCNoLEAST16): Likewise.
4783 [C99-based-standards] (SCNuLEAST16): Likewise.
4784 [C99-based-standards] (SCNxLEAST16): Likewise.
4785 [C99-based-standards] (PRIdFAST16): Likewise.
4786 [C99-based-standards] (PRIiFAST16): Likewise.
4787 [C99-based-standards] (PRIoFAST16): Likewise.
4788 [C99-based-standards] (PRIuFAST16): Likewise.
4789 [C99-based-standards] (PRIxFAST16): Likewise.
4790 [C99-based-standards] (PRIXFAST16): Likewise.
4791 [C99-based-standards] (SCNdFAST16): Likewise.
4792 [C99-based-standards] (SCNiFAST16): Likewise.
4793 [C99-based-standards] (SCNoFAST16): Likewise.
4794 [C99-based-standards] (SCNuFAST16): Likewise.
4795 [C99-based-standards] (SCNxFAST16): Likewise.
4796 [C99-based-standards] (PRId32): Likewise.
4797 [C99-based-standards] (PRIi32): Likewise.
4798 [C99-based-standards] (PRIo32): Likewise.
4799 [C99-based-standards] (PRIu32): Likewise.
4800 [C99-based-standards] (PRIx32): Likewise.
4801 [C99-based-standards] (PRIX32): Likewise.
4802 [C99-based-standards] (SCNd32): Likewise.
4803 [C99-based-standards] (SCNi32): Likewise.
4804 [C99-based-standards] (SCNo32): Likewise.
4805 [C99-based-standards] (SCNu32): Likewise.
4806 [C99-based-standards] (SCNx32): Likewise.
4807 [C99-based-standards] (PRIdLEAST32): Likewise.
4808 [C99-based-standards] (PRIiLEAST32): Likewise.
4809 [C99-based-standards] (PRIoLEAST32): Likewise.
4810 [C99-based-standards] (PRIuLEAST32): Likewise.
4811 [C99-based-standards] (PRIxLEAST32): Likewise.
4812 [C99-based-standards] (PRIXLEAST32): Likewise.
4813 [C99-based-standards] (SCNdLEAST32): Likewise.
4814 [C99-based-standards] (SCNiLEAST32): Likewise.
4815 [C99-based-standards] (SCNoLEAST32): Likewise.
4816 [C99-based-standards] (SCNuLEAST32): Likewise.
4817 [C99-based-standards] (SCNxLEAST32): Likewise.
4818 [C99-based-standards] (PRIdFAST32): Likewise.
4819 [C99-based-standards] (PRIiFAST32): Likewise.
4820 [C99-based-standards] (PRIoFAST32): Likewise.
4821 [C99-based-standards] (PRIuFAST32): Likewise.
4822 [C99-based-standards] (PRIxFAST32): Likewise.
4823 [C99-based-standards] (PRIXFAST32): Likewise.
4824 [C99-based-standards] (SCNdFAST32): Likewise.
4825 [C99-based-standards] (SCNiFAST32): Likewise.
4826 [C99-based-standards] (SCNoFAST32): Likewise.
4827 [C99-based-standards] (SCNuFAST32): Likewise.
4828 [C99-based-standards] (SCNxFAST32): Likewise.
4829 [C99-based-standards] (PRId64): Likewise.
4830 [C99-based-standards] (PRIi64): Likewise.
4831 [C99-based-standards] (PRIo64): Likewise.
4832 [C99-based-standards] (PRIu64): Likewise.
4833 [C99-based-standards] (PRIx64): Likewise.
4834 [C99-based-standards] (PRIX64): Likewise.
4835 [C99-based-standards] (SCNd64): Likewise.
4836 [C99-based-standards] (SCNi64): Likewise.
4837 [C99-based-standards] (SCNo64): Likewise.
4838 [C99-based-standards] (SCNu64): Likewise.
4839 [C99-based-standards] (SCNx64): Likewise.
4840 [C99-based-standards] (PRIdLEAST64): Likewise.
4841 [C99-based-standards] (PRIiLEAST64): Likewise.
4842 [C99-based-standards] (PRIoLEAST64): Likewise.
4843 [C99-based-standards] (PRIuLEAST64): Likewise.
4844 [C99-based-standards] (PRIxLEAST64): Likewise.
4845 [C99-based-standards] (PRIXLEAST64): Likewise.
4846 [C99-based-standards] (SCNdLEAST64): Likewise.
4847 [C99-based-standards] (SCNiLEAST64): Likewise.
4848 [C99-based-standards] (SCNoLEAST64): Likewise.
4849 [C99-based-standards] (SCNuLEAST64): Likewise.
4850 [C99-based-standards] (SCNxLEAST64): Likewise.
4851 [C99-based-standards] (PRIdFAST64): Likewise.
4852 [C99-based-standards] (PRIiFAST64): Likewise.
4853 [C99-based-standards] (PRIoFAST64): Likewise.
4854 [C99-based-standards] (PRIuFAST64): Likewise.
4855 [C99-based-standards] (PRIxFAST64): Likewise.
4856 [C99-based-standards] (PRIXFAST64): Likewise.
4857 [C99-based-standards] (SCNdFAST64): Likewise.
4858 [C99-based-standards] (SCNiFAST64): Likewise.
4859 [C99-based-standards] (SCNoFAST64): Likewise.
4860 [C99-based-standards] (SCNuFAST64): Likewise.
4861 [C99-based-standards] (SCNxFAST64): Likewise.
4862 [C99-based-standards] (PRIdMAX): Likewise.
4863 [C99-based-standards] (PRIiMAX): Likewise.
4864 [C99-based-standards] (PRIoMAX): Likewise.
4865 [C99-based-standards] (PRIuMAX): Likewise.
4866 [C99-based-standards] (PRIxMAX): Likewise.
4867 [C99-based-standards] (PRIXMAX): Likewise.
4868 [C99-based-standards] (SCNdMAX): Likewise.
4869 [C99-based-standards] (SCNiMAX): Likewise.
4870 [C99-based-standards] (SCNoMAX): Likewise.
4871 [C99-based-standards] (SCNuMAX): Likewise.
4872 [C99-based-standards] (SCNxMAX): Likewise.
4873 [C99-based-standards] (PRIdPTR): Likewise.
4874 [C99-based-standards] (PRIiPTR): Likewise.
4875 [C99-based-standards] (PRIoPTR): Likewise.
4876 [C99-based-standards] (PRIuPTR): Likewise.
4877 [C99-based-standards] (PRIxPTR): Likewise.
4878 [C99-based-standards] (PRIXPTR): Likewise.
4879 [C99-based-standards] (SCNdPTR): Likewise.
4880 [C99-based-standards] (SCNiPTR): Likewise.
4881 [C99-based-standards] (SCNoPTR): Likewise.
4882 [C99-based-standards] (SCNuPTR): Likewise.
4883 [C99-based-standards] (SCNxPTR): Likewise.
4884 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4886 * conform/data/stdint.h-data: Update comments to clarify
4888 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4890 [C99-based standards] (INT8_MAX): Likewise.
4891 [C99-based standards] (INT16_MIN): Likewise.
4892 [C99-based standards] (INT16_MAX): Likewise.
4893 [C99-based standards] (INT32_MIN): Likewise.
4894 [C99-based standards] (INT32_MAX): Likewise.
4895 [C99-based standards] (INT64_MIN): Likewise.
4896 [C99-based standards] (INT64_MAX): Likewise.
4897 [C99-based standards] (UINT8_MAX): Likewise.
4898 [C99-based standards] (UINT16_MAX): Likewise.
4899 [C99-based standards] (UINT32_MAX): Likewise.
4900 [C99-based standards] (UINT64_MAX): Likewise.
4901 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4902 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4903 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4904 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4905 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4906 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4907 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4908 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4909 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4910 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4911 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4912 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4913 [C99-based standards] (INT_FAST8_MIN): Likewise.
4914 [C99-based standards] (INT_FAST8_MAX): Likewise.
4915 [C99-based standards] (INT_FAST16_MIN): Likewise.
4916 [C99-based standards] (INT_FAST16_MAX): Likewise.
4917 [C99-based standards] (INT_FAST32_MIN): Likewise.
4918 [C99-based standards] (INT_FAST32_MAX): Likewise.
4919 [C99-based standards] (INT_FAST64_MIN): Likewise.
4920 [C99-based standards] (INT_FAST64_MAX): Likewise.
4921 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4922 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4923 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4924 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4925 [C99-based standards] (INTPTR_MIN): Likewise.
4926 [C99-based standards] (INTPTR_MAX): Likewise.
4927 [C99-based standards] (UINTPTR_MAX): Likewise.
4928 [C99-based standards] (INTMAX_MIN): Likewise.
4929 [C99-based standards] (INTMAX_MAX): Likewise.
4930 [C99-based standards] (UINTMAX_MAX): Likewise.
4931 [C99-based standards] (PTRDIFF_MIN): Likewise.
4932 [C99-based standards] (PTRDIFF_MAX): Likewise.
4933 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4934 [C99-based standards] (SIZE_MAX): Likewise.
4935 [C99-based standards] (WCHAR_MAX): Likewise.
4936 [C99-based standards] (WINT_MAX): Likewise.
4937 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4938 constraint on value.
4939 [C99-based standards] (WCHAR_MIN): Likewise.
4940 [C99-based standards] (WINT_MIN): Likewise.
4941 [C99-based standards] (*_t): Allow.
4942 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4943 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4944 Include math.h-data and complex.h-data. Remove all expectations
4945 of math.h and complex.h contents.
4946 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4948 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4949 (struct tm): Expect tag.
4950 [C99-based-standards] (wcstof): Expect function.
4951 [C99-based-standards] (wcstold): Likewise.
4952 [C99-based-standards] (wcstoll): Likewise.
4953 [C99-based-standards] (wcstoull): Likewise.
4954 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4955 macro-int-constant. Specify type.
4956 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4957 constraint on value.
4958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4960 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4962 [ISO C standards]: Do not allow headers.
4963 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4964 wcs[abcdefghijklmnopqrstuvwxyz]*.
4965 [ISO C standards] (*_t): Do not allow.
4966 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4968 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4969 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4971 [ISO C standards]: Do not allow headers.
4972 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4973 is[abcdefghijklmnopqrstuvwxyz]*.
4974 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4975 to[abcdefghijklmnopqrstuvwxyz]*.
4976 [ISO C standards] (*_t): Do not allow.
4977 * conform/data/stdalign.h-data: New file.
4978 * conform/data/stdbool.h-data: Likewise.
4979 * conform/data/stdnoreturn.h-data: Likewise.
4981 2012-11-07 Roland McGrath <roland@hack.frob.com>
4984 * manual/filesys.texi (Directory Entries): Typo fix.
4985 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4987 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4989 * elf/elf.h (EM_AARCH64): New macro.
4990 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4991 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4992 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4993 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4994 (R_AARCH64_TLSDESC): Likewise.
4995 (NT_ARM_TLS): Likewise.
4996 (NT_ARM_HW_BREAK): Likewise.
4997 (NT_ARM_HW_WATCH): Likewise.
4999 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5002 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5003 (__ieee754_powl): Saturate nonzero exponents with absolute value
5004 below 0x1p-79 to +/- 0x1p-79.
5005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5006 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5007 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5008 nonzero exponents with absolute value below 0x1p-32 to +/-
5010 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5011 (__ieee754_powl): Saturate nonzero exponents with absolute value
5012 below 0x1p-79 to +/- 0x1p-79.
5013 * math/libm-test.inc (pow_test): Add more tests.
5015 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5017 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5018 _dl_s390_cap_flags with kernel. Increase string length.
5019 (_dl_s390_platforms): Add z196 and zEC12.
5021 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5023 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5024 Change XOPEN21K to XOPEN2K.
5026 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5028 * string/memmove.c: Use memcpy when possible.
5030 2012-11-06 Andreas Jaeger <aj@suse.de>
5032 * po/eo.po: Update from translation team.
5034 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5038 exponent and small x and y exponents, scale x or y up. Increase
5039 by 2 the exponent used in scaling up.
5040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5042 * math/libm-test.inc (fma_test): Add more tests.
5043 (fma_test_towardzero): Likewise.
5044 (fma_test_downward): Likewise.
5045 (fma_test_upward): Likewise.
5047 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5054 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5055 namespace for names of struct fields.
5056 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5058 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5059 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5061 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5064 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5066 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5068 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5072 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5075 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5079 definitely overflow as x * y not x * y + z.
5080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5082 * math/libm-test.inc (fma_test): Add more tests.
5083 (fma_test_towardzero): Likewise.
5084 (fma_test_downward): Likewise.
5085 (fma_test_upward): Likewise.
5087 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5091 * include/stub-tag.h: Remove file.
5092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5094 * manual/maint.texi (Porting): Don't reference it.
5095 * Makerules ($(objpfx)stubs): Likewise.
5096 * dirent/closedir.c: Don't include <stub-tag.h>.
5097 * dirent/dirfd.c: Likewise.
5098 * dirent/fdopendir.c: Likewise.
5099 * dirent/getdents.c: Likewise.
5100 * dirent/getdents64.c: Likewise.
5101 * dirent/opendir.c: Likewise.
5102 * dirent/readdir.c: Likewise.
5103 * dirent/readdir64.c: Likewise.
5104 * dirent/readdir64_r.c: Likewise.
5105 * dirent/readdir_r.c: Likewise.
5106 * dirent/rewinddir.c: Likewise.
5107 * dirent/seekdir.c: Likewise.
5108 * dirent/telldir.c: Likewise.
5109 * gmon/profil.c: Likewise.
5110 * grp/setgroups.c: Likewise.
5111 * inet/if_index.c: Likewise.
5112 * io/access.c: Likewise.
5113 * io/chdir.c: Likewise.
5114 * io/chmod.c: Likewise.
5115 * io/chown.c: Likewise.
5116 * io/close.c: Likewise.
5117 * io/dup.c: Likewise.
5118 * io/dup2.c: Likewise.
5119 * io/dup3.c: Likewise.
5120 * io/euidaccess.c: Likewise.
5121 * io/faccessat.c: Likewise.
5122 * io/fchdir.c: Likewise.
5123 * io/fchmod.c: Likewise.
5124 * io/fchmodat.c: Likewise.
5125 * io/fchown.c: Likewise.
5126 * io/fchownat.c: Likewise.
5127 * io/fcntl.c: Likewise.
5128 * io/flock.c: Likewise.
5129 * io/fstatfs.c: Likewise.
5130 * io/fstatfs64.c: Likewise.
5131 * io/fstatvfs.c: Likewise.
5132 * io/fstatvfs64.c: Likewise.
5133 * io/futimens.c: Likewise.
5134 * io/fxstat.c: Likewise.
5135 * io/fxstat64.c: Likewise.
5136 * io/fxstatat.c: Likewise.
5137 * io/fxstatat64.c: Likewise.
5138 * io/getcwd.c: Likewise.
5139 * io/isatty.c: Likewise.
5140 * io/lchmod.c: Likewise.
5141 * io/lchown.c: Likewise.
5142 * io/link.c: Likewise.
5143 * io/linkat.c: Likewise.
5144 * io/lseek.c: Likewise.
5145 * io/lseek64.c: Likewise.
5146 * io/lxstat64.c: Likewise.
5147 * io/mkdir.c: Likewise.
5148 * io/mkdirat.c: Likewise.
5149 * io/mkfifo.c: Likewise.
5150 * io/mkfifoat.c: Likewise.
5151 * io/open.c: Likewise.
5152 * io/open64.c: Likewise.
5153 * io/openat.c: Likewise.
5154 * io/openat64.c: Likewise.
5155 * io/pipe.c: Likewise.
5156 * io/pipe2.c: Likewise.
5157 * io/poll.c: Likewise.
5158 * io/posix_fadvise.c: Likewise.
5159 * io/posix_fadvise64.c: Likewise.
5160 * io/posix_fallocate.c: Likewise.
5161 * io/posix_fallocate64.c: Likewise.
5162 * io/read.c: Likewise.
5163 * io/readlink.c: Likewise.
5164 * io/readlinkat.c: Likewise.
5165 * io/rmdir.c: Likewise.
5166 * io/sendfile.c: Likewise.
5167 * io/sendfile64.c: Likewise.
5168 * io/statfs.c: Likewise.
5169 * io/statfs64.c: Likewise.
5170 * io/statvfs.c: Likewise.
5171 * io/statvfs64.c: Likewise.
5172 * io/symlink.c: Likewise.
5173 * io/symlinkat.c: Likewise.
5174 * io/ttyname.c: Likewise.
5175 * io/ttyname_r.c: Likewise.
5176 * io/umask.c: Likewise.
5177 * io/unlink.c: Likewise.
5178 * io/unlinkat.c: Likewise.
5179 * io/utime.c: Likewise.
5180 * io/utimensat.c: Likewise.
5181 * io/write.c: Likewise.
5182 * io/xmknod.c: Likewise.
5183 * io/xmknodat.c: Likewise.
5184 * io/xstat.c: Likewise.
5185 * io/xstat64.c: Likewise.
5186 * login/getpt.c: Likewise.
5187 * login/grantpt.c: Likewise.
5188 * login/unlockpt.c: Likewise.
5189 * math/e_acoshl.c: Likewise.
5190 * math/e_acosl.c: Likewise.
5191 * math/e_asinl.c: Likewise.
5192 * math/e_atan2l.c: Likewise.
5193 * math/e_atanhl.c: Likewise.
5194 * math/e_coshl.c: Likewise.
5195 * math/e_expl.c: Likewise.
5196 * math/e_fmodl.c: Likewise.
5197 * math/e_gammal_r.c: Likewise.
5198 * math/e_hypotl.c: Likewise.
5199 * math/e_j0l.c: Likewise.
5200 * math/e_j1l.c: Likewise.
5201 * math/e_jnl.c: Likewise.
5202 * math/e_lgammal_r.c: Likewise.
5203 * math/e_log10l.c: Likewise.
5204 * math/e_log2l.c: Likewise.
5205 * math/e_logl.c: Likewise.
5206 * math/e_powl.c: Likewise.
5207 * math/e_rem_pio2l.c: Likewise.
5208 * math/e_sinhl.c: Likewise.
5209 * math/e_sqrtl.c: Likewise.
5210 * math/fclrexcpt.c: Likewise.
5211 * math/fedisblxcpt.c: Likewise.
5212 * math/feenablxcpt.c: Likewise.
5213 * math/fegetenv.c: Likewise.
5214 * math/fegetexcept.c: Likewise.
5215 * math/fegetround.c: Likewise.
5216 * math/feholdexcpt.c: Likewise.
5217 * math/fesetenv.c: Likewise.
5218 * math/fesetround.c: Likewise.
5219 * math/feupdateenv.c: Likewise.
5220 * math/fgetexcptflg.c: Likewise.
5221 * math/fraiseexcpt.c: Likewise.
5222 * math/fsetexcptflg.c: Likewise.
5223 * math/ftestexcept.c: Likewise.
5224 * math/k_cosl.c: Likewise.
5225 * math/k_rem_pio2l.c: Likewise.
5226 * math/k_sinl.c: Likewise.
5227 * math/k_tanl.c: Likewise.
5228 * math/s_asinhl.c: Likewise.
5229 * math/s_atanl.c: Likewise.
5230 * math/s_cbrtl.c: Likewise.
5231 * math/s_erfl.c: Likewise.
5232 * math/s_expm1l.c: Likewise.
5233 * math/s_log1pl.c: Likewise.
5234 * math/s_tanhl.c: Likewise.
5235 * misc/acct.c: Likewise.
5236 * misc/brk.c: Likewise.
5237 * misc/chflags.c: Likewise.
5238 * misc/chroot.c: Likewise.
5239 * misc/fchflags.c: Likewise.
5240 * misc/fgetxattr.c: Likewise.
5241 * misc/flistxattr.c: Likewise.
5242 * misc/fremovexattr.c: Likewise.
5243 * misc/fsetxattr.c: Likewise.
5244 * misc/fsync.c: Likewise.
5245 * misc/ftruncate.c: Likewise.
5246 * misc/futimes.c: Likewise.
5247 * misc/futimesat.c: Likewise.
5248 * misc/getdomain.c: Likewise.
5249 * misc/getdtsz.c: Likewise.
5250 * misc/gethostid.c: Likewise.
5251 * misc/gethostname.c: Likewise.
5252 * misc/getloadavg.c: Likewise.
5253 * misc/getpagesize.c: Likewise.
5254 * misc/getsysstats.c: Likewise.
5255 * misc/getxattr.c: Likewise.
5256 * misc/gtty.c: Likewise.
5257 * misc/ioctl.c: Likewise.
5258 * misc/lgetxattr.c: Likewise.
5259 * misc/listxattr.c: Likewise.
5260 * misc/llistxattr.c: Likewise.
5261 * misc/lremovexattr.c: Likewise.
5262 * misc/lsetxattr.c: Likewise.
5263 * misc/lutimes.c: Likewise.
5264 * misc/madvise.c: Likewise.
5265 * misc/mincore.c: Likewise.
5266 * misc/mlock.c: Likewise.
5267 * misc/mlockall.c: Likewise.
5268 * misc/mmap.c: Likewise.
5269 * misc/mprotect.c: Likewise.
5270 * misc/msync.c: Likewise.
5271 * misc/munlock.c: Likewise.
5272 * misc/munlockall.c: Likewise.
5273 * misc/munmap.c: Likewise.
5274 * misc/preadv.c: Likewise.
5275 * misc/preadv64.c: Likewise.
5276 * misc/ptrace.c: Likewise.
5277 * misc/pwritev.c: Likewise.
5278 * misc/pwritev64.c: Likewise.
5279 * misc/readv.c: Likewise.
5280 * misc/reboot.c: Likewise.
5281 * misc/remap_file_pages.c: Likewise.
5282 * misc/removexattr.c: Likewise.
5283 * misc/revoke.c: Likewise.
5284 * misc/select.c: Likewise.
5285 * misc/setdomain.c: Likewise.
5286 * misc/setegid.c: Likewise.
5287 * misc/seteuid.c: Likewise.
5288 * misc/sethostid.c: Likewise.
5289 * misc/sethostname.c: Likewise.
5290 * misc/setregid.c: Likewise.
5291 * misc/setreuid.c: Likewise.
5292 * misc/setxattr.c: Likewise.
5293 * misc/sstk.c: Likewise.
5294 * misc/stty.c: Likewise.
5295 * misc/swapoff.c: Likewise.
5296 * misc/swapon.c: Likewise.
5297 * misc/sync.c: Likewise.
5298 * misc/syncfs.c: Likewise.
5299 * misc/syscall.c: Likewise.
5300 * misc/truncate.c: Likewise.
5301 * misc/ualarm.c: Likewise.
5302 * misc/usleep.c: Likewise.
5303 * misc/ustat.c: Likewise.
5304 * misc/utimes.c: Likewise.
5305 * misc/vhangup.c: Likewise.
5306 * misc/writev.c: Likewise.
5307 * posix/_exit.c: Likewise.
5308 * posix/alarm.c: Likewise.
5309 * posix/execve.c: Likewise.
5310 * posix/fexecve.c: Likewise.
5311 * posix/fork.c: Likewise.
5312 * posix/fpathconf.c: Likewise.
5313 * posix/getaddrinfo.c: Likewise.
5314 * posix/getegid.c: Likewise.
5315 * posix/geteuid.c: Likewise.
5316 * posix/getgid.c: Likewise.
5317 * posix/getgroups.c: Likewise.
5318 * posix/getlogin.c: Likewise.
5319 * posix/getlogin_r.c: Likewise.
5320 * posix/getpgid.c: Likewise.
5321 * posix/getpid.c: Likewise.
5322 * posix/getppid.c: Likewise.
5323 * posix/getresgid.c: Likewise.
5324 * posix/getresuid.c: Likewise.
5325 * posix/getsid.c: Likewise.
5326 * posix/getuid.c: Likewise.
5327 * posix/glob64.c: Likewise.
5328 * posix/nanosleep.c: Likewise.
5329 * posix/pathconf.c: Likewise.
5330 * posix/pause.c: Likewise.
5331 * posix/posix_madvise.c: Likewise.
5332 * posix/pread.c: Likewise.
5333 * posix/pread64.c: Likewise.
5334 * posix/pwrite.c: Likewise.
5335 * posix/pwrite64.c: Likewise.
5336 * posix/sched_getaffinity.c: Likewise.
5337 * posix/sched_getp.c: Likewise.
5338 * posix/sched_gets.c: Likewise.
5339 * posix/sched_primax.c: Likewise.
5340 * posix/sched_primin.c: Likewise.
5341 * posix/sched_rr_gi.c: Likewise.
5342 * posix/sched_setaffinity.c: Likewise.
5343 * posix/sched_setp.c: Likewise.
5344 * posix/sched_sets.c: Likewise.
5345 * posix/sched_yield.c: Likewise.
5346 * posix/setgid.c: Likewise.
5347 * posix/setlogin.c: Likewise.
5348 * posix/setpgid.c: Likewise.
5349 * posix/setresgid.c: Likewise.
5350 * posix/setresuid.c: Likewise.
5351 * posix/setsid.c: Likewise.
5352 * posix/setuid.c: Likewise.
5353 * posix/sleep.c: Likewise.
5354 * posix/spawni.c: Likewise.
5355 * posix/sysconf.c: Likewise.
5356 * posix/times.c: Likewise.
5357 * posix/wait.c: Likewise.
5358 * posix/wait3.c: Likewise.
5359 * posix/wait4.c: Likewise.
5360 * posix/waitpid.c: Likewise.
5361 * resolv/gai_sigqueue.c: Likewise.
5362 * resource/getpriority.c: Likewise.
5363 * resource/getrlimit.c: Likewise.
5364 * resource/getrusage.c: Likewise.
5365 * resource/nice.c: Likewise.
5366 * resource/setpriority.c: Likewise.
5367 * resource/setrlimit.c: Likewise.
5368 * resource/ulimit.c: Likewise.
5369 * rt/aio_cancel.c: Likewise.
5370 * rt/aio_fsync.c: Likewise.
5371 * rt/aio_read.c: Likewise.
5372 * rt/aio_sigqueue.c: Likewise.
5373 * rt/aio_suspend.c: Likewise.
5374 * rt/aio_write.c: Likewise.
5375 * rt/clock_getres.c: Likewise.
5376 * rt/clock_gettime.c: Likewise.
5377 * rt/clock_nanosleep.c: Likewise.
5378 * rt/clock_settime.c: Likewise.
5379 * rt/lio_listio.c: Likewise.
5380 * rt/mq_close.c: Likewise.
5381 * rt/mq_getattr.c: Likewise.
5382 * rt/mq_notify.c: Likewise.
5383 * rt/mq_open.c: Likewise.
5384 * rt/mq_receive.c: Likewise.
5385 * rt/mq_send.c: Likewise.
5386 * rt/mq_setattr.c: Likewise.
5387 * rt/mq_timedreceive.c: Likewise.
5388 * rt/mq_timedsend.c: Likewise.
5389 * rt/mq_unlink.c: Likewise.
5390 * rt/shm_open.c: Likewise.
5391 * rt/shm_unlink.c: Likewise.
5392 * rt/timer_create.c: Likewise.
5393 * rt/timer_delete.c: Likewise.
5394 * rt/timer_getoverr.c: Likewise.
5395 * rt/timer_gettime.c: Likewise.
5396 * rt/timer_settime.c: Likewise.
5397 * setjmp/__longjmp.c: Likewise.
5398 * setjmp/setjmp.c: Likewise.
5399 * signal/kill.c: Likewise.
5400 * signal/killpg.c: Likewise.
5401 * signal/raise.c: Likewise.
5402 * signal/sigaction.c: Likewise.
5403 * signal/sigaltstack.c: Likewise.
5404 * signal/sigblock.c: Likewise.
5405 * signal/sigignore.c: Likewise.
5406 * signal/sigintr.c: Likewise.
5407 * signal/signal.c: Likewise.
5408 * signal/sigpause.c: Likewise.
5409 * signal/sigpending.c: Likewise.
5410 * signal/sigqueue.c: Likewise.
5411 * signal/sigreturn.c: Likewise.
5412 * signal/sigset.c: Likewise.
5413 * signal/sigsetmask.c: Likewise.
5414 * signal/sigstack.c: Likewise.
5415 * signal/sigsuspend.c: Likewise.
5416 * signal/sigtimedwait.c: Likewise.
5417 * signal/sigvec.c: Likewise.
5418 * signal/sigwait.c: Likewise.
5419 * signal/sigwaitinfo.c: Likewise.
5420 * signal/sysv_signal.c: Likewise.
5421 * socket/accept.c: Likewise.
5422 * socket/accept4.c: Likewise.
5423 * socket/bind.c: Likewise.
5424 * socket/connect.c: Likewise.
5425 * socket/getpeername.c: Likewise.
5426 * socket/getsockname.c: Likewise.
5427 * socket/getsockopt.c: Likewise.
5428 * socket/isfdtype.c: Likewise.
5429 * socket/listen.c: Likewise.
5430 * socket/recv.c: Likewise.
5431 * socket/recvfrom.c: Likewise.
5432 * socket/recvmsg.c: Likewise.
5433 * socket/send.c: Likewise.
5434 * socket/sendmsg.c: Likewise.
5435 * socket/sendto.c: Likewise.
5436 * socket/setsockopt.c: Likewise.
5437 * socket/shutdown.c: Likewise.
5438 * socket/sockatmark.c: Likewise.
5439 * socket/socket.c: Likewise.
5440 * socket/socketpair.c: Likewise.
5441 * stdio-common/ctermid.c: Likewise.
5442 * stdio-common/cuserid.c: Likewise.
5443 * stdio-common/remove.c: Likewise.
5444 * stdio-common/rename.c: Likewise.
5445 * stdio-common/renameat.c: Likewise.
5446 * stdio-common/tempname.c: Likewise.
5447 * stdlib/getcontext.c: Likewise.
5448 * stdlib/makecontext.c: Likewise.
5449 * stdlib/setcontext.c: Likewise.
5450 * stdlib/swapcontext.c: Likewise.
5451 * stdlib/system.c: Likewise.
5452 * streams/fattach.c: Likewise.
5453 * streams/fdetach.c: Likewise.
5454 * streams/getmsg.c: Likewise.
5455 * streams/getpmsg.c: Likewise.
5456 * streams/putmsg.c: Likewise.
5457 * streams/putpmsg.c: Likewise.
5458 * sysdeps/unix/bsd/getpt.c: Likewise.
5459 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5460 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5461 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5464 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5465 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5466 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5467 * sysvipc/msgctl.c: Likewise.
5468 * sysvipc/msgget.c: Likewise.
5469 * sysvipc/msgrcv.c: Likewise.
5470 * sysvipc/msgsnd.c: Likewise.
5471 * sysvipc/semctl.c: Likewise.
5472 * sysvipc/semget.c: Likewise.
5473 * sysvipc/semop.c: Likewise.
5474 * sysvipc/semtimedop.c: Likewise.
5475 * sysvipc/shmat.c: Likewise.
5476 * sysvipc/shmctl.c: Likewise.
5477 * sysvipc/shmdt.c: Likewise.
5478 * sysvipc/shmget.c: Likewise.
5479 * termios/tcdrain.c: Likewise.
5480 * termios/tcflow.c: Likewise.
5481 * termios/tcflush.c: Likewise.
5482 * termios/tcgetattr.c: Likewise.
5483 * termios/tcgetpgrp.c: Likewise.
5484 * termios/tcsendbrk.c: Likewise.
5485 * termios/tcsetattr.c: Likewise.
5486 * termios/tcsetpgrp.c: Likewise.
5487 * time/adjtime.c: Likewise.
5488 * time/clock.c: Likewise.
5489 * time/getitimer.c: Likewise.
5490 * time/gettimeofday.c: Likewise.
5491 * time/setitimer.c: Likewise.
5492 * time/settimeofday.c: Likewise.
5493 * time/stime.c: Likewise.
5494 * time/time.c: Likewise.
5496 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5498 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5501 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5503 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5505 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5509 FE_TONEAREST before applying Dekker multiplication and Knuth
5510 addition. Clear inexact exceptions and check for exact zero
5512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5515 * math/libm-test.inc (fma_test): Add more tests.
5516 (fma_test_towardzero): Likewise.
5517 (fma_test_downward): Likewise.
5518 (fma_test_upward): Likewise.
5519 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5521 (libc_fesetround): New macro.
5522 (libc_fesetroundf): Likewise.
5523 (libc_fesetroundl): Likewise.
5524 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5526 (libc_fesetround_387): Likewise.
5527 (libc_fesetroundf): New macro.
5528 (libc_fesetround): Likewise.
5529 (libc_fesetroundl): Likewise.
5530 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5532 (libc_fesetroundf): New macro.
5533 (libc_fesetround): Likewise.
5534 (libc_fesetroundl): Likewise.
5535 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5536 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5537 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5539 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5540 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5542 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5543 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5545 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5549 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5550 integer constant usable in #if and use that to give value to enum
5552 (FE_DIVBYZERO): Likewise.
5553 (FE_UNDERFLOW): Likewise.
5554 (FE_OVERFLOW): Likewise.
5555 (FE_INVALID): Likewise.
5556 (FE_INVALID_SNAN): Likewise.
5557 (FE_INVALID_ISI): Likewise.
5558 (FE_INVALID_IDI): Likewise.
5559 (FE_INVALID_ZDZ): Likewise.
5560 (FE_INVALID_IMZ): Likewise.
5561 (FE_INVALID_COMPARE): Likewise.
5562 (FE_INVALID_SOFTWARE): Likewise.
5563 (FE_INVALID_SQRT): Likewise.
5564 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5565 (FE_TONEAREST): Likewise.
5566 (FE_TOWARDZERO): Likewise.
5567 (FE_UPWARD): Likewise.
5568 (FE_DOWNWARD): Likewise.
5569 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5570 (FE_DIVBYZERO): Likewise.
5571 (FE_OVERFLOW): Likewise.
5572 (FE_UNDERFLOW): Likewise.
5573 (FE_INEXACT): Likewise.
5574 (FE_TONEAREST): Likewise.
5575 (FE_DOWNWARD): Likewise.
5576 (FE_UPWARD): Likewise.
5577 (FE_TOWARDZERO): Likewise.
5578 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5579 (FE_UNDERFLOW): Likewise.
5580 (FE_OVERFLOW): Likewise.
5581 (FE_DIVBYZERO): Likewise.
5582 (FE_INVALID): Likewise.
5583 (FE_TONEAREST): Likewise.
5584 (FE_TOWARDZERO): Likewise.
5585 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5586 (FE_OVERFLOW): Likewise.
5587 (FE_UNDERFLOW): Likewise.
5588 (FE_DIVBYZERO): Likewise.
5589 (FE_INEXACT): Likewise.
5590 (FE_TONEAREST): Likewise.
5591 (FE_TOWARDZERO): Likewise.
5592 (FE_UPWARD): Likewise.
5593 (FE_DOWNWARD): Likewise.
5594 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5595 (FE_DIVBYZERO): Likewise.
5596 (FE_OVERFLOW): Likewise.
5597 (FE_UNDERFLOW): Likewise.
5598 (FE_INEXACT): Likewise.
5599 (FE_TONEAREST): Likewise.
5600 (FE_DOWNWARD): Likewise.
5601 (FE_UPWARD): Likewise.
5602 (FE_TOWARDZERO): Likewise.
5604 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5606 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5608 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5610 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5611 commands. Quote $PWD.
5612 (blacklist_exports): Don't use remove_newlines. Replace "declare
5614 (remove_newlines): Remove.
5616 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5618 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5619 * stdlib/stdlib.h (atof): Moved to ...
5620 * include/bits/stdlib-float.h: Here. New file.
5621 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5622 * stdlib/bits/stdlib-float.h: New file.
5623 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5625 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5628 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5630 * conform/conformtest.pl (@headers): Add fenv.h.
5631 * conform/data/fenv.h-data: New file.
5632 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5633 include of <math/fenv.h>.
5635 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5636 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5637 && !UNIX98]. Enables tests for XOPEN2K8.
5638 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5639 POSIX2008]: Likewise.
5641 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5642 (struct rusage): Do not expect type or its members.
5645 * math/math.h (FP_NAN): Define macro to integer constant usable in
5646 #if and use that to give value to enum constant.
5647 (FP_INFINITE): Likewise.
5648 (FP_ZERO): Likewise.
5649 (FP_SUBNORMAL): Likewise.
5650 (FP_NORMAL): Likewise.
5652 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5654 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5655 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5658 2012-11-02 Roland McGrath <roland@hack.frob.com>
5660 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5661 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5662 autoconf-time if not.
5663 * configure.in: Remove AC_PREREQ.
5665 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5667 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5668 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5669 of the internal implementation.
5671 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5673 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5674 except include of <misc/sys/syslog.h>.
5676 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5679 function returns with a NULL context exit with zero.
5681 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5683 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5685 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5687 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5688 (run_program_cmd): This.
5689 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5690 (tst_langinfo): New variable. Use it.
5692 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5694 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5695 floating point opcodes.
5697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5699 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5702 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5704 * sysdeps/mach/hurd/powerpc: Remove directory.
5705 * sysdeps/mach/powerpc: Likewise.
5707 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5709 * scripts/check-local-headers.sh: Ignore c++ headers.
5711 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5713 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5714 __libc_cleanup_region_start argument.
5716 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5721 x * y using scaling, not as x * y + z.
5722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5724 * math/libm-test.inc (fma_test): Add more tests.
5725 (fma_test_towardzero): Likewise.
5726 (fma_test_downward): Likewise.
5727 (fma_test_upward): Likewise.
5729 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5731 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5733 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5735 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5738 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5740 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5742 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5749 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5752 Fix the order of the list for glibc 2.17.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5756 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5760 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5764 for low part of x being zero before using __atanl (y).
5765 * math/libm-test.inc (atan2_test): Add another test.
5767 * manual/install.texi (Configuring and compiling): Document
5768 general use of test-wrapper and test-wrapper-env.
5769 * INSTALL: Regenerated.
5771 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5772 (__fma): Do not extract and scale down low bits on after-rounding
5773 systems when result rounded to normal precision would have normal
5775 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5776 (__fmal): Do not extract and scale down low bits on after-rounding
5777 systems when result rounded to normal precision would have normal
5779 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5780 (__fmal): Do not extract and scale down low bits on after-rounding
5781 systems when result rounded to normal precision would have normal
5783 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5785 (fma_test): Add more tests.
5786 (fma_test_towardzero): Likewise.
5787 (fma_test_downward): Likewise.
5788 (fma_test_upward): Likewise.
5790 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5792 * sysdeps/i386/tininess.h: Renamed to ...
5793 * sysdeps/x86/tininess.h: This.
5794 * sysdeps/x86_64/tininess.h: Removed.
5796 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5798 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5799 input. Use $(build-program-cmd).
5800 ($(objpfx)tst-array1-static.out): Likewise.
5801 ($(objpfx)tst-array2.out): Likewise.
5802 ($(objpfx)tst-array3.out): Likewise.
5803 ($(objpfx)tst-array4.out): Likewise.
5804 ($(objpfx)tst-array5.out): Likewise.
5805 ($(objpfx)tst-array5-static.out): Likewise.
5807 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5809 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5812 * nss/nsswitch.h (nss_interface_function): Provide new
5813 macro for use with NSS functions.
5814 * grp/initgroups.c: Use new macro.
5815 * nss/getXXbyYY.c: Likewise.
5816 * nss/getXXbyYY_r.c: Likewise.
5817 * nss/getXXent.c: Likewise.
5818 * nss/getXXent_r.c: Likewise.
5819 * sysdeps/posix/getaddrinfo.c: Likewise.
5821 2012-10-30 Andreas Jaeger <aj@suse.de>
5823 * po/ru.po: Update Russion translation from translation project.
5825 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5830 result and shift together with sticky bit instead of replicating
5831 round-to-nearest rounding.
5832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5834 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5835 missing underflow exceptions.
5836 (fma_test_towardzero): Add more tests.
5837 (fma_test_downward): Likewise.
5838 (fma_test_upward): Likewise.
5841 * sysdeps/generic/tininess.h: New file.
5842 * sysdeps/i386/tininess.h: Likewise.
5843 * sysdeps/sh/tininess.h: Likewise.
5844 * sysdeps/x86_64/tininess.h: Likewise.
5845 * stdlib/tst-strtod-underflow.c: Likewise.
5846 * stdlib/tst-tininess.c: Likewise.
5847 * stdlib/strtod_l.c: Include <tininess.h>.
5848 (round_and_return): Do not set errno for exact underflow cases.
5849 Force an underflow exception when setting errno for underflow.
5850 Determine underflow based on rounding to normal precision if
5851 TININESS_AFTER_ROUNDING.
5852 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5853 ERANGE for exact underflow cases.
5854 * stdlib/Makefile (tests): Add tst-tininess and
5855 tst-strtod-underflow.
5856 ($(objpfx)tst-tininess): Use $(link-libm).
5857 ($(objpfx)tst-strtod-underflow): Likewise.
5859 2012-10-30 Andreas Jaeger <aj@suse.de>
5862 * elf/Makefile (tests): Remove conditional for have-initfini-array
5863 since this is now always required and the variable does not exist
5865 (tests-static): Likewise.
5866 (modules-names): Likewise.
5868 * po/eo.po: Add Esperanto translation from translation project.
5870 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5871 merged with constructor/destructor.
5872 (init_array): Likewise.
5873 * elf/tst-array2dep.c (fini_array): Likewise.
5874 (init_array): Likewise.
5876 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5878 * manual/message.texi: Delete @cartouche tags.
5880 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5882 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5884 * sysdeps/mach/hurd/fsync.c: Likewise.
5886 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5887 [_POSIX_REALTIME_SIGNALS]: Change condition to
5888 [_POSIX_REALTIME_SIGNALS > 0].
5890 2012-10-27 Andreas Jaeger <aj@suse.de>
5892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5893 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5895 [__WORDSIZE != 64]: Likewise.
5897 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5899 * iconvdata/tst-table.sh: Remove ${SHELL}.
5900 * iconvdata/tst-tables.sh: Likewise.
5902 2012-10-25 David S. Miller <davem@davemloft.net>
5904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5905 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5911 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5912 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5915 2012-10-25 Roland McGrath <roland@hack.frob.com>
5917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5918 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5921 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5922 Jim Blandy <jimb@codesourcery.com>
5924 * scripts/cross-test-ssh.sh: New file.
5925 * manual/install.texi (Configuring and compiling): Document use of
5927 * INSTALL: Regenerated.
5929 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5931 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5934 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5936 * Makeconfig (run-program-prefix): Fix comment.
5938 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5939 Jim Blandy <jimb@codesourcery.com>
5941 * Makeconfig (test-wrapper): New variable,
5942 (test-wrapper-env): Likewise.
5943 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5944 (run-built-tests): Define to yes.
5945 (run-program-prefix): Use $(test-wrapper).
5946 (built-program-cmd): Likewise.
5947 * Rules (make-test-out): Use $(test-wrapper-env) and
5948 $(host-built-program-cmd).
5949 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5950 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5952 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5953 $(test-wrapper-env) to tst-rtld-load-self.sh.
5954 ($(objpfx)order2.out): Use $(test-wrapper).
5955 ($(objpfx)tst-initorder.out): Likewise.
5956 ($(objpfx)tst-initorder2.out): Likewise.
5957 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5958 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5959 (test_wrapper_env): New variable. Use it to run ld.so.
5960 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5961 Use it to run ld.so.
5962 (test_wrapper_env): Likewise.
5963 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5964 $(test-wrapper) to run-iconv-test.sh.
5965 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5966 (ICONV): Use $test_wrapper.
5967 * posix/Makefile ($(objpfx)globtest.out): Pass
5968 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5969 globtest.sh, not $(run-program-prefix).
5970 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5971 (test_wrapper): Likewise.
5972 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5973 set together with run_via_rtld_prefix.
5974 (run_program_prefix): Define in terms of test_wrapper and
5975 run_via_rtld_prefix.
5977 2012-10-24 Roland McGrath <roland@hack.frob.com>
5979 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5980 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5984 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5985 Declare __clock_getres, __clock_gettime, __clock_settime,
5986 __clock_nanosleep, and __clock_getcpuclockid.
5987 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5988 Remove librt_hidden_def (clock_gettime).
5989 * sysdeps/unix/clock_gettime.c: Likewise.
5990 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5991 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5992 * rt/clock_getres.c: Define __clock_getres as an alias.
5993 * sysdeps/posix/clock_getres.c: Likewise.
5994 * rt/clock_settime.c: Define __clock_settime as an alias.
5995 * sysdeps/unix/clock_settime.c: Likewise.
5996 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5997 * sysdeps/unix/clock_nanosleep.c: Likewise.
5998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5999 * rt/clock-compat.c: New file.
6000 * rt/Makefile (librt-routines): Add clock-compat and move
6001 $(clock-routines) to ...
6002 (routines): ... here, new variable.
6003 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6004 Don't add get_clockfreq here.
6005 * rt/Versions (libc: GLIBC_2.17): New version set.
6006 Add clock_* symbols here.
6007 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6009 (GLIBC_2.17): Add clock_* symbols.
6010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6021 * NEWS: Mention the move.
6023 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6024 Use __open, __read, __close rather than their public counterparts.
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6026 (__get_clockfreq_via_cpuinfo): Likewise.
6027 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6028 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6030 * config.h.in (HAVE_IFUNC): New #undef.
6031 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6033 * configure: Regenerated.
6035 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6037 * configure.in: Move READELF check to start of file.
6038 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6039 libc_cv_asm_gnu_indirect_function in the process.
6040 * configure: Regenerated.
6042 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6044 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6045 send the output to /dev/null.
6046 (libc_cv_cc_with_libunwind): Likewise.
6047 (libc_cv_as_noexecstack): Likewise.
6048 * configure: Regenerate.
6050 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6052 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6054 * posix/globtest.sh (TMPDIR): Do not set.
6055 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6056 (testout): Likewise.
6058 2012-10-24 Andreas Jaeger <aj@suse.de>
6060 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6061 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6062 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6063 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6064 posix_fadvise64, posix_fallocate64.
6066 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6067 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6068 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6070 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6072 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6075 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6076 <bits/fcntl-linux.h>.
6077 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6080 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6081 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6082 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6083 [__WORDSIZE != 64]: Likewise.
6085 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6087 * Makeconfig (run-built-tests): New variable.
6088 * Rules [$(cross-compiling) = yes]: Change condition to
6089 [$(run-built-tests) = no].
6090 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6091 to [$(run-built-tests) = yes].
6092 * elf/Makefile [$(cross-compiling) = no]: Likewise
6093 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6094 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6095 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6096 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6097 * io/Makefile [$(cross-compiling) = no]: Likewise.
6098 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6099 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6100 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6101 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6102 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6103 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6104 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6105 * string/Makefile [$(cross-compiling) = no]: Likewise.
6107 * posix/Makefile ($(objpfx)globtest.out): Pass
6108 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6109 $(rtld-installed-name).
6110 * posix/globtest.sh (elf_objpfx): Remove variable.
6111 (rtld_installed_name): Likewise.
6112 (library_path): Likewise.
6113 (run_program_prefix): New variable. Use for running globtest
6116 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6117 Joseph Myers <joseph@codesourcery.com>
6119 * Makeconfig (host-built-program-cmd): New variable.
6120 * elf/Makefile (tst-stackguard1-ARGS): Use
6121 $(host-built-program-cmd).
6122 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6123 (tst-spawn-ARGS): Likewise.
6124 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6126 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6127 Jim Blandy <jimb@codesourcery.com>
6129 * Makeconfig (run-via-rtld-prefix): New variable.
6130 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6131 (built-program-cmd): Likewise.
6133 2012-10-22 Andreas Jaeger <aj@suse.de>
6135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6136 __O_RSYNC if it exists, otherwise to O_SYNC.
6138 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6139 Joseph Myers <joseph@codesourcery.com>
6141 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6143 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6145 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6148 2012-10-22 Andreas Jaeger <aj@suse.de>
6150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6158 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6165 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6166 Joseph Myers <joseph@codesourcery.com>
6168 * config.make.in (NM): New variable.
6170 2012-10-21 Andreas Jaeger <aj@suse.de>
6172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6173 definitions and declarations that are provided by
6174 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6176 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6179 * elf/Makefile (tests-static): Add tst-leaks1-static.
6180 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6181 ($(objpfx)tst-leaks1-static): New rule.
6182 ($(objpfx)tst-leaks1-static-mem): Likewise.
6183 (tst-leaks1-static-ENV): New macro.
6184 * elf/dl-open.c (dl_open_worker): Check the main application
6185 only if SHARED is defined.
6186 * elf/tst-leaks1-static.c: New file.
6188 2012-10-20 Andreas Jaeger <aj@suse.de>
6190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6191 generic values for Linux.
6192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6193 and declarations that are provided by <bits/fcntl-linux.h> and
6194 include <bits/fcntl-linux.h>.
6195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6198 2012-10-20 Roland McGrath <roland@hack.frob.com>
6200 * io/fcntl.h: Move include of <bits/types.h> to the top and
6201 include it unconditionally.
6203 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6205 * wcsmbs/Makefile (tests-ifunc): New variable.
6206 (tests): Add $(tests-ifunc).
6207 * wcsmbs/test-wcschr-ifunc.c: New file.
6208 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6209 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6210 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6211 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6212 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6214 * string/Makefile (tests-ifunc): New variable.
6215 (tests): Add $(tests-ifunc).
6216 * string/test-memccpy.c (TEST_NAME): New macro.
6217 * string/test-memchr.c (TEST_NAME): Likewise.
6218 * string/test-memcmp.c (TEST_NAME): Likewise.
6219 * string/test-memcpy.c (TEST_NAME): Likewise.
6220 * string/test-memmem.c (TEST_NAME): Likewise.
6221 * string/test-memmove.c (TEST_NAME): Likewise.
6222 * string/test-memset.c (TEST_NAME): Likewise.
6223 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6224 * string/test-stpcpy.c (TEST_NAME): Likewise.
6225 * string/test-stpncpy.c (TEST_NAME): Likewise.
6226 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6227 * string/test-strcasestr.c (TEST_NAME): Likewise.
6228 * string/test-strcat.c (TEST_NAME): Likewise.
6229 * string/test-strchr.c (TEST_NAME): Likewise.
6230 * string/test-strcmp.c(TEST_NAME): Likewise.
6231 * string/test-strcpy.c (TEST_NAME): Likewise.
6232 * string/test-strcspn.c (TEST_NAME): Likewise.
6233 * string/test-strlen.c (TEST_NAME): Likewise.
6234 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6235 * string/test-strncmp.c (TEST_NAME): Likewise.
6236 * string/test-strncpy.c (TEST_NAME): Likewise.
6237 * string/test-strnlen.c (TEST_NAME): Likewise.
6238 * string/test-strpbrk.c (TEST_NAME): Likewise.
6239 * string/test-strrchr.c (TEST_NAME): Likewise.
6240 * string/test-strspn.c (TEST_NAME): Likewise.
6241 * string/test-strstr.c (TEST_NAME): Likewise.
6242 * string/test-bcopy-ifunc.c: New file.
6243 * string/test-bzero-ifunc.c: Likewise.
6244 * string/test-memccpy-ifunc.c: Likewise.
6245 * string/test-memchr-ifunc.c: Likewise.
6246 * string/test-memcmp-ifunc.c: Likewise.
6247 * string/test-memcpy-ifunc.c: Likewise.
6248 * string/test-memmem-ifunc.c: Likewise.
6249 * string/test-memmove-ifunc.c: Likewise.
6250 * string/test-mempcpy-ifunc.c: Likewise.
6251 * string/test-memset-ifunc.c: Likewise.
6252 * string/test-rawmemchr-ifunc.c: Likewise.
6253 * string/test-stpcpy-ifunc.c: Likewise.
6254 * string/test-stpncpy-ifunc.c: Likewise.
6255 * string/test-strcasecmp-ifunc.c: Likewise.
6256 * string/test-strcasestr-ifunc.c: Likewise.
6257 * string/test-strcat-ifunc.c: Likewise.
6258 * string/test-strchr-ifunc.c: Likewise.
6259 * string/test-strchrnul-ifunc.c: Likewise.
6260 * string/test-strcmp-ifunc.c: Likewise.
6261 * string/test-strcpy-ifunc.c: Likewise.
6262 * string/test-strcspn-ifunc.c: Likewise.
6263 * string/test-strlen-ifunc.c: Likewise.
6264 * string/test-strncasecmp-ifunc.c: Likewise.
6265 * string/test-strncat-ifunc.c: Likewise.
6266 * string/test-strncmp-ifunc.c: Likewise.
6267 * string/test-strncpy-ifunc.c: Likewise.
6268 * string/test-strnlen-ifunc.c: Likewise.
6269 * string/test-strpbrk-ifunc.c: Likewise.
6270 * string/test-strrchr-ifunc.c: Likewise.
6271 * string/test-strspn-ifunc.c: Likewise.
6272 * string/test-strstr-ifunc.c: Likewise.
6274 * debug/Makefile (tests-ifunc): New variable.
6275 (tests): Add $(tests-ifunc).
6276 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6277 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6278 * debug/test-stpcpy_chk-ifunc.c: New file.
6279 * debug/test-strcpy_chk-ifunc.c: Likewise.
6281 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6284 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6285 header is not read in.
6287 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6289 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6290 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6291 directly. Pass built executable to script as
6292 $(built-program-cmd).
6293 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6294 $testprogram without using LD_LIBRARY_PATH and $ldso.
6296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6297 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6298 $(rtld-installed-name).
6299 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6300 (rtld_installed_name): Likewise.
6301 (library_path): Likewise.
6302 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6303 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6304 $(run-program-prefix) to tst-tables.sh.
6305 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6306 it to run tst-table-from and tst-table-to.
6307 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6308 Pass it to tst-table.sh.
6309 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6310 $(run-program-prefix) to tst-gettext.sh.
6311 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6313 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6315 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6317 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6318 to run tst-gettext2.
6319 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6320 to run tst-translit.
6321 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6322 $(run-program-prefix) to tst-mtrace.sh.
6323 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6325 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6326 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6327 $(rtld-installed-name).
6328 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6329 (rtld_installed_name): Likewise.
6330 (run_program_prefix): New variable. Use it to run wordexp-test.
6332 * Makeconfig (ARCH): Remove all definitions.
6333 (machine): Likewise.
6334 [ARCH]: Remove conditional code.
6335 [!objdir]: Give error.
6336 [!objdir] (objpfx): Remove.
6337 [!objdir] (common-objpfx): Likewise.
6338 [!objdir] (common-objdir): Likewise.
6339 * configure.in (config_makefile): Remove. Hardcode Makefile in
6340 AC_CONFIG_FILES call.
6341 * configure: Regenerated.
6344 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6346 (testout): Likewise.
6348 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6349 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6350 $(rtld-installed-name).
6351 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6352 (rtld_installed_name): Likwise.
6353 (runit): Remove function.
6354 (run_getconf): New variable, Use it for running getconf binary.
6356 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6359 * string/test-memmem.c (check_result): New function.
6360 (do_one_test): Use it.
6361 (check1): New function.
6362 (test_main): Use it.
6364 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6366 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6368 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6370 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6371 (_G_LSEEK64): Likewise.
6372 (_G_MMAP64): Likewise.
6373 (_G_FSTAT64): Likewise.
6374 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6375 (_G_LSEEK64): Likewise.
6376 (_G_MMAP64): Likewise.
6377 (_G_FSTAT64): Likewise.
6378 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6379 unconditional. Call __mmap64 directly.
6380 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6381 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6383 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6384 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6386 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6387 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6389 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6390 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6392 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6393 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6395 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6396 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6397 __fxstat64 directly.
6398 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6399 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6401 (freopen64) [!_G_OPEN64]: Remove conditional code.
6402 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6404 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6405 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6407 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6408 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6410 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6411 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6413 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6414 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6416 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6417 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6419 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6420 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6422 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6424 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6427 * manual/memory.texi (Malloc Tunable Parameters): Add note
6428 about free list pointers overwriting some perturb bytes.
6429 Wording suggested by Roland McGrath.
6431 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6433 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6434 (lgamma_test): Likewise.
6435 (tgamma_test): Likewise.
6437 2012-10-16 Florian Weimer <fweimer@redhat.com>
6440 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6441 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6443 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6445 * NEWS: Mention BZ #14716.
6446 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6447 when removing AVAILABLE1_USES_J macro.
6449 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6451 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6452 (__bswap_64): __uint64_t for unsigned 64-bit int.
6454 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6456 * include/string.h (memmem): Declare libc hidden alias.
6457 * string/memmem.c (memmem): Define libc hidden alias.
6458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6459 __read, __close instead of open, read, close.
6461 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6464 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6466 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6467 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6468 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6470 (__rawmemchr_sse2): Likewise.
6471 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6473 (__strchr_sse2): Likewise.
6474 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6475 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6476 (__strcasecmp_sse2): Likewise.
6477 (__strncasecmp_sse2): Likewise.
6478 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6479 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6480 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6481 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6482 (__strrchr_sse2): Likewise.
6483 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6485 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6486 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6487 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6488 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6489 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6491 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6492 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6493 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6494 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6495 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6496 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6497 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6498 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6499 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6500 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6501 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6502 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6503 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6504 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6505 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6506 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6507 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6508 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6509 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6511 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6513 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6514 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6516 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6518 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6519 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6520 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6521 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6523 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6525 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6526 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6527 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6528 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6530 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6531 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6532 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6539 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6543 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6544 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6545 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6547 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6555 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6556 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6557 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6558 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6559 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6560 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6561 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6562 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6563 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6572 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6573 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6574 * include/ifunc-impl-list.h: New file.
6575 * misc/ifunc-impl-list.c: Likewise.
6576 * misc/Makefile (routines): Add ifunc-impl-list.
6577 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6578 * string/test-string.h: Include <ifunc-impl-list.h>.
6579 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6580 impl_array): New variables.
6581 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6583 (test_init): Call __libc_ifunc_impl_list to initialize
6584 func_list if TEST_IFUNC and TEST_NAME are defined.
6586 * string/Makefile (strop-tests): Add bcopy and bzero.
6587 * string/test-bcopy.c: New file.
6588 * string/test-bzero.c: Likewise.
6589 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6591 * string/test-memset.c: Support bzero test if TEST_BZERO is
6593 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6595 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6597 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6600 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6602 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6603 * configure: Regenerated.
6605 * Makeconfig (+link-static-before-libc): Don't include
6606 $(link-static-libc).
6608 * libio/libio.h (_IO_pos_t): Remove.
6610 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6612 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6615 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6617 * crypt/crypt-entry.c: Include fips-private.h.
6618 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6619 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6620 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6621 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6623 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6625 * crypt/crypt-private.h: Include stdbool.h.
6626 (_ufc_setup_salt_r): Return bool.
6627 * crypt/crypt-entry.c: Include errno.h.
6628 (__crypt_r): Return NULL with EINVAL for bad salt.
6629 * crypt/crypt_util.c (bad_for_salt): New.
6630 (_ufc_setup_salt_r): Check that salt is long enough and within
6631 the specified alphabet.
6632 * crypt/badsalttest.c: New file.
6633 * crypt/Makefile (tests): Add it.
6634 ($(objpfx)badsalttest): New.
6636 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6638 * NEWS: Add entry for BZ #14602.
6640 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6642 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6644 * math/libm-test.inc: Update comment listing what functions and
6646 (isgreater_test): New function.
6647 (isgreaterequal_test): Likewise.
6648 (isless_test): Likewise.
6649 (islessequal_test): Likewise.
6650 (islessgreater_test): Likewise.
6651 (isunordered_test): Likewise.
6652 (main): Call the new functions.
6654 2012-10-09 Roland McGrath <roland@hack.frob.com>
6656 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6657 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6658 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6659 * sysdeps/i386/configure: Regenerated.
6660 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6661 * sysdeps/mach/configure: Regenerated.
6662 * sysdeps/mach/hurd/configure: Regenerated.
6663 * sysdeps/powerpc/configure: Regenerated.
6664 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6665 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6666 * sysdeps/s390/s390-32/configure: Regenerated.
6667 * sysdeps/s390/s390-64/configure: Regenerated.
6668 * sysdeps/sh/configure: Regenerated.
6669 * sysdeps/sparc/configure: Regenerated.
6670 * sysdeps/unix/sysv/linux/configure: Regenerated.
6671 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6672 * sysdeps/x86_64/configure: Regenerated.
6674 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6675 defined. Don't check if MAP is NULL.
6677 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6680 (_G_stat64): Likewise.
6681 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6682 (_G_stat64): Likewise.
6683 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6684 instead of struct _G_stat64.
6685 * libio/fileops.c (mmap_remap_check): Likewise.
6686 (decide_maybe_mmap): Likewise.
6687 (_IO_new_file_seekoff): Likewise.
6688 (_IO_file_stat): Likewise.
6689 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6691 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6692 instead of struct _G_stat64.
6693 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6695 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6698 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6700 (CHECK_EOL): New macro.
6701 (two_way_short_needle): Check beginning of haystack for EOL. Use
6703 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6704 Replace with CHECK_EOL.
6705 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6706 Replace with CHECK_EOL.
6708 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6710 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6712 * math/libm-test.inc: Update comment listing what functions and
6714 (finite_test): New function.
6715 (isinf_test): Likewise.
6716 (isnan_test): Likewise.
6717 (fpclassify_test): Test subnormal input.
6718 (isfinite_test): Likewise.
6719 (isnormal_test): Likewise.
6720 (main): Call the new functions.
6722 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6725 * Makerules (%.dynsym): Force C locale when running
6726 $(OBJDUMP) --dynamic-syms.
6728 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6730 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6733 2012-10-06 David S. Miller <davem@davemloft.net>
6735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6736 upper 32-bits of the length value in %o2 since we use branch-on-register
6737 tests which consider the entire 64-bit register.
6739 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6741 * string/test-strstr.c (check2): Add a test for page boundary.
6743 2012-10-05 David S. Miller <davem@davemloft.net>
6745 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6746 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6748 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6750 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6751 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6752 and bzero when HWCAP_SPARC_CRYPTO is present.
6754 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6757 * string/test-strstr.c (check2): New function.
6758 (test_main): Call check2.
6760 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6762 * string/bug-strcasestr1.c (do_test): Moved to ...
6763 * string/test-strcasestr.c (check1): Here. New function.
6764 (do_one_test): Break out result checking code into ...
6765 (check_result): This. New function.
6766 (do_one_test): Call check_result.
6767 (test_main): Call check1.
6768 * string/bug-strchr1.c (do_test): Moved to ...
6769 * string/test-strchr.c (check1): Here. New function.
6770 (do_one_test): Break out result checking code into ...
6771 (check_result): This. New function.
6772 (do_one_test): Call check_result.
6773 (test_main): Call check1.
6774 * string/bug-strstr1.c (main): Moved to ...
6775 * string/test-strstr.c (check1): Here. New function.
6776 (do_one_test): Break out result checking code into ...
6777 (check_result): This. New function.
6778 (do_one_test): Call check_result.
6779 (test_main): Call check1.
6780 * string/bug-strcasestr1.c: Removed.
6781 * string/bug-strchr1.c: Likewise.
6782 * string/bug-strstr1.c: Likewise.
6784 * elf/Makefile (dl-routines): Add hwcaps.
6785 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6786 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6787 (_dl_important_hwcaps): Moved to ...
6788 * elf/dl-hwcaps.c: Here. New file.
6789 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6792 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6793 if IS_IN_rtld isn't defined.
6795 * elf/dl-support.c (_dl_sysinfo_map): New.
6796 Include "get-dynamic-info.h" and "setup-vdso.h".
6797 (_dl_non_dynamic_init): Call setup_vdso.
6798 * elf/dynamic-link.h: Don't include <assert.h>.
6799 (elf_get_dynamic_info): Moved to ...
6800 * elf/get-dynamic-info.h: Here. New file.
6801 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6802 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6803 * elf/setup-vdso.h: Here. New file.
6804 * elf/rtld.c: Include "setup-vdso.h".
6805 (dl_main): Call setup_vdso.
6807 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6809 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6810 creal in comment listing functions tested. List finite, isinf,
6811 isnan, isless, islessequal, isgreater, isgreaterequal,
6812 islessgreater, isunordered, lgamma_r and pow10 as functions and
6813 macros not tested. Mention which functions not tested are aliases
6814 for other functions. Fix typo. Note that signs of NaNs are not
6817 * scripts/config.guess: Update from config.git.
6818 * scripts/config.sub: Likewise.
6820 2012-10-04 Roland McGrath <roland@hack.frob.com>
6822 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6823 * misc/madvise.c (madvise): Renamed to __madvise.
6824 Make madvise a weak alias.
6825 * include/sys/mman.h: Declare __madvise.
6826 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6827 * sysdeps/unix/syscalls.list
6828 (madvise): Make __madvise the strong name, and madvise a weak alias.
6829 * sysdeps/unix/sysv/linux/syscalls.list
6830 (madvise, mmap): Remove redundant entries.
6831 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6832 * malloc/malloc.c (mtrim): Likewise.
6833 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6835 2012-10-03 Roland McGrath <roland@hack.frob.com>
6837 * sysdeps/mach/hurd/dl-cache.c: File removed.
6838 * config.h.in (USE_LDCONFIG): New #undef.
6839 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6840 * configure: Regenerated.
6841 * elf/Makefile (dl-routines): Add dl-cache only under
6842 [$(use-ldconfig) = yes].
6843 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6844 cache on [USE_LDCONFIG].
6845 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6847 * elf/rtld.c (dl_main): Likewise.
6849 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6851 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6852 _SC_LEVEL4_CACHE_LINESIZE.
6854 2012-10-03 Roland McGrath <roland@hack.frob.com>
6856 * sysdeps/unix/bsd/confstr.h: File removed.
6858 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6860 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6863 2012-10-02 Roland McGrath <roland@hack.frob.com>
6865 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6866 Make 'mapoff' field ElfW(Off) rather than off_t.
6868 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6870 * nscd/Makefile: Remove nscd-cflags and all its users.
6871 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6872 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6875 * malloc.c (malloc_printerr): Clarify error message.
6877 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6881 Set bit_FMA_Usable if FMA is supported.
6882 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6884 (bit_FMA4_Usable): Updated.
6885 (index_FMA_Usable): New macro.
6886 (CPUID_FMA): Likewise
6887 (HAS_FMA): Defined with bit_FMA_Usable.
6889 2012-10-01 Roland McGrath <roland@hack.frob.com>
6891 * bits/types.h (__swblk_t): Type removed.
6892 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6893 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6895 (__SWBLK_T_TYPE): Likewise.
6896 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6897 (__SWBLK_T_TYPE): Likewise.
6898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6899 (__SWBLK_T_TYPE): Likewise.
6900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6901 (__SWBLK_T_TYPE): Likewise.
6903 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6904 Honza Horak <hhorak@redhat.com>
6906 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6907 (xdr_mapname): Use YPMAXMAP as maxsize.
6908 (xdr_peername): Use YPMAXPEER as maxsize.
6909 (xdr_keydat): Use YPAXRECORD as maxsize.
6910 (xdr_valdat): Use YPMAXRECORD as maxsize.
6912 2012-10-01 Roland McGrath <roland@hack.frob.com>
6914 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6916 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6917 * csu/init-first.c: ... here.
6918 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6919 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6920 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6922 * sysdeps/i386/init-first.c: File removed.
6923 * sysdeps/sh/init-first.c: File removed.
6925 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6929 if x * y might underflow to zero and z is zero.
6930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6932 * math/libm-test.inc (min_subnorm_value): New variable.
6933 (fma_test): Add more tests.
6934 (fma_test_towardzero): Likewise.
6935 (fma_test_downward): Likewise
6936 (fma_test_upward): Likewise.
6937 (initialize): Set min_subnorm_value.
6939 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6945 mode for addition resulting in exact zero.
6946 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6951 * math/libm-test.inc (fma_test): Add more tests.
6952 (fma_test_towardzero): New function.
6953 (fma_test_downward): Likewise.
6954 (fma_test_upward): Likewise.
6955 (main): Call the new functions.
6957 2012-09-28 David S. Miller <davem@davemloft.net>
6959 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6961 2012-09-28 Roland McGrath <roland@hack.frob.com>
6963 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6966 * sysdeps/gnu/_G_config.h: Moved to ...
6967 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6968 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6969 * sysdeps/generic/_G_config.h: ... here.
6971 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6973 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6975 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6976 Conditionalize target on [libnss_test1.so-version].
6978 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6980 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6981 (elfobjdir): Move out of conditionals.
6983 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6984 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6985 (__nss_lookup_function): Conditionalize label remove_from_tree on
6986 [!DO_STATIC_NSS || SHARED], matching its only use.
6988 2012-09-28 David S. Miller <davem@davemloft.net>
6990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6993 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6995 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6997 when HWCAP_SPARC_CRYPTO is present.
6999 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7001 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7003 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7006 * stdio-common/vfprintf.c (process_string_arg): Revert
7009 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7011 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7013 * stdio-common/tst-sprintf.c: Include <locale.h>
7014 (main): Test sprintf's handling of incomplete multibyte
7017 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7019 * elf/dl-runtime.c (VERSYMIDX): Removed.
7020 * elf/dl-version.c (VERSYMIDX): Likewise.
7021 * elf/do-rel.h (VERSYMIDX): Likewise.
7023 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7024 * elf/rtld.c (VALIDX): Likewise.
7025 (ADDRIDX): Likewise.
7026 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7027 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7028 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7029 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7031 (ADDRIDX): Likewise.
7033 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7035 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7037 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7040 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7042 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7043 addresses are in the same scope as 192.0.2/24.
7044 * posix/gai.conf: Document new scope table defaults.
7046 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7049 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7050 for ftell. Compute offsets from write pointers instead.
7051 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7053 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7056 * libio/Makefile (tests): New test case tst-fseek.
7057 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7058 combination works in wide mode.
7059 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7060 state when the external buffer state changes.
7062 2012-09-27 David S. Miller <davem@davemloft.net>
7065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7066 pass reloc->r_addend in as the 'high' argument to
7067 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7071 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7073 * rt/tst-aio2.c: Include <pthread.h>.
7074 * rt/tst-aio3.c: Likewise.
7076 2012-09-27 Steve Ellcey <sellcey@mips.com>
7078 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7080 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7082 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7083 contents on [SHARED].
7085 2012-09-26 Marek Polacek <polacek@redhat.com>
7089 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7090 for C++ and GCC <4.3 as well as for non GCC compilers.
7092 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7096 2012-09-25 Roland McGrath <roland@hack.frob.com>
7098 * Makefile.in (all, install): Declare with .PHONY.
7099 Reported by Michael Hope <michael.hope@linaro.org>.
7101 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7103 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7104 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7106 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7108 (sydep_routines): Add the new and the internal functions.
7109 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7110 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7112 (GLIBC_2.17): Add the new function.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7114 (GLIBC_2.17): Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7116 (GLIBC_2.17): Likewise.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7118 (GLIBC_2.17): Likewise.
7119 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7121 2012-09-25 Alan Modra <amodra@gmail.com>
7123 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7124 Add release barrier before setting once_control to say
7125 initialisation is done. Add hints on lwarx. Use macro in
7127 (clear_once_control): Add release barrier.
7129 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7132 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7134 * math/s_clog10.c (__clog10): Likewise.
7135 * math/s_clog10f.c (__clog10f): Likewise.
7136 * math/s_clog10l.c (__clog10l): Likewise.
7137 * math/s_clogf.c (__clogf): Likewise.
7138 * math/s_clogl.c (__clogl): Likewise.
7139 * math/Makefile (libm-calls): Add x2y2m1.
7140 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7141 (__x2y2m1): Likewise.
7142 (__x2y2m1l): Likewise.
7143 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7144 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7145 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7147 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7148 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7149 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7150 * sysdeps/i386/fpu/libm-test-ulps: Update.
7151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7154 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7155 int as type of variable DEPTH.
7156 (glob): Use size_t instead of int as type of variables NEWCOUNT
7159 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7163 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7165 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7166 macros for using routine as __sincosf_ia32.
7167 Use macro for function declaration and weak_alias.
7168 * sysdeps/i386/fpu/libm-test-ulps: Update.
7170 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7173 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7175 * math/s_cexpf.c (__cexpf): Likewise.
7176 * math/s_csinf.c (__csinf): Likewise.
7177 * math/s_csinhf.c (__csinhf): Likewise.
7178 * math/s_ctanf.c (__ctanf): Likewise.
7179 * math/s_ctanhf.c (__ctanhf): Likewise.
7180 * math/s_ccosh.c (__ccoshf): Likewise.
7181 * math/s_cexp.c (__cexpl): Likewise.
7182 * math/s_csin.c (__csin): Likewise.
7183 * math/s_csinh.c (__csinh): Likewise.
7184 * math/s_ctan.c (__ctan): Likewise.
7185 * math/s_ctanh.c (ctanh): Likewise.
7186 * math/s_ccoshl.c (__ccoshl): Likewise.
7187 * math/s_cexpl.c (__cexpl): Likewise.
7188 * math/s_csinl.c (__csinl): Likewise.
7189 * math/s_csinhl.c (__csinhl): Likewise.
7190 * math/s_ctanl.c (__ctanl): Likewise.
7191 * math/s_ctanhl.c (__ctanhl): Likewise.
7193 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7195 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7196 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7197 (_IO_off_t): Define to __off_t, not _G_off_t.
7198 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7199 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7200 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7201 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7202 type of __dummy and __dummy2 fields.
7203 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7204 (_G_ssize_t): Likewise.
7205 (_G_off_t): Likewise.
7206 (_G_pid_t): Likewise.
7207 (_G_uid_t): Likewise.
7208 (_G_wchar_t): Likewise.
7209 (_G_wint_t): Likewise.
7210 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7211 (_G_ssize_t): Likewise.
7212 (_G_off_t): Likewise.
7213 (_G_pid_t): Likewise.
7214 (_G_uid_t): Likewise.
7215 (_G_wchar_t): Likewise.
7216 (_G_wint_t): Likewise.
7217 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7218 (_G_ssize_t): Likewise.
7219 (_G_off_t): Likewise.
7220 (_G_pid_t): Likewise.
7221 (_G_uid_t): Likewise.
7222 (_G_wchar_t): Likewise.
7223 (_G_wint_t): Likewise.
7225 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7227 * malloc/arena.c: Include malloc-sysdep.h.
7228 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7229 is sufficient to shrink the heap or an unmap is needed.
7230 * sysdeps/generic/malloc-sysdep.h: New file. Define
7231 new function check_may_shrink_heap.
7232 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7233 new function check_may_shrink_heap.
7235 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7237 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7240 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7242 * catgets/test-gencat.sh: Add "set -e".
7243 * elf/tst-pathopt.sh: Likewise.
7244 * grp/tst_fgetgrent.sh: Likewise.
7245 * iconvdata/run-iconv-test.sh: Likewise.
7246 * intl/tst-gettext.sh: Likewise.
7247 * intl/tst-gettext2.sh: Likewise.
7248 * intl/tst-gettext4.sh: Likewise.
7249 * intl/tst-gettext6.sh: Likewise.
7250 * intl/tst-translit.sh: Likewise.
7251 * io/ftwtest-sh: Likewise.
7252 * libio/test-freopen.sh: Likewise.
7253 * malloc/tst-mtrace.sh: Likewise.
7254 * posix/globtest.sh: Likewise.
7255 * posix/tst-getconf.sh: Likewise.
7256 * posix/wordexp-tst.sh: Likewise.
7257 * stdio-common/tst-printf.sh: Likewise.
7258 * stdio-common/tst-unbputc.sh: Likewise.
7259 * stdlib/tst-fmtmsg.sh: Likewise.
7260 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7261 * catgets/Makefile: Do not specify -e option when running
7262 testsuite shell scripts.
7263 * elf/Makefile: Likewise.
7264 * grp/Makefile: Likewise.
7265 * iconvdata/Makefile: Likewise.
7266 * intl/Makefile: Likewise.
7267 * io/Makefile: Likewise.
7268 * libio/Makefile: Likewise.
7269 * malloc/Makefile: Likewise.
7270 * posix/Makefile: Likewise.
7271 * stdio-common/Makefile: Likewise.
7272 * stdlib/Makefile: Likewise.
7273 * sysdeps/x86_64/Makefile: Likewise.
7275 * io/ftwtest-sh: Add copyright header.
7276 * posix/globtest.sh: Likewise.
7277 * posix/tst-getconf.sh: Likewise.
7278 * posix/wordexp-tst.sh: Likewise.
7279 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7281 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7284 * Makeconfig (+link): Defined as $(+link-static) if
7285 $(build-shared) isn't yes.
7286 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7288 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7290 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7293 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7294 new chunk size with MALLOC_ALIGN_MASK.
7296 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7299 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7301 (__printf_fphex): Determine rounding using get_rounding_mode and
7303 * stdio-common/tst-printf-round.c (struct hex_test): New
7305 (hex_tests): New variable.
7306 (test_hex_in_one_mode): New function.
7307 (do_test): Also run tests for hex float output.
7309 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7311 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7312 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7313 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7314 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7315 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7316 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7317 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7318 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7320 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7322 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7323 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7324 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7325 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7327 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7330 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7332 * elf/tst-rtld-load-self.sh: New test.
7333 * elf/Makefile: Run it.
7335 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7337 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7338 (tst-writev-ENV): Remove.
7339 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7341 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7343 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7345 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7347 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7349 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7351 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7352 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7353 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7356 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7359 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7360 * config.make.in (have-cpp-asm-debuginfo): Removed.
7361 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7362 * configure: Regenerated.
7364 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7367 * stdio-common/printf_fp.c: Include <stdbool.h> and
7369 (___printf_fp): Determine rounding using get_rounding_mode and
7371 * stdio-common/tst-printf-round.c: New file.
7372 * stdio-common/Makefile (tests): Add tst-printf-round.
7373 (link-libm): New variable.
7374 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7376 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7379 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7380 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7382 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7385 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7387 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7388 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7389 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7390 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7392 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7395 * include/rounding-mode.h: New file.
7396 * sysdeps/generic/get-rounding-mode.h: Likewise.
7397 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7398 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7399 (MAX_VALUE): New macro.
7400 (MIN_VALUE): Likewise.
7401 (overflow_value): New function.
7402 (underflow_value): Likewise.
7403 (round_and_return): Use overflow_value and underflow_value to
7404 determine return values in overflow and underflow cases. Use
7405 round_away to determine rounding depending on rounding mode.
7406 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7407 determine return values in overflow and underflow cases.
7408 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7409 (struct test_results): New structure.
7410 (struct test): Use struct test_results to store expected results
7411 for all rounding modes.
7412 (TEST): Include expected results for all rounding modes.
7413 (test_in_one_mode): New function.
7414 (do_test): Use test_in_one_mode to compute and check results.
7415 Check results for all rounding modes.
7416 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7419 2012-12-09 Allan McRae <allan@archlinux.org>
7421 * sysdeps/i386/fpu/libm-test-ulps: Update
7423 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7425 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7426 (_G_int32_t): Likewise.
7427 (_G_uint16_t): Likewise.
7428 (_G_uint32_t): Likewise.
7429 (_G_HAVE_BOOL): Likewise.
7430 (_G_HAVE_ATEXIT): Likewise.
7431 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7432 (_G_HAVE_IO_FILE_OPEN): Likewise.
7433 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7434 (_G_int32_t): Likewise.
7435 (_G_uint16_t): Likewise.
7436 (_G_uint32_t): Likewise.
7437 (_G_HAVE_BOOL): Likewise.
7438 (_G_HAVE_ATEXIT): Likewise.
7439 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7440 (_G_HAVE_IO_FILE_OPEN): Likewise.
7441 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7442 (_G_int32_t): Likewise.
7443 (_G_uint16_t): Likewise.
7444 (_G_uint32_t): Likewise.
7445 (_G_HAVE_BOOL): Likewise.
7446 (_G_HAVE_ATEXIT): Likewise.
7447 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7448 (_G_HAVE_IO_FILE_OPEN): Likewise.
7450 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7452 * csu/libc-tls.c: Update copyright years.
7454 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7456 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7457 [!_G_USING_THUNKS]: Remove conditional code.
7458 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7459 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7461 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7462 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7463 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7464 (_G_VTABLE_LABEL_PREFIX): Likewise.
7465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7466 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7468 (_G_VTABLE_LABEL_PREFIX): Likewise.
7469 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7470 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7471 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7472 (_G_VTABLE_LABEL_PREFIX): Likewise.
7473 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7475 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7477 * libio/Makefile: Include ../Makeconfig before tests.
7478 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7479 only if $(build-shared) is yes.
7481 * iconv/gconv_db.c: Update copyright years.
7483 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7485 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7486 unwind info if defined PIC. Fix special cases description.
7487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7489 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7491 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7493 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7495 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7497 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7500 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7501 (LDLIBS-tst-chk4): This.
7502 (LDFLAGS-tst-chk5): Renamed to ...
7503 (LDLIBS-tst-chk5): This.
7504 (LDFLAGS-tst-chk6): Renamed to ...
7505 (LDLIBS-tst-chk6): This.
7506 (LDFLAGS-tst-lfschk4): Renamed to ...
7507 (LDLIBS-tst-lfschk4): This.
7508 (LDFLAGS-tst-lfschk5): Renamed to ...
7509 (LDLIBS-tst-lfschk5): This.
7510 (LDFLAGS-tst-lfschk6): Renamed to ...
7511 (LDLIBS-tst-lfschk6): This.
7513 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7514 on $(common-objpfx)soversions.mk.
7516 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7519 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7522 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 * malloc/arena.c (arena_get_retry): New function that gets
7525 another arena for the caller to try its request on.
7526 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7527 current arena cannot fulfill the request.
7528 (__libc_memalign): Likewise.
7529 (__libc_memalign): Likewise.
7530 (__libc_pvalloc): Likewise.
7531 (__libc_calloc): Likewise.
7533 2012-09-05 John Tobey <john.tobey@gmail.com>
7536 * manual/arith.texi (Operations on Complex): Fix description
7539 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7542 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7546 * manual/memory.texi (Memory): Make order of menu items match
7549 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7551 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7552 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7553 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7555 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7557 * csu/libc-tls.c (static_dtv): Renamed to ...
7558 (_dl_static_dtv): This. Make it global.
7559 (_dl_initial_dtv): Removed.
7560 (__libc_setup_tls): Updated.
7561 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7562 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7565 2012-09-06 Petr Machata <pmachata@redhat.com>
7567 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7568 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7569 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7570 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7572 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7575 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7576 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7579 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7582 * Makeconfig (link-static-before-libc): Replace $(+prector)
7584 (link-static-after-libc): Replace $(+postctor) with
7586 (link-bounded): Replace $(+prector)/$(+postctor) with
7587 $(+prectorT)/$(+postctorT).
7588 (+prectorT): New macro.
7589 (+postctorT): Likewise.
7591 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7593 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7594 (round_str): Handle values above the maximum for IBM long double
7596 * stdlib/tst-strtod-round.c (tests): Regenerated.
7598 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7600 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7602 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7603 zarch_nohighgprs around the zarch optimized routines.
7604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7606 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7609 2012-09-05 David S. Miller <davem@davemloft.net>
7611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7613 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7614 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7615 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7616 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7619 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7621 * malloc/arena.c: Fold copyright years.
7622 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7624 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7626 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7628 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7630 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7632 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7634 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7635 change internal state upon failure.
7637 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7639 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7640 * malloc/memusage.c (mmap): Likewise.
7641 (mmap64, mremap): Likewise. Adjust name in comment.
7643 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7645 * libio/fileops.c: Fix typos in comments.
7646 * libio/oldfileops.c: Likewise.
7647 * libio/wfileops.c: Likewise.
7649 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7652 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7653 (tst-malloc-usable-ENV): Set environment for test case.
7654 * malloc/hooks.c (malloc_check_get_size): New function to get
7656 * malloc/malloc.c (musable): Use malloc_check_get_size.
7657 * malloc/tst-malloc-usable.c: New test case.
7659 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7661 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7663 2012-09-05 Allan McRae <allan@archlinux.org>
7666 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7667 determine header location.
7668 * configure: Regenerated.
7670 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7672 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7674 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7675 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7679 2012-09-04 David S. Miller <davem@davemloft.net>
7681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7685 2012-09-04 Florian Weimer <fweimer@redhat.com>
7687 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7690 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7692 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7695 * libio/iogetdelim.c: Include <limits.h>.
7696 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7697 + len + 1 would overflow.
7699 2012-09-03 Andreas Jaeger <aj@suse.de>
7701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7702 * sysdeps/i386/fpu/libm-test-ulps: Update.
7704 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7707 Add s_sinf-sse2, s_conf-sse2.
7709 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7710 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7711 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7712 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7714 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7715 for using routine as __sinf_ia32.
7716 Use macro for function declaration and weak_alias.
7717 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7718 for using routine as __cosf_ia32.
7719 Use macro for function declaration and weak_alias.
7721 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7722 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7724 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7725 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7728 * math/libm-test.inc (cos_test): Add more test cases.
7729 (sin_test): Likewise.
7730 (sincos_test): Likewise.
7732 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7735 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7739 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7742 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7743 first element of the GOT.
7744 (elf_machine_load_address): Return the difference between
7745 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7747 2012-09-01 Allan McRae <allan@archlinux.org>
7750 * configure.in (AWK): Require gawk version 3.0 or later.
7751 * configure: Regenerated.
7753 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7755 * sysdeps/unix/sysv/linux/kernel-features.h
7756 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7758 [__NR_clock_getres]: Make code unconditional.
7759 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7760 (clock_getcpuclockid): Remove code left unreachable by removal of
7762 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7764 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7765 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7766 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7767 Make code unconditional.
7768 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7770 * sysdeps/unix/sysv/linux/clock_settime.c
7771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7773 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7776 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7779 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7780 scripts/test-installation.pl.
7782 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7783 and $ld_so_version if it is set.
7785 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7789 failure if reading from procfs failed.
7790 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7792 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/unix/sysv/linux/kernel-features.h
7795 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7796 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7797 Remove conditional code.
7798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7799 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7800 Remove conditional code.
7801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7802 * sysdeps/unix/sysv/linux/i386/fxstat.c
7803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7805 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7806 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7808 * sysdeps/unix/sysv/linux/i386/lxstat.c
7809 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7811 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7812 Remove conditional code.
7813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7814 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7815 Remove conditional code.
7816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7817 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7818 <kernel-features.h>.
7819 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7821 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7822 Remove conditional code.
7823 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7824 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7827 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7830 * NEWS: Add fixed bug number.
7832 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7835 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7836 underflowing exponent in case of negative sign.
7837 * stdlib/tst-strtod-round-data: Add more tests.
7838 * stdlib/tst-strtod-round.c (tests): Regenerated.
7841 * stdlib/strtod_l.c (NDIG): Remove.
7842 (HEXNDIG): Likewise.
7843 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7844 smallest representable value.
7845 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7846 lie within an exact representation of 1/2 ulp of the result.
7847 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7849 (TENS_P9_IDX): Define unconditionally.
7850 (TENS_P9_SIZE): Likewise.
7851 (TENS_P10_IDX): Likewise.
7852 (TENS_P10_SIZE): Likewise.
7853 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7854 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7856 entries for 10^2^13 and 10^2^14.
7857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7858 (TENS_P13_IDX): Define.
7859 (TENS_P13_SIZE): Likewise.
7860 (TENS_P14_IDX): Likewise.
7861 (TENS_P14_SIZE): Likewise.
7862 (_fpioconst_pow10): Change array size to
7863 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7865 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7866 1024]: Add entries for 10^2^13 and 10^2^14.
7867 [LAST_POW10 > _LAST_POW10]: Remove #error.
7868 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7869 (_fpioconst_pow10): Change array size to
7870 FPIOCONST_POW10_ARRAY_SIZE.
7871 * stdlib/gen-fpioconst.c: New file.
7872 * stdlib/gen-tst-strtod-round.c: Likewise.
7873 * stdlib/tst-strtod-round-data: Likewise.
7874 * stdlib/tst-strtod-round.c: Likewise.
7875 * stdlib/Makefile (tests): Add tst-strtod-round.
7878 * stdlib/strtod_l.c: Include <stdint.h>.
7879 (NDEBUG): Do not define.
7880 (round_and_return): Change EXPONENT parameter to type intmax_t.
7881 Rearrange calculations to avoid internal overflow possibilities.
7882 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7883 Rearrange calculations to avoid internal overflow possibilities.
7884 Assert that number fits inside MPNSIZE limbs.
7885 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7886 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7887 calculations and add assertions to avoid internal overflow
7888 possibilities. Add casts to avoid signed/unsigned operations.
7889 * stdlib/tst-strtod-overflow.c: New file.
7890 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7892 2012-08-25 Marek Polacek <polacek@redhat.com>
7894 * time/time.h: Fix some typos in comments.
7896 2012-08-23 Roland McGrath <roland@hack.frob.com>
7898 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7899 * posix/tst-rfc3484-2.c: Likewise.
7900 * posix/tst-rfc3484-3.c: Likewise.
7902 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7904 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7905 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7907 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7909 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7910 #include of fxstatat64.c.
7912 2012-08-22 Roland McGrath <roland@hack.frob.com>
7914 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7915 * shadow/getspent_r.c: Likewise.
7916 * shadow/getspnam.c: Likewise.
7917 * shadow/getspnam_r.c: Likewise.
7918 * gshadow/getsgent.c: Likewise.
7919 * gshadow/getsgent_r.c: Likewise.
7920 * gshadow/getsgnam.c: Likewise.
7921 * gshadow/getsgnam_r.c: Likewise.
7922 * inet/getnetbyad.c: Likewise.
7923 * inet/getnetbyad_r.c: Likewise.
7924 * inet/getnetbynm.c: Likewise.
7925 * inet/getnetbynm_r.c: Likewise.
7926 * inet/getnetent.c: Likewise.
7927 * inet/getnetent_r.c: Likewise.
7928 * inet/getproto.c: Likewise.
7929 * inet/getproto_r.c: Likewise.
7930 * inet/getprtent.c: Likewise.
7931 * inet/getprtent_r.c: Likewise.
7932 * inet/getprtname.c: Likewise.
7933 * inet/getprtname_r.c: Likewise.
7934 * inet/getrpcbyname.c: Likewise.
7935 * inet/getrpcbyname_r.c: Likewise.
7936 * inet/getrpcbynumber.c: Likewise.
7937 * inet/getrpcbynumber_r.c: Likewise.
7938 * inet/getrpcent.c: Likewise.
7939 * inet/getrpcent_r.c: Likewise.
7940 * inet/getaliasent.c: Likewise.
7941 * inet/getaliasent_r.c: Likewise.
7942 * inet/getaliasname.c: Likewise.
7943 * inet/getaliasname_r.c: Likewise.
7944 * nscd/getgrgid_r.c: Likewise.
7945 * nscd/getgrnam_r.c: Likewise.
7946 * nscd/gethstbyad_r.c: Likewise.
7947 * nscd/gethstbynm3_r.c: Likewise.
7948 * nscd/getpwnam_r.c: Likewise.
7949 * nscd/getpwuid_r.c: Likewise.
7950 * nscd/getsrvbynm_r.c: Likewise.
7951 * nscd/getsrvbypt_r.c: Likewise.
7952 * nscd/gai.c: Likewise.
7954 * configure.in (build_nscd): New substituted variable, set
7955 by --disable-build-nscd and defaults to $use_nscd.
7956 * configure: Regenerated.
7957 * config.make.in (build-nscd): New substituted variable.
7958 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7959 Change conditional to require [$(build-nscd) = yes] as well.
7960 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7963 * configure.in (use_nscd): New substituted variable, set by
7964 --disable-nscd. If enabled, define USE_NSCD.
7965 * configure: Regenerated.
7966 * config.h.in: Add USE_NSCD.
7967 * config.make.in (use-nscd): New substituted variable.
7968 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7969 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7970 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7971 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7972 (CFLAGS-getgrnam_r.c): Likewise.
7973 (CFLAGS-initgroups.c): Likewise.
7974 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7975 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7977 * inet/getnetgrent_r.c
7978 (nscd_setnetgrent): New function, broken out of ...
7979 (setnetgrent): ... here. Call it.
7980 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7981 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7982 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7983 * nscd/Makefile (routines, aux): Move definitions after include of
7984 Makeconfig. Conditionalize on [$(use-nscd) != no].
7985 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7986 Conditionalize on [USE_NSCD].
7987 (is_nscd, nscd_init_cb): Likewise.
7988 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7989 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7990 * nss/nss_db/db-init.c: Likewise.
7991 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7993 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7994 (make_request): Use it.
7995 (cache_valid_p): New function.
7996 (__check_pf): Use it.
7997 * NEWS: Add item for --disable-nscd.
7999 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8001 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8002 to support sed >= 4.2.1-20-ga9bf076.
8003 * configure: Regenerated.
8005 2012-08-22 Roland McGrath <roland@hack.frob.com>
8007 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8008 Conditionalize whole body on [IREL].
8010 2012-08-22 Jeff Law <law@redhat.com>
8013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8014 if the family is PF_UNSPEC.
8016 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8018 * Makerules (lib-version): Rename from V.
8019 (install-lib-nosubdir): Change V to lib-version.
8021 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8024 * powerpc32/power6/wcschr.c: New file.
8025 * powerpc32/power6/wcscpy.c: New file.
8026 * powerpc32/power6/wcsrchr.c: New file.
8027 * powerpc64/power6/wcschr.c: New file.
8028 * powerpc64/power6/wcscpy.c: New file.
8029 * powerpc64/power6/wcsrchr.c: New file.
8031 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8033 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8034 (two_way_short_needle): Use it.
8035 * string/strstr.c (AVAILABLE1_USES_J): Define.
8036 * string/strcasestr.c: Likewise.
8038 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8040 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8043 * NEWS: Add an entry.
8044 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8045 define their defaults.
8046 (two_way_short_needle): Detect end-of-string on-the-fly.
8047 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8048 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8049 * string/bug-strcasestr1.c: New test.
8050 * string/Makefile: Run it.
8052 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8055 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8056 the first character.
8058 2012-08-21 Roland McGrath <roland@hack.frob.com>
8060 * csu/elf-init.c (__libc_csu_irel): Function removed.
8061 * csu/libc-start.c (apply_irel): New function.
8062 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8064 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8068 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8069 <kernel-features.h>.
8070 [__NR_fadvise64_64]: Make code unconditional.
8071 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8072 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8073 !__NR_fadvise64_64)]: Likewise.
8074 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8075 !__NR_fadvise64_64))]: Likewise.
8076 [__NR_fadvise64]: Make code unconditional.
8077 [!__NR_fadvise64]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8079 <kernel-features.h>.
8080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8085 not include <kernel-features.h>.
8086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8090 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8091 include <kernel-features.h>.
8092 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8094 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8097 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8100 slight instruction rearrangements per scrollpipe analysis.
8101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8103 2012-08-20 Roland McGrath <roland@hack.frob.com>
8105 * manual/syslog.texi (syslog; vsyslog, closelog):
8106 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8107 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8109 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8110 DSOCAPS to match condition on defining it.
8112 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8114 * sysdeps/unix/sysv/linux/kernel-features.h
8115 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8120 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8121 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8123 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8124 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8126 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8127 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8129 * sysdeps/unix/sysv/linux/kernel-features.h
8130 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8131 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8133 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8134 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8137 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8138 Make code unconditional.
8139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8140 (__mmap64) [!__NR_mmap2]: Likewise.
8141 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8142 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8143 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8144 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8145 [__NR_mmap2]: Make code unconditional.
8146 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8147 (__mmap64) [!__NR_mmap2]: Likewise.
8149 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8151 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8153 2012-08-18 Andreas Jaeger <aj@suse.de>
8155 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8157 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8159 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8160 * include/unistd.h (__have_sock_cloexec): Likewise.
8161 (__have_pipe2): Likewise.
8162 (__have_dup3): Likewise.
8164 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8167 * include/unistd.h (__have_pipe2): Change define into an extern int.
8168 (__have_dup3): Likewise.
8169 * socket/have_sock_cloexec.c: Include fcntl.h.
8170 (__have_pipe2): New variable.
8171 (__have_dup3): Likewise.
8173 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8175 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8177 2012-08-17 Marek Polacek <polacek@redhat.com>
8179 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8180 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8182 2012-08-17 Roland McGrath <roland@hack.frob.com>
8184 * configure.in: Add AC_SUBST for sysheaders.
8185 * configure: Regenerated.
8186 * config.make.in (sysheaders): New substituted variable.
8188 * sysdeps/unix/mkfifo.c: Moved ...
8189 * sysdeps/posix/mkfifo.c: ... here.
8190 * sysdeps/unix/mkfifoat.c: Moved ...
8191 * sysdeps/posix/mkfifoat.c: ... here.
8193 * sysdeps/unix/utime.c: Moved ...
8194 * sysdeps/posix/utime.c: ... here.
8196 * sysdeps/unix/time.c: Moved ...
8197 * sysdeps/posix/time.c: ... here.
8198 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8199 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8201 * sysdeps/unix/nice.c: Moved ...
8202 * sysdeps/posix/nice.c: ... here.
8204 * sysdeps/unix/alarm.c: Moved ...
8205 * sysdeps/posix/alarm.c: ... here.
8207 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8209 2012-08-17 Jeff Law <law@redhat.com>
8211 * intl/Makefile (codeset_mo): New variable.
8212 ($(codeset_mo)): New target.
8213 (tst-codeset.out): Depend on that. Remove explicit rule.
8214 (tst-gettext3.out, tst-gettext5.out): Likewise.
8215 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8216 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8217 * intl/tst-codeset.sh: Remove.
8218 * intl/tst-gettext3.sh: Likewise.
8219 * intl/tst-gettext5.sh: Likewise.
8221 2012-08-17 Roland McGrath <roland@hack.frob.com>
8223 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8224 * sysdeps/unix/syscalls.list: ... here.
8226 * sysdeps/posix/getaddrinfo.c
8227 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8228 (gaiconf_init, gaiconf_reload): Use them.
8230 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8231 Define using time_t rather than struct timespec.
8233 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8234 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8236 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8238 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8239 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8242 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8243 __libc_cleanup_push argument.
8245 * bits/param.h: New file.
8246 * misc/sys/param.h: New file.
8247 * include/sys/param.h: New file.
8248 * misc/Makefile (headers): Add bits/param.h.
8249 * sysdeps/generic/sys/param.h: File removed.
8250 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8251 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8252 * sysdeps/mach/hurd/bits/param.h: New file.
8253 * sysdeps/mach/hurd/sys/param.h: File removed.
8255 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8258 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8260 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8261 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8264 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8265 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8266 rather than -D_IO_MTSAFE_IO conditionally.
8267 * stdio-common/Makefile (CPPFLAGS): Likewise.
8268 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8269 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8270 Use $(libio-mtsafe).
8271 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8273 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8274 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8275 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8276 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8277 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8278 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8279 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8280 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8281 (CFLAGS-fread_u_chk.c): Likewise.
8282 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8283 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8284 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8285 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8286 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8287 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8288 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8289 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8290 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8292 * libio/Makefile: Test [$(libc-reentrant) = yes]
8293 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8296 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8297 * sysdeps/pthread/configure: File removed.
8298 * sysdeps/pthread/Makeconfig: New file.
8299 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8300 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8302 2012-08-16 Gary Benson <gbenson@redhat.com>
8304 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8305 unmapping the first object in a namespace.
8307 2012-08-16 Roland McGrath <roland@hack.frob.com>
8309 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8310 (__internal_setnetgrent): ... this. Add internal_function to
8311 definition. Add libc_hidden_def.
8312 (setnetgrent): Update caller.
8313 (internal_endnetgrent): Renamed to ...
8314 (__internal_endnetgrent): ... this. Add internal_function to
8315 definition. Add libc_hidden_def.
8316 (endnetgrent): Update caller.
8317 (internal_getnetgrent_r): Renamed to ...
8318 (__internal_getnetgrent_r): ... this. Add internal_function to
8319 definition. Add libc_hidden_def.
8320 (__getnetgrent_r): Update caller.
8321 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8323 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8325 * stdlib/longlong.h: Update from GCC.
8327 2012-08-16 Roland McGrath <roland@hack.frob.com>
8329 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8330 on _QL, which is set by umul_ppmm but never used.
8331 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8332 variables, which are set by GMP macros but never used.
8333 * stdio-common/_itowa.c (_itowa): Likewise.
8334 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8335 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8337 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8339 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8340 struct La_sh_regs is not constant.
8341 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8342 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8343 and struct La_sparc64_regs are not constant.
8345 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8347 * sysdeps/unix/sysv/linux/kernel-features.h
8348 (__ASSUME_POSIX_TIMERS): Remove.
8349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8351 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8352 Make code unconditional.
8353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8354 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8355 Make code unconditional.
8356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8357 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8358 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8360 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8361 Make code unconditional.
8362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8364 (__libc_missing_posix_timers): Remove.
8366 2012-08-15 Roland McGrath <roland@hack.frob.com>
8368 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8369 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8371 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8373 * elf/dl-sym.c: Include <stdlib.h>.
8375 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8376 constants, which avoids warnings in 32-bit builds.
8378 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8379 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8381 * misc/lseek.c: File moved to ...
8382 * io/lseek.c: ... here.
8384 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8386 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8387 shifting LEN more than 31 bits at once.
8389 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8392 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8393 segmentation fault for a case of two empty input strings.
8394 * string/test-strncasecmp.c (check1): Renamed to...
8396 (bz14195): Add new testcase for two empty input strings and N > 0.
8397 (test_main): Call new testcase, adapt for renamed function.
8399 2012-08-15 Andreas Jaeger <aj@suse.de>
8402 * crypt/md5test2.c: New test, based on test supplied by Serge
8403 Belyshev <belyshev@depni.sinp.msu.ru>.
8404 * crypt/Makefile (xtests): Add md5test-giant..
8405 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8407 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8410 * crypt/md5.c (md5_process_block): Don't assume the buffer
8411 length is less than 2**32.
8412 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8413 length is less than 2**64.
8415 2012-08-15 Roland McGrath <roland@hack.frob.com>
8417 * string/str-two-way.h: Include <sys/param.h>.
8418 (MAX): Macro removed.
8420 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8421 Move #define and #undef of memmove to just before and after
8422 including <string.h>.
8424 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8425 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8426 and after including <string.h>. Move declarations of
8427 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8428 to before #include "string/memmove.c".
8430 * include/dirent.h: Declare __getdirentries.
8432 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8433 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8435 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8437 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8438 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8439 * sysdeps/i386/configure: Regenerated.
8440 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8441 STABS_CURRENT_FILE, and STABS_FUN.
8442 (END): Remove call to STABS_FUN_END.
8443 (STABS_CURRENT_FILE1): Delete.
8444 (STABS_CURRENT_FILE): Likewise.
8445 (STABS_FUN): Likewise.
8446 (STABS_FUN_END): Likewise.
8447 (STABS_FUN2): Likewise.
8448 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8449 * sysdeps/x86_64/configure: Regenerated.
8451 2012-08-14 Roland McGrath <roland@hack.frob.com>
8453 * elf/dl-open.c: Include <atomic.h>.
8454 * elf/dl-lookup.c: Likewise.
8456 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8458 * sysdeps/unix/sysv/linux/kernel-features.h
8459 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8460 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8462 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8464 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8465 condition on __ASSUME_CLONE_THREAD_FLAGS.
8467 2012-08-14 Andreas Jaeger <aj@suse.de>
8469 * sysdeps/i386/fpu/libm-test-ulps: Update.
8471 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8473 * include/atomic.h (atomic_exchange_and_add): Split into ...
8474 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8477 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8481 2012-08-13 Jeff Law <law@redhat.com>
8483 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8484 null byte in the output string.
8486 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8488 * sysdeps/unix/sysv/linux/kernel-features.h
8489 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8490 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8491 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8493 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8494 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8495 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8497 2012-08-09 Jeff Law <law@redhat.com>
8500 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8501 When avoid_arena is set, don't retry in the that arena. Pick the
8502 next one, whatever it might be.
8503 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8504 (arena_lock): Pass in new parameter to arena_get2.
8505 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8507 (__libc_malloc): Unify retrying after main arena failure with
8508 __libc_memalign version.
8509 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8511 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8514 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8515 to __redirect_strstr.
8516 (__strstr_sse42): Use typeof __redirect_strstr.
8517 (__strstr_ia32): Likewise.
8518 (__libc_strstr): New prototype.
8519 (strstr): Renamed to ...
8520 (__libc_strstr): This.
8521 (strstr): New strong alias of __libc_strstr.
8522 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8523 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8526 (__libc_time): New prototype.
8527 (time_ifunc): Replace time with __libc_time.
8528 (time): New strong alias and hidden definition of __libc_time.
8529 (__GI_time): Remove strong alias.
8530 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8532 (memmove): Redefined to __redirect_memmove.
8533 (__memmove_sse2): Use typeof __redirect_memmove.
8534 (__memmove_ssse3): Likewise.
8535 (__memmove_ssse3_back): Likewise.
8536 (__libc_memmove): New prototype.
8537 (memmove): Renamed to ...
8538 (__libc_memmove): This.
8539 (memmove): New strong alias of __libc_memmove.
8541 2012-08-08 Mark Salter <msalter@redhat.com>
8544 (R_MN10300_TLS_GD): Define.
8545 (R_MN10300_TLS_LD): Likewise.
8546 (R_MN10300_TLS_LDO): Likewise.
8547 (R_MN10300_TLS_GOTIE): Likewise.
8548 (R_MN10300_TLS_IE): Likewise.
8549 (R_MN10300_TLS_LE): Likewise.
8550 (R_MN10300_TLS_DTPMOD): Likewise.
8551 (R_MN10300_TLS_DTPOFF): Likewise.
8552 (R_MN10300_TLS_TPOFF): Likewise.
8553 (R_MN10300_SYM_DIFF): Likewise.
8554 (R_MN10300_ALIGN): Likewise.
8555 (R_MN10300_NUM): Update.
8557 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8562 2012-08-08 Roland McGrath <roland@hack.frob.com>
8564 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8566 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8567 sysdeps/unix -> sysdeps/posix move.
8568 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8570 2012-08-07 Allan McRae <allan@archlinux.org>
8573 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8574 (SUNOS_CPP): Likewise.
8575 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8577 (open_input): Call CPP using execvp.
8579 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8581 * sysdeps/unix/sysv/linux/kernel-features.h
8582 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8583 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8584 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8585 (__ASSUME_WAITID_SYSCALL): Likewise.
8586 * sysdeps/unix/sysv/linux/dl-execstack.c
8587 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8589 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8591 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8592 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8593 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8595 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8597 [__ASSUME_WAITID_SYSCALL]: Likewise.
8598 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8600 2012-08-07 Roland McGrath <roland@hack.frob.com>
8602 * sysdeps/unix/closedir.c: Renamed to ...
8603 * sysdeps/posix/closedir.c: ... here.
8604 * sysdeps/unix/dirfd.c: Renamed to ...
8605 * sysdeps/posix/dirfd.c: ... here.
8606 * sysdeps/unix/dirstream.h: Renamed to ...
8607 * sysdeps/posix/dirstream.h: ... here.
8608 * sysdeps/unix/fdopendir.c: Renamed to ...
8609 * sysdeps/posix/fdopendir.c: ... here.
8610 * sysdeps/unix/opendir.c: Renamed to ...
8611 * sysdeps/posix/opendir.c: ... here.
8612 * sysdeps/unix/readdir.c: Renamed to ...
8613 * sysdeps/posix/readdir.c: ... here.
8614 * sysdeps/unix/readdir_r.c: Renamed to ...
8615 * sysdeps/posix/readdir_r.c: ... here.
8616 * sysdeps/unix/rewinddir.c: Renamed to ...
8617 * sysdeps/posix/rewinddir.c: ... here.
8618 * sysdeps/unix/seekdir.c: Renamed to ...
8619 * sysdeps/posix/seekdir.c: ... here.
8620 * sysdeps/unix/telldir.c: Renamed to ...
8621 * sysdeps/posix/telldir.c: ... here.
8622 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8623 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8624 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8625 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8627 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8628 * bits/fcntl.h: ... here.
8630 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8632 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8633 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8634 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8635 (struct flock): Move l_start, l_len to the beginning.
8636 Use __pid_t for l_pid.
8637 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8638 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8639 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8640 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8641 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8642 [__USE_LARGEFILE64] (struct flock64): New type.
8643 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8645 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8646 * bits/dirent.h: ... here.
8648 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8649 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8651 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8654 Change from 2.6.0 to 2.6.16.
8655 * sysdeps/unix/sysv/linux/configure: Regenerated.
8656 * sysdeps/unix/sysv/linux/kernel-features.h
8657 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8658 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8660 (__ASSUME_UTIMES): Likewise.
8661 (__ASSUME_CLONE_STOPPED): Remove.
8662 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8663 architectures, not kernel version.
8664 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8665 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8666 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8667 (__ASSUME_WAITID_SYSCALL): Likewise.
8668 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8669 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8670 * README: State 2.6.16 as minimum Linux kernel version. Do not
8671 refer to older versions.
8673 2012-08-06 Roland McGrath <roland@hack.frob.com>
8675 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8676 Define alphasort64 as an alias.
8677 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8678 Define versionsort64 as an alias.
8679 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8680 Define scandir64 as an alias.
8681 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8682 Define scandirat64 as an alias.
8683 * dirent/alphasort64.c (alphasort64):
8684 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8685 * dirent/versionsort64.c: Likewise.
8686 * dirent/scandir64.c: Likewise.
8687 * dirent/scandirat64.c: Likewise.
8688 * sysdeps/wordsize-64/alphasort.c: File removed.
8689 * sysdeps/wordsize-64/alphasort64.c: File removed.
8690 * sysdeps/wordsize-64/scandir.c: File removed.
8691 * sysdeps/wordsize-64/scandir64.c: File removed.
8692 * sysdeps/wordsize-64/scandirat.c: File removed.
8693 * sysdeps/wordsize-64/scandirat64.c: File removed.
8694 * sysdeps/wordsize-64/versionsort.c: File removed.
8695 * sysdeps/wordsize-64/versionsort64.c: File removed.
8696 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8705 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8707 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8709 [defined __arch64__ || defined __sparcv9]
8710 (__INO_T_MATCHES_INO64_T): New macro.
8711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8712 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8713 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8714 * sysdeps/unix/sysv/linux/bits/dirent.h
8715 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8716 (_DIRENT_MATCHES_DIRENT64): New macro.
8718 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8719 Define lockf64 as an alias.
8720 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8721 Define fseeko64 as an alias.
8722 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8723 Define ftello64 as an alias.
8724 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8725 Define _IO_fgetpos64 and fgetpos64 as aliases.
8726 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8727 Define _IO_fsetpos64 and fsetpos64 as aliases.
8728 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8729 Conditionalize body on this.
8730 * libio/fseeko64.c: Likewise.
8731 * libio/ftello64.c: Likewise.
8732 * libio/iofgetpos64.c: Likewise.
8733 * libio/iofsetpos64.c: Likewise.
8734 * sysdeps/wordsize-64/lockf.c: File removed.
8735 * sysdeps/wordsize-64/lockf64.c: File removed.
8736 * sysdeps/wordsize-64/fseeko.c: File removed.
8737 * sysdeps/wordsize-64/fseeko64.c: File removed.
8738 * sysdeps/wordsize-64/ftello.c: File removed.
8739 * sysdeps/wordsize-64/ftello64.c: File removed.
8740 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8741 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8742 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8743 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8746 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8748 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8755 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8757 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8759 [defined __arch64__ || defined __sparcv9]
8760 (__OFF_T_MATCHES_OFF64_T): New macro.
8761 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8762 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8764 (__OFF_T_MATCHES_OFF64_T): New macro.
8766 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8768 * stdlib/secure-getenv.c (__secure_getenv): Replace
8769 GLIBC_2_16 with GLIBC_2_17.
8771 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8776 2012-08-03 David S. Miller <davem@davemloft.net>
8778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8780 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8784 (__ASSUME_CORRECT_SI_PID): Likewise.
8785 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8786 (__ASSUME_TMPFS_NAME): Likewise.
8787 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8788 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8789 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8790 (HAVE_AUX_SECURE): Make definition unconditional.
8791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8792 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8794 2012-08-03 Roland McGrath <roland@hack.frob.com>
8796 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8797 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8798 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8800 __eloop_threshold instead of SYMLOOP_MAX.
8802 * sysdeps/generic/eloop-threshold.h: New file.
8803 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8805 * elf/chroot_canon.c (chroot_canon): Likewise.
8807 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8811 Change to 2.6.0 everywhere.
8812 * sysdeps/unix/sysv/linux/configure: Regenerated.
8813 * sysdeps/unix/sysv/linux/kernel-features.h
8814 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8815 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8817 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8818 (__ASSUME_FUTEX_REQUEUE): Remove.
8819 (__ASSUME_STATFS64): Define unconditionally.
8820 (__ASSUME_AT_SECURE): Likewise.
8821 (__ASSUME_CORRECT_SI_PID): Likewise.
8822 (__ASSUME_TGKILL): Define without depending on kernel version for
8824 (__ASSUME_UTIMES): Likewise.
8825 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8827 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8828 (__ASSUME_TMPFS_NAME): Likewise.
8829 * README: Update reference to Linux kernel versions.
8831 2012-08-02 Marek Polacek <polacek@redhat.com>
8834 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8835 libc_cv_asm_type_prefix with %.
8836 * configure: Regenerated.
8837 * include/libc-symbols.h: Remove comment about
8838 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8839 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8840 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8841 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8842 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8843 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8844 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8846 * elf/tst-unique2mod1.c: Likewise.
8847 * elf/tst-unique1mod2.c: Likewise.
8848 * elf/tst-unique1mod1.c: Likewise.
8849 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8850 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8851 Replace ASM_TYPE_DIRECTIVE with .type.
8852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8853 * sysdeps/i386/sysdep.h: Likewise.
8854 * sysdeps/x86_64/sysdep.h: Likewise.
8855 * sysdeps/sh/sysdep.h: Likewise.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8857 Do not define ASM_TYPE_DIRECTIVE.
8858 * sysdeps/powerpc/sysdep.h: Likewise.
8859 * sysdeps/powerpc/powerpc32/sysdep.h:
8860 Replace ASM_TYPE_DIRECTIVE with .type.
8861 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8863 * sysdeps/i386/fpu/e_powf.S: Likewise.
8864 * sysdeps/i386/fpu/e_expl.S: Likewise.
8865 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8866 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8867 * sysdeps/i386/fpu/e_pow.S: Likewise.
8868 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8870 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8871 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8872 * sysdeps/i386/fpu/e_log2.S: Likewise.
8873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8874 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8875 * sysdeps/i386/fpu/e_powl.S: Likewise.
8876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8878 * sysdeps/i386/fpu/e_logl.S: Likewise.
8879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8884 * sysdeps/i386/fpu/e_log.S: Likewise.
8885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8886 * sysdeps/i386/fpu/e_logf.S: Likewise.
8887 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8889 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8890 * sysdeps/i386/fpu/e_log10.S: Likewise.
8891 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8893 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8894 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8897 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8898 * sysdeps/i386/i686/strtok.S: Likewise.
8899 * sysdeps/i386/i386-mcount.S: Likewise.
8900 * sysdeps/i386/strtok.S: Likewise.
8901 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8905 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8910 * sysdeps/x86_64/_mcount.S: Likewise.
8911 * sysdeps/x86_64/strtok.S: Likewise.
8912 * sysdeps/sh/_mcount.S: Likewise.
8914 2012-08-01 Roland McGrath <roland@hack.frob.com>
8916 * libio/iofopen.c: Include <fcntl.h>.
8917 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8918 (_IO_fopen64, fopen64): Define as aliases.
8919 * libio/iofopen64.c: Include <fcntl.h>.
8920 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8921 Conditionalize body on this.
8922 * sysdeps/wordsize-64/iofopen.c: File removed.
8923 * sysdeps/wordsize-64/iofopen64.c: File removed.
8925 2012-08-01 Marek Polacek <polacek@redhat.com>
8927 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8928 Use dlfcn directly instead of a variable.
8929 (binfmt-subdir): Do not define.
8932 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8935 Remove all definitions.
8936 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8937 <kernel-features.h>.
8938 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8939 (miss_F_GETOWN_EX): Remove all definitions.
8940 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8942 [!__ASSUME_FCNTL64]: Remove conditional code.
8943 [__ASSUME_FCNTL64]: Make code unconditional.
8944 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8945 <kernel-features.h>.
8946 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8947 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8948 (lockf64) [__NR_fcntl64]: Make code unconditional.
8949 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8951 * sysdeps/unix/sysv/linux/kernel-features.h
8952 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8953 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8954 Make code unconditional.
8955 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8956 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8958 [__NR_vfork]: Make code unconditional.
8959 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8960 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8962 [__NR_vfork]: Make code unconditional.
8963 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8964 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8966 2012-08-01 Roland McGrath <roland@hack.frob.com>
8968 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8969 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8971 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8972 Define mkstemp64 as an alias.
8973 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8974 Define mkstemps64 as an alias.
8975 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8976 Define mkostemp64 as an alias.
8977 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8978 Define mkostemps64 as an alias.
8979 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8980 Conditionalize body on this.
8981 * misc/mkostemp64.c: Likewise.
8982 * misc/mkostemps64.c: Likewise.
8983 * misc/mkstemps64.c: Likewise.
8984 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8985 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8986 * sysdeps/wordsize-64/mkostemp.c: File removed.
8987 * sysdeps/wordsize-64/mkstemp.c: File removed.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8994 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8995 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8996 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8997 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8999 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9000 compat_symbol macros from <shlib-compat.h> rather than the underlying
9001 default_symbol_version and symbol_version macros, so that DEFAULT
9002 lines in shlib-versions are respected.
9003 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9005 2012-08-01 Florian Weimer <fweimer@redhat.com>
9007 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9008 Declare with warn_unused_result.
9009 (setgid, setregid, setegid, setresgid): Likewise.
9010 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9012 * WUR-REPORT: Remove set*id functions.
9014 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9016 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9018 2012-07-31 Roland McGrath <roland@hack.frob.com>
9020 * include/sys/socket.h (__libc_accept, __libc_accept4):
9021 Add attribute_hidden.
9022 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9024 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9026 * inet/getnetgrent_r.c (setup): Likewise.
9028 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9030 2012-07-31 David S. Miller <davem@davemloft.net>
9032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9034 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9037 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9038 value between 1.0 and 2.0 and smaller part has absolute value less
9040 * math/s_clog10.c (__clog10): Likewise.
9041 * math/s_clog10f.c (__clog10f): Likewise.
9042 * math/s_clog10l.c (__clog10l): Likewise.
9043 * math/s_clogf.c (__clogf): Likewise.
9044 * math/s_clogl.c (__clogl): Likewise.
9045 * math/libm-test.inc (clog_test): Add more tests.
9046 (clog10_test): Likewise.
9047 * sysdeps/i386/fpu/libm-test-ulps: Update.
9048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9050 2012-07-31 Florian Weimer <fweimer@redhat.com>
9052 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9053 Exit with zero in case no suitable GID is found, and write a
9054 message to standard error.
9056 2012-07-30 Roland McGrath <roland@hack.frob.com>
9058 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9060 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9061 (MAXPATHLEN): Removed.
9062 (NOGROUP, NODEV): New macros.
9063 (setbit, clrbit, isset, isclr): New macros.
9064 (howmany, roundup, powerof2): New macros.
9065 (DEV_BSIZE): New macro.
9067 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9068 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9070 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9071 definition on [!__NO_LONG_DOUBLE_MATH].
9073 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9074 PTR_MANGLE and PTR_DEMANGLE.
9076 * socket/accept4.c (accept4): Rename to __libc_accept4.
9077 Define accept4 as a weak alias.
9079 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9080 on [_DIRENT_HAVE_D_TYPE].
9081 * io/ftw.c (ftw_dir): Likewise.
9083 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9085 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9087 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9088 Use the BSD numbers rather than the arbitrary ones we had.
9089 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9090 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9091 (SIGXCPU, SIGXFSZ): New macros.
9094 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9095 initializer on [_LIBC_REENTRANT].
9097 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9098 definitions inside [_POSIX_MAPPED_FILES].
9100 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9102 * dirent/opendir.c: Include <fcntl.h>.
9104 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9105 (__libc_getspecific): Likewise.
9106 (__libc_key_create): Likewise.
9108 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9109 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9110 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9111 (tmpfile64): Define as alias.
9112 * sysdeps/wordsize-64/tmpfile.c: File removed.
9113 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9114 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9117 * stdio-common/vfscanf.c: Include <stdbool.h>.
9118 * nss/makedb.c: Likewise.
9119 * stdio-common/_i18n_number.h: Likewise.
9120 * argp/argp-help.c: Likewise.
9121 * posix/wordexp.c: Likewise.
9122 * sysdeps/posix/spawni.c: Likewise.
9123 * nss/nss_files/files-initgroups.c: Likewise.
9124 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9125 * nss/nss_files/files-initgroups.c: Likewise.
9126 * nss/nss_db/db-netgrp.c: Likewise.
9127 * nss/nss_db/db-initgroups.c: Likewise.
9128 * io/fchmodat.c: Include <sys/stat.h>.
9130 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9131 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9133 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9136 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9137 Add multiple inclusion protection.
9139 2012-07-27 David S. Miller <davem@davemloft.net>
9141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9143 2012-07-27 Gary Benson <gbenson@redhat.com>
9146 * elf/rtld.c: Include <stap-probe.h>.
9147 (dl_main): Added static probes "init_start" and "init_complete".
9148 * elf/dl-load.c: Include <stap-probe.h>.
9149 (lose): Take new parameter "nsid".
9150 Added static probe "map_failed".
9151 (_dl_map_object_from_fd): Pass namespace id to lose.
9152 Added static probe "map_start".
9153 (open_verify): Pass namespace id to lose.
9154 * elf/dl-open.c: Include <stap-probe.h>.
9155 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9156 and "reloc_complete".
9157 * elf/dl-close.c: Include <stap-probe.h>.
9158 (_dl_close_worker): Added static probes "unmap_start" and
9160 * elf/rtld-debugger-interface.txt: New file documenting the above.
9162 2012-07-26 Roland McGrath <roland@hack.frob.com>
9164 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9165 rather than a string variable.
9166 * sunrpc/rpc_main.c (h_output): Likewise.
9167 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9169 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9171 * inet/check_native.c: New file.
9173 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9176 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9177 if larger part has absolute value 1.0.
9178 * math/s_clog10.c (__clog10): Likewise.
9179 * math/s_clog10f.c (__clog10f): Likewise.
9180 * math/s_clog10l.c (__clog10l): Likewise.
9181 * math/s_clogf.c (__clogf): Likewise.
9182 * math/s_clogl.c (__clogl): Likewise.
9183 * math/libm-test.inc (clog_test): Add more tests.
9184 (clog10_test): Likewise.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9189 (pltexit): Likewise.
9190 (La_regs): Likewise.
9191 (La_retval): Likewise.
9192 (int_retval): Likewise.
9193 Update #error for removed macros to refer only to definitions in
9195 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9197 (pltexit): Likewise.
9198 (La_regs): Likewise.
9199 (La_retval): Likewise.
9200 (int_retval): Likewise.
9201 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9203 (pltexit): Likewise.
9204 (La_regs): Likewise.
9205 (La_retval): Likewise.
9206 (int_retval): Likewise.
9207 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9209 (pltexit): Likewise.
9210 (La_regs): Likewise.
9211 (La_retval): Likewise.
9212 (int_retval): Likewise.
9213 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9215 (pltexit): Likewise.
9216 (La_regs): Likewise.
9217 (La_retval): Likewise.
9218 (int_retval): Likewise.
9219 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9221 (pltexit): Likewise.
9222 (La_regs): Likewise.
9223 (La_retval): Likewise.
9224 (int_retval): Likewise.
9225 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9227 (pltexit): Likewise.
9228 (La_regs): Likewise.
9229 (La_retval): Likewise.
9230 (int_retval): Likewise.
9231 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9232 macro definitions in tst-audit.h.
9233 * sysdeps/i386/tst-audit.h: New file.
9234 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9235 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9236 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9237 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9238 * sysdeps/sh/tst-audit.h: Likewise.
9239 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9240 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9241 * sysdeps/x86_64/tst-audit.h: Likewise.
9243 2012-07-26 Andreas Jaeger <aj@suse.de>
9245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9248 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9249 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9250 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9252 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9253 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9254 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9256 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9259 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9261 (si_call_addr, si_syscall, si_arch): Define new macro.
9262 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9264 (si_call_addr, si_syscall, si_arch): Define new marcro.
9265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9267 (si_call_addr, si_syscall, si_arch): Define new macro.
9268 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9270 (si_call_addr, si_syscall, si_arch): Define new macro.
9272 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9276 Change to 2.4.21 where previously 2.4.1.
9277 * sysdeps/unix/sysv/linux/configure: Regenerated.
9278 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9279 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9280 Linux kernel version.
9281 (__ASSUME_STD_AUXV): Remove.
9282 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9284 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9285 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9286 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9287 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9288 (__ASSUME_NETLINK_SUPPORT): Likewise.
9289 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9290 (__no_netlink_support): Remove conditional definition.
9291 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9293 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9294 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9295 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9296 (if_nameindex_ioctl): Remove.
9297 (if_nameindex_netlink): Do not handle __no_netlink_support.
9298 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9300 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9301 Remove conditional code.
9302 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9304 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9306 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9307 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9308 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9310 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9311 [!__ASSUME_STD_AUXV]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9313 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9314 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9316 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9317 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9319 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9321 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9322 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9324 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9326 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9329 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9332 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9334 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9336 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9338 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9341 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9343 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9346 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9348 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9350 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9352 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9355 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9357 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9359 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9361 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9364 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9366 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9367 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9368 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9369 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9370 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9371 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9372 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9373 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9374 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9375 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9376 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9377 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9378 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9379 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9380 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9381 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9382 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9383 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9384 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9386 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9387 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9390 2012-07-25 Florian Weimer <fweimer@redhat.com>
9392 * Versions.def: Add GLIBC_2.17.
9393 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9394 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9395 Introduce __libc_secure_getenv.
9396 * stdlib/Versions (2.17): Add secure_getenv
9397 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9398 * stdlib/secure-getenv.c: Rename __secure_getenv to
9399 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9400 symbol __secure_getenv for GLIBC_2.0.
9401 * stdlib/tst-secure-getenv.c: New.
9402 * stdlib/Makefile (tests): Add testcase.
9403 * manual/startup.texi (Environment Access): Document
9405 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9406 __libc_secure_getenv.
9407 * inet/ruserpass.c (ruserpass): Likewise.
9408 * malloc/mtrace.c (mtrace): Likewise.
9409 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9410 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9411 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9412 * sysdeps/posix/tempname.c: Likewise. Evaluate
9414 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9415 __secure_getenv to __libc_secure_getenv.
9416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9429 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9431 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9432 (struct La_i86_retval): Likewise.
9433 (struct La_x86_64_regs): Likewise.
9434 (struct La_x86_64_retval): Likewise.
9435 (struct La_x32_regs): Likewise.
9436 (struct La_x32_retval): Likewise.
9437 (struct La_ppc32_regs): Likewise.
9438 (struct La_ppc32_retval): Likewise.
9439 (struct La_ppc64_regs): Likewise.
9440 (struct La_ppc64_retval): Likewise.
9441 (struct La_sh_regs): Likewise.
9442 (struct La_sh_retval): Likewise.
9443 (struct La_s390_32_regs): Likewise.
9444 (struct La_s390_32_retval): Likewise.
9445 (struct La_s390_64_regs): Likewise.
9446 (struct La_s390_64_retval): Likewise.
9447 (struct La_sparc32_regs): Likewise.
9448 (struct La_sparc32_retval): Likewise.
9449 (struct La_sparc64_regs): Likewise.
9450 (struct La_sparc64_retval): Likewise.
9451 (struct audit_ifaces): Remove architecture-specific pltenter and
9453 * sysdeps/i386/ldsodefs.h: New file.
9454 * sysdeps/powerpc/ldsodefs.h: Likewise.
9455 * sysdeps/s390/ldsodefs.h: Likewise.
9456 * sysdeps/sh/ldsodefs.h: Likewise.
9457 * sysdeps/sparc/ldsodefs.h: Likewise.
9458 * sysdeps/x86_64/ldsodefs.h: Likewise.
9460 2012-07-25 Marek Polacek <polacek@redhat.com>
9463 * math/libm-test.inc (yn_test): Add another test.
9464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9465 to ERANGE when the result is +-Inf.
9466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9467 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9468 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9471 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9473 * conform/data/time.h-data (NULL): Use macro-constant. Require
9475 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9477 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9479 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9481 * configure.in <sysdeps resolving>: Correct printing
9483 * configure: Regenerate.
9485 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9487 * math/w_ilogb.c: Include <limits.h>.
9488 * math/w_ilogbl.c: Likewise.
9490 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9492 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9493 va_copy. Document allowing for unavailable va_copy only as
9494 pre-C99 compatibility.
9495 * manual/string.texi (Copying and Concatenation): Use va_copy
9496 instead of __va_copy in concat example.
9498 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9500 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9501 (__sendto): Use create_address_port. Initialize APORT and deallocate
9504 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9505 with O_NOLINK passed to __file_name_lookup.
9507 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9508 with O_NOLINK passed to __file_name_lookup.
9510 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9511 negative N or less than NGIDS.
9513 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9514 type to string_t. Set ERANGE as errno and return it if NAME is not big
9515 enough. Use memcpy instead of strncpy.
9517 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9519 * elf/Makefile (check-data): Remove.
9520 (localplt.data): New vpath directive.
9521 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9522 instead of $(check-data).
9523 * scripts/data/localplt-generic.data: Move to ...
9524 * sysdeps/generic/localplt.data: ... here.
9525 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9526 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9527 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9530 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9533 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9536 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9539 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9542 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9546 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9548 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9549 PPC32 and PPC64 files.
9550 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9551 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9553 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9555 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9556 __makecontext_ret to ...
9557 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9558 ... here and call exit if uc_link is NULL. New file.
9559 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9560 __makecontext_ret.S.
9561 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9562 __makecontext_ret to ...
9563 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9564 ... here and call exit if uc_link is NULL. New file.
9565 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9566 __makecontext_ret.S.
9568 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9570 * elf/elf.h (R_390_IRELATIVE): New definition.
9571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9572 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9573 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9575 (elf_machine_lazy_rel): Likewise.
9576 * sysdeps/s390/dl-irel.h: New file.
9577 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9578 * sysdeps/s390/s390-64/memset.S: New asm code.
9579 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9580 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9582 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9583 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9584 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9586 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9587 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9588 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9589 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9590 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9591 * sysdeps/s390/s390-32/memset.S: New asm code.
9592 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9594 2012-07-17 Marek Polacek <polacek@redhat.com>
9597 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9598 * sysdeps/s390/s390-64/configure.in: Likewise.
9599 * sysdeps/sparc/configure.in: Likewise.
9600 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9601 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9602 * sysdeps/i386/configure.in: Likewise.
9603 * sysdeps/x86_64/configure.in: Likewise.
9604 * sysdeps/sh/configure.in: Likewise.
9605 * sysdeps/s390/s390-32/configure: Regenerated.
9606 * sysdeps/s390/s390-64/configure: Likewise.
9607 * sysdeps/x86_64/configure: Likewise.
9608 * sysdeps/sh/configure: Likewise.
9609 * sysdeps/powerpc/powerpc64/configure: Likewise.
9610 * sysdeps/powerpc/powerpc32/configure: Likewise.
9611 * sysdeps/sparc/configure: Likwise.
9612 * sysdeps/i386/configure: Likewise.
9614 * elf/dl-open.c: Comment fixes.
9616 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9618 * Makefile [CXX] (check-data): Remove.
9619 [CXX] (c++-types.data): New vpath directive.
9620 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9621 vpath. Do not allow for C++ type data being missing.
9622 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9623 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9624 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9625 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9626 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9627 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9628 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9631 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9634 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9637 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9640 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9643 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9646 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9649 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9652 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9653 definitions to architecture-specific files.
9657 * sysdeps/i386/tls-macros.h: New file.
9658 * sysdeps/powerpc/tls-macros.h: Likewise.
9659 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9660 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9661 * sysdeps/sh/tls-macros.h: Likewise.
9662 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9663 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9664 * sysdeps/x86_64/tls-macros.h: Likewise.
9666 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9669 zero value for regular exit case.
9671 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9672 (__start_context): Preserve zero value for regular exit case.
9674 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9675 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9677 * manual/setjmp.texi (setcontext): Clarify normal process
9678 termination when uc_link is the null pointer.
9679 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9682 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9684 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9685 preprocessor. Test for each exception mask separately.
9687 2012-07-16 Andreas Jaeger <aj@suse.de>
9689 * po/ru.po: Update from translation team.
9691 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9693 * conform/data/string.h-data (NULL): Use macro-constant. Require
9695 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9696 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9697 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9698 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9701 2012-07-13 Andreas Jaeger <aj@suse.de>
9703 * po/fr.po: Update from translation team.
9705 2012-07-12 Marek Polacek <polacek@redhat.com>
9708 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9709 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9712 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9716 Change to 2.4.1 where previously 2.4.0.
9717 * sysdeps/unix/sysv/linux/configure: Regenerated.
9718 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9719 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9721 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9722 (__ASSUME_AT_CLKTCK): Remove.
9723 (__ASSUME_AT_PAGESIZE): Likewise.
9724 (__ASSUME_AT_XID): Likewise.
9725 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9726 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9727 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9729 (HAVE_AUX_PAGESIZE): Likewise.
9730 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9731 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9732 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9734 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9738 the temporary buffer used to invoke __gethostbyname2_r,
9739 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9740 host_data / struct gaih_addrtuple.
9741 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9742 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9743 header file nss/nsswitch.h.
9744 * nss/nsswitch.h (global scope): Add definition of implementation
9745 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9746 resolv/nss_dns/dns-host.c).
9748 2012-07-11 Andreas Jaeger <aj@suse.de>
9750 * po/fr.po: Update from translation team.
9752 * po/sv.po: Update from translation team
9753 * po/fr.po: Another update from translation team.
9755 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9758 for subnormals or multiply small sinh result by itself.
9759 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9762 2012-07-11 David S. Miller <davem@davemloft.net>
9764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9766 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9769 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9770 (INTERNAL_MARK): Shift it here.
9772 2012-07-10 Marek Polacek <polacek@redhat.com>
9775 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9776 libc_cv_asm_global_directive with .globl.
9777 * configure: Regenerated.
9778 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9780 * sysdeps/i386/configure: Regenerated.
9781 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9783 * sysdeps/x86_64/configure: Regenerated.
9784 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9785 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9786 * elf/tst-unique2mod2.c: Likewise.
9787 * elf/tst-unique2mod1.c: Likewise.
9788 * elf/tst-unique1mod2.c: Likewise.
9789 * elf/tst-unique1mod1.c: Likewise.
9790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9791 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9793 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9794 * sysdeps/mach/sysdep.h: Likewise.
9795 * sysdeps/i386/sysdep.h: Likewise.
9796 * sysdeps/i386/i386-mcount.S: Likewise.
9797 * sysdeps/x86_64/_mcount.S: Likewise.
9798 * sysdeps/x86_64/sysdep.h: Likewise.
9799 * sysdeps/sh/_mcount.S: Likewise.
9800 * sysdeps/sh/sysdep.h: Likewise.
9801 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9802 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9803 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9804 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9805 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9806 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9808 * locale/localeinfo.h: Likewise.
9809 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9810 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9812 2012-07-09 Roland McGrath <roland@hack.frob.com>
9815 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9817 * manual/message.texi (The Uniforum approach): Likewise.
9818 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9819 (glibc iconv Implementation): Likewise.
9821 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9824 * math/s_clog.c (__clog): Avoid scaling a value down where that
9825 could result in underflow.
9826 * math/s_clog10.c (__clog10): Likewise.
9827 * math/s_clog10f.c (__clog10f): Likewise.
9828 * math/s_clog10l.c (__clog10l): Likewise.
9829 * math/s_clogf.c (__clogf): Likewise.
9830 * math/s_clogl.c (__clogl): Likewise.
9831 * math/libm-test.inc (clog_test): Add more tests.
9832 (clog10_test): Likewise.
9833 * sysdeps/i386/fpu/libm-test-ulps: Update.
9834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9839 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9840 by 7 not 8 to examine high bit of fractional part.
9843 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9844 for call to __mcount_internal.
9845 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9846 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9847 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9849 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9852 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9853 approximation for values within 0x1p-13f of an odd multiple of
9855 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9856 exception. Add more tests.
9857 * sysdeps/i386/fpu/libm-test-ulps: Update.
9860 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9861 inputs and return -1 for them. Do not check for +Inf in case not
9863 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9864 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9866 and return -1 for them. Do not check for +Inf in case not
9868 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9871 and return -1 for them. Do not check for +Inf in case not
9873 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9878 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9880 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9882 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9886 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9887 could result in spurious underflow. Scale down values above
9888 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9889 * math/s_csqrtf.c (__csqrtf): Likewise.
9890 * math/s_csqrtl.c (__csqrtl): Likewise.
9891 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9893 * sysdeps/i386/fpu/libm-test-ulps: Update.
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9896 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9898 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9900 * catgets/xopen-msg.awk: New file.
9901 * catgets/xopen-msg.sed: Removed.
9903 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9905 * intl/po2test.awk: New file.
9906 * intl/po2test.sed: Removed.
9908 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9911 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9912 or multiply small sinh result by itself.
9913 * math/s_ctanf.c (__ctanf): Likewise.
9914 * math/s_ctanh.c (__ctanh): Likewise.
9915 * math/s_ctanhf.c (__ctanhf): Likewise.
9916 * math/s_ctanhl.c (__ctanhl): Likewise.
9917 * math/s_ctanl.c (__ctanl): Likewise.
9918 * math/libm-test.inc (ctan_test_tonearest): New function.
9919 (ctan_test_towardzero): Likewise.
9920 (ctan_test_downward): Likewise.
9921 (ctan_test_upward): Likewise.
9922 (ctanh_test_tonearest): Likewise.
9923 (ctanh_test_towardzero): Likewise.
9924 (ctanh_test_downward): Likewise.
9925 (ctanh_test_upward): Likewise.
9926 (main): Call these new functions.
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9930 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9932 * .gitignore: Delete /ports entry.
9934 2012-07-03 Andreas Jaeger <aj@suse.de>
9936 * po/bg.po: Update from translation team.
9937 * po/cs.po: Likewise.
9938 * po/de.po: Likewise.
9939 * po/hr.po: Likewise.
9940 * po/nl.pl: Likewise.
9941 * po/pl.po: Likewise.
9942 * po/vi.po: Likewise.
9944 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9946 * Makeconfig [!+link] (+link-before-libc): New variable.
9947 [!+link] (+link-after-libc): Likewise.
9948 [!+link] (+link-tests): Likewise.
9949 [!+link] (+link): Define in terms of $(+link-before-libc) and
9950 $(+link-after-libc).
9951 [!+link-static] (+link-static-before-libc): New variable.
9952 [!+link-static] (+link-static-after-libc): Likewise.
9953 [!+link-static] (+link-static-tests): Likewise.
9954 [!+link-static] (+link-static): Define in terms of
9955 $(+link-static-before-libc) and $(+link-static-after-libc).
9956 [build-shared] (link-libc-before-gnulib): New variable.
9957 [build-shared] (link-libc-tests): Likewise.
9958 [build-shared] (link-libc): Define in terms of
9959 $(link-libc-before-gnulib).
9960 [!build-shared] (link-libc-tests): New variable.
9961 (link-libc-static-tests): New variable.
9962 [!gnulib] (gnulib-arch): New variable.
9963 [!gnulib] (gnulib-tests): Likewise.
9964 [!gnulib] (static-gnulib-arch): Likewise.
9965 [!gnulib] (static-gnulib-tests): Likewise.
9966 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9967 Define with "=" instead of ":=".
9968 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9969 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9970 * Rules (binaries-all-notests): New variable.
9971 (binaries-all-tests): Likewise.
9972 (binaries-static-notests): Likewise.
9973 (binaries-static-tests): Likewise.
9974 (binaries-all): Define using $(binaries-all-notests) and
9975 $(binaries-all-tests).
9976 (binaries-static): Define using $(binaries-static-notests) and
9977 $(binaries-static-tests).
9978 (binaries-shared-tests): New variable.
9979 (binaries-shared-notests): Likewise.
9980 (binaries-shared): Remove variable.
9981 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9982 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9983 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9984 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9985 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9986 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9987 * elf/Makefile (sln-modules): New variable.
9988 (extra-objs): Add $(sln-modules:=.o).
9989 (ldconfig-modules): Add static-stubs.
9990 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9991 * elf/static-stubs.c: New file.
9994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9995 by 7 not 8 to examine high bit of fractional part. Use volatile
9996 variables when splitting into final array of floats if
9997 __FLT_EVAL_METHOD__ != 0.
9998 * math/libm-test.inc (cos_test): Add another test.
9999 (sin_test): Likewise.
10000 * sysdeps/i386/fpu/libm-test-ulps: Update.
10003 * math/libm-test.inc (cosh_test): Add more tests.
10005 * version.h (RELEASE): Set to "development".
10006 (VERSION): Set to "2.16.90".
10008 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10010 * NEWS: Update copyright. Remove last-updated date.
10011 Mention math library bug fixes and timezone data changes.
10012 * README: Mention GNU/Hurd, x32, and HPPA support status.
10014 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10016 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10018 2012-06-27 Andreas Jaeger <aj@suse.de>
10020 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10022 2012-06-25 Andreas Jaeger <aj@suse.de>
10024 * sysdeps/s390/fpu/libm-test-ulps: Update.
10026 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10027 Thomas Schwinge <thomas@codesourcery.com>
10029 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10030 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10031 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10034 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10036 * sysdeps/mach/start.c: Remove file.
10037 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10038 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10039 * sysdeps/sh/init-first.c: Likewise.
10041 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10042 registers for frame unwinding purposes, add CFI directives.
10043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10045 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10048 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10049 __fortify_fail returning.
10050 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10053 sysdeps/sh/____longjmp_chk.S.
10054 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10055 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10056 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10057 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10059 * sysdeps/sh/abort-instr.h: New file.
10060 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10061 process in case exit returns.
10063 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10064 initialize the GOT register before use.
10066 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10067 calculation of ARGC > 4.
10069 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10070 meaningful names to some local labels.
10072 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10073 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10075 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10076 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10077 (__arch_compare_and_exchange_val_16_acq): Likewise.
10078 (__arch_compare_and_exchange_val_32_acq): Likewise.
10079 (atomic_exchange_and_add): Fix gUSA sequence.
10080 (atomic_add): Likewise.
10081 (atomic_add_negative): Likewise.
10082 (atomic_add_zero): Likewise.
10083 (atomic_bit_test_set): Likewise.
10085 2012-06-22 Andreas Schwab <schwab@redhat.com>
10088 * include/link.h (struct link_map): Add l_free_initfini.
10089 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10091 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10092 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10093 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10096 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10098 * configure.in: Use AC_LANG_SOURCE.
10099 * configure: Regenerate.
10101 2012-06-22 Roland McGrath <roland@hack.frob.com>
10103 * configure.in (libc_cv_localstatedir): New substituted variable.
10104 * configure: Regenerated.
10105 * config.make.in (localstatedir): New variable, substituted from
10106 libc_cv_localstatedir.
10107 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10108 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10109 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10110 * sysdeps/gnu/configure: Regenerated.
10112 2012-06-21 Jeff Law <law@redhat.com>
10115 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10116 free. Simplify list management for _LIBC case.
10118 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10122 Clear sign bit of 64-bit integer value before comparing against
10125 * sysdeps/mach/configure: Regenerated.
10127 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10130 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10132 2012-06-21 Jeff Law <law@redhat.com>
10135 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10136 uint16_t for elements in the "seen" array to avoid char overflows.
10137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10138 * elf/dl-open.c (dl_open_worker): Likewise.
10140 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10142 * scripts/list-sources.sh: Scan PORTS for translations.
10143 * po/libc.pot: Regenerated.
10145 2012-06-21 Andreas Jaeger <aj@suse.de>
10148 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10150 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10151 * bits/byteswap-16.h (__bswap_16): Likewise.
10152 * bits/byteswap.h (__bswap_constant_16): Likewise.
10154 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10157 * sysdeps/i386/fpu_control.h: Removed.
10158 * sysdeps/x86_64/fpu_control.h: Moved to ...
10159 * sysdeps/x86/fpu_control.h: Here.
10161 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10162 (_FPU_SETCW): Likewise.
10164 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10167 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10168 * sysdeps/x86/fpu/bits/mathinline.h: This.
10169 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10173 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10174 functions if __x86_64__ is defined.
10176 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10178 * string/endian.h: Add !__ASSEMBLER__ condition for including
10179 conversion interfaces.
10181 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10185 of ABS(x) in calculating zero to negative powers other than odd
10187 * math/libm-test.inc (pow_test): Add more tests.
10189 2012-06-15 Andreas Jaeger <aj@suse.de>
10191 * manual/contrib.texi (Contributors): Update entry of Liubov
10192 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10195 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10197 * string/string.h: Add __wur to GNU version of strerror_r.
10199 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10202 * string/Makefile (tests): Add tst-strtok_r.
10203 * string/tst-strtok_r.c: New file.
10204 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10205 RAX_LP/RDX_LP on SAVE_PTR.
10207 2012-06-14 Roland McGrath <roland@hack.frob.com>
10209 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10211 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10213 * libm_test.inc (csqrt_test): Allow more spurious underflow
10215 (j0_test): Likewise.
10216 (j1_test): Likewise.
10217 (y0_test): Likewise.
10218 (y1_test): Likewise.
10220 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10222 * po/Makefile (libc.pot): Use UTF-8 charset.
10224 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10227 Suppress sign-conversion warning from FD_SET.
10228 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10229 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10230 not unsigned long int.
10231 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10233 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10237 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10238 __extern_always_inline instead of __extern_inline.
10239 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10240 (__signbit): Likewise.
10241 (__signbitl): Support C++ namespace.
10242 (lrintf): New inline function.
10244 (llrintf): Likewise.
10245 (llrint): Likewise.
10255 (floorf): Likewise.
10256 (nearbyint): Likewise.
10257 (nearbyintf): Likewise.
10259 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10261 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10262 non-default versions.
10264 2012-06-11 Roland McGrath <roland@hack.frob.com>
10267 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10269 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10271 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10272 (FE_UPWARD, FE_DOWNWARD): Don't define.
10273 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10274 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10278 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10279 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10281 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10283 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10285 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10286 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10288 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10292 * sysdeps/i386/fpu/Implies: New file.
10293 * sysdeps/x86_64/fpu/Implies: Likewise.
10294 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10295 * sysdeps/x86/fpu/bits/fenv.h: This.
10297 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10300 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10303 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10304 character 0xffff that matches the last element of the
10307 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10312 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10315 values higher than 25.6283.
10317 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10320 subnormal exponent extraction and add some __builtin_expect.
10321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10322 Fix for subnormal mantissa calculation.
10324 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10326 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10327 cpu2 is -1 and errno is not ENOSYS.
10329 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10332 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10333 * sysdeps/x86/bits/string.h: This.
10334 * sysdeps/x86_64/bits/string.h: Removed.
10336 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10337 if not compiling for x86-64, but compiling for >= i486.
10339 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10340 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10342 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10343 New macro from Linux kernel 3.4.0.
10344 (FP_XSTATE_MAGIC2): Likewise.
10345 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10346 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10347 (struct _fpx_sw_bytes): New struct.
10348 (struct _xsave_hdr): Likewise.
10349 (struct _ymmh_state): Likewise.
10350 (struct _xstate): Likewise.
10352 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10353 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10355 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10356 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10357 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10359 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10360 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10361 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10362 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10363 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10364 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10366 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10369 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10370 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10371 (sysdep_headers): Include sys/platform/ppc.h.
10372 * sysdeps/powerpc/test-gettimebase.c: Test for
10373 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10374 * manual/Makefile (appendices): Include platform.texi.
10375 * manual/contrib.texi (Contributors): Update @node pointers.
10376 * manual/maint.texi (Maintenance): Likewise.
10377 (Platform): New node.
10378 * manual/platform.texi: New file. Document the new features.
10380 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10381 Jakub Jelinek <jakub@redhat.com>
10384 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10385 where __builtin_expect is unavailable.
10387 2012-06-03 David S. Miller <davem@davemloft.net>
10389 * stdlib/longlong.h: Updated from GCC.
10391 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10394 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10395 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10398 (GLIBC_2.16): Likewise.
10400 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10404 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10407 (default-abi): New variable.
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10409 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10411 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10413 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10415 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10418 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10419 definition. Document in comment.
10421 2012-06-01 David S. Miller <davem@davemloft.net>
10423 * stdlib/longlong.h: Updated from GCC.
10425 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10428 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10429 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10430 sys/debugreg.h sys/io.h here.
10431 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10432 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10434 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10435 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10436 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10437 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10439 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10442 Define only if __x86_64__ is defined.
10444 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10448 Use int64_t for variable i.
10449 * math/libm-test.inc (fmod_test): Add more tests.
10451 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10452 z computation is not scheduled after fetestexcept.
10453 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10454 Use math_force_eval instead of asm to ensure calculation scheduled
10455 before exception test.
10456 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10457 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10459 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10462 computation is not scheduled after fetestexcept.
10464 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10467 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10468 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10470 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10472 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10473 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10475 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10478 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10480 (__WCHAR_MIN): Support __WORDSIZE == 64.
10481 (__WCHAR_MAX): Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10488 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10491 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10492 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10495 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10497 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10498 Defined to 1 if __x86_64__ isn't defined.
10499 (_STAT_VER_LINUX_OLD): New.
10500 (st_atime): Remove duplicate.
10501 (st_mtime): Likewise.
10502 (st_ctime): Likewise.
10504 2012-05-31 David S. Miller <davem@davemloft.net>
10506 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10509 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10511 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10515 * elf/dl-reloc.c: Include <_itoa.h>.
10516 (_dl_reloc_bad_type): Remove use of INTUSE.
10517 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10518 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10519 * stdio-common/psiginfo.c (psiginfo): Likewise.
10520 * stdio-common/psignal.c (psignal): Likewise.
10521 * string/strsignal.c (strsignal): Likewise.
10522 * include/signal.h (_sys_siglist): Declare hidden proto.
10523 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10524 INTVARDEF with libc_hidden_data_def.
10525 * stdio-common/itoa-udigits.c: Likewise.
10526 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10527 (_itoa_lower_digits_internal): Remove declaration.
10528 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10529 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10530 (_sys_sigabbrev_internal): Remove aliases.
10531 (_sys_siglist): Define hidden alias.
10533 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10538 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10541 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10542 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10544 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10545 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10546 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10547 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10549 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10551 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10552 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10553 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10563 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10565 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10567 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10568 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10570 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10571 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10572 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10574 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10575 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10577 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10578 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10584 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10585 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10587 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10589 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10590 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10591 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10593 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10595 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10597 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10599 * math/math.h (M_El): Use two more decimal places.
10600 (M_LOG2El): Likewise.
10601 (M_LOG10El): Likewise.
10602 (M_LN2l): Likewise.
10603 (M_LN10l): Likewise.
10605 (M_PI_2l): Likewise.
10606 (M_PI_4l): Likewise.
10607 (M_1_PIl): Likewise.
10608 (M_2_PIl): Likewise.
10609 (M_2_SQRTPIl): Likewise.
10610 (M_SQRT2l): Likewise.
10611 (M_SQRT1_2l): Likewise.
10613 2012-05-31 David S. Miller <davem@davemloft.net>
10615 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10616 values between float registers.
10617 * sysdeps/sparc/sparc64/memset.S: Likewise.
10618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10620 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10622 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10623 -D_FORTIFY_SOURCE=1.
10624 (CPPFLAGS-tst-longjmp_chk.c): Define.
10625 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10626 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10627 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10628 CFLAGS-tst-wchar-h.c.
10630 2012-05-31 Marek Polacek <polacek@redhat.com>
10633 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10634 __endmntent_internal): Remove declaration.
10635 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10636 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10637 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10639 2012-05-30 David S. Miller <davem@davemloft.net>
10641 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10642 (___Q_simulate_exceptions): Use real FP ops rather than writing
10644 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10650 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10651 * sysdeps/x86/bits/xtitypes.h: This.
10653 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10654 * sysdeps/x86/bits/wordsize.h: This.
10656 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10657 * sysdeps/x86/bits/huge_vall.h: This.
10659 * sysdeps/i386/bits/select.h: Removed.
10660 * sysdeps/x86_64/bits/select.h: Renamed to ...
10661 * sysdeps/x86/bits/select.h: This.
10663 * sysdeps/i386/bits/setjmp.h: Removed.
10664 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10665 * sysdeps/x86/bits/setjmp.h: This.
10667 * sysdeps/i386/bits/mathdef.h: Removed.
10668 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10669 * sysdeps/x86/bits/mathdef.h: This.
10671 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10674 * include/sys/socket.h (__connect_internal)
10675 (__libc_sa_len_internal): Remove declaration.
10676 (__connect, __libc_sa_len): Declare hidden_proto.
10677 (SA_LEN): Remove use of INTUSE.
10678 * socket/connect.c: Add libc_hidden_def.
10679 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10680 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10681 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10683 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10684 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10685 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10686 of adding _internal alias.
10688 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10691 * sysdeps/i386/bits/link.h: Removed.
10692 * sysdeps/i386/bits/linkmap.h: Likewise.
10693 * sysdeps/x86_64/bits/link.h: Renamed to ...
10694 * sysdeps/x86/bits/link.h: This.
10695 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10696 * sysdeps/x86/bits/linkmap.h: This.
10698 * sysdeps/i386/bits/endian.h: Removed.
10699 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10700 * sysdeps/x86/bits/endian.h: This.
10702 * sysdeps/i386/bits/byteswap.h: Removed.
10703 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10704 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10705 * sysdeps/x86/bits/byteswap.h: This.
10706 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10707 * sysdeps/x86/bits/byteswap-16.h: This.
10708 * sysdeps/i386/Implies: Add x86.
10709 * sysdeps/x86_64/Implies: Likewise.
10711 2012-05-30 David S. Miller <davem@davemloft.net>
10713 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10714 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10715 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10716 (FP_TRAPPING_EXCEPTIONS): Define.
10717 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10718 (FP_TRAPPING_EXCEPTIONS): Define.
10719 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10720 subnormals only when inexact has been signalled or underflow
10721 exceptions are enabled.
10722 (_FP_PACK_CANONICAL): Likewise.
10724 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10727 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10728 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10730 2012-05-30 Richard Henderson <rth@twiddle.net>
10732 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10733 with #ifndef NOT_IN_libc.
10735 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10736 marked to avoid plt entry.
10738 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10741 * Makeconfig (default-abi): New macro.
10742 (abi-includes): Likewise.
10743 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10744 $(abi-$(default-abi)-lib-soname) for soname if defined.
10745 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10747 * Makefile (installed-stubs): Likewise.
10748 * include/stubs-biarch.h: Removed.
10749 * scripts/lib-names.awk: Only handle one library at a time.
10750 * scripts/soversions.awk: Remove WORDSIZE support.
10751 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10753 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10755 (syscall-list-default-condition): Likewise.
10756 (syscall-list-default-condition): Likewise.
10757 (syscall-list-includes): Likewise.
10758 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10759 syscall-list-* with abi-*. Handle undefined abi-variants.
10760 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10761 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10762 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10763 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10765 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10767 (syscall-list-32-options): Likewise.
10768 (syscall-list-32-condition): Likewise.
10769 (syscall-list-64-options): Likewise.
10770 (syscall-list-64-condition): Likewise.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10773 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10776 (abi-64-ld-soname): New macro.
10777 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10778 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10781 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10782 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10784 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10786 * sysdeps/unix/sysv/linux/kernel-features.h
10787 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10788 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10789 include <kernel-features.h>.
10790 [!__NR_ftruncate64]: Remove conditional code.
10791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10792 [__NR_ftruncate64]: Make code unconditional.
10793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10794 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10795 include <kernel-features.h>.
10796 [!__NR_ftruncate64]: Remove conditional code.
10797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10798 [__NR_ftruncate64]: Make code unconditional.
10799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10801 include <kernel-features.h>.
10802 [!__NR_ftruncate64]: Remove conditional code.
10803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10804 [__NR_ftruncate64]: Make code unconditional.
10805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10807 include <kernel-features.h>.
10808 [!__NR_ftruncate64]: Remove conditional code.
10809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10810 [__NR_ftruncate64]: Make code unconditional.
10811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10813 * configure.in (libc_cv_fpie): Weaken to a compile test using
10814 LIBC_TRY_CC_OPTION.
10815 * configure: Regenerated.
10817 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10832 2012-05-27 David S. Miller <davem@davemloft.net>
10834 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10836 (__Q_simulate_exceptions): Return void. Change to simulate
10837 exceptions by writing into the %fsr.
10838 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10839 (__Qp_handle_exceptions): Likewise.
10841 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10842 __Qp_handle_exceptions.
10843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10844 __Qp_handle_exceptions.
10845 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10846 as unused and give dummy FP_RND_NEAREST initializer.
10847 (FP_INHIBIT_RESULTS): Define.
10848 (___Q_simulate_exceptions): Update declaration.
10849 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10852 as unused and give dummy FP_RND_NEAREST initializer.
10853 (__Qp_handle_exceptions): Update declaration.
10854 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10857 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10859 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10860 the temporary FPU control word.
10861 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10862 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10864 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10865 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10866 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10867 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10868 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10869 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10870 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10873 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10875 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10878 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10880 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10881 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10885 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10886 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10889 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10891 * po/h.po: Update from translation team.
10893 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10895 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10898 handling of denormals.
10899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10900 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10901 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10902 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10908 2012-05-26 Marek Polacek <polacek@redhat.com>
10911 * math/libm-test.inc (fma_test): Don't always expect underflow
10914 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * elf/tst-execstack.c: Include stackinfo.h.
10918 (do_test): Adjust test case to ensure that pthread_getattr_np
10919 behaviour remains the same after marking stack executable.
10921 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10923 * sysdeps/unix/sysv/linux/kernel-features.h
10924 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10925 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10927 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10928 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10929 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10931 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10932 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10934 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10936 * configure.in: Define the default includes to being none.
10937 * configure: Regenerated.
10939 2012-05-25 Roland McGrath <roland@hack.frob.com>
10941 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10942 * sysdeps/x86_64/setjmp.S: Likewise.
10943 * sysdeps/i386/bsd-setjmp.S: Likewise.
10944 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10945 * sysdeps/i386/setjmp.S: Likewise.
10946 * sysdeps/i386/__longjmp.S: Likewise.
10947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10948 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10950 * include/stap-probe.h: New file.
10951 * configure.in: Handle --enable-systemtap.
10952 * configure: Regenerated.
10953 * config.h.in (USE_STAP_PROBE): New #undef.
10954 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10955 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10956 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10958 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10962 to 2.4.0 where earlier.
10963 * sysdeps/unix/sysv/linux/configure: Regenerated.
10964 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10965 <kernel-features.h>.
10966 [__ASSUME_32BITUIDS]: Make code unconditional.
10967 [!__ASSUME_32BITUIDS]: Remove conditional code.
10968 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10969 <kernel-features.h>.
10970 [__ASSUME_32BITUIDS]: Make code unconditional.
10971 [!__ASSUME_32BITUIDS]: Remove conditional code.
10972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10973 [__ASSUME_32BITUIDS]: Make code unconditional.
10974 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10975 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10976 <kernel-features.h>.
10977 [__ASSUME_32BITUIDS]: Make code unconditional.
10978 [!__ASSUME_32BITUIDS]: Remove conditional code.
10979 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10980 <kernel-features.h>.
10981 [__ASSUME_32BITUIDS]: Make code unconditional.
10982 [!__ASSUME_32BITUIDS]: Remove conditional code.
10983 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10984 <kernel-features.h>.
10985 [__ASSUME_32BITUIDS]: Make code unconditional.
10986 [!__ASSUME_32BITUIDS]: Remove conditional code.
10987 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10988 <kernel-features.h>.
10989 [__ASSUME_32BITUIDS]: Make code unconditional.
10990 [!__ASSUME_32BITUIDS]: Remove conditional code.
10991 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10992 <kernel-features.h>.
10993 [__ASSUME_32BITUIDS]: Make code unconditional.
10994 [!__ASSUME_32BITUIDS]: Remove conditional code.
10995 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10996 <kernel-features.h>.
10997 [__ASSUME_32BITUIDS]: Make code unconditional.
10998 [!__ASSUME_32BITUIDS]: Remove conditional code.
10999 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11000 <kernel-features.h>.
11001 [__ASSUME_32BITUIDS]: Make code unconditional.
11002 [!__ASSUME_32BITUIDS]: Remove conditional code.
11003 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11004 <kernel-features.h>.
11005 [__ASSUME_32BITUIDS]: Make code unconditional.
11006 [!__ASSUME_32BITUIDS]: Remove conditional code.
11007 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11008 <kernel-features.h>.
11009 [__ASSUME_32BITUIDS]: Make code unconditional.
11010 [!__ASSUME_32BITUIDS]: Remove conditional code.
11011 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11012 <kernel-features.h>.
11013 [__ASSUME_32BITUIDS]: Make code unconditional.
11014 [!__ASSUME_32BITUIDS]: Remove conditional code.
11015 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11016 <kernel-features.h>.
11017 [__NR_setresgid] (__setresgid): Do not declare.
11018 [__ASSUME_32BITUIDS]: Make code unconditional.
11019 [!__ASSUME_32BITUIDS]: Remove conditional code.
11020 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11021 <kernel-features.h>.
11022 [__NR_setresuid] (__setresuid): Do not declare.
11023 [__ASSUME_32BITUIDS]: Make code unconditional.
11024 [!__ASSUME_32BITUIDS]: Remove conditional code.
11025 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11026 <kernel-features.h>.
11027 [__ASSUME_32BITUIDS]: Make code unconditional.
11028 [!__ASSUME_32BITUIDS]: Remove conditional code.
11029 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11030 <kernel-features.h>.
11031 [__ASSUME_32BITUIDS]: Make code unconditional.
11032 [!__ASSUME_32BITUIDS]: Remove conditional code.
11033 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11034 <kernel-features.h>.
11035 [__ASSUME_32BITUIDS]: Make code unconditional.
11036 [!__ASSUME_32BITUIDS]: Remove conditional code.
11037 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11038 <kernel-features.h>.
11039 [__ASSUME_32BITUIDS]: Make code unconditional.
11040 [!__ASSUME_32BITUIDS]: Remove conditional code.
11041 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11042 <kernel-features.h>.
11043 [__ASSUME_32BITUIDS]: Make code unconditional.
11044 [!__ASSUME_32BITUIDS]: Remove conditional code.
11045 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11046 <kernel-features.h>.
11047 [__ASSUME_32BITUIDS]: Make code unconditional.
11048 [!__ASSUME_32BITUIDS]: Remove conditional code.
11049 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11050 <kernel-features.h>.
11051 [__ASSUME_32BITUIDS]: Make code unconditional.
11052 [!__ASSUME_32BITUIDS]: Remove conditional code.
11053 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11054 <kernel-features.h>.
11055 [__ASSUME_32BITUIDS]: Make code unconditional.
11056 [!__ASSUME_32BITUIDS]: Remove conditional code.
11057 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11058 <kernel-features.h>.
11059 [__ASSUME_32BITUIDS]: Make code unconditional.
11060 [!__ASSUME_32BITUIDS]: Remove conditional code.
11061 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11062 <kernel-features.h>.
11063 [__ASSUME_32BITUIDS]: Make code unconditional.
11064 [!__ASSUME_32BITUIDS]: Remove conditional code.
11065 * sysdeps/unix/sysv/linux/kernel-features.h
11066 (__ASSUME_SETRESUID_SYSCALL): Remove.
11067 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11068 (__ASSUME_32BITUIDS): Likewise.
11069 (__ASSUME_LDT_WORKS): Likewise.
11070 (__ASSUME_O_DIRECTORY): Likewise.
11071 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11072 architecture but not kernel version.
11073 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11074 (__ASSUME_MMAP2_SYSCALL): Likewise.
11075 (__ASSUME_STAT64_SYSCALL): Likewise.
11076 (__ASSUME_IPC64): Likewise.
11077 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11078 <kernel-features.h>.
11079 [__ASSUME_32BITUIDS]: Make code unconditional.
11080 [!__ASSUME_32BITUIDS]: Remove conditional code.
11081 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11082 <kernel-features.h>.
11083 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11084 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11085 132096]: Remove conditional code.
11086 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11088 <kernel-features.h>.
11089 [__ASSUME_32BITUIDS]: Make code unconditional.
11090 [!__ASSUME_32BITUIDS]: Remove conditional code.
11091 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11092 <kernel-features.h>.
11093 [__ASSUME_32BITUIDS]: Make code unconditional.
11094 [!__ASSUME_32BITUIDS]: Remove conditional code.
11095 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11096 <kernel-features.h>.
11097 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11099 (__setresgid): Do not declare.
11100 [__ASSUME_32BITUIDS]: Make code unconditional.
11101 [!__ASSUME_32BITUIDS]: Remove conditional code.
11102 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11103 <kernel-features.h>.
11104 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11106 (__setresuid): Do not declare.
11107 [__ASSUME_32BITUIDS]: Make code unconditional.
11108 [!__ASSUME_32BITUIDS]: Remove conditional code.
11109 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11110 <kernel-features.h>.
11111 [__ASSUME_32BITUIDS]: Make code unconditional.
11112 [!__ASSUME_32BITUIDS]: Remove conditional code.
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11114 <kernel-features.h>.
11115 [__ASSUME_32BITUIDS]: Make code unconditional.
11116 [!__ASSUME_32BITUIDS]: Remove conditional code.
11118 2012-05-25 Richard Henderson <rth@twiddle.net>
11120 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11121 dl_hwcap to ifunc resolver.
11122 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11124 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11125 dl_hwcap to ifunc resolver.
11126 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11128 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11131 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11132 for |x| <= 2**-26, not 2**-57.
11133 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11136 2012-05-24 Jeff Law <law@redhat.com>
11138 * stdio-common/Makefile (tests): Add bug25.
11139 * stdio-common/bug25.c: New test.
11141 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11144 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11145 multiple of MALLOC_ALIGNMENT in size.
11146 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11148 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11150 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11152 (FILENAME_MAX): Use macro-int-constant.
11153 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11154 (_IOFBF): Use macro-int-constant.
11155 (_IOLBF): Likewise.
11156 (_IONBF): Likewise.
11157 (SEEK_CUR): Likewise.
11158 (SEEK_END): Likewise.
11159 (SEEK_SET): Likewise.
11160 (TMP_MAX): Likewise.
11161 (EOF): Use macro-int-constant. Require < 0.
11162 (NULL): Use macro-constant. Require == 0.
11163 (stdin): Require type to be FILE *.
11164 (stdout): Likewise.
11165 (stderr): Likewise.
11166 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11167 macro-int-constant.
11168 (EXIT_SUCCESS): Likewise.
11169 (NULL): Use macro-constant. Require == 0.
11170 (RAND_MAX): Use macro-int-constant.
11171 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11172 [C99-based standards] (strtof): Require function.
11173 [C99-based standards] (strtold): Likewise.
11174 [C99-based standards] (strtoll): Likewise.
11175 [C99-based standards] (strtoull): Likewise.
11176 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11177 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11178 [ISO || ISO99 || ISO11] (math.h): Likewise.
11179 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11180 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11183 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11186 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11187 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11188 * intl/dgettext.c (DCGETTEXT): Likewise.
11189 * intl/gettext.c (DCGETTEXT): Likewise.
11190 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11191 * posix/regex_internal.h (gettext): Likewise.
11192 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11193 Remove declaration.
11194 * include/argz.h (__argz_count_internal)
11195 (__argz_stringify_internal): Remove declaration.
11196 (__argz_count, __argz_stringify): Declare hidden proto.
11197 * intl/dcgettext.c: Remove use of INTDEF.
11198 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11199 * string/argz-stringify.c: Likewise.
11200 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11201 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11202 Declare hidden proto.
11203 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11204 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11205 Declare hidden proto.
11206 * include/stdio.h (__asprintf_internal): Don't declare.
11207 (__asprintf): Don't define as macro. Declare hidden proto.
11208 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11209 (__fsetlocking): Declare hidden proto.
11210 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11211 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11213 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11214 (_IO_setlinebuf): Remove use of INTUSE.
11215 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11216 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11217 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11218 Remove declaration.
11219 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11220 (_IO_do_flush): Remove use of INTUSE.
11221 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11222 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11223 (_IO_adjust_column, _IO_least_wmarker)
11224 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11225 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11226 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11227 (_IO_default_doallocate, _IO_wdefault_doallocate)
11228 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11229 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11230 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11231 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11232 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11233 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11234 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11235 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11236 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11237 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11238 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11239 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11240 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11242 (_IO_flush_all_internal, _IO_adjust_column_internal)
11243 (_IO_default_uflow_internal, _IO_default_finish_internal)
11244 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11245 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11246 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11247 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11248 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11249 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11250 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11251 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11252 (_IO_file_close_internal, _IO_file_close_it_internal)
11253 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11254 (_IO_file_init_internal, _IO_file_attach_internal)
11255 (_IO_file_fopen_internal, _IO_file_read_internal)
11256 (_IO_file_sync_internal, _IO_file_seek_internal)
11257 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11258 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11259 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11260 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11261 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11262 (_IO_list_all_internal, _IO_link_in_internal)
11263 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11264 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11265 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11266 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11267 (_IO_do_write_internal, _IO_padn_internal)
11268 (_IO_getline_info_internal, _IO_getline_internal)
11269 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11270 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11271 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11272 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11273 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11274 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11275 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11276 with libc_hidden_ver, remove use of INTUSE.
11277 * libio/genops.c: Likewise.
11278 * libio/freopen.c: Likewise.
11279 * libio/freopen64.c: Likewise.
11280 * libio/iofclose.c: Likewise.
11281 * libio/iofdopen.c: Likewise.
11282 * libio/iofflush.c: Likewise.
11283 * libio/iofflush_u.c: Likewise.
11284 * libio/iofgets.c: Likewise.
11285 * libio/iofgets_u.c: Likewise.
11286 * libio/iofopen.c: Likewise.
11287 * libio/iofopncook.c: Likewise.
11288 * libio/iofread.c: Likewise.
11289 * libio/iofread_u.c: Likewise.
11290 * libio/ioftell.c: Likewise.
11291 * libio/iofwrite.c: Likewise.
11292 * libio/iogetline.c: Likewise.
11293 * libio/iogets.c: Likewise.
11294 * libio/iogetwline.c: Likewise.
11295 * libio/iopadn.c: Likewise.
11296 * libio/iopopen.c: Likewise.
11297 * libio/ioseekoff.c: Likewise.
11298 * libio/ioseekpos.c: Likewise.
11299 * libio/iosetbuffer.c: Likewise.
11300 * libio/iosetvbuf.c: Likewise.
11301 * libio/ioungetc.c: Likewise.
11302 * libio/ioungetwc.c: Likewise.
11303 * libio/iovdprintf.c: Likewise.
11304 * libio/iovsprintf.c: Likewise.
11305 * libio/iovsscanf.c: Likewise.
11306 * libio/memstream.c: Likewise.
11307 * libio/obprintf.c: Likewise.
11308 * libio/oldfileops.c: Likewise.
11309 * libio/oldiofclose.c: Likewise.
11310 * libio/oldiofdopen.c: Likewise.
11311 * libio/oldiofopen.c: Likewise.
11312 * libio/oldiopopen.c: Likewise.
11313 * libio/oldstdfiles.c: Likewise.
11314 * libio/putc.c: Likewise.
11315 * libio/setbuf.c: Likewise.
11316 * libio/setlinebuf.c: Likewise.
11317 * libio/stdfiles.c: Likewise.
11318 * libio/strops.c: Likewise.
11319 * libio/vasprintf.c: Likewise.
11320 * libio/vscanf.c: Likewise.
11321 * libio/vsnprintf.c: Likewise.
11322 * libio/vswprintf.c: Likewise.
11323 * libio/wfiledoalloc.c: Likewise.
11324 * libio/wfileops.c: Likewise.
11325 * libio/wgenops.c: Likewise.
11326 * libio/wmemstream.c: Likewise.
11327 * libio/wstrops.c: Likewise.
11328 * libio/__fpurge.c: Likewise.
11329 * libio/__fsetlocking.c: Likewise.
11330 * assert/assert.c: Likewise.
11331 * debug/fgets_chk.c: Likewise.
11332 * debug/fgets_u_chk.c: Likewise.
11333 * debug/fread_chk.c: Likewise.
11334 * debug/fread_u_chk.c: Likewise.
11335 * debug/gets_chk.c: Likewise.
11336 * debug/obprintf_chk.c: Likewise.
11337 * debug/vasprintf_chk.c: Likewise.
11338 * debug/vdprintf_chk.c: Likewise.
11339 * debug/vsnprintf_chk.c: Likewise.
11340 * debug/vsprintf_chk.c: Likewise.
11341 * malloc/mtrace.c: Likewise.
11342 * misc/error.c: Likewise.
11343 * misc/syslog.c: Likewise.
11344 * stdio-common/asprintf.c: Likewise.
11345 * stdio-common/fxprintf.c: Likewise.
11346 * stdio-common/getw.c: Likewise.
11347 * stdio-common/isoc99_fscanf.c: Likewise.
11348 * stdio-common/isoc99_scanf.c: Likewise.
11349 * stdio-common/isoc99_vfscanf.c: Likewise.
11350 * stdio-common/isoc99_vscanf.c: Likewise.
11351 * stdio-common/isoc99_vsscanf.c: Likewise.
11352 * stdio-common/printf-prs.c: Likewise.
11353 * stdio-common/printf_fp.c: Likewise.
11354 * stdio-common/printf_fphex.c: Likewise.
11355 * stdio-common/printf_size.c: Likewise.
11356 * stdio-common/putw.c: Likewise.
11357 * stdio-common/scanf.c: Likewise.
11358 * stdio-common/sprintf.c: Likewise.
11359 * stdio-common/tmpfile.c: Likewise.
11360 * stdio-common/vfprintf.c: Likewise.
11361 * stdio-common/vfscanf.c: Likewise.
11362 * stdlib/strfmon_l.c: Likewise.
11363 * sunrpc/openchild.c: Likewise.
11364 * sunrpc/xdr_stdio.c: Likewise.
11365 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11366 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11368 2012-05-24 Roland McGrath <roland@hack.frob.com>
11370 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11372 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11373 in the third column, to generate for the shared library an IFUNC
11374 that uses _dl_vdso_vsym.
11375 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11376 * Makeconfig (object-suffixes-noshared): New variable.
11378 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11379 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11380 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11381 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11384 * include/sys/time.h (__gettimeofday): Remove macro.
11385 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11386 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11388 (__gettimeofday): Add libc_hidden_def.
11389 (gettimeofday): Add libc_hidden_weak.
11390 * sysdeps/mach/gettimeofday.c: Likewise.
11391 * sysdeps/posix/gettimeofday.c: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11395 (__gettimeofday_internal): Remove strong_alias.
11396 (__gettimeofday): Add libc_hidden_def.
11397 (gettimeofday): Add libc_hidden_weak.
11398 * sysdeps/unix/syscalls.list (gettimeofday):
11399 Remove __gettimeofday_internal alias.
11401 2012-05-24 Daniel Jacobowitz <drow@false.org>
11402 H.J. Lu <hongjiu.lu@intel.com>
11405 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11406 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11407 (largebin_index_32_big): New.
11408 (largebin_index): Use it for 16-byte alignment.
11409 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11410 correction with front_misalign.
11412 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11440 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11441 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11443 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11447 * math/libm-test.inc (exp_test): Add test from bug 14036.
11448 (pow_test): Add test from bug 10846.
11450 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11452 (special_function): Do not include flags in test name.
11453 (parse_args): Likewise.
11454 * sysdeps/i386/fpu/libm-test-ulps: Update.
11455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11456 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11457 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11460 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11462 * math/libm-test.inc ("Philosophy"): Update comment about
11464 (UNDERFLOW_EXCEPTION): New macro.
11465 (UNDERFLOW_EXCEPTION_OK): Likewise.
11466 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11467 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11468 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11469 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11470 (INVALID_EXCEPTION_OK): Update value.
11471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11472 (OVERFLOW_EXCEPTION_OK): Likewise.
11473 (IGNORE_ZERO_INF_SIGN): Likewise.
11474 (test_exceptions): Handle underflow exceptions.
11475 (acos_test): Update for underflow exception expectations.
11476 (cexp_test): Likewise.
11477 (clog_test): Likewise.
11478 (clog10_test): Likewise.
11479 (csqrt_test): Likewise.
11480 (ctan_test): Likewise.
11481 (ctanh_test): Likewise.
11482 (exp_test): Likewise.
11483 (exp10_test): Likewise.
11484 (exp2_test): Likewise.
11485 (expm1_test): Likewise.
11486 (fma_test): Likewise.
11487 (j0_test): Likewise.
11488 (jn_test): Likewise.
11489 (nexttoward_test): Likewise.
11490 (pow_test): Likewise.
11491 (scalbn_test): Likewise.
11492 (scalbln_test): Likewise.
11493 (tan_test): Likewise.
11494 (y1_test): Likewise.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498 2012-05-23 David S. Miller <davem@davemloft.net>
11500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11501 (__libc_sigaction): Remove unused local variables.
11503 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11505 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11507 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11509 mktime: avoid signed integer overflow
11510 * time/mktime.c (__mktime_internal): Do not mishandle the case
11511 where diff == INT_MIN.
11513 mktime: simplify computation of average
11514 * time/mktime.c (ranged_convert): Use new time_t_avg function
11515 instead of rolling our own (probably-slower) code.
11517 mktime: do not assume signed right shift propagates sign bit
11518 * time/mktime.c (isdst_differ): New static function.
11519 (__mktime_internal): No need to normalize tm_isdst now.
11520 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11523 mktime: merge another wrapv change from gnulib
11524 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11525 from some compilers.
11527 mktime: remove incorrect attempt at unusual arithmetics
11528 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11529 The code didn't really work on such machines anyway.
11530 (TYPE_MINIMUM): Assume two's complement.
11531 (twos_complement_arithmetic): Verify that long_int and time_t
11532 are two's complement (or unsigned, in the latter case).
11534 mktime: check signed shifts on long_int and time_t, too
11535 * time/mktime.c (SHR): Check that shifts work as desired
11536 on the types long_int and time_t too, as SHR is used on
11539 mktime: do not assume 'long' is wide enough
11540 * time/mktime.c (verify): Move decl up.
11541 (long_int): New type.
11542 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11543 to remove assumption in the code that 'long' is wide enough to
11544 store year values. This assumption is not true on x32 and on
11545 some non-glibc platforms.
11547 mktime: merge wrapv change from gnulib
11548 * time/mktime.c (WRAPV): New macro.
11549 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11550 (guess_time_tm, __mktime_internal): Do not assume that signed
11551 integer overflow wraps around; modern compilers generate code
11552 where this assumption is no longer valid.
11554 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11556 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11557 Replace "jmp L(pseudo_end)" with "ret".
11558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11561 2012-05-23 Andreas Jaeger <aj@suse.de>
11563 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11564 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11566 2012-05-23 Andreas Jaeger <aj@suse.de>
11567 Maximilian Attems <max@stro.at>
11569 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11575 code so that pseudo_end is just ret and the stack pointer is
11576 correct also for static library in error case.
11578 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11580 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11581 move to syscalls.list.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11587 * manual/install.texi (Running make install): Do not mention Linux
11588 kernel version for which pt_chown is not needed.
11589 (Linux): Do not mention problems with nscd with 2.0 kernels.
11590 * INSTALL: Regenerated.
11592 2012-05-23 Andreas Jaeger <aj@suse.de>
11594 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11595 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11597 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11599 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11601 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11605 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11607 * sysdeps/unix/sysv/linux/bits/in.h
11608 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11610 2012-05-22 Roland McGrath <roland@hack.frob.com>
11612 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11613 (PREPARE_VERSION): Just use assert instead, it will be elided
11614 under [NDEBUG] anyway.
11616 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11618 * sysdeps/unix/sysv/linux/Makefile: Include
11619 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11620 (sysdep_routines): Remove sysctl.
11621 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11622 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11623 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11624 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11625 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11627 2012-05-22 Andreas Jaeger <aj@suse.de>
11629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11630 that pseudo_end is just ret and the stack pointer is correct also
11631 for static library in error case.
11633 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11636 * nss/nsswitch.c (defconfig_entries): New variable.
11637 (__nss_database_lookup): Don't leak defconfig entries.
11638 (nss_parse_service_list): Don't leak on error paths.
11639 (free_database_entries): New function.
11640 (free_defconfig): New function.
11641 (free_mem): Move common code to free_database_entries.
11643 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11647 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11649 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11650 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11653 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11654 (INTERNAL_SYSCALL_TYPES): Likewise.
11655 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11656 (LOAD_REGS_TYPES_[1-6]): Likewise.
11657 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11658 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11660 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11663 copysignl for GLIBC_2_0.
11664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11665 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11667 logbl for GLIBC_2_0.
11668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11669 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11671 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11674 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11676 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11679 * time/mktime.c: Update copyright years.
11681 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11683 mktime: merge comment-quoting-style change from gnulib
11684 * time/mktime.c: Quote 'like this' in comments.
11685 The GNU coding standards suggest that we no longer quote `like this',
11686 as "`" and "'" are typically rendered asymmetrically nowadays.
11687 The typical gnulib style is to quote 'like this' when quoting
11688 code, and "like this" when quoting English.
11690 * time/mktime.c (compile-command): Add "-I.".
11692 mktime: merge mktime-internal.h change from gnulib
11693 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11695 mktime: merge time_r change from gnulib
11696 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11698 mktime: merge DEBUG change from gnulib
11699 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11700 case system <time.h> has a #define.
11702 mktime: merge <sys/types.h> change from gnulib
11703 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11704 since <time.t> is now guaranteed to define time_t.
11706 mktime: merge HAVE_CONFIG_H change from gnulib
11707 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11709 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11714 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11716 (struct rusage): Use anonymous union to pad each field to
11719 2012-05-21 David S. Miller <davem@davemloft.net>
11721 * Makefules (o-iterator): Remove .s cases.
11722 (compile-command.s): Delete.
11723 (COMPILE.s): Delete.
11724 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11726 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11728 * configure.in (libc_cv_predef_stack_protector): Only consider
11729 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11730 * configure: Regenerated.
11732 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11735 New macro. Use R*LP on int and pointer.
11736 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11737 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11738 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11741 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11742 [__WORDSIZE_TIME64_COMPAT32] instead of
11743 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11744 (struct utmp): Likewise.
11745 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11746 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11748 (__WORDSIZE_TIME64_COMPAT32): This.
11749 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11750 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11751 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11752 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11753 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11754 (__WORDSIZE_TIME64_COMPAT32): New macro.
11756 2012-05-21 Andreas Jaeger <aj@suse.de>
11758 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11759 only if [SHARED]. Add prototype for __wcschr_ia32.
11761 2012-05-21 Roland McGrath <roland@hack.frob.com>
11763 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11764 of %rbp unmolested in the jmp_buf while mangling the low bits.
11765 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11766 unmolested high bits of %rbp while demangling the low bits.
11767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11769 2012-05-21 Andreas Jaeger <aj@suse.de>
11771 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11772 * sunrpc/svc_simple.c: Use it for registerrpc.
11773 * sunrpc/xcrypt.c: Use it for passwd2des.
11775 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11779 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11780 Don't define if [__SYSCALL_WORDSIZE != 32].
11781 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11784 2012-05-21 Bruno Haible <bruno@clisp.org>
11785 Andreas Jaeger <aj@suse.de>
11787 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11788 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11789 inptr and inend for must_buffer_ch.
11790 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11791 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11792 * stdio-common/Makefile (tests): Remove bug15.
11793 (bug15-ENV): Remove macro.
11794 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11797 2012-05-19 Andreas Jaeger <aj@suse.de>
11798 Roland McGrath <roland@hack.frob.com>
11800 * manual/contrib.texi: Completely rewritten. It contains now an
11801 alphabetical list of contributors and their contributions.
11803 2012-05-21 Richard Henderson <rth@twiddle.net>
11805 * misc/getauxval.c (__getauxval): Use unsigned long int.
11806 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11807 (getauxval): Use unsigned long int.
11809 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11811 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11813 2012-05-21 Roland McGrath <roland@hack.frob.com>
11815 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11816 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11817 __alignof__ (long double).
11819 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11823 2012-05-20 Richard Henderson <rth@twiddle.net>
11825 * misc/getauxval.c: New file.
11826 * misc/sys/auxv.h: New file.
11827 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11828 (routines): Add getauxval.
11829 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11830 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11831 * elf/dl-sysdep.c (_dl_auxv): Remove.
11832 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11833 * elf/dl-support.c (_dl_auxv): New variable.
11834 (_dl_aux_init): Initialize it.
11835 * manual/startup.texi (Auxiliary Vector): New node.
11836 * sysdeps/generic/bits/hwcap.h: New file.
11837 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11838 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11839 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11840 * sysdeps/sparc/sysdep.h: ... here. Include it.
11841 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11842 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11854 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11858 2012-05-19 David S. Miller <davem@davemloft.net>
11860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11862 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11865 * math/s_ccosh.c: Include <float.h>
11866 (__ccosh): Avoid internal overflow calculating sinh and cosh
11867 values before multiplying by sin and cos values.
11868 * math/s_ccoshf.c: Likewise.
11869 * math/s_ccoshl.c: Likewise.
11870 * math/s_csin.c: Likewise.
11871 * math/s_csinf.c: Likewise.
11872 * math/s_csinl.c: Likewise.
11873 * math/s_csinh.c: Likewise.
11874 * math/s_csinhf.c: Likewise.
11875 * math/s_csinhl.c: Likewise.
11876 * math/libm-test.inc (ccos_test): Add more tests.
11877 (ccosh_test): Likewise.
11878 (csin_test): Likewise.
11879 (csinh_test): Likewise.
11880 * sysdeps/i386/fpu/libm-test-ulps: Update.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11883 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11885 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11886 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11888 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11890 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11892 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11893 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11894 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11895 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11896 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11897 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11898 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11899 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11900 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11901 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11902 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11903 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11904 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11905 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11906 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11907 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11908 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11909 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11910 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11911 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11912 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11913 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11914 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11915 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11916 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11917 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11918 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11919 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11920 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11921 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11922 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11924 2012-05-18 Andreas Jaeger <aj@suse.de>
11926 * csu/.gitignore: Delete.
11928 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11931 (timex): Use __syscall_slong_t.
11933 2012-05-18 Andreas Jaeger <aj@suse.de>
11934 Carlos O'Donell <carlos_odonell@mentor.com>
11936 * manual/install.texi (Configuring and compiling): Update
11937 description about files modified in the source directory.
11938 * INSTALL: Regenerated.
11940 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11942 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11943 value. Use "or" to set return value to -1.
11944 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11945 negate return value.
11947 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11949 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11950 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11951 failure if the compiler has Graphite support disabled.
11952 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11954 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11955 CFLAGS-memmove.c): Likewise.
11956 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11959 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11961 * sysdeps/x86_64/x32/_itoa.h: New file.
11963 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11964 getdents system call only if kernel and user dirents have the
11965 same d_ino and d_off.
11967 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11968 LLONG_MAX != LONG_MAX.
11969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11970 (_fitoa_word): Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11975 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11976 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11978 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11979 include <bits/wordsize.h>. Check __x86_64__ instead of
11981 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11982 if __x86_64__ is defined. Use anonymous union on fpstate.
11984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11987 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11989 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11990 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11991 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11992 Refer to _rtld_local_ro instead of _rtld_global_ro.
11993 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11995 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11997 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11999 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12000 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12001 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12003 * sysdeps/powerpc/powerpc32/dl-machine.c
12004 (__elf_machine_runtime_setup) [PROF]: Don't reference
12007 2012-05-18 Andreas Jaeger <aj@suse.de>
12009 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12010 function only available for GCCs before 3.4 since GCC 3.4
12011 introduced a builtin.
12013 (llrintf): Likewise.
12014 (llrint): Likewise.
12021 (nearbyint): Likewise.
12022 (nearbyintf): Likewise.
12026 (floorf): Likewise.
12028 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12030 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12031 on both fields and cast pointer to __syscall_ulong_t.
12033 * bits/types.h (__fsword_t): New type.
12034 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12035 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12037 (__FSWORD_T_TYPE): Likewise.
12038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12039 (__FSWORD_T_TYPE): Likewise.
12040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12041 (__FSWORD_T_TYPE): Likewise.
12042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12043 (__FSWORD_T_TYPE): Likewise.
12044 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12045 __SWORD_TYPE with __fsword_t.
12046 (statfs64): Likewise.
12048 2012-05-17 David S. Miller <davem@davemloft.net>
12050 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12052 2012-05-17 Andreas Jaeger <aj@suse.de>
12054 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12057 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12059 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12061 2012-05-17 Andreas Jaeger <aj@suse.de>
12063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12066 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12068 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12070 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12072 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12073 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12075 2012-05-17 Andreas Jaeger <aj@suse.de>
12076 Carlos O'Donell <carlos_odonell@mentor.com>
12079 * sysdeps/x86_64/multiarch/init-arch.h
12080 (bit_YMM_Usable): Rename to...
12081 (bit_AVX_Usable): ... this.
12082 (bit_FMA4_Usable): New macro.
12083 (bit_XMM_state): New macro.
12084 (bit_YMM_state): New macro.
12085 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12086 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12087 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12088 (CPUID_OSXSAVE): New macro.
12089 (CPUID_AVX): New macro.
12090 (CPUID_FMA4): New macro.
12091 (index_YMM_Usable): Rename to...
12092 (index_AVX_Usable): ... this.
12093 (HAS_AVX): Use HAS_ARCH_FEATURE.
12094 (HAS_FMA4): Likewise.
12095 (HAS_YMM_USABLE): Remove.
12096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12097 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12099 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12100 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12101 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12102 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12103 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12105 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12107 * math/libm-test.c: Support platforms without multiple rounding modes.
12108 * math/bug-nextafter.c: Support platforms without FP exceptions.
12109 * math/bug-nexttoward.c: Likewise.
12110 * math/test-fenv.c: Likewise.
12111 * math/test-misc.c: Likewise.
12112 * stdlib/bug-getcontext.c: Likewise.
12114 2012-05-17 Andreas Jaeger <aj@suse.de>
12116 * manual/examples/search.c (critter_cmp): Change signature to
12118 * manual/string.texi (Collation Functions): Likewise.
12120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12122 * bits/types.h: Fold copyright years.
12123 * bits/typesizes.h: Likewise.
12124 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12126 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12128 * time/time.h: Likewise.
12130 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12133 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12134 in instead of returning them. Return void.
12135 (__libc_mallinfo): Accumulate over all arenas.
12136 (__malloc_stats): Adjust for change in int_mallinfo interface.
12138 2012-05-16 Roland McGrath <roland@hack.frob.com>
12141 * configure.in (NM): Add AC_CHECK_TOOL for it.
12142 (libc_extra_cflags): New substituted variable.
12143 Check for -fstack-protector being used implicitly.
12144 * configure: Regenerated.
12145 * config.make.in (config-extra-cflags): New variable,
12146 gets @libc_extra_cflags@.
12147 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12150 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12151 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12152 * configure: Regenerated.
12153 * config.make.in (CPPUNDEFS): New substituted variable.
12154 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12155 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12156 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12160 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12161 (mq_attr): Use __syscall_slong_t.
12163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12166 Check __x86_64__ instead of __WORDSIZE.
12167 (_STAT_VER_LINUX): Likewise.
12168 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12169 __syscall_ulong_t and __syscall_slong_t.
12170 (stat64): Likewise.
12172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12178 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12180 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12182 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12185 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12186 include <bits/wordsize.h>. Check __x86_64__ instead of
12188 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12190 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12193 include <bits/wordsize.h>. Check __x86_64__ instead of
12195 (user_regs_struct): Use "__extension__ unsigned long long"
12196 instead of "unsigned long" if __x86_64__ is defined.
12197 (user): Likewise. Pad after pointer field if __ILP32__ is
12200 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12202 * configure.in (makeinfo): Require version 4.5 or later. Allow
12204 * configure: Regenerated.
12205 * manual/install.texi (texinfo): Increase version requirement to
12207 * INSTALL: Regenerated.
12209 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12215 * sysdeps/x86_64/x32/ffs.c: New file.
12217 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12219 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12220 defined. Use __syscall_ulong_t.
12221 (shminfo): Use __syscall_ulong_t.
12222 (shm_info): Likewise.
12224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12227 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12229 (msgqnum_t): Use __syscall_ulong_t.
12230 (msglen_t): Likewise.
12231 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12234 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12235 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12237 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12239 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12240 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12242 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12246 include <bits/wordsize.h>. Check __x86_64__ instead of
12249 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12250 "unsigned long long int" if __x86_64__ is defined.
12251 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12254 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12255 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12257 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12259 (GET_PC): Cast to uintptr_t first.
12260 (GET_FRAME): Likewise.
12261 (GET_STACK): Likewise.
12263 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12270 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12271 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12274 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12280 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12281 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12293 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12295 * Makerules (+depfiles): Also collect depfiles from .oS in
12297 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12298 .oS, $(libnldbl-routines)).
12300 * Makerules (native-compile-mkdep-flags): Define.
12301 * sunrpc/Makefile (extra-objs): Add $(addprefix
12302 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12303 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12304 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12305 calling $(make-target-directory).
12307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12309 * bits/types.h (__snseconds_t): Removed.
12310 * time/time.h (struct timespec): Replace __snseconds_t with
12312 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12313 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12316 (__SNSECONDS_T_TYPE): Likewise.
12317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12318 (__SNSECONDS_T_TYPE): Likewise.
12319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12320 (__SNSECONDS_T_TYPE): Likewise.
12322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12324 * sysdeps/mach/hurd/bits/typesizes.h
12325 (__SYSCALL_SLONG_TYPE): New macro.
12326 (__SYSCALL_ULONG_TYPE): Likewise.
12328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12330 * bits/types.h (__syscall_slong_t): New type.
12331 (__syscall_ulong_t): Likewise.
12333 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12334 (__SYSCALL_ULONG_TYPE): Likewise.
12335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12336 (__SYSCALL_SLONG_TYPE): Likewise.
12337 (__SYSCALL_ULONG_TYPE): Likewise.
12338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12339 (__SYSCALL_SLONG_TYPE): Likewise.
12340 (__SYSCALL_ULONG_TYPE): Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12342 (__SYSCALL_SLONG_TYPE): Likewise.
12343 (__SYSCALL_ULONG_TYPE): Likewise.
12345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12347 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12348 Add sigaltstack-offsets.sym.
12349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12350 <sigaltstack-offsets.h>.
12351 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12352 longjmp_msg pointer.
12353 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12354 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12356 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12358 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12360 * elf/stackguard-macros.h: Remove file.
12361 * sysdeps/generic/stackguard-macros.h: New file.
12362 * sysdeps/i386/stackguard-macros.h: Likewise.
12363 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12364 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12365 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12366 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12367 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12368 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12369 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12370 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12371 <elf/stackguard-macros.h>.
12374 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12375 __aligned__ in attribute.
12376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12377 (gregset_t): Likewise.
12379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12381 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12382 * sysdeps/x86_64/64/Implies-after: Here. New file.
12383 * sysdeps/x86_64/x32/Implies-after: New file.
12385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12387 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12388 and access return value for _dl_profile_fixup. Use R10_LP to
12391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12393 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12397 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12398 * sysdeps/x86_64/x32/sysdep.h: New file.
12400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12402 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12403 * sysdeps/x86_64/setjmp.S: Likewise.
12405 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12409 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12411 remove unused global constant.
12413 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12415 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12416 include of <not-cancel.h>.
12418 2012-05-15 Roland McGrath <roland@hack.frob.com>
12420 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12422 2012-05-15 Jeff Law <law@redhat.com>
12423 Andreas Jaeger <aj@suse.de>
12426 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12428 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12429 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12431 code changing __hst_map_handle.map.
12433 2012-05-15 Roland McGrath <roland@hack.frob.com>
12435 * configure.in (sysnames): Look for Implies-before and Implies-after
12437 * configure: Regenerated.
12439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12441 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12442 8-byte data alignment with LP_SIZE alignment.
12444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12446 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12451 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12455 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12456 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12463 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12464 (stackinfo_sub_sp): Likewise.
12466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12473 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12483 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12487 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12488 into R11_LP and load __x86_64_shared_cache_size_half into
12491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12496 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12505 powerpc32/power7/fpu/s_logb.c via #include.
12506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12507 powerpc32/power7/fpu/s_logbf.c via #include.
12508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12509 powerpc32/power7/fpu/s_logbl.c via #include.
12511 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12513 * README.libm: Remove file.
12515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12517 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12518 count for x32. Use R*_LP and omit operand-size suffix.
12520 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12522 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12523 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12524 * sysdeps/x86_64/x32/shlib-versions: New file.
12526 2012-05-14 Roland McGrath <roland@hack.frob.com>
12528 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12529 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12530 Use _dl_fatal_printf instead.
12532 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12534 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12535 set if not set by the user. Do not allow for being unset.
12536 * sysdeps/unix/sysv/linux/configure: Regenerated.
12538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12540 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12541 the `q' suffix from lea and replace .quad with ASM_ADDR.
12543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12546 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12548 (PTR_DEMANGLE): Likewise.
12550 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12552 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12554 (ASM_ADDR): Likewise.
12555 (RAX_LP): Likewise.
12556 (RBP_LP): Likewise.
12557 (RBX_LP): Likewise.
12558 (RCX_LP): Likewise.
12559 (RDI_LP): Likewise.
12560 (RSI_LP): Likewise.
12561 (RSP_LP): Likewise.
12564 (R10_LP): Likewise.
12565 (R10_LP): Likewise.
12566 (R11_LP): Likewise.
12567 (R12_LP): Likewise.
12568 (R13_LP): Likewise.
12569 (R14_LP): Likewise.
12570 (R15_LP): Likewise.
12572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12574 * sysdeps/x86_64/x32/dl-machine.h: New file.
12576 2012-05-14 Andreas Jaeger <aj@suse.de>
12578 * manual/Makefile (subdir): Remove export of subdir.
12579 (all): Remove target.
12580 (.PHONY): Remove all from list.
12581 (mkinstalldirs): Remove.
12582 (.PHONY): Remove installdirs from list.
12583 ($(inst_infodir)/libc.info): Use make-target-directory.
12584 (installdirs): Remove.
12585 (subdir_%): Remove.
12586 (glibc-targets): Remove.
12589 ($(objpfx)stubs ../po/manual.pot): Remove.
12590 ($(objpfx)stamp%): Remove.
12591 (make-target-directory): Remove.
12592 (subdir_install): Remove.
12593 (routines): Remove.
12600 * manual/.gitignore: Remove, it's not needed anymore.
12601 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12603 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12605 (texis): Renamed to $(objpfx)texis.
12606 (texis-path): New, contains path to generated files.
12607 (chapters.%): Use texis-path for complete path, add extra argument
12609 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12610 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12611 (summary,texi, stamp-summary): Use complete path of
12612 files. Generate files in build dir.
12613 (dir-add.texi): Build in build dir.
12614 (libm-err.texi,stamp-libm-err): Likewise.
12615 (version.texi, stamp-version): Likewise.
12616 (.%c.texi): Likewise.
12617 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12618 (mostlyclean): Remove target.
12619 (realclean): Remove target.
12620 (generated): Add new variable with contents from mostlyclean and
12621 realclean, remove entries duplicated in common-mostlyclean, add
12622 stamp-libm-err and stamp-version.
12623 (generated-dirs): Add libc directory.
12624 ($(inst_infodir)/libc.info): Install files from build dir.
12626 * manual/install.texi (Configuring and compiling): Adjust since
12627 the info files are not part of the tar ball anymore.
12629 2012-05-14 Andreas Jaeger <aj@suse.de>
12631 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12634 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12638 to 2.2.0 where earlier.
12639 * sysdeps/unix/sysv/linux/configure: Regenerated.
12640 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12641 Remove conditional code.
12642 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12643 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12644 Remove conditional code.
12645 [!__NR_lchown]: Likewise.
12646 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12647 [__NR_lchown]: Likewise.
12648 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12649 comment referencing __ASSUME_LCHOWN_SYSCALL.
12650 * sysdeps/unix/sysv/linux/i386/sigaction.c
12651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12653 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12654 Remove conditional code.
12655 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12656 (__protocol_available): Remove #if 0 code.
12657 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12659 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12660 * sysdeps/unix/sysv/linux/kernel-features.h
12661 (__ASSUME_GETCWD_SYSCALL): Don't define.
12662 (__ASSUME_REALTIME_SIGNALS): Likewise.
12663 (__ASSUME_PREAD_SYSCALL): Likewise.
12664 (__ASSUME_PWRITE_SYSCALL): Likewise.
12665 (__ASSUME_POLL_SYSCALL): Likewise.
12666 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12667 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12669 (__ASSUME_SIOCGIFNAME): Don't define.
12670 (__ASSUME_MSG_NOSIGNAL): Likewise.
12671 (__ASSUME_SENDFILE): Define unconditionally.
12672 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12673 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12675 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12676 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12677 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12678 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12679 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12680 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12681 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12683 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12695 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12701 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12706 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12707 Remove conditional code.
12708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12709 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12710 Remove conditional code.
12711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12712 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12713 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12714 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12715 Remove conditional code.
12716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12717 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12718 Remove conditional code.
12719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12720 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12721 Remove conditional code.
12722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12723 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12724 Remove conditional code.
12725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12726 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12727 Remove conditional code.
12728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12729 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12732 * sysdeps/unix/sysv/linux/sigaction.c
12733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12735 * sysdeps/unix/sysv/linux/sigpending.c
12736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12738 * sysdeps/unix/sysv/linux/sigprocmask.c
12739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12741 * sysdeps/unix/sysv/linux/sigsuspend.c
12742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12744 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12745 (__libc_missing_rt_sigs): Remove.
12746 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12747 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12748 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12749 Remove conditional code.
12750 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12754 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12755 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12758 2012-05-14 Andreas Jaeger <aj@suse.de>
12760 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12761 it's not used in glibc.
12762 (__coshm1): Likewise.
12763 (__acosh1p): Likewise.
12766 * manual/string.texi (Copying and Concatenation): Add missing
12767 variable in concat example.
12768 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12770 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12774 __builtin_clzl with __builtin_clzll.
12776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12779 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12782 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12784 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12785 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12786 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12787 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12789 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12791 * NEWS: Update ia64 info.
12793 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12795 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12798 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12800 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12801 * sysdeps/unix/syscalls.list (dup3): Likewise.
12802 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12803 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12805 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12807 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12808 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12810 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12812 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12814 (TLS_IE): Use mov/add instead of movq/addq to load thread
12816 (TLS_GD_PREFIX): New.
12819 2012-05-11 David S. Miller <davem@davemloft.net>
12821 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12822 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12823 (_FPU_SETCW): Likewise.
12825 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12827 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12828 is 32-byte aligned.
12830 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12833 * iconvdata/gb18030.c: Update tables.
12834 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12835 characters specially.
12836 (BODY for TO_LOOP): Add encoding of missing ranges.
12838 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12841 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12842 * sysdeps/mach/hurd/dup3.c: Likewise.
12843 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12844 * sysdeps/powerpc/memmove.c:: Likewise.
12846 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12849 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12851 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12853 * elf/elf.h (R_X86_64_RELATIVE64): New.
12854 (R_X86_64_NUM): Updated.
12855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12856 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12857 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12858 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12859 tst-quad1pie tst-quad2pie
12860 (modules-names): Add tst-quadmod1 tst-quadmod2.
12861 ($(objpfx)tst-quad1): New dependency.
12862 ($(objpfx)tst-quad2): Likewise.
12863 ($(objpfx)tst-quad1pie): Likewise.
12864 ($(objpfx)tst-quad2pie): Likewise.
12865 * sysdeps/x86_64/tst-quad1.c: New file.
12866 * sysdeps/x86_64/tst-quad1pie.c: New file.
12867 * sysdeps/x86_64/tst-quad2.c: Likewise.
12868 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12869 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12870 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12871 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12872 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12876 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12877 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12878 * streams/stropts.h (t_scalar_t): Define type.
12880 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12881 (_PATH_PRESERVE): Set to "/var/lib".
12882 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12884 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12887 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12888 if __dir_mkfile succeeded.
12890 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12891 checking for _hurd_dtablesize. Unlock it right after having
12892 finished _hurd_dtable allocation.
12894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12896 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12897 * sysdeps/mach/hurd/configure: Regenerated.
12898 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12899 special-casing to...
12900 * sysdeps/gnu/configure.in: ... this new file.
12901 * sysdeps/unix/sysv/linux/configure: Regenerated.
12902 * sysdeps/gnu/configure: New generated file.
12904 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12905 for Linux: use nsec instead of usec, as well as:
12906 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12907 members of type struct timespec.
12908 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12910 (struct stat64): Likewise.
12911 (_STATBUF_ST_NSEC): New macro.
12912 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12914 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12915 __strtoul_internal rather than strtoul.
12917 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12919 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12922 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12924 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12925 which preserves existing values.
12926 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12930 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12931 TIMEOUT values. Return EINVAL for NFDS values either negative or
12932 greater than FD_SETSIZE.
12934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12936 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12937 allocated, call __vm_protect to finish enabling the existing space, and
12938 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12939 allocate the remainder.
12941 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12943 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12944 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12948 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12949 sysdeps/mach/hurd/readlink.c.
12951 * posix/tst-sysconf.c (posix_options): Only use
12952 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12953 _POSIX_SYNCHRONIZED_IO when they are defined
12954 * sysdeps/mach/hurd/bits/posix_opt.h:
12955 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12956 (_XOPEN_REALTIME): Undefine macro.
12957 (_XOPEN_REALTIME_THREADS): Undefine macro.
12958 (_XOPEN_SHM): Undefine macro.
12959 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12963 (_POSIX_ASYNC_IO): Undefine macro.
12964 (_POSIX_PRIORITIZED_IO): Undefine macro.
12965 (_POSIX_SPIN_LOCKS): Define macro to -1.
12967 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12968 SA_NODEFER, SA_RESETHAND.
12969 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12970 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12975 * elf/Makefile (pldd-modules): Define unconditionally.
12977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12979 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12983 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12984 Return ENOENT when name is empty.
12985 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12989 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12991 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12995 Fix mlock in all cases except non-readable pages.
12996 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12997 instead of VM_PROT_ALL as parameter to __vm_wire function.
12999 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13000 (__mkdir): When path is `/', just fail with EEXIST.
13001 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13003 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13005 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13006 <sys/uio.h> (for writev).
13007 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13008 and <sys/param.h> (for MIN).
13010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13012 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13013 REQUESTED_TIME. Properly set the remaining time and return EINTR
13016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13018 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13019 Depend on against $(link-rpcuserlibs).
13021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13023 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13024 (__libc_stack_end): Do not use attribute_relro.
13025 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13026 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13027 to libthread-provided value.
13028 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13034 * bits/libc-lock.h (__libc_once_get): New macro.
13035 * sysdeps/mach/bits/libc-lock.h: Likewise.
13036 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13038 instead of using implementation details.
13040 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13041 * libio/freopen.c: Likewise.
13042 * libio/freopen64.c: Likewise.
13043 * misc/syslog.c: Likewise.
13044 * nscd/connections.c: Likewise.
13045 * nscd/netgroupcache.c: Likewise.
13046 * sysdeps/posix/getcwd.c: Likewise.
13048 2012-05-10 Roland McGrath <roland@hack.frob.com>
13050 * math/w_ilogbf.c: Add #include <limits.h>.
13052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13054 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13055 path instead of returning without unlocking.
13057 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13058 immediate-write ioctls.
13059 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13063 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13064 __builtin_frame_address instead of making assumptions about the
13065 location of the return address relative to DATA. Force early load of
13066 the return address.
13067 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13068 __builtin_frame_address.
13071 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13072 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13073 implement dup3 and do some further code clean-ups.
13074 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13075 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13079 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13081 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13082 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13083 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13084 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13085 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13088 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13089 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13090 when handler == SIG_ERR, not when handler != SIG_ERR.
13092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13094 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13095 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13098 accept4 for GNU Hurd.
13099 * include/sys/socket.h (__libc_accept4): New prototype.
13100 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13101 to implement __libc_accept4.
13102 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13104 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13106 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13107 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13108 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13109 signal-defines.sym.
13111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13113 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13117 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13118 assertion on O_CLOEXEC flag.
13119 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13120 * hurd/intern-fd.c: Likewise.
13121 * hurd/port2fd.c: Likewise.
13123 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13126 * bits/in.h (IPV6_PKTINFO): Define new macro.
13127 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13129 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13134 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13136 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13137 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13139 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13140 * math/libm-test.inc (logb_test) : Additional logb tests.
13142 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13143 Andreas Jaeger <aj@suse.de>
13145 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13146 * configure: Regenerated.
13147 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13148 * config.make.in (link-obsolete-rpc): New substituted variable.
13149 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13150 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13151 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13152 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13153 so that libc.a contains the symbols.
13154 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13155 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13156 * sunrpc/auth_none.c: Likewise.
13157 * sunrpc/auth_unix.c: Likewise.
13158 * sunrpc/authdes_prot.c: Likewise.
13159 * sunrpc/authuxprot.c: Likewise.
13160 * sunrpc/clnt_gen.c: Likewise.
13161 * sunrpc/clnt_perr.c: Likewise.
13162 * sunrpc/clnt_raw.c: Likewise.
13163 * sunrpc/clnt_simp.c: Likewise.
13164 * sunrpc/clnt_tcp.c: Likewise.
13165 * sunrpc/clnt_udp.c: Likewise.
13166 * sunrpc/clnt_unix.c: Likewise.
13167 * sunrpc/des_crypt.c: Likewise.
13168 * sunrpc/des_soft.c: Likewise.
13169 * sunrpc/get_myaddr.c: Likewise.
13170 * sunrpc/key_call.c: Likewise.
13171 * sunrpc/key_prot.c: Likewise.
13172 * sunrpc/netname.c: Likewise.
13173 * sunrpc/pm_getmaps.c: Likewise.
13174 * sunrpc/pm_getport.c: Likewise.
13175 * sunrpc/pmap_clnt.c: Likewise.
13176 * sunrpc/pmap_prot.c: Likewise.
13177 * sunrpc/pmap_prot2.c: Likewise.
13178 * sunrpc/pmap_rmt.c: Likewise.
13179 * sunrpc/publickey.c: Likewise.
13180 * sunrpc/rpc_cmsg.c: Likewise.
13181 * sunrpc/rpc_common.c: Likewise.
13182 * sunrpc/rpc_dtable.c: Likewise.
13183 * sunrpc/rpc_prot.c: Likewise.
13184 * sunrpc/rpc_thread.c: Likewise.
13185 * sunrpc/rtime.c: Likewise.
13186 * sunrpc/svc.c: Likewise.
13187 * sunrpc/svc_auth.c: Likewise.
13188 * sunrpc/svc_raw.c: Likewise.
13189 * sunrpc/svc_run.c: Likewise.
13190 * sunrpc/svc_tcp.c: Likewise.
13191 * sunrpc/svc_udp.c: Likewise.
13192 * sunrpc/svc_unix.c: Likewise.
13193 * sunrpc/svcauth_des.c: Likewise.
13194 * sunrpc/xcrypt.c: Likewise.
13195 * sunrpc/xdr.c: Likewise.
13196 * sunrpc/xdr_array.c: Likewise.
13197 * sunrpc/xdr_float.c: Likewise.
13198 * sunrpc/xdr_intXX_t.c: Likewise.
13199 * sunrpc/xdr_mem.c: Likewise.
13200 * sunrpc/xdr_rec.c: Likewise.
13201 * sunrpc/xdr_ref.c: Likewise.
13202 * sunrpc/xdr_sizeof.c: Likewise.
13203 * sunrpc/xdr_stdio.c: Likewise.
13205 2012-05-10 Roland McGrath <roland@hack.frob.com>
13207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13208 change. Update copyright years.
13210 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13212 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13214 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13215 Joseph Myers <joseph@codesourcery.com>
13216 Paul Pluzhnikov <ppluzhnikov@google.com>
13219 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13221 [cross-compiling] (extra-libs): Likewise.
13222 [cross-compiling] (extra-libs-others): Likewise.
13223 [cross-compiling] (librpcsvc-routines): Likewise.
13224 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13225 [cross-compiling] (omit-deps): Likewise.
13226 (sunrpc-CPPFLAGS): New variable.
13227 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13228 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13229 (cross-rpcgen-objs): New variable.
13230 (extra-objs): Append $(cross-rpcgen-objs).
13231 ($(cross-rpcgen-objs)): New rule.
13232 ($(objpfx)cross-rpcgen): Likewise.
13233 (rpcgen-cmd): Define to use $(built-program-file). Expand
13235 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13236 ($(objpfx)x%.stmp): Likewise.
13237 * sunrpc/proto.h [IS_IN_build] (_): Define.
13238 [IS_IN_build] (_libc_intl_domainname): Likewise.
13240 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13242 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13243 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13244 and R_X86_64_TPOFF64.
13246 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13248 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13249 sysdeps/unix/sysv/syscalls.list.
13252 * sysdeps/unix/sysv/syscalls.list: Remove file.
13254 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13257 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13258 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13259 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13260 (__LC_IDENTIFICATION): Make these macros useful in #if
13261 expressions, as required by C99.
13263 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13265 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13266 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13269 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13271 * stdlib/longlong.h: Updated from GCC.
13273 2012-05-09 Andreas Jaeger <aj@suse.de>
13275 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13276 default is first entry.
13277 (run_mode): Set type.
13278 (main): Remove informal message about syslog.
13279 (options): Fix typo.
13282 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13285 (llrintf): Likewise.
13286 (llrint): Likewise.
13289 (nearbyint): Likewise.
13290 (nearbyintf): Likewise.
13292 2012-05-09 Andreas Jaeger <aj@suse.de>
13293 Pedro Alves <palves@redhat.com>
13295 * nscd/nscd.c (run_mode): Use enum.
13296 (main): Cleanup coding style issue.
13298 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13299 Andreas Jaeger <aj@suse.de>
13301 * nscd/nscd.c (go_background): Replaced with...
13302 (run_mode): ... this.
13303 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13304 (options): Add -F --foreground.
13305 (main): Implement it.
13306 (parse_opt): Parse it.
13308 2012-05-09 Andreas Jaeger <aj@suse.de>
13311 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13312 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13313 -Wconversion warning.
13314 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13317 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13319 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13321 (LC_ALL): Use macro-int-constant.
13322 (LC_COLLATE): Likewise.
13323 (LC_CTYPE): Likewise.
13324 (LC_MESSAGES): Likewise.
13325 (LC_MONETARY): Likewise.
13326 (LC_NUMERIC): Likewise.
13327 (LC_TIME): Likewise.
13328 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13329 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13331 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13333 [C99-based standards] (float_t): Expect type.
13334 [C99-based standards] (double_t): Expect type.
13335 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13337 [C99-based standards] (HUGE_VALL): Likewise.
13338 [C99-based standards] (INFINITY): Likewise.
13339 [C99-based standards] (NAN): Likewise.
13340 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13341 [C99-based standards] (FP_NAN): Likewise.
13342 [C99-based standards] (FP_NORMAL): Likewise.
13343 [C99-based standards] (FP_SUBNORMAL): Likewise.
13344 [C99-based standards] (FP_ZERO): Likewise.
13345 [C99-based standards] (FP_FAST_FMA): Use
13346 optional-macro-int-constant. Specify type. Require == 1.
13347 [C99-based standards] (FP_FAST_FMAF): Likewise.
13348 [C99-based standards] (FP_FAST_FMAL): Likewise.
13349 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13350 [C99-based standards] (FP_ILOGBNAN): Likewise.
13351 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13353 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13354 [C99-based standards] (math_errhandling): Specify type.
13355 [ISO99 || ISO11] (signgam): Do not allow.
13356 [non-C99-based standards] (copysignf): Do not allow.
13357 [non-C99-based standards] (exp2f): Likewise.
13358 [non-C99-based standards] (log2f): Likewise.
13359 [non-C99-based standards] (modff): Allow.
13360 [non-C99-based standards] (erff): Do not allow.
13361 [non-C99-based standards] (erfcf): Likewise.
13362 [non-C99-based standards] (gammaf): Likewise.
13363 [non-C99-based standards] (hypotf): Likewise.
13364 [non-C99-based standards] (j0f): Likewise.
13365 [non-C99-based standards] (j1f): Likewise.
13366 [non-C99-based standards] (jnf): Likewise.
13367 [non-C99-based standards] (lgammaf): Likewise.
13368 [non-C99-based standards] (tgammaf): Likewise.
13369 [non-C99-based standards] (y0f): Likewise.
13370 [non-C99-based standards] (y1f): Likewise.
13371 [non-C99-based standards] (ynf): Likewise.
13372 [non-C99-based standards] (isnanf): Likewise.
13373 [non-C99-based standards] (acoshf): Likewise.
13374 [non-C99-based standards] (asinhf): Likewise.
13375 [non-C99-based standards] (atanhf): Likewise.
13376 [non-C99-based standards] (cbrtf): Likewise.
13377 [non-C99-based standards] (expm1f): Likewise.
13378 [non-C99-based standards] (ilogbf): Likewise.
13379 [non-C99-based standards] (log1pf): Likewise.
13380 [non-C99-based standards] (logbf): Likewise.
13381 [non-C99-based standards] (nextafterf): Likewise.
13382 [non-C99-based standards] (remainderf): Likewise.
13383 [non-C99-based standards] (rintf): Likewise.
13384 [non-C99-based standards] (scalbf): Likewise.
13385 [non-C99-based standards] (copysignl): Likewise.
13386 [non-C99-based standards] (exp2l): Likewise.
13387 [non-C99-based standards] (log2l): Likewise.
13388 [non-C99-based standards] (modfl): Allow.
13389 [non-C99-based standards] (erfl): Do not allow.
13390 [non-C99-based standards] (erfcl): Likewise.
13391 [non-C99-based standards] (gammal): Likewise.
13392 [non-C99-based standards] (hypotl): Likewise.
13393 [non-C99-based standards] (j0l): Likewise.
13394 [non-C99-based standards] (j1l): Likewise.
13395 [non-C99-based standards] (jnl): Likewise.
13396 [non-C99-based standards] (lgammal): Likewise.
13397 [non-C99-based standards] (tgammal): Likewise.
13398 [non-C99-based standards] (y0l): Likewise.
13399 [non-C99-based standards] (y1l): Likewise.
13400 [non-C99-based standards] (ynl): Likewise.
13401 [non-C99-based standards] (isnanl): Likewise.
13402 [non-C99-based standards] (acoshl): Likewise.
13403 [non-C99-based standards] (asinhl): Likewise.
13404 [non-C99-based standards] (atanhl): Likewise.
13405 [non-C99-based standards] (cbrtl): Likewise.
13406 [non-C99-based standards] (expm1l): Likewise.
13407 [non-C99-based standards] (ilogbl): Likewise.
13408 [non-C99-based standards] (log1pl): Likewise.
13409 [non-C99-based standards] (logbl): Likewise.
13410 [non-C99-based standards] (nextafterl): Likewise.
13411 [non-C99-based standards] (remainderl): Likewise.
13412 [non-C99-based standards] (rintl): Likewise.
13413 [non-C99-based standards] (scalbl): Likewise.
13414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13415 [non-C99-based standards] (FP_*): Do not allow.
13416 [C99-based standards] (FP_*): Change to
13417 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13418 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13420 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13421 (SIG_ERR): Likewise.
13422 [X/Open-based standards] (SIG_HOLD): Likewise.
13423 (SIG_IGN): Likewise.
13424 (SIGABRT): Use macro-int-constant. Specify type. Require
13426 (SIGFPE): Likewise.
13427 (SIGILL): Likewise.
13428 (SIGINT): Likewise.
13429 (SIGSEGV): Likewise.
13430 (SIGTER): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13449 [X/Open-based standards] (SIGTRAP): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13454 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13457 2012-05-08 Ian Wienand <ianw@vmware.com>
13460 * time/tzset.c (__tzset_parse_tz): Update default rules for
13461 daylight time changes in the Energy Policy Act of 2005.
13463 2012-05-09 Andreas Jaeger <aj@suse.de>
13466 * elf/ldconfig.c (parse_conf): Change string to make clear that
13467 ldconfig only issued a warning if ld.so.conf does not exist.
13469 2012-05-08 David S. Miller <davem@davemloft.net>
13471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13472 movxtod instead of popping the value on the stack.
13474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13476 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13478 * config.h.in: Add HAVE_ARM_PCS_VFP.
13480 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13483 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13484 checking but the checks are disabled for any reason.
13486 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13488 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13489 and ELF64_R_TYPE with ELFW(R_TYPE).
13491 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13493 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13494 (ulimit): Likewise.
13496 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13497 (settimeofday): Likewise.
13499 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13501 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13502 a struct th_u2 inside the union, and move tu_block/tu_code into
13503 a new th_u3 union of tu_block/tu_code inside of that. Move
13504 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13505 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13506 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13507 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13508 (th_stuff): Change to th_u1.tu_stuff.
13510 (th_msg): Change to th_u1.th_u2.tu_data.
13512 2012-05-07 David S. Miller <davem@davemloft.net>
13514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13517 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13518 (SETUP_PIC_REG): Use it.
13519 (SETUP_PIC_REG_LEAF): Use it.
13521 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13527 (EXPL_FINITE): Likewise.
13528 (FLDLOG): Likewise.
13529 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13530 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13534 (EXPL_FINITE): Likewise.
13535 (FLDLOG): Likewise.
13536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13537 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13539 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13540 test of -max_value argument for long double.
13541 * sysdeps/i386/fpu/libm-test-ulps: Update.
13542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544 2012-05-06 David S. Miller <davem@davemloft.net>
13546 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13547 quad soft-float symbols whose references which are compiler
13549 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13551 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13555 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13557 (EXPL_FINITE): Likewise.
13558 (FLDLOG): Likewise.
13561 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13562 Adjust comments for base varying.
13563 (__expl_finite): Change alias to EXPL_FINITE.
13564 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13566 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13567 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13569 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13572 (EXPL_FINITE): Likewise.
13573 (FLDLOG): Likewise.
13576 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13577 Adjust comments for base varying.
13578 (__expl_finite): Change alias to EXPL_FINITE.
13579 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13584 * math/libm-test.inc (check_float_internal): Correct ulp
13585 calculation for subnormal expected results.
13587 2012-05-06 Andreas Jaeger <aj@suse.de>
13589 * Makeconfig (+math-flags): New, set to -frounding-math.
13590 (+cflags): Add +math-flags so that all of glibc gets compiled with
13593 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13595 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13597 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13603 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13604 (__ieee754_expl): Allow for and saturate large arguments.
13605 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13606 (u_threshold): Likewise.
13607 (__exp): Call __ieee754_exp before checking for overflow and
13609 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13610 (u_threshold): Likewise.
13611 (__expf): Call __ieee754_expf before checking for overflow and
13613 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13614 (u_threshold): Likewise.
13615 (__expl): Call __ieee754_expl before checking for overflow and
13617 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13618 (__ieee754_expl): Allow for and saturate large arguments.
13619 * math/libm-test.inc (exp_test): Add another test. Do not allow
13620 missing overflow exception on overflow.
13621 (expm1_test): Do not allow missing overflow exception on overflow.
13623 * sysdeps/i386/fpu/e_expl.c: Move to ...
13624 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13625 rather than using inline asm.
13626 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13627 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13628 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13630 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13633 (signal): Likewise.
13637 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13639 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13640 sysdeps/unix/common/syscalls.list.
13641 (fchmod): Likewise.
13642 (fchown): Likewise.
13643 (ftruncate): Likewise.
13644 (getrusage): Likewise.
13645 (gettimeofday): Likewise.
13646 (setpgid): Likewise.
13647 (setregid): Likewise.
13648 (setreuid): Likewise.
13649 (sigaction): Likewise.
13650 (truncate): Likewise.
13651 (vhangup): Likewise.
13652 * sysdeps/unix/common/syscalls.list: Remove file.
13653 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13654 * sysdeps/unix/sysv/linux/Implies: Likewise.
13656 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13658 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13660 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13664 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13667 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13670 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13673 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13676 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13679 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13682 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13686 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13690 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13693 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13697 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13701 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13703 * sysdeps/unix/common/bits/dirent.h: Remove file.
13704 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13706 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13707 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13708 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13709 * sysdeps/unix/bsd/isatty.c: Likewise.
13710 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13711 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13712 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13714 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13718 long double comparison inaccuracies.
13719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13722 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13724 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13727 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13731 nonzero digits before rounding a hex value.
13732 * stdlib/tst-strtod.c (tests): Add another test.
13734 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13736 * sysdeps/s390/fpu/libm-test-ulps: Update.
13738 2012-05-03 Andreas Jaeger <aj@suse.de>
13740 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13741 does not get optimized out.
13742 (malloc_opt_barrier): New.
13744 2012-05-03 Andreas Jaeger <aj@suse.de>
13745 Roland McGrath <roland@hack.frob.com>
13747 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13748 intermediate file deletion.
13749 (generated): Add .symlist files.
13751 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13754 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13755 Redirect under this condition.
13756 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13757 [__USE_GNU] (__dprintf_chk): Not under this condition.
13758 [__USE_GNU] (__vdprintf_chk): Likewise.
13759 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13760 under this condition.
13761 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13762 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13763 [__USE_XOPEN2K8] (vdprintf): Likewise.
13764 [__USE_GNU] (__dprintf_chk): Not under this condition.
13765 [__USE_GNU] (__vdprintf_chk): Likewise.
13766 [__USE_GNU] (dprintf): Likewise.
13767 [__USE_GNU] (vdprintf): Likewise.
13769 2012-05-03 Roland McGrath <roland@hack.frob.com>
13771 * elf/Makefile (common-generated): Set this instead of generated for
13772 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13773 $(all-built-dso)-derived lists.
13775 2012-05-03 Andreas Jaeger <aj@suse.de>
13777 * sysdeps/i386/fpu/libm-test-ulps: Update.
13780 * FAQ.in: Likewise.
13781 * scripts/gen-FAQ.pl: Likewise.
13782 * manual/install.texi (Installation): Point to online location of
13784 * Makefile (files-for-dist): Remove FAQ.
13787 2012-05-02 Allan McRae <allan@archlinux.org>
13789 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13790 (LDFLAGS-reldepmod5.so): Likewise.
13791 (LDFLAGS-reldep6mod1.so): Likewise.
13792 (LDFLAGS-reldep6mod4.so): Likewise.
13793 (LDFLAGS-reldep8mod3.so): Likewise.
13794 (LDFLAGS-unload4mod1.so): Likewise.
13795 (LDFLAGS-unload4mod2.so): Likewise.
13796 (LDFLAGS-tst-initorder): Likewise.
13797 (LDFLAGS-tst-initordera2.so): Likewise.
13798 (LDFLAGS-tst-initordera3.so): Likewise.
13799 (LDFLAGS-tst-initordera4.so): Likewise.
13800 (LDFLAGS-tst-initorderb2.so): Likewise.
13801 (LDFLAGS-noload): Likewise.
13802 (LDFLAGS-next): Likewise.
13803 (LDFLAGS-order2mod1.so): Likewise.
13804 (LDFLAGS-order2mod2.so): Likewise.
13805 (LDFLAGS-tst-initorder2): Likewise.
13806 (LDFLAGS-tst-initorder2a.so): Likewise.
13807 (LDFLAGS-tst-initorder2b.so): Likewise.
13808 (LDFLAGS-tst-initorder2c.so): Likewise.
13809 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13811 2012-05-02 David S. Miller <davem@davemloft.net>
13813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13815 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13818 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13820 2012-05-02 Andreas Jaeger <aj@suse.de>
13822 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13823 since we manipulate rounding mode.
13824 (CPPFLAGS-test-idouble.c): Likewise.
13825 (CPPFLAGS-test-ifloat.c): Likewise.
13826 (CFLAGS-test-ldouble.c): Likewise.
13827 (CFLAGS-test-double.c): Likewise.
13828 (CFLAGS-test-float.c): Likewise.
13829 (CFLAGS-test-misc.c): Likewise.
13830 (CFLAGS-test-test-fenv.c): Likewise.
13832 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13837 comparisons to determine direction to adjust input.
13839 2012-05-01 Roland McGrath <roland@hack.frob.com>
13841 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13842 output to the target.
13844 * scripts/localplt.awk: New file.
13845 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13846 (check-localplt-CFLAGS): Variable removed.
13847 ($(all-built-dso:=.jmprel)): New static pattern rule.
13848 (generated): Add those targets.
13849 (localplt-built-dso): New variable.
13850 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13852 * elf/check-localplt.c: File removed.
13854 * scripts/check-execstack.awk: New file.
13855 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13856 (check-execstack-CFLAGS): Variable removed.
13857 ($(objpfx)check-execstack.h): Target removed.
13858 ($(objpfx)execstack-default): New target.
13859 (generated): Add that instead of check-execstack.h.
13860 ($(all-built-dso:=.phdr)): New static pattern rule.
13861 (generated): Add those targets.
13862 * elf/check-execstack.c: File removed.
13864 * scripts/check-textrel.awk: New file.
13865 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13866 (check-textrel-CFLAGS): Variable removed.
13867 (all-built-dso): Use := to define.o
13868 ($(all-built-dso:=.dyn)): New static pattern rule.
13869 (generated): Add those targets.
13870 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13871 * config.make.in (READELF): New substituted variable.
13872 * elf/check-textrel.c: File removed.
13874 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13876 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13878 * conform/data/ctype.h-data [C99-based standards] (isblank):
13880 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13881 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13883 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13884 Specify type. Require positive value.
13885 (EILSEQ): Likewise.
13886 (ERANGE): Likewise.
13887 [ISO || POSIX] (EILSEQ): Do not expect.
13888 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13889 Specify type. Require positive value.
13890 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13891 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13892 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13893 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13894 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13895 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13896 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13897 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13898 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13899 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13900 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13901 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13902 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13903 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13904 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13905 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13906 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13907 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13908 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13909 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13910 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13911 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13912 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13913 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13914 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13915 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13916 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13917 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13918 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13919 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13920 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13921 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13922 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13923 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13924 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13925 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13926 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13927 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13928 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13929 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13930 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13931 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13932 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13933 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13941 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13946 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13947 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13948 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13951 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13952 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13953 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13954 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13955 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13956 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13957 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13958 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13959 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13960 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13961 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13962 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13963 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13964 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13965 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13966 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13968 (FLT_ROUNDS): Expect as macro, not constant.
13969 (FLT_MANT_DIG): Use macro-int-constant.
13970 (DBL_MANT_DIG): Likewise.
13971 (LDBL_MANT_DIG): Likewise.
13972 (FLT_DIG): Likewise.
13973 (DBL_DIG): Likewise.
13974 (LDBL_DIG): Likewise.
13975 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13976 (DBL_MIN_EXP): Likewise.
13977 (LDBL_MIN_EXP): Likewise.
13978 (FLT_MAX_EXP): Use macro-int-constant.
13979 (DBL_MAX_EXP): Likewise.
13980 (LDBL_MAX_EXP): Likewise.
13981 (FLT_MAX_10_EXP): Likewise.
13982 (DBL_MAX_10_EXP): Likewise.
13983 (LDBL_MAX_10_EXP): Likewise.
13984 (FLT_MAX): Use macro-constant.
13985 (DBL_MAX): Likewise.
13986 (LDBL_MAX): Likewise.
13987 (FLT_EPSILON): Use macro-constant. Give upper bound.
13988 (DBL_EPSILON): Likewise.
13989 (LDBL_EPSILON): Likewise.
13990 (FLT_MIN): Likewise.
13991 (DBL_MIN): Likewise.
13992 (LDBL_MIN): Likewise.
13993 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13994 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13995 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13996 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13997 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13998 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13999 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14000 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14001 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14002 [ISO11] (FLT_TRUE_MIN): Likewise.
14003 [ISO11] (LDBL_TRUE_MIN): Likewise.
14004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14005 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14006 (SCHAR_MIN): Use macro-int-constant. Specify type.
14007 (SCHAR_MAX): Likewise.
14008 (UCHAR_MAX): Likewise.
14009 (CHAR_MIN): Likewise.
14010 (CHAR_MAX): Likewise.
14011 (MB_LEN_MAX): Use macro-int-constant.
14012 (SHRT_MIN): Use macro-int-constant. Specify type.
14013 (SHRT_MAX): Likewise.
14014 (USHRT_MAX): Likewise.
14015 (INT_MAX): Likewise.
14016 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14018 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14020 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14022 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14023 bound negative. Suffix upper bound with "L".
14024 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14026 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14028 [C99-based standards] (LLONG_MAX): Likewise.
14029 [C99-based standards] (ULLONG_MAX): Likewise.
14030 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14032 [ISO11] (max_align_t): Require type.
14033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14035 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14036 from $CFLAGS, without defining away __attribute__ calls.
14037 (checknamespace): Use $CFLAGS_namespace.
14039 * conform/conformtest.pl (@keywords): Only include C99 keywords
14040 for standards based on C99 or C11.
14042 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14044 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14047 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14048 usability of symbols in #if.
14050 * conform/conformtest.pl: If macro or constant types start
14051 "promoted:", expect the symbol to be of the following type
14052 promoted by the integer promotions.
14054 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14055 in one place. Also handle "macro-constant".
14057 * conform/conformtest.pl: Only accept expected macro values with
14058 "==". Parse all "macro" lines in one place.
14059 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14061 * conform/conformtest.pl: Handle braced types on "constant" lines
14062 instead of handling "typed-constant".
14063 * conform/data/signal.h-data: Use "constant" instead of
14066 * conform/conformtest.pl: Handle "optional-" at start of lines in
14067 one place rather than duplicating several cases. Handle each
14068 format of "macro" line with initial "optional-".
14070 * conform/conformtest.pl: Only accept expected constant or
14071 optional-constant values with "==". Parse all "constant" lines in
14072 one place. Parse all "optional-constant" lines in one place.
14073 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14074 * conform/data/fmtmsg.h-data: Likewise.
14075 * conform/data/netinet/in.h-data: Likewise.
14076 * conform/data/tar.h-data: Likewise.
14077 * conform/data/limits.h-data: Use "==" form on "constant" and
14078 "optional-constant" lines.
14080 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14081 Use -std=c99 for XOPEN2K.
14082 (@knownproblems): Remove.
14083 (newtoken): Don't check %isknown.
14085 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14086 Do not expect macro.
14087 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14088 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14089 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14090 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14091 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14092 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14093 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14094 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14095 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14096 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14097 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14098 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14099 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14100 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14101 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14102 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14103 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14104 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14105 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14106 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14107 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14111 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14112 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14113 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14114 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14115 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14116 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14117 [XPG3] (acosh): Likewise.
14118 [XPG3] (asinh): Likewise.
14119 [XPG3] (atanh): Likewise.
14120 [XPG3] (cbrt): Likewise.
14121 [XPG3] (expm1): Likewise.
14122 [XPG3] (ilogb): Likewise.
14123 [XPG3] (log1p): Likewise.
14124 [XPG3] (logb): Likewise.
14125 [XPG3] (nextafter): Likewise.
14126 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14127 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14128 [XPG3] (remainder): Likewise.
14129 [XPG3] (rint): Likewise.
14130 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14131 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14132 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14133 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14134 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14135 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14136 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14137 [UNIX98 || XOPEN2K] (scalb): Expect.
14138 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14139 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14140 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14141 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14142 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14144 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14145 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14146 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14147 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14148 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14149 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14150 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14151 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14153 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14154 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14155 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14156 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14157 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14158 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14159 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14160 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14161 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14162 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14163 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14164 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14165 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14166 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14167 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14168 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14169 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14170 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14171 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14172 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14173 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14174 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14175 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14176 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14177 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14178 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14179 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14180 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14181 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14182 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14183 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14184 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14225 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14226 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14236 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14276 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14277 _XOPEN_SOURCE_EXTENDED for XPG4.
14279 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14281 * Makeconfig (localtime): Remove variable.
14282 (inst_localtime-file): Likewise.
14284 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14305 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14309 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14310 comparisons to determine direction to adjust input.
14311 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14312 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14317 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14320 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14322 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14324 * math/libm-test.inc (nexttoward_test): Add more tests.
14326 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14330 in version GLIBC_2.1, not GLIBC_2.0.
14331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14334 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14339 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14340 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14341 * math/libm-test.inc (acos_test): Add more tests.
14342 (asin_test): Likewise.
14343 * sysdeps/i386/fpu/libm-test-ulps: Update.
14344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14349 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14350 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14351 * math/libm-test.inc (acos_test_tonearest): New function.
14352 (acos_test_towardzero): Likewise.
14353 (acos_test_downward): Likewise.
14354 (acos_test_upward): Likewise.
14355 (asin_test_tonearest): Likewise.
14356 (asin_test_towardzero): Likewise.
14357 (asin_test_downward): Likewise.
14358 (asin_test_upward): Likewise.
14359 (main): Call the new functions.
14360 * sysdeps/i386/fpu/libm-test-ulps: Update.
14361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14365 * math/e_exp10.c: Include <float.h>.
14366 (__ieee754_exp10): Handle underflow here rather than multiplying
14367 large negative argument by M_LN10.
14368 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14370 * math/e_exp10l.c: Include <float.h>.
14371 (__ieee754_exp10l): Handle underflow here rather than multiplying
14372 large negative argument by M_LN10l.
14373 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14374 spurious overflow exception on underflow.
14376 2012-04-29 Marek Polacek <polacek@redhat.com>
14378 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14379 (__fortify_function): New macro.
14380 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14381 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14382 __extern_always_inline.
14383 * libio/bits/stdio2.h: Likewise.
14384 * libio/bits/stdio.h: Likewise.
14385 * string/string.h: Likewise.
14386 * string/bits/string3.h: Likewise.
14387 * include/stdio.h: Likewise.
14388 * stdlib/bits/stdlib.h: Likewise.
14389 * stdlib/stdlib.h: Likewise.
14390 * rt/bits/mqueue2.h: Likewise.
14391 * rt/mqueue.h: Likewise.
14392 * posix/bits/unistd.h: Likewise.
14393 * posix/unistd.h: Likewise.
14394 * io/bits/poll2.h: Likewise.
14395 * io/bits/fcntl2.h: Likewise.
14396 * io/fcntl.h: Likewise.
14397 * io/sys/poll.h: Likewise.
14398 * misc/bits/syslog.h: Likewise.
14399 * misc/bits/syslog-ldbl.h: Likewise.
14400 * misc/sys/syslog.h: Likewise.
14401 * socket/bits/socket2.h: Likewise.
14402 * socket/sys/socket.h: Likewise.
14403 * debug/tst-chk1.c: Likewise.
14404 * wcsmbs/bits/wchar2.h: Likewise.
14405 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14406 * wcsmbs/wchar.h: Likewise.
14408 2012-04-29 Andreas Jaeger <aj@suse.de>
14410 * Makerules (tests): Remove enable-check-abi protection.
14411 (check-abi-warn): Remove.
14412 (check-abi-%): Remove check-abi-warn usage.
14414 * configure.in: Remove check-abi configure option.
14415 * configure: Regenerated.
14416 * config.make.in (enable-check-abi): Remove.
14418 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14421 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14422 double functions to double *_finite functions.
14425 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14426 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14428 * stdio-common/Makefile (tests): Add tst-sprintf3.
14429 * stdio-common/tst-sprintf3.c: New file.
14431 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14432 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14434 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14436 * conform/conformtest.pl: Remove duplicate typed-constant
14439 2012-04-28 David S. Miller <davem@davemloft.net>
14441 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14442 (check-abi-%): Remove AWK script prerequisite and explicit
14444 (check-abi): Rewrite to just diff the symlist with the abilist.
14445 (config-tls, config-abi-config): Delete, no longer used.
14446 (update-abi-%): Remove AWK script and explicit abilist directory.
14447 (update-abi): Rewrite to simply compare and conditionally copy the
14448 symlist and the sysdep abilist file. Remove update-abi-config
14450 * abilist/ld.abilist: Remove.
14451 * abilist/libBrokenLocale.abilist: Remove.
14452 * abilist/libanl.abilist: Remove.
14453 * abilist/libcrypt.abilist: Remove.
14454 * abilist/libdl.abilist: Remove.
14455 * abilist/librt.abilist: Remove.
14456 * abilist/libthread_db.abilist: Remove.
14457 * abilist/libutil.abilist: Remove.
14458 * scripts/extract-abilist.awk: Remove.
14459 * scripts/merge-abilist.awk: Remove.
14460 * sysdeps/generic/libcidn.abilist: New file.
14461 * sysdeps/generic/libnss_compat.abilist: New file.
14462 * sysdeps/generic/libnss_db.abilist: New file.
14463 * sysdeps/generic/libnss_dns.abilist: New file.
14464 * sysdeps/generic/libnss_files.abilist: New file.
14465 * sysdeps/generic/libnss_hesiod.abilist: New file.
14466 * sysdeps/generic/libnss_nis.abilist: New file.
14467 * sysdeps/generic/libnss_nisplus.abilist: New file.
14468 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14469 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14470 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14472 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14473 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14474 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14475 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14476 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14478 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14479 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14480 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14482 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14483 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14484 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14485 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14487 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14489 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14490 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14491 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14492 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14494 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14495 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14496 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14498 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14601 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14602 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14603 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14605 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14606 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14607 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14608 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14609 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14611 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14612 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14613 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14614 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14666 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14668 * conform/conformtest.pl: Fix typo in handling typed-constant from
14671 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14673 * README: Cut down references to pre-2.6 Linux kernels and
14674 Linuxthreads. Update lists of configurations in libc and ports
14675 and sort alphabetically. Say "or newer" with Linux kernel version
14678 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14680 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14683 * math/libm-test.inc (logb_test_downward): New test to expose
14684 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14687 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14690 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14692 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14693 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14695 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14697 * sysdeps/unix/i386/brk.S: Remove file.
14698 * sysdeps/unix/i386/dl-brk.S: Likewise.
14699 * sysdeps/unix/i386/pipe.S: Likewise.
14700 * sysdeps/unix/i386/sigreturn.S: Likewise.
14701 * sysdeps/unix/i386/syscall.S: Likewise.
14702 * sysdeps/unix/i386/vfork.S: Likewise.
14703 * sysdeps/unix/i386/wait.S: Likewise.
14705 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14706 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14708 * configure.in (arm*-none*): Do not allow without
14709 --enable-hacker-mode.
14710 (netbsd*): Remove case setting base_os.
14711 (386bsd*): Likewise.
14712 (freebsd*): Likewise.
14715 (sunos*): Likewise.
14716 (ultrix*): Likewise.
14717 (newsos*): Likewise.
14718 (dynix*): Likewise.
14724 (minix*): Likewise.
14725 (irix4*): Likewise.
14726 (irix6*): Likewise.
14727 (solaris[2-9]*): Likewise.
14729 * configure: Regenerated.
14731 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14735 overflow or cancellation in calculating denominator.
14736 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14738 down expression to avoid unexpected rounding in newer GCCs.
14739 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14741 2012-04-26 David S. Miller <davem@davemloft.net>
14743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14744 long-double compat symbols.
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14759 2012-04-25 David S. Miller <davem@davemloft.net>
14761 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14762 HWCAP_* values only after the memory barriers have been defined.
14763 (atomic_full_barrier): Define.
14764 (atomic_read_barrier): Define.
14765 (atomic_write_barrier): Define.
14767 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14769 * shlib-versions: Add libgcc_s version information.
14770 * sysdeps/generic/libgcc_s.h: Remove.
14771 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14773 * sysdeps/gnu/unwind-resume.c: Likewise.
14774 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14776 2012-04-25 David S. Miller <davem@davemloft.net>
14778 * sysdeps/unix/sparc/brk.S: Delete.
14779 * sysdeps/unix/sparc/dl-brk.S: Delete.
14780 * sysdeps/unix/sparc/pipe.S: Delete.
14781 * sysdeps/unix/sparc/sysdep.S: Delete.
14782 * sysdeps/unix/sparc/sysdep.h: Delete.
14783 * sysdeps/unix/sparc/vfork.S: Delete.
14784 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14785 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14787 ret_ERRVAL, r0, r1, MOVE): Define.
14788 (JUMPTARGET): Remove.
14789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14790 sysdeps/unix/sparc/sysdep.h
14791 (ENTRY, END): Remove.
14792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14794 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14796 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14797 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14800 * timezone/README: Update upstream location and email address for
14802 * timezone/zdump.c: Update from tzcode 2012b.
14803 * timezone/zic.c: Likewise.
14805 * configure.in (libc_cv_as_needed): Remove test.
14806 * configure: Regenerated.
14807 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14808 conditional definition.
14809 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14810 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14811 * config.make.in (have-as-needed): Remove variable.
14813 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14814 Paul Pluzhnikov <ppluzhnikov@google.com>
14816 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14819 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14821 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14822 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14823 * sysdeps/sh/strlen.S: Likewise.
14825 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14827 * sysdeps/unix/fork.S: Remove file.
14828 * sysdeps/unix/i386/fork.S: Likewise.
14829 * sysdeps/unix/sparc/fork.S: Likewise.
14831 * sysdeps/unix/system.c: Remove file.
14832 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14834 * sysdeps/unix/getegid.S: Remove file.
14835 * sysdeps/unix/geteuid.S: Likewise.
14837 2012-04-24 Roland McGrath <roland@hack.frob.com>
14839 * scripts/check-localplt.awk: New file.
14840 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14842 * scripts/data/localplt-generic.data: Add a comment.
14844 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14845 NODE when __dir_mkfile failed.
14846 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14847 Reported by Ludovic Courtès <ludo@gnu.org>.
14849 2012-04-24 Andreas Jaeger <aj@suse.de>
14851 * Makerules (common-clean): Also remove gen-as-const-headers
14854 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14856 * Makerules (native-compile): Do not change working directory for
14857 build. Use $(OUTPUT_OPTION) in command.
14858 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14860 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14863 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14864 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14865 * math/libm-test.inc (floor_test): Add more tests.
14866 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14868 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14870 * sysdeps/unix/getdents.c: Remove file.
14871 * sysdeps/unix/sysv/getdents.c: Likewise.
14872 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14874 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14875 sysdeps/unix/mman/syscalls.list.
14877 (mprotect): Likewise.
14879 (munmap): Likewise.
14880 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14881 * sysdeps/unix/mman/syscalls.list: Remove.
14882 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14884 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14885 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14886 * configure: Regenerated.
14887 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14888 $(libgcc_s_suffix).
14889 * config.make.in (libgcc_s_suffix): Remove variable.
14891 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14893 * sysdeps/unix/sysv/gethostname.c: Move to ...
14894 * sysdeps/posix/gethostname.c: ... here.
14896 * sysdeps/unix/execve.S: Remove file.
14898 * sysdeps/unix/_exit.S: Remove file.
14900 2012-04-23 Andreas Jaeger <aj@suse.de>
14903 * manual/Makefile: Remove make dist support, there's no
14904 need for a stand-alone documentation tar ball.
14905 (TEXI2DVI): Define always, it's not in Makeconfig.
14908 (edition): Removed.
14909 (glibc-doc-$(edition).tar): Removed
14913 (ETAGS): Remove, it's in Makeconfig.
14914 (move-if-change): Remove, it's in Makeconfig.
14916 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14919 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14920 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14921 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14922 (strtod_l, strtof_l, strtold_l): Remove __wur.
14923 It is not necessarily an error to ignore strtol's return value.
14924 One can reliably look at the stored endptr to decide whether
14925 the number had valid syntax.
14927 2012-04-21 Andreas Jaeger <aj@suse.de>
14930 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14932 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14934 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14935 * sysdeps/unix/sysv/Versions: Remove file.
14937 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14942 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14946 version from __vm86.
14948 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14950 * sysdeps/unix/common/lxstat.c: Remove file.
14951 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14953 * sysdeps/unix/sysv/Makefile: Remove file.
14955 * sysdeps/unix/sysv/direct.h: Remove file.
14957 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14958 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14959 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14960 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14961 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14962 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14963 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14965 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14967 * sysdeps/unix/xmknod.c: Remove file.
14968 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14970 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14972 * sysdeps/unix/sysv/i386/time.S: Remove file.
14974 * sysdeps/unix/fxstat.c: Remove file.
14975 * sysdeps/unix/xstat.c: Likewise.
14976 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14978 * sysdeps/unix/sysv/sigaction.c: Remove file.
14980 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14981 (sysdep_headers): Remove variable.
14982 [termio.h not in sysdep_headers] (generated): Likewise.
14983 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14984 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14985 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14986 * sysdeps/unix/sysv/tcflow.c: Likewise.
14987 * sysdeps/unix/sysv/tcflush.c: Likewise.
14988 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14989 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14990 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14991 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14992 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14994 * sysdeps/unix/siglist.c: Remove file.
14996 * sysdeps/unix/getppid.S: Remove file.
14998 * sysdeps/unix/mkdir.c: Remove file.
14999 * sysdeps/unix/rmdir.c: Likewise.
15001 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15003 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15005 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15006 errlist-compat value.
15008 2012-04-18 David S. Miller <davem@davemloft.net>
15010 * sysdeps/generic/memcopy.h (reg_char): Delete.
15011 * debug/strcat_chk.c: Use char, not reg_char.
15012 * debug/strcpy_chk.c: Likewise.
15013 * debug/strncat_chk.c: Likewise.
15014 * debug/strncpy_chk.c: Likewise.
15015 * string/memchr.c: Likewise.
15016 * string/memrchr.c: Likewise.
15017 * string/rawmemchr.c: Likewise.
15018 * string/strcat.c: Likewise.
15019 * string/strchr.c: Likewise.
15020 * string/strchrnul.c: Likewise.
15021 * string/strcmp.c: Likewise.
15022 * string/strcpy.c: Likewise.
15023 * string/strncat.c: Likewise.
15024 * string/strncmp.c: Likewise.
15025 * string/strncpy.c: Likewise.
15027 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15029 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15030 __builtin_memcopy is called when src and dest ranges are known to not
15033 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15036 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15037 fwd_align_merge macro call.
15038 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15039 bwd_align_merge macro call.
15040 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15042 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15044 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15045 bwd_align_merge macros.
15046 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15047 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15050 2012-04-18 David S. Miller <davem@davemloft.net>
15052 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15054 2012-04-18 Andreas Jaeger <aj@suse.de>
15057 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15058 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15059 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15061 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15062 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15063 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15065 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15066 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15067 Adjust for changed ldbl-128 files.
15069 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15070 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15073 2012-04-17 David S. Miller <davem@davemloft.net>
15075 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15077 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15079 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15080 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15081 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15082 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15083 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15084 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15086 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15090 * math/libm-test.inc: Add ilogb errno and exception tests.
15091 * math/w_ilogb.c: New file: ilogb wrapper.
15092 * math/w_ilogbf.c: New file: ilogbf wrapper.
15093 * math/w_ilogbl.c: New file: ilogbl wrapper.
15094 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15095 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15096 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15097 exception being thrown with 0.0 as argument.
15098 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15099 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15100 exception being thrown with 0.0 as argument.
15101 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15102 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15103 exception being thrown with 0.0 as argument.
15104 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15105 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15106 exception being thrown with 0.0 as argument.
15107 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15108 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15110 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15112 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15113 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15114 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15115 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15117 2012-04-17 Petr Baudis <pasky@ucw.cz>
15119 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15122 2012-04-16 Marek Polacek <polacek@redhat.com>
15124 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15126 2012-04-16 Marek Polacek <polacek@redhat.com>
15128 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15129 operands of fdivp instruction.
15131 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15133 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15134 * elf/tst-auditmod3b.c: Likewise.
15135 * elf/tst-auditmod4b.c: Likewise.
15136 * elf/tst-auditmod5b.c: Likewise.
15137 * elf/tst-auditmod6b.c: Likewise.
15138 * elf/tst-auditmod6c.c: Likewise.
15139 * elf/tst-auditmod7b.c: Likewise.
15140 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15141 * sysdeps/x86_64/preconfigure.in: Likewise.
15142 * sysdeps/x86_64/preconfigure: Regenerated.
15144 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15146 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15149 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15152 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15154 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15157 * locale/iso-639.def: Fix gl language name. Spotted by
15160 2012-04-12 Roland McGrath <roland@hack.frob.com>
15163 * libio/libio.h (__io_write_fn): Update comment.
15165 2012-04-12 Petr Baudis <pasky@ucw.cz>
15168 * stdio.texi (Hook Functions): The user provided writer function
15169 is not allowed to return -1.
15171 2012-04-11 David S. Miller <davem@davemloft.net>
15173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15175 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15177 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15178 Add a leading slash to rtkaio.
15180 2012-04-11 Jim Meyering <meyering@redhat.com>
15183 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15184 It is not necessarily an error to ignore fwrite's return
15185 value. One can reliably use ferror to test for errors after
15188 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15190 * bits/types.h (__snseconds_t): New type.
15191 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15193 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15195 (__SNSECONDS_T_TYPE): Likewise.
15196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15197 (__SNSECONDS_T_TYPE): Likewise.
15198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15199 (__SNSECONDS_T_TYPE): Likewise.
15201 2012-04-10 Andreas Jaeger <aj@suse.de>
15204 * manual/time.texi (Processor Time): Return type of times is
15205 elapsed real time since an arbitrary point in the past.
15206 (CPU Time): Move CLK_TCK from here...
15207 (Processor Time): ...to here. Correct description.
15208 * manual/conf.texi (Constants for Sysconf): Correct description of
15211 2012-04-10 David S. Miller <davem@davemloft.net>
15214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15215 where the is a gap between DT_REL(A) and DT_JMPREL.
15217 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15219 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15220 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15221 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15223 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15225 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15226 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15227 (dl_main): Handle --inhibit-cache.
15228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15230 * elf/dl-load.c (_dl_map_object): Use it.
15231 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15237 (__ieee754_powl): Saturate large exponents rather than testing for
15238 overflow of y*log2(x).
15239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15240 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15244 * math/s_ctan.c: Include <float.h>.
15245 (__ctan): Avoid internal overflow or cancellation in calculating
15247 * math/s_ctanf.c: Likewise.
15248 * math/s_ctanl.c: Likewise.
15249 * math/s_ctanh.c: Likewise.
15250 * math/s_ctanhf.c: Likewise.
15251 * math/s_ctanhl.c: Likewise.
15252 * math/libm-test.inc (ctan_test): Add more tests.
15253 (ctanh_test): Likewise.
15254 * sysdeps/i386/fpu/libm-test-ulps: Update.
15255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15257 2012-04-09 Andreas Jaeger <aj@suse.de>
15260 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15261 is an optional BSD extension.
15264 * manual/stdio.texi (Opening Streams): Document additional fopen
15267 2012-04-09 Roland McGrath <roland@hack.frob.com>
15269 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15270 %eax without telling the compiler.
15272 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15275 * manual/install.texi: Use sourceware.org.
15277 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15280 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15281 (__ieee754_pow): Generate overflow and underflow using huge*huge
15282 and tiny*tiny rather than just returning constant infinity or zero
15283 for large exponents.
15284 * math/libm-test.inc (pow_test): Require overflow exceptions for
15285 applicable cases of large exponents.
15288 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15289 (__ieee754_pow): Use iterative multiplication algorithm only for
15290 integer exponents with absolute value below 1024. Check for odd
15291 integer exponents when using algorithm for real exponents.
15292 * math/libm-test.inc (pow_test): Add more tests.
15293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15295 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15298 * math/libm-test.inc (exp_test): Do not allow overflow exception
15301 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15304 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15305 instead of __kernel_standard_f.
15307 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15309 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15310 * sysdeps/x86_64/memset_chk.S: Likewise.
15312 2012-04-08 Andreas Jaeger <aj@suse.de>
15315 * manual/startup.texi (Environment Access): Describe return value
15316 for putenv and setenv.
15319 * manual/filesys.texi (Directory Entries): Add description for
15323 * manual/filesys.texi (Directory Entries): Clarify that it's file
15324 system not operating system in the description of DT_UNKNOWN.
15327 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15329 2012-04-08 Stephen Compall <s11@member.fsf.org>
15332 * manual/llio.texi (Opening and Closing Files): Add cross
15333 reference to explain mode argument.
15335 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15337 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15338 * sysdeps/x86_64/memset_chk.S: Likewise.
15340 2012-04-07 David S. Miller <davem@davemloft.net>
15342 * elf/elf.h (R_SPARC_WDISP10): Define.
15343 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15345 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15346 R_SPARC_SIZE64 and R_SPARC_H34.
15348 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15351 conditions and remove no longer applicable assertion.
15353 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15355 * bits/byteswap.h: Include <features.h>.
15356 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15357 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15359 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15361 * bits/byteswap.h (__bswap_16): Removed.
15362 Include <bits/byteswap-16.h> to get __bswap_16.
15363 * sysdeps/i386/bits/byteswap.h: Likewise.
15364 * sysdeps/s390/bits/byteswap.h: Likewise.
15365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15366 * bits/byteswap-16.h: New file.
15367 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15368 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15369 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15370 * string/Makefile (headers): Add bits/byteswap-16.h.
15372 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15375 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15377 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15378 * nss/tst-nss-static.c: New.
15380 2012-04-06 Robert Millan <rmh@gnu.org>
15383 * manual/llio.texi (File Position Primitive): lseek
15384 refers to WHENCE when it really means OFFSET.
15386 2012-04-06 Andreas Jaeger <aj@suse.de>
15388 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15389 strncmp declarations.
15391 * abilist/libc.abilist: Add __poll and __ppoll.
15393 2012-04-05 David S. Miller <davem@davemloft.net>
15395 * scripts/check-local-headers.sh: Accept a host triplet in the
15396 path matched by the exclude regexp.
15398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15400 * sysdeps/powerpc/powerpc32/dl-machine.h
15401 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15402 * sysdeps/s390/s390-32/dl-machine.h
15403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15404 * sysdeps/sparc/sparc32/dl-machine.h
15405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15406 * sysdeps/sparc/sparc64/dl-machine.h
15407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15409 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15411 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15412 undefined symbol errors.
15414 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15417 2012-04-05 Michael Matz <matz@suse.de>
15420 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15422 2012-04-05 Andreas Jaeger <aj@suse.de>
15425 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15428 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15431 which ROUND is no valid rounding mode.
15433 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15437 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15439 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15441 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15442 an exception using FPU order intentionally.
15444 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15446 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15447 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15448 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15449 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15451 2012-04-05 Simon Josefsson <simon@josefsson.org>
15454 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15455 EINVAL when BUFLEN is too smal.
15457 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15460 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15461 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15463 2012-04-03 Andreas Jaeger <aj@suse.de>
15466 * manual/setjmp.texi (System V contexts): Fix sentence.
15469 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15470 New macro for this case.
15471 [!__GNUC__] (__bswap_64): New inline function for this case.
15472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15473 * bits/byteswap.h: Likewise.
15474 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15475 ull, guard with __GLIBC_HAVE_LONG_LONG.
15477 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15478 __GLIBC_HAVE_LONG_LONG.
15480 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15481 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15483 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15486 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15487 inptr and inend, rather than using last_ch.
15489 2012-04-02 David S. Miller <davem@davemloft.net>
15491 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15492 * stdio-common/printf-parse.h (read_int): Change return type to
15493 'int', return -1 on INT_MAX overflow.
15494 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15495 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15496 overflows INT_MAX. Check for overflow of in-format-string precision
15497 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15498 SIZE_MAX not INT_MAX for integer overflow test.
15499 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15500 skip the construct in the format string but do not record anything.
15501 * stdio-common/bug22.c: Adjust to test both width/prevision
15502 INT_MAX overflow as well as total length INT_MAX overflow. Check
15503 explicitly for proper errno values.
15505 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15507 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15509 * string/test-strcmp.c [! WIDE]: Likewise.
15510 * time/tst-mktime2.c: Likewise for INT_MAX.
15511 * string/test-string.h: #include <sys/param.h> for MIN.
15513 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15514 * sysdeps/i386/init-first.c (init): Likewise.
15515 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15516 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15517 * sysdeps/sh/init-first.c (init): Likewise.
15519 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15521 * po/ru.po: Update from translation team.
15522 * po/vi.po: Likewise.
15524 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15526 * resolv/nss_dns/dns-host.c: Merge copyright years.
15528 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15531 Optimize memcpy with prefetch if
15532 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15533 src, dst pointers have unequal 16 byte alignments.
15535 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15538 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15539 from a CNAME entry and return the minimum ttl for the query.
15540 (gaih_getanswer_slice): Likewise.
15542 2012-03-30 Jeff Law <law@redhat.com>
15544 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15546 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15547 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15549 * resolv/nss_dns/dns-host.c: Update copyright year.
15551 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15553 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15554 requests to save a system call. Fix check that all bytes are sent.
15556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15557 comments for sendmmsg.
15559 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15562 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15563 with only 1 character between 0x0041 and 0x01b0.
15564 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15565 * wcsmbs/tst-mbsnrtowcs.c: New file.
15567 2012-03-29 David S. Miller <davem@davemloft.net>
15569 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15570 small copies by hand.
15572 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15575 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15576 _nss_compat_initgroups_dyn): Fall back to malloc/free
15577 for large group memberships.
15579 2012-03-28 David S. Miller <davem@davemloft.net>
15581 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15582 that branches into memcpy.
15583 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15586 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15589 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15590 implementation too.
15591 * sysdeps/sparc/mempcpy.S: New file.
15593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15594 the IFUNC routine in the libc case.
15595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15597 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15599 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15600 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15601 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15602 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15603 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15604 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15606 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15607 loop to 256 bytes instead of 64 bytes and fix test signedness.
15609 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15610 * sysdeps/sparc/sparc32/Makefile: rather than here...
15611 * sysdeps/sparc/sparc64/Makefile: and here.
15613 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15615 * malloc/mallocbug.c: Avoid warnings about unused variables.
15617 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15620 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15621 in the right place. Discard and retry query if response is
15622 larger than input buffer size.
15624 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15630 x for large integer exponent.
15631 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15632 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15633 sign of result as needed afterwards.
15634 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15635 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15636 result for underflowing pow the same as for overflow.
15637 (__kernel_standard_l): Handle powl overflow and underflow here
15638 rather than calling __kernel_standard.
15639 * math/libm-test.inc (pow_test): Add more tests.
15654 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15655 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15656 (__kernel_standard_l): New function.
15657 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15659 * math/w_acosl.c (__acosl): Likewise.
15660 * math/w_asinl.c (__asinl): Likewise.
15661 * math/w_atan2l.c (__atan2l): Likewise.
15662 * math/w_atanhl.c (__atanhl): Likewise.
15663 * math/w_coshl.c (__coshl): Likewise.
15664 * math/w_exp10l.c (__exp10l): Likewise.
15665 * math/w_exp2l.c (__exp2l): Likewise.
15666 * math/w_fmodl.c (__fmodl): Likewise.
15667 * math/w_hypotl.c (__hypotl): Likewise.
15668 * math/w_j0l.c (__j0l, __y0l): Likewise.
15669 * math/w_j1l.c (__j1l, __y1l): Likewise.
15670 * math/w_jnl.c (__jnl, __ynl): Likewise.
15671 * math/w_lgammal.c (__lgammal): Likewise.
15672 * math/w_log10l.c (__log10l): Likewise.
15673 * math/w_log2l.c (__log2l): Likewise.
15674 * math/w_logl.c (__logl): Likewise.
15675 * math/w_powl.c (__powl): Likewise.
15676 * math/w_remainderl.c (__remainderl): Likewise.
15677 * math/w_scalbl.c (sysv_scalbl): Likewise.
15678 * math/w_sinhl.c (__sinhl): Likewise.
15679 * math/w_sqrtl.c (__sqrtl): Likewise.
15680 * math/w_tgammal.c (__tgammal): Likewise.
15681 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15682 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15683 * math/libm-test.inc (acos_test): Add more tests.
15684 (acosh_test): Likewise.
15685 (asin_test): Likewise.
15686 (atanh_test): Likewise.
15687 (exp_test): Likewise.
15688 (exp10_test): Likewise.
15689 (exp2_test): Likewise.
15690 (expm1_test): Likewise.
15691 (lgamma_test): Likewise.
15692 (log_test): Likewise.
15693 (log10_test): Likewise.
15694 (log1p_test): Likewise.
15695 (log2_test): Likewise.
15696 (pow_test): Do not allow some spurious overflow exceptions.
15697 (sqrt_test): Add more tests.
15698 (tgamma_test): Likewise.
15699 (y0_test): Likewise.
15700 (y1_test): Likewise.
15701 (yn_test): Likewise.
15703 2012-03-27 Anton Blanchard <anton@samba.org>
15705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15711 2012-03-27 David S. Miller <davem@davemloft.net>
15713 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15715 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15716 have-as-vis3 check.
15718 2012-03-27 Andreas Jaeger <aj@suse.de>
15720 * sysdeps/x86_64/elf/configure.in: Moved to ...
15721 * sysdeps/x86_64/configure.in: ... here.
15722 * sysdeps/x86_64/elf/start.S: Moved to ...
15723 * sysdeps/x86_64/start.S: ... here.
15724 * sysdeps/x86_64/elf/configure: Delete.
15726 * sysdeps/x86_64/configure.in: Merge contents from
15727 sysdeps/i386/configure.in (without i686 check).
15729 * sysdeps/i386/elf/Versions: Merge into ...
15730 * sysdeps/i386/Versions: ... this.
15731 * sysdeps/i386/elf/Versions: Delete file.
15732 * sysdeps/i386/elf/start.S: Moved to ...
15733 * sysdeps/i386/start.S: ...here.
15734 * sysdeps/i386/elf/configure.in: Merge into...
15735 * sysdeps/i386/configure.in: ...here.
15736 * sysdeps/i386/elf/configure.in: Delete file.
15737 * sysdeps/i386/elf/configure: Delete file.
15739 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15740 * debug/backtracesyms.c: ... here.
15741 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15742 * debug/backtracesymsfd.c: ... here.
15743 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15744 * sysdeps/generic/ifunc-sel.h: ... here.
15746 * sysdeps/unix/i386/start.c: Delete file.
15747 * sysdeps/unix/sparc/start.c: Delete file.
15748 * sysdeps/unix/start.c: Delete file.
15750 * sysdeps/sh/elf/configure.in: Moved to ...
15751 * sysdeps/sh/configure.in: ... here.
15752 * sysdeps/sh/elf/start.S: Moved to ...
15753 * sysdeps/sh/start.S: ... here.
15754 * sysdeps/sh/elf/configure: Delete file.
15756 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15757 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15758 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15759 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15760 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15761 * sysdeps/powerpc/powerpc64/start.S: here.
15762 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15763 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15764 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15765 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15766 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15768 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15769 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15770 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15771 * sysdeps/powerpc/powerpc32/start.S: ... here.
15772 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15773 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15774 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15776 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15777 * sysdeps/powerpc/ifunc-sel.h: ... here.
15778 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15779 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15781 * sysdeps/sparc/elf/configure.in: Moved to ...
15782 * sysdeps/sparc/configure.in: ... here.
15783 * sysdeps/sparc/elf/configure: Delete file.
15784 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15785 * sysdeps/sparc/sparc32/start.S: ... here.
15786 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15787 * sysdeps/sparc/sparc64/start.S: ... here.
15788 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15789 * sysdeps/sparc/sparc32/Makefile: ... this.
15790 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15791 * sysdeps/sparc/sparc64/Makefile: ... this.
15793 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15794 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15795 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15796 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15797 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15798 * sysdeps/s390/s390-32/setjmp.S: ... here.
15799 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15800 * sysdeps/s390/s390-32/configure.in: ... here.
15801 * sysdeps/s390/s390-32/elf/configure: Delete file.
15802 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15803 * sysdeps/s390/s390-32/start.S: ... here.
15805 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15806 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15807 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15808 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15809 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15810 * sysdeps/s390/s390-64/setjmp.S: ... here.
15811 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15812 * sysdeps/s390/s390-64/configure.in: ... here
15813 * sysdeps/s390/s390-64/elf/configure: Delete file.
15814 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15815 * sysdeps/s390/s390-64/start.S: ... here.
15816 * sysdeps/s390/s390-64/elf/configure: Delete.
15818 * configure.in: Remove support for elf directories in sysdeps.
15820 * configure: Regenerated.
15821 * sysdeps/i386/configure: Regenerated.
15822 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15823 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15824 * sysdeps/s390/s390-32/configure: Regenerated.
15825 * sysdeps/s390/s390-64/configure: Regenerated.
15826 * sysdeps/sh/configure: Regenerated.
15827 * sysdeps/sparc/configure: Regenerated.
15828 * sysdeps/x86_64/configure: Regenerated.
15830 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15835 denormal result into account.
15837 2012-03-25 Roland McGrath <roland@hack.frob.com>
15839 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15840 Reported by Allan McRae <allan@archlinux.org>.
15842 2012-03-23 Jeff Law <law@redhat.com>
15844 * nss/getnssent.c (__nss_getent): Fix typo.
15846 2012-03-23 David S. Miller <davem@davemloft.net>
15848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15852 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15853 to pad to uint64_t for each field.
15854 (dl_tls_index): Replace unsigned long with uint64_t.
15856 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15857 Paul Pluzhnikov <ppluzhnikov@google.com>
15860 * grp/Makefile (otherlibs): Don't set it.
15861 * inet/Makefile (otherlibs): Likewise.
15862 * login/Makefile (otherlibs): Likewise.
15863 * nscd/Makefile (otherlibs): Likewise.
15864 * posix/Makefile (otherlibs): Likewise.
15865 * pwd/Makefile (otherlibs): Likewise.
15866 * rt/Makefile (otherlibs): Likewise.
15867 * sunrpc/Makefile (otherlibs): Likewise.
15868 * nss/Makefile (otherlibs): Likewise.
15869 Add libnss_files to routines and static-only-routines.
15870 ($(objpfx)getent): Remove rule.
15871 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15872 static-only-routines.
15874 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15877 * math/s_cexp.c: Include <float.h>.
15878 (__cexp): Handle exp result overflowing not necessarily
15879 overflowing both real and imaginary parts of result.
15880 * math/s_cexpf.c: Likewise.
15881 * math/s_cexpl.c: Likewise.
15882 * math/libm-test.inc (cexp_test): Add more tests.
15883 * sysdeps/i386/fpu/libm-test-ulps: Update.
15884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15886 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15888 * include/link.h (ELFW): New macro.
15889 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15890 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15892 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15894 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15897 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15899 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15901 (struct La_x32_retval): Likewise.
15903 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15905 * sysdeps/x86_64/preconfigure.in: New file.
15906 * sysdeps/x86_64/preconfigure: New generated file.
15908 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15911 * math/e_exp2l.c: Include <float.h>.
15912 (__ieee754_exp2l): Handle overflow and underflow cases
15913 separately. Only pass fractional part of argument to
15915 * math/libm-test.inc (exp2_test): Add more tests.
15917 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15918 negating x to take absolute value.
15919 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15924 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15925 computing low part if x was negated.
15926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15930 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15931 la_x32_gnu_pltexit.
15932 (pltexit): Cast int_retval to ptrdiff_t.
15933 * elf/tst-auditmod3b.c: Likewise.
15934 * elf/tst-auditmod4b.c: Likewise.
15935 * elf/tst-auditmod5b.c: Likewise.
15936 * elf/tst-auditmod6b.c: Likewise.
15937 * elf/tst-auditmod6c.c: Likewise.
15938 * elf/tst-auditmod7b.c: Likewise.
15940 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15941 and x32_gnu_pltexit.
15943 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15944 __ELF_NATIVE_CLASS.
15945 (La_x32_regs): New macro.
15946 (La_x32_retval): Likewise.
15947 (la_x32_gnu_pltenter): New function prototype.
15948 (la_x32_gnu_pltexit): Likewise.
15950 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15957 * configure.in (libc_cv_cc_nofma): Check for option to disable
15958 generation of FMA instructions.
15959 * configure: Regenerate.
15960 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15961 * sysdeps/ieee754/dbl-64/Makefile: New file.
15962 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15963 Remove brandred-fma4.
15964 (CFLAGS-brandred-fma4.c): Remove.
15965 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15971 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15973 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15974 LLONG_MAX != LONG_MAX.
15975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15976 (_fitoa_word): Likewise.
15977 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15978 LLONG_MAX != LONG_MAX.
15979 * stdio-common/_itowa.h: Include <_itoa.h>.
15980 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15981 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15982 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15983 only if not defined.
15984 (_ITOA_WORD_TYPE): Likewise.
15985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15986 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15988 2012-03-21 David S. Miller <davem@davemloft.net>
15990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15992 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15994 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15995 of x86_64 when setting libc_cv_slibdir, libdir and
15997 * sysdeps/unix/sysv/linux/configure: Regenerated.
15999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16001 * manual/lang.texi (Old Varargs): Remove section.
16002 (How Variadic): Update menu.
16003 (va_start): Do not mention varargs.h.
16005 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16006 Joseph Myers <joseph@codesourcery.com>
16008 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16010 * configure: Regenerated.
16012 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16014 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16015 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16018 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16021 * Makefile (files-for-dist): Remove NOTES.
16022 (NOTES): Remove rule.
16023 * README: Don't refer to NOTES.
16024 * manual/creature.texi: Don't include macros.texi.
16025 * manual/intro.texi (creature.texi): Remove comment referring to
16028 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16029 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16030 * configure: Regenerated.
16031 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16032 LIBC_TRY_CC_OPTION.
16033 (libc_cv_as_i686): Likewise.
16034 (libc_cv_cc_avx): Likewise.
16035 (libc_cv_cc_sse2avx): Likewise.
16036 (libc_cv_cc_fma4): Likewise.
16037 (libc_cv_cc_novzeroupper): Likewise.
16038 * sysdeps/i386/configure: Regenerated.
16041 * sysdeps/i386/fpu/s_cexp.S: Remove.
16042 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16043 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16044 * math/libm-test.inc (cexp_test): Add more tests.
16045 * sysdeps/i386/fpu/libm-test-ulps: Update.
16046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16048 2012-03-21 Allan McRae <allan@archlinux.org>
16050 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16052 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16055 * math/w_exp2.c: Do not include <float.h>.
16056 (o_threshold, u_threshold): Remove.
16057 (__exp2): Calculate result before checking finiteness and calling
16059 * math/w_exp2f.c: Likewise.
16060 * math/w_exp2l.c: Likewise.
16061 * math/libm-test.inc (exp2_test): Require overflow exception for
16065 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16066 range of signed 64-bit integers before using fistpll. Remove
16067 checks for whether integers fit in mantissa bits.
16068 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16069 the range of signed 32-bit integers before using fistpl. Remove
16070 checks for whether integers fit in mantissa bits.
16071 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16072 (__ieee754_powl): Test for y outside the range of signed 64-bit
16073 integers before using fistpll. Reduce 64-bit values to 63-bit
16075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16076 divide-by-zero is raised for zero to large negative powers.
16077 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16078 (__ieee754_powl): Test for y outside the range of signed 64-bit
16079 integers before using fistpll. Reduce 64-bit values to 63-bit
16081 * math/libm-test.inc (pow_test): Add more tests.
16083 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16085 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16086 <stdio-common/_itoa.h>.
16087 * debug/segfault.c: Likewise.
16088 * elf/dl-cache.c: Likewise.
16089 * elf/dl-minimal.c: Likewise.
16090 * elf/dl-misc.c: Likewise.
16091 * elf/dl-sysdep.c: Likewise.
16092 * elf/dl-version.c: Likewise.
16093 * elf/rtld.c: Likewise.
16094 * hurd/hurdsock.c: Likewise.
16095 * hurd/lookup-retry.c: Likewise.
16096 * malloc/malloc.c: Likewise.
16097 * malloc/mtrace.c: Likewise.
16098 * nscd/nscd_getgr_r.c: Likewise.
16099 * nscd/nscd_getpw_r.c: Likewise.
16100 * nscd/nscd_getserv_r.c: Likewise.
16101 * posix/getopt_init.c: Likewise.
16102 * posix/wordexp.c: Likewise.
16103 * stdio-common/_itoa.c: Likewise.
16104 * stdio-common/printf_fphex.c: Likewise.
16105 * stdio-common/vfprintf.c: Likewise.
16106 * string/_strerror.c: Likewise.
16107 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16108 * sysdeps/i386/i686/hp-timing.h: Likewise.
16109 * sysdeps/mach/_strerror.c: Likewise.
16110 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16111 * sysdeps/mach/hurd/sethostid.c: Likewise.
16112 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16113 * sysdeps/mach/xpg-strerror.c: Likewise.
16114 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16116 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16117 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16118 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16119 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16121 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16122 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16123 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16124 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16125 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16127 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16129 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16130 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16131 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16134 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16136 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16138 * stdio-common/_itoa.h: Moved to ...
16139 * sysdeps/generic/_itoa.h: Here.
16141 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16143 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16144 instead of "_itoa.h" and "_itowa.h".
16145 * stdio-common/vfprintf.: Likewise.
16147 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16149 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16151 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16152 (__signbit): Likwise.
16153 (llrintf): Likwise.
16156 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16158 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16161 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16163 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16164 OVERFLOW_EXCEPTION_OK.
16165 * math/libm-test.inc ("Philosophy"): Update comment about
16167 (OVERFLOW_EXCEPTION): Define.
16168 (OVERFLOW_EXCEPTION_OK): Likewise.
16169 (INVALID_EXCEPTION_OK): Renumber.
16170 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16171 (IGNORE_ZERO_INF_SIGN): Likewise.
16172 (test_exceptions): Handle FE_OVERFLOW.
16173 (exp10_test): Expect overflow exceptions.
16174 (exp2_test): Likewise.
16175 (expm1_test): Likewise.
16176 (nextafter_test): Likewise.
16177 (pow_test): Likewise.
16178 (scalbn_test): Likewise.
16179 (scalbln_test): Likewise.
16181 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16183 * sysdeps/x86_64/bits/atomic.h
16184 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16186 (atomic_exchange_acq): Likewise.
16187 (__arch_exchange_and_add_body): Likewise.
16188 (__arch_add_body): Likewise.
16189 (atomic_add_negative): Likewise.
16190 (atomic_add_zero): Likewise.
16192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16194 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16195 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16197 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16199 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16200 Check __x86_64__ instead of __WORDSIZE.
16202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16204 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16206 2012-03-19 David S. Miller <davem@davemloft.net>
16208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16210 * sysdeps/sparc/fpu/fenv_private.h: New file.
16211 * sysdeps/sparc/fpu/math_private.h: Use it.
16212 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16214 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16215 (libc_feholdexcept_setroundl): Remove.
16216 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16218 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16219 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16223 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16224 int64_t instead of long int.
16225 (INSERT_WORDS64): Likwise.
16227 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16229 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16230 _Unwind_GetCFA return to _Unwind_Ptr first.
16232 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16235 * math/s_clog.c: Include <float.h>.
16236 (__clog): Scale large or subnormal inputs.
16237 * math/s_clogf.c: Likewise.
16238 * math/s_clogl.c: Likewise.
16239 * math/s_clog10.c: Include <float.h>.
16240 (M_LOG10_2): Define.
16241 (__clog10): Scale large or subnormal inputs.
16242 * math/s_clog10f.c: Likewise.
16243 * math/s_clog10l.c: Likewise.
16244 * math/libm-test.inc (clog_test): Add more tests.
16245 (clog10_test): Likewise.
16246 * sysdeps/i386/fpu/libm-test-ulps: Update.
16247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16250 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16252 * math/libm-test.inc (atan2_test): Add another test.
16254 * Makerules (common-objdir-compile): Remove.
16255 * sysdeps/unix/Makefile (config-generated): Do not add
16256 $(unix-generated) to variable.
16257 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16258 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16260 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16262 [generic bits/local_lim.h] (before-compile): Do not append to
16264 [generic bits/local_lim.h] (common-generated): Likewise.
16265 [generic sys/param.h] (before-compile): Do not append to variable.
16266 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16267 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16268 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16271 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16272 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16273 [generic sys/param.h] ($(addprefix
16274 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16275 [generic sys/param.h] (common-generated): Do not append to
16277 [generic sys/param.h] (sysdep_headers): Likewise.
16278 [generic bits/errno.h] (before-compile): Do not append to
16280 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16282 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16283 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16284 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16285 [generic bits/errno.h] (common-generated): Do not append to
16287 [generic bits/ioctls.h] (before-compile): Do not append to
16289 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16291 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16292 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16293 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16296 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16297 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16298 [generic bits/ioctls.h] (common-generated): Do not append to
16300 [generic sys/syscall.h] (syscall.h): Remove variable.
16301 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16303 [generic sys/syscall.h] (before-compile): Do not append to
16305 [generic sys/syscall.h] (common-generated): Likewise.
16306 * sysdeps/unix/errnos-tmpl.c: Remove file.
16307 * sysdeps/unix/errnos.awk: Likewise.
16308 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16309 * sysdeps/unix/ioctls.awk: Likewise.
16310 * sysdeps/unix/mk-local_lim.c: Likewise.
16311 * sysdeps/unix/snarf-ioctls: Likewise.
16313 2012-03-19 Richard Henderson <rth@twiddle.net>
16315 * sysdeps/i386/fpu/fenv_private.h: New file.
16316 * sysdeps/i386/fpu/math_private.h: Use it.
16317 (math_opt_barrier, math_force_eval): Remove.
16318 (libc_feholdexcept_setround_53bit): Remove.
16319 (libc_feupdateenv_53bit): Remove.
16320 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16321 (math_opt_barrier, math_force_eval): Remove.
16322 (libc_feholdexcept): Remove.
16323 (libc_feholdexcept_setround): Remove.
16324 (libc_fetestexcept, libc_fesetenv): Remove.
16325 (libc_feupdateenv_test): Remove.
16326 (libc_feupdateenv, libc_feholdsetround): Remove.
16327 (libc_feresetround): Remove.
16329 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16330 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16332 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16333 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16334 (libc_feupdateenv_testl): New.
16335 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16336 (libc_feupdateenv_testf): New.
16337 (libc_feupdateenv): Use libc_feupdateenv_test.
16338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16341 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16342 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16343 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16344 (libc_feresetround_noex): New.
16345 (libc_feresetround_noexf): New.
16346 (libc_feresetround_noexl): New.
16347 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16348 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16349 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16350 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16353 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16355 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16357 SET_RESTORE_ROUND_NOEX.
16358 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16359 SET_RESTORE_ROUND_NOEXF.
16360 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16361 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16362 (libc_feholdsetroundf): New.
16363 (libc_feresetround, libc_feresetroundf): New.
16365 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16366 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16367 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16369 * sysdeps/generic/math_private.h: Include <fenv.h>.
16370 (default_libc_feholdexcept): New.
16371 (default_libc_feholdexcept_setround): New.
16372 (default_libc_fesetenv, default_libc_feupdateenv): New.
16373 (libc_feholdexcept): Only define if undefined.
16374 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16375 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16376 (libc_feholdexcept_setroundl): Likewise.
16377 (libc_feholdexcept_setround_53bit): Likewise.
16378 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16379 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16380 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16381 (libc_feupdateenv_53bit): Likewise.
16382 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16383 (libc_feholdexcept): Convert from macro to inline function.
16384 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16385 (libc_fesetenv, libc_feupdateenv): Likewise.
16387 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16388 not previously defined.
16389 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16390 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16391 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16393 * sysdeps/ieee754/flt-32/math_private.h: New file.
16394 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16395 math_private.h below SET_FLOAT_WORD.
16396 (__isnan, __isinf_ns, __finite): Remove.
16397 (__isnanf, __isinf_nsf, __finitef): Remove.
16399 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16403 2012-03-17 David S. Miller <davem@davemloft.net>
16406 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16409 2012-03-16 David S. Miller <davem@davemloft.net>
16411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16415 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16417 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16418 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16419 sysdep_routines when subdir is sysvipc.
16420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16421 __getshmlba helper.
16423 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16425 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16427 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16430 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16433 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16434 (__lround): Renamed to ...
16435 (__llround): This. Replace long int with long long int.
16436 Define lround functions as aliases of llround functions.
16437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16441 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16442 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16443 adresses to uintptr_t. Replace "long int" and "unsigned long
16444 int" with "greg_t" on va_arg.
16446 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16448 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16449 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16451 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16452 Move e_machine check before EI_CLASS check. Handle x32
16453 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16454 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16455 SKIP_EM_IA_64 and include
16456 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16458 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16459 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16460 (add_system_dir): New macro.
16462 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16463 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16465 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16476 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16478 * math/w_j0f.c (j0f): Likewise.
16480 * math/w_j0l.c (__j0l): Likewise.
16482 * math/w_j1.c (j1): Likewise.
16484 * math/w_j1f.c (j1f): Likewise.
16486 * math/w_j1l.c (__j1l): Likewise.
16488 * math/w_jn.c (jn): Likewise.
16490 * math/w_jnf.c (jnf): Likewise.
16492 * math/w_jnl.c (__jnl): Likewise.
16494 * math/libm-test.inc (j0_test): Add more tests.
16495 (j1_test): Likewise.
16496 (jn_test): Likewise. Add trailing semicolon to existing test.
16497 (y0_test): Likewise.
16498 (y1_test): Likewise.
16499 * sysdeps/i386/fpu/libm-test-ulps: Update.
16500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16505 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16506 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16507 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16508 (__tanl): Set errno for infinite argument.
16509 * sysdeps/i386/fpu/mptan.c: Remove.
16510 * sysdeps/i386/fpu/s_tan.S: Likewise.
16511 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16512 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16513 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16514 * math/libm-test.inc (tan_test): Add more tests and enable more
16515 tests for double and long double.
16516 * sysdeps/i386/fpu/libm-test-ulps: Update.
16517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16519 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16521 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16522 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16524 2012-03-16 Roland McGrath <roland@hack.frob.com>
16526 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16527 * configure.in: Use it for both main tree and add-ons.
16528 * configure: Regenerated.
16530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16532 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16534 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16536 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16540 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16541 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16542 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16544 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16546 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16548 != 0 for prec == 2.
16549 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16550 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16551 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16552 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16553 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16554 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16555 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16556 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16557 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16558 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16559 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16560 * math/libm-test.inc (cos_test): Add more tests and enable more
16561 tests for long double.
16562 (sin_test): Likewise.
16563 (sincos_test): Likewise.
16564 * sysdeps/i386/fpu/libm-test-ulps: Update.
16565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16567 2012-03-16 David S. Miller <davem@davemloft.net>
16569 * sysdeps/sparc/fpu/math_private.h: New file.
16571 2012-03-15 David S. Miller <davem@davemloft.net>
16573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16587 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16588 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16590 * sysdeps/sparc/sparc-ifunc.h: New file.
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16636 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16638 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16642 2012-03-15 Andreas Jaeger <aj@suse.de>
16645 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16646 ieee754/flt-32 implementation for sin, cos and sincos.
16647 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16648 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16649 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16650 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16651 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16652 ieee754/flt-32 implementation for tan.
16654 * math/libm-test.inc (cos_test): Enable some large input tests for
16656 (sin_test): Likewise.
16657 (sincos_test): Likewise.
16658 (tan_test): Add tests for large input.
16660 * sysdeps/i386/fpu/libm-test-ulps: Update.
16662 2012-03-15 Andreas Jaeger <aj@suse.de>
16665 * math/libm-test.inc (cos_test): Add more test cases.
16666 (sin_test): Likewise.
16667 (sincos_test): Likewise.
16669 2012-03-15 Andreas Jaeger <aj@suse.de>
16672 * math/libm-test.inc (cos_test): Add a test case for large input
16674 (sin_test): Likewise.
16675 (sincos_test): Likewise.
16677 2012-03-15 Andreas Jaeger <aj@suse.de>,
16678 Joseph Myers <joseph@codesourcery.com>
16681 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16682 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16683 * sysdeps/i386/fpu/branred.c: Likewise.
16684 * sysdeps/i386/fpu/dosincos.c: Likewise.
16685 * sysdeps/i386/fpu/mpa.c: Likewise.
16686 * sysdeps/i386/fpu/s_cos.S: Likewise.
16687 * sysdeps/i386/fpu/s_sin.S: Likewise.
16688 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16689 * sysdeps/i386/fpu/sincos32.c: Likewise.
16691 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16693 (libc_feupdateenv_53bit): Define.
16694 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16696 (libc_feupdateenv_53bit): Define.
16698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16699 53 bit (without extend i386 double precision).
16701 * math/libm-test.inc (sincos_test): Add tests for large input.
16705 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16707 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16711 2012-03-15 David S. Miller <davem@davemloft.net>
16713 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16714 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16715 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16716 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16741 fmin/fmax sysdep routines.
16742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16744 2012-03-14 David S. Miller <davem@davemloft.net>
16746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16823 * sysdeps/sparc/configure.in: New file.
16824 * sysdeps/sparc/configure: Generate.
16825 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16826 * configure: Regenerate.
16827 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16828 * config.make.in (have-as-vis3): New.
16829 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16830 available use -Av9d instead of -Av9a.
16831 * sysdeps/sparc/sparc64/Makefile: Likewise.
16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16847 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16848 fzeros/fnegs to load 0x80000000 into a float register instead of
16850 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16852 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16856 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16857 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16858 ($(inst_includedir)/bits/syscall.h): Remove rule.
16859 ($(objpfx)bits/syscall.d): Include instead of
16860 $(objpfx)syscall-list.d.
16861 (generated): Change syscall-list.h and syscall-list.d to
16862 bits/syscall.h and bits/syscall.d.
16864 2012-03-14 Roland McGrath <roland@hack.frob.com>
16867 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16869 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16872 * math/s_csqrt.c: Include <float.h>.
16873 (__csqrt): Scale large or subnormal inputs.
16874 * math/s_csqrtf.c: Likewise.
16875 * math/s_csqrtl.c: Likewise.
16876 * math/libm-test.inc (csqrt_test): Add more tests.
16877 * sysdeps/i386/fpu/libm-test-ulps: Update.
16878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881 * math/libm-test.inc (hypot_test): Add more tests.
16883 2012-03-13 David S. Miller <davem@davemloft.net>
16886 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16887 double-precision for the calculation instead of scaling.
16889 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16891 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16892 manipulate bits before adding and subtracting TWO52[sx].
16893 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16898 2012-03-13 David S. Miller <davem@davemloft.net>
16900 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16901 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16903 rtld-global-offsets.h
16904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16906 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16909 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16911 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16912 'err' in the ifdef scope in which it is actually used.
16914 * nss/nss_db/db-init.c: Include string.h
16916 2012-03-12 David S. Miller <davem@davemloft.net>
16918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16919 masking out of the most significant byte of random value used.
16920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16921 Fix coding style in previous change.
16923 * sysdeps/unix/sysv/linux/kernel-features.h
16924 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16925 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16927 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16930 2012-03-11 David S. Miller <davem@davemloft.net>
16932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16933 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16934 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16935 for 'resultvar' otherwise things get truncated on 64-bit.
16937 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16938 Fix masking out of the most significant byte of random value used.
16940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16942 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16946 2012-03-09 David S. Miller <davem@davemloft.net>
16948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16949 variables with appropriate CPP guards.
16950 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16951 frame pointer, not the stack pointer. Correct layout comments. Fix test
16952 on resulting framesize and the management of the outregs buffer for pltexit.
16953 Preserve floating point return values across _dl_call_pltexit call.
16954 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16955 framesize and the management of the outregs buffer for pltexit.
16956 Preserve floating point return values across _dl_call_pltexit
16958 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16959 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16960 (print_exit): Fix format string for return register value.
16962 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16964 * sunrpc/Makefile (others): Add rpcgen.
16965 ($(objpfx)rpcgen): Remove special build rule and dependency on
16967 * sunrpc/rpcgen.c: New file.
16969 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16972 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16973 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16974 * sysdeps/i386/crti.S: Likewise.
16975 * sysdeps/i386/crtn.S: Likewise.
16976 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16977 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16978 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16979 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16980 * sysdeps/sh/crti.S: Likewise.
16981 * sysdeps/sh/crtn.S: Likewise.
16982 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16985 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16987 * locale/programs/locfile-kw.gperf: Likewise.
16988 * locale/programs/charmap-kw.h: Regenerated.
16989 * locale/programs/locfile-kw.h: Likewise.
16992 * intl/plural.y: Replace FSF snail mail address with URL.
16993 * intl/plural.c: Regenerated.
16995 2012-03-09 Richard Henderson <rth@twiddle.net>
16997 * include/math_private.h: Remove file.
16998 * math/math_private.h: Move file ...
16999 * sysdeps/generic/math_private.h: ... here.
17001 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17002 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17003 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17005 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17006 and <math_private.h>.
17007 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17008 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17009 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17010 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17011 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17015 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17028 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17029 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17095 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17098 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17101 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17102 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17104 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17106 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17107 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17108 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17109 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17110 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17111 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17112 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17113 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17114 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17115 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17117 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17118 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17120 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17121 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17123 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17124 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17128 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17130 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17131 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17134 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17135 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17136 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17137 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17139 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17140 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17141 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17142 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17144 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17147 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17148 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17149 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17150 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17151 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17154 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17156 * sysdeps/ieee754/k_standard.c: Likewise.
17157 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17161 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17162 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17163 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17174 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17175 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17176 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17177 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17178 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17179 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17289 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17317 * sysdeps/ieee754/s_lib_version.c: Likewise.
17318 * sysdeps/ieee754/s_matherr.c: Likewise.
17319 * sysdeps/ieee754/s_signgam.c: Likewise.
17320 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17321 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17322 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17323 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17324 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17326 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17327 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17328 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17329 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17330 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17331 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17332 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17334 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17335 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17337 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17342 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17344 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17345 * sunrpc/rpc_main.c: Likewise.
17346 * sunrpc/rpc_svcout.c: Likewise.
17348 2012-03-09 David S. Miller <davem@davemloft.net>
17350 * include/math_private.h: New file.
17352 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17354 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17355 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17356 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17357 from <bits/socket_type.h>.
17358 (enum __socket_type): Don't define here.
17359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17361 bits/socket_type.h.
17364 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17365 checking __USE_GNU.
17367 * Makerules ($(inst_includedir)/%.h): New rule.
17368 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17369 (install-others): Remove variable setting.
17370 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17372 2012-03-08 Richard Henderson <rth@twiddle.net>
17374 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17375 from macro to inline function; merge with the
17376 !__LIBC_INTERNAL_MATH_INLINES version.
17377 (__ieee754_sqrtf): Likewise.
17379 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17380 to inline function.
17381 (__rintf, __floor, __floorf): Likewise.
17383 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17384 macro to inline function.
17385 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17388 not <math/math_private.h>.
17390 2012-03-08 David S. Miller <davem@davemloft.net>
17392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17394 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17396 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17398 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17400 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17401 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17403 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17405 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17406 be defined individually, they must be defined as a block. Define
17407 S for printing a string instead of hidint the different by using a
17408 macro for adding the 'l'.
17409 * stdio-common/tst-fphex-wide.c: Adjust.
17411 2012-03-07 Marek Polacek <polacek@redhat.com>
17413 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17415 2012-03-08 Marek Polacek <polacek@redhat.com>
17418 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17419 * stdio-common/tst-fphex.c: Define a few macros to make the
17420 test reusable. Use them.
17421 * stdio-common/tst-fphex-wide.c: New file.
17423 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17426 * manual/macros.texi (gnusystems): New macro.
17427 (nongnusystems): Likewise.
17428 (gnulinuxhurdsystems): Likewise.
17429 (gnuhurdsystems): Likewise..
17430 (gnulinuxsystems): Likewise.
17431 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17432 variants of the GNU system, not "GNU system".
17433 * manual/conf.texi: Likewise.
17434 * manual/errno.texi: Likewise. Update example of errno macro
17436 * manual/filesys.texi: Likewise.
17437 (getumask): Document as specific to GNU/Hurd.
17438 * manual/install.texi: Likewise. Reword some references to
17440 * manual/intro.texi: Likewise.
17441 * manual/io.texi: Likewise.
17442 (File Name Portability): Detail which constraints are inapplicable
17443 to all GNU systems and which are only inapplicable to GNU/Hurd.
17444 * manual/job.texi: Likewise.
17445 * manual/llio.texi: Likewise.
17446 (O_NOCTTY): Document as present on GNU/Linux.
17447 * manual/maint.texi: Likewise.
17448 * manual/memory.texi: Likewise.
17449 * manual/pattern.texi: Likewise.
17450 * manual/pipe.texi: Likewise.
17451 * manual/process.texi: Likewise.
17452 * manual/resource.texi: Likewise.
17453 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17455 * manual/setjmp.texi: Likewise.
17456 * manual/signal.texi: Likewise.
17457 * manual/startup.texi: Likewise.
17458 * manual/stdio.texi: Likewise.
17459 * manual/terminal.texi: Likewise.
17460 (ONLCR): Document as POSIX.
17461 (OXTABS): Document availability on GNU/Linux as XTABS.
17462 (ONOEOT): Document availability separately from other bits.
17463 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17464 * manual/time.texi: Likewise.
17465 * manual/users.texi: Likewise.
17466 * INSTALL: Regenerated.
17467 * sysdeps/gnu/errlist.c: Regenerated.
17469 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17470 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17471 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17473 * configure: Regenerated.
17475 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17477 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17478 default includes instead of AC_HEADER_CHECK.
17479 * sysdeps/i386/configure: Regenerated.
17482 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17483 * math/s_cacoshf.c (__cacoshf): Likewise.
17484 * math/s_cacoshl.c (__cacoshl): Likewise.
17485 * math/s_casinh.c (__casinh): Set signs of result from argument.
17486 * math/s_casinhf.c (__casinhf): Likewise.
17487 * math/s_casinhl.c (__casinhl): Likewise.
17488 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17489 (casinh_test): Add more tests.
17490 * sysdeps/i386/fpu/libm-test-ulps: Update.
17491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17495 * po/zh_TW.po: Update from translation team.
17497 * login/Makefile (distribute): Remove variable.
17498 * catgets/Makefile: Likewise.
17499 * mach/Makefile: Likewise.
17500 * malloc/Makefile: Likewise.
17501 * misc/Makefile: Likewise.
17502 * iconv/Makefile: Likewise.
17503 * nscd/Makefile: Likewise.
17504 * hurd/Makefile: Likewise.
17505 * manual/Makefile: Likewise.
17506 * locale/Makefile: Likewise.
17507 * intl/Makefile: Likewise.
17508 * conform/Makefile: Likewise.
17509 * nss/Makefile: Likewise.
17510 * time/Makefile: Likewise.
17511 * soft-fp/Makefile: Likewise.
17512 * dirent/Makefile: Likewise.
17513 * gmon/Makefile: Likewise.
17514 * po/Makefile: Likewise.
17515 * rt/Makefile: Likewise.
17516 * socket/Makefile: Likewise.
17517 * math/Makefile: Likewise.
17518 * signal/Makefile: Likewise.
17519 * debug/Makefile: Likewise.
17520 * elf/Makefile: Likewise.
17521 * timezone/Makefile: Likewise.
17522 * stdlib/Makefile: Likewise.
17523 * iconvdata/Makefile: Likewise.
17524 * sunrpc/Makefile: Likewise.
17525 * io/Makefile: Likewise.
17526 * argp/Makefile: Likewise.
17527 * inet/Makefile: Likewise.
17528 * hesiod/Makefile: Likewise.
17529 * grp/Makefile: Likewise.
17530 * csu/Makefile: Likewise.
17531 * wctype/Makefile: Likewise.
17532 * crypt/Makefile: Likewise.
17533 * libio/Makefile: Likewise.
17534 * string/Makefile: Likewise.
17535 * nis/Makefile: Likewise.
17536 * resolv/Makefile: Likewise.
17537 * stdio-common/Makefile: Likewise.
17538 * wcsmbs/Makefile: Likewise.
17539 * dlfcn/Makefile: Likewise.
17540 * posix/Makefile: Likewise.
17543 * timezone/Makefile: Don't install timezone files, just the programs
17546 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17548 * nss/databases.def: Add missing gshadow entry.
17550 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17552 2012-03-06 Marek Polacek <polacek@redhat.com>
17555 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17556 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17557 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17558 * stdio-common/tst-long-dbl-fphex.c: New file.
17560 2012-03-06 David S. Miller <davem@davemloft.net>
17562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17563 (set_obp_int): New function.
17564 (get_obp_int): New function.
17565 (__get_clockfreq_via_dev_openprom): Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17567 Avoid unused variable warnings on 'val' and use builtin_expect.
17568 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17570 (INLINE_CLONE_SYSCALL): Likewise.
17572 2012-03-05 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17576 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17581 only for |x| >= 40.
17582 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17584 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17587 Replace gettimeofday with __vdso_gettimeofday.
17589 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17590 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17591 __vdso_clock_gettime and __vdso_getcpu.
17593 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17594 time with __vdso_time.
17596 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17598 * manual/lang.texi (size_t): Note types to which size_t may be
17599 equivalent with the GNU C Library, but do not describe when
17600 differences between them are significant.
17602 2012-03-05 Andreas Jaeger <aj@suse.de>
17604 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17609 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17610 (__ieee754_pow): Save and restore rounding mode and use
17611 round-to-nearest for main computations.
17612 * math/libm-test.inc (pow_test_tonearest): New function.
17613 (pow_test_towardzero): Likewise.
17614 (pow_test_downward): Likewise.
17615 (pow_test_upward): Likewise.
17616 (main): Call the new functions.
17617 * sysdeps/i386/fpu/libm-test-ulps: Update.
17618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17621 * math/libm-test.inc (cosh_test_tonearest): New function.
17622 (cosh_test_towardzero): Likewise.
17623 (cosh_test_downward): Likewise.
17624 (cosh_test_upward): Likewise.
17625 (sinh_test_tonearest): Likewise.
17626 (sinh_test_towardzero): Likewise.
17627 (sinh_test_downward): Likewise.
17628 (sinh_test_upward): Likewise.
17629 (main): Call the new functions.
17630 * sysdeps/i386/fpu/libm-test-ulps: Update.
17631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17633 2012-03-05 Tom de Vries <tom@codesourcery.com>
17635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17636 default stack guard is set in last bytes.
17637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17639 2012-03-05 Kees Cook <keescook@chromium.org>
17641 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17644 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17645 possibly allocate from heap instead of stack.
17646 * stdio-common/bug-vfprintf-nargs.c: New file.
17647 * stdio-common/Makefile (tests): Add nargs overflow test.
17649 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17653 2012-03-03 Marek Polacek <polacek@redhat.com>
17655 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17656 * math/math_private.h: Likewise.
17657 * stdlib/tst-strtod.c: Likewise.
17658 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17659 * sysdeps/x86_64/bits/atomic.h: Likewise.
17661 2012-03-02 David S. Miller <davem@davemloft.net>
17663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17667 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17668 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17669 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17670 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17672 2012-03-02 Roland McGrath <roland@hack.frob.com>
17675 * manual/examples/README: New file, says the example source files
17676 can be used under GPL>=2.
17677 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17678 line containing just "*/".
17679 * manual/examples/add.c: Add copyright header (GPL>=2).
17680 * manual/examples/argp-ex1.c: Likewise.
17681 * manual/examples/argp-ex2.c: Likewise.
17682 * manual/examples/argp-ex3.c: Likewise.
17683 * manual/examples/argp-ex4.c: Likewise.
17684 * manual/examples/atexit.c: Likewise.
17685 * manual/examples/db.c: Likewise.
17686 * manual/examples/dir.c: Likewise.
17687 * manual/examples/dir2.c: Likewise.
17688 * manual/examples/execinfo.c: Likewise.
17689 * manual/examples/filecli.c: Likewise.
17690 * manual/examples/filesrv.c: Likewise.
17691 * manual/examples/fmtmsgexpl.c: Likewise.
17692 * manual/examples/genpass.c: Likewise.
17693 * manual/examples/inetcli.c: Likewise.
17694 * manual/examples/inetsrv.c: Likewise.
17695 * manual/examples/isockad.c: Likewise.
17696 * manual/examples/longopt.c: Likewise.
17697 * manual/examples/memopen.c: Likewise.
17698 * manual/examples/memstrm.c: Likewise.
17699 * manual/examples/mkfsock.c: Likewise.
17700 * manual/examples/mkisock.c: Likewise.
17701 * manual/examples/mygetpass.c: Likewise.
17702 * manual/examples/pipe.c: Likewise.
17703 * manual/examples/popen.c: Likewise.
17704 * manual/examples/rprintf.c: Likewise.
17705 * manual/examples/search.c: Likewise.
17706 * manual/examples/select.c: Likewise.
17707 * manual/examples/setjmp.c: Likewise.
17708 * manual/examples/sigh1.c: Likewise.
17709 * manual/examples/sigusr.c: Likewise.
17710 * manual/examples/stpcpy.c: Likewise.
17711 * manual/examples/strdupa.c: Likewise.
17712 * manual/examples/strftim.c: Likewise.
17713 * manual/examples/strncat.c: Likewise.
17714 * manual/examples/subopt.c: Likewise.
17715 * manual/examples/swapcontext.c: Likewise.
17716 * manual/examples/termios.c: Likewise.
17717 * manual/examples/testopt.c: Likewise.
17718 * manual/examples/testpass.c: Likewise.
17719 * manual/examples/timeval_subtract.c: Likewise.
17722 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17724 * manual/timeval_subtract.c.texi: ... here, new file.
17726 2012-03-02 David S. Miller <davem@davemloft.net>
17728 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17730 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17733 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17734 (__sin): Save and restore rounding mode and use round-to-nearest
17735 for all computations.
17736 (__cos): Save and restore rounding mode and use round-to-nearest
17737 for all computations.
17738 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17740 (tan): Save and restore rounding mode and use round-to-nearest for
17742 * math/libm-test.inc (cos_test_tonearest): New function.
17743 (cos_test_towardzero): Likewise.
17744 (cos_test_downward): Likewise.
17745 (cos_test_upward): Likewise.
17746 (sin_test_tonearest): Likewise.
17747 (sin_test_towardzero): Likewise.
17748 (sin_test_downward): Likewise.
17749 (sin_test_upward): Likewise.
17750 (tan_test_tonearest): Likewise.
17751 (tan_test_towardzero): Likewise.
17752 (tan_test_downward): Likewise.
17753 (tan_test_upward): Likewise.
17754 (main): Call the new functions.
17755 * sysdeps/i386/fpu/libm-test-ulps: Update.
17756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17760 small n, then large n, before computing and testing k+n.
17761 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17766 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17767 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17774 * math/libm-test.inc (scalbn_test): Add more tests.
17775 (scalbln_test): Likewise.
17777 * manual/filesys.texi (mode_t): Describe constraints on size and
17778 signedness, not exact equivalence to a particular type.
17780 (ino64_t): Likewise.
17782 (nlink_t): Likewise.
17783 (blkcnt_t): Likewise.
17784 (blkcnt64_t): Likewise.
17785 * manual/llio.texi (off_t): Likewise.
17788 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17789 (__ieee754_exp): Save and restore rounding mode and use
17790 round-to-nearest for all computations.
17791 * math/libm-test.inc (exp_test_tonearest): New function.
17792 (exp_test_towardzero): Likewise.
17793 (exp_test_downward): Likewise.
17794 (exp_test_upward): Likewise.
17795 (main): Call the new functions.
17796 * sysdeps/i386/fpu/libm-test-ulps: Update.
17797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17799 2012-03-01 Chris Demetriou <cgd@google.com>
17801 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17802 have predictable order.
17804 2012-03-01 David S. Miller <davem@davemloft.net>
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17808 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17809 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17810 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17811 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17813 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17814 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17815 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17817 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17818 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17819 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17820 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17821 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17826 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17829 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17831 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17832 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17833 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17837 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17838 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17839 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17845 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17846 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17847 * sysdeps/sparc/elf/configure: Regenerated.
17849 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17851 * configure.in (AS, LD): Require binutils 2.20 or later.
17852 * configure: Regenerated.
17853 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17854 as required minimum version.
17855 * INSTALL: Regenerated.
17859 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17860 before squaring exponent.
17861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17862 bottom long double and 27 bits of top long double before squaring
17864 * math/libm-test.inc (erfc_test): Add more tests.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869 2012-03-01 Kai Tietz <ktietz@redhat.com>
17871 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17872 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17873 containing bit-fields.
17874 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17875 * soft-fp/single.h (_FP_UNION_S): Likewise.
17876 * soft-fp/double.h (_FP_UNION_D): Likewise.
17878 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17882 not include ../strcmp.S.
17883 [USE_AS_STRNCASECMP_L]: Likewise.
17884 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17885 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17886 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17887 (__strncasecmp_l_ia32): Define as alias to
17888 __strncasecmp_l_nonascii.
17891 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17892 * sysdeps/i386/fpu/libm-test-ulps: Update.
17893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17895 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17898 2012-02-29 Jeff Law <law@redhat.com>
17900 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17901 out of bounds read.
17903 2012-02-29 Marek Polacek <polacek@redhat.com>
17906 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17907 * elf/Makefile: Add rules to run tst-unused-dep.out.
17909 2012-02-28 David S. Miller <davem@davemloft.net>
17911 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17912 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17915 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17916 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17918 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17920 * math/libm-test.inc (llround_test): Move one test from
17921 lround_test. Use TEST_f_L in moved test.
17922 (lround_test): Move misplaced test to llround_test. Add testcase
17925 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17927 * sysdeps/x86_64/fpu/e_expf.S: New file.
17928 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17930 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17933 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17934 of remain_len that may cause incomplete multi-byte character and
17936 * posix/bug-regex33.c: New file.
17937 * posix/Makefile (tests): Add bug-regex33.
17939 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17941 * manual/macros.texi: New file.
17942 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17943 * manual/libc.texinfo: Include macros.texi.
17944 * manual/creatute.texi: Likewise.
17945 * manual/install.texi: Likewise.
17946 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17947 @glibcadj{} in references to the GNU C Library.
17948 * manual/charset.texi: Likewise.
17949 * manual/conf.texi: Likewise.
17950 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17951 when not using those macros.
17952 * manual/creature.texi: Likewise.
17953 * manual/crypt.texi: Likewise.
17954 * manual/errno.texi: Likewise.
17955 * manual/filesys.texi: Likewise.
17956 * manual/header.texi: Likewise.
17957 * manual/install.texi: Likewise.
17958 * manual/intro.texi: Likewise.
17959 * manual/io.texi: Likewise.
17960 * manual/job.texi: Likewise.
17961 * manual/lang.texi: Likewise.
17962 * manual/libc.texiinfo: Likewise.
17963 * manual/llio.texi: Likewise.
17964 * manual/locale.texi: Likewise.
17965 * manual/maint.texi: Likewise.
17966 * manual/math.texi: Likewise.
17967 * manual/memory.texi: Likewise.
17968 * manual/message.texi: Likewise.
17969 * manual/nss.texi: Likewise.
17970 * manual/pattern.texi: Likewise.
17971 * manual/process.texi: Likewise.
17972 * manual/resource.texi: Likewise.
17973 * manual/search.texi: Likewise.
17974 * manual/setjmp.texi: Likewise.
17975 * manual/signal.texi: Likewise.
17976 * manual/socket.texi: Likewise.
17977 * manual/startup.texi: Likewise.
17978 * manual/stdio.texi: Likewise.
17979 * manual/string.texi: Likewise.
17980 * manual/sysinfo.texi: Likewise.
17981 * manual/syslog.texi: Likewise.
17982 * manual/terminal.texi: Likewise.
17983 * manual/time.texi: Likewise.
17984 * manual/users.texi: Likewise.
17985 * INSTALL: Regenerated.
17986 * NOTES: Regenerated.
17987 * sysdeps/gnu/errlist.c: Regenerated.
17989 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17991 * include/dirent.h: Include <dirstream.h> before
17994 2012-02-28 David S. Miller <davem@davemloft.net>
17996 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17997 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18001 2012-02-27 David S. Miller <davem@davemloft.net>
18003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18005 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18006 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18009 frame pointer instead of stack pointer relative arg slot.
18010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18011 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18012 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18014 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18017 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18019 2012-02-27 David S. Miller <davem@davemloft.net>
18021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18027 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18028 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18030 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18032 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18033 later. Allow versions 5-9.
18034 * configure: Regenerated.
18035 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18036 required minimum version and 4.6 as recommended version. Do not
18037 mention bugs in GCC 2.7 and 2.8.
18038 * INSTALL: Regenerated.
18040 2012-02-27 David S. Miller <davem@davemloft.net>
18042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18046 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18047 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18048 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18049 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18052 manipulate bits before adding and subtracting TWO112[sx].
18053 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18055 2012-02-27 Roland McGrath <roland@hack.frob.com>
18058 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18059 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18060 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18061 being in POSIX, because they are in 1003.1-2008.
18063 * rt/tst-aio.c: Include <fcntl.h>.
18064 * rt/tst-aio7.c: Likewise.
18065 * rt/tst-aio64.c: Likewise.
18067 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18069 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18071 * manual/install.texi (--with-headers): Describe headers as
18072 interface headers, not private headers.
18073 (Specific advice for GNU/Linux systems): Describe use of headers
18074 from "make headers_install", not private headers from older
18076 * INSTALL: Regenerated.
18077 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18079 * sysdeps/unix/sysv/linux/configure: Regenerated.
18081 * manual/llio.texi (fclean): Remove documentation.
18083 * manual/Makefile (libc-texi-generated): New variable. Include
18085 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18086 $(libc-texi-generated), not duplicated list of files.
18087 (version.texi, stamp-version): New rules.
18088 (realclean): Remove $(libc-texi-generated), not individual files
18089 from that list. Do not remove dir-add.texinfo.
18090 * manual/libc.texinfo: Comment out uses of edition numbers and
18091 references to printed manual. Remove last-updated dates.
18092 (EDITION): Comment out.
18094 (VERSION, UPDATED): Remove.
18095 (version.texi): Include.
18097 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18099 * sysdeps/posix/spawni.c: Include <signal.h>.
18100 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18101 * sysdeps/pthread/aio_fsync.c: Likewise.
18103 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18105 * conform/Makefile (tests): Run only when not cross-compiling and
18106 when fast-check is not defined.
18108 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18109 * conform/data/limits.h-data: Fixes for POSIX2008.
18110 * conform/run-conformtest.sh: Run all tests.
18111 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18113 * include/bits/dlfcn.h: Likewise.
18114 * include/langinfo.h: Likewise.
18115 * include/monetary.h: Likewise.
18116 * include/sys/poll.h: Likewise.
18118 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18120 * posix/spawn.h: Define __need_sigset_t.
18121 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18122 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18123 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18124 to get sigevent_t only.
18125 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18126 only for __USE_GNU.
18127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18128 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18129 process_vm_writev only for __USE_GNU.
18130 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18132 * conform/Makefile: For now ignore errors from run-conformtest.
18133 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18134 POSIX to avoid namespace pollution. Don't prepend headers.
18135 * conform/data/aio.h-data: Fixes for POSIX testing.
18136 * conform/data/fcntl.h-data: Likewise.
18137 * conform/data/glob.h-data: Likewise.
18138 * conform/data/grp.h-data: Likewise.
18139 * conform/data/pthread.h-data: Likewise.
18140 * conform/data/pwd.h-data: Likewise.
18141 * conform/data/signal.h-data: Likewise.
18142 * conform/data/spawn.h-data: Likewise.
18143 * conform/data/stdio.h-data: Likewise.
18144 * conform/data/stdlib.h-data: Likewise.
18145 * conform/data/stropts.h-data: Likewise.
18146 * conform/data/sys/mman.h-data: Likewise.
18147 * conform/data/sys/stat.h-data: Likewise.
18148 * conform/data/sys/types.h-data: Likewise.
18149 * conform/data/sys/wait.h-data: Likewise.
18150 * conform/data/time.h-data: Likewise.
18151 * conform/data/unistd.h-data: Likewise.
18152 * conform/data/utime.h-data: Likewise.
18154 * io/sys/stat.h: fchmod was always in POSIX.
18155 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18156 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18157 * rt/aio.h: Define __need_timespec before including <time.h>.
18158 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18159 struct. Add forward declaration of pthread_attr_t and use it in
18161 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18163 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18164 always remove CLK_TCK definition.
18166 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18168 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18170 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18172 * conform/run-conformtest.sh: New file.
18173 * conform/Makefile: Run run-conformtest for tests.
18174 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18177 * conform/data/uchar.h-data: New file.
18178 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18179 * conform/data/arpa/inet.h-data: Likewise.
18180 * conform/data/assert.h-data: Likewise.
18181 * conform/data/complex.h-data: Likewise.
18182 * conform/data/cpio.h-data: Likewise.
18183 * conform/data/ctype.h-data: Likewise.
18184 * conform/data/dirent.h-data: Likewise.
18185 * conform/data/dlfcn.h-data: Likewise.
18186 * conform/data/errno.h-data: Likewise.
18187 * conform/data/fcntl.h-data: Likewise.
18188 * conform/data/float.h-data: Likewise.
18189 * conform/data/fmtmsg.h-data: Likewise.
18190 * conform/data/fnmatch.h-data: Likewise.
18191 * conform/data/ftw.h-data: Likewise.
18192 * conform/data/glob.h-data: Likewise.
18193 * conform/data/grp.h-data: Likewise.
18194 * conform/data/iconv.h-data: Likewise.
18195 * conform/data/inttypes.h-data: Likewise.
18196 * conform/data/langinfo.h-data: Likewise.
18197 * conform/data/libgen.h-data: Likewise.
18198 * conform/data/limits.h-data: Likewise.
18199 * conform/data/locale.h-data: Likewise.
18200 * conform/data/math.h-data: Likewise.
18201 * conform/data/monetary.h-data: Likewise.
18202 * conform/data/mqueue.h-data: Likewise.
18203 * conform/data/ndbm.h-data: Likewise.
18204 * conform/data/net/if.h-data: Likewise.
18205 * conform/data/netdb.h-data: Likewise.
18206 * conform/data/netinet/in.h-data: Likewise.
18207 * conform/data/nl_types.h-data: Likewise.
18208 * conform/data/poll.h-data: Likewise.
18209 * conform/data/pthread.h-data: Likewise.
18210 * conform/data/pwd.h-data: Likewise.
18211 * conform/data/regex.h-data: Likewise.
18212 * conform/data/sched.h-data: Likewise.
18213 * conform/data/search.h-data: Likewise.
18214 * conform/data/semaphore.h-data: Likewise.
18215 * conform/data/setjmp.h-data: Likewise.
18216 * conform/data/signal.h-data: Likewise.
18217 * conform/data/spawn.h-data: Likewise.
18218 * conform/data/stdarg.h-data: Likewise.
18219 * conform/data/stdio.h-data: Likewise.
18220 * conform/data/stdlib.h-data: Likewise.
18221 * conform/data/string.h-data: Likewise.
18222 * conform/data/strings.h-data: Likewise.
18223 * conform/data/stropts.h-data: Likewise.
18224 * conform/data/sys/ipc.h-data: Likewise.
18225 * conform/data/sys/mman.h-data: Likewise.
18226 * conform/data/sys/msg.h-data: Likewise.
18227 * conform/data/sys/resource.h-data: Likewise.
18228 * conform/data/sys/select.h-data: Likewise.
18229 * conform/data/sys/sem.h-data: Likewise.
18230 * conform/data/sys/shm.h-data: Likewise.
18231 * conform/data/sys/socket.h-data: Likewise.
18232 * conform/data/sys/stat.h-data: Likewise.
18233 * conform/data/sys/statvfs.h-data: Likewise.
18234 * conform/data/sys/time.h-data: Likewise.
18235 * conform/data/sys/timeb.h-data: Likewise.
18236 * conform/data/sys/times.h-data: Likewise.
18237 * conform/data/sys/types.h-data: Likewise.
18238 * conform/data/sys/uio.h-data: Likewise.
18239 * conform/data/sys/un.h-data: Likewise.
18240 * conform/data/sys/utsname.h-data: Likewise.
18241 * conform/data/sys/wait.h-data: Likewise.
18242 * conform/data/syslog.h-data: Likewise.
18243 * conform/data/tar.h-data: Likewise.
18244 * conform/data/termios.h-data: Likewise.
18245 * conform/data/utime.h-data: Likewise.
18246 * conform/data/utmpx.h-data: Likewise.
18247 * conform/data/varargs.h-data: Likewise.
18248 * conform/data/wchar.h-data: Likewise.
18249 * conform/data/wctype.h-data: Likewise.
18250 * conform/data/wordexp.h-data: Likewise.
18252 * include/stropts.h: New file.
18253 * include/uchar.h: New file.
18254 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18255 * include/assert.h: Likewise.
18256 * include/ctype.h: Likewise.
18257 * include/dirent.h: Likewise.
18258 * include/dlfcn.h: Likewise.
18259 * include/fcntl.h: Likewise.
18260 * include/fnmatch.h: Likewise.
18261 * include/glob.h: Likewise.
18262 * include/grp.h: Likewise.
18263 * include/libio.h: Likewise.
18264 * include/locale.h: Likewise.
18265 * include/math.h: Likewise.
18266 * include/net/if.h: Likewise.
18267 * include/netdb.h: Likewise.
18268 * include/netinet/in.h: Likewise.
18269 * include/pthread.h: Likewise.
18270 * include/pwd.h: Likewise.
18271 * include/regex.h: Likewise.
18272 * include/sched.h: Likewise.
18273 * include/search.h: Likewise.
18274 * include/setjmp.h: Likewise.
18275 * include/signal.h: Likewise.
18276 * include/stdio.h: Likewise.
18277 * include/stdlib.h: Likewise.
18278 * include/string.h: Likewise.
18279 * include/sys/cdefs.h: Likewise.
18280 * include/sys/mman.h: Likewise.
18281 * include/sys/msg.h: Likewise.
18282 * include/sys/resource.h: Likewise.
18283 * include/sys/select.h: Likewise.
18284 * include/sys/socket.h: Likewise.
18285 * include/sys/stat.h: Likewise.
18286 * include/sys/statvfs.h: Likewise.
18287 * include/sys/time.h: Likewise.
18288 * include/sys/times.h: Likewise.
18289 * include/sys/uio.h: Likewise.
18290 * include/sys/utsname.h: Likewise.
18291 * include/sys/wait.h: Likewise.
18292 * include/termios.h: Likewise.
18293 * include/time.h: Likewise.
18294 * include/ulimit.h: Likewise.
18295 * include/unistd.h: Likewise.
18296 * include/utime.h: Likewise.
18297 * include/wchar.h: Likewise.
18298 * include/wctype.h: Likewise.
18299 * include/wordexp.h: Likewise.
18301 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18303 * time/time.h: TIME_UTC must be a macro.
18304 Make timespec_get available for ISO C11 only as well.
18306 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18308 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18309 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18313 * configure.in: Use -o not -a in test for unsupported multi-arch.
18315 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18317 * manual/texinfo.tex: Update to version 2012-01-19.16.
18319 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18321 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18323 2012-02-24 Roland McGrath <roland@hack.frob.com>
18326 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18327 * manual/fdl-1.3.texi: New file.
18328 * manual/fdl-1.1.texi: File removed.
18331 * manual/libc.texinfo (FDL_VERSION): New @set.
18332 Use it for mention of FDL in cover text.
18333 (Documentation License): Use it in @include file name.
18335 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18336 Roland McGrath <roland@hack.frob.com>
18339 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18340 not LONG_LONG_MAX and LONG_LONG_MIN.
18341 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18342 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18344 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18346 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18350 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18351 manipulate bits before adding and subtracting TWO23[sx].
18352 * math/libm-test.inc (nearbyint_test): Add more tests.
18354 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18357 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18358 bits before adding and subtracting TWO23[sx].
18359 * math/libm-test.inc (rint_test): Add more tests.
18360 (rint_test_tonearest): Likewise.
18361 (rint_test_towardzero): Likewise.
18362 (rint_test_downward): Likewise.
18363 (rint_test_upward: Likewise.
18365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18368 * include/stdc-predef.h: New file. Extracted from features.h.
18369 * include/features.h: Include stdc-predef.h.
18370 * Makefile (headers): Add stdc-predef.h.
18371 * CONFORMANCE (Compiler limitations): Update.
18373 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18375 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18377 2012-02-21 David S. Miller <davem@davemloft.net>
18379 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18380 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18382 2012-02-20 David S. Miller <davem@davemloft.net>
18384 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18385 using a normal save/restore sequence, rather than allocating a
18386 dummy stack frame just to store a frame pointer and restore.
18387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18389 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18391 * manual/install.texi: Fix stray word in line-wrapped comment.
18393 2012-02-20 David S. Miller <davem@davemloft.net>
18395 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18396 both binutils and gcc support GOTDATA.
18398 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18399 "rd %pc" in the PIC register setup sequences.
18401 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18402 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18403 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18404 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18405 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18410 (SYSCALL_ERROR_HANDLER): Likewise.
18411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18414 (SYSCALL_ERROR_HANDLER): Likewise.
18416 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18417 (HAVE_GCC_GOTDATA): New.
18418 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18419 relocation support in both binutils and gcc.
18420 * sysdeps/sparc/elf/configure: Regenerate.
18422 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18423 * sysdeps/sparc/sparc32/elf/configure: Delete.
18424 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18425 * sysdeps/sparc/sparc64/elf/configure: Delete.
18426 * sysdeps/sparc/elf/configure.in: New file.
18427 * sysdeps/sparc/elf/configure: Generate.
18429 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18430 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18431 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18432 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18433 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18435 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18437 * manual/install.texi: Do not mention specific glibc version
18439 * manual/libc.texinfo (VERSION, UPDATED): Update.
18440 (@copying): Use @copyright{} and range of years.
18442 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18445 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18446 [crti.S not in sysdirs] (generated): Do not append.
18447 [crti.S not in sysdirs] (omit-deps): Likewise.
18448 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18449 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18450 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18451 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18452 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18454 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18455 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18456 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18457 * csu/defs.awk: Remove file.
18458 * sysdeps/generic/initfini.c: Likewise.
18459 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18461 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18464 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18467 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18468 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18469 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18471 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18473 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18474 (__EPOLL_PACKED): Define to empty if not defined by
18476 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18480 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18482 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18483 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18484 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18485 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18487 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18491 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18493 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18495 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18496 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18500 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18503 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18505 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18507 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18508 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18510 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18512 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18515 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18517 * math/w_acos.c: Use non-signaling floating-point comparisons.
18518 * math/w_acosf.c: Likewise.
18519 * math/w_acosh.c: Likewise.
18520 * math/w_acoshf.c: Likewise.
18521 * math/w_acoshl.c: Likewise.
18522 * math/w_acosl.c: Likewise.
18523 * math/w_asin.c: Likewise.
18524 * math/w_asinf.c: Likewise.
18525 * math/w_asinl.c: Likewise.
18526 * math/w_atanh.c: Likewise.
18527 * math/w_atanhf.c: Likewise.
18528 * math/w_atanhl.c: Likewise.
18529 * math/w_exp2.c: Likewise.
18530 * math/w_exp2f.c: Likewise.
18531 * math/w_exp2l.c: Likewise.
18532 * math/w_j0.c: Likewise.
18533 * math/w_j0f.c: Likewise.
18534 * math/w_j0l.c: Likewise.
18535 * math/w_j1.c: Likewise.
18536 * math/w_j1f.c: Likewise.
18537 * math/w_j1l.c: Likewise.
18538 * math/w_jn.c: Likewise.
18539 * math/w_jnf.c: Likewise.
18540 * math/w_log.c: Likewise.
18541 * math/w_log10.c: Likewise.
18542 * math/w_log10f.c: Likewise.
18543 * math/w_log10l.c: Likewise.
18544 * math/w_log2.c: Likewise.
18545 * math/w_log2f.c: Likewise.
18546 * math/w_log2l.c: Likewise.
18547 * math/w_logf.c: Likewise.
18548 * math/w_logl.c: Likewise.
18549 * math/w_sqrt.c: Likewise.
18550 * math/w_sqrtf.c: Likewise.
18551 * math/w_sqrtl.c: Likewise.
18552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18553 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18555 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18556 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18558 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18561 * manual/string.texi (strnlen): Use correct parameter name in
18562 equivalent expression.
18564 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18567 * manual/users.texi (seteuid): Consistently use neweuid for
18570 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18573 * manual/nss.texi (Services in the NSS configuration): Correct
18574 list of services in example configuration file.
18576 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18579 * manual/arith.texi: Remove statements about negative zero
18580 behaving identically to zero.
18582 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18585 * manual/install.texi: Do not document upgrading from libc5.
18587 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18590 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18592 2012-02-18 David S. Miller <davem@davemloft.net>
18594 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18595 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18596 %o7 across the call.
18597 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18600 SETUP_PIC_REG_LEAF.
18601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18602 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18603 * sysdeps/sparc/crtn.S: Likewise.
18605 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18607 * aout/Makefile: Remove.
18609 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18612 * manual/examples/argp-ex1.c (main): Format definition in GNU
18614 * manual/examples/argp-ex2.c (main): Likewise.
18615 * manual/examples/argp-ex3.c (main): Likewise.
18616 * manual/examples/argp-ex4.c (main): Likewise.
18617 * manual/examples/longopt.c (main): Use new-style prototype
18619 * manual/examples/strncat.c (main): Specify return type and use
18620 (void) for arguments.
18621 * manual/examples/subopt.c (main): Use char **argv argument.
18623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18626 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18629 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18632 * manual/string.texi (strchr): Change when strchrnul is
18635 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18638 * manual/locale.texi (setlocale): Document LOCPATH.
18640 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18643 * manual/process.texi (execle): Move @dots{} before last argument.
18645 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18648 * manual/charset.texi (Generic Charset Conversion): Fix typo
18649 (LC_TYPE -> LC_CTYPE).
18651 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18654 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18655 (scalbnf): Likewise.
18656 (scalbnl): Likewise.
18657 (scalbln): Likewise.
18658 (scalblnf): Likewise.
18659 (scalblnl): Likewise.
18660 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18661 (vwarnx): Likewise.
18664 * manual/filesys.texi (telldir): Use braces around return type.
18665 * manual/llio.texi (mmap): Add space after comma.
18666 (mmap64): Likewise.
18667 * manual/math.texi (jn): Use @var{} on parameter names.
18673 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18675 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18677 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18678 (sched_get_priority_max): Likewise.
18679 * manual/signal.texi (sigvec): Add space after comma.
18680 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18682 (if_indextoname): Likewise.
18683 (if_freenameindex): Likewise.
18684 (sendto): Use ',' instead of '.' in prototype.
18685 * manual/startup.texi (syscall): Use @dots{} instead of literal
18687 * manual/stdio.texi (__fpending): Separate initial words of
18688 paragraph from @deftypefun line.
18689 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18691 (vsyslog): Use @var{} on parameter names.
18692 * manual/terminal.texi (stty): Use @var{} on parameter names.
18693 * manual/users.texi (getutmp): Use @var{} on parameter names.
18694 (getutmpx): Likewise.
18696 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18699 * manual/stdio.texi (fopen): Fix typos in description of
18702 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18705 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18706 get clock_id definition.
18708 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18711 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18712 (madvise): Cast every argument to void on its own.
18714 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18717 * manual/startup.texi (Exit Status): Fix typo.
18719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18722 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18723 * manual/examples/argp-ex2.c: Likewise.
18724 * manual/examples/argp-ex3.c: Likewise.
18726 2012-02-16 Richard Henderson <rth@redhat.com>
18728 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18729 * sysdeps/s390/s390-32/initfini.c: Remove.
18730 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18731 * sysdeps/s390/s390-64/initfini.c: Remove.
18733 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18735 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18736 compiler output for sysdeps/generic/initfini.c.
18737 * sysdeps/sh/elf/initfini.c: Remove file.
18739 2012-02-16 David S. Miller <davem@davemloft.net>
18742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18744 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18745 * sysdeps/sparc/crti.S: New file.
18746 * sysdeps/sparc/crtn.S: New file.
18747 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18748 * sysdeps/sparc/sparc64/Makefile: Likewise.
18750 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18753 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18755 2012-02-15 Roland McGrath <roland@hack.frob.com>
18758 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18760 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18761 (write, read, close): Likewise.
18762 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18764 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18766 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18767 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18769 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18771 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18775 2012-02-14 Marek Polacek <polacek@redhat.com>
18777 * sysdeps/x86_64/crti.S: New file.
18778 * sysdeps/x86_64/crtn.S: New file.
18779 * sysdeps/x86_64/elf/initfini.c: Remove file.
18781 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18783 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18784 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18785 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18786 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18788 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18792 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18795 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18797 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18799 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18803 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18805 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18806 __feraiseexcept instead of feraiseexcept.
18808 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18809 nanosleep invocations.
18810 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18811 strings, and add error checking for a nanosleep invocations.
18813 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18815 Replace FSF snail mail address with URLs, as per GNU coding standards.
18816 Most of the snail mail addresses were wrong anyway, and omitting
18817 them makes the source code easier to maintain. Almost all of the
18818 changes are to license notices and to locale LC_IDENTIFICATION
18819 addresses, except for this one:
18820 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18821 not its snail mail address.
18823 2012-02-09 Richard Henderson <rth@twiddle.net>
18825 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18826 of kernel-features.h.
18828 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18830 2012-02-08 Marek Polacek <polacek@redhat.com>
18832 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18833 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18834 * sysdeps/gnu/_G_config.h: Likewise.
18835 * sysdeps/generic/_G_config.h: Likewise.
18837 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18839 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18843 * sysdeps/powerpc/powerpc32/crti.S: New file.
18844 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18845 * sysdeps/powerpc/powerpc64/crti.S: New file.
18846 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18848 * Makeconfig (have-initfini): Don't set.
18849 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18850 * configure.in (nopic_initfini): Don't substitute.
18851 * config.h.in (HAVE_INITFINI): Don't #undef.
18852 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18853 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18855 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18857 Support crti.S and crtn.S provided directly by architectures.
18858 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18859 [crti.S in sysdirs] (omit-deps): Likewise.
18860 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18861 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18862 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18863 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18864 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18865 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18866 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18867 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18868 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18869 compiler output for sysdeps/generic/initfini.c.
18870 * sysdeps/i386/elf/Makefile: Remove file.
18871 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18873 2012-02-07 Marek Polacek <polacek@redhat.com>
18875 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18876 * sysdeps/gnu/_G_config.h: Likewise.
18877 * sysdeps/mach/hurd/_G_config.h: Likewise.
18879 2012-02-07 Marek Polacek <polacek@redhat.com>
18881 * math/Makefile (tests): Add tst-CMPLX2.
18882 * math/tst-CMPLX2.c: New file.
18884 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18886 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18888 * math/libm-test.inc (jn_test): Add missing L suffix.
18890 2012-02-06 Marek Polacek <polacek@redhat.com>
18892 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18893 * sysdeps/i386/fpu/e_powf.S: Likewise.
18894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18895 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18896 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18897 * sysdeps/i386/fpu/e_pow.S: Likewise.
18898 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18899 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18900 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18901 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18902 * sysdeps/i386/fpu/e_log2.S: Likewise.
18903 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18904 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18905 * sysdeps/i386/fpu/e_powl.S: Likewise.
18906 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18907 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18908 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18909 * sysdeps/i386/fpu/e_logl.S: Likewise.
18910 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18911 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18912 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18913 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18914 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18915 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18916 * sysdeps/i386/fpu/e_log.S: Likewise.
18917 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18919 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18920 * sysdeps/i386/fpu/e_logf.S: Likewise.
18921 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18923 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18924 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18925 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18926 * sysdeps/i386/fpu/e_log10.S: Likewise.
18927 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18928 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18929 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18930 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18931 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18932 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18933 * sysdeps/i386/asm-syntax.h: Likewise.
18934 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18936 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18937 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18938 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18940 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18941 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18942 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18943 * sysdeps/powerpc/sysdep.h: Likewise.
18944 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18945 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18947 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18952 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18954 * sysdeps/i386/sysdep.h: Include <features.h>.
18955 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18958 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18960 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18962 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18965 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18967 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18968 (SETUP_PIC_REG): Use GET_PC_THUNK.
18969 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18972 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18974 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18975 for non-PIC compilation.
18976 (SETUP_PIC_REG): Add .p2align directive.
18977 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18978 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18982 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18983 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18985 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18986 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18987 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18988 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18989 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18990 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18991 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18992 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18993 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18994 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18995 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18996 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18997 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18999 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19000 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19003 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19005 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19006 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19007 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19008 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19009 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19010 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19011 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19012 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19013 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19014 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19015 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19016 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19017 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19019 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19021 * math/tst-CMPLX.c: Include <stdio.h>.
19023 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19025 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19027 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19028 * sysdeps/sparc/bits/mathdef.h: Likewise.
19030 2012-01-31 Marek Polacek <polacek@redhat.com>
19032 * libio/libio.h: Don't define _PARAMS.
19033 * locale/programs/config.h: Don't define PARAMS.
19034 * stdlib/strtol_l.c: Likewise.
19035 (__strtol_l): Remove PARAMS from the prototype.
19037 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19039 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19040 names. Just use the correct names. Remove unnecessary wrapper
19042 * malloc/arena.c: Likewise.
19043 * malloc/hooks.c: Likewise.
19045 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19046 ARENA_TEST says not to. Simplify test for creation of a new arena.
19047 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19049 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19051 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19053 (update_get_addr): New function.
19054 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19055 GET_ADDR_MODULE parameter.
19057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19059 * crypt/cert.c: Remove __STDC__ conditionals.
19060 * crypt/crypt-entry.c: Likewise.
19061 * crypt/crypt_util.c: Likewise.
19062 * libio/filedoalloc.c: Likewise.
19063 * libio/fileops.c: Likewise.
19064 * libio/genops.c: Likewise.
19065 * libio/iofclose.c: Likewise.
19066 * libio/iofdopen.c: Likewise.
19067 * libio/iofopen.c: Likewise.
19068 * libio/iofopen64.c: Likewise.
19069 * libio/iogetdelim.c: Likewise.
19070 * libio/iopopen.c: Likewise.
19071 * libio/obprintf.c: Likewise.
19072 * libio/oldfileops.c: Likewise.
19073 * libio/oldiofclose.c: Likewise.
19074 * libio/oldiofdopen.c: Likewise.
19075 * libio/oldiofopen.c: Likewise.
19076 * libio/oldiopopen.c: Likewise.
19077 * libio/wfiledoalloc.c: Likewise.
19078 * libio/wgenops.c: Likewise.
19079 * locale/programs/xmalloc.c: Likewise.
19080 * misc/syslog.c: Likewise.
19081 * stdio-common/xbug.c: Likewise.
19082 * string/memchr.c: Likewise.
19083 * string/memcmp.c: Likewise.
19084 * string/memrchr.c: Likewise.
19085 * string/rawmemchr.c: Likewise.
19086 * sysdeps/posix/getcwd.c: Likewise.
19087 * time/strftime_l.c: Likewise.
19089 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19091 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19092 * config.make.in (config-cflags-sse2avx): Define.
19093 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19096 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19098 * scripts/config.guess: Update from upstream config git repository.
19099 * scripts/config.sub: Likewise.
19101 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19103 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19105 (R_TILEPRO_*, R_TILEGX_*): New macros.
19107 * scripts/firstversions.awk: Fix bug in version range handling.
19109 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19111 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19113 * include/sys/epoll.h: New file.
19114 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19117 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19119 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19120 Avoid unnecessary __WORDSIZE == 64 test.
19121 (fmaxf): Use VEX format if possible.
19126 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19127 * math/math_private.h: Remove libc_fegetround* and
19129 * sysdeps/i386/configure.in: Check for -msse2avx.
19130 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19131 also if SSE2AVX is defined.
19132 Remove libc_fegetround* and libc_fesetround*.
19133 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19134 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19138 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19143 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19145 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19147 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19149 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19151 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19154 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19156 * Makeconfig (libm): Define.
19157 * elf/Makefile: Add rules to build and run tst-relsort1.
19158 * elf/tst-relsort1.c: New file.
19159 * elf/tst-relsort1mod1.c: New file.
19160 * elf/tst-relsort1mod2.c: New file.
19162 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19164 * math/s_ldexp.c: Remove __STDC__ conditionals.
19165 * math/s_ldexpf.c: Likewise.
19166 * math/s_ldexpl.c: Likewise.
19167 * math/s_nextafter.c: Likewise.
19168 * math/s_nexttowardf.c: Likewise.
19169 * math/s_significand.c: Likewise.
19170 * math/s_significandf.c: Likewise.
19171 * math/s_significandl.c: Likewise.
19172 * math/w_jnl.c: Likewise.
19173 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19174 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19175 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19176 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19177 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19194 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19201 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19202 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19203 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19204 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19205 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19207 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19209 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19211 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19212 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19213 * sysdeps/ieee754/k_standard.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19235 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19236 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19280 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19289 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19293 * sysdeps/ieee754/s_matherr.c: Likewise.
19294 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19295 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19299 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19301 * crypt/md5.h: Remove __STDC__ conditionals.
19302 * libio/libioP.h: Likewise.
19303 * locale/programs/config.h: Likewise.
19304 * sysdeps/generic/sysdep.h: Likewise.
19305 * sysdeps/i386/asm-syntax.h: Likewise.
19306 * sysdeps/s390/asm-syntax.h: Likewise.
19307 * sysdeps/unix/sysdep.h: Likewise.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19311 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19313 * libio/libio.h: Remove __STDC__ conditionals.
19314 * malloc/obstack.h: Likewise.
19315 * math/complex.h: Likewise.
19316 * math/math.h: Likewise.
19317 * sysdeps/generic/_G_config.h: Likewise.
19318 * sysdeps/gnu/_G_config.h: Likewise.
19319 * sysdeps/mach/hurd/_G_config.h: Likewise.
19320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19321 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19322 * sysdeps/sparc/bits/mathdef.h: Likewise.
19324 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19327 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19328 Clean up HAS_* macros.
19329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19330 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19340 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19342 * elf/tst-unique3.cc (gets): Remove declaration.
19343 * elf/tst-unique3lib.cc (gets): Likewise.
19344 * elf/tst-unique3lib2.cc (gets): Likewise.
19345 * elf/tst-unique4.cc (gets): Likewise.
19347 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19349 * include/stdio.h: Add C++ protection. Add gets declarations and
19351 * debug/tst-chk1.c: Don't declare gets here.
19352 * stdio-common/tst-gets.c: Likewise.
19354 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19356 * posix/glob: Remove directory.
19358 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19360 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19362 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19364 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19365 of the non-standard EPFNOSUPPORT.
19367 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19369 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19370 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19371 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19373 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19375 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19377 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19379 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19381 * nscd/grpcache.c (cache_addgr): Likewise.
19382 * nscd/hstcache.c (cache_addhst): Likewise.
19383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19384 * nscd/pwdcache.c (cache_addpw): Likewise.
19385 * nscd/servicescache.c (cache_addserv): Likewise.
19387 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19389 * malloc/malloc.c: Various cleanups.
19390 * malloc/hooks.c: Likewise.
19392 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19393 * stdlib/bug-fmtmsg1.c: New file.
19395 * stdlib/fmtmsg.c (init): Add missing unlock.
19396 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19398 2012-01-12 Marek Polacek <polacek@redhat.com>
19400 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19403 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19405 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19406 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19407 macro to ensure uniqueness of label name.
19408 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19409 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19411 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19413 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19415 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19420 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19422 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19424 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19425 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19428 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19431 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19432 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19435 * math/bits/math-finite.h: Add ldexp support.
19437 2012-01-10 Marek Polacek <polacek@redhat.com>
19439 * locale/programs/localedef.h (show_archive_content): Add noreturn
19442 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19444 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19446 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19448 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19450 * io/Makefile (headers): Add bits/poll2.h.
19452 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19455 typo #include statement.
19457 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19459 * include/sys/cdefs.h: Define __attribute_alloc_size.
19460 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19461 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19462 * elf/pldd.c: Likewise.
19463 * iconv/iconv_charmap.c: Likewise.
19464 * iconv/iconvconfig.c: Likewise.
19465 * iconv/strtab.c: Likewise.
19466 * locale/programs/locale.c: Likewise.
19467 * locale/programs/localedef.h: Likewise.
19468 * locale/programs/simple-hash.c: Likewise.
19469 * nscd/nscd.h: Likewise.
19470 * nss/makedb.c: Likewise.
19471 * sysdeps/generic/ldconfig.h: Likewise.
19472 * locale/programs/localedef.c: Remove xmalloc prototype.
19473 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19475 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19477 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19480 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19482 * math/Makefile (tests): Add tst-CMPLX.
19483 * math/tst-CMPLX.c: New file.
19485 * math/complex.h (CMPLXL): Fix typo.
19487 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19488 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19490 * debug/tst-chk1.c: Add poll and ppoll tests.
19491 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19492 * include/sys/poll.h: Add hidden proto for ppoll.
19493 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19494 * sysdeps/mach/hurd/ppoll.c: Likewise.
19495 * io/ppoll.c: Likewise.
19496 * debug/poll_chk.c: New file.
19497 * debug/ppoll_chk.c: New file.
19498 * include/bits/poll2.h: New file.
19499 * io/bits/poll2.h: New file.
19502 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19504 * configure.in: static is always set to yes. Remove.
19505 * config.make.in: Don't set build-static.
19506 * Makeconfig: Remove use of build-static.
19507 * dlfcn/Makefile: Likewise.
19508 * elf/Makefile: Likewise.
19509 * math/Makefile: Likewise.
19510 * misc/Makefile: Likewise.
19511 * nptl/Makefile: Likewise.
19512 * sysdeps/mach/hurd/Makefile: Likewise.
19514 * configure.in: PWD_P is not used anymore.
19515 * config.make.in: Remove PWD_P entry.
19517 * configure.in: Remove last remnants of RANLIB.
19518 No need to check for signed size_t anymore.
19519 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19521 Remove __builtin_expect test because we require at least gcc 3.4.
19522 * aclocal.m4: Likewise.
19524 * wcsmbs/mbrtoc16.c: Implement using towc function.
19525 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19526 * wcsmbs/wcsmbsload.c: Likewise.
19527 * iconv/gconv_simple.c: Likewise.
19528 * iconv/gconv_int.h: Likewise.
19529 * iconv/gconv_builtin.h: Likewise.
19530 * iconv/iconv_prog.c: Remove CHAR16 handling.
19532 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19534 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19536 * configure.in: Remove --with-elf and --enable-bounded options.
19537 Dont set base_machine for ia64. More non-ELF conditions removed.
19538 Remove testing and setting of leading underscore information.
19539 * config.make.in (build-bounded): Set to no.
19540 * config.h.in: Remove NO_UNDERSCORES entry.
19541 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19543 * csu/start.c: Remove !NO_UNDERSCORE code.
19544 * locale/localeinfo.h: Likewise.
19545 * sysdeps/generic/machine-gmon.h: Likewise.
19546 * sysdeps/generic/sysdep.h: Likewise.
19547 * sysdeps/i386/sysdep.h: Likewise.
19548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19549 * sysdeps/mach/sysdep.h: Likewise.
19550 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19551 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19552 * sysdeps/sh/sysdep.h: Likewise.
19553 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19554 * sysdeps/unix/i386/sysdep.S: Likewise.
19555 * sysdeps/unix/sparc/start.c: Likewise.
19556 * sysdeps/unix/sparc/sysdep.S: Likewise.
19557 * sysdeps/unix/sparc/sysdep.h: Likewise.
19558 * sysdeps/unix/start.c: Likewise.
19559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19560 * sysdeps/x86_64/sysdep.h: Likewise.
19562 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19565 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19567 * argp/argp-fmtstream.h: Use const instead __const.
19568 * argp/argp.h: Likewise.
19569 * assert/assert.h: Likewise.
19570 * bits/fenv.h: Likewise.
19571 * bits/sched.h: Likewise.
19572 * bits/sigset.h: Likewise.
19573 * bits/sigthread.h: Likewise.
19574 * catgets/nl_types.h: Likewise.
19575 * conform/data/pthread.h-data: Likewise.
19576 * crypt/crypt-private.h: Likewise.
19577 * crypt/crypt.h: Likewise.
19578 * crypt/crypt_util.c: Likewise.
19579 * ctype/ctype.h: Likewise.
19580 * debug/execinfo.h: Likewise.
19581 * debug/mbsnrtowcs_chk.c: Likewise.
19582 * debug/mbsrtowcs_chk.c: Likewise.
19583 * debug/wcsnrtombs_chk.c: Likewise.
19584 * debug/wcsrtombs_chk.c: Likewise.
19585 * debug/wcstombs_chk.c: Likewise.
19586 * dirent/dirent.h: Likewise.
19587 * dlfcn/dlfcn.h: Likewise.
19588 * elf/neededtest4.c: Likewise.
19589 * grp/grp.h: Likewise.
19590 * gshadow/gshadow.h: Likewise.
19591 * iconv/gconv.h: Likewise.
19592 * iconv/gconv_int.h: Likewise.
19593 * iconv/gconv_simple.c: Likewise.
19594 * iconv/iconv.h: Likewise.
19595 * iconv/loop.c: Likewise.
19596 * iconv/skeleton.c: Likewise.
19597 * include/aio.h: Likewise.
19598 * include/aliases.h: Likewise.
19599 * include/argz.h: Likewise.
19600 * include/arpa/inet.h: Likewise.
19601 * include/assert.h: Likewise.
19602 * include/dirent.h: Likewise.
19603 * include/dlfcn.h: Likewise.
19604 * include/execinfo.h: Likewise.
19605 * include/fcntl.h: Likewise.
19606 * include/fenv.h: Likewise.
19607 * include/glob.h: Likewise.
19608 * include/grp.h: Likewise.
19609 * include/libintl.h: Likewise.
19610 * include/mntent.h: Likewise.
19611 * include/netdb.h: Likewise.
19612 * include/pwd.h: Likewise.
19613 * include/rpc/netdb.h: Likewise.
19614 * include/sched.h: Likewise.
19615 * include/search.h: Likewise.
19616 * include/shadow.h: Likewise.
19617 * include/signal.h: Likewise.
19618 * include/stdio.h: Likewise.
19619 * include/stdlib.h: Likewise.
19620 * include/string.h: Likewise.
19621 * include/sys/socket.h: Likewise.
19622 * include/sys/stat.h: Likewise.
19623 * include/sys/statfs.h: Likewise.
19624 * include/sys/statvfs.h: Likewise.
19625 * include/sys/syslog.h: Likewise.
19626 * include/sys/time.h: Likewise.
19627 * include/sys/uio.h: Likewise.
19628 * include/time.h: Likewise.
19629 * include/unistd.h: Likewise.
19630 * include/utmp.h: Likewise.
19631 * include/wchar.h: Likewise.
19632 * include/wctype.h: Likewise.
19633 * inet/aliases.h: Likewise.
19634 * inet/arpa/inet.h: Likewise.
19635 * inet/netinet/ether.h: Likewise.
19636 * inet/netinet/in.h: Likewise.
19637 * intl/libintl.h: Likewise.
19638 * io/bits/fcntl2.h: Likewise.
19639 * io/fcntl.h: Likewise.
19640 * io/ftw.h: Likewise.
19641 * io/sys/poll.h: Likewise.
19642 * io/sys/stat.h: Likewise.
19643 * io/sys/statfs.h: Likewise.
19644 * io/sys/statvfs.h: Likewise.
19645 * io/utime.h: Likewise.
19646 * libio/bits/stdio.h: Likewise.
19647 * libio/bits/stdio2.h: Likewise.
19648 * libio/libio.h: Likewise.
19649 * libio/libioP.h: Likewise.
19650 * libio/stdio.h: Likewise.
19651 * locale/lc-ctype.c: Likewise.
19652 * locale/locale.h: Likewise.
19653 * login/utmp.h: Likewise.
19654 * malloc/arena.c: Likewise.
19655 * malloc/malloc.c: Likewise.
19656 * malloc/malloc.h: Likewise.
19657 * malloc/mcheck.c: Likewise.
19658 * malloc/mtrace.c: Likewise.
19659 * math/bits/mathcalls.h: Likewise.
19660 * math/fenv.h: Likewise.
19661 * math/math_private.h: Likewise.
19662 * misc/bits/error.h: Likewise.
19663 * misc/bits/syslog.h: Likewise.
19664 * misc/err.h: Likewise.
19665 * misc/error.h: Likewise.
19666 * misc/fstab.h: Likewise.
19667 * misc/mntent.h: Likewise.
19668 * misc/regexp.h: Likewise.
19669 * misc/search.h: Likewise.
19670 * misc/sgtty.h: Likewise.
19671 * misc/sys/mman.h: Likewise.
19672 * misc/sys/syslog.h: Likewise.
19673 * misc/sys/uio.h: Likewise.
19674 * misc/sys/xattr.h: Likewise.
19675 * misc/ttyent.h: Likewise.
19676 * nis/rpcsvc/ypclnt.h: Likewise.
19677 * nss/nss.h: Likewise.
19678 * posix/bits/unistd.h: Likewise.
19679 * posix/fnmatch.h: Likewise.
19680 * posix/glob.h: Likewise.
19681 * posix/sched.h: Likewise.
19682 * posix/spawn.h: Likewise.
19683 * posix/sys/wait.h: Likewise.
19684 * posix/unistd.h: Likewise.
19685 * posix/wordexp.h: Likewise.
19686 * pwd/pwd.h: Likewise.
19687 * resolv/netdb.h: Likewise.
19688 * resource/sys/resource.h: Likewise.
19689 * rt/aio.h: Likewise.
19690 * rt/bits/mqueue2.h: Likewise.
19691 * rt/mqueue.h: Likewise.
19692 * shadow/shadow.h: Likewise.
19693 * signal/signal.h: Likewise.
19694 * socket/send.c: Likewise.
19695 * socket/sendto.c: Likewise.
19696 * socket/sys/socket.h: Likewise.
19697 * stdio-common/printf.h: Likewise.
19698 * stdlib/bits/stdlib.h: Likewise.
19699 * stdlib/fmtmsg.h: Likewise.
19700 * stdlib/monetary.h: Likewise.
19701 * stdlib/stdlib.h: Likewise.
19702 * stdlib/ucontext.h: Likewise.
19703 * streams/stropts.h: Likewise.
19704 * string/argz.h: Likewise.
19705 * string/bits/string2.h: Likewise.
19706 * string/string.h: Likewise.
19707 * string/strings.h: Likewise.
19708 * sunrpc/rpc/auth.h: Likewise.
19709 * sunrpc/rpc/auth_des.h: Likewise.
19710 * sunrpc/rpc/clnt.h: Likewise.
19711 * sunrpc/rpc/netdb.h: Likewise.
19712 * sunrpc/rpc/pmap_clnt.h: Likewise.
19713 * sunrpc/rpc/xdr.h: Likewise.
19714 * sysdeps/generic/inttypes.h: Likewise.
19715 * sysdeps/generic/net/if.h: Likewise.
19716 * sysdeps/generic/sys/swap.h: Likewise.
19717 * sysdeps/gnu/net/if.h: Likewise.
19718 * sysdeps/gnu/utmpx.h: Likewise.
19719 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19720 * sysdeps/i386/i486/bits/string.h: Likewise.
19721 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19722 * sysdeps/s390/bits/string.h: Likewise.
19723 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19724 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19725 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19726 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19727 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19728 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19729 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19730 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19731 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19732 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19733 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19734 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19735 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19736 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19737 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19738 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19739 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19741 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19743 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19744 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19745 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19746 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19747 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19748 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19749 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19751 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19753 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19754 * sysvipc/sys/ipc.h: Likewise.
19755 * sysvipc/sys/msg.h: Likewise.
19756 * sysvipc/sys/sem.h: Likewise.
19757 * sysvipc/sys/shm.h: Likewise.
19758 * termios/termios.h: Likewise.
19759 * time/sys/time.h: Likewise.
19760 * time/time.h: Likewise.
19761 * wcsmbs/bits/wchar2.h: Likewise.
19762 * wcsmbs/uchar.h: Likewise.
19763 * wcsmbs/wchar.h: Likewise.
19764 * wctype/wctype.h: Likewise.
19767 * Makeconfig: Remove all but ELF support including AIX support.
19768 * Makerules: Likewise.
19769 * config.h.in: Likewise.
19770 * config.make.in: Likewise.
19771 * configure: Likewise.
19772 * configure.in: Likewise.
19773 * csu/Makefile: Likewise.
19774 * csu/version.c: Likewise.
19775 * debug/Makefile: Likewise.
19776 * dlfcn/Makefile: Likewise.
19777 * elf/Makefile: Likewise.
19778 * extra-lib.mk: Likewise.
19779 * iconv/Makefile: Likewise.
19780 * include/libc-symbols.h: Likewise.
19781 * include/shlib-compat.h: Likewise.
19782 * resolv/Makefile: Likewise.
19783 * resolv/res_libc.c: Likewise.
19784 * rt/Makefile: Likewise.
19785 * sysdeps/i386/asm-syntax.h: Likewise.
19786 * sysdeps/i386/sysdep.h: Likewise.
19787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19788 * sysdeps/mach/sysdep.h: Likewise.
19789 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19790 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19791 * sysdeps/s390/asm-syntax.h: Likewise.
19792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19794 * sysdeps/sh/sysdep.h: Likewise.
19795 * sysdeps/unix/sparc/sysdep.h: Likewise.
19796 * sysdeps/wordsize-32/divdi3.c: Likewise.
19797 * sysdeps/x86_64/sysdep.h: Likewise.
19799 * argp/Versions: Remove _argp_unlock_xxx.
19802 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19803 * abilist/libBrokenLocale.abilist: Likewise.
19804 * abilist/libanl.abilist: Likewise.
19805 * abilist/libc.abilist: Likewise.
19806 * abilist/libcrypt.abilist: Likewise.
19807 * abilist/libdl.abilist: Likewise.
19808 * abilist/libm.abilist: Likewise.
19809 * abilist/libnsl.abilist: Likewise.
19810 * abilist/libpthread.abilist: Likewise.
19811 * abilist/libresolv.abilist: Likewise.
19812 * abilist/librt.abilist: Likewise.
19813 * abilist/libthread_db.abilist: Likewise.
19814 * abilist/libutil.abilist: Likewise.
19815 * abilist/libnss_db.abilist: New file.
19817 * scripts/abilist.awk: Add support for indirect functions.
19819 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19821 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19823 * shlib-versions: Remove entries for ports architectures.
19825 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19827 * elf/stackguard-macros.h: Remove support for IA-64.
19828 * elf/tst-auditmod1.c: Likewise.
19829 * sysdeps/generic/ldsodefs.h: Likewise.
19831 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19832 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19836 * configure.in: Remove --enable-omitfp support.
19838 * config.make.in: Likewise.
19839 * Makeconfig: Likewise.
19840 * manual/install.texi: Likewise.
19842 In case anyone cares, the IA-64 architecture could move to ports.
19843 * sysdeps/ia64/*: Removed.
19844 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19845 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19848 * configure.in: Remove entries for unsupported architectures.
19851 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19852 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19854 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19855 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19856 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19857 fall back to using wcrtomb.
19858 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19859 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19861 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19862 * wcsmbs/tst-c16c32-1.c: New file.
19864 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19867 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19869 * elf/tst-unique3.cc: Add explicit declaration of gets.
19870 * elf/tst-unique3lib.cc: Likewise.
19871 * elf/tst-unique3lib2.cc: Likewise.
19872 * elf/tst-unique4.cc: Likewise.
19874 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19876 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19879 * assert/assert.h (static_assert): Don't define for C++.
19880 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19881 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19883 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19885 * iconv/loop.c (single loop): Fix assertion in storing of
19888 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19890 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19892 * posix/getconf.c: Update copyright year.
19893 * nss/getent.c: Likewise.
19894 * nss/makedb.c: Likewise.
19895 * iconv/iconvconfig.c: Likewise.
19896 * iconv/iconv_prog.c: Likewise.
19897 * elf/ldconfig.c: Likewise.
19898 * elf/pldd.c: Likewise.
19899 * elf/sotruss.ksh: Likewise.
19900 * catgets/gencat.c: Likewise.
19901 * csu/version.c: Likewise.
19902 * elf/ldd.bash.in: Likewise.
19903 * elf/sprof.c (print_version): Likewise.
19904 * locale/programs/locale.c: Likewise.
19905 * locale/programs/localedef.c: Likewise.
19906 * login/programs/pt_chown.c: Likewise.
19907 * nscd/nscd.c (print_version): Likewise.
19908 * debug/xtrace.sh: Likewise.
19909 * malloc/memusage.sh: Likewise.
19910 * malloc/mtrace.pl: Likewise.
19911 * debug/catchsegv.sh: Likewise.
19913 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19915 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19918 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19921 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19922 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19924 * iconv/gconv_int.h: Likewise.
19925 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19926 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19927 from libc for GLIBC_2.16.
19928 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19929 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19930 * wcsmbs/uchar.h: Really define mbstate_t.
19931 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19932 * wcsmbs/c16rtomb.c: New file.
19933 * wcsmbs/mbrtoc16.c: New file.
19934 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19935 for C/POSIX locale.
19936 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19937 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19939 * wcsmbs/wchar.h: Add missing __restrict.
19941 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19944 * time/Makefile (routines): Add timespec_get.
19945 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19946 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19947 timespec for ISO C11.
19948 * time/timespec_get.c: New file.
19949 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19950 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19953 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19954 * stdlib/stdlib.h: Declare aligned_alloc.
19955 * Versions.def: Add GLIBC_2.16 for libc.
19956 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19959 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19962 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19966 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19969 * assert/assert.h (static_assert): Define.
19971 * version.h: Update for 2.16 development version.
19974 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19977 * version.h (RELEASE): Bump for 2.15 release.
19978 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19980 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19981 Patch by Marek Polacek <mpolacek@redhat.com>.
19983 * bits/byteswap.h: Protect long long constants with __extension__.
19984 * sysdeps/i386/bits/byteswap.h: Likewise.
19985 * sysdeps/ia64/bits/byteswap.h: Likewise.
19986 * sysdeps/s390/bits/byteswap.h: Likewise.
19987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19989 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19993 destination buffer.
19994 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19996 2011-12-23 Marek Polacek <polacek@redhat.com>
19998 * elf/dl-addr.c (determine_info): Add inline keyword.
19999 * elf/tst-auditmod4b.c (check_avx): Likewise.
20000 * elf/tst-auditmod6b.c (check_avx): Likewise.
20001 * elf/tst-auditmod6c.c (check_avx): Likewise.
20002 * elf/tst-auditmod7b.c (check_avx): Likewise.
20004 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20009 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20012 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20013 processing for last bytes.
20015 2011-08-06 Bruno Haible <bruno@clisp.org>
20018 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20019 U+0385, not to U+1FEE.
20022 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20023 entry for U+00A5 U+0301.
20025 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20028 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20029 buffer for the output is too small.
20031 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20035 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20036 SSE flags if possible.
20038 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20042 processing for last bytes.
20044 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20046 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20047 (syscall-list-default-options, syscall-list-default-condition)
20048 (syscall-list-includes): Define.
20049 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20050 list of ABIs and options and #if conditions for each ABI. Do not
20051 handle common syscalls between ABIs specially.
20052 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20054 (syscall-list-variants, syscall-list-32bit-options)
20055 (syscall-list-32bit-condition, syscall-list-64bit-options)
20056 (syscall-list-64bit-condition): Define.
20057 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20058 (syscall-list-variants, syscall-list-32bit-options)
20059 (syscall-list-32bit-condition, syscall-list-64bit-options)
20060 (syscall-list-64bit-condition): Define.
20061 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20063 (syscall-list-variants, syscall-list-32bit-options)
20064 (syscall-list-32bit-condition, syscall-list-64bit-options)
20065 (syscall-list-64bit-condition): Define.
20066 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20068 (syscall-list-variants, syscall-list-32bit-options)
20069 (syscall-list-32bit-condition, syscall-list-64bit-options)
20070 (syscall-list-64bit-condition): Define.
20072 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20074 * locale/iso-639.def: Add brx entry.
20077 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20078 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20080 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20081 __feraiseexcept_renamed.
20083 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20086 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20087 EPOLLET with unsigned values.
20088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20091 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20092 to large cancellation.
20093 * math/s_cacoshf.c: Likewise.
20094 * math/s_cacoshl.c: Likewise.
20096 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20100 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20101 * math/s_cacoshf.c: Likewise.
20102 * math/s_cacoshl.c: Likewise.
20104 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20107 * iconv/gconv.h: Define __GCONV_SWAP.
20108 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20109 * iconvdata/utf-16.c: Likewise.
20110 * iconvdata/utf-32.c: Likewise.
20112 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20116 numerator after shifting it by one limb.
20118 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20121 under [__USE_EXTERN_INLINES].
20123 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20126 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20128 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20130 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20131 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20133 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20134 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20135 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20136 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20137 for strncasecmp/strncasecmp_l compilation.
20138 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20139 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20141 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20144 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20147 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20150 * time/tzfile.c (__tzfile_read): Check values from file header.
20152 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20154 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20155 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20156 * powerpc/powerpc32/dl-start.S: Likewise.
20157 * powerpc/powerpc32/elf/start.S: Likewise.
20158 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20159 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20160 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20161 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20162 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20163 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20164 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20165 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20166 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20167 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20168 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20169 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20170 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20171 * powerpc/powerpc32/memset.S: Likewise.
20172 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20173 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20174 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20175 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20176 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20177 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20178 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20179 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20180 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20181 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20182 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20183 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20184 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20186 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188 * math/libm-test.inc: Added more nearbyint tests.
20189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20194 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20196 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20199 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20201 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20202 Add wcscpy-ssse3 wcscpy-c.
20203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20204 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20205 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20206 * sysdeps/x86_64/wcschr.S: New file.
20207 * sysdeps/x86_64/wcsrchr.S: New file.
20208 * string/test-strcmp.c: Remove checking of wcscmp function for
20210 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20211 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20212 wcsrchr-sse2 wcsrchr-c.
20213 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20214 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20215 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20216 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20217 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20218 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20219 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20220 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20222 * wcsmbc/wcschr.c (WCSCHR): New macro.
20224 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20226 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20227 * wcsmbs/test-wcsrchr.c: New file.
20228 * string/test-strrchr.c: Add wcsrchr support.
20230 * wcsmbs/test-wcscpy.c: New file.
20231 * string/test-strcpy.c: Add wcscpy support.
20234 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20236 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20239 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20242 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20244 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20247 Minor optimizations.
20249 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20250 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20251 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20253 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20255 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20256 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20257 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20258 for gcc to avoid warnings.
20259 * inet/Makefile (tests): Add tst-checks.
20260 * inet/tst-checks.c: New file.
20262 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20265 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20268 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20269 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20271 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20273 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20275 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20278 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20280 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20282 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20283 conditional on GCC version.
20284 (__arch_compare_and_exchange_val_8_acq)
20285 (__arch_compare_and_exchange_val_16_acq)
20286 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20287 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20288 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20290 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20292 * sysdeps/sh/backtrace.c: New file.
20294 2011-12-02 Andreas Schwab <schwab@redhat.com>
20296 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20299 2011-12-01 Andreas Schwab <schwab@redhat.com>
20301 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20302 falling back to utime.
20304 2011-11-30 Andreas Schwab <schwab@redhat.com>
20306 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20307 expectations for float.
20309 2011-11-29 Andreas Schwab <schwab@redhat.com>
20311 * locale/weight.h (findidx): Add parameter len.
20312 * locale/weightwc.h (findidx): Likewise.
20313 * posix/fnmatch_loop.c (FCT): Adjust caller.
20314 * posix/regcomp.c (build_equiv_class): Likewise.
20315 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20316 * posix/regexec.c (check_node_accept_bytes): Likewise.
20317 * string/strcoll_l.c (STRCOLL): Likewise.
20318 * string/strxfrm_l.c (STRXFRM): Likewise.
20320 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20322 * Makefile.in: Remove CVSOPT handling.
20323 * configure.in: Remove use of AC_REVISION.
20324 * iconvdata/Makefile (distribute): No need to filter out CVS.
20325 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20328 2011-11-16 Andreas Schwab <schwab@redhat.com>
20330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20331 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20332 [USE_AS_STRNCASECMP_L]: Likewise.
20333 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20334 NO_TLS_DIRECT_SEG_REFS.
20335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20336 Fix argument offsets for non-PIC.
20337 [USE_AS_STRNCASECMP_L]: Likewise.
20338 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20339 NO_TLS_DIRECT_SEG_REFS.
20341 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20343 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20345 * locale/loadlocale.c (_nl_load_locale): Likewise.
20347 2011-11-15 Andreas Schwab <schwab@redhat.com>
20349 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20350 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20351 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20352 (SYSCALL_GETTIME): Set errno on error.
20354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20355 count references to noai6ai_cached.
20357 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20359 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20361 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20362 FD_CLOEXEC for /proc/self/maps.
20364 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20365 FD_CLOEXEC for /proc/meminfo.
20367 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20370 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20371 FD_CLOEXEC for given file.
20373 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20375 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20376 FD_CLOEXEC for /etc/hosts.
20377 (_gethtent): Likewise.
20379 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20381 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20382 cancellation and set FD_CLOEXEC for /etc/netgroup.
20384 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20385 reading /etc/publickey.
20387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20388 allow cancellation when reading /etc/group.
20390 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20392 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20394 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20395 when using data file.
20397 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20399 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20400 (write_nis_obj): Use "c" and "e" in fopen.
20402 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20404 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20406 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20408 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20410 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20413 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20415 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20417 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20419 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20420 file parsing and set FD_CLOEXEC.
20422 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20424 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20426 2011-11-14 Andreas Schwab <schwab@redhat.com>
20428 * malloc/arena.c (arena_get2): Don't call reused_arena when
20429 _int_new_arena failed.
20431 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20433 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20434 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20436 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20439 to compile strcasecmp and strncasecmp.
20440 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20441 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20445 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20447 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20448 locale-defines.sym to gen-as-const-headers.
20449 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20450 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20452 to compile strcasecmp and strncasecmp.
20453 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20454 strcasecmp_l and strncasecmp_l.
20455 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20456 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20457 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20458 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20459 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20460 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20461 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20462 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20463 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20464 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20465 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20467 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20469 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20470 result of SYSDEP_GETTIME_CPU to retval.
20471 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20472 parameter list to macro. Remove trailing semicolon. Adjust users.
20474 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20477 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20479 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20481 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20482 from unused variable.
20484 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20486 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20489 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20492 * sunrpc/rpc_prot.c (rejected): Fix case value.
20494 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20495 unsigned long long int to avoid warnings in shift.
20497 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20499 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20502 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20503 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20504 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20506 * nis/nis_table.c (nis_list): Use variable of correct type for
20507 result of __follow_path call.
20509 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20511 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20512 of math functions ceil, trunc, floor, round, and sqrt, when
20513 avaliable on the platform.
20514 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20516 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20517 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20518 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20520 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20522 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20525 2011-11-11 Roland McGrath <roland@hack.frob.com>
20527 * include/unistd.h: Fix __readlink return type.
20528 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20530 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20532 * stdlib/ucontext.h: Undo last change for makecontext.
20534 2011-11-11 Andreas Schwab <schwab@redhat.com>
20536 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20538 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20539 * setjmp/setjmp.h: Mark functions as non-leaf.
20540 * setjmp/bits/setjmp2.h: Likewise.
20541 * stdlib/ucontext.h: Likewise.
20543 2011-11-10 Andreas Schwab <schwab@redhat.com>
20545 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20546 (reused_arena): Don't check arena limit.
20547 (arena_get2): Atomically check arena limit.
20549 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20551 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20552 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20557 2011-11-07 Andreas Schwab <schwab@redhat.com>
20559 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20560 handler when locking.
20562 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20563 Fix size of allocated buffer.
20565 2011-11-04 Andreas Schwab <schwab@redhat.com>
20568 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20569 declarations for long double functions.
20570 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20572 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20574 2011-11-03 Andreas Schwab <schwab@redhat.com>
20576 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20579 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20582 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20584 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20586 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20588 * include/alloca.h (stackinfo_alloca_round): Define.
20589 (extend_alloca): Use it.
20590 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20591 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20594 * scripts/check-local-headers.sh: Ignore libaudit.h.
20596 * nscd/Makefile (extra-objs): Make recursively expanded.
20598 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20600 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20601 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20603 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20604 * posix/tst-rfc3484-2.c: Likewise.
20605 * posix/tst-rfc3484-3.c: Likewise.
20607 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20609 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20611 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20612 process_vm_writev from libc using GLIBC_2.15 version.
20614 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20616 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20618 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20621 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20624 * nss/getent.c (initgroups_keys): Show error message in case no group
20627 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20628 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20629 __bump_nl_timestamp.
20630 * nscd/connections (nscd_init): When host database is served open
20631 netlink socket and request notification about configuration changes.
20632 (main_loop_poll): Track netlink file descriptor and bump timestamp
20633 in case data becomes available.
20634 (main_loop_epoll): Likewise.
20635 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20636 (database_pers_head): Add extra_data fileds.
20637 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20638 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20639 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20642 in6ai data, call __free_in6ai.
20643 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20644 Add -DHAVE_NETLINK.
20645 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20646 interface information. Reuse previous data if netlink timestamp
20648 (__bump_nl_timestamp): New function.
20649 (__free_in6ai): New function.
20651 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20653 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20654 close_not_cancel_no_status here.
20655 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20657 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20660 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20663 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20664 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20665 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20667 2011-07-03 Andreas Jaeger <aj@suse.de>
20670 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20671 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20672 * math/libm-test.inc (sin_test): Add test case.
20674 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20677 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20680 * elf/chroot_canon.c (chroot_canon): Cleanups.
20682 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20685 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20688 * string/test-strchr.c: Make usable for strchrnul testing.
20689 * string/test-strchrnul.c: New file.
20690 * string/Makefile (strop-tests): Add strchrnul.
20692 * po/it.po: Update from translation team.
20693 * po/es.po: Likewise.
20695 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20698 the three constants needed as parameters. Drop the others.
20699 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20700 __m128i_strloadu_tolower.
20701 Create and initialize variable zero and use it in all the places
20702 where _mm_setzero_si128 was used.
20704 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20705 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20706 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20707 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20710 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20711 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20712 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20713 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20714 __mpranred, __mptan.
20715 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20716 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20717 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20718 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20719 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20720 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20723 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20725 2011-10-28 Andreas Schwab <schwab@redhat.com>
20727 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20728 redefine if SHARED.
20729 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20732 wide char related routines to wcsmbs subdir.
20734 2011-10-27 Andreas Schwab <schwab@redhat.com>
20737 * misc/sys/cdefs.h (__THROWNL): Define.
20738 * posix/unistd.h: Use __THREADNL instead of __THREAD
20739 for memory synchronization functions.
20741 2011-10-26 Roland McGrath <roland@hack.frob.com>
20744 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20746 * manual/stdio.texi (Obstack Streams): Node removed.
20748 2011-10-26 Andreas Schwab <schwab@redhat.com>
20750 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20752 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20754 * math/math_private.h (math_force_eval): Allow non-addressable
20756 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20758 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20760 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20761 file is not needed.
20763 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20770 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20772 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20773 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20775 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20777 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20778 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20779 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20780 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20781 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20782 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20785 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20786 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20787 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20788 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20789 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20790 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20792 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20793 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20796 place. Use VEX encoding when compiling for AVX.
20798 2011-10-25 Andreas Schwab <schwab@redhat.com>
20800 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20801 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20803 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20807 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20808 useless if() expression.
20809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20817 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20818 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20819 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20821 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20825 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20827 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20829 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20831 2011-10-25 Andreas Schwab <schwab@redhat.com>
20833 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20837 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20839 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20840 .text section. Avoid duplicate constants.
20841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20851 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20853 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20858 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20864 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20867 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20868 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20870 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20872 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20873 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20874 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20875 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20876 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20877 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20878 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20879 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20880 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20881 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20883 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20884 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20885 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20887 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20889 * sysdeps/x86_64/dla.h: Move to ...
20890 * sysdeps/x86_64/fpu/dla.h: ...here.
20891 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20892 situations. Use __builtin_fma only for gcc 4.6 and up.
20894 * config.make.in: Add have-mfma4 entry.
20895 * configure.in: Substitute libc_cv_cc_fma4.
20896 * math/Makefile (dbl-only-routines): Add sincostab.
20897 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20898 Use __sincostab not sincos.
20899 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20906 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20907 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20908 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20909 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20912 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20914 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20915 define aliases when function name is a macro.
20916 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20917 sysdeps/ieee754/dbl-64/sincos.tbl.
20918 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20919 fma4-enabled routines.
20920 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20921 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20922 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20923 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20924 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20925 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20927 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20929 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20930 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20931 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20932 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20933 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20935 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20936 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20937 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20938 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20939 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20940 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20941 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20943 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20944 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20946 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20947 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20949 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20951 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20962 2011-10-24 Andreas Schwab <schwab@redhat.com>
20964 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20966 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20970 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20974 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20975 Remove unused variable magic_bits.
20976 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20978 * string/strnlen.c: Define and use STRNLEN macro.
20979 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20980 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20982 * wcsmbs/wcslen.c: Define and use WCSLEN.
20983 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20984 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20985 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20986 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20987 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20988 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20989 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20991 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20994 strnlen-sse2-no-bsf.
20995 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20997 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20998 Add strnlen support.
20999 (USE_AS_STRNLEN): New macro.
21000 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21001 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21002 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21003 * sysdeps/x86_64/wcslen.S: New file.
21005 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21008 XMM-moves are used for copying on small sizes.
21010 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21012 * wcsmbs/Makefile (strop-tests): Add wcschr.
21013 * wcsmbs/test-wcschr.c: New file.
21014 * string/test-strchr.c: Update.
21015 Add wcschr support.
21018 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21020 * wcsmbs/Makefile (strop-tests): Add wcslen.
21021 * wcsmbs/test-wcslen.c: New file.
21022 * string/test-strlen.c: Update.
21023 Add wcslen support.
21026 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21028 * po/it.po: Update from translation team.
21030 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21032 * sysdeps/x86_64/wcscmp.S: Update.
21033 Fix wrong comparison semantics.
21034 wcscmp shall use signed comparison not unsigned.
21035 Don't use substraction to avoid overflow bug.
21036 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21037 * wcsmbc/wcscmp.c: Likewise.
21038 * string/test-strcmp.c: Likewise.
21039 Add new tests to check cases with negative values.
21041 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21043 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21044 * sysdeps/x86_64/dla.h: ...here. New file.
21045 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21055 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21058 __ynl_finite aliases.
21060 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21064 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21066 [DLA_FMA] (EMULV): Use DLA_FMA.
21067 [DLA_FMA] (MUL12): Use EMULV.
21068 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21069 that are not needed.
21070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21078 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21080 * math/s_nan.c: Undef __nan.
21081 * math/s_nanf.c: Undef __nanf.
21082 * math/s_nanl.c: Undef __nanl.
21083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21086 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21088 * math/s_catan.c: Add branch predictions.
21089 * math/s_catanf.c: Likewise.
21090 * math/s_catanh.c: Likewise.
21091 * math/s_catanhf.c: Likewise.
21092 * math/s_catanhl.c: Likewise.
21093 * math/s_catanl.c: Likewise.
21094 * math/s_cexp.c: Likewise.
21095 * math/s_cexpf.c: Likewise.
21096 * math/s_cexpl.c: Likewise.
21097 * math/s_clog.c: Likewise.
21098 * math/s_clog10.c: Likewise.
21099 * math/s_clog10f.c: Likewise.
21100 * math/s_clog10l.c: Likewise.
21101 * math/s_clogf.c: Likewise.
21102 * math/s_clogl.c: Likewise.
21103 * math/s_csqrt.c: Likewise.
21104 * math/s_csqrtf.c: Likewise.
21105 * math/s_csqrtl.c: Likewise.
21106 * math/s_ctanf.c: Likewise.
21107 * math/s_ctanh.c: Likewise.
21108 * math/s_ctanhf.c: Likewise.
21109 * math/s_ctanhl.c: Likewise.
21110 * math/s_ctanl.c: Likewise.
21112 * math/math_private.h: Define __nan, __nanf, __nanl.
21113 * math/s_cacosh.c: Include <math_private.h>.
21114 * math/s_cacoshl.c: Likewise.
21115 * math/s_casinh.c: Likewise.
21116 * math/s_casinhf.c: Likewise.
21117 * math/s_casinhl.c: Likewise.
21118 * math/s_ccos.c: Rely entire on ccosh.
21119 * math/s_ccosf.c: Rely entire on ccoshf.
21120 * math/s_ccosl.c: Rely entirely on ccoshl.
21121 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21122 Remove tests for FE_INVALID.
21123 * math/s_ccoshf.c: Likewise.
21124 * math/s_ccoshl.c: Likewise.
21125 * math/s_csin.c: Likewise.
21126 * math/s_csinf.c: Likewise.
21127 * math/s_csinh.c Likewise.
21128 * math/s_csinhf.c: Likewise.
21129 * math/s_csinhl.c: Likewise.
21130 * math/s_csinl.c: Likewise.
21131 * math/s_ctan.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21133 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21136 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21139 compilation problems.
21141 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21144 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21146 * sysdeps/i386/configure.in: Test for -mfma4 option.
21147 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21148 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21149 COMMON_CPUID_INDEX_80000001.
21150 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21151 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21152 use it if FMA3 is not supported.
21153 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21155 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21156 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21158 2011-10-20 Andreas Schwab <schwab@redhat.com>
21161 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21162 it would create a cycle with a link time dependency.
21164 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21166 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21168 * string/Makefile (strop-tests): Add rawmemchr.
21169 * string/test-rawmemchr.c: New file.
21171 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21173 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21174 when compiling str{,n}casecmp and when AVX is available. Hook up
21175 new optimized code in initializers.
21177 2011-10-19 Andreas Schwab <schwab@redhat.com>
21179 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21180 __feraiseexcept instead of feraiseexcept.
21182 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21184 * math/math_private.h: Define defaults for libc_fetestexcept and
21186 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21187 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21191 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21192 libc_fetestexcept and libc_feupdateenv.
21194 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21195 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21196 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21197 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21198 libc_feholdexcept_setround.
21200 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21201 Add s_nearbyint-c and s_nearbyintf-c.
21202 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21203 nearbyintf inlines.
21204 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21206 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21209 * math/math_private.h: Define defaults for libc_fegetround,
21210 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21211 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21212 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21214 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21215 standard functions.
21216 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21217 Remove comments and hacks for old compiler versions.
21218 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21219 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21220 libc_feholdexceptl.
21222 2011-10-18 Andreas Schwab <schwab@redhat.com>
21224 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21225 (__feraiseexcept_renamed): Add __NTH.
21226 (feraiseexcept): Add __NTH. Rename local variables to fix
21227 namespace violations.
21229 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21231 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21233 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21235 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21236 recently added interfaces.
21237 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21239 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21240 about macro parameter expansion.
21242 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21243 __NO_MATH_INLINES is defined. Cleanups.
21245 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21246 and __floorf is target has SSE4.1.
21247 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21249 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21250 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21252 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21254 (floorf): Likewise.
21256 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21258 2011-10-17 Andreas Schwab <schwab@redhat.com>
21260 * misc/sys/cdefs.h: Fix last change.
21262 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21265 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21267 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21269 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21274 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21277 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21278 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21279 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21280 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21281 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21282 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21283 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21284 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21285 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21286 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21287 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21288 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21289 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21290 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21292 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21293 ceil, ceilf, floor, floorf.
21295 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21296 Perform IRELATIVE relocations last.
21298 * elf/do-rel.h: Add another parameter nrelative, replacing the
21299 local variable with the same name. Change name of the function
21300 to end in Rel or Rela (uppercase).
21301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21302 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21303 elf_dynamic_do_##reloc function.
21305 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21307 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21308 is sufficient, at least on modern CPUs.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21312 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21315 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21317 * math/bits/math-finite.h: Add entries for exp.
21318 * math/e_expl.c: Add __*_finite alias.
21319 * sysdeps/i386/fpu/e_exp.S: Likewise.
21320 * sysdeps/i386/fpu/e_expf.S: Likewise.
21321 * sysdeps/i386/fpu/e_expl.c: Likewise.
21322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21324 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21326 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21327 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21328 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21330 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21331 is sufficient, at least on modern CPUs.
21333 * ctype/ctype-info.c (__ctype_init): Define.
21334 * include/ctype.h (__ctype_init): Declare.
21335 (__ctype_b_loc): The variable is always initialized.
21336 (__ctype_toupper_loc): Likewise.
21337 (__ctype_tolower_loc): Likewise.
21338 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21339 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21341 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21343 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21345 * configure.in: Also look in $cxxmachine/include for C++ system
21348 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21350 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21351 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21352 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21353 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21354 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21355 (USE_AS_WMEMCMP): New macro.
21357 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21358 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21359 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21360 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21362 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21363 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21364 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21365 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21366 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21367 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21368 (USE_AS_WMEMCMP): New macro.
21369 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21370 * sysdeps/string/test-memcmp.c: Update.
21371 Fix simple_wmemcmp.
21373 * wcsmbs/wmemcmp.c: Update.
21374 (WMEMCMP): New macro.
21377 2011-10-12 Andreas Jaeger <aj@suse.de>
21380 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21382 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21384 * libio/iofwide.c (do_length): Avoid warning.
21386 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21388 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21390 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21392 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21393 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21394 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21395 * sysdeps/i386/i686/fpu/e_log.S: New file.
21396 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21397 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21399 * ctype/ctype.h: Add support for inlined isXXX functions when
21400 compiling C++ code.
21402 2011-10-14 Andreas Schwab <schwab@redhat.com>
21404 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21406 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21408 2011-10-13 Roland McGrath <roland@hack.frob.com>
21411 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21413 2011-10-13 Andreas Schwab <schwab@redhat.com>
21415 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21416 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21419 * sysdeps/x86_64/memrchr.S: Check for zero size.
21421 * string/stratcliff.c: Add memrchr tests.
21423 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21426 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21427 rawmemchr-sse2 rawmemchr-sse2-bsf.
21428 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21429 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21430 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21431 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21432 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21433 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21434 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21435 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21436 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21437 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21438 * string/memrchr.c (MEMRCHR): New macro.
21440 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21442 Add integration with gcc's -ffinite-math-only and optimize wrapper
21444 * Versions.def: Define GLIBC_2.15 version for libm.
21445 * math/Makefile (headers): Add bits/math-finite.h.
21446 * math/bits/math-finite.h: New file.
21447 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21448 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21449 * math/e_acoshl.c: Add __*_finite alias.
21450 * math/e_acosl.c: Likewise.
21451 * math/e_asinl.c: Likewise.
21452 * math/e_atan2l.c: Likewise.
21453 * math/e_atanhl.c: Likewise.
21454 * math/e_coshl.c: Likewise.
21455 * math/e_exp10.c: Likewise.
21456 * math/e_exp10f.c: Likewise.
21457 * math/e_exp10l.c: Likewise.
21458 * math/e_exp2l.c: Likewise.
21459 * math/e_fmodl.c: Likewise.
21460 * math/e_gammal_r.c: Likewise.
21461 * math/e_hypotl.c: Likewise.
21462 * math/e_j0l.c: Likewise.
21463 * math/e_j1l.c: Likewise.
21464 * math/e_jnl.c: Likewise.
21465 * math/e_lgammal_r.c: Likewise.
21466 * math/e_log10l.c: Likewise.
21467 * math/e_log2l.c: Likewise.
21468 * math/e_logl.c: Likewise.
21469 * math/e_powl.c: Likewise.
21470 * math/e_sinhl.c: Likewise.
21471 * math/e_sqrtl.c: Likewise.
21472 * math/e_scalb.c: Completely rewritten and optimized.
21473 * math/e_scalbf.c: Likewise.
21474 * math/e_scalbl.c: Likewise.
21475 * math/w_acos.c: Likewise.
21476 * math/w_acosf.c: Likewise.
21477 * math/w_acosl.c: Likewise.
21478 * math/w_acosh.c: Likewise.
21479 * math/w_acoshf.c: Likewise.
21480 * math/w_acoshl.c: Likewise.
21481 * math/w_asin.c: Likewise.
21482 * math/w_asinf.c: Likewise.
21483 * math/w_asinl.c: Likewise.
21484 * math/w_atan2.c: Likewise.
21485 * math/w_atan2f.c: Likewise.
21486 * math/w_atan2l.c: Likewise.
21487 * math/w_atanh.c: Likewise.
21488 * math/w_atanhf.c: Likewise.
21489 * math/w_atanhl.c: Likewise.
21490 * math/w_exp10.c: Likewise.
21491 * math/w_exp10f.c: Likewise.
21492 * math/w_exp10l.c: Likewise.
21493 * math/w_fmod.c: Likewise.
21494 * math/w_fmodf.c: Likewise.
21495 * math/w_fmodl.c: Likewise.
21496 * math/w_j0.c: Likewise.
21497 * math/w_j0f.c: Likewise.
21498 * math/w_j0l.c: Likewise.
21499 * math/w_j1.c: Likewise.
21500 * math/w_j1f.c: Likewise.
21501 * math/w_j1l.c: Likewise.
21502 * math/w_jn.c: Likewise.
21503 * math/w_jnf.c: Likewise.
21504 * math/w_log.c: Likewise.
21505 * math/w_logf.c: Likewise.
21506 * math/w_logl.c: Likewise.
21507 * math/w_log10.c: Likewise.
21508 * math/w_log10f.c: Likewise.
21509 * math/w_log10l.c: Likewise.
21510 * math/w_log2.c: Likewise.
21511 * math/w_log2f.c: Likewise.
21512 * math/w_log2l.c: Likewise.
21513 * math/w_pow.c: Likewise.
21514 * math/w_powf.c: Likewise.
21515 * math/w_powl.c: Likewise.
21516 * math/w_remainder.c: Likewise.
21517 * math/w_remainderf.c: Likewise.
21518 * math/w_remainderl.c: Likewise.
21519 * math/w_scalb.c: Likewise.
21520 * math/w_scalbf.c: Likewise.
21521 * math/w_scalbl.c: Likewise.
21522 * math/w_sqrt.c: Likewise.
21523 * math/w_sqrtf.c: Likewise.
21524 * math/w_sqrtl.c: Likewise.
21525 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21526 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21528 * math/math_private.h: Declare __kernel_standard_f.
21529 * math/w_cosh.c: Remove cruft and optimize a bit.
21530 * math/w_coshf.c: Likewise.
21531 * math/w_coshl.c: Likewise.
21532 * math/w_exp2.c: Likewise.
21533 * math/w_exp2f.c: Likewise.
21534 * math/w_exp2l.c: Likewise.
21535 * math/w_hypot.c: Likewise.
21536 * math/w_hypotf.c: Likewise.
21537 * math/w_hypotl.c: Likewise.
21538 * math/w_lgamma.c: Likewise.
21539 * math/w_lgamma_r.c: Likewise.
21540 * math/w_lgammaf.c: Likewise.
21541 * math/w_lgammaf_r.c: Likewise.
21542 * math/w_lgammal.c: Likewise.
21543 * math/w_lgammal_r.c: Likewise.
21544 * math/w_sinh.c: Likewise.
21545 * math/w_sinhf.c: Likewise.
21546 * math/w_sinhl.c: Likewise.
21547 * math/w_tgamma.c: Likewise.
21548 * math/w_tgammaf.c: Likewise.
21549 * math/w_tgammal.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21551 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21552 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21553 Minor optimizations. Pretty printing. Remove cruft.
21554 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21555 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21557 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21558 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21559 * sysdeps/i386/fpu/e_asin.S: Likewise.
21560 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21561 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21562 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21563 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21564 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21565 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21567 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21568 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21569 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21570 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21571 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21572 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21573 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21574 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21575 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21576 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21577 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21578 * sysdeps/i386/fpu/e_log.S: Likewise.
21579 * sysdeps/i386/fpu/e_log10.S: Likewise.
21580 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21582 * sysdeps/i386/fpu/e_log2.S: Likewise.
21583 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21585 * sysdeps/i386/fpu/e_logf.S: Likewise.
21586 * sysdeps/i386/fpu/e_logl.S: Likewise.
21587 * sysdeps/i386/fpu/e_pow.S: Likewise.
21588 * sysdeps/i386/fpu/e_powf.S: Likewise.
21589 * sysdeps/i386/fpu/e_powl.S: Likewise.
21590 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21591 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21592 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21593 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21594 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21595 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21596 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21597 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21598 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21624 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21625 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21628 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21629 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21630 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21631 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21633 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21634 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21635 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21636 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21640 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21645 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21649 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21654 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21682 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21684 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21685 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21687 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21690 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21691 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21692 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21693 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21694 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21695 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21696 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21697 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21698 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21699 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21700 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21701 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21702 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21703 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21704 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21706 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21707 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21708 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21709 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21710 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21711 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21712 (__isnanf): Likewise.
21713 (__isinf_ns): Likewise.
21714 (__isinf_nsf): Likewise.
21715 (__finite): Likewise.
21716 (__finitef): Likewise.
21717 (__ieee754_sqrt): Define as macro.
21718 (__ieee754_sqrtf): Define as macro.
21719 (__ieee754_sqrtl): Define as macro.
21720 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21722 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21723 __FINITE_MATH_ONLY__ consistent.
21724 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21726 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21728 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21731 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21733 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21735 * po/ja.po: Update from translation team.
21737 2011-10-08 Roland McGrath <roland@hack.frob.com>
21739 * locale/programs/locarchive.c (prepare_address_space): New function.
21740 (create_archive, enlarge_archive, open_archive): Use it.
21742 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21743 inside [SHARED], where it is used.
21745 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21747 * nss/getent.c (netgroup_keys): Remove unused variable.
21748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21750 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21752 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21753 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21755 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21756 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21757 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21758 * math/Makefile (libm-calls): Add s_isinf_ns.
21759 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21760 * math/multc3.c: Likewise.
21761 * math/s_casin.c: Likewise.
21762 * math/s_casinf.c: Likewise.
21763 * math/s_casinl.c: Likewise.
21764 * math/s_ccos.c: Likewise.
21765 * math/s_ccosf.c: Likewise.
21766 * math/s_ccosl.c: Likewise.
21767 * math/s_ctan.c: Likewise.
21768 * math/s_ctanf.c: Likewise.
21769 * math/s_ctanh.c: Likewise.
21770 * math/s_ctanhf.c: Likewise.
21771 * math/s_ctanhl.c: Likewise.
21772 * math/s_ctanl.c: Likewise.
21773 * math/w_fmod.c: Likewise.
21774 * math/w_fmodf.c: Likewise.
21775 * math/w_fmodl.c: Likewise.
21776 * math/w_remainder.c: Likewise.
21777 * math/w_remainderf.c: Likewise.
21778 * math/w_remainderl.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21780 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21783 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21784 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21785 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21786 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21788 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21790 * stdio-common/printf_fphex.c: Likewise.
21791 * stdio-common/printf_size.c: Likewise.
21793 * math/e_exp10.c: Include math_private.h using <...> not "...".
21794 * math/e_exp10f.c: Likewise.
21795 * math/e_exp10l.c: Likewise.
21796 * math/e_exp2l.c: Likewise.
21797 * math/e_j0l.c: Likewise.
21798 * math/e_j1l.c: Likewise.
21799 * math/e_jnl.c: Likewise.
21800 * math/e_lgammal_r.c: Likewise.
21801 * math/e_rem_pio2l.c: Likewise.
21802 * math/e_scalb.c: Likewise.
21803 * math/e_scalbf.c: Likewise.
21804 * math/e_scalbl.c: Likewise.
21805 * math/k_cosl.c: Likewise.
21806 * math/k_sinl.c: Likewise.
21807 * math/k_tanl.c: Likewise.
21808 * math/s_cacoshf.c: Likewise.
21809 * math/s_catan.c: Likewise.
21810 * math/s_catanf.c: Likewise.
21811 * math/s_catanh.c: Likewise.
21812 * math/s_catanhf.c: Likewise.
21813 * math/s_catanhl.c: Likewise.
21814 * math/s_catanl.c: Likewise.
21815 * math/s_ccosh.c: Likewise.
21816 * math/s_ccoshf.c: Likewise.
21817 * math/s_ccoshl.c: Likewise.
21818 * math/s_cexp.c: Likewise.
21819 * math/s_cexpf.c: Likewise.
21820 * math/s_cexpl.c: Likewise.
21821 * math/s_clog.c: Likewise.
21822 * math/s_clog10.c: Likewise.
21823 * math/s_clog10f.c: Likewise.
21824 * math/s_clog10l.c: Likewise.
21825 * math/s_clogf.c: Likewise.
21826 * math/s_clogl.c: Likewise.
21827 * math/s_csin.c: Likewise.
21828 * math/s_csinf.c: Likewise.
21829 * math/s_csinh.c: Likewise.
21830 * math/s_csinhf.c: Likewise.
21831 * math/s_csinhl.c: Likewise.
21832 * math/s_csinl.c: Likewise.
21833 * math/s_csqrt.c: Likewise.
21834 * math/s_csqrtf.c: Likewise.
21835 * math/s_csqrtl.c: Likewise.
21836 * math/s_ctan.c: Likewise.
21837 * math/s_ctanf.c: Likewise.
21838 * math/s_ctanh.c: Likewise.
21839 * math/s_ctanhf.c: Likewise.
21840 * math/s_ctanhl.c: Likewise.
21841 * math/s_ctanl.c: Likewise.
21842 * math/s_ldexp.c: Likewise.
21843 * math/s_ldexpf.c: Likewise.
21844 * math/s_ldexpl.c: Likewise.
21845 * math/s_significand.c: Likewise.
21846 * math/s_significandf.c: Likewise.
21847 * math/s_significandl.c: Likewise.
21848 * math/w_acos.c: Likewise.
21849 * math/w_acosf.c: Likewise.
21850 * math/w_acosh.c: Likewise.
21851 * math/w_acoshf.c: Likewise.
21852 * math/w_acoshl.c: Likewise.
21853 * math/w_acosl.c: Likewise.
21854 * math/w_asin.c: Likewise.
21855 * math/w_asinf.c: Likewise.
21856 * math/w_asinl.c: Likewise.
21857 * math/w_atan2.c: Likewise.
21858 * math/w_atan2f.c: Likewise.
21859 * math/w_atan2l.c: Likewise.
21860 * math/w_atanh.c: Likewise.
21861 * math/w_atanhf.c: Likewise.
21862 * math/w_atanhl.c: Likewise.
21863 * math/w_cosh.c: Likewise.
21864 * math/w_coshf.c: Likewise.
21865 * math/w_coshl.c: Likewise.
21866 * math/w_dremf.c: Likewise.
21867 * math/w_exp10.c: Likewise.
21868 * math/w_exp10f.c: Likewise.
21869 * math/w_exp10l.c: Likewise.
21870 * math/w_exp2.c: Likewise.
21871 * math/w_exp2f.c: Likewise.
21872 * math/w_fmod.c: Likewise.
21873 * math/w_fmodf.c: Likewise.
21874 * math/w_fmodl.c: Likewise.
21875 * math/w_hypot.c: Likewise.
21876 * math/w_hypotf.c: Likewise.
21877 * math/w_hypotl.c: Likewise.
21878 * math/w_j0.c: Likewise.
21879 * math/w_j0f.c: Likewise.
21880 * math/w_j0l.c: Likewise.
21881 * math/w_j1.c: Likewise.
21882 * math/w_j1f.c: Likewise.
21883 * math/w_j1l.c: Likewise.
21884 * math/w_jn.c: Likewise.
21885 * math/w_jnf.c: Likewise.
21886 * math/w_jnl.c: Likewise.
21887 * math/w_lgamma.c: Likewise.
21888 * math/w_lgamma_r.c: Likewise.
21889 * math/w_lgammaf.c: Likewise.
21890 * math/w_lgammaf_r.c: Likewise.
21891 * math/w_lgammal.c: Likewise.
21892 * math/w_lgammal_r.c: Likewise.
21893 * math/w_log.c: Likewise.
21894 * math/w_log10.c: Likewise.
21895 * math/w_log10f.c: Likewise.
21896 * math/w_log10l.c: Likewise.
21897 * math/w_log2.c: Likewise.
21898 * math/w_log2f.c: Likewise.
21899 * math/w_log2l.c: Likewise.
21900 * math/w_logf.c: Likewise.
21901 * math/w_logl.c: Likewise.
21902 * math/w_pow.c: Likewise.
21903 * math/w_powf.c: Likewise.
21904 * math/w_powl.c: Likewise.
21905 * math/w_remainder.c: Likewise.
21906 * math/w_remainderf.c: Likewise.
21907 * math/w_remainderl.c: Likewise.
21908 * math/w_scalb.c: Likewise.
21909 * math/w_scalbf.c: Likewise.
21910 * math/w_scalbl.c: Likewise.
21911 * math/w_sinh.c: Likewise.
21912 * math/w_sinhf.c: Likewise.
21913 * math/w_sinhl.c: Likewise.
21914 * math/w_sqrt.c: Likewise.
21915 * math/w_sqrtf.c: Likewise.
21916 * math/w_sqrtl.c: Likewise.
21917 * math/w_tgamma.c: Likewise.
21918 * math/w_tgammaf.c: Likewise.
21919 * math/w_tgammal.c: Likewise.
21921 * po/ja.po: Update from translation team.
21923 2011-09-29 Andreas Jaeger <aj@suse.de>
21926 * sunrpc/netname.c (netname2host): Fix logic.
21930 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21932 * math/w_remainder.c (__remainder): Likewise.
21933 * math/w_remainderf.c (__remainderf): Likewise.
21934 * math/libm-test.inc (remainder_test): Add test cases.
21936 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21938 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21941 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21943 * string/test-memcmp.c: Avoid unncessary #defines.
21944 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21946 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21948 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21949 Use new sse2 version for core i3 - i7 as it's faster
21950 than sse42 version.
21951 (bit_Prefer_PMINUB_for_stringop): New.
21952 * sysdeps/x86_64/rawmemchr.S: Update.
21953 Replace with faster SSE2 version.
21954 * sysdeps/x86_64/memrchr.S: New file.
21955 * sysdeps/x86_64/memchr.S: Update.
21956 Replace with faster SSE2 version.
21958 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21960 * elf/dl-load.c (lose): Add cast to avoid warning.
21962 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21964 * po/ca.po: Update from translation team.
21966 * inet/getnetgrent_r.c: Hook up nscd.
21967 * nscd/Makefile (routines): Add nscd_netgroup.
21968 (nscd-modules): Add netgroupcache.
21969 (CFLAGS-netgroupcache.c): Define.
21970 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21971 (cache_search): Add const to second parameter.
21972 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21974 (dbs): Add netgrdb entry.
21975 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21976 (verify_persistent_db): Handle netgrdb.
21977 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21978 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21980 (netgroup_response_header): Define.
21981 (innetgroup_response_header): Define.
21982 (datahead): Add netgroup_response_header and innetgroup_response_header
21984 * nscd/nscd.conf: Add entries for netgroup cache.
21985 * nscd/nscd.h (dbtype): Add netgrdb.
21986 (_PATH_NSCD_NETGROUP_DB): Define.
21987 (netgroup_iov_disabled): Declare.
21988 (xmalloc, xcalloc, xrealloc): Move declarations here.
21989 (cache_search): Adjust prototype.
21990 Add netgroup-related prototypes.
21991 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21992 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21993 (__nscd_innetgr): Declare.
21994 * nscd/selinux.c (perms): Use access_vector_t as element type and
21995 add netgroup-related initializers.
21996 * nscd/netgroupcache.c: New file.
21997 * nscd/nscd_netgroup.c: New file.
21998 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21999 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22000 For four parameters use innetgr.
22001 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22002 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22003 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22004 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22006 * nscd/connections.c (register_traced_file): Don't register file
22007 for disabled databases.
22009 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22011 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22013 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22014 from tree and freeing node.
22016 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22018 * nss/nsswitch.c (__nss_database_lookup): Handle
22019 nss_parse_service_list out of memory case.
22021 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22023 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22024 out of memory case.
22026 2011-10-04 Andreas Schwab <schwab@redhat.com>
22028 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22029 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22031 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22032 elf_machine_rela, elf_machine_lazy_rel.
22033 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22034 (ELF_DYNAMIC_DO_REL): Likewise.
22035 (ELF_DYNAMIC_DO_RELA): Likewise.
22036 (ELF_DYNAMIC_RELOCATE): Likewise.
22037 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22038 to ELF_DYNAMIC_DO_REL.
22039 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22040 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22041 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22044 skip_ifunc, don't call ifunc function if non-zero.
22045 (elf_machine_rela): Likewise.
22046 (elf_machine_lazy_rel): Likewise.
22047 (elf_machine_lazy_rela): Likewise.
22048 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22049 (elf_machine_lazy_rel): Likewise.
22050 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22052 (elf_machine_lazy_rel): Likewise.
22053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22055 (elf_machine_lazy_rel): Likewise.
22056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22057 (elf_machine_lazy_rel): Likewise.
22058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22059 (elf_machine_lazy_rel): Likewise.
22060 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22061 (elf_machine_lazy_rel): Likewise.
22062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22063 (elf_machine_lazy_rel): Likewise.
22064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22065 (elf_machine_lazy_rel): Likewise.
22066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22067 (elf_machine_lazy_rel): Likewise.
22069 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22071 * nss/nss_files/files-init.c (_nss_files_init): Use static
22072 initialization for all the *_traced_file variables.
22074 2011-09-28 Andreas Schwab <schwab@redhat.com>
22076 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22078 2011-09-27 Roland McGrath <roland@hack.frob.com>
22081 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22083 2011-09-27 Andreas Schwab <schwab@redhat.com>
22085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22086 Reread the line before reparsing it.
22088 2011-09-26 Andreas Schwab <schwab@redhat.com>
22090 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22092 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22093 Maxim Kuvyrkov <maxim@codesourcery.com>
22094 Joseph Myers <joseph@codesourcery.com>
22096 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22097 if needed for __stack_chk_guard.
22099 2011-09-19 Roland McGrath <roland@hack.frob.com>
22101 * sysdeps/posix/spawni.c (script_execute): Always define it.
22102 It will be optimized away if unused.
22103 (maybe_script_execute): New function.
22104 (__spawni): Call it.
22106 * Makerules: Don't include tls.make.
22107 (config-tls): Always set to thread.
22108 * tls.make.c: File removed.
22110 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22112 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22113 * config.make.in (CPPFLAGS-config): New substituted variable.
22115 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22117 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22120 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22121 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22123 2011-09-15 Roland McGrath <roland@hack.frob.com>
22125 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22126 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22127 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22128 (CALL_FAIL): Likewise.
22129 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22130 (CALL_FAIL): Macro removed.
22131 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22133 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22135 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22136 for __FINITE_MATH_ONLY__ == 1.
22138 2011-09-15 Andreas Schwab <schwab@redhat.com>
22140 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22141 __ieee754_sqrt instead of sqrt.
22142 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22143 __ieee754_sqrtf instead of sqrtf.
22144 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22145 __floorf instead of floorf.
22146 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22147 __floorf, __truncf instead of floorf, truncf.
22149 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22151 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22153 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22154 __extern_always_inline.
22155 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22158 2011-09-14 Andreas Schwab <schwab@redhat.com>
22160 * elf/rtld.c (dl_main): Also relocate in dependency order when
22161 doing symbol dependency testing.
22163 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22166 Always define `refsym'.
22168 2011-09-13 Andreas Schwab <schwab@redhat.com>
22170 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22171 (__FD_ELT): Renamed from __FDELT.
22172 * misc/bits/select2.h (__FD_ELT): Likewise.
22173 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22174 __FD_MASK instead of __FDELT, __FDMASK.
22175 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22177 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22180 * elf/Makefile (gen-ldd): Fix pattern.
22182 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22183 (init_tls): Likewise.
22185 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22189 2011-09-12 Andreas Schwab <schwab@redhat.com>
22191 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22192 `struct cmsghdr *' instead of `void *'.
22193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22196 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22198 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22200 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22201 ldd_rewrite_script.
22203 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22205 * configure.in: Remove --with-tls option.
22206 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22207 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22208 out in case it is missing.
22209 * sysdeps/ia64/elf/configure.in: Likewise.
22210 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22211 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22212 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22213 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22214 * sysdeps/sh/elf/configure.in: Likewise.
22215 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22216 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22217 * sysdeps/x86_64/elf/configure.in: Likewise.
22218 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22219 * sysdeps/mach/hurd/tls.h: Likewise.
22222 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22225 * configure.in: Fix use of AC_INIT.
22227 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22229 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22231 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22233 * malloc/hooks.c: Likewise.
22236 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22237 variables statically.
22238 (narenas): Initialize.
22239 (list_lock): Initialize.
22240 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22241 initializtion of main_arena and list_lock. Small cleanups.
22242 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22243 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22244 Add initializers to main_arena and mp_.
22245 (malloc_state): Remove pagesize member. Change all users to use
22248 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22249 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22250 is always initialized.
22252 * malloc/malloc.c: Removed unused configurations and dead code.
22253 * malloc/arena.c: Likewise.
22254 * malloc/hooks.c: Likewise.
22255 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22257 * include/tls.h: Removed. USE___THREAD must always be defined.
22258 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22259 * elf/dl-libc.c: Likewise.
22260 * elf/dl-tsd.c: Likewise.
22261 * include/errno.h: Likewise.
22262 * include/netdb.h: Likewise.
22263 * include/resolv.h: Likewise.
22264 * inet/herrno-loc.c: Likewise.
22265 * inet/herrno.c: Likewise.
22266 * malloc/arena.c: Likewise.
22267 * malloc/hooks.c: Likewise.
22268 * malloc/malloc.c: Likewise.
22269 * resolv/res-state.c: Likewise.
22270 * resolv/res_libc.c: Likewise.
22271 * sysdeps/i386/dl-machine.h: Likewise.
22272 * sysdeps/ia64/dl-machine.h: Likewise.
22273 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22274 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22275 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22276 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22277 * sysdeps/sh/dl-machine.h: Likewise.
22278 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22279 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22280 * sysdeps/unix/i386/sysdep.S: Likewise.
22281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22282 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22287 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22291 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22292 * sysdeps/x86_64/dl-machine.h: Likewise.
22293 * tls.make.c: Likewise.
22295 * configure.in: Remove --with-__thread option. Make tests for
22296 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22297 tls_model attribute fail if no support is available. Remove
22299 * Makeconfig: Adjust for dropped configure option. All features are
22301 * Makerules: Likewise.
22302 * Versions.def: Likewise.
22303 * argp/argp-fmtstream.c: Likewise.
22304 * argp/argp-fmtstream.h: Likewise.
22305 * argp/argp-help.c: Likewise.
22306 * assert/assert.c: Likewise.
22307 * config.h.in: Likewise.
22308 * config.make.in: Likewise.
22309 * configure: Likewise.
22310 * configure.in: Likewise.
22311 * csu/Versions: Likewise.
22312 * csu/init.c: Likewise.
22313 * elf/tst-audit2.c: Likewise.
22314 * elf/tst-tls10.c: Likewise.
22315 * elf/tst-tls10.h: Likewise.
22316 * elf/tst-tls11.c: Likewise.
22317 * elf/tst-tls12.c: Likewise.
22318 * elf/tst-tls14.c: Likewise.
22319 * elf/tst-tlsmod11.c: Likewise.
22320 * elf/tst-tlsmod12.c: Likewise.
22321 * elf/tst-tlsmod13.c: Likewise.
22322 * elf/tst-tlsmod13a.c: Likewise.
22323 * elf/tst-tlsmod14a.c: Likewise.
22324 * elf/tst-tlsmod15b.c: Likewise.
22325 * elf/tst-tlsmod16a.c: Likewise.
22326 * elf/tst-tlsmod16b.c: Likewise.
22327 * elf/tst-tlsmod7.c: Likewise.
22328 * elf/tst-tlsmod8.c: Likewise.
22329 * elf/tst-tlsmod9.c: Likewise.
22330 * gmon/gmon.c: Likewise.
22331 * grp/fgetgrent_r.c: Likewise.
22332 * grp/putgrent.c: Likewise.
22333 * hurd/fopenport.c: Likewise.
22334 * include/libc-symbols.h: Likewise.
22335 * include/tls.h: Likewise.
22336 * intl/gettextP.h: Likewise.
22337 * intl/loadinfo.h: Likewise.
22338 * locale/global-locale.c: Likewise.
22339 * locale/localeinfo.h: Likewise.
22340 * mach/devstream.c: Likewise.
22341 * malloc/arena.c: Likewise.
22342 * malloc/set-freeres.c: Likewise.
22343 * misc/err.c: Likewise.
22344 * misc/getttyent.c: Likewise.
22345 * misc/mntent_r.c: Likewise.
22346 * posix/getopt.c: Likewise.
22347 * posix/wordexp.c: Likewise.
22348 * pwd/fgetpwent_r.c: Likewise.
22349 * resolv/Versions: Likewise.
22350 * resolv/res_hconf.c: Likewise.
22351 * shadow/fgetspent_r.c: Likewise.
22352 * shadow/putspent.c: Likewise.
22353 * stdio-common/printf_fphex.c: Likewise.
22354 * stdio-common/tmpfile.c: Likewise.
22355 * stdlib/abort.c: Likewise.
22356 * stdlib/fmtmsg.c: Likewise.
22357 * sunrpc/auth_unix.c: Likewise.
22358 * sunrpc/clnt_perr.c: Likewise.
22359 * sunrpc/clnt_tcp.c: Likewise.
22360 * sunrpc/clnt_udp.c: Likewise.
22361 * sunrpc/clnt_unix.c: Likewise.
22362 * sunrpc/openchild.c: Likewise.
22363 * sunrpc/svc_simple.c: Likewise.
22364 * sunrpc/svc_tcp.c: Likewise.
22365 * sunrpc/svc_udp.c: Likewise.
22366 * sunrpc/svc_unix.c: Likewise.
22367 * sunrpc/xdr.c: Likewise.
22368 * sunrpc/xdr_array.c: Likewise.
22369 * sunrpc/xdr_rec.c: Likewise.
22370 * sunrpc/xdr_ref.c: Likewise.
22371 * sunrpc/xdr_stdio.c: Likewise.
22373 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22375 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22377 2011-07-03 Andreas Jaeger <aj@suse.de>
22379 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22381 regenerate with gen-libm-tests.pl.
22383 2010-05-12 Petr Baudis <pasky@suse.cz>
22386 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22387 around j0() zero points by switching to j1().
22388 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22389 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22395 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22397 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22400 Patch in part by Pavel Roskin <proski@gnu.org>.
22403 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22405 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22406 Free memory block if necessary.
22409 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22410 be NULL. Don't lock in this case.
22412 2011-09-09 Roland McGrath <roland@hack.frob.com>
22414 * elf/elf.h (ELFOSABI_GNU): New macro.
22415 (ELFOSABI_LINUX): Define to that.
22417 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22419 * string/strncat.c (strncat): Undef the symbol in case it has been
22420 defined in bits/string.h.
22422 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22424 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22426 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22429 2011-08-17 Andreas Jaeger <aj@suse.de>
22431 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22433 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22434 Ian Lance Taylor <iant@google.com>
22436 * math/libm-test.inc (lround_test): New testcase.
22437 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22439 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22441 * Makefile: Remove support for automatic cvs check-ins.
22442 * Makerules: Likewise.
22443 * config.make.in: Likewise.
22444 * configure.in: Likewise.
22445 * intl/Makefile: Likewise.
22446 * locale/Makefile: Likewise.
22447 * po/Makefile: Likewise.
22448 * posix/Makefile: Likewise.
22449 * sysdeps/gnu/Makefile: Likewise.
22450 * sysdeps/mach/hurd/Makefile: Likewise.
22451 * sysdeps/sparc/sparc32/Makefile: Likewise.
22454 * posix/Makefile (bug-regex32-ENV): Define.
22455 Patch by John Stanley <jpsinthemix@verizon.net>.
22457 * misc/Makefile (headers): Add bits/select2.h.
22458 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22459 * misc/bits/select2.h: New file.
22460 * include/bits/select2.h: New file.
22461 * debug/Makefile (routines): Add fdelt_chk.
22462 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22463 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22465 * debug/fdelt_chk.c: New file.
22467 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22468 * wcsmbs/test-wmemcmp.c: Likewise.
22469 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22470 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22472 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22474 * string/Makefile (strop-tests): Add memcmp.
22475 * string/test-wmemcmp.c: New file.
22476 * string/test-memcmp.c: Add wmemcmp support.
22478 2011-09-08 Roland McGrath <roland@hack.frob.com>
22481 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22484 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22485 garbage value in a __mach_port_mod_refs call in the cases of the
22486 task-self and thread-self ports.
22488 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22490 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22492 2011-09-08 Andreas Schwab <schwab@redhat.com>
22494 * elf/dl-load.c (lose): Check for non-null L.
22496 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22498 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22500 * elf/dl-libc.c (dlerror_run): Pass back error code from
22504 * elf/dl-load.c (lose): Free l_origin if it is valid.
22506 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22508 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22511 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22513 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22515 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22518 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22519 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22520 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22521 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22522 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22523 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22524 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22525 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22526 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22528 2011-08-15 Alan Modra <amodra@gmail.com>
22531 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22532 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22533 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22534 ppc_mcount to static-only-routines.
22535 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22537 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22538 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22540 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22542 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22543 for finite and infinity parameters.
22545 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22548 and add nop instructions for throughput optimization.
22549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22551 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22553 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22554 aligned copy for power7 with vector-scalar instructions.
22555 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22557 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22562 2011-09-07 Andreas Schwab <schwab@redhat.com>
22565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22568 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22570 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22571 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22572 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22573 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22576 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22578 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22579 Forgot to demangle the pointer.
22581 * sysdeps/i386/sysdep.h: Define atom_text_section.
22582 * sysdeps/x86_64/sysdep.h: Likewise.
22583 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22584 section with atom_text_section.
22585 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22586 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22587 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22589 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22591 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22592 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22593 already be defined. Change to take two parameters and don't assign
22594 result to variable. Adjust all users.
22595 Define INTERNAL_GETTIME if not already defined.
22596 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22599 HAVE_CLOCK_GETTIME_VSYSCALL.
22600 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22603 gettimeofday vsyscall, just use time.
22605 2011-09-06 Andreas Schwab <schwab@redhat.com>
22607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22610 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22612 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22614 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22616 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22617 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22618 syscall if possible.
22620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22622 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22623 e_ident. Don't pass to find_mapsXX.
22624 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22626 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22629 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22630 * sysdeps/x86_64/multiarch/strchr.S: Update.
22631 Check bit_slow_BSF bit.
22632 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22633 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22636 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22639 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22641 (tryshell): Define.
22642 (__spawni): Change last parameter to be flag. Test
22643 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22644 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22645 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22646 * posix/spawni.c: Likewise.
22647 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22648 * posix/spawnp.c: Likewise. Change normal version to use
22649 SPAWN_XFLAGS_USE_PATH.
22650 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22651 SPAWN_XFLAGS_TRY_SHELL.
22654 * posix/glob.h: Remove gcc 1.x support.
22657 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22659 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22662 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22664 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22665 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22666 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22667 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22668 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22671 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22673 * sysdeps/x86_64/wcscmp.S: New file.
22675 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22676 wcscmp-c wcscmp-sse2
22677 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22678 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22679 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22680 * wcsmbs/wcscmp.c: Allow renaming.
22682 2011-09-05 David S. Miller <davem@davemloft.net>
22684 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22685 stack slot, rather than the struct return pointer slot.
22686 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22687 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22689 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22691 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22693 * po/ja.po: Update from translation team.
22696 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22697 kernel in 64-bit binaries.
22699 2011-09-01 David S. Miller <davem@davemloft.net>
22701 * elf/elf.h (HWCAP_SPARC_*): Move to..
22702 * sysdeps/sparc/sysdep.h: this new file and add new values.
22703 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22704 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22705 _DL_HWCAP_COUNT to 24.
22706 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22708 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22709 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22710 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22712 instead of magic constants.
22713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22715 2011-08-31 David S. Miller <davem@davemloft.net>
22717 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22719 Reimplement to do errno handling inline.
22720 (SYSCALL_ERROR_HANDLER): New macro.
22721 (__SYSCALL_STRING): Do not do errno handling in asm.
22722 (__CLONE_SYSCALL_STRING): Delete.
22723 (__INTERNAL_SYSCALL_STRING): Delete.
22724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22725 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22726 (PSEUDO): Reimplement to do errno handling inline.
22727 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22728 (SYSCALL_ERROR_HANDLER): New macro.
22729 (__SYSCALL_STRING): Do not do errno handling in asm.
22730 (__CLONE_SYSCALL_STRING): Delete.
22731 (__INTERNAL_SYSCALL_STRING): Delete.
22732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22733 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22735 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22736 (inline_syscall*): Add 'err' argument.
22737 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22738 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22739 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22740 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22742 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22743 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22745 2011-08-30 Andreas Schwab <schwab@redhat.com>
22747 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22749 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22751 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22754 2011-08-24 David S. Miller <davem@davemloft.net>
22756 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22758 2011-08-24 Andreas Schwab <schwab@redhat.com>
22760 * elf/Makefile: Add rules to build and run unload8 test.
22761 * elf/unload8.c: New file.
22762 * elf/unload8mod1.c: New file.
22763 * elf/unload8mod1x.c: New file.
22764 * elf/unload8mod2.c: New file.
22765 * elf/unload8mod3.c: New file.
22767 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22770 2011-08-23 David S. Miller <davem@davemloft.net>
22772 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22773 subtract stack bias.
22774 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22775 %sp not %fp in calculations.
22776 (_JMPBUF_UNWINDS_ADJ): Likewise.
22778 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22779 (aio_suspend): Call it to force an exception region around the
22780 AIO_MISC_WAIT() invocation.
22782 2011-08-23 Andreas Schwab <schwab@redhat.com>
22784 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22787 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22789 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22791 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22792 and <dl-machine.h>.
22793 (Elf64_FuncDesc): Remove.
22795 2011-08-22 David S. Miller <davem@davemloft.net>
22797 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22798 sigaltstack check, add missing cfi directives.
22799 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22800 missing cfi directives, and sigaltstack handling.
22802 2011-08-16 Andreas Schwab <schwab@redhat.com>
22805 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22806 object is seen twice.
22807 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22809 * elf/Makefile (distribute): Add tst-initorder2.c.
22810 (tests): Add tst-initorder2.
22811 (modules-names): Add tst-initorder2a tst-initorder2b
22812 tst-initorder2c tst-initorder2d. Add rules to build them.
22813 ($(objpfx)tst-initorder2.out): New rule.
22814 * elf/tst-initorder2.c: New file.
22815 * elf/tst-initorder2.exp: New file.
22817 2011-08-22 Andreas Schwab <schwab@redhat.com>
22819 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22821 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22822 dependencies back to end of function.
22824 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22825 $(elfobjdir)/ld.so.
22827 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22830 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22832 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22833 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22834 of __vdso_gettimeofday.
22835 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22836 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22838 (_libc_vdso_platform_setup): Remove initialization of
22839 __vdso_gettimeofday and __vdso_time.
22841 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22843 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22844 and fgetc_unlocked.
22845 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22848 * elf/dl-open.c (add_to_global): Report additions to the global scope
22849 for LD_DEBUG=scopes.
22850 (dl_open_worker): Also print scope of newly loaded dependencies.
22851 (_dl_show_scope): Indicate if there is no scope.
22854 * stdio-common/Makefile (tests): Add bug24.
22855 * stdio-common/bug24.c: New file.
22857 2011-08-19 Andreas Jaeger <aj@suse.de>
22860 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22861 non-existant file when using close-on-exec mode.
22863 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22866 the very first instruction.
22868 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22869 the CFI state in the end.
22870 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22871 inclusion of dl-trampoline.h.
22872 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22874 2011-08-19 Andreas Schwab <schwab@redhat.com>
22876 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22877 expectations for long double.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22880 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22882 2011-08-14 David S. Miller <davem@davemloft.net>
22884 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22885 artificual limit depends upon the system page size.
22887 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22889 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22890 * resolv/Makefile: Define CFLAGS-libresolv.
22892 2011-08-17 Andreas Schwab <schwab@redhat.com>
22894 * nss/makedb.c (compute_tables): Make variables used in nested
22897 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22899 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22900 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22901 if buffer was too small.
22903 * elf/pldd.c (main): Attach to all threads in the process.
22904 Rewrite /proc handling to use *at functions.
22906 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22908 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22909 specifies first scope to show.
22910 (dl_open_worker): Update callers. Move printing scope of new
22911 object to before the relocation.
22912 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22913 * sysdeps/generic/ldsodefs.h: Update declaration.
22915 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22916 string for the scope number.
22918 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22920 * nscd/servicescache.c (cache_addserv): Make sure written is always
22923 2011-08-14 Roland McGrath <roland@hack.frob.com>
22925 * sysdeps/i386/i486/bits/atomic.h
22926 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22927 statement expression, so as to suppress "set but not used" warning.
22928 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22930 * string/strncat.c (STRNCAT): Use prototype definition.
22932 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22933 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22935 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22936 (localedef-modules): Add localedef.
22937 (locale-modules): Add locale.
22939 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22940 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22941 to avoid a warning.
22943 2011-08-14 David S. Miller <davem@davemloft.net>
22945 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22946 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22948 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22950 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22951 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22952 * elf/rtld.c (dl_main): Set l_name of vDSO.
22953 Call _dl_show_scope when DL_DEBUG_SCOPES.
22954 (process_dl_debug): Recognize scopes flag and also set it for all.
22955 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22956 Declare _dl_show_scope.
22958 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22959 (do_dlopen): Pass caller_dlopen to dl_open.
22960 (__libc_dlopen_mode): Initialize caller_dlopen.
22962 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22963 of libc. Make tolower call locale-independent. Optimize a bit by
22964 using isdigit instead of isalnum.
22965 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22967 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22969 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22970 was a dependency or dynamically loaded.
22972 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22974 * intl/l10nflist.c: Allow architecture-specific pop function.
22975 * sysdeps/x86_64/l10nflist.c: New file.
22977 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22980 2011-08-10 Andreas Schwab <schwab@redhat.com>
22982 * include/dirent.h: Add libc_hidden_proto for scandirat and
22983 scandirat64. Don't declare __scandirat64.
22984 * dirent/scandirat.c: Add libc_hidden_def.
22985 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22986 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22988 2011-08-10 David S. Miller <davem@davemloft.net>
22990 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22996 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22998 * Versions.def [libc]: Add GLIBC_2.15.
22999 * dirent/Makefile (routines): Add scandirat and scandirat64.
23000 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23002 * dirent/dirent.h: Declare scandirat and scandirat64.
23003 * dirent/scandirat.c: New file.
23004 * dirent/scandirat64.c: New file.
23005 * sysdeps/wordsize-64/scandirat.c: New file.
23006 * sysdeps/wordsize-64/scandirat64.c: New file.
23007 * dirent/opendir.c: Define opendirat.
23008 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23010 * dirent/scandir64.c: Adjust for scandir.c change.
23011 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23012 __scandirat64, and __scandir_cancel_handler.
23013 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23014 additional parameter and use openat instead of open (outside of ld.so).
23015 Add new __opendir as wrapper around __opendirat.
23016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23017 here without requiring old scandirat implementation.
23019 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23021 * dirent/scandir.c (cancel_handler): Renamed to
23022 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23023 defined. Adjust users.
23024 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23025 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23027 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23029 * string/test-string.h (IMPL): Use __STRING to expand name and then
23032 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23035 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23037 * string/Makefile: Update.
23038 (strop-tests): Append strncat.
23039 * string/test-wcscmp.c: New file.
23040 New comprehensive test for wcscmp.
23041 * string/test-strcmp.c: Update.
23042 (WIDE): New define.
23044 2011-07-22 Andreas Schwab <schwab@redhat.com>
23046 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23049 2011-07-26 Andreas Schwab <schwab@redhat.com>
23051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23052 encoding to ACE if AI_IDN.
23054 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23057 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23059 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23062 Fix overflow bug in strncat.
23063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23065 * string/test-strncat.c: Update.
23066 Add new tests for checking overflow bugs.
23068 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23071 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23072 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23073 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23074 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23075 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23076 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23077 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23078 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23081 (USE_AS_STRCAT): Define.
23082 Add strcat and strncat support.
23083 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23085 2011-07-25 Andreas Schwab <schwab@redhat.com>
23087 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23088 __n bigger than INT_MAX+1.
23089 (__strncmp_g): Likewise.
23091 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23093 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23094 * libio/stido.h: Likewise.
23096 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23101 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23104 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23108 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23113 (_dl_x86_64_save_sse): Likewise.
23115 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23119 (_dl_x86_64_save_sse): Likewise.
23121 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23123 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23125 2011-07-21 Andreas Schwab <schwab@redhat.com>
23127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23129 (_dl_x86_64_save_sse): Use correct AVX check.
23131 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23133 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23134 bug in strncpy/strncat.
23135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23137 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23139 * string/tester.c (test_strcat): Add tests for different alignments
23140 of source and destination.
23141 (test_strncat): Likewise.
23143 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23146 * posix/glob.c (glob): Check passed in values before using them in
23147 expressions to avoid some overflows.
23148 (glob_in_dir): Likewise.
23151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23152 check for AVX enablement so that we don't crash with old kernels and
23154 * elf/tst-audit4.c: Add same checks here.
23155 * elf/tst-audit6.c: Likewise.
23157 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23159 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23161 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23163 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23165 * po/cs.po: Update from translation team.
23166 * po/bg.po: Likewise.
23168 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23170 * misc/sys/cdefs.h: Add support for const attribute.
23171 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23172 to gnu_dev_{major,minor,makedev} functions.
23174 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23176 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23178 2011-07-20 Andreas Schwab <schwab@redhat.com>
23180 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23183 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23185 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23186 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23187 register in order to avoid conflicts with the soft frame pointer
23188 being held in r11 when necessary.
23189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23190 (INTERNAL_VSYSCALL_NCS): Likewise.
23192 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23194 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23195 * elf/dl-fini.c (_dl_fini): Adjust caller.
23196 * elf/dl-close.c (_dl_close_worker): Likewise.
23197 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23199 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23201 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23202 "aux_cache->nlibs < 0".
23204 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23205 in the reload-count case.
23207 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23210 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23211 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23212 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23213 * sysdeps/x86_64/multiarch/strcat.S: New file.
23214 * sysdeps/x86_64/multiarch/strncat.S: New file.
23215 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23216 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23217 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23218 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23219 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23220 (USE_AS_STRCAT): Define.
23221 Add strcat and strncat support.
23222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23224 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23225 * string/strncat.c: Update.
23226 (USE_AS_STRNCAT): Define.
23227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23228 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23230 * sysdeps/x86_64/multiarch/init-arch.h
23231 (bit_Prefer_PMINUB_for_stringop): New.
23232 (index_Prefer_PMINUB_for_stringop): Likewise.
23233 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23234 bit_Prefer_PMINUB_for_stringop.
23236 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23238 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23240 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23241 of casting of buffer.
23242 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23243 buffer32 and buffer64.
23244 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23245 writes instead of casting of buffer.
23246 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23248 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23251 2011-07-19 Andreas Schwab <schwab@redhat.com>
23253 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23255 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23257 * nscd/nscd.c (termination_handler): Don't do anything for a database
23258 if it has not yet been initialized.
23260 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23262 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23264 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23266 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23268 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23270 * po/nl.po: Update from translation team.
23271 * po/sv.po: Likewise.
23273 2011-07-16 Roland McGrath <roland@hack.frob.com>
23275 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23276 now disallowed by GCC.
23278 * configure.in (use-default-link): Default to yes if a test -shared
23279 link meets our qualifications.
23280 * configure: Regenerated.
23282 * config.make.in (output-format): New variable.
23283 * configure.in: Check for ld --print-output-format support.
23284 * configure: Regenerated.
23285 * Makerules ($(common-objpfx)format.lds)
23286 [$(output-format) != unknown]: Just use $(output-format),
23287 instead of the linker-script munging.
23289 2011-07-14 Roland McGrath <roland@hack.frob.com>
23291 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23292 of $(common-objpfx)shlib.lds.
23293 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23295 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23296 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23298 * configure.in (-z relro check): Adjust test code to add a large
23299 writable data section after it.
23300 * configure: Regenerated.
23302 2011-07-11 Roland McGrath <roland@hack.frob.com>
23304 * configure.in (-z relro check): Fix test code to make the variable
23306 * configure: Regenerated.
23308 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23310 * nscd/nscd.h (struct traced_file): Define.
23311 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23312 elements. Add traced_files.
23313 (inotify_fd): Declare.
23314 (register_traced_file): Declare.
23315 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23316 (inotify_fd): Export.
23317 (resolv_conf_descr): Remove.
23318 (nscd_init): Move inotify descriptor creation to main.
23319 Don't register files for notification here.
23320 (register_traced_file): New function.
23321 (invalidate_cache): Don't use reset_res to determine whether to call
23322 res_init, go through the list of registered files.
23323 (main_loop_poll): The inotify descriptors are now stored in the
23324 structures for the traced files.
23325 (main_loop_epoll): Likewise
23326 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23327 to __nss_disable_nscd.
23328 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23329 for a database anymore. Check the records for all the registered
23331 * nss/Makefile (libnss_files-routines): Add files-init.
23332 (libnss_db-routines): Add db-init.
23333 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23334 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23335 * nss/nss_db/db-init.c: New file.
23336 * nss/nss_files/files-init.c: New file.
23337 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23338 __nss_lookup_function.
23339 (__nss_lookup_function): Call nss_load_library.
23340 (nss_load_all_libraries): New function.
23341 (__nss_disable_nscd): Take parameter with callback function for files
23342 to register. Set is_nscd. Load all the DSOs for the NSS modules
23343 used for the cached services.
23344 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23345 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23346 options for features to all the files in nscd.
23348 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23350 2011-07-10 Roland McGrath <roland@hack.frob.com>
23352 * csu/elf-init.c (__libc_csu_init): Comment typo.
23354 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23356 * po/pl.po: Update from translation team.
23357 * po/ja.po: Likewise.
23358 * po/ru.po: Likewise.
23359 * po/ko.po: Likewise.
23360 * po/fr.po: Likewise.
23362 2011-07-09 Roland McGrath <roland@hack.frob.com>
23364 * configure.in (.ctors/.dtors header and trailer check):
23365 Use an empirical test on a built program.
23366 * configure: Regenerated.
23368 * configure.in (-z relro check): Use an empirical test on a built DSO.
23369 Detect, but do not require, on ia64.
23370 * configure: Regenerated.
23372 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23373 Update tests that use readelf to use $READELF instead.
23374 * configure: Regenerated.
23376 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23378 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23379 if the result is not used.
23381 2011-07-05 Andreas Jaeger <aj@suse.de>
23384 * stdlib/tst-strtod.c: Add testcase.
23386 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23388 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23389 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23390 The latter has a higher limit. Take additional parameter to pass to
23392 (__pathconf): Pass file to __statfs_link_max.
23393 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23395 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23399 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23403 (__statfs_filesize_max): Likewise.
23404 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23406 2011-07-05 Andreas Jaeger <aj@suse.de>
23408 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23410 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23412 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23414 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23417 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23419 * Makefile (strop-tests): Add strncat.
23420 * string/test-strncat.c: New file.
23422 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23424 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23426 2011-06-21 Andreas Jaeger <aj@suse.de>
23428 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23429 Copy rule from iconvdata/Makefile.
23431 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23434 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23435 but no long options are defined, just return 'W'.
23437 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23440 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23442 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23444 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23446 (innetgr): Likewise.
23448 2011-07-05 Roland McGrath <roland@hack.frob.com>
23450 * config.make.in (install_root): Default to $(DESTDIR).
23452 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23456 2011-07-02 Roland McGrath <roland@hack.frob.com>
23458 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23460 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23461 containing directory rather than embedding absolute directory names.
23463 * scripts/check-local-headers.sh: Rewritten using awk.
23464 Match by word, not by line. Print error messages for matches.
23465 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23467 * Makerules [shlib-lds-flags empty]:
23468 ($(common-objpfx)libc_pic.opts): New target.
23469 ($(common-objpfx)libc_pic.os.clean): New target.
23470 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23472 * config.make.in (OBJCOPY): New variable.
23473 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23474 * configure: Regenerated.
23476 * config.make.in (use-default-link): New variable.
23477 * configure.in (use_default_link): Grok --with-default-link to set it.
23478 * configure: Regenerated.
23479 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23480 (shlib-lds, shlib-lds-flags): Define to empty.
23482 * Makerules (shlib-lds): New variable.
23483 (shlib-lds-flags): New variable.
23484 (build-shlib, build-moduile, build-module-asneeded): Use it.
23485 ($(common-objpfx)libc.so): Use $(shlib-lds).
23486 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23487 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23489 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23490 DT_FLAGS/DT_FLAGS_1 with zero flags.
23492 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23493 linker script munging.
23495 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23497 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23499 * crypt/sha512.c (sha512_process_block): Perform total addition using
23500 128-bit if possible.
23501 (__sha512_finish_ctx): Likewise.
23502 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23504 * crypt/sha256.c (SWAP64): Define.
23505 (sha256_process_block): Perform total addition using 64-bit if
23507 (__sha256_finish_ctx): Likewise.
23509 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23511 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23513 * nscd/hstcache.c (cache_addhst): Likewise.
23514 * nscd/grpcache.c (cache_addgr): Likewise.
23515 * nscd/aicache.c (addhstaiX): Likewise
23516 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23518 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23520 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23521 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23522 * nscd/hstcache.c (cache_addhst): Likewise.
23523 * nscd/grpcache.c (cache_addgr): Likewise.
23524 * nscd/aicache.c (addhstaiX): Likewise
23526 2011-07-01 Andreas Schwab <schwab@redhat.com>
23528 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23529 domain only when needed.
23531 2011-06-30 Andreas Schwab <schwab@redhat.com>
23533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23534 is always restored.
23536 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23538 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23539 are re-adding the entry.
23540 * nscd/servicescache.c (cache_addserv): Likewise.
23542 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23544 * sysdeps/generic/dl-irel.h: fix protection against multiple
23546 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23548 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23551 * malloc/memusage.sh: Fix quoting in message.
23552 * debug/xtrace.sh: Likewise.
23554 * configure.in: Remove support for --experimental-malloc option, make
23556 * config.make.in: Likewise.
23557 * malloc/Makefile: Likewise.
23559 2011-06-27 Andreas Schwab <schwab@redhat.com>
23561 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23562 two-byte characters.
23564 2011-06-27 Roland McGrath <roland@hack.frob.com>
23566 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23567 AC_CACHE_CHECK invocation.
23568 * configure: Regenerated.
23570 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23572 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23575 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23576 bit from old_res_options.
23578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23580 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23581 value type for setfct.
23583 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23586 __gettimeofday instead of gettimeofday.
23588 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23590 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23592 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23594 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23599 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23602 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23603 strcpy-sse2-unaligned strncpy-sse2-unaligned
23604 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23605 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23606 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23607 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23608 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23611 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23612 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23613 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23614 (STRCPY): Support SSE2 and SSSE3 versions.
23616 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23619 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23620 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23621 kernels which artificially limit size of requests.
23623 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23626 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23627 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23628 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23629 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23630 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23631 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23632 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23635 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23636 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23637 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23638 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23639 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23641 Enable unaligned load optimization for Intel Core i3, i5 and i7
23643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23645 (index_Fast_Unaligned_Load): Define.
23646 (HAS_FAST_UNALIGNED_LOAD): Define.
23648 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23650 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23652 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23656 until it is clear that the information is realy needed.
23657 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23659 2011-06-22 Andreas Schwab <schwab@redhat.com>
23661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23663 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23666 /sys/devices/system/cpu/online if it is usable.
23668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23669 reading the information from the /proc filesystem to once a second.
23671 2011-06-21 Andreas Jaeger <aj@suse.de>
23673 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23674 NULL after inclusion of kernel headers.
23676 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23678 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23679 calls to internal_setent.
23682 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23683 addresses using gethostbyname4_r ignore IPv4 addresses.
23685 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23686 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23688 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23690 2011-06-20 David S. Miller <davem@davemloft.net>
23692 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23694 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23696 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23697 (elf_irel): Use it.
23698 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23699 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23700 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23701 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23702 * sysdeps/x86_64/dl-irel.h: Likewise.
23704 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23705 * elf/dl-sym.c: Likewise.
23707 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23709 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23710 need to dereference resplen2.
23712 2011-06-14 Andreas Schwab <schwab@redhat.com>
23714 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23716 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23718 * Makeconfig: Define vardbdir and inst_vardbdir.
23719 * nss/Makefile: Add rules to install db-Makefile.
23721 * nss/nss_db/db-XXX.c: Cleanup.
23723 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23724 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23726 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23727 * nss/makedb.c: Implement -g option to specify that value strings
23728 are generated and should not be added to table iterated over for
23730 * nss/nss_db/db-initgroups.c: New file.
23732 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23735 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23736 (internal_getgrouplist): Adjust to name change.
23737 Update use_initgroups_entry if this is not the first call.
23738 * nss/databases.def: Add initgroups entry.
23740 * nss/makedb.c (compute_tables): Check result of multiple hash table
23741 sizes to minimize maximum chain length.
23743 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23745 * Versions.def: Add entry for libnss_db.
23746 * shlib-versions: Likewise.
23747 * nss/Makefile: Add rules to build libnss_db.
23748 * nss/Versions: Add libnss_db information. Organize libnss_files
23750 * nss/db-Makefile: Add gshadow support. Change rules for the new
23751 makedb progra. Some minor improvements to generate smaller files.
23752 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23754 * nss/makedb.c: ...here.
23755 Improve database format to be smaller and require less memory at
23757 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23759 * nss/nss_db/db-netgrp.c: Likewise.
23760 * nss/nss_db/db-open.c: Likewise.
23761 * nss/nss_files/flies-XXX.x: Adjust comments.
23762 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23763 * nss/nss_files/files-grp.c: Likewise.
23764 * nss/nss_files/files-hosts.c: Likewise.
23765 * nss/nss_files/files-network.c: Likewise.
23766 * nss/nss_files/files-proto.c: Likewise.
23767 * nss/nss_files/files-pwd.c: Likewise.
23768 * nss/nss_files/files-rpc.c: Likewise.
23769 * nss/nss_files/files-service.c: Likewise.
23770 * nss/nss_files/files-sgrp.c: Likewise.
23771 * nss/nss_files/files-spwd.c: Likewise.
23772 * nss/nss_db/db-alias.c: Removed.
23773 * nss/nss_db/dummy-db.h: Removed.
23775 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23777 * nss/makedb.c: Rewritten to not use database library.
23778 * nss/Makefile: Update to build new makedb program.
23780 2011-06-14 Andreas Jaeger <aj@suse.de>
23782 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23783 memset declaration.
23785 2011-06-10 Andreas Schwab <schwab@redhat.com>
23787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23790 2011-06-10 Roland McGrath <roland@hack.frob.com>
23792 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23793 * elf/Makefile ($(objpfx)ld.so): Likewise.
23795 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23796 Don't list ld.so twice in dependencies.
23798 * posix/bug-regex31.c: Include <stdlib.h>.
23800 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23802 * nis/nss_compat/compat-spwd.c
23803 (getspent_next_nss_netgr): Remove unused variable.
23804 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23806 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23807 nonmembers" output to use the right array.
23809 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23811 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23813 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23814 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23815 * catgets/gencat.c (read_input_file): Likewise.
23816 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23818 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23819 variable definition inside #if's controlling its use.
23821 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23823 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23825 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23827 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23830 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23832 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23833 * configure: Regenerated.
23835 * Makerules: Revert last change.
23836 * elf/Makefile: Likewise.
23838 2011-06-09 Roland McGrath <roland@hack.frob.com>
23840 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23841 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23842 (reloc-link): Likewise.
23844 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23846 * elf/Makefile: Add rules to build pldd.
23847 * elf/pldd.c: New file.
23848 * elf/pldd-xx.c: New file.
23850 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23852 * version.h: Update for 2.15 development version.
23854 2011-06-07 David S. Miller <davem@davemloft.net>
23856 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23859 elf_machine_lazy_rel): Likewise.
23860 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23862 elf_machine_lazy_rel): Likewise.
23863 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23864 dl_hwcap via passed in argument.
23865 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23868 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23870 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23872 2011-06-06 Roland McGrath <roland@hack.frob.com>
23875 * manual/fdl-1.1.texi: New file, verbatim from:
23876 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23877 * manual/lgpl-2.1.texi: New file, verbatim from:
23878 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23879 * manual/Makefile (licenses): New variable, list those new file names.
23881 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23883 * manual/fdl.texi: File removed.
23884 * manual/lesser.texi: File removed.
23885 * manual/libc.texinfo (Copying, Documentation License):
23886 Use new @include file names, put @appendix directive before @include.
23888 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23891 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23892 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23893 (mq_open): Add __NTH.
23895 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23898 Assume Intel Core i3/i5/i7 processor if AVX is available.
23900 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23905 2011-05-31 Andreas Schwab <schwab@redhat.com>
23907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23908 memory. Use alloca_account. Fix memory leak when retrying.
23910 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23912 * version.h (RELEASE): Bump for 2.14 release.
23913 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23915 * config.make.in (RANLIB): Remove entry.
23917 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23919 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23920 (libc.pot): Work around missing support for .ksh extension in xgettext.
23923 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23924 if both request failed.
23925 (send_dg): In case of server errors clear resplen or *resplen2.
23928 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23929 when there are multiple maps.
23930 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23931 (_dl_fini): Remove test here.
23933 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23935 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23938 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23939 bit from old_res_options.
23940 (gaih_inet): Likewise.
23943 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23946 * resolv/res_init.c (res_setoptions): Make the code more compact.
23949 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23953 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23955 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23958 * malloc/malloc.h: Declare malloc hook variables as volatile.
23960 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23964 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23965 raise in the comment.
23966 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23967 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23968 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23970 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23973 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23974 grow the buffers more if it already has to be sufficient.
23975 (build_wcs_upper_buffer): Likewise.
23976 * posix/regexec.c (check_matching): Likewise.
23977 (clean_state_log_if_needed): Likewise.
23978 (extend_buffers): Don't enlarge buffers beyond size of the input
23980 Patches mostly by Emil Wojak <emil@wojak.eu>.
23981 * posix/bug-regex32.c: New file.
23982 * posix/Makefile (tests): Add bug-regex32.
23984 * locale/findlocale.c (_nl_find_locale): Return right away if
23985 _nl_explode_name failed.
23986 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23988 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23990 * debug/xtrace.sh: Unify messages.
23991 * malloc/memusage.sh: Likewise.
23994 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23995 time symbol from vDSO. Substitute with vsyscall if not available.
23996 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23999 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24000 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24001 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24002 Add sendmmsg and internal_sendmmsg.
24003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24004 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24005 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24007 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24008 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24009 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24011 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24014 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24015 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24021 * iconvdata/Makefile (tests): Add bug-iconv9.
24022 * iconvdata/bug-iconv9.c: New file.
24024 2011-05-27 Andreas Schwab <schwab@redhat.com>
24027 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24029 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24032 (struct user_regs_struct): Change intcs field back to cs.
24034 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24036 * po/ja.po: Update from translation team.
24038 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24041 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24044 2011-05-20 Andreas Schwab <schwab@redhat.com>
24046 * stdlib/longlong.h: Update from GCC.
24048 2011-05-23 Andreas Schwab <schwab@redhat.com>
24050 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24052 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24053 Add parameter name.
24054 (__sysconf): Pass it down.
24056 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24059 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24061 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24062 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24063 add in in __libc_use_alloca calls. Adjust callers.
24064 (glob): Use malloc in some situations.
24066 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24067 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24070 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24072 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24073 and CLOCK_BOOTTIME_ALARM.
24076 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24079 * string/_strerror.c (__strerror_r): Print negative errors as signed
24083 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24084 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24085 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24087 * configure.in: Fix typo in redirection and correct removal of test
24088 files in two cases.
24091 * locale/setlocale.c (new_composite_name): Fix test to check for
24092 identical name of all categories.
24095 * libio/filedoalloc.c (local_isatty): New function.
24096 (_IO_file_doallocate): Use local_isatty.
24097 * stdio-common/perror.c (perror): In case a new stream is used
24098 forward the stream error.
24099 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24102 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24107 * include/alloca.h (extend_alloca_account): Define.
24110 * posix/regex.h: Fix comments with documentation of user-accessible
24111 fields after compilation and describe correct free'ing of pattern
24112 after re_compile_pattern.
24113 Patch by Reuben Thomas <rrt@sc3d.org>.
24115 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24117 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24118 and -mno-altivec to prevent the compiler from using Altivec and/or
24119 VSX instructions when the corresponding registers are not available.
24121 2011-05-19 Andreas Schwab <schwab@redhat.com>
24123 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24125 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24127 * libio/freopen.c (freopen): Use __dup2, not dup2.
24128 * libio/freopen64.c (freopen64): Likewise.
24130 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24133 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24134 * math/Makefile (tests): Add test-powl.
24135 (CFLAGS-test-powl.c): Define.
24136 * math/test-powl.c: New file.
24138 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24140 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24142 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24145 * iconvdata/gb18030.c: Update to GB18020-2005.
24147 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24149 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24150 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24151 Patch by Aharon Robbins <arnold@skeeve.com>.
24154 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24158 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24159 through underflows.
24162 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24163 point to strings before performing equality test for error_one_per_line
24167 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24170 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24171 (struct user_fpregs_struct): Avoid __uint*_t types.
24174 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24175 symbol info. Use it instead of calling _dl_addr locally.
24176 (lock_and_info): New function.
24177 (tr_freehook): Call lock_and_info and pass symbol info as additional
24178 parameter to tr_where.
24179 (tr_mallochook): Likewise.
24180 (tr_reallochook): Likewise.
24181 (tr_memalignhook): Likewise.
24183 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24184 used and couldn't be at all thread-safe.
24186 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24188 * libio/freopen.c (freopen): Don't close old file descriptor
24189 before the new one is opened. Instead dup the new file descriptor
24190 to the old one after the new stream is created.
24191 * libio/freopen64.c (freopen64): Likewise.
24192 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24193 * libio/fileops.c (_IO_new_file_close_it): Handle new
24194 _IO_FLAGS2_NOCLOSE flag.
24195 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24196 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24197 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24198 _IO_FLAGS2_NOCLOSE flag.
24199 * include/unistd.h: Add hidden_proto for dup3.
24200 Define __have_dup3.
24201 * io/dup3.c: Define hidden symbol.
24202 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24205 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24206 when an incomplete long option is used.
24207 * posix/tst-getopt_long1.c: New file.
24208 * posix/Makefile (tests): Add tst-getopt_long1.
24211 * scripts/config.guess: Update from autoconf-2.68.
24212 * scripts/config.sub: Likewise.
24215 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24217 (has_cpuclock): ...this. New function.
24218 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24219 macro here based on has_cpuclock code.
24222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24223 First byte (not low byte) is now always NUL.
24224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24227 Use non-cancelable interfaces.
24230 * locale/iso-639.def: Add entry for Sorani.
24233 * include/stdlib.h: Move include protection to the right place.
24234 Define abort_msg_s. Declare __abort_msg with it.
24235 * stdlib/abort.c (__abort_msg): Adjust type.
24236 * assert/assert.c (__assert_fail_base): New function. Majority
24237 of code from __assert_fail. Allocate memory for __abort_msg with
24239 (__assert_fail): Now call __assert_fail_base.
24240 * assert/assert-perr.c: Remove bulk of implementation. Use
24241 __assert_fail_base.
24242 * include/assert.hL Declare __assert_fail_base.
24243 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24245 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24247 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24251 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24252 until all modules are registered in the DTV.
24253 * elf/Makefile: Add rules to build and run tst-tls19.
24254 * elf/tst-tls19.c: New file.
24255 * elf/tst-tls19mod1.c: New file.
24256 * elf/tst-tls19mod2.c: New file.
24257 * elf/tst-tls19mod3.c: New file.
24258 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24261 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24265 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24266 two-byte sequence errors.
24267 * iconvdata/Makefile (tests): Add bug-iconv8.
24268 * iconvdata/bug-iconv8.c: New file.
24271 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24274 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24277 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24278 (dummy_getcfa): New function.
24279 (init): Get _Unwind_GetCFA address, use dummy if not found.
24280 (backtrace_helper): In recursion check, also check whether CFA changes.
24281 (__backtrace): Completely initialize arg.
24283 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24284 storing incomplete byte sequence in state object. Avoid testing for
24285 guaranteed too small input if we know there is enough data available.
24287 2011-05-11 Andreas Schwab <schwab@redhat.com>
24289 * Makeconfig (+link-pie): Indent.
24290 * Rules (binaries-pie): Define if $(have-fpie) and
24292 (binaries-shared): Also filter out $(binaries-pie).
24293 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24294 * nscd/Makefile (others-pie): Add nscd.
24295 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24296 ($(objpfx)nscd): Remove command override.
24297 * login/Makefile (others-pie): Add pt_chown.
24298 ($(objpfx)pt_chown): Remove command override.
24299 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24300 remove command overrides.
24302 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24304 * libio/tst_putwc.c: Fix error messages.
24307 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24308 currently writing and seek to current position when not.
24309 * libio/Makefile (tests): Add bug-fclose1.
24310 * libio/bug-fclose1.c: New file.
24312 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24315 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24316 don't set DF_1_NODELETE here.
24317 (do_lookup_x): When entering new entry test for copy relocation
24318 and if necessary set DF_1_NODELETE flag.
24319 * elf/tst-unique4.cc: New file.
24320 * elf/tst-unique4.h: New file.
24321 * elf/tst-unique4lib.cc: New file.
24322 * elf/Makefile: Add rules to build and run tst-unique4.
24323 Patch by Piotr Bury <pbury@goahead.com>.
24325 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24328 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24331 * misc/mntent_r.c (addmntent): Flush the stream after the output
24334 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24335 (is_trusted_path_normalize): Skip initial colon. Append slash
24336 to empty buffer. Duplicate is_trusted_path code but allow
24337 constructed patch to be prefix.
24338 (is_dst): Allow $ORIGIN followed by /.
24339 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24340 Correct testing of result of is_trusted_path_normalize
24341 (decompose_rpath): Fix warning.
24343 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24346 * grp/initgroups.c (internal_getgrouplist): When we found the service
24347 list through the initgroups entry in nsswitch.conf do not always
24348 continue on a successful lookup. Don't always use the
24349 __nss_group_database value if it is set.
24350 * nss/nsswitch.conf (initgroups): Change action for successful db
24351 lookup to continue for compatibility.
24353 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24356 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24358 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24360 * iconvdata/tst-tables.sh: Likewise.
24361 * iconvdata/cp770.c: New file.
24362 * iconvdata/cp771.c: New file.
24363 * iconvdata/cp772.c: New file.
24364 * iconvdata/cp773.c: New file.
24365 * iconvdata/cp774.c: New file.
24366 * iconvdata/testdata/CP770: New file.
24367 * iconvdata/testdata/CP770..UTF8: New file.
24368 * iconvdata/testdata/CP771: New file.
24369 * iconvdata/testdata/CP771..UTF8: New file.
24370 * iconvdata/testdata/CP772: New file.
24371 * iconvdata/testdata/CP772..UTF8: New file.
24372 * iconvdata/testdata/CP773: New file.
24373 * iconvdata/testdata/CP773..UTF8: New file.
24374 * iconvdata/testdata/CP774: New file.
24375 * iconvdata/testdata/CP774..UTF8: New file.
24377 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24379 * iconvdata/gen-8bit-gap.sh: Likewise.
24380 * iconvdata/gen-8bit.sh: Likewise.
24382 * locale/iso-639.def: Add ary entry.
24385 * locale/C-translit.h.in: Add U20A1 transliteration.
24388 * locale/iso-639.def: Add wae entry.
24389 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24392 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24396 * locale/C-translit.h.in: Add entry for U20B9.
24397 Patch by pravin.d.s@gmail.com.
24399 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24402 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24403 ENAMETOOLONG use generic getcwd.
24404 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24405 in rtld. Use *stat64.
24406 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24407 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24408 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24409 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24410 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24411 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24412 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24413 __fstatat64 macros.
24414 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24415 * dirent/rewinddir.c: Add libc_hidden_def.
24416 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24417 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24419 * include/dirent.h (__alloc_dir): Add flags parameter.
24420 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24421 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24423 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24424 from fdopendir if O_CLOEXEC is already set.
24426 2011-03-15 Alan Modra <amodra@gmail.com>
24428 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24429 l_tls_firstbyte_offset non-zero. Save padding offset in
24430 l_tls_firstbyte_offset for later use.
24431 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24432 freeing static tls block.
24434 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24436 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24437 where #ifdef was intended. The intent is to prevent ARG_MAX from
24438 being defined by the kernel headers.
24440 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24443 * resolv/resolv.h: Define RES_NOTLDQUERY.
24444 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24445 no-tld-query and set RES_NOTLDQUERY.
24446 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24447 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24448 modern BIND to search name as TLD unless forbidden.
24450 2011-05-07 Petr Baudis <pasky@suse.cz>
24451 Ulrich Drepper <drepper@gmail.com>
24454 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24455 (is_trusted_path): ...to here.
24456 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24457 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24458 using is_trusted_path_normalize() in setuid scripts.
24460 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24462 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24463 __BEGIN/__END_DECLS.
24465 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24468 NSS_STATUS_NOTFOUND if no record was found.
24470 2011-05-05 Andreas Schwab <schwab@redhat.com>
24472 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24473 (headers-not-in-tirpc): Remove rpc/netdb.h
24474 * resolv/netdb.h: Revert last change.
24476 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24478 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24479 circular dependency between libgcc.a and libc.a.
24481 2011-05-05 Andreas Schwab <schwab@redhat.com>
24483 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24484 * nis/Makefile: Don't install rpcsvc/*.
24485 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24486 instead of <rpc/types.h>.
24487 (MAXHOSTNAMELEN): Define.
24489 2011-05-03 Andreas Schwab <schwab@redhat.com>
24491 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24493 2011-04-28 Maciej Babinski <mbabinski@google.com>
24496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24497 gethostbyname4_r when IPv6 results are possible.
24499 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24502 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24503 _PC_PIPE_BUF handling.
24505 2011-04-30 Bruno Haible <bruno@clisp.org>
24508 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24509 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24511 * inet/getnameinfo.c (getnameinfo): Likewise.
24513 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24515 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24516 to groups setting in database lookup.
24517 * nss/nsswitch.conf: Add initgroups entry.
24519 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24522 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24524 Patch by Eric Blake <eblake@redhat.com>.
24526 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24528 * sunrpc/Makefile (need-export-routines): Add svc_run.
24529 (routines): Remove svc_run.
24530 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24531 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24532 * sunrpc/svc_run.c (svc_run): Likewise.
24533 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24535 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24538 problem in reallocation in last patch.
24540 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24542 * sunrpc/Makefile: Move inclusion of Rules.
24544 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24546 * nss/nss_files/files-initgroups.c: New file.
24547 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24548 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24549 _nss_files_initgroups_dyn.
24551 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24553 * elf/elf.h (R_ARM_IRELATIVE): Define.
24555 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24557 * po/ru.po: Update from translation team.
24559 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24561 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24564 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24567 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24568 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24573 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24575 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24577 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24581 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24584 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24586 * stdlib/bug-getcontext.c: New file.
24587 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24589 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24591 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24592 instructions into .machine "z9-109".
24593 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24594 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24596 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24598 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24599 between environment variables and auxiliary vector.
24601 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24603 * Makefile: Add rules to build linkobj/libc.so.
24604 * include/libc-symbols.h: Define libc_hidden_nolink.
24605 * include/rpc/auth.h: Mark functions which are to be hidden.
24606 * include/rpc/auth_des.h: Likewise.
24607 * include/rpc/auth_unix.h: Likewise.
24608 * include/rpc/clnt.h: Likewise.
24609 * include/rpc/des_crypt.h: Likewise.
24610 * include/rpc/key_prot.h: Likewise.
24611 * include/rpc/pmap_clnt.h: Likewise.
24612 * include/rpc/pmap_prot.h: Likewise.
24613 * include/rpc/pmap_rmt.h: Likewise.
24614 * include/rpc/rpc_msg.h: Likewise.
24615 * include/rpc/svc.h: Likewise.
24616 * include/rpc/svc_auth.h: Likewise.
24617 * include/rpc/xdr.h: Likewise.
24618 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24619 * nss/Makefile: Likewise.
24620 * sunrpc/Makefile: Don't install headers. Build library with normal
24621 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24622 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24623 for the compat linking library. Remove use of INTDEF/INTUSE.
24624 * sunrpc/auth_none.c: Likewise.
24625 * sunrpc/auth_unix.c: Likewise.
24626 * sunrpc/authdes_prot.c: Likewise.
24627 * sunrpc/authuxprot.c: Likewise.
24628 * sunrpc/clnt_gen.c: Likewise.
24629 * sunrpc/clnt_perr.c: Likewise.
24630 * sunrpc/clnt_raw.c: Likewise.
24631 * sunrpc/clnt_simp.c: Likewise.
24632 * sunrpc/clnt_tcp.c: Likewise.
24633 * sunrpc/clnt_udp.c: Likewise.
24634 * sunrpc/clnt_unix.c: Likewise.
24635 * sunrpc/des_crypt.c: Likewise.
24636 * sunrpc/des_soft.c: Likewise.
24637 * sunrpc/get_myaddr.c: Likewise.
24638 * sunrpc/key_call.c: Likewise.
24639 * sunrpc/key_prot.c: Likewise.
24640 * sunrpc/netname.c: Likewise.
24641 * sunrpc/pm_getmaps.c: Likewise.
24642 * sunrpc/pm_getport.c: Likewise.
24643 * sunrpc/pmap_clnt.c: Likewise.
24644 * sunrpc/pmap_prot.c: Likewise.
24645 * sunrpc/pmap_prot2.c: Likewise.
24646 * sunrpc/pmap_rmt.c: Likewise.
24647 * sunrpc/publickey.c: Likewise.
24648 * sunrpc/rpc_cmsg.c: Likewise.
24649 * sunrpc/rpc_common.c: Likewise.
24650 * sunrpc/rpc_dtable.c: Likewise.
24651 * sunrpc/rpc_prot.c: Likewise.
24652 * sunrpc/rpc_thread.c: Likewise.
24653 * sunrpc/rtime.c: Likewise.
24654 * sunrpc/svc.c: Likewise.
24655 * sunrpc/svc_auth.c: Likewise.
24656 * sunrpc/svc_authux.c: Likewise.
24657 * sunrpc/svc_raw.c: Likewise.
24658 * sunrpc/svc_run.c: Likewise.
24659 * sunrpc/svc_simple.c: Likewise.
24660 * sunrpc/svc_tcp.c: Likewise.
24661 * sunrpc/svc_udp.c: Likewise.
24662 * sunrpc/svc_unix.c: Likewise.
24663 * sunrpc/svcauth_des.c: Likewise.
24664 * sunrpc/xcrypt.c: Likewise.
24665 * sunrpc/xdr.c: Likewise.
24666 * sunrpc/xdr_array.c: Likewise.
24667 * sunrpc/xdr_float.c: Likewise.
24668 * sunrpc/xdr_intXX_t.c: Likewise.
24669 * sunrpc/xdr_mem.c: Likewise.
24670 * sunrpc/xdr_rec.c: Likewise.
24671 * sunrpc/xdr_ref.c: Likewise.
24672 * sunrpc/xdr_sizeof.c: Likewise.
24673 * sunrpc/xdr_stdio.c: Likewise.
24675 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24678 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24679 * sysdeps/ia64/dl-tls.h: Likewise.
24680 * sysdeps/powerpc/dl-tls.h: Likewise.
24681 * sysdeps/s390/dl-tls.h: Likewise.
24682 * sysdeps/sh/dl-tls.h: Likewise.
24683 * sysdeps/sparc/dl-tls.h: Likewise.
24684 * sysdeps/x86_64/dl-tls.h: Likewise.
24685 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24687 2011-03-14 Andreas Schwab <schwab@redhat.com>
24689 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24690 rpath element also skip the following colon.
24691 (expand_dynamic_string_token): Add is_path parameter and pass
24692 down to DL_DST_REQUIRED and _dl_dst_substitute.
24693 (decompose_rpath): Call expand_dynamic_string_token with
24694 non-zero is_path. Ignore empty rpaths.
24695 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24698 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24703 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24706 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24707 Patch by Filipe David Manana <fdmanana@apache.org>.
24709 2011-04-07 Andreas Schwab <schwab@redhat.com>
24711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24712 Maintain aligned stack.
24713 (CHECK_RSP): Remove unused macro.
24715 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24717 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24720 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24722 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24724 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24726 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24729 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24730 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24731 * sysdeps/x86_64/memmove.c: New file.
24732 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24733 (memcpy): Renamed to ...
24734 (__new_memcpy): This.
24735 (memcpy): Provide GLIBC_2_14 memcpy.
24736 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24737 (memcpy): Provide GLIBC_2_2_5 memcpy.
24739 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24742 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24744 2011-03-30 Andreas Schwab <schwab@redhat.com>
24746 * misc/syncfs.c: New file.
24747 * misc/Makefile (routines): Add syncfs.
24748 * posix/unistd.h: Declare syncfs.
24749 * sysdeps/unix/syscalls.list: Add syncfs.
24751 2011-04-01 Andreas Schwab <schwab@redhat.com>
24753 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24756 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24760 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24763 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24767 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24769 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24773 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24774 sync_file_range.c with -fexceptions.
24775 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24776 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24777 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24778 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24779 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24780 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24782 sync_file_range as cancellation point
24783 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24784 now a wrapper around __call_sync_file_range with cancellation handling.
24785 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24786 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24787 function name to __call_sync_file_range.
24788 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24789 Add call_sync_file_range.
24791 2011-04-01 Andreas Schwab <schwab@redhat.com>
24793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24796 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24798 * iconv/iconv.h: Fix typo in comment.
24799 * io/fcntl.h: Likewise.
24800 * libio/stdio.h: Likewise.
24801 * posix/spawn.h: Likewise.
24802 * posix/unistd.h: Likewise.
24803 * stdlib/stdlib.h: Likewise.
24804 * time/time.h: Likewise.
24805 * wcsmbs/wchar.h: Likewise.
24807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24808 open_by_handle): Add.
24809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24810 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24811 Augment a few comments.
24812 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24817 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24820 * io/fcntl.h (AT_EMPTY_PATH): Define.
24822 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24824 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24825 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24826 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24828 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24829 * Versions.def: Add GLIBC_2.14.
24830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24833 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24835 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24837 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24839 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24842 * string/test-strncmp.c (do_page_test): New function.
24843 (check2): Likewise.
24844 (test_main): Call check2.
24845 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24847 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24850 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24851 Handle cache information in CPU leaf 4.
24852 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24854 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24857 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24858 character representation.
24859 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24861 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24863 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24864 END(__isnan) to END(__isnanf) to match function entry point/label
24865 EALIGN(__isnanf,...).
24867 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24869 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24871 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24874 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24875 copy from the symbol referenced in the relocation to initialize the
24877 Patch by Piotr Bury <pbury@goahead.com>.
24878 * elf/Makefile: Add rules to build and tst-unique3.
24879 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24880 * elf/tst-unique3.cc: New file.
24881 * elf/tst-unique3.h: New file.
24882 * elf/tst-unique3lib.cc: New file.
24883 * elf/tst-unique3lib2.cc: New file.
24885 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24887 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24889 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24890 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24893 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24895 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24896 to-be-loaded object along a path to loader is ld.so.
24898 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24899 Ulrich Drepper <drepper@gmail.com>
24901 * sysdeps/x86_64/memset.S: After aligning destination, code
24902 branches to different locations depending on the value of
24903 misalignment, when multiarch is enabled. Fix this.
24905 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24907 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24908 Set _x86_64_preferred_memory_instruction for AMD processsors.
24909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24910 Set bit_Prefer_SSE_for_memop for AMD processors.
24912 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24914 * libio/fmemopen.c (fmemopen): Optimize a bit.
24916 2011-03-03 Andreas Schwab <schwab@redhat.com>
24918 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24920 2011-03-03 Roland McGrath <roland@redhat.com>
24922 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24924 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24926 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24927 __bzero_ultra1 instead of __memset_ultra1.
24929 2011-02-23 Andreas Schwab <schwab@redhat.com>
24930 Ulrich Drepper <drepper@gmail.com>
24933 * include/link.h (struct link_map): Add l_orig_initfini.
24934 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24935 returning unsuccessfully.
24936 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24937 close of a file loaded at startup, restore the original l_initfini
24939 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24940 list, store the pointer.
24941 * elf/Makefile ($(objpfx)noload-mem): New rule.
24942 (noload-ENV): Define.
24943 (tests): Add $(objpfx)noload-mem.
24944 * elf/noload.c: Include <memcheck.h>.
24945 (main): Call mtrace. Close all opened handles.
24947 2011-02-17 Andreas Schwab <schwab@redhat.com>
24950 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24951 dependencies are missing.
24953 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24955 Fix __if_freereq crash: Unlike the generic version which uses free,
24957 * sysdeps/mach/hurd/ifreq.h: New file.
24959 2011-01-27 Petr Baudis <pasky@suse.cz>
24960 Ulrich Drepper <drepper@gmail.com>
24963 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24964 to extend_alloca().
24965 * stdio-common/bug23.c: New file.
24966 * stdio-common/Makefile (tests): Add bug23.
24968 2010-09-28 Andreas Schwab <schwab@redhat.com>
24969 Ulrich Drepper <drepper@gmail.com>
24972 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24973 before performing relro protection. At old place add assertion
24974 to make sure nothing changed.
24976 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24977 Glauber de Oliveira Costa <glommer@gmail.com>
24979 * elf/elf.h: Add new ARM TLS relocs.
24981 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24984 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24986 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24988 * sysdeps/wordsize-64/tst-writev.c: New file.
24990 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24992 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24993 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24994 insns in _dl_start to prevent a TOC reference before relocs are
24997 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25000 * Makeconfig: Remove RANLIB definition.
25001 * Makerules: Don't use RANLIB.
25002 * aclocal.m4: Remove ranlib test.
25003 * configure.in: No need to check for ranlib.
25004 * elf/rtld-Rules: Don't use RANLIB.
25006 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25008 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25010 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25011 inclusion protection macro.
25013 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25014 SIGRTMIN and SIGRTMAX and print information in that case only when
25015 SIGRTMIN is defined.
25017 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25019 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25020 arginfo fn returning -1.
25022 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25023 and thousands string is zero terminated.
25025 2011-02-03 Andreas Schwab <schwab@redhat.com>
25027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25028 sysdeps/unix/sysv/linux/bits/socket.h.
25030 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25032 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25033 (__CPU_COUNT): Remove old macros.
25034 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25035 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25036 (__CPU_ALLOC, __CPU_FREE): Add macros.
25037 (__sched_cpualloc, __sched_cpufree): Add declarations.
25039 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25041 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25042 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25043 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25044 (readdhstai): Return value of addhstaiX call.
25045 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25046 (addgrbyX): Return value returned by cache_addgr.
25047 (readdgrbyname): Return value returned by addgrbyX.
25048 (readdgrbygid): Likewise.
25049 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25050 (addpwbyX): Return value returned by cache_addpw.
25051 (readdpwbyname): Return value returned by addhstbyX.
25052 (readdpwbyuid): Likewise.
25053 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25054 (addservbyX): Return value returned by cache_addserv.
25055 (readdservbyname): Return value returned by addservbyX:
25056 (readdservbyport): Likewise.
25057 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25058 (addhstbyX): Return value returned by cache_addhst.
25059 (readdhstbyname): Return value returned by addhstbyX.
25060 (readdhstbyaddr): Likewise.
25061 (readdhstbynamev6): Likewise.
25062 (readdhstbyaddrv6): Likewise.
25063 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25064 (readdinitgroups): Return value returned by addinitgroupsX.
25065 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25066 (prune_cache): Keep track of timeout value of re-added entries.
25067 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25068 * nscd/nscd.h: Adjust prototypes of readd* functions.
25070 2011-02-04 Roland McGrath <roland@redhat.com>
25072 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25073 (nis_stats): Likewise.
25074 * nis/nis_modify.c (nis_modify): Likewise.
25075 * nis/nis_remove.c (nis_remove): Likewise.
25076 * nis/nis_add.c (nis_add): Likewise.
25078 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25080 * posix/fnmatch_loop.c: Add some consts.
25082 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25084 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25087 * config.make.in (config-cflags-novzeroupper): Define.
25088 * configure.in: Substitute libc_cv_cc_novzeroupper.
25089 * elf/Makefile (AVX-CFLAGS): Define.
25090 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25091 (CFLAGS-tst-auditmod4a.c): Likewise.
25092 (CFLAGS-tst-auditmod4b.c): Likewise.
25093 (CFLAGS-tst-auditmod6b.c): Likewise.
25094 (CFLAGS-tst-auditmod6c.c): Likewise.
25095 (CFLAGS-tst-auditmod7b.c): Likewise.
25096 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25098 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25100 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25101 function to the callback.
25102 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25104 2011-02-02 Andreas Schwab <schwab@redhat.com>
25106 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25109 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25112 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25114 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25116 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25119 * elf/Makefile: Add rules to build and run new test.
25120 * elf/tst-initorder.c: New file.
25121 * elf/tst-initorder.exp: New file.
25122 * elf/tst-initordera1.c: New file.
25123 * elf/tst-initordera2.c: New file.
25124 * elf/tst-initordera3.c: New file.
25125 * elf/tst-initordera4.c: New file.
25126 * elf/tst-initorderb1.c: New file.
25127 * elf/tst-initorderb2.c: New file.
25128 * elf/tst-order-a1.c: New file.
25129 * elf/tst-order-a2.c: New file.
25130 * elf/tst-order-a3.c: New file.
25131 * elf/tst-order-a4.c: New file.
25132 * elf/tst-order-b1.c: New file.
25133 * elf/tst-order-b2.c: New file.
25134 * elf/tst-order-main.c: New file.
25135 New test case by George Gensure <werkt0@gmail.com>.
25137 2010-10-01 Andreas Schwab <schwab@redhat.com>
25139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25140 decoding ACE if AI_CANONIDN.
25142 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25144 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25146 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25148 * version.h (RELEASE): Bump for 2.13 release.
25149 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25151 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25155 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25162 * posix/getconf.c: Update copyright year.
25163 * catgets/gencat.c: Likewise.
25164 * csu/version.c: Likewise.
25165 * debug/catchsegv.sh: Likewise.
25166 * debug/xtrace.sh: Likewise.
25167 * elf/ldconfig.c: Likewise.
25168 * elf/ldd.bash.in: Likewise.
25169 * elf/sprof.c (print_version): Likewise.
25170 * iconv/iconv_prog.c: Likewise.
25171 * iconv/iconvconfig.c: Likewise.
25172 * locale/programs/locale.c: Likewise.
25173 * locale/programs/localedef.c: Likewise.
25174 * malloc/memusage.sh: Likewise.
25175 * malloc/mtrace.pl: Likewise.
25176 * nscd/nscd.c (print_version): Likewise.
25177 * nss/getent.c: Likewise.
25179 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25180 PF_CAIF, and PF_ALG.
25181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25183 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25185 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25186 (modules-names): Use them.
25187 (ifunc-test-modules, ifunc-pie-tests): Define.
25188 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25189 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25190 (test-extras): Likewise.
25191 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25192 $(compile-command.c).
25193 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25194 (all-built-dso): Define.
25195 (check-textrel.out, check-execstack.out): Depend on it.
25197 * configure.in: Don't override --enable-multi-arch.
25199 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25202 * nscd/hstcache.c (tryagain): Define.
25203 (cache_addhst): Return tryagain not notfound for temporary errors.
25204 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25207 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25210 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25211 to make the syscall.
25212 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25215 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25216 and fall back to matching as normal character if the string ends before
25217 the matching ']' is found. This is what POSIX requires.
25218 * posix/testfnm.c: Adjust test result.
25219 * posix/globtest.sh: Adjust test result. Add new test.
25220 * posix/tst-fnmatch.input: Likewise.
25221 * posix/tst-fnmatch2.c: Add new test.
25223 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25225 * elf/Makefile (check-execstack): Revert last change. Depend on
25227 (check-execstack.h): New target.
25228 (generated): Add check-execstack.h.
25229 * elf/check-execstack.c: Include "check-execstack.h".
25230 (main): Revert last change.
25231 (handle_file): Return zero if GNU_STACK is absent and
25232 DEFAULT_STACK_PERMS doesn't include PF_X.
25234 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25236 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25237 in child fails because the descriptor is already closed.
25238 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25239 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25243 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25247 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25248 temporary buffer used to handle multi lookups locally.
25249 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25251 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25253 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25256 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25258 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25259 alignment for SSE2.
25261 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25264 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25265 characters. When rounding increased number of integer digits recompute
25267 * stdio-common/tst-grouping.c: New file.
25268 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25270 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25272 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25273 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25275 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25277 * bits/select.h: Likewise.
25279 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25281 * po/ja.po: Update from translation team.
25283 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25286 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25287 implementation just like for lxstat, fxstatat, et al.
25289 2010-12-27 Jim Meyering <meyering@redhat.com>
25292 * posix/regexec.c (build_trtable): Return failure indication upon
25293 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25295 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25298 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25299 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25300 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25304 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25307 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25308 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25310 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25312 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25313 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25314 script has SORT_BY_INIT_PRIORITY.
25315 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25316 NO_CTORS_DTORS_SECTIONS is defined.
25317 * elf/soinit.c: Likewise.
25318 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25319 NO_CTORS_DTORS_SECTIONS is defined.
25320 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25321 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25322 * sysdeps/sh/init-first.c: Likewise.
25323 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25325 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25327 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25328 always use the slow path.
25330 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25332 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25333 similar rule which adds the sysdep directories to the header search in
25334 order to pick up the correct platform stackinfo.h.
25335 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25336 perform test if it is, otherwise return successfully without testing.
25337 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25338 DEFAULT_STACK_PERMS define in stackinfo.h.
25339 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25340 defined in stackinfo.h.
25341 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25342 DEFAULT_STACK_PERMS defined in stackinfo.h.
25343 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25344 * sysdeps/ia64/stackinfo.h: Likewise.
25345 * sysdeps/s390/stackinfo.h: Likewise.
25346 * sysdeps/sh/stackinfo.h: Likewise.
25347 * sysdeps/sparc/stackinfo.h: Likewise.
25348 * sysdeps/x86_64/stackinfo.h: Likewise.
25349 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25350 PF_X for powerpc64. Retain PF_X for powerpc32.
25352 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25354 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25356 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25357 GETDENTS_64BIT_ALIGNED.
25359 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25361 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25363 2010-12-10 Andreas Schwab <schwab@redhat.com>
25365 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25368 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25369 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25371 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25372 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25374 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25377 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25380 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25382 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25384 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25386 * po/it.po: Update from translation team.
25388 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25393 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25395 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25397 2010-11-24 Andreas Schwab <schwab@redhat.com>
25399 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25401 (gaih_getanswer_slice): Likewise.
25403 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25407 2010-05-31 Petr Baudis <pasky@suse.cz>
25410 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25411 silently even in the chroot mode.
25413 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25415 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25416 last patch a bit. Pretty printing
25418 2010-05-31 Petr Baudis <pasky@suse.cz>
25421 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25422 initialization of skip_initgroups_dyn.
25424 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25426 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25429 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25431 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25433 2010-11-11 Andreas Schwab <schwab@redhat.com>
25435 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25436 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25437 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25438 ($(objpfx)tst-fnmatch-mem): New rule.
25439 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25440 * posix/tst-fnmatch.c (main): Call mtrace.
25442 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25445 Support Intel processor model 6 and model 0x2c.
25447 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25449 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25452 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25455 * string/test-strncasecmp.c (check_result): New function.
25456 (do_one_test): Use it.
25457 (check1): New function.
25458 (test_main): Use it.
25459 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25460 Support strcasecmp and strncasecmp.
25462 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25465 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25468 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25470 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25474 * sysdeps/x86_64/multiarch/bzero.S: New file.
25475 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25476 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25477 * sysdeps/x86_64/multiarch/memset.S: New file.
25478 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25480 Set bit_Prefer_SSE_for_memop for Intel processors.
25481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25483 (index_Prefer_SSE_for_memop): Define.
25484 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25486 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25488 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25489 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25491 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25494 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25495 (__x86_64_raw_data_cache_size_half): Likewise.
25496 (__x86_64_raw_shared_cache_size): Likewise.
25497 (__x86_64_raw_shared_cache_size_half): Likewise.
25499 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25500 (__x86_64_raw_data_cache_size_half): Likewise.
25501 (__x86_64_raw_shared_cache_size): Likewise.
25502 (__x86_64_raw_shared_cache_size_half): Likewise.
25503 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25504 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25505 and __x86_64_raw_shared_cache_size_half. Round
25506 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25507 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25508 to multiple of 256 bytes.
25510 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25513 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25514 of inacessible symlinks. Verify result of symlink before returning it.
25515 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25516 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25518 2010-10-28 Erich Ritz <erichritz@gmail.com>
25520 * math/math.h (isinf): Fix typo in comment.
25522 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25524 * po/da.po: Update from translation team.
25526 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25528 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25529 is added to the list.
25531 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25532 Ulrich Drepper <drepper@gmail.com>
25534 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25535 the global list here. Move code to...
25536 (_dl_add_to_namespace_list): ...here. New function.
25537 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25538 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25539 * elf/dl-load.c (lose): Don't remove the element from the list.
25540 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25541 (_dl_map_object): Likewise.
25543 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25546 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25547 into all bytes of SSE register.
25548 Patch by Richard Li <richardpku@gmail.com>.
25550 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25553 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25556 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25558 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25559 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25560 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25561 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25566 2010-10-22 Andreas Schwab <schwab@redhat.com>
25568 * include/dlfcn.h (__RTLD_SECURE): Define.
25569 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25570 mode & __RTLD_SECURE instead.
25571 (open_path): Rename preloaded parameter to secure.
25572 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25573 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25574 * elf/dl-deps.c (openaux): Likewise.
25575 * elf/rtld.c (struct map_args): Remove is_preloaded.
25576 (map_doit): Don't use it.
25577 (dl_main): Likewise.
25578 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25579 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25581 2010-09-09 Andreas Schwab <schwab@redhat.com>
25583 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25584 (sysd-rules-targets): Remove duplicates.
25585 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25586 rtld-%.$o dependency.
25588 2010-10-18 Andreas Schwab <schwab@redhat.com>
25590 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25591 _dl_map_object do it.
25593 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25595 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25596 fast fma builtins, define the macros in the C99 standard.
25597 (FP_FAST_FMAF): Likewise.
25598 (FP_FAST_FMAL): Likewise.
25599 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25601 * bits/mathdef.h: Update copyright year.
25602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25604 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25606 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25607 builtins, define the macros in the C99 standard.
25608 (FP_FAST_FMAF): Likewise.
25609 (FP_FAST_FMAL): Likewise.
25610 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25612 (FP_FAST_FMAF): Likewise.
25614 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25617 * math/libm-test.inc (fma_test): Some new testcases.
25618 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25620 y and infinite z. Do multiplication by C already in long double.
25621 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25623 y and infinite z. Do bitwise or of inexact bit into u.d.
25624 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25625 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25626 * sysdeps/i386/fpu/s_fma.S: Removed.
25627 * sysdeps/i386/fpu/s_fmal.S: Removed.
25629 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25632 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25634 computation is not scheduled after fetestexcept. Fix value
25635 of minimum denormal long double.
25637 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25640 * math/libm-test.inc (fma_test): Add some more tests.
25641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25644 2010-10-15 Andreas Schwab <schwab@redhat.com>
25646 * scripts/data/localplt-s390-linux-gnu.data: New file.
25647 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25649 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25652 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25653 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25655 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25657 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25659 if one of x and y is very large and the other is subnormal.
25660 * sysdeps/s390/fpu/s_fmaf.c: New file.
25661 * sysdeps/s390/fpu/s_fma.c: New file.
25662 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25663 * sysdeps/powerpc/fpu/s_fma.S: New file.
25664 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25665 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25666 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25668 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25671 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25674 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25675 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25676 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25677 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25678 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25681 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25684 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25685 * posix/bug-regex31.input: Add test case.
25687 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25689 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25690 * posix/bug-regex31.input: New file.
25693 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25694 (parse_sub_exp): Fix last change, use postorder.
25696 * posix/bug-regex31.c: New file.
25697 * posix/Makefile: Add rules to build and run bug-regex31.
25699 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25702 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25705 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25706 to have entries in sys_siglist.
25709 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25712 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25715 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25716 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25717 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25718 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25719 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25720 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25721 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25722 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25723 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25724 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25725 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25726 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25727 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25728 * math/ftestexcept.c (fetestexcept): Likewise.
25729 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25730 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25731 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25732 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25733 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25734 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25737 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25740 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25743 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25745 * string/bug-strstr1.c: New file.
25746 * string/Makefile: Add rules to build and run bug-strstr1.
25748 2010-10-05 Eric Blake <eblake@redhat.com>
25751 * string/str-two-way.h (two_way_long_needle): Always clear memory
25752 when skipping input due to the shift table.
25754 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25757 * malloc/mcheck.c: Handle large requests.
25760 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25761 for strncmp and strncasecmp.
25762 * string/stratcliff.c: Add tests for strcmp and strncmp.
25763 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25765 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25767 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25770 2010-09-30 Andreas Jaeger <aj@suse.de>
25772 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25773 (CGROUP_SUPER_MAGIC): Define.
25774 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25775 Handle btrfs and cgroup file systems.
25776 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25779 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25781 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25782 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25784 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25787 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25788 trying to locate the ELF header.
25790 2010-09-27 Andreas Schwab <schwab@redhat.com>
25793 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25794 Mask out sign-bit copies when constructing f_fsid.
25796 2010-09-24 Petr Baudis <pasky@suse.cz>
25798 * debug/stack_chk_fail_local.c: Add missing licence exception.
25799 * debug/warning-nop.c: Likewise.
25801 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25803 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25804 implementing getdents64 using getdents syscall, set d_type if
25805 __ASSUME_GETDENTS32_D_TYPE.
25807 2010-09-16 Andreas Schwab <schwab@redhat.com>
25809 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25810 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25812 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25815 * posix/unistd.h: Undo change of feature selection for ftruncate from
25818 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25820 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25823 2010-09-20 Andreas Schwab <schwab@redhat.com>
25825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25829 2010-09-14 Andreas Schwab <schwab@redhat.com>
25831 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25832 variables after CHECK_SP call.
25833 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25835 2010-09-13 Andreas Schwab <schwab@redhat.com>
25836 Ulrich Drepper <drepper@redhat.com>
25838 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25839 re-relocationg ld.so.
25840 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25841 _dl_init_paths call.
25842 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25845 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25847 * resolv/res_init.c (__res_vinit): Count the default server we added.
25849 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25850 Ulrich Drepper <drepper@redhat.com>
25853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25854 (____longjmp_chk): Use %ebx for saving value across system call.
25857 2010-09-06 Andreas Schwab <schwab@redhat.com>
25859 * manual/Makefile: Don't mix pattern rules with normal rules.
25861 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25863 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25865 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25866 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25867 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25868 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25872 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25875 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25876 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25878 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25880 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25881 * sysdeps/x86_64/addmul_1.S: Likewise.
25882 * sysdeps/x86_64/lshift.S: Likewise.
25883 * sysdeps/x86_64/mul_1.S: Likewise.
25884 * sysdeps/x86_64/rshift.S: Likewise.
25885 * sysdeps/x86_64/sub_n.S: Likewise.
25886 * sysdeps/x86_64/submul_1.S: Likewise.
25888 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25890 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25891 Define __sched_param instead of SCHED_* and sched_param when
25892 <bits/sched.h> is included with __need_schedparam defined.
25893 * bits/sched.h [__need_schedparam]
25894 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25895 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25896 (__defined_schedparam): Define to 1.
25897 (__sched_param): New structure, identical to sched_param.
25898 (__need_schedparam): Undefine.
25900 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25903 (epoll_create1): Declare.
25905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25907 2010-08-31 Andreas Schwab <schwab@redhat.com>
25910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25911 shifting retval into place.
25913 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25915 * nis/rpcsvc/nis.h: Update copyright notice.
25916 * nis/rpcsvc/nis.x: Likewise.
25917 * nis/rpcsvc/nis_callback.h: Likewise.
25918 * nis/rpcsvc/nis_callback.x: Likewise.
25919 * nis/rpcsvc/nis_object.x: Likewise.
25920 * nis/rpcsvc/nis_tags.h: Likewise.
25921 * nis/rpcsvc/yp.h: Likewise.
25922 * nis/rpcsvc/yp.x: Likewise.
25923 * nis/rpcsvc/ypupd.h: Likewise.
25924 * nis/yp_xdr.c: Likewise.
25925 * nis/ypupdate_xdr.c: Likewise.
25927 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25928 mainly the body of pmap_getport. Add parameters to specify timeouts.
25929 (pmap_getport): Use __libc_rpc_getport.
25930 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25931 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25932 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25934 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25939 2010-08-27 Roland McGrath <roland@redhat.com>
25941 * sysdeps/i386/i686/multiarch/Makefile
25942 (CFLAGS-varshift.c): New variable.
25944 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25946 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25947 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25951 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25953 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25955 * sysdeps/x86_64/strlen.S: Unroll the loop.
25956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25957 strlen-sse2 strlen-sse2-bsf.
25958 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25959 __strlen_no_bsf if bit_Slow_BSF is set.
25960 (__strlen_sse42): Removed.
25961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25962 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25964 2010-08-25 Roland McGrath <roland@redhat.com>
25966 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25967 * sysdeps/x86_64/multiarch/varshift.c: New file.
25968 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25969 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25970 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25971 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25973 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25976 strlen-sse2 strlen-sse2-bsf.
25977 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25978 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25979 (__strlen_sse2): Removed.
25980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25983 bit_Slow_BSF for Atom.
25984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25985 (index_Slow_BSF): Define.
25986 (HAS_SLOW_BSF): Define.
25988 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25991 * resolv/res_init.c (__res_vinit): When no server address at all
25992 is given default to loopback.
25994 2010-08-24 Roland McGrath <roland@redhat.com>
25996 * configure.in: Remove config-name.h generation.
25997 * configure: Regenerated.
25998 * config-name.in: File removed.
25999 * scripts/config-uname.sh: New file.
26000 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26001 ($(objdir)config-name.h): New target.
26003 * sunrpc/rpc_parse.h: Avoid nested comment.
26005 2010-08-24 Richard Henderson <rth@redhat.com>
26006 Ulrich Drepper <drepper@redhat.com>
26007 H.J. Lu <hongjiu.lu@intel.com>
26009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26011 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26012 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26013 _mm_alignr_epi8 with _mm_loadu_si128.
26014 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26015 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26016 (__m128i_shift_right): Removed.
26017 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26018 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26019 * sysdeps/x86_64/multiarch/varshift.h: New file.
26020 * sysdeps/x86_64/multiarch/varshift.S: New file.
26022 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26024 * configure.in: Move assembler checks to before sysdep dir checking.
26026 2010-08-20 Petr Baudis <pasky@suse.cz>
26028 * LICENSES: Sync the sunrpc license.
26030 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26032 * sunrpc/auth_des.c: Update copyright notice once again.
26033 * sunrpc/auth_none.c: Likewise.
26034 * sunrpc/auth_unix.c: Likewise.
26035 * sunrpc/authdes_prot.c: Likewise.
26036 * sunrpc/authuxprot.c: Likewise.
26037 * sunrpc/bindrsvprt.c: Likewise.
26038 * sunrpc/clnt_gen.c: Likewise.
26039 * sunrpc/clnt_perr.c: Likewise.
26040 * sunrpc/clnt_raw.c: Likewise.
26041 * sunrpc/clnt_simp.c: Likewise.
26042 * sunrpc/clnt_tcp.c: Likewise.
26043 * sunrpc/clnt_udp.c: Likewise.
26044 * sunrpc/clnt_unix.c: Likewise.
26045 * sunrpc/des_crypt.c: Likewise.
26046 * sunrpc/des_soft.c: Likewise.
26047 * sunrpc/get_myaddr.c: Likewise.
26048 * sunrpc/getrpcport.c: Likewise.
26049 * sunrpc/key_call.c: Likewise.
26050 * sunrpc/key_prot.c: Likewise.
26051 * sunrpc/openchild.c: Likewise.
26052 * sunrpc/pm_getmaps.c: Likewise.
26053 * sunrpc/pm_getport.c: Likewise.
26054 * sunrpc/pmap_clnt.c: Likewise.
26055 * sunrpc/pmap_prot.c: Likewise.
26056 * sunrpc/pmap_prot2.c: Likewise.
26057 * sunrpc/pmap_rmt.c: Likewise.
26058 * sunrpc/rpc/auth.h: Likewise.
26059 * sunrpc/rpc/auth_unix.h: Likewise.
26060 * sunrpc/rpc/clnt.h: Likewise.
26061 * sunrpc/rpc/des_crypt.h: Likewise.
26062 * sunrpc/rpc/key_prot.h: Likewise.
26063 * sunrpc/rpc/netdb.h: Likewise.
26064 * sunrpc/rpc/pmap_clnt.h: Likewise.
26065 * sunrpc/rpc/pmap_prot.h: Likewise.
26066 * sunrpc/rpc/pmap_rmt.h: Likewise.
26067 * sunrpc/rpc/rpc.h: Likewise.
26068 * sunrpc/rpc/rpc_des.h: Likewise.
26069 * sunrpc/rpc/rpc_msg.h: Likewise.
26070 * sunrpc/rpc/svc.h: Likewise.
26071 * sunrpc/rpc/svc_auth.h: Likewise.
26072 * sunrpc/rpc/types.h: Likewise.
26073 * sunrpc/rpc/xdr.h: Likewise.
26074 * sunrpc/rpc_clntout.c: Likewise.
26075 * sunrpc/rpc_cmsg.c: Likewise.
26076 * sunrpc/rpc_common.c: Likewise.
26077 * sunrpc/rpc_cout.c: Likewise.
26078 * sunrpc/rpc_dtable.c: Likewise.
26079 * sunrpc/rpc_hout.c: Likewise.
26080 * sunrpc/rpc_main.c: Likewise.
26081 * sunrpc/rpc_parse.c: Likewise.
26082 * sunrpc/rpc_parse.h: Likewise.
26083 * sunrpc/rpc_prot.c: Likewise.
26084 * sunrpc/rpc_sample.c: Likewise.
26085 * sunrpc/rpc_scan.c: Likewise.
26086 * sunrpc/rpc_scan.h: Likewise.
26087 * sunrpc/rpc_svcout.c: Likewise.
26088 * sunrpc/rpc_tblout.c: Likewise.
26089 * sunrpc/rpc_util.c: Likewise.
26090 * sunrpc/rpc_util.h: Likewise.
26091 * sunrpc/rpcinfo.c: Likewise.
26092 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26093 * sunrpc/rpcsvc/key_prot.x: Likewise.
26094 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26095 * sunrpc/rpcsvc/mount.x: Likewise.
26096 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26097 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26098 * sunrpc/rpcsvc/rex.x: Likewise.
26099 * sunrpc/rpcsvc/rstat.x: Likewise.
26100 * sunrpc/rpcsvc/rusers.x: Likewise.
26101 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26102 * sunrpc/rpcsvc/spray.x: Likewise.
26103 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26104 * sunrpc/rtime.c: Likewise.
26105 * sunrpc/svc.c: Likewise.
26106 * sunrpc/svc_auth.c: Likewise.
26107 * sunrpc/svc_authux.c: Likewise.
26108 * sunrpc/svc_raw.c: Likewise.
26109 * sunrpc/svc_run.c: Likewise.
26110 * sunrpc/svc_simple.c: Likewise.
26111 * sunrpc/svc_tcp.c: Likewise.
26112 * sunrpc/svc_udp.c: Likewise.
26113 * sunrpc/svc_unix.c: Likewise.
26114 * sunrpc/svcauth_des.c: Likewise.
26115 * sunrpc/xcrypt.c: Likewise.
26116 * sunrpc/xdr.c: Likewise.
26117 * sunrpc/xdr_array.c: Likewise.
26118 * sunrpc/xdr_float.c: Likewise.
26119 * sunrpc/xdr_mem.c: Likewise.
26120 * sunrpc/xdr_rec.c: Likewise.
26121 * sunrpc/xdr_ref.c: Likewise.
26122 * sunrpc/xdr_sizeof.c: Likewise.
26123 * sunrpc/xdr_stdio.c: Likewise.
26125 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26128 2010-08-19 Andreas Schwab <schwab@redhat.com>
26130 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26132 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26134 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26135 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26136 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26137 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26138 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26139 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26140 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26141 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26142 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26143 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26144 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26145 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26146 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26147 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26149 2010-07-26 Anton Blanchard <anton@samba.org>
26151 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26152 * malloc/arena.c (heap_trim): Likewise.
26154 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26156 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26159 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26161 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26163 * sysdeps/i386/elf/Makefile: New file.
26165 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26167 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26168 from fanotify_init.
26169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26172 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26174 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26176 * sysdeps/multiarch/strcmp.S: Likewise.
26178 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26180 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26181 strncase_l-nonascii.
26182 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26183 Add strncase_l-ssse3.
26184 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26185 * sysdeps/x86_64/strcmp.S: Likewise.
26186 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26187 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26188 * sysdeps/x86_64/strncase.S: New file.
26189 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26190 * sysdeps/x86_64/strncase_l.S: New file.
26191 * string/Makefile (strop-tests): Add strncasecmp.
26192 * string/test-strncasecmp.c: New file.
26194 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26197 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26198 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26200 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26202 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26204 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26206 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26210 2010-05-01 Alan Modra <amodra@gmail.com>
26212 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26213 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26214 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26215 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26216 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26217 tidying. Don't tail-call __sigjmp_save for static lib.
26218 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26220 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26221 (CALL_MCOUNT): Add eh info, and nop after bl.
26222 (TAIL_CALL_SYSCALL_ERROR): New macro.
26223 (PSEUDO_RET): Use it.
26224 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26225 Correct save location of integer regs and cr.
26226 (_dl_profile_resolve): Correct cr save location. Delete nops
26227 after bl when SHARED. Reduce cfi size a little by better
26228 placement of cfi directives.
26229 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26230 make a stack frame. Instead use parm save area as a temp.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26232 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26234 Don't make a stack frame for parent, use parm save area.
26235 Increase child stack frame to 112 bytes. Don't save unused reg,
26236 and adjust reg usage. Set up cfi on error recovery and
26237 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26239 (__makecontext): Add dummy nop after jump to exit.
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26241 Use correct parm save area and cr save, reduce stack frame.
26242 Correct cfi for possible PSEUDO_RET frame setup.
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26244 Branch to local label emitted by PSEUDO_RET rather than
26247 2010-08-12 Andreas Schwab <schwab@redhat.com>
26250 * locale/programs/locale.c (print_assignment): New function.
26251 (show_locale_vars): Use it.
26253 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26255 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26257 (struct statfs64): Likewise.
26258 (_STATFS_F_FLAGS): Define.
26259 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26261 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26262 (ST_VALID): Define locally.
26263 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26264 __statvfs_getflags, use the provided value.
26265 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26266 __ASSUME_STATFS_F_FLAGS.
26268 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26270 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26271 Add sys/fanotify.h.
26272 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26273 fanotify_mask for GLIBC_2.13.
26274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26275 fanotify_init and fanotify_mark.
26276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26277 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26279 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26281 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26282 prlimit64 for GLIBC_2.13.
26283 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26285 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26289 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26290 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26293 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26296 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26297 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26299 * nss/Makefile: Add rules to build and run tst-nss-test1.
26300 * shlib-versions: Add entry for libnss_test1.
26301 * nss/nss_test1.c: New file.
26302 * nss/tst-nss-test1.c: New file.
26304 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26305 (__nss_configure_lookup): Set appropriate entry in
26306 __nss_configure_lookup to true.
26307 * nss/nsswitch.h: Define enum with indeces of databases in
26308 databases and __nss_database_custom arrays. Declare
26309 __nss_database_custom.
26310 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26311 to avoid using nscd when custom rules are installed.
26312 * nss/getXXbyYY_r.c: Likewise.
26313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26315 * nss/nss_files/files-parse.c: Whitespace fixes.
26317 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26320 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26321 * posix/fnmatch_loop.c: Likewise.
26323 2010-07-17 Andi Kleen <ak@linux.intel.com>
26325 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26326 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26327 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26328 * Versions.def [GLIBC_2.13]: Add.
26330 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26333 Also fail if tpwd after pwuid call is NULL.
26335 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26337 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26338 when converting to ms.
26340 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26342 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26343 EOPNOTSUPP errors with ENOTTY.
26344 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26345 EOPNOTSUPP errors with ENOTTY.
26347 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26349 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26350 Add strcasecmp_l-ssse3.
26351 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26353 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26354 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26355 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26357 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26359 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26361 * string/Makefile (strop-tests): Add strcasecmp.
26362 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26363 strcasecmp_l-nonascii.
26364 (gen-as-const-headers): Add locale-defines.sym.
26365 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26366 * sysdeps/x86_64/strcasecmp.S: New file.
26367 * sysdeps/x86_64/strcasecmp_l.S: New file.
26368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26369 * sysdeps/x86_64/locale-defines.sym: New file.
26370 * string/test-strcasecmp.c: New file.
26372 * string/test-strcasestr.c: Test both ends of the range of characters.
26373 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26375 2010-07-29 Roland McGrath <roland@redhat.com>
26378 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26380 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26382 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26385 2010-07-27 Andreas Schwab <schwab@redhat.com>
26387 * manual/memory.texi (Malloc Tunable Parameters): Document
26390 2010-07-26 Roland McGrath <roland@redhat.com>
26393 * configure.in (-fgnu89-inline check): Set and substitute
26394 gnu89_inline, not libc_cv_gnu89_inline.
26395 * configure: Regenerated.
26396 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26398 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26400 * string/test-strnlen.c: New file.
26401 * string/Makefile (strop-tests): Add strnlen.
26402 * string/tester.c (test_strnlen): Add a few more test cases.
26403 * string/tst-strlen.c: Better error reporting.
26405 * sysdeps/x86_64/strnlen.S: New file.
26407 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26410 lower-latency instructions.
26412 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26414 * string/test-strcasestr.c: New file.
26415 * string/test-strstr.c: New file.
26416 * string/Makefile (strop-tests): Add strstr and strcasestr.
26417 * string/str-two-way.h: Don't undefine MAX.
26418 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26420 2010-07-21 Andreas Schwab <schwab@redhat.com>
26422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26423 strcasestr-nonascii.
26424 (CFLAGS-strcasestr-nonascii.c): Define.
26425 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26426 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26427 Remove unused attribute.
26429 2010-07-20 Roland McGrath <roland@redhat.com>
26431 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26432 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26433 ld.so.cache was broken. With it, there is no way to disable dsocaps
26434 like LD_HWCAP_MASK can disable hwcaps.
26436 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26438 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26440 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26442 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26443 call in strcasestr.
26444 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26445 __strcasestr_sse42_nonascii.
26446 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26447 strcasestr-nonascii.c.
26448 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26450 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26452 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26457 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26462 2010-07-06 Andreas Schwab <schwab@redhat.com>
26465 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26468 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26470 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26471 _PC_PIPE_BUF using F_GETPIPE_SZ.
26473 2010-07-05 Roland McGrath <roland@redhat.com>
26475 * manual/arith.texi (Rounding Functions): Fix rint description
26476 implicit in round description.
26478 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26480 * elf/Makefile: Fix linking for a few tests to make recent linker
26483 2010-06-30 Andreas Schwab <schwab@redhat.com>
26485 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26486 $(common-objpfx)libc_nonshared.a.
26488 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26490 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26491 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26492 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26493 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26494 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26495 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26496 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26497 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26512 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26513 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26514 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26515 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26516 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26517 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26518 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26519 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26520 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26521 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26522 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26523 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26539 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26541 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26542 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26543 * string/memmove.c (memmove): Renamed to ...
26544 (MEMMOVE): ...this. Default to memmove.
26545 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26546 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26549 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26550 mempcpy-ssse3-back memmove-ssse3-back.
26551 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26554 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26555 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26556 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26557 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26558 * sysdeps/x86_64/multiarch/memmove.c: New file.
26559 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26560 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26561 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26562 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26563 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26566 (index_Fast_Copy_Backward): Define.
26567 (HAS_ARCH_FEATURE): Define.
26568 (HAS_FAST_REP_STRING): Define.
26569 (HAS_FAST_COPY_BACKWARD): Define.
26571 2010-06-21 Andreas Schwab <schwab@redhat.com>
26573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26574 Restore proper fallback handling.
26576 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26579 * posix/group_member.c (__group_member): Correct checking loop.
26581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26582 OOM in getpwuid_r correctly. Return error number when the caller
26583 should return, otherwise -1.
26584 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26585 call returning > 0 value.
26586 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26588 2010-06-07 Andreas Schwab <schwab@redhat.com>
26590 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26591 libc_nonshared.a from targets in modules-names.
26593 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26595 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26598 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26600 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26605 2010-06-02 Andreas Schwab <schwab@redhat.com>
26607 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26609 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26611 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26613 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26620 2010-06-14 Roland McGrath <roland@redhat.com>
26622 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26624 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26626 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26627 __REDIRECT followed by __THROW.
26628 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26629 * posix/getopt.h (getopt): Likewise.
26631 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26633 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26634 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26635 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26637 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26638 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26640 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26644 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26648 Properly check family and model.
26650 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26652 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26654 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26656 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26658 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26660 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26663 2010-05-19 Andreas Schwab <schwab@redhat.com>
26665 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26668 2010-05-21 Andreas Schwab <schwab@redhat.com>
26670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26671 and internal_recvmmsg.
26672 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26673 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26674 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26675 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26677 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26681 2010-05-20 Andreas Schwab <schwab@redhat.com>
26683 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26685 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26687 POWER7 optimizations.
26688 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26689 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26691 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26693 * version.h: Update for 2.13 development version.
26695 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26697 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26698 exceptions. Return 0.
26700 2010-05-07 Roland McGrath <roland@redhat.com>
26702 * elf/ldconfig.c (main): Add a const.
26704 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26706 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26707 (args_options): Add no-idn option.
26708 (ahosts_keys_int): Add idn_flags to ai_flags.
26709 (parse_option): Handle 'i' option to clear idn_flags.
26711 * malloc/malloc.c (_int_free): Possible race in the most recently
26712 added check. Only act on the data if no current modification
26715 See ChangeLog.17 for earlier changes.